/**
 * 为你写心 · 移动端 H5（微信内）
 * 暖色纸感、少装饰、易点按
 */

:root {
  --love-bg: #e8e4de;
  --love-paper: #faf7f2;
  --love-ink: #2b2724;
  --love-muted: #6e6863;
  --love-line: #d9d3ca;
  --love-accent: #8f4a45;
  --love-accent-hover: #7a3f3b;
  --love-warn-bg: #f3ead8;
  --love-warn-text: #5c4a32;
  --love-safe-b: env(safe-area-inset-bottom, 0px);
  --love-safe-t: env(safe-area-inset-top, 0px);
  --love-tap: 48px;
  --love-radius: 10px;
  --love-font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

html.love-h5 {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

html.love-h5,
html.love-h5 body {
  min-height: 100%;
  margin: 0;
}

.love-h5 body {
  font-family: var(--love-font);
  background: var(--love-bg);
  color: var(--love-ink);
  line-height: 1.5;
  -webkit-tap-highlight-color: transparent;
}

/* —— 首页 / 带底栏页面 —— */
.love-home {
  padding-bottom: calc(24px + var(--love-safe-b));
}

.love-with-tabbar {
  padding-bottom: calc(56px + 28px + var(--love-safe-b));
}

.love-banner {
  padding: calc(14px + var(--love-safe-t)) 18px 18px;
  background: var(--love-paper);
  border-bottom: 1px solid var(--love-line);
}

.love-banner h1 {
  margin: 0 0 4px;
  font-size: 1.35rem;
  font-weight: 650;
  letter-spacing: 0.02em;
}

.love-banner p {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--love-muted);
}

.love-notice {
  margin: 0;
  padding: 10px 16px;
  font-size: 0.75rem;
  line-height: 1.45;
  color: var(--love-warn-text);
  background: var(--love-warn-bg);
  border-bottom: 1px solid #e5dcc8;
}

.love-tabs-wrap {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--love-bg);
  border-bottom: 1px solid var(--love-line);
  padding: 10px 0 0;
}

.love-tabs {
  display: flex;
  gap: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 0 14px 10px;
  touch-action: pan-x;
}

.love-tabs::-webkit-scrollbar {
  display: none;
}

.love-tab {
  flex: 0 0 auto;
  padding: 8px 14px;
  margin-right: 4px;
  font-size: 0.875rem;
  color: var(--love-muted);
  border-radius: var(--love-radius);
  cursor: pointer;
  user-select: none;
}

.love-tab:active {
  opacity: 0.85;
}

.love-tab.is-on {
  color: var(--love-ink);
  background: var(--love-paper);
  font-weight: 600;
  box-shadow: 0 1px 0 var(--love-accent);
}

.love-section {
  margin-top: 18px;
}

.love-section-h {
  padding: 0 16px 8px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--love-muted);
  letter-spacing: 0.06em;
  text-transform: none;
}

.love-hot-scroll {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding: 0 16px 4px;
  scrollbar-width: none;
  touch-action: pan-x;
}

.love-hot-scroll::-webkit-scrollbar {
  display: none;
}

.love-hot-card {
  flex: 0 0 108px;
  background: var(--love-paper);
  border: 1px solid var(--love-line);
  border-radius: var(--love-radius);
  overflow: hidden;
  cursor: pointer;
}

.love-hot-card:active {
  transform: scale(0.98);
}

.love-hot-card .thumb {
  height: 96px;
  background: #e5e0d8;
  display: flex;
  align-items: center;
  justify-content: center;
}

.love-hot-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.love-hot-card .thumb .ph {
  font-size: 1.5rem;
  color: #a39a90;
  font-weight: 300;
}

.love-hot-card .nm {
  padding: 8px 6px;
  font-size: 0.75rem;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  border-top: 1px solid var(--love-line);
}

.love-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  padding: 8px 16px 0;
}

