/* ============================================================ */
/* 宠物系统 pet.css：从 style.css 拆出的独立样式模块                       */
/* ============================================================ */


.fab,.pomo-float-btn,.pet-float-btn,.star-btn-corner{-webkit-touch-callout:none;-webkit-user-select:none;user-select:none;}


/* ========== 宠物系统 ========== */
.pet-stage{padding:28px 24px 20px;display:flex;flex-direction:column;align-items:center;gap:12px;}

.pet-wrap{width:64px;height:64px;position:relative;cursor:pointer;touch-action:none;user-select:none;display:flex;align-items:center;justify-content:center;}

.pet-wrap[data-kind="land"]{animation:petBreathe 4s ease-in-out infinite;}

.pet-wrap[data-kind="fly"]{animation:petHover 3s ease-in-out infinite;}

.pet-wrap[data-kind="water"]{animation:petSwim 4s ease-in-out infinite;}

.pet-svg{width:64px;height:64px;display:block;transform-origin:center bottom;will-change:transform;transition:transform .12s ease-out;}

.pet-svg.shake{animation:petShake .3s ease;}

.pet-svg.jumping{animation:petJumpFull .6s linear;}

.pet-egg-wrap{width:64px;height:64px;display:flex;align-items:center;justify-content:center;}

.pet-egg{width:64px;height:64px;display:block;}

.pet-hint{font-size:12px;color:var(--text-tertiary);text-align:center;line-height:1.6;}

.pet-progress{width:120px;height:2px;background:var(--divider);border-radius:1px;overflow:hidden;}

.pet-progress-fill{height:100%;background:var(--accent);transition:width .3s;}



.dex-item{position:relative;}

.dex-item.myth .dex-svg{filter:drop-shadow(0 0 3px var(--accent-soft));}

/* pet-swipe 系列重复块已合并 */
.pet-float-btn{position:absolute;right:20px;bottom:110px;width:52px;height:52px;border-radius:50%;background:var(--accent);border:none;cursor:pointer;display:flex;align-items:center;justify-content:center;z-index:65;box-shadow:0 4px 16px rgba(244,162,97,.35);touch-action:none;user-select:none;transition:transform .2s ease;padding:0;}

.pet-float-btn:active{transform:scale(.94);}

