/* ========== 「在哪呢」样式 ========== */
:root {
  --rose: #ff5c7c;
  --rose-ink: #e8405f;
  --rose-soft: #ffe4ea;
  --blue: #4d7cff;
  --blue-soft: #e2eaff;
  --green: #22b26b;
  --amber: #f2a516;
  --danger: #e5484d;
  --ink: #1f2330;
  --muted: #7b8191;
  --bg: #f7f4f1;
  --card: #ffffff;
  --card-glass: rgba(255, 255, 255, .86);
  --line: #ece7e2;
  --field: #f3efeb;
  --map-bg: #ece8e1;
  --shadow: 0 6px 24px rgba(40, 30, 30, .12), 0 1px 3px rgba(40, 30, 30, .08);
  --sheet-h: 64px;
  --safe-t: env(safe-area-inset-top, 0px);
  --safe-b: env(safe-area-inset-bottom, 0px);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --rose: #ff6f8b;
    --rose-ink: #ff8aa1;
    --rose-soft: #3a222a;
    --blue: #6f95ff;
    --blue-soft: #1f2741;
    --ink: #eef0f5;
    --muted: #9aa0ad;
    --bg: #121317;
    --card: #1d1f26;
    --card-glass: rgba(29, 31, 38, .86);
    --line: #2c2f38;
    --field: #262932;
    --map-bg: #1b1d22;
    --shadow: 0 6px 24px rgba(0, 0, 0, .45), 0 1px 3px rgba(0, 0, 0, .3);
    color-scheme: dark;
  }
  .tm-tiles { filter: invert(1) hue-rotate(180deg) brightness(.92) contrast(.9) saturate(.7); }
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; height: 100%; overflow: hidden; }
body {
  background: var(--bg);
  color: var(--ink);
  font: 15px/1.45 -apple-system, BlinkMacSystemFont, "PingFang SC", "HarmonyOS Sans SC", "MiSans", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  -webkit-font-smoothing: antialiased;
  overscroll-behavior: none;
}
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
h1, h2, h3 { margin: 0; line-height: 1.25; }
h3 { font-size: 17px; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.mono { font-variant-numeric: tabular-nums; }
.grow { flex: 1; min-width: 0; }
.row { display: flex; align-items: center; }
.row.gap { gap: 10px; }
.row.end { justify-content: flex-end; }

/* ---------- 屏幕切换 ---------- */
.screen { position: fixed; inset: 0; display: none; }
.screen.active { display: block; }
.center-col { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; }
.logo-big { font-size: 46px; }
.spinner { width: 26px; height: 26px; border-radius: 50%; border: 3px solid var(--line); border-top-color: var(--rose); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- 引导页 ---------- */
.onboard {
  height: 100%; overflow-y: auto;
  max-width: 440px; margin: 0 auto;
  padding: calc(var(--safe-t) + 48px) 20px calc(var(--safe-b) + 32px);
  display: flex; flex-direction: column; gap: 16px;
}
.hero { text-align: center; padding: 12px 0 18px; }
.hero.small { padding-bottom: 6px; }
.hero h1 { font-size: 34px; letter-spacing: .04em; margin-top: 18px; }
.hero h2 { font-size: 24px; }
.sub { color: var(--muted); margin: 8px 0 0; }
.hero-dots { position: relative; height: 64px; width: 150px; margin: 0 auto; }
.hero-dots .dot { position: absolute; top: 14px; width: 36px; height: 36px; border-radius: 50%; box-shadow: 0 0 0 8px rgba(255, 255, 255, .5); }
.hero-dots .dot.a { background: var(--blue); left: 10px; animation: drift-a 3.2s ease-in-out infinite; }
.hero-dots .dot.b { background: var(--rose); right: 10px; animation: drift-b 3.2s ease-in-out infinite; }
@keyframes drift-a { 50% { transform: translateX(30px); } }
@keyframes drift-b { 50% { transform: translateX(-30px); } }

.card { background: var(--card); border-radius: 20px; padding: 18px; box-shadow: var(--shadow); }
.form { display: flex; flex-direction: column; gap: 12px; }
.form label { font-weight: 600; }
input:not([type]), input[type=text] {
  width: 100%; border: 1.5px solid transparent; background: var(--field);
  border-radius: 14px; padding: 13px 14px; outline: none; font-size: 16px;
}
input:not([type]):focus { border-color: var(--rose); background: var(--card); }
.code-input { text-transform: uppercase; letter-spacing: .3em; text-align: center; font-size: 22px !important; font-weight: 700; }
.fine { color: var(--muted); font-size: 12.5px; text-align: center; margin: 4px 8px; }
.hint-card { background: var(--blue-soft); color: var(--ink); border-radius: 16px; padding: 14px 16px; font-size: 14px; }
.hint-card b:first-child { display: block; margin-bottom: 4px; }
.kbd { display: inline-block; padding: 0 6px; border-radius: 6px; background: var(--card); font-weight: 600; }

.choice { display: flex; align-items: center; gap: 14px; }
.choice-icon { font-size: 30px; }
.choice-body { flex: 1; display: flex; flex-direction: column; }
.choice-body span { color: var(--muted); font-size: 13.5px; }

.code-card { text-align: center; display: flex; flex-direction: column; gap: 14px; align-items: center; }
.code-big { font: 700 42px/1.1 ui-monospace, "SF Mono", Menlo, Consolas, monospace; letter-spacing: .22em; padding-left: .22em; color: var(--rose-ink); }
.code-card .row { width: 100%; }
.code-card .row .btn { flex: 1; }
.waiting { display: flex; align-items: center; justify-content: center; gap: 10px; color: var(--muted); }
.pulse { width: 10px; height: 10px; border-radius: 50%; background: var(--rose); animation: pulse 1.4s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: .3; transform: scale(.8); } 50% { opacity: 1; transform: scale(1.15); } }

/* ---------- 按钮 ---------- */
.btn {
  border: 0; border-radius: 14px; padding: 13px 18px; font-weight: 600;
  background: var(--field); color: var(--ink); white-space: nowrap;
  transition: transform .1s, opacity .2s;
}
.btn:active { transform: scale(.97); }
.btn.primary { background: var(--rose); color: #fff; }
.btn.ghost { background: transparent; color: var(--rose-ink); }
.btn.small { padding: 8px 13px; font-size: 14px; border-radius: 11px; }
.btn.danger { background: var(--danger); color: #fff; }
.btn:disabled { opacity: .5; }
.link { border: 0; background: none; color: var(--rose-ink); padding: 6px; font-weight: 600; }
.link.small { font-size: 13px; padding: 2px 4px; }

/* ---------- 主界面:地图 ---------- */
.map { position: absolute; inset: 0; background: var(--map-bg); }
.tm { overflow: hidden; touch-action: none; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; }
.tm-tiles, .tm-markers { position: absolute; inset: 0; }
/* 每一层单独成一个层叠上下文:瓦片 < 圆和线 < 标记点 */
.tm-tiles { z-index: 0; }
.tm-svg { z-index: 1; }
.tm-markers { z-index: 2; }
.tm-attr { z-index: 3; }
.tm-tile { position: absolute; left: 0; top: 0; width: 256px; height: 256px; transform-origin: 0 0; opacity: 0; transition: opacity .25s; max-width: none; pointer-events: none; }
.tm-tile.on { opacity: 1; }
.tm-svg { position: absolute; inset: 0; pointer-events: none; overflow: visible; }
.tm-marker { position: absolute; left: 0; top: 0; width: 0; height: 0; will-change: transform; }
.tm-attr { position: absolute; right: 8px; bottom: calc(var(--sheet-h) + 6px); font-size: 10px; color: var(--muted); opacity: .8; pointer-events: none; }

.acc-me { fill: var(--blue); fill-opacity: .12; stroke: var(--blue); stroke-opacity: .35; stroke-width: 1; }
.acc-partner { fill: var(--rose); fill-opacity: .12; stroke: var(--rose); stroke-opacity: .35; stroke-width: 1; }
.place-circle { fill: var(--amber); fill-opacity: .08; stroke: var(--amber); stroke-opacity: .7; stroke-width: 1.5; stroke-dasharray: 5 4; }
.place-preview { fill: var(--rose); fill-opacity: .12; stroke: var(--rose); stroke-width: 2; stroke-dasharray: 6 4; }
.track-line { fill: none; stroke: var(--rose); stroke-width: 4.5; stroke-linecap: round; stroke-linejoin: round; stroke-opacity: .9; }
.track-line.me { stroke: var(--blue); }
.track-halo { fill: none; stroke: #fff; stroke-width: 8; stroke-linecap: round; stroke-linejoin: round; stroke-opacity: .7; }

/* 标记点 */
.mk-me { position: absolute; left: -11px; top: -11px; width: 22px; height: 22px; border-radius: 50%; background: var(--blue); border: 3.5px solid #fff; box-shadow: 0 2px 8px rgba(0, 0, 0, .3); }
.mk-me::after { content: ""; position: absolute; inset: -12px; border-radius: 50%; background: var(--blue); opacity: .18; animation: halo 2.4s ease-out infinite; z-index: -1; }
@keyframes halo { 0% { transform: scale(.4); opacity: .35; } 100% { transform: scale(1.4); opacity: 0; } }
.mk-partner { position: absolute; left: -24px; top: -58px; width: 48px; height: 58px; }
.mk-partner .bubble {
  width: 48px; height: 48px; border-radius: 50%; background: var(--rose); color: #fff;
  border: 3px solid #fff; box-shadow: 0 4px 14px rgba(232, 64, 95, .45);
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 19px; position: relative; z-index: 1;
}
.mk-partner .tail { position: absolute; left: 50%; bottom: 3px; width: 14px; height: 14px; background: #fff; transform: translateX(-50%) rotate(45deg); border-radius: 2px; box-shadow: 2px 2px 6px rgba(0, 0, 0, .15); }
.mk-partner.stale .bubble { background: #a3a7b3; box-shadow: 0 4px 12px rgba(0, 0, 0, .25); }
.mk-partner.online::before { content: ""; position: absolute; left: 50%; bottom: -10px; width: 20px; height: 20px; margin-left: -10px; border-radius: 50%; background: var(--rose); animation: halo 2s ease-out infinite; }
.mk-place {
  /* 放在中心点下方,避免和人物标记重叠 */
  position: absolute; transform: translate(-50%, 18px); white-space: nowrap;
  background: var(--card); color: var(--ink); font-size: 12.5px; font-weight: 600;
  padding: 3px 9px; border-radius: 999px; box-shadow: 0 2px 8px rgba(0, 0, 0, .15);
}
.mk-dot { position: absolute; left: -7px; top: -7px; width: 14px; height: 14px; border-radius: 50%; border: 3px solid #fff; background: var(--green); box-shadow: 0 1px 5px rgba(0, 0, 0, .3); }
.mk-dot.end { background: var(--danger); }
.mk-replay { position: absolute; left: -10px; top: -10px; width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 5px solid var(--rose); box-shadow: 0 2px 8px rgba(0, 0, 0, .35); }
.mk-replay.me { border-color: var(--blue); }

.crosshair { position: absolute; left: 0; top: 0; width: 0; height: 0; pointer-events: none; z-index: 5; }
.crosshair span { position: absolute; left: -16px; top: -40px; width: 32px; height: 40px; background: no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 40'%3E%3Cpath d='M16 39S3 24 3 14a13 13 0 0 1 26 0c0 10-13 25-13 25z' fill='%23ff5c7c' stroke='white' stroke-width='2.5'/%3E%3Ccircle cx='16' cy='14' r='5' fill='white'/%3E%3C/svg%3E"); filter: drop-shadow(0 3px 4px rgba(0, 0, 0, .3)); }

/* 顶部卡片 */
.topbar { position: absolute; left: 0; right: 0; top: 0; padding: calc(var(--safe-t) + 10px) 12px 0; display: flex; flex-direction: column; gap: 8px; z-index: 10; pointer-events: none; }
.topbar > * { pointer-events: auto; }
.partner-card {
  display: flex; align-items: center; gap: 12px;
  background: var(--card-glass); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-radius: 20px; padding: 12px 14px; box-shadow: var(--shadow);
}
.avatar { flex: none; width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 700; font-size: 18px; }
.avatar.rose { background: var(--rose); }
.avatar.blue { background: var(--blue); }
.avatar.big { width: 56px; height: 56px; font-size: 22px; }
.pc-body { flex: 1; min-width: 0; }
.pc-line1 { display: flex; align-items: center; gap: 6px; }
.pc-line1 b { font-size: 16.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: #b9bdc7; flex: none; }
.status-dot.on { background: var(--green); box-shadow: 0 0 0 3px rgba(34, 178, 107, .2); }
.pc-online { color: var(--muted); font-size: 12.5px; white-space: nowrap; }
.pc-line2 { color: var(--muted); font-size: 13.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin-top: 1px; }
.pc-line2 .place-tag { color: var(--ink); font-weight: 600; }
.pc-side { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; flex: none; }
.pc-dist { font-weight: 700; font-size: 15px; color: var(--rose-ink); white-space: nowrap; }
.battery { display: flex; align-items: center; gap: 5px; font-size: 12.5px; font-weight: 600; color: var(--muted); }
.battery i { position: relative; width: 22px; height: 11px; border: 1.6px solid currentColor; border-radius: 3px; padding: 1px; display: block; }
.battery i::after { content: ""; position: absolute; right: -4px; top: 2.5px; width: 2px; height: 4px; border-radius: 0 1px 1px 0; background: currentColor; }
.battery em { display: block; height: 100%; border-radius: 1px; background: currentColor; }
.battery.low { color: var(--danger); }
.battery.charging { color: var(--green); }
.battery.charging span::before { content: "⚡"; }

.geo-banner { background: var(--card); border-left: 4px solid var(--amber); border-radius: 14px; padding: 10px 12px; font-size: 13.5px; box-shadow: var(--shadow); display: flex; align-items: center; gap: 10px; }
.geo-banner .grow { line-height: 1.4; }
.danger-banner { position: fixed; z-index: 100; top: 0; left: 0; right: 0; padding: calc(var(--safe-t) + 8px) 14px 8px; background: var(--danger); color: #fff; font-size: 13px; font-weight: 600; text-align: center; }

/* 地图按钮 */
.fabs { position: absolute; right: 12px; bottom: calc(var(--sheet-h) + 26px); display: flex; flex-direction: column; gap: 10px; z-index: 9; transition: bottom .25s; }
.fab { width: 46px; height: 46px; border-radius: 15px; border: 0; background: var(--card); box-shadow: var(--shadow); display: flex; align-items: center; justify-content: center; color: var(--ink); }
.fab svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.fab.rose { color: var(--rose); }
.fab.rose svg { fill: var(--rose); stroke: var(--rose); }
.fab.blue { color: var(--blue); }
.fab:active { transform: scale(.94); }

.share-pill { position: absolute; left: 12px; bottom: calc(var(--sheet-h) + 26px); z-index: 9; display: flex; align-items: center; gap: 7px; background: var(--card-glass); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); padding: 7px 12px; border-radius: 999px; box-shadow: var(--shadow); font-size: 12.5px; transition: bottom .25s; }
.sheet-open .share-pill { opacity: 0; pointer-events: none; }
.share-pill span { width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.share-pill.off span { background: var(--muted); }
.share-pill.warn span { background: var(--amber); }

/* ---------- 底部面板 ---------- */
.sheet { position: absolute; left: 0; right: 0; bottom: 0; z-index: 20; background: var(--card); border-radius: 22px 22px 0 0; box-shadow: 0 -4px 24px rgba(0, 0, 0, .1); }
.sheet-body { max-height: 0; overflow: hidden; transition: max-height .28s ease; }
.sheet.open .sheet-body { max-height: 48vh; overflow-y: auto; -webkit-overflow-scrolling: touch; }
.pane { display: none; padding: 18px 16px 8px; }
.pane.on { display: block; }
.pane-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.pane > h3 { margin-bottom: 10px; }
.tabs { display: grid; grid-template-columns: repeat(5, 1fr); padding: 6px 4px calc(var(--safe-b) + 6px); border-top: 1px solid transparent; }
.sheet.open .tabs { border-top-color: var(--line); }
.tabs button { position: relative; border: 0; background: none; display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 11.5px; color: var(--muted); padding: 6px 0; }
.tabs svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.tabs button.on { color: var(--rose-ink); font-weight: 600; }
.badge { position: absolute; top: 2px; left: calc(50% + 6px); min-width: 17px; height: 17px; padding: 0 5px; border-radius: 999px; background: var(--rose); color: #fff; font-size: 11px; font-style: normal; line-height: 17px; font-weight: 700; }

/* 动态 */
.feed { list-style: none; margin: 0; padding: 0; }
.feed li { display: flex; gap: 12px; align-items: flex-start; padding: 10px 0; border-bottom: 1px solid var(--line); }
.feed li:last-child { border-bottom: 0; }
.feed .fi { width: 36px; height: 36px; flex: none; border-radius: 12px; background: var(--rose-soft); display: flex; align-items: center; justify-content: center; font-size: 18px; }
.feed li.mine .fi { background: var(--blue-soft); }
.feed .ft { flex: 1; min-width: 0; }
.feed .ft small { display: block; color: var(--muted); font-size: 12.5px; }
.empty { color: var(--muted); text-align: center; padding: 22px 8px; font-size: 14px; }

/* 分段 / 标签 */
.seg { display: inline-flex; background: var(--field); border-radius: 11px; padding: 3px; flex: none; }
.seg button { border: 0; background: none; padding: 6px 12px; border-radius: 9px; font-size: 13.5px; font-weight: 600; color: var(--muted); }
.seg button.on { background: var(--card); color: var(--ink); box-shadow: 0 1px 4px rgba(0, 0, 0, .1); }
.chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; margin-bottom: 10px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chips button { flex: none; border: 0; background: var(--field); border-radius: 999px; padding: 7px 13px; font-size: 13.5px; font-weight: 600; }
.chips button.on { background: var(--rose-soft); color: var(--rose-ink); }

/* 足迹 */
.track-info { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 12px; }
.track-info .stat { background: var(--field); border-radius: 14px; padding: 10px; }
.track-info .stat b { display: block; font-size: 17px; }
.track-info .stat span { font-size: 12px; color: var(--muted); }
.track-info .empty { grid-column: 1 / -1; }
.replay { display: flex; align-items: center; gap: 12px; padding-bottom: 8px; }
.replay input { flex: 1; accent-color: var(--rose); }
.round-btn { width: 40px; height: 40px; flex: none; border-radius: 50%; border: 0; background: var(--rose); color: #fff; font-size: 15px; }

/* 地点 */
.list { list-style: none; margin: 8px 0 0; padding: 0; }
.list li { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.list li:last-child { border-bottom: 0; }
.list .li-icon { font-size: 22px; width: 36px; height: 36px; flex: none; border-radius: 12px; background: var(--field); display: flex; align-items: center; justify-content: center; }
.list .li-main { flex: 1; min-width: 0; }
.list .li-main small { display: block; color: var(--muted); font-size: 12.5px; }
.list .who-here { font-size: 11.5px; font-weight: 700; padding: 2px 7px; border-radius: 999px; margin-left: 6px; }
.who-here.p { background: var(--rose-soft); color: var(--rose-ink); }
.who-here.m { background: var(--blue-soft); color: var(--blue); }
.icon-btn { border: 0; background: var(--field); width: 34px; height: 34px; border-radius: 10px; color: var(--muted); font-size: 16px; }
.place-form { display: flex; flex-direction: column; gap: 12px; }
.place-form h3 { font-size: 15.5px; }
.range-label { font-size: 14px; color: var(--muted); }
.range-label b { color: var(--ink); }
#place-radius { width: 100%; accent-color: var(--rose); }

/* 我的 */
.me-head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.me-name { font-size: 18px; }
.settings { background: var(--field); border-radius: 16px; overflow: hidden; margin-bottom: 12px; }
.set-row { display: flex; align-items: center; gap: 12px; padding: 13px 14px; border-bottom: 1px solid var(--line); width: 100%; text-align: left; }
.set-row:last-child { border-bottom: 0; }
.set-row > div:first-child { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.set-row b { font-weight: 600; font-size: 15px; }
.set-row span { color: var(--muted); font-size: 12.5px; }
.set-row.as-btn { border: 0; border-bottom: 1px solid var(--line); background: none; }
.set-row.as-btn:last-child { border-bottom: 0; }
.set-row.as-btn i { font-style: normal; color: var(--muted); font-size: 20px; }
.set-row.danger b { color: var(--danger); }

.switch { appearance: none; -webkit-appearance: none; width: 48px; height: 29px; border-radius: 999px; background: #cfd2da; position: relative; flex: none; transition: background .2s; margin: 0; cursor: pointer; }
.switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 23px; height: 23px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); transition: transform .2s; }
.switch:checked { background: var(--green); }
.switch:checked::after { transform: translateX(19px); }
.switch:disabled { opacity: .45; }

/* ---------- 弹窗 / 提示 ---------- */
.modal { position: fixed; inset: 0; z-index: 50; background: rgba(10, 10, 15, .45); display: flex; align-items: flex-end; justify-content: center; padding: 16px 16px calc(var(--safe-b) + 16px); animation: fade .15s; }
.modal-card { background: var(--card); width: 100%; max-width: 420px; border-radius: 22px; padding: 20px; box-shadow: var(--shadow); animation: up .2s ease-out; }
.modal-body { color: var(--muted); margin: 10px 0 18px; font-size: 14.5px; word-break: break-all; }
.modal-body input { margin-top: 8px; }
.modal-body .token { font: 600 14px/1.5 ui-monospace, Menlo, monospace; color: var(--ink); background: var(--field); padding: 10px 12px; border-radius: 12px; user-select: all; -webkit-user-select: all; }
@keyframes fade { from { opacity: 0; } }
@keyframes up { from { transform: translateY(24px); opacity: 0; } }
@media (min-width: 600px) { .modal { align-items: center; } }

.toasts { position: fixed; left: 0; right: 0; top: calc(var(--safe-t) + 92px); z-index: 60; display: flex; flex-direction: column; align-items: center; gap: 8px; pointer-events: none; padding: 0 16px; }
.toast { background: var(--ink); color: var(--bg); padding: 11px 16px; border-radius: 14px; font-size: 14px; font-weight: 500; box-shadow: var(--shadow); max-width: 100%; animation: drop .25s ease-out; }
.toast.love { background: var(--rose); color: #fff; }
.toast.out { opacity: 0; transform: translateY(-8px); transition: .3s; }
@keyframes drop { from { opacity: 0; transform: translateY(-12px); } }