@media (min-width: 360px) {
  .love-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.love-card {
  background: var(--love-paper);
  border: 1px solid var(--love-line);
  border-radius: var(--love-radius);
  overflow: hidden;
  cursor: pointer;
}

.love-card:active {
  opacity: 0.92;
}

.love-card .thumb {
  aspect-ratio: 4 / 3;
  background: #e5e0d8;
  display: flex;
  align-items: center;
  justify-content: center;
}

.love-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.love-card .thumb .ph {
  font-size: 2rem;
  color: #a39a90;
  font-weight: 300;
}

.love-card .meta {
  padding: 10px 12px 12px;
}

.love-card .nm {
  font-size: 0.9375rem;
  font-weight: 600;
  margin: 0 0 2px;
  line-height: 1.35;
}

.love-card .cat {
  font-size: 0.6875rem;
  color: var(--love-muted);
  margin: 0 0 6px;
}

.love-card .price {
  font-size: 1rem;
  font-weight: 700;
  color: var(--love-accent);
}

.love-card .price small {
  font-size: 0.6875rem;
  font-weight: 500;
  color: var(--love-muted);
}

/* —— 制作页（移动端：层次、触控、安全区） —— */
body.love-editor {
  min-height: 100vh;
  min-height: 100dvh;
  padding-bottom: calc(88px + var(--love-safe-b));
  background:
    radial-gradient(120% 55% at 50% -8%, rgba(143, 74, 69, 0.09) 0%, transparent 52%),
    linear-gradient(180deg, #ebe6df 0%, var(--love-bg) 32%, var(--love-bg) 100%);
  background-attachment: fixed;
}

.love-topbar {
  display: grid;
  grid-template-columns: var(--love-tap) minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px 10px;
  min-height: calc(var(--love-tap) + 4px);
  padding: calc(8px + var(--love-safe-t)) 14px 12px;
  background: rgba(250, 247, 242, 0.94);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--love-line);
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 4px 20px rgba(43, 39, 36, 0.04);
}

@media (max-width: 360px) {
  .love-topbar {
    grid-template-columns: var(--love-tap) minmax(0, 1fr);
    grid-template-rows: auto auto;
  }

  .love-topbar .act {
    grid-column: 1 / -1;
    justify-self: stretch;
    width: 100%;
    min-height: 44px;
  }
}

.love-topbar .back {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: var(--love-tap);
  min-height: var(--love-tap);
  margin-left: -4px;
  border-radius: 10px;
  font-size: 1.35rem;
  line-height: 1;
  text-decoration: none;
  color: var(--love-ink);
  touch-action: manipulation;
}

.love-topbar .back:active {
  background: rgba(143, 74, 69, 0.06);
}

.love-topbar .ttl {
  min-width: 0;
  font-size: 0.9375rem;
  font-weight: 650;
  letter-spacing: 0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.love-topbar .act {
  padding: 10px 14px;
  font-size: 0.8125rem;
  font-weight: 600;
  font-family: inherit;
  color: var(--love-accent);
  background: #fff;
  border: 1px solid var(--love-line);
  border-radius: 999px;
  cursor: pointer;
  touch-action: manipulation;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset;
}

.love-topbar .act:active {
  transform: scale(0.98);
  opacity: 0.92;
}

.love-preview-box {
  margin: 14px 14px 16px;
  background: var(--love-paper);
  border: 1px solid var(--love-line);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 32px rgba(43, 39, 36, 0.07);
}

.love-preview-box .hd {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px 12px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--love-line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.55) 0%, rgba(250, 247, 242, 0.4) 100%);
}

.love-preview-box .hd .t {
  font-size: 0.8125rem;
  font-weight: 650;
  color: var(--love-ink);
  letter-spacing: 0.06em;
}

.love-preview-box .hd .sub {
  flex: 1 1 100%;
  font-size: 0.6875rem;
  font-weight: 400;
  color: var(--love-muted);
  line-height: 1.45;
}

@media (min-width: 380px) {
  .love-preview-box .hd {
    align-items: center;
    flex-wrap: nowrap;
  }

  .love-preview-box .hd .sub {
    flex: 0 1 auto;
    text-align: right;
  }
}

.love-preview-frame {
  height: min(36dvh, 300px);
  min-height: 176px;
  max-height: 420px;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  background: #fff;
}

.love-preview-inner {
  padding: 14px 14px 18px;
  min-height: 100%;
  box-sizing: border-box;
}

.love-editor .love-panel {
  margin: 0 14px 16px;
  padding: 16px 16px 18px;
  background: var(--love-paper);
  border: 1px solid var(--love-line);
  border-radius: 14px;
  box-shadow: 0 6px 24px rgba(43, 39, 36, 0.05);
}

.love-editor .love-panel-h {
  font-size: 0.8125rem;
  font-weight: 650;
  color: var(--love-ink);
  margin: 0 0 16px;
  padding-left: 10px;
  border-left: 3px solid var(--love-accent);
  letter-spacing: 0.04em;
}

.love-field {
  margin-bottom: 16px;
}

.love-field:last-child {
  margin-bottom: 0;
}

.love-label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--love-muted);
  margin-bottom: 8px;
}