.pet-float-btn.active{background:#FFFFFF;}

.pet-float-btn svg{width:32px;height:32px;stroke:#FFFFFF;stroke-width:2;fill:none;stroke-linecap:round;stroke-linejoin:round;}

.pet-float-btn.active svg{stroke:var(--accent);}

.pet-float-btn.flipping{animation:fabFlipIn .5s cubic-bezier(.4,0,.2,1) forwards;}

.activity-layer{position:absolute;inset:0;pointer-events:none;z-index:62;overflow:hidden;}

.activity-pet{position:absolute;width:32px;height:32px;pointer-events:none;will-change:transform;opacity:.72;left:0;top:0;}

.activity-pet svg{width:100%;height:100%;stroke:var(--accent);stroke-width:2;stroke-linecap:round;stroke-linejoin:round;}

/* dex-mode 系列重复块已合并 */
.pet-empty{padding:36px 24px;text-align:center;}

.pet-empty-title{font-size:15px;color:var(--text);font-weight:500;margin-bottom:8px;}

.pet-empty-sub{font-size:12.5px;color:var(--text-tertiary);line-height:1.7;margin-bottom:18px;}

.pet-empty-btn{padding:10px 22px;border:1px solid var(--accent);border-radius:8px;background:transparent;color:var(--accent);font-size:14px;font-family:inherit;cursor:pointer;}

.pet-actions{display:flex;gap:10px;margin-top:4px;}

.pet-action-btn{padding:8px 16px;border-radius:8px;font-size:12.5px;font-family:inherit;cursor:pointer;border:1px solid var(--border);background:transparent;color:var(--text-secondary);}

.pet-action-btn.primary{background:var(--accent);color:#fff;border-color:var(--accent);}

.dex-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:14px 8px;padding:12px 0 4px;}

.dex-item{display:flex;flex-direction:column;align-items:center;gap:6px;cursor:pointer;}

.dex-svg{width:40px;height:40px;display:flex;align-items:center;justify-content:center;}

.dex-svg .pet-svg{width:100%;height:100%;}

.dex-item.locked{opacity:.3;pointer-events:none;}

.dex-item .dex-label{font-size:10.5px;color:var(--text-tertiary);}

.dex-item .dex-lv{font-size:9px;color:var(--text-tertiary);line-height:1;letter-spacing:.02em;height:10px;}

.dex-item.active .dex-lv{color:var(--accent);}

.dex-item.active .dex-label{color:var(--accent);font-weight:500;}

/* ========== 破壳动画 ========== */
.hatch-stage{width:64px;height:64px;position:relative;display:flex;align-items:center;justify-content:center;}

.hatch-egg-svg{position:absolute;left:0;top:0;width:64px;height:64px;fill:none;stroke:var(--accent);stroke-width:2;stroke-linecap:round;stroke-linejoin:round;}

.hatch-shell-left,.hatch-shell-right{transform-origin:32px 32px;transition:transform .3s cubic-bezier(.4,0,.6,1);}

.hatch-stage.playing .hatch-shell-left{transform:translate(-14px,6px) rotate(-30deg);}

.hatch-stage.playing .hatch-shell-right{transform:translate(14px,6px) rotate(30deg);}

.hatch-pet{position:absolute;left:0;top:0;width:64px;height:64px;opacity:0;transform:scale(0.5);transition:opacity .4s ease,transform .4s cubic-bezier(.34,1.4,.64,1);}

.hatch-stage.playing .hatch-pet{transition-delay:.3s;opacity:1;transform:scale(1);}

.dex-lv .bang-inline {
  display: inline-block;
  vertical-align: -2px;
  margin-left: 2px;
}

/* ===== 宠物售卖浮动按钮 ===== */
.pet-sell-float-btn {
  position: absolute;
  left: 20px;
  bottom: 110px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--accent);
  border: none;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 65;
  box-shadow: 0 4px 16px rgba(244,162,97,.35);
  touch-action: none;
  user-select: none;
  padding: 0;
  transition: transform .2s ease;
  color: #FFFFFF;
  --sell-icon-yen: #FAF9F6;
}

.pet-sell-float-btn.show { display: flex; }

.pet-sell-float-btn.active {
  background: #FFFFFF;
  box-shadow: inset 0 0 0 1.5px var(--accent), 0 4px 16px rgba(244,162,97,.25);
  color: var(--accent);
  --sell-icon-yen: var(--accent);
}

.pet-sell-float-btn svg {
  width: 26px;
  height: 26px;
  display: block;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pet-sell-float-btn.flipping { animation: fabFlipIn .5s cubic-bezier(.4,0,.2,1) forwards; }

.pet-sell-float-btn:active { transform: scale(.94); }


/* 售卖模式下 lv 位置显示价格 */
#dexBody.sell-mode .dex-lv {
  color: var(--accent);
  font-weight: 500;
}


/* ========== 宠物形象预览（开发者） ========== */.pet-preview-page{position:absolute;inset:0;background:var(--bg);z-index:58;display:flex;flex-direction:column;transform:translateX(100%);transition:transform .32s cubic-bezier(.22,1,.36,1);}

.pet-preview-page.open{transform:translateX(0);}

.pet-preview-controls{padding:0 20px 12px;display:flex;flex-direction:column;gap:8px;border-bottom:1px solid var(--divider);flex-shrink:0;}

.pet-preview-control-row{display:flex;align-items:center;gap:10px;}

.pet-preview-control-label{font-size:11.5px;color:var(--text-tertiary);width:36px;flex-shrink:0;}

.pet-preview-chip-group{display:flex;gap:6px;flex-wrap:wrap;}

.pet-preview-chip{padding:4px 11px;border-radius:14px;font-size:12.5px;color:var(--text-secondary);border:1px solid var(--border);background:transparent;cursor:pointer;font-family:inherit;}

.pet-preview-chip:active{opacity:.7;}

.pet-preview-chip.active{background:var(--accent-soft);border-color:var(--accent);color:var(--accent);font-weight:500;}

.pet-preview-body{flex:1 1 0;min-height:0;overflow-y:auto;padding:16px 20px calc(40px + env(safe-area-inset-bottom,0px));}

.pet-preview-group-title{font-size:11px;color:var(--text-tertiary);letter-spacing:.06em;margin:16px 0 10px;}

.pet-preview-group-title:first-child{margin-top:0;}

.pet-preview-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(76px,1fr));gap:14px 8px;}

