/* =========================================================
   app.css — 手机优先的粉丝端样式
   设计：深紫底 + 霓虹粉紫光晕 + 玻璃拟态卡片
   ========================================================= */

:root {
  --bg: #08040f;
  --bg-soft: #0e0718;
  --card: rgba(255, 255, 255, 0.045);
  --card-line: rgba(255, 255, 255, 0.09);
  --pink: #ff4fd8;
  --violet: #8b5cf6;
  --cyan: #4ef0ff;
  --text: #f4eefc;
  --muted: #a294bf;
  --radius: 18px;
  --tab-h: 62px;
  --top-h: 58px;
  --safe-b: env(safe-area-inset-bottom, 0px);
  --shadow-glow: 0 0 40px rgba(255, 79, 216, 0.18);
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

html, body { height: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 15px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ---------- 背景光晕 ---------- */
.bg-deco {
  position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none;
}
.bg-deco::before,
.bg-deco::after {
  content: ""; position: absolute; width: 60vmax; height: 60vmax; border-radius: 50%;
  filter: blur(90px); opacity: .5;
}
.bg-deco::before {
  background: radial-gradient(circle, rgba(255, 79, 216, .35), transparent 65%);
  top: -28vmax; left: -22vmax;
}
.bg-deco::after {
  background: radial-gradient(circle, rgba(78, 240, 255, .2), transparent 65%);
  bottom: -30vmax; right: -26vmax;
}

/* ---------- 应用外框 ---------- */
.app {
  max-width: 520px;
  margin: 0 auto;
  min-height: 100vh;
  position: relative;
  padding-bottom: calc(var(--tab-h) + var(--safe-b) + 12px);
}

/* ---------- 顶栏 ---------- */
.topbar {
  position: sticky; top: 0; z-index: 40;
  height: var(--top-h);
  display: flex; align-items: center; gap: 10px;
  padding: 0 16px;
  background: rgba(8, 4, 15, .82);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.topbar__avatar {
  width: 34px; height: 34px; border-radius: 50%; object-fit: cover;
  border: 1.5px solid rgba(255, 79, 216, .55);
  box-shadow: 0 0 14px rgba(255, 79, 216, .35);
  background: #1a0f2a;
}
.topbar__id { display: flex; flex-direction: column; gap: 1px; flex: 1; min-width: 0; }
.topbar__name {
  font-size: 14px; font-weight: 700; letter-spacing: .02em;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.topbar__sub { font-size: 10.5px; color: var(--muted); letter-spacing: .12em; }

.live-pill {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 3px 9px; border-radius: 999px; font-size: 10.5px; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  background: rgba(255, 255, 255, .06); color: var(--muted);
  border: 1px solid rgba(255, 255, 255, .09);
}
.live-pill.is-live {
  background: rgba(255, 45, 85, .16); color: #ff6b81;
  border-color: rgba(255, 45, 85, .4);
}
.live-pill__dot {
  width: 6px; height: 6px; border-radius: 50%; background: currentColor;
}
.live-pill.is-live .live-pill__dot { animation: pulse 1.4s infinite; }

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .35; transform: scale(.8); }
}

/* ---------- 视图切换 ---------- */
.views { padding: 14px 16px 8px; }
.view { display: none; animation: fadeUp .32s ease both; }
.view.is-active { display: block; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

/* ---------- 通用卡片 ---------- */
.card {
  background: var(--card);
  border: 1px solid var(--card-line);
  border-radius: var(--radius);
  padding: 16px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.card + .card { margin-top: 12px; }

.section-label {
  display: flex; align-items: center; justify-content: space-between;
  margin: 20px 2px 10px;
  font-size: 12px; color: var(--muted); letter-spacing: .1em;
}
.section-label strong {
  color: var(--text); font-size: 14px; letter-spacing: .02em; font-weight: 700;
}

/* ---------- 首屏主播卡 ---------- */
.hero {
  position: relative; overflow: hidden;
  border-radius: 24px;
  padding: 26px 20px 22px;
  text-align: center;
  background:
    radial-gradient(120% 90% at 50% -20%, rgba(139, 92, 246, .38), transparent 60%),
    linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .02));
  border: 1px solid rgba(255, 255, 255, .1);
  box-shadow: var(--shadow-glow);
}
.hero__avatar {
  width: 108px; height: 108px; border-radius: 50%; object-fit: cover;
  border: 2px solid rgba(255, 255, 255, .14);
  box-shadow: 0 0 0 6px rgba(255, 79, 216, .1), 0 0 34px rgba(255, 79, 216, .3);
  animation: float 5s ease-in-out infinite;
  background: #150b24;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}
.hero__name {
  margin: 12px 0 2px; font-size: 25px; font-weight: 800; letter-spacing: .04em;
}
.hero__en {
  margin: 0; font-size: 10.5px; letter-spacing: .32em; color: var(--pink); text-transform: uppercase;
}
.hero__tagline { margin: 8px 0 14px; font-size: 13.5px; color: var(--muted); }
.hero__tags { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin-bottom: 16px; }
.tag {
  font-size: 11px; padding: 4px 10px; border-radius: 999px;
  background: rgba(139, 92, 246, .16); color: #cbb6ff;
  border: 1px solid rgba(139, 92, 246, .3);
}
.hero__intro {
  margin: 14px 0 0; font-size: 13px; color: #c9bce0; text-align: left;
  padding-top: 14px; border-top: 1px dashed rgba(255, 255, 255, .1);
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  border: 0; cursor: pointer; font-family: inherit; font-size: 14px; font-weight: 700;
  padding: 13px 20px; border-radius: 14px; text-decoration: none;
  transition: transform .16s ease, box-shadow .16s ease, opacity .16s ease;
}
.btn:active { transform: scale(.97); }
.btn--live {
  width: 100%; color: #fff;
  background: linear-gradient(100deg, #ff2d79, #ff4fd8 45%, #8b5cf6);
  box-shadow: 0 8px 26px rgba(255, 45, 121, .36);
}
.btn--primary {
  color: #fff;
  background: linear-gradient(100deg, var(--violet), var(--pink));
  box-shadow: 0 6px 20px rgba(139, 92, 246, .32);
}
.btn--ghost {
  background: rgba(255, 255, 255, .06); color: var(--text);
  border: 1px solid rgba(255, 255, 255, .12);
}
.btn--block { width: 100%; }
.btn--sm { padding: 9px 16px; font-size: 13px; border-radius: 11px; }
.btn:disabled { opacity: .45; cursor: not-allowed; box-shadow: none; }

/* ---------- 快捷入口 ---------- */
.quick {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 9px; margin-top: 14px;
}
.quick__btn {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  padding: 13px 4px; border-radius: 16px; cursor: pointer;
  background: var(--card); border: 1px solid var(--card-line);
  color: var(--text); font-family: inherit; font-size: 11.5px;
  transition: transform .15s ease, border-color .15s ease;
}
.quick__btn:active { transform: scale(.95); }
.quick__btn:hover { border-color: rgba(255, 79, 216, .45); }
.quick__ico { font-size: 19px; line-height: 1; }

/* ---------- 运势卡 ---------- */
.fortune__head {
  display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px;
}
.fortune__sign { font-size: 15px; font-weight: 700; }
.fortune__sign small { color: var(--muted); font-weight: 400; font-size: 11.5px; margin-left: 5px; }
.fortune__stars { color: #ffd166; letter-spacing: 2px; font-size: 14px; }
.fortune__rows { display: grid; gap: 7px; margin-top: 10px; }
.fortune__row {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 12.5px; color: #cfc3e6;
}
.fortune__bar { flex: 1; height: 5px; margin: 0 10px; border-radius: 999px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.fortune__bar i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--violet), var(--pink)); }
.fortune__tip {
  margin: 12px 0 0; font-size: 12.5px; color: #d8cdf0;
  padding: 10px 12px; border-radius: 12px; background: rgba(139, 92, 246, .12);
  border-left: 2px solid var(--pink);
}
.fortune__select {
  appearance: none; background: rgba(255, 255, 255, .06); color: var(--text);
  border: 1px solid var(--card-line); border-radius: 10px;
  font-family: inherit; font-size: 12px; padding: 6px 10px;
}

/* ---------- 平台入口 ---------- */
.social {
  display: flex; align-items: center; gap: 12px;
  padding: 13px 14px; border-radius: 15px; text-decoration: none; color: var(--text);
  background: var(--card); border: 1px solid var(--card-line);
  margin-bottom: 9px; transition: border-color .15s ease, transform .15s ease;
}
.social:active { transform: scale(.985); }
.social__badge {
  width: 34px; height: 34px; flex: 0 0 34px; border-radius: 10px;
  display: grid; place-items: center; font-size: 13px; font-weight: 800; color: #0b0614;
}
.social__body { flex: 1; min-width: 0; }
.social__name { font-size: 13.5px; font-weight: 700; }
.social__handle { font-size: 11.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.social__arrow { color: var(--muted); font-size: 15px; }

/* ---------- 签到 ---------- */
.checkin-hero { text-align: center; padding: 24px 18px; }
.checkin-hero__num {
  font-size: 54px; font-weight: 800; line-height: 1;
  background: linear-gradient(120deg, var(--cyan), var(--pink));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.checkin-hero__unit { font-size: 13px; color: var(--muted); margin-top: 4px; }
.checkin-hero__title { margin-top: 12px; font-size: 15px; font-weight: 700; }
.checkin-hero__bar { margin: 14px 0 6px; height: 7px; border-radius: 999px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.checkin-hero__bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--cyan), var(--violet), var(--pink)); transition: width .5s ease; }
.checkin-hero__hint { font-size: 11.5px; color: var(--muted); }

.cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 7px; margin-top: 6px; }
.cal__day {
  aspect-ratio: 1; border-radius: 11px; display: grid; place-items: center;
  font-size: 11px; color: var(--muted);
  background: rgba(255, 255, 255, .04); border: 1px solid transparent;
}
.cal__day.is-done {
  background: rgba(255, 79, 216, .18); border-color: rgba(255, 79, 216, .45);
  color: #ffd9f5; font-weight: 700;
}
.cal__day.is-today { outline: 1.5px solid var(--cyan); outline-offset: -1.5px; color: var(--cyan); }
.cal__week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 7px; font-size: 10px; color: var(--muted); text-align: center; margin-bottom: 6px; }

/* ---------- 许愿 ---------- */
.wish-form textarea, .feed-form textarea, .chat-form input, .gb-input {
  width: 100%; background: rgba(255, 255, 255, .05); color: var(--text);
  border: 1px solid var(--card-line); border-radius: 14px; padding: 12px 14px;
  font-family: inherit; font-size: 14px; resize: none; outline: none;
  transition: border-color .15s ease;
}
.wish-form textarea:focus, .feed-form textarea:focus, .chat-form input:focus { border-color: rgba(255, 79, 216, .55); }
.form-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; gap: 10px; }
.counter { font-size: 11.5px; color: var(--muted); }