.love-editor .love-input,
.love-editor .love-textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 12px 14px;
  font-size: 16px;
  font-family: inherit;
  line-height: 1.5;
  border: 1px solid var(--love-line);
  border-radius: 12px;
  background: #fff;
  color: var(--love-ink);
  -webkit-appearance: none;
  appearance: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.love-editor .love-input:focus,
.love-editor .love-textarea:focus {
  outline: none;
  border-color: rgba(143, 74, 69, 0.45);
  box-shadow: 0 0 0 3px rgba(143, 74, 69, 0.12);
}

.love-editor .love-textarea {
  min-height: 120px;
  max-height: min(52vh, 360px);
  resize: vertical;
  line-height: 1.6;
}

.love-color-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.love-color-row input[type="color"] {
  width: 52px;
  height: 52px;
  padding: 0;
  border: 1px solid var(--love-line);
  border-radius: 12px;
  cursor: pointer;
  flex-shrink: 0;
  overflow: hidden;
}

.love-color-row code {
  font-size: 0.8125rem;
  font-family: ui-monospace, Menlo, Consolas, monospace;
  color: var(--love-muted);
  padding: 6px 12px;
  background: #fff;
  border: 1px solid var(--love-line);
  border-radius: 8px;
}

.love-music-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: min(220px, 38vh);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  padding-right: 2px;
}

.love-editor .love-field--after-list {
  margin-top: 4px;
  margin-bottom: 0;
  padding-top: 14px;
  border-top: 1px dashed rgba(217, 211, 202, 0.9);
}