.pet-preview-item{display:flex;flex-direction:column;align-items:center;gap:6px;}

.pet-preview-item-box{display:flex;align-items:center;justify-content:center;}

.pet-preview-item-box svg{display:block;}

.pet-preview-item-name{font-size:10.5px;color:var(--text-tertiary);white-space:nowrap;line-height:1;}

/* ========== 宠物独立页（v2.10） ========== */
/* ========== 宠物 tab 页（v2.10） ========== */
.pet-tab-header{display:flex;align-items:center;justify-content:center;gap:8px;font-size:16px;font-weight:500;color:var(--text);letter-spacing:.05em;}

.pet-tab-header svg{width:18px;height:18px;stroke:var(--accent);stroke-width:1.6;fill:none;stroke-linecap:round;stroke-linejoin:round;}

/* ========== 我的页 · 宠物入口按钮 ========== */
.pet-entry-btn svg{width:20px;height:20px;stroke-width:1.6;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;}

.pet-guide-hint{
  font-size:11.5px;
  color:var(--accent);
  text-align:center;
  line-height:1.6;
  padding:2px 0 0;
  opacity:.85;
  letter-spacing:.02em;
}


/* 卡片本体 */
.pet-gift-card {
  width: 200px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 12px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}

.pet-gift-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}

.pet-gift-card-name {
  font-size: 13px;
  color: var(--text);
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pet-gift-card-halo {
  font-size: 14px;
  flex-shrink: 0;
}

.pet-gift-card-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 6px 0;
}

.pet-gift-card-svg {
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pet-gift-card-svg svg {
  width: 100%;
  height: 100%;
  display: block;
  animation: none !important;
  transition: none !important;
}

.pet-gift-card-lv {
  font-size: 12px;
  color: var(--accent);
  font-weight: 600;
  letter-spacing: .04em;
}

.pet-gift-card-actions {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--divider);
  padding-top: 8px;
  min-height: 32px;
}

.pet-gift-card-btn {
  flex: 1;
  padding: 7px 0;
  border-radius: 8px;
  font-size: 12.5px;
  font-family: inherit;
  font-weight: 500;
  cursor: pointer;
  border: none;
  transition: opacity .15s ease;
}

.pet-gift-card-btn:active { opacity: .75; }

.pet-gift-card-btn:disabled { opacity: .4; cursor: not-allowed; }

.pet-gift-card-btn.reject {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border);
}

.pet-gift-card-btn.accept {
  background: var(--accent);
  color: #fff;
}

.pet-gift-card-waiting {
  width: 100%;
  text-align: center;
  font-size: 12px;
  color: var(--text-tertiary);
  letter-spacing: .02em;
}

.pet-gift-card-status {
  width: 100%;
  text-align: center;
  font-size: 12.5px;
  color: var(--text-tertiary);
  letter-spacing: .04em;
}


/* 非 pending 状态：整体变灰 */
.pet-gift-card.status-accepted,
.pet-gift-card.status-rejected,
.pet-gift-card.status-expired {
  opacity: 0.7;
}

.pet-gift-card.status-accepted { border-color: var(--accent); }

.pet-gift-card.status-rejected,
.pet-gift-card.status-expired { border-color: var(--divider); }


/* 选择器 overlay */
.pet-gift-picker-overlay {
  position: fixed;
  inset: 0;
  background: var(--overlay);
  z-index: 960;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .22s ease;
}

.pet-gift-picker-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.pet-gift-picker {
  width: 100%;
  max-width: 460px;
  max-height: 76vh;
  background: var(--bg);
  border-radius: 20px 20px 0 0;
  padding: 20px 20px calc(20px + env(safe-area-inset-bottom, 0px));
  display: flex;
  flex-direction: column;
  gap: 12px;
  transform: translateY(100%);
  transition: transform .28s cubic-bezier(.22,1,.36,1);
  box-sizing: border-box;
}

.pet-gift-picker-overlay.open .pet-gift-picker {
  transform: translateY(0);
}

.pet-gift-picker::before {
  content: '';
  display: block;
  width: 36px;
  height: 4px;
  border-radius: 2px;
  background: var(--border);
  margin: 0 auto 6px;
  flex-shrink: 0;
}

.pet-gift-picker-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.pet-gift-picker-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
}

.pet-gift-picker-close {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: transparent;
  color: var(--text-tertiary);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  font-family: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  flex-shrink: 0;
}