.wish {
  padding: 14px 15px; border-radius: 16px; margin-bottom: 10px;
  background: var(--card); border: 1px solid var(--card-line);
}
.wish__top { display: flex; align-items: center; gap: 8px; margin-bottom: 7px; }
.wish__name { font-size: 12.5px; font-weight: 700; color: #e8dcff; }
.wish__time { font-size: 10.5px; color: var(--muted); margin-left: auto; }
.wish__text { font-size: 14px; line-height: 1.65; color: #efe7fb; word-break: break-word; }
.wish__foot { display: flex; align-items: center; gap: 10px; margin-top: 11px; }
.badge-demo {
  font-size: 9.5px; padding: 1px 6px; border-radius: 5px; color: #ffcf8a;
  background: rgba(255, 191, 92, .12); border: 1px solid rgba(255, 191, 92, .3);
}

.like {
  display: inline-flex; align-items: center; gap: 5px;
  background: rgba(255, 255, 255, .05); color: var(--muted);
  border: 1px solid var(--card-line); border-radius: 999px;
  padding: 5px 12px; font-size: 12px; font-family: inherit; cursor: pointer;
  transition: all .16s ease;
}
.like.is-on {
  color: #ff8ac4; border-color: rgba(255, 79, 216, .5);
  background: rgba(255, 79, 216, .14);
}
.like:active { transform: scale(.94); }
.like.is-on .like__ico { animation: pop .3s ease; }
@keyframes pop { 50% { transform: scale(1.4); } }

.chip-row { display: flex; gap: 7px; margin: 12px 0 4px; overflow-x: auto; padding-bottom: 2px; }
.chip-row::-webkit-scrollbar { display: none; }
.chip {
  flex: 0 0 auto; padding: 6px 13px; border-radius: 999px; cursor: pointer;
  font-size: 12px; font-family: inherit; color: var(--muted);
  background: rgba(255, 255, 255, .05); border: 1px solid var(--card-line);
}
.chip.is-on { color: #fff; background: linear-gradient(100deg, var(--violet), var(--pink)); border-color: transparent; font-weight: 700; }

/* ---------- 动态 ---------- */
.feed-item {
  padding: 15px; border-radius: 16px; margin-bottom: 11px;
  background: var(--card); border: 1px solid var(--card-line);
}
.feed-item__top { display: flex; align-items: center; gap: 9px; margin-bottom: 9px; }
.avatar-sm {
  width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  font-size: 12px; font-weight: 800; color: #12071f;
  background: linear-gradient(135deg, var(--cyan), var(--pink));
}
.feed-item__name { font-size: 12.5px; font-weight: 700; }
.feed-item__time { font-size: 10.5px; color: var(--muted); margin-left: auto; }
.feed-item__text { font-size: 14px; line-height: 1.65; word-break: break-word; }
.feed-item__media {
  margin-top: 10px; border-radius: 13px; overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .08); background: #140a22;
}
.feed-item__media img, .feed-item__media video {
  display: block; width: 100%; max-height: 380px; object-fit: cover;
}
.media-actions { display: flex; gap: 8px; margin-top: 10px; }
.media-btn {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: 5px;
  padding: 9px; border-radius: 11px; cursor: pointer; font-family: inherit; font-size: 12.5px;
  color: var(--muted); background: rgba(255, 255, 255, .05); border: 1px dashed rgba(255, 255, 255, .16);
}
.media-preview { position: relative; margin-top: 10px; }
.media-preview img, .media-preview video { width: 100%; max-height: 240px; object-fit: cover; border-radius: 12px; display: block; }
.media-preview__del {
  position: absolute; top: 8px; right: 8px; width: 28px; height: 28px; border-radius: 50%;
  border: 0; background: rgba(0, 0, 0, .62); color: #fff; font-size: 15px; cursor: pointer;
}

/* ---------- 对话 ---------- */
.chat-head {
  display: flex; align-items: center; gap: 11px; padding: 12px 14px;
  border-radius: 16px; margin-bottom: 12px;
  background: linear-gradient(120deg, rgba(139, 92, 246, .22), rgba(255, 79, 216, .14));
  border: 1px solid rgba(255, 255, 255, .1);
}
.chat-head__avatar {
  width: 46px; height: 46px; border-radius: 50%; object-fit: cover;
  border: 1.5px solid rgba(255, 255, 255, .22); background: #150b24;
}
.chat-head__name { font-size: 14px; font-weight: 700; }
.chat-head__state { font-size: 11px; color: var(--muted); display: flex; align-items: center; gap: 5px; }
.chat-head__state i { width: 5px; height: 5px; border-radius: 50%; background: #5ee6a8; }

.chat-log {
  display: flex; flex-direction: column; gap: 10px;
  min-height: 320px; max-height: 52vh; overflow-y: auto;
  padding: 4px 2px 8px; scroll-behavior: smooth;
}
.bubble {
  max-width: 78%; padding: 10px 14px; border-radius: 16px;
  font-size: 14px; line-height: 1.62; word-break: break-word;
  animation: fadeUp .25s ease both;
}
.bubble--ai {
  align-self: flex-start; border-bottom-left-radius: 5px;
  background: rgba(255, 255, 255, .07); border: 1px solid var(--card-line);
}
.bubble--me {
  align-self: flex-end; border-bottom-right-radius: 5px; color: #fff;
  background: linear-gradient(100deg, var(--violet), var(--pink));
}
.typing { align-self: flex-start; display: flex; gap: 4px; padding: 12px 15px; background: rgba(255, 255, 255, .07); border-radius: 16px; border-bottom-left-radius: 5px; }
.typing i {
  width: 6px; height: 6px; border-radius: 50%; background: var(--muted);
  animation: blink 1.2s infinite;
}
.typing i:nth-child(2) { animation-delay: .18s; }
.typing i:nth-child(3) { animation-delay: .36s; }
@keyframes blink { 0%, 60%, 100% { opacity: .25; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }

.chat-form { display: flex; gap: 9px; align-items: center; }
.chat-form input { flex: 1; }
.chat-send {
  width: 46px; height: 46px; flex: 0 0 46px; border-radius: 50%; border: 0; cursor: pointer;
  background: linear-gradient(120deg, var(--violet), var(--pink)); color: #fff; font-size: 17px;
  display: grid; place-items: center; box-shadow: 0 6px 18px rgba(255, 79, 216, .3);
}
.chat-send:active { transform: scale(.93); }

/* ---------- 底部导航 ---------- */
.tabbar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 50;
  height: calc(var(--tab-h) + var(--safe-b));
  padding-bottom: var(--safe-b);
  display: flex; align-items: center;
  max-width: 520px; margin: 0 auto;
  background: rgba(10, 5, 18, .92);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(255, 255, 255, .07);
}
.tab {
  flex: 1; height: var(--tab-h); border: 0; background: none; cursor: pointer;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  color: var(--muted); font-family: inherit; font-size: 10.5px;
  transition: color .16s ease;
}
.tab__ico { font-size: 18px; line-height: 1; transition: transform .16s ease; }
.tab.is-active { color: var(--pink); }
.tab.is-active .tab__ico { transform: translateY(-2px) scale(1.1); }

/* ---------- 底部弹层 ---------- */
.sheet {
  position: fixed; inset: 0; z-index: 80; display: flex; align-items: flex-end;
  background: rgba(4, 2, 8, .68); backdrop-filter: blur(4px);
  opacity: 0; pointer-events: none; transition: opacity .25s ease;
}
.sheet.is-open { opacity: 1; pointer-events: auto; }
.sheet__panel {
  width: 100%; max-width: 520px; margin: 0 auto;
  background: linear-gradient(180deg, #150c26, #0c0616);
  border: 1px solid rgba(255, 255, 255, .1); border-bottom: 0;
  border-radius: 24px 24px 0 0;
  padding: 22px 20px calc(26px + var(--safe-b));
  transform: translateY(100%); transition: transform .3s cubic-bezier(.22, 1, .36, 1);
  max-height: 88vh; overflow-y: auto;
}
.sheet.is-open .sheet__panel { transform: translateY(0); }
.sheet__close {
  position: absolute; right: 16px; top: 16px; width: 30px; height: 30px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .14); background: rgba(255, 255, 255, .06);
  color: var(--text); cursor: pointer; font-size: 15px;
}
.sheet__title { margin: 0 0 4px; font-size: 18px; font-weight: 800; }
.sheet__sub { margin: 0 0 16px; font-size: 12.5px; color: var(--muted); }

/* ---------- 抽签 ---------- */
.omikuji { text-align: center; padding: 10px 0 4px; }
.omikuji__box {
  width: 120px; height: 120px; margin: 8px auto 18px; border-radius: 24px;
  display: grid; place-items: center; font-size: 46px;
  background: linear-gradient(145deg, rgba(255, 79, 216, .22), rgba(139, 92, 246, .18));
  border: 1px solid rgba(255, 255, 255, .14);
  box-shadow: 0 0 40px rgba(255, 79, 216, .25);
  cursor: pointer; transition: transform .2s ease;
}
.omikuji__box:active { transform: scale(.93); }
.omikuji__box.is-shaking { animation: shake .5s ease; }
@keyframes shake {
  0%, 100% { transform: rotate(0); }
  20% { transform: rotate(-9deg) scale(1.04); }
  50% { transform: rotate(8deg) scale(1.06); }
  75% { transform: rotate(-5deg); }
}
.omikuji__level {
  font-size: 34px; font-weight: 900; letter-spacing: .06em;
  background: linear-gradient(120deg, #ffd166, var(--pink));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.omikuji__poem {
  margin: 14px 0; padding: 14px; border-radius: 14px; font-size: 13.5px; line-height: 1.8;
  background: rgba(255, 255, 255, .05); border: 1px dashed rgba(255, 255, 255, .14);
  color: #ddd2f0;
}
.omikuji__meta { display: flex; gap: 9px; justify-content: center; flex-wrap: wrap; margin-bottom: 14px; }
.omikuji__meta span {
  font-size: 11.5px; padding: 5px 11px; border-radius: 999px;
  background: rgba(255, 255, 255, .06); border: 1px solid var(--card-line); color: #cfc3e6;
}

/* ---------- 空状态 ---------- */
.empty { text-align: center; padding: 34px 16px; color: var(--muted); font-size: 13px; }
.empty__ico { font-size: 30px; display: block; margin-bottom: 8px; opacity: .6; }

/* ---------- toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: calc(var(--tab-h) + 24px + var(--safe-b));
  transform: translate(-50%, 14px); z-index: 90;
  padding: 11px 20px; border-radius: 999px; font-size: 13px; font-weight: 600;
  background: rgba(28, 16, 44, .96); color: #fff;
  border: 1px solid rgba(255, 79, 216, .38);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .5);
  opacity: 0; pointer-events: none; transition: all .28s ease;
  max-width: 88vw; text-align: center;
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- 桌面端适配 ---------- */
@media (min-width: 560px) {
  body { padding: 18px 0; }
  .app {
    border-radius: 28px; overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .08);
    box-shadow: 0 30px 80px rgba(0, 0, 0, .6);
    background: rgba(10, 5, 18, .6);
    min-height: calc(100vh - 36px);
  }
  .tabbar { border-radius: 0 0 28px 28px; }
  .chat-log { max-height: 420px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

/* =========================================================
   以下是新增模块：登录门 / 天气 / 月度签到 / 评论 / 我的 / 后台
   ========================================================= */

.is-hidden { display: none !important; }

/* ---------- 登录 ---------- */
.login { padding: 44px 6px 24px; text-align: center; }
.login__logo img {
  width: 92px; height: 92px; border-radius: 50%; object-fit: cover;
  border: 2px solid rgba(255, 255, 255, .16);
  box-shadow: 0 0 0 6px rgba(255, 79, 216, .1), 0 0 32px rgba(255, 79, 216, .3);
  background: #150b24;
}
.login__title { margin: 16px 0 4px; font-size: 23px; font-weight: 800; letter-spacing: .04em; }
.login__sub { margin: 0; font-size: 12.5px; color: var(--muted); }
.login__card {
  margin-top: 22px; text-align: left;
  background: var(--card); border: 1px solid var(--card-line);
  border-radius: 20px; padding: 18px 16px;
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.login__link {
  display: block; width: 100%; margin-top: 10px; padding: 8px;
  background: none; border: 0; color: var(--muted); font-family: inherit;
  font-size: 12.5px; cursor: pointer; text-decoration: underline; text-underline-offset: 3px;
}
.login__note { margin: 18px 4px 0; font-size: 11.5px; color: #8f80ab; line-height: 1.75; }

/* ---------- 表单字段 ---------- */
.field { display: block; margin-bottom: 13px; }
.field__k {
  display: block; font-size: 11.5px; color: var(--muted);
  letter-spacing: .08em; margin-bottom: 6px;
}
.field__v {
  width: 100%; background: rgba(255, 255, 255, .05); color: var(--text);
  border: 1px solid var(--card-line); border-radius: 12px;
  padding: 11px 14px; font-family: inherit; font-size: 14px; outline: none;
  transition: border-color .15s ease;
}
.field__v:focus { border-color: rgba(255, 79, 216, .55); }
textarea.field__v { resize: vertical; line-height: 1.6; }
input[type="date"].field__v { color-scheme: dark; }

/* ---------- 天气 ---------- */
.weather { margin-top: 12px; }
.weather__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.weather__main { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 6px; }
.weather__city { font-size: 15px; font-weight: 700; }
.weather__cond { font-size: 11.5px; color: var(--muted); margin-top: 3px; }
.weather__temp { display: flex; align-items: center; gap: 7px; }
.weather__ico { font-size: 26px; }
.weather__num {
  font-size: 31px; font-weight: 800; line-height: 1;
  background: linear-gradient(120deg, var(--cyan), var(--pink));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.weather__num i { font-style: normal; font-size: 15px; }
.weather__days {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px;
  margin-top: 14px; padding-top: 12px; border-top: 1px solid rgba(255, 255, 255, .07);
}
.weather__day { display: flex; flex-direction: column; align-items: center; gap: 3px; }
.weather__day-name { font-size: 10.5px; color: var(--muted); }
.weather__day-ico { font-size: 17px; }
.weather__day-temp { font-size: 11px; color: #cbbbe6; }
.weather__day-txt { font-size: 10.5px; color: var(--muted); }
.weather__hint { margin: 0; font-size: 12.5px; color: var(--muted); line-height: 1.7; }

/* ---------- 月度签到 ---------- */
.mcal__week {
  display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px;
  font-size: 10px; color: var(--muted); text-align: center; margin-bottom: 8px;
}
.mcal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.mcal__cell {
  aspect-ratio: 1; border-radius: 10px; display: grid; place-items: center;
  font-size: 12px; color: var(--muted);
  background: rgba(255, 255, 255, .04); position: relative; border: 1px solid transparent;
}
.mcal__cell--blank { background: none; }
.mcal__cell.is-done {
  background: rgba(255, 79, 216, .2); color: #ffd9f5; font-weight: 700;
  border-color: rgba(255, 79, 216, .45);
}
.mcal__cell.is-done i {
  position: absolute; bottom: 4px; width: 3px; height: 3px;
  border-radius: 50%; background: var(--pink);
}
.mcal__cell.is-today { outline: 1.5px solid var(--cyan); outline-offset: -1.5px; color: var(--cyan); }

/* ---------- 评论 ---------- */
.comments { margin-top: 11px; padding-top: 11px; border-top: 1px dashed rgba(255, 255, 255, .08); }
.comment { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; font-size: 12.5px; line-height: 1.55; }
.comment__name { color: #cbb6ff; font-weight: 600; flex: 0 0 auto; }
.comment--host .comment__name { color: var(--pink); }
.comment__text { color: #e2d8f2; flex: 1 1 auto; word-break: break-word; }
.comment__time { color: var(--muted); font-size: 10.5px; margin-left: auto; }
.comment-form { display: flex; gap: 8px; margin-top: 8px; }
.comment-input {
  flex: 1; background: rgba(255, 255, 255, .05); color: var(--text);
  border: 1px solid var(--card-line); border-radius: 10px;
  padding: 8px 12px; font-family: inherit; font-size: 12.5px; outline: none;
}
.comment-input:focus { border-color: rgba(255, 79, 216, .5); }
.comment-send {
  border: 0; border-radius: 10px; padding: 0 14px; cursor: pointer;
  background: linear-gradient(100deg, var(--violet), var(--pink));
  color: #fff; font-size: 12.5px; font-weight: 700; font-family: inherit;
}
.feed-item__foot { margin-top: 9px; }
.comment-count { font-size: 11.5px; color: var(--muted); }
.post-del {
  float: right; border: 0; background: none; cursor: pointer;
  font-family: inherit; font-size: 11.5px; color: #ff6b81;
  padding: 0 2px; opacity: .85;
}
.post-del:disabled { opacity: .4; cursor: not-allowed; }
.badge-host {
  font-size: 9.5px; padding: 1px 6px; border-radius: 5px;
  color: #ff9ee0; background: rgba(255, 79, 216, .14);
  border: 1px solid rgba(255, 79, 216, .35);
}

/* ---------- 我的 ---------- */
.mine__head { display: flex; align-items: center; gap: 13px; }
.mine__avatar {
  width: 60px; height: 60px; border-radius: 50%; object-fit: cover;
  border: 2px solid rgba(255, 79, 216, .5); background: #150b24;
  flex: 0 0 60px;
}
.mine__avatar--txt {
  display: grid; place-items: center; font-size: 24px; font-weight: 800;
  background: linear-gradient(135deg, var(--violet), var(--pink)); color: #12071f;
}
.mine__id { flex: 1; min-width: 0; }
.mine__name { font-size: 17px; font-weight: 800; }
.mine__sub { font-size: 11.5px; color: var(--muted); margin-top: 2px; }
.mine__edit {
  border: 1px solid var(--card-line); background: rgba(255, 255, 255, .06);
  color: var(--text); border-radius: 999px; padding: 7px 15px;
  font-size: 12.5px; font-family: inherit; cursor: pointer; flex: 0 0 auto;
}
.stat-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px;
  margin-top: 16px; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .07);
}
.stat-grid--4 { grid-template-columns: repeat(4, 1fr); }
.stat { text-align: center; }
.stat b {
  display: block; font-size: 19px;
  background: linear-gradient(120deg, var(--cyan), var(--pink));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat span { font-size: 10.5px; color: var(--muted); }
.list-card { padding: 4px 0; margin-top: 12px; }
.list-row {
  display: flex; align-items: center; justify-content: space-between; width: 100%;
  background: none; border: 0; border-bottom: 1px solid rgba(255, 255, 255, .06);
  color: var(--text); font-family: inherit; font-size: 13.5px;
  padding: 14px 16px; cursor: pointer; text-align: left;
}
.list-row:last-child { border-bottom: 0; }
.list-row span { color: var(--muted); }
.list-row--danger { color: #ff6b81; }
.mine__foot { text-align: center; font-size: 11px; color: #8f80ab; margin-top: 16px; line-height: 1.7; }

/* ---------- 后台 ---------- */
.switch-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 2px; font-size: 13px; gap: 12px;
}
.switch-row input { width: 20px; height: 20px; accent-color: #ff4fd8; flex: 0 0 auto; }
.fan-row {
  display: flex; align-items: center; gap: 10px; padding: 11px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, .05); font-size: 12.5px;
}
.fan-row:last-child { border-bottom: 0; }
.fan-row__name { font-weight: 600; flex: 0 0 auto; }
.fan-row__meta { color: var(--muted); font-size: 11px; flex: 1; text-align: right; }
.fan-row__num { color: var(--pink); font-weight: 700; flex: 0 0 auto; min-width: 48px; text-align: right; }

/* ---------- 对话语音 ---------- */
.voice-btn {
  width: 38px; height: 38px; flex: 0 0 38px; border-radius: 50%;
  border: 1px solid var(--card-line); background: rgba(255, 255, 255, .06);
  color: var(--text); font-size: 16px; cursor: pointer;
}
.voice-btn.is-on { border-color: rgba(255, 79, 216, .5); background: rgba(255, 79, 216, .16); }

/* ---------- 对话页音色选择 ---------- */
.chat-voice {
  display: flex; align-items: center; gap: 9px;
  padding: 9px 12px; margin-bottom: 8px;
  background: rgba(255, 255, 255, .04);
  border: 1px solid var(--card-line); border-radius: 13px;
}
.chat-voice__label { font-size: 11.5px; color: var(--muted); flex: 0 0 auto; }
.chat-voice__sel {
  flex: 1; min-width: 0; appearance: none;
  background: rgba(255, 255, 255, .06); color: var(--text);
  border: 1px solid var(--card-line); border-radius: 9px;
  font-family: inherit; font-size: 12.5px; padding: 7px 10px;
}
.chat-voice__play {
  width: 32px; height: 32px; flex: 0 0 32px; border-radius: 50%;
  border: 1px solid var(--card-line); background: rgba(255, 255, 255, .06);
  color: var(--text); font-size: 11px; cursor: pointer;
}
.chat-voice__note {
  margin: 0 0 10px; font-size: 10.5px; color: var(--muted); line-height: 1.6;
}

/* ---------- 每日对话额度 ---------- */
.chat-quota {
  margin: 0 0 10px; font-size: 11.5px; color: var(--muted);
  padding: 7px 12px; border-radius: 10px;
  background: rgba(255, 255, 255, .04);
  border: 1px solid var(--card-line);
}
.chat-quota b { color: var(--cyan); font-size: 13px; }
.chat-quota.is-low { color: #ffb3c7; border-color: rgba(255, 107, 129, .35); }
.chat-quota.is-low b { color: #ff6b81; }

/* ---------- 后台：人设试用 ---------- */
.ai-test__row { display: flex; gap: 8px; }
.ai-test__row .field__v { flex: 1; }
.ai-test__out {
  margin-top: 10px; padding: 11px 13px; border-radius: 12px;
  font-size: 13px; line-height: 1.65; color: #e2d8f2;
  background: rgba(139, 92, 246, .12);
  border-left: 2px solid var(--pink);
  min-height: 42px; white-space: pre-wrap; word-break: break-word;
}
.ai-test__out:empty { display: none; }

/* ---------- 灯牌徽章 ---------- */
.badge-lamp {
  display: inline-block; margin-right: 5px; padding: 1px 6px;
  border-radius: 5px; font-size: 9.5px; font-weight: 700;
  color: #ffd166; background: rgba(255, 209, 102, .14);
  border: 1px solid rgba(255, 209, 102, .35);
  vertical-align: middle; white-space: nowrap;
}

/* ---------- 纪念日 ---------- */
.anniv__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; gap: 8px; }
.anniv-count { margin-left: auto; font-size: 11px; color: var(--muted); }
.anniv__since { margin: 0 0 10px; font-size: 12.5px; color: var(--muted); }
.anniv__since b { color: var(--pink); font-size: 16px; margin: 0 2px; }
.anniv__list { display: grid; gap: 8px; }
.anniv__item {
  display: flex; align-items: center; gap: 8px; padding: 9px 11px;
  border-radius: 11px; font-size: 12.5px;
  background: rgba(255, 255, 255, .04); border: 1px solid var(--card-line);
}
.anniv__name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.anniv__date { color: var(--muted); font-size: 11px; flex: 0 0 auto; }
.anniv__cd { color: #cbb6ff; font-size: 11.5px; font-weight: 600; flex: 0 0 auto; }
.anniv__cd.is-today { color: var(--pink); }
.anniv__del {
  border: 0; background: none; color: var(--muted); cursor: pointer;
  font-size: 13px; padding: 0 2px; flex: 0 0 auto;
}
.anniv__empty { margin: 0; font-size: 12px; color: var(--muted); }

.anniv-strip {
  margin-top: 12px; display: flex; align-items: center;
  justify-content: space-between; gap: 10px;
}
.anniv-strip__label { font-size: 13px; font-weight: 700; }
.anniv-strip__cd { font-size: 12.5px; color: var(--pink); font-weight: 600; }
.anniv__item--auto { background: rgba(255, 79, 216, .08); border-color: rgba(255, 79, 216, .28); }

/* ---------- 后台：粉丝灯牌编辑 ---------- */
.fan-edit {
  display: flex; align-items: center; gap: 8px;
  padding: 0 16px 11px; margin-top: -4px;
}
.fan-edit__label { font-size: 11px; color: var(--muted); }
.fan-edit__input {
  width: 66px; background: rgba(255, 255, 255, .05); color: var(--text);
  border: 1px solid var(--card-line); border-radius: 8px;
  padding: 5px 8px; font-size: 12px; font-family: inherit; text-align: center;
}
.fan-edit__btn {
  border: 1px solid var(--card-line); background: rgba(255, 255, 255, .06);
  color: var(--muted); border-radius: 8px; padding: 5px 10px;
  font-size: 11px; font-family: inherit; cursor: pointer;
}
.fan-edit__btn.is-on {
  color: #7dffb0; border-color: rgba(125, 255, 176, .4);
  background: rgba(125, 255, 176, .12);
}
.fan-row__num.is-today { color: #ffd166; }

/* ---------- 统一作者抬头 ---------- */
.author { display: inline-flex; align-items: center; gap: 5px; min-width: 0; flex-wrap: wrap; }
.author__name {
  font-size: 12.5px; font-weight: 700; color: #e8dcff;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 42vw;
}
.author__name.is-link { cursor: pointer; text-decoration: underline; text-underline-offset: 2px; text-decoration-color: rgba(255, 79, 216, .35); }
.author__name.is-link:active { color: var(--pink); }
.author__days { font-size: 10.5px; color: var(--muted); white-space: nowrap; }

.avatar-sm--img { object-fit: cover; padding: 0; border: 1px solid rgba(255, 255, 255, .18); background: #150b24; }
.avatar-sm--anon { background: rgba(255, 255, 255, .1); color: var(--muted); font-size: 13px; }

/* ---------- 许愿匿名 ---------- */
.anon-check {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 12px; color: var(--muted); cursor: pointer; user-select: none;
}
.anon-check input { width: 15px; height: 15px; accent-color: #ff4fd8; }

/* ---------- 粉丝主页 ---------- */
.fan-profile__head { display: flex; align-items: center; gap: 13px; }
.fan-profile__avatar {
  width: 62px; height: 62px; flex: 0 0 62px; border-radius: 50%; object-fit: cover;
  border: 2px solid rgba(255, 79, 216, .45); background: #150b24;
}
.fan-profile__avatar--txt {
  display: grid; place-items: center; font-size: 24px; font-weight: 800;
  background: linear-gradient(135deg, var(--violet), var(--pink)); color: #12071f;
}

.mini-link {
  background: none; border: 0; color: var(--pink); font-size: 12px;
  font-family: inherit; cursor: pointer;
}

/* =========================================================
   主题皮肤
   切换的是 :root 上的 data-theme，只影响本机显示
   ========================================================= */

:root[data-theme="cream"] {
  --bg: #fdf8fc;
  --bg-soft: #f6eef7;
  --card: rgba(255, 255, 255, .78);
  --card-line: rgba(60, 30, 70, .12);
  --pink: #ff5f9e;
  --violet: #7b6cf6;
  --cyan: #3fa9f5;
  --text: #2a1b33;
  --muted: #8b7a99;
  --shadow-glow: 0 12px 34px rgba(180, 130, 200, .18);
}
:root[data-theme="cream"] body { background: #fdf8fc; }
:root[data-theme="cream"] .bg-deco::before { background: radial-gradient(circle, rgba(255, 150, 200, .35), transparent 65%); }
:root[data-theme="cream"] .bg-deco::after { background: radial-gradient(circle, rgba(120, 180, 255, .3), transparent 65%); }
:root[data-theme="cream"] .topbar,
:root[data-theme="cream"] .tabbar { background: rgba(253, 248, 252, .9); }
:root[data-theme="cream"] .hero__intro,
:root[data-theme="cream"] .wish__text,
:root[data-theme="cream"] .feed-item__text { color: #40304d; }
:root[data-theme="cream"] .btn--live { color: #fff; }
:root[data-theme="cream"] .tag { color: #6c4fb8; }

:root[data-theme="cyber"] {
  --bg: #04070f;
  --bg-soft: #071320;
  --card: rgba(78, 240, 255, .05);
  --card-line: rgba(78, 240, 255, .16);
  --pink: #4ef0ff;
  --violet: #5b8cff;
  --cyan: #9dffe6;
  --text: #e6fbff;
  --muted: #7fa7b8;
  --shadow-glow: 0 0 40px rgba(78, 240, 255, .2);
}
:root[data-theme="cyber"] body { background: #04070f; }
:root[data-theme="cyber"] .bg-deco::before { background: radial-gradient(circle, rgba(78, 240, 255, .3), transparent 65%); }
:root[data-theme="cyber"] .bg-deco::after { background: radial-gradient(circle, rgba(91, 140, 255, .25), transparent 65%); }

:root[data-theme="mono"] {
  --bg: #0a0a0a;
  --bg-soft: #121212;
  --card: rgba(255, 255, 255, .04);
  --card-line: rgba(255, 255, 255, .14);
  --pink: #ffffff;
  --violet: #b8b8b8;
  --cyan: #8a8a8a;
  --text: #f2f2f2;
  --muted: #8a8a8a;
  --shadow-glow: 0 0 0 rgba(0, 0, 0, 0);
}
:root[data-theme="mono"] body { background: #0a0a0a; }
:root[data-theme="mono"] .btn--live,
:root[data-theme="mono"] .btn--primary,
:root[data-theme="mono"] .chat-send,
:root[data-theme="mono"] .bubble--me,
:root[data-theme="mono"] .comment-send {
  background: #f2f2f2; color: #0a0a0a;
}
:root[data-theme="mono"] .bg-deco::before,
:root[data-theme="mono"] .bg-deco::after { opacity: .12; }
:root[data-theme="mono"] .hero__avatar,
:root[data-theme="mono"] .topbar__avatar { filter: grayscale(1); }

/* ---------- 登录页标签 ---------- */
.login__tabs {
  display: flex; gap: 8px; margin: 20px 0 -6px;
  background: rgba(255, 255, 255, .05); padding: 4px; border-radius: 14px;
  border: 1px solid var(--card-line);
}
.login__tab {
  flex: 1; border: 0; background: none; color: var(--muted);
  font-family: inherit; font-size: 13.5px; padding: 9px 0;
  border-radius: 10px; cursor: pointer; font-weight: 600;
}
.login__tab.is-on {
  background: linear-gradient(100deg, var(--violet), var(--pink));
  color: #fff; box-shadow: 0 4px 14px rgba(139, 92, 246, .3);
}

/* ---------- 上传页 ---------- */
.upload-preview {
  display: grid; place-items: center; padding: 18px;
  background: rgba(255, 255, 255, .04); border-radius: 16px;
  border: 1px dashed var(--card-line);
}
.upload-preview img { width: 84px; height: 84px; object-fit: contain; border-radius: 18px; }
.upload-note { font-size: 12px; color: var(--muted); line-height: 1.75; margin: 10px 0 0; }
.upload-note code {
  background: rgba(255, 255, 255, .08); padding: 1px 5px;
  border-radius: 4px; font-size: 11px; color: #cbb6ff;
}
.rec-row { display: flex; align-items: center; gap: 12px; margin: 12px 0; }
.rec-timer {
  font-variant-numeric: tabular-nums; font-size: 15px; font-weight: 700;
  color: var(--pink); letter-spacing: .06em;
}
.voice-row {
  margin-top: 10px; padding: 11px 12px; border-radius: 12px;
  background: rgba(255, 255, 255, .04); border: 1px solid var(--card-line);
}
.voice-row.is-active { border-color: rgba(255, 79, 216, .5); background: rgba(255, 79, 216, .09); }
.voice-row__top { display: flex; align-items: center; gap: 8px; margin-bottom: 7px; }
.voice-row__name { font-size: 12.5px; font-weight: 600; flex: 1; }
.voice-row audio { width: 100%; height: 32px; }
.voice-row__set {
  border: 1px solid var(--card-line); background: rgba(255, 255, 255, .06);
  color: var(--text); border-radius: 999px; padding: 4px 11px;
  font-size: 11px; font-family: inherit; cursor: pointer; flex: 0 0 auto;
}
.voice-row.is-active .voice-row__set { background: rgba(255, 79, 216, .2); border-color: rgba(255, 79, 216, .5); }
.voice-row__del {
  border: 0; background: none; color: var(--muted);
  font-size: 14px; cursor: pointer; flex: 0 0 auto; padding: 0 4px;
}
.voice-row__cfg { display: flex; gap: 7px; margin-top: 9px; }
.voice-speaker {
  flex: 1; min-width: 0; background: rgba(255, 255, 255, .05); color: var(--text);
  border: 1px solid var(--card-line); border-radius: 9px;
  padding: 7px 10px; font-family: inherit; font-size: 12px; outline: none;
}
.voice-speaker:focus { border-color: rgba(255, 79, 216, .5); }
.voice-train, .voice-check {
  border: 1px solid var(--card-line); background: rgba(255, 255, 255, .06);
  color: var(--text); border-radius: 9px; padding: 0 11px;
  font-size: 11.5px; font-family: inherit; cursor: pointer; flex: 0 0 auto;
  min-height: 32px;
}
.voice-train {
  background: linear-gradient(100deg, var(--violet), var(--pink));
  color: #fff; border-color: transparent; font-weight: 700;
}
.voice-state { margin: 7px 0 0; font-size: 11px; color: var(--muted); }

/* ---------- 主题页 ---------- */
.theme-list { display: grid; gap: 10px; }
.theme-card {
  display: flex; align-items: center; gap: 13px; width: 100%;
  padding: 14px; border-radius: 16px; cursor: pointer; text-align: left;
  background: var(--card); border: 1px solid var(--card-line);
  color: var(--text); font-family: inherit;
  transition: border-color .15s ease, transform .15s ease;
}
.theme-card:active { transform: scale(.985); }
.theme-card.is-on { border-color: var(--pink); box-shadow: 0 0 0 1px var(--pink) inset; }
.theme-card__sw { display: flex; flex: 0 0 auto; }
.theme-card__sw i {
  width: 20px; height: 34px; display: block;
  border: 1px solid rgba(0, 0, 0, .18);
}
.theme-card__sw i:first-child { border-radius: 9px 0 0 9px; }
.theme-card__sw i:last-child { border-radius: 0 9px 9px 0; }
.theme-card__body { flex: 1; min-width: 0; }
.theme-card__body strong { display: block; font-size: 14px; }
.theme-card__body small { font-size: 11.5px; color: var(--muted); }
.theme-card__tick { color: var(--pink); font-weight: 800; font-size: 15px; flex: 0 0 auto; }