.love-music-item {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  padding: 12px 14px;
  border: 1px solid var(--love-line);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  font-size: 0.875rem;
  touch-action: manipulation;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.love-music-item:active {
  transform: scale(0.99);
}

.love-music-item.is-sel {
  border-color: var(--love-accent);
  background: linear-gradient(135deg, #fdf8f5 0%, #f9f4f2 100%);
  box-shadow: 0 0 0 1px rgba(143, 74, 69, 0.12);
}

.love-music-item .ic {
  flex: 0 0 auto;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(143, 74, 69, 0.08);
  color: var(--love-accent);
  font-size: 1rem;
  opacity: 1;
}

.love-music-item .tx {
  flex: 1;
  min-width: 0;
}

.love-music-item .tx .n {
  font-weight: 600;
  line-height: 1.35;
}

.love-music-item .tx .d {
  font-size: 0.6875rem;
  color: var(--love-muted);
  margin-top: 4px;
}

.love-editor .love-file {
  width: 100%;
  max-width: 100%;
  padding: 10px 0;
  font-size: 0.875rem;
  box-sizing: border-box;
}

.love-editor input.love-file::-webkit-file-upload-button {
  margin-right: 12px;
  padding: 8px 14px;
  font-size: 0.8125rem;
  font-family: inherit;
  font-weight: 600;
  color: var(--love-accent);
  background: #fff;
  border: 1px solid var(--love-line);
  border-radius: 10px;
  cursor: pointer;
}

.love-dock {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  display: flex;
  gap: 10px;
  padding: 12px 14px calc(12px + var(--love-safe-b));
  background: rgba(250, 247, 242, 0.96);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--love-line);
  box-shadow: 0 -8px 32px rgba(43, 39, 36, 0.08);
}

@media (max-width: 320px) {
  .love-dock {
    flex-direction: column;
  }

  .love-dock .love-btn {
    min-height: 48px;
  }
}

.love-btn {
  flex: 1;
  min-height: var(--love-tap);
  padding: 0 14px;
  font-size: 0.9375rem;
  font-weight: 650;
  font-family: inherit;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  touch-action: manipulation;
  letter-spacing: 0.02em;
}

.love-btn-ghost {
  background: #e8e4dd;
  color: var(--love-ink);
  border: 1px solid #d4cec4;
}

.love-btn-main {
  background: linear-gradient(180deg, #9d524c 0%, var(--love-accent) 55%, #7a3f3b 100%);
  color: #fff;
  box-shadow: 0 4px 14px rgba(143, 74, 69, 0.35);
}

.love-btn-main:active,
.love-btn-ghost:active {
  transform: scale(0.98);
  opacity: 0.94;
}

.love-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(43, 39, 36, 0.45);
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.love-modal.is-open {
  display: flex;
}

.love-modal-box {
  width: 100%;
  max-width: 300px;
  background: var(--love-paper);
  border: 1px solid var(--love-line);
  border-radius: 14px;
  overflow: hidden;
}

.love-modal-box .mh {
  padding: 18px 18px 8px;
  text-align: center;
  font-weight: 600;
  font-size: 1rem;
}

.love-modal-box .mb {
  padding: 0 18px 16px;
  text-align: center;
  font-size: 0.875rem;
  color: var(--love-muted);
  line-height: 1.5;
}

.love-modal-box .mf {
  display: flex;
  border-top: 1px solid var(--love-line);
}

.love-modal-box .mf button,
.love-modal-box .mf .love-modal-cancel {
  flex: 1;
  padding: 14px;
  font-size: 0.9375rem;
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
}

.love-modal-box .mf .love-modal-ok {
  font-weight: 600;
  color: var(--love-accent);
  border-left: 1px solid var(--love-line);
}

.love-toast {
  position: fixed;
  left: 50%;
  bottom: calc(96px + var(--love-safe-b));
  transform: translateX(-50%);
  max-width: 85%;
  padding: 10px 18px;
  font-size: 0.8125rem;
  color: #fff;
  background: rgba(43, 39, 36, 0.88);
  border-radius: 100px;
  z-index: 300;
  display: none;
}

/* —— 分享页浮层（模板内容外） —— */
.love-fab-music {
  position: fixed;
  right: calc(16px + env(safe-area-inset-right, 0px));
  bottom: calc(20px + var(--love-safe-b));
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(43, 39, 36, 0.55);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  z-index: 100;
  border: 1px solid rgba(255, 255, 255, 0.15);
  cursor: pointer;
}

.love-share-hint {
  position: fixed;
  top: calc(12px + var(--love-safe-t));
  right: calc(12px + env(safe-area-inset-right, 0px));
  max-width: 56%;
  padding: 8px 12px;
  font-size: 0.6875rem;
  line-height: 1.4;
  color: #fff;
  background: rgba(43, 39, 36, 0.72);
  border-radius: var(--love-radius);
  z-index: 100;
}

/* —— 微信外打开提示（全屏手机端） —— */
body.love-wechat-tip {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  font-family: var(--love-font);
  color: var(--love-ink);
  background:
    radial-gradient(ellipse 90% 70% at 50% -15%, rgba(143, 74, 69, 0.14) 0%, transparent 55%),
    linear-gradient(168deg, #e8e4de 0%, #dcd6cc 42%, #e3ddd4 100%);
  -webkit-tap-highlight-color: transparent;
}

.love-wechat-tip .love-tip-page {
  min-height: 100dvh;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(20px + var(--love-safe-t)) 18px calc(28px + var(--love-safe-b));
  box-sizing: border-box;
}

.love-wechat-tip .love-tip-card {
  width: 100%;
  max-width: 360px;
  padding: 28px 22px 26px;
  background: rgba(250, 247, 242, 0.98);
  border: 1px solid rgba(217, 211, 202, 0.95);
  border-radius: 16px;
  text-align: center;
  box-shadow:
    0 20px 50px rgba(43, 39, 36, 0.12),
    0 1px 0 rgba(255, 255, 255, 0.65) inset;
}

.love-wechat-tip .love-tip-card h1 {
  margin: 0 0 14px;
  font-size: 1.125rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  color: var(--love-ink);
}

.love-wechat-tip .love-tip-card p {
  margin: 0 0 14px;
  font-size: 0.875rem;
  color: var(--love-muted);
  line-height: 1.65;
  text-align: left;
}

.love-wechat-tip .love-tip-card p:last-of-type {
  margin-bottom: 0;
}

.love-wechat-tip .love-tip-card a {
  display: inline-block;
  margin-top: 4px;
  max-width: 100%;
  padding: 10px 12px;
  font-size: 0.75rem;
  line-height: 1.5;
  color: var(--love-accent);
  font-weight: 600;
  word-break: break-all;
  text-decoration: none;
  background: #fff;
  border: 1px solid var(--love-line);
  border-radius: 10px;
  box-sizing: border-box;
  text-align: left;
}

.love-wechat-tip .love-tip-card a:active {
  background: #f9f4f2;
}

/* —— 底部导航（首页 / 好玩 / 我的） —— */
.love-tabbar {
  position: fixed;
  z-index: 60;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: stretch;
  justify-content: space-around;
  background: var(--love-paper);
  border-top: 1px solid var(--love-line);
  padding-bottom: var(--love-safe-b);
  box-shadow: 0 -4px 16px rgba(43, 39, 36, 0.06);
}

.love-tabbar-item {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  font-size: 0.8125rem;
  color: var(--love-muted);
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

.love-tabbar-item:active {
  opacity: 0.88;
}

.love-tabbar-item.is-on {
  color: var(--love-accent);
  font-weight: 650;
}

/* —— 好玩列表 —— */
.love-fun-list {
  padding: 0 16px 8px;
}

.love-fun-empty {
  margin: 32px 0;
  text-align: center;
  font-size: 0.875rem;
  color: var(--love-muted);
}

.love-fun-card {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 8px;
  padding: 8px 10px;
  background: var(--love-paper);
  border: 1px solid var(--love-line);
  border-radius: var(--love-radius);
  text-decoration: none;
  color: inherit;
  box-sizing: border-box;
}

.love-fun-card:active {
  background: #f5f1eb;
}

.love-fun-card .thumb {
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  overflow: hidden;
  background: var(--love-line);
  display: flex;
  align-items: center;
  justify-content: center;
}

.love-fun-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.love-fun-card .thumb .ph {
  font-size: 0.9rem;
  color: var(--love-muted);
}

.love-fun-card .meta {
  flex: 1;
  min-width: 0;
}

.love-fun-card .nm {
  margin: 0 0 2px;
  font-size: 0.85rem;
  font-weight: 600;
}

.love-fun-card .hint {
  margin: 0;
  font-size: 0.65rem;
  color: var(--love-muted);
}

/* —— 我的 · 已购 —— */
.love-mine-list {
  padding: 0 16px 8px;
}

.love-mine-empty {
  margin: 28px 0 8px;
  text-align: center;
  font-size: 0.875rem;
  color: var(--love-muted);
}

.love-mine-empty-link {
  margin: 0 0 24px;
  text-align: center;
}

.love-mine-empty-link a {
  color: var(--love-accent);
  font-weight: 600;
  text-decoration: none;
}

.love-mine-card {
  margin-bottom: 16px;
  padding: 14px;
  background: var(--love-paper);
  border: 1px solid var(--love-line);
  border-radius: var(--love-radius);
  box-sizing: border-box;
}

.love-mine-card .row-top {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
}

.love-mine-card .thumb {
  flex: 0 0 56px;
  width: 56px;
  height: 56px;
  border-radius: 8px;
  overflow: hidden;
  background: var(--love-line);
  display: flex;
  align-items: center;
  justify-content: center;
}

.love-mine-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.love-mine-card .thumb .ph {
  font-size: 1rem;
  color: var(--love-muted);
}

.love-mine-card .info {
  flex: 1;
  min-width: 0;
}

.love-mine-card .nm {
  margin: 0 0 4px;
  font-size: 0.9375rem;
  font-weight: 600;
}

.love-mine-card .sub {
  margin: 0 0 4px;
  font-size: 0.75rem;
  color: var(--love-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.love-mine-card .date {
  margin: 0;
  font-size: 0.6875rem;
  color: var(--love-muted);
}

.love-mine-card .row-link {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.love-mine-card .row-link label {
  flex: 0 0 100%;
  font-size: 0.6875rem;
  color: var(--love-muted);
}

.love-mine-url {
  flex: 1;
  min-width: 0;
  padding: 8px 10px;
  font-size: 0.6875rem;
  border: 1px solid var(--love-line);
  border-radius: 8px;
  background: #fff;
  color: var(--love-ink);
  box-sizing: border-box;
}

.love-mine-copy {
  flex: 0 0 auto;
  padding: 8px 14px;
  font-size: 0.75rem;
  font-family: inherit;
  border: 1px solid var(--love-accent);
  border-radius: 8px;
  background: var(--love-paper);
  color: var(--love-accent);
  font-weight: 600;
  cursor: pointer;
}

.love-mine-copy:active {
  opacity: 0.85;
}

.love-mine-card .row-qr {
  text-align: center;
  margin-bottom: 10px;
}

.love-mine-card .qr-label {
  margin: 0 0 6px;
  font-size: 0.6875rem;
  color: var(--love-muted);
}

.love-mine-qr {
  display: inline-block;
  vertical-align: top;
  border-radius: 8px;
  border: 1px solid var(--love-line);
}

.love-mine-open {
  display: block;
  text-align: center;
  padding: 10px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--love-accent);
  text-decoration: none;
  border-top: 1px solid var(--love-line);
  margin: 0 -14px -14px;
  border-radius: 0 0 calc(var(--love-radius) - 1px) calc(var(--love-radius) - 1px);
}

.love-mine-open:active {
  background: #f5f1eb;
}