.pet-gift-picker-close:active { background: var(--list-hover); color: var(--accent); }

.pet-gift-picker-hint {
  font-size: 11.5px;
  color: var(--text-tertiary);
  line-height: 1.7;
  padding: 8px 10px;
  background: var(--input-bg);
  border-radius: 8px;
}

.pet-gift-picker-grid {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px 8px;
  padding: 4px 0 8px;
}

.pet-gift-picker-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 8px 4px;
  border-radius: 10px;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: background .15s ease, border-color .15s ease;
  user-select: none;
  -webkit-user-select: none;
}

.pet-gift-picker-item:active { background: var(--list-hover); }

.pet-gift-picker-item.selected {
  background: var(--accent-soft);
  border-color: var(--accent);
}

.pet-gift-picker-svg {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pet-gift-picker-svg svg {
  width: 100%;
  height: 100%;
  display: block;
  animation: none !important;
  transition: none !important;
}

.pet-gift-picker-name {
  font-size: 11px;
  color: var(--text);
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.pet-gift-picker-lv {
  font-size: 10px;
  color: var(--accent);
  font-weight: 500;
}

.pet-gift-picker-actions {
  display: flex;
  gap: 10px;
  padding-top: 4px;
  border-top: 1px solid var(--divider);
}

.pet-gift-picker-btn {
  flex: 1;
  padding: 12px;
  border-radius: 10px;
  font-size: 14.5px;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  border: none;
  transition: opacity .15s ease;
}

.pet-gift-picker-btn:active { opacity: .75; }

.pet-gift-picker-btn:disabled { opacity: .4; cursor: not-allowed; }

.pet-gift-picker-btn.ghost {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border);
}

.pet-gift-picker-btn.primary {
  background: var(--accent);
  color: #fff;
}

/* ============ v3.1.7 宠物赠送 · 解锁门槛 ============ */
.pet-gift-picker-item.locked {
  opacity: 0.45;
  filter: grayscale(1);
  cursor: not-allowed;
}

.pet-gift-picker-item.locked .pet-gift-picker-svg {
  opacity: 0.7;
}

.pet-gift-picker-lock-tip {
  font-size: 9.5px;
  color: var(--danger);
  text-align: center;
  line-height: 1.3;
  margin-top: 2px;
  letter-spacing: .02em;
  white-space: normal;
  word-break: break-all;
}

/* 图鉴赠送主题色覆盖（确保不会被原主题强制覆盖） */
.dex-svg { transition: all 0.3s ease; }


/* 图鉴「显示赠送」开关：恢复标准尺寸 + 弹性动效 */
.dex-gift-toggle{
  display:flex;
  align-items:center;
  gap:8px;
  font-size:11.5px;
  color:var(--text-tertiary);
  -webkit-user-select:none;
  user-select:none;
  flex-shrink:0;
}

.dex-gift-toggle .switch{
  transition:background .25s ease, transform .15s cubic-bezier(.34,1.4,.64,1);
}

.dex-gift-toggle .switch:active{
  transform:scale(.92);
}

.dex-gift-toggle .switch::after{
  transition:transform .28s cubic-bezier(.34,1.4,.64,1);
}

/* 宠物全屏浮层 */
.pet-page-overlay {
  position: absolute;
  inset: 0;
  background: var(--bg);
  z-index: 61;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform .32s cubic-bezier(.22,1,.36,1);
}

.pet-page-overlay.open {
  transform: translateX(0);
}

.pet-tabbar {
  position: relative;
  z-index: 20;
  flex-shrink: 0; /* 关键：防止被上方内容挤压 */
}

/* ===== v3.1.9 宠物页三视图：横向滑动，和主 tab 一致 ===== */
.pet-views-wrapper {
  display: flex;
  width: 300%;
  height: 100%;
  transition: transform .35s cubic-bezier(.22,1,.36,1);
  will-change: transform;
}

.pet-view {
  width: 33.3333%;
  flex: 0 0 33.3333%;
  height: 100%;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  display: flex;
  flex-direction: column;
}


/* ===== v3.1.9 蛋卡片 ===== */
.pet-egg-card {
  margin: 12px 24px 0;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pet-egg-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.pet-egg-card-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

.pet-egg-card-body {
  display: flex;
  align-items: center;
  gap: 14px;
}

.pet-egg-card-svg {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
}

.pet-egg-card-info {
  flex: 1;
  min-width: 0;
}

.pet-egg-card-sub {
  font-size: 12.5px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.pet-egg-card-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

.pet-egg-card-btn {
  padding: 9px 18px;
  border-radius: 8px;
  font-size: 13px;
  font-family: inherit;
  font-weight: 500;
  cursor: pointer;
  border: none;
}

.pet-egg-card-btn.primary {
  background: var(--accent);
  color: #fff;
}

.pet-egg-card-btn.ghost {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border);
}

.pet-egg-card-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
}

.pet-egg-card-empty .pet-egg-card-title {
  color: var(--text-secondary);
  font-weight: 500;
}

.pet-egg-card-buy {
  padding: 9px 18px;
  border-radius: 8px;
  font-size: 13px;
  font-family: inherit;
  background: var(--accent);
  color: #fff;
  border: none;
  cursor: pointer;
}


/* ===== v3.1.9 养成路径提示 ===== */
.pet-guide-hint-static {
  text-align: center;
  font-size: 11.5px;
  color: var(--text-tertiary);
  letter-spacing: .02em;
  padding: 16px 24px 22px;
  line-height: 1.6;
}


/* ===== v3.1.9 图鉴顶部信息 ===== */
.dex-progress-bar {
  padding: 12px 24px 10px;
}

.dex-progress-main {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
}

.dex-progress-sub {
  font-size: 11.5px;
  color: var(--text-tertiary);
  margin-top: 4px;
  letter-spacing: .02em;
}

.dex-reward-banner {
  margin: 4px 24px 10px;
  padding: 11px 14px;
  border-radius: 10px;
  background: var(--accent-soft);
  border: 1px solid var(--accent);
  color: var(--accent);
  font-size: 13px;
  font-family: inherit;
  font-weight: 500;
  cursor: pointer;
  text-align: left;
  width: calc(100% - 48px);
  box-sizing: border-box;
}

.dex-reward-banner:active { opacity: .75; }

.dex-reward-banner-sub {
  margin: 0 24px 10px;
  padding: 8px 14px;
  border-radius: 8px;
  background: var(--input-bg);
  font-size: 11.5px;
  color: var(--text-tertiary);
  line-height: 1.6;
}

.dex-filter-chips {
  display: flex;
  gap: 6px;
  padding: 0 24px 12px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.dex-filter-chips::-webkit-scrollbar { display: none; }

.dex-filter-chip {
  padding: 5px 12px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-secondary);
  font-size: 12px;
  font-family: inherit;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
}

.dex-filter-chip.active {
  background: var(--accent-soft);
  border-color: var(--accent);
  color: var(--accent);
  font-weight: 500;
}

.dex-gift-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px 12px;
  font-size: 12.5px;
  color: var(--text-secondary);
}

.dex-empty {
  padding: 40px 24px;
  text-align: center;
  font-size: 12.5px;
  color: var(--text-tertiary);
}


/* ===== v3.1.9 活动面板 ===== */
.activity-panel {
  padding: 16px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.activity-panel-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
}

.activity-panel-slots {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px 8px;
}

.activity-slot {
  aspect-ratio: 1;
  border-radius: 10px;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  position: relative;
  overflow: hidden;
  padding: 4px;
  box-sizing: border-box;
}

.activity-slot.filled {
  background: var(--accent-soft);
  border-color: var(--accent);
}

.activity-slot.empty {
  background: transparent;
  border-style: dashed;
  cursor: pointer;
  color: var(--text-tertiary);
  font-size: 22px;
  font-weight: 300;
}

.activity-slot.empty:active { background: var(--input-bg); }

.activity-slot-svg {
  width: 60%;
  height: 60%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.activity-slot-svg svg {
  width: 100%;
  height: 100%;
  display: block;
}

.activity-slot-name {
  font-size: 9.5px;
  color: var(--text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}


.activity-panel-hint {
  font-size: 11.5px;
  color: var(--text-tertiary);
  line-height: 1.6;
}

.activity-panel-edit-btn {
  padding: 12px;
  border-radius: 10px;
  background: var(--accent);
  color: #fff;
  border: none;
  font-size: 14px;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  margin-top: 4px;
}

.activity-panel-edit-btn:active { opacity: .8; }



.pet-tabbar .tab-item.active svg {
  stroke: currentColor;
}
