/* ============ 基础 ============ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

/* hidden 属性一律生效（防止被 display:flex 等覆盖导致弹窗关不掉/初始显示） */
[hidden] {
  display: none !important;
}

body {
  background: #f1f5f9;
  font-size: 14px;
  color: #1e293b;
  font-family: -apple-system, BlinkMacSystemFont, 'Helvetica Neue', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  max-width: 640px;
  margin: 0 auto;
  min-height: 100vh;
  -webkit-user-select: none;
  user-select: none;
}

img {
  display: block;
}

/* ============ 顶部导航栏 ============ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  background: #2563eb;
  color: #fff;
  padding: 0 12px;
}

.nav-back {
  position: absolute;
  left: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  cursor: pointer;
}

.nav-title {
  font-size: 17px;
  font-weight: 600;
  max-width: 60%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ============ 页面容器 ============ */
.page {
  padding: 10px 12px 70px;
}

.center-tip {
  text-align: center;
  color: #94a3b8;
  padding: 80px 0;
  font-size: 14px;
}

/* ============ 首页顶部图片广告（标题与「最新」标签之间） ============ */
#home-top-ad {
  margin-bottom: 10px;
}

#home-top-ad .top-ad {
  display: block;
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
  background: #f1f5f9;
}

#home-top-ad .top-ad img {
  display: block;
  width: 100%;
  height: auto;
  border: none;
}

/* ============ 首页搜索框（最新标签下方） ============ */
.home-search {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  background: #fff;
  border-radius: 8px;
  padding: 6px 10px;
}
#home-search-input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-size: 14px;
  color: #1e293b;
  padding: 6px 0;
  min-width: 0;
}
#home-search-input::placeholder {
  color: #94a3b8;
}
#home-search-btn {
  flex-shrink: 0;
  border: none;
  background: #2563eb;
  color: #fff;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
#home-search-status {
  font-size: 12px;
  color: #475569;
  background: #eff6ff;
  border-radius: 6px;
  padding: 6px 10px;
  margin-bottom: 8px;
  line-height: 1.5;
}
.search-clear {
  color: #2563eb;
  cursor: pointer;
  margin-left: 8px;
  font-weight: 600;
}

/* ============ 当天/明天切换 ============ */
.day-tabs {
  display: flex;
  background: #fff;
  border-radius: 8px;
  padding: 4px;
  margin-bottom: 12px;
}

.day-tab {
  flex: 1;
  text-align: center;
  padding: 8px 0;
  font-size: 15px;
  color: #64748b;
  border-radius: 6px;
  cursor: pointer;
}

.day-tab.active {
  background: #2563eb;
  color: #fff;
  font-weight: 600;
}

/* ============ 抢购时间分组 ============ */
.time-group {
  margin-bottom: 4px;
}

.group-head {
  display: flex;
  align-items: center;
  margin: 8px 2px 6px;
}

.group-time {
  font-size: 13px;
  font-weight: 700;
  color: #b45309;
  background: #fef3c7;
  border-radius: 5px;
  padding: 3px 9px;
}

.group-time-key {
  color: #dc2626;
  background: linear-gradient(90deg, #fee2e2, #ffedd5);
  padding: 3px 12px;
  letter-spacing: 1px;
}

/* 「日常活动」区（当天/明天列表加载完后整体追加，长期可领、无具体抢购时间） */
.routine-group {
  margin-top: 12px;
}
.routine-group .card {
  border-color: #fecaca;
}
.routine-time {
  color: #b45309;
  background: linear-gradient(90deg, #fde68a, #fed7aa);
  border-radius: 5px;
  padding: 3px 12px;
  letter-spacing: 1px;
}

/* 「每日必做」区（置顶在首页当天/明天最上面） */
.must-group {
  margin-bottom: 8px;
}
.must-group .card {
  border-color: #bfdbfe;
}
.must-time {
  color: #1d4ed8;
  background: linear-gradient(90deg, #dbeafe, #e0e7ff);
  border-radius: 5px;
  padding: 3px 12px;
  letter-spacing: 1px;
}

/* 「限今日」区（每周/每月只填了周几/几号、未填具体时刻的条目，紧随「每日必做」之后） */
.notime-group {
  margin-bottom: 8px;
}
.notime-group .card {
  border-color: #fecaca;
}
.notime-time {
  color: #dc2626;
  background: linear-gradient(90deg, #fee2e2, #ffedd5);
  border-radius: 5px;
  padding: 3px 12px;
  letter-spacing: 1px;
}

/* ============ 活动卡片 ============ */
.card {
  background: #fff;
  border-radius: 8px;
  padding: 12px;
  margin-bottom: 10px;
  box-shadow: 0 1px 5px rgba(15, 23, 42, 0.05);
  cursor: pointer;
}

.card-top {
  display: block;
}

.platform {
  display: inline-flex;
  align-items: center;
  vertical-align: top;
  font-size: 11px;
  font-weight: 500;
  color: #475569;
  background: #f1f5f9;
  border-radius: 3px;
  padding: 2px 5px;
  margin: 2px 6px 0 0;
}

.p-icon {
  width: 14px;
  height: 14px;
  border-radius: 3px;
  margin-right: 3px;
  flex-shrink: 0;
}

.p-icon-emoji {
  font-size: 13px;
  line-height: 1;
  margin-right: 2px;
}

.title-inline {
  display: inline;
  font-size: 15px;
  font-weight: 600;
  color: #1e293b;
  line-height: 1.5;
  word-break: break-all;
}

/* 列表卡片标题后的「隐藏」按钮（同详情页「本期不展示」） */
.card-hide {
  display: inline-block;
  vertical-align: middle;
  margin-left: 6px;
  padding: 1px 8px;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  background: #f8fafc;
  color: #64748b;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.6;
  cursor: pointer;
}
.card-hide:active {
  background: #fee2e2;
  color: #dc2626;
  border-color: #fecaca;
}

.card-desc {
  margin-top: 5px;
  font-size: 13px;
  color: #64748b;
  line-height: 1.6;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

/* 讯航卡券入口卡片 */
.card-more {
  margin-top: 8px;
  font-size: 13px;
  color: #2563eb;
  font-weight: 600;
}
.xunhang-card {
  background: linear-gradient(180deg, #fff 0%, #f5f9ff 100%);
}

.price {
  margin-top: 5px;
  font-size: 13px;
  color: #e11d48;
  font-weight: 600;
}

/* ============ 分类页 ============ */
.cat-group {
  margin-bottom: 14px;
}

.cat-title {
  font-size: 14px;
  font-weight: 700;
  color: #475569;
  margin-bottom: 8px;
  padding-left: 4px;
  border-left: 3px solid #2563eb;
}

.grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.grid-item {
  width: calc((100% - 20px) / 3);
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 14px 0;
  text-align: center;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
}

/* 屏幕足够宽时一行显示 4 个分类（默认 3 列） */
@media (min-width: 480px) {
  .grid-item {
    width: calc((100% - 30px) / 4);
  }
}

.grid-icon {
  width: 28px;
  height: 28px;
  border-radius: 5px;
  margin-bottom: 4px;
}

.grid-icon-emoji {
  font-size: 24px;
  line-height: 1;
  margin-bottom: 4px;
}

.grid-name {
  font-size: 15px;
  font-weight: 600;
  color: #1e293b;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 90%;
}

/* ============ 详情页 ============ */
.detail-card {
  background: #fff;
  border-radius: 8px;
  padding: 14px 12px;
  margin-bottom: 10px;
}

.d-top {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 7px;
}

.grab {
  font-size: 12px;
  font-weight: 600;
  color: #b45309;
}

.grab.grab-key {
  color: #dc2626;
  background: #fee2e2;
  border-radius: 5px;
  padding: 2px 8px;
  display: inline-block;
  letter-spacing: 1px;
}

.d-title {
  font-size: 18px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.5;
  word-break: break-all;
}

.d-price {
  margin-top: 7px;
  font-size: 15px;
  font-weight: 700;
  color: #e11d48;
}

.d-meta {
  margin-top: 5px;
  font-size: 12px;
  color: #94a3b8;
}

.content-card {
  background: #fff;
  border-radius: 8px;
  padding: 14px 12px;
  -webkit-user-select: text;
  user-select: text;
  -webkit-touch-callout: text;
  font-size: 15px;
  line-height: 1.8;
  color: #334155;
  -webkit-user-select: text;
  user-select: text;
}

/* 正文富文本基础样式 */
.content-card p {
  margin: 0 0 10px;
}
.content-card img {
  max-width: 100%;
  border-radius: 6px;
}
.content-card a {
  color: #2563eb;
  -webkit-user-select: text;
  user-select: text;
  -webkit-touch-callout: text;
}
.content-card h1, .content-card h2, .content-card h3 {
  font-weight: 700;
  margin: 12px 0 8px;
}
.content-card table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 10px;
}
.content-card td, .content-card th {
  border: 1px solid #e2e8f0;
  padding: 4px 8px;
  font-size: 13px;
}

/* 正文里插入的链接/口令复制块 */
.content-card .copy-block {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 11px;
  text-decoration: none;
  word-break: break-all;
  margin: 4px 0;
}

/* 正文里的小程序入口 */
.content-card a.mp-entry {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 6px;
  background: #eef2ff;
  color: #4f46e5;
  text-decoration: none;
  font-size: 14px;
}
.content-card a.mp-entry img {
  display: inline-block;
  width: 18px;
  height: 18px;
  vertical-align: -3px;
  margin-right: 4px;
}

/* 详情底部链接/口令 */
.content-link {
  display: flex;
  align-items: flex-start;
  margin-top: 12px;
  padding: 10px 12px;
  background: #eff6ff;
  border-radius: 6px;
  -webkit-user-select: text;
  user-select: text;
}

.content-link-label {
  flex-shrink: 0;
  color: #2563eb;
  font-size: 14px;
  font-weight: 600;
}

.content-link-url {
  flex: 1;
  margin-left: 4px;
  color: #2563eb;
  font-size: 13px;
  word-break: break-all;
  line-height: 1.5;
}

.content-link.secret {
  background: #fff7ed;
}

.content-link.secret .content-link-label,
.content-link.secret .content-link-url {
  color: #ea580c;
}

/* 详情操作按钮 */
.actions {
  display: flex;
  justify-content: flex-end;
  gap: 6px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.action-btn {
  background: #2563eb;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  text-align: center;
  padding: 5px 12px;
  border-radius: 5px;
  border: none;
  cursor: pointer;
}

.action-btn.taobao {
  background: #e95819;
}

.action-btn.mini {
  background: #7c3aed;
}

.action-btn.share {
  background: #059669;
}

.action-btn.weibo {
  background: #e6162d;
}

.action-btn.feedback {
  background: #dc2626;
}

.action-btn.hide {
  background: #64748b;
}

.action-btn.fav {
  background: #f59e0b;
}
.action-btn.fav.faved {
  background: #ea580c;
}

/* 微信内分享引导浮层 */
.share-guide {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
}
.share-guide.hidden {
  display: none;
}
.share-guide-mask {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.65);
}
.share-guide-tip {
  position: absolute;
  top: 16px;
  right: 12px;
  text-align: center;
}
.share-guide-arrow {
  transform: rotate(90deg) scaleX(-1);
  margin-bottom: 4px;
}
.share-guide-text {
  color: #fff;
  font-size: 14px;
  line-height: 1.6;
  background: rgba(0, 0, 0, 0.45);
  padding: 4px 10px;
  border-radius: 8px;
}
.share-guide-text b {
  color: #ffd666;
  font-size: 16px;
}

/* 「本期不展示」确认弹窗 */
.hide-mask {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
}
.hide-mask-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
}
.hide-box {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 280px;
  max-width: 84%;
  box-sizing: border-box;
  background: #fff;
  border-radius: 12px;
  padding: 20px 18px;
}
.hide-title {
  font-size: 16px;
  font-weight: 600;
  color: #1e293b;
  text-align: center;
  margin-bottom: 12px;
}
.hide-desc {
  font-size: 13px;
  color: #475569;
  line-height: 1.6;
  text-align: center;
  margin-bottom: 16px;
}
.hide-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}
.hide-option {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #334155;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 8px 10px;
  cursor: pointer;
}
.hide-option input[type="radio"] {
  accent-color: #2563eb;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin: 0;
}
.hide-actions {
  display: flex;
  gap: 10px;
}
.hide-btn {
  flex: 1;
  border: none;
  border-radius: 8px;
  padding: 10px 0;
  font-size: 14px;
  cursor: pointer;
}
.hide-btn.cancel {
  background: #f1f5f9;
  color: #475569;
}
.hide-btn.ok {
  background: #2563eb;
  color: #fff;
}

/* 反馈弹窗 */
.feedback-mask {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
}
.feedback-mask.hidden {
  display: none;
}
.feedback-mask-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
}
.feedback-box {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: calc(100% - 40px);
  max-width: 380px;
  box-sizing: border-box;
  background: #fff;
  border-radius: 12px;
  padding: 18px 16px;
}
.feedback-title {
  font-size: 16px;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 14px;
  text-align: center;
}
.feedback-types {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}
.feedback-type {
  flex: 1;
  text-align: center;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 8px 4px;
  font-size: 12px;
  color: #475569;
  cursor: pointer;
}
.feedback-type.active {
  border-color: #2563eb;
  color: #2563eb;
  background: #eff6ff;
}
.feedback-type input {
  display: none;
}
.feedback-msg {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 10px;
  font-size: 13px;
  color: #1e293b;
  resize: none;
  outline: none;
  font-family: inherit;
}
.feedback-msg:focus {
  border-color: #2563eb;
}
.feedback-actions {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}
.feedback-btn {
  flex: 1;
  border: none;
  border-radius: 8px;
  padding: 10px 0;
  font-size: 14px;
  cursor: pointer;
}
.feedback-btn.cancel {
  background: #f1f5f9;
  color: #475569;
}
.feedback-btn.submit {
  background: #2563eb;
  color: #fff;
}
.feedback-btn.submit:disabled {
  opacity: 0.6;
}

/* 详情页评论区 */
.comments-card {
  background: #fff;
  border-radius: 12px;
  padding: 14px 14px 12px;
  margin: 12px 0;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
}
.comments-head {
  font-size: 15px;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 10px;
}
.comments-count {
  font-weight: 400;
  color: #94a3b8;
  font-size: 13px;
}
.comments-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.comments-tip {
  color: #94a3b8;
  font-size: 13px;
  padding: 6px 0;
}
.comment-item {
  border-bottom: 1px solid #f1f5f9;
  padding-bottom: 8px;
}
.comment-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.comment-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}
.comment-name {
  font-size: 13px;
  font-weight: 600;
  color: #334155;
}
.comment-time {
  font-size: 12px;
  color: #94a3b8;
}
.comment-text {
  font-size: 14px;
  line-height: 1.6;
  color: #1e293b;
  white-space: pre-wrap;
  word-break: break-word;
}
.comments-mine {
  margin-top: 8px;
}
.comment-mine {
  background: #fef9c3;
  color: #a16207;
  font-size: 12px;
  line-height: 1.5;
  padding: 6px 10px;
  border-radius: 8px;
  margin-top: 6px;
}
.comments-form {
  margin-top: 12px;
}
.comment-input {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 10px;
  font-size: 14px;
  color: #1e293b;
  resize: vertical;
  outline: none;
  font-family: inherit;
}
.comment-input:focus {
  border-color: #2563eb;
}
.comment-submit {
  width: 100%;
  margin-top: 8px;
  border: none;
  border-radius: 8px;
  padding: 10px;
  background: #2563eb;
  color: #fff;
  font-size: 15px;
  cursor: pointer;
}
.comment-submit:disabled {
  opacity: 0.6;
}

/* 卡片发布时间（最新 tab） */
.card-time {
  margin-top: 6px;
  font-size: 12px;
  color: #94a3b8;
}

/* 首页底部备案号 */
.home-footer {
  margin: 18px 0 10px;
  text-align: center;
}
.home-footer a {
  color: #94a3b8;
  font-size: 12px;
  text-decoration: none;
}

/* 广告位 */
.ad-slot {
  margin: 14px 0;
  text-align: center;
  overflow: hidden;
}
.ad-slot iframe,
.ad-slot img {
  max-width: 100%;
}

/* 图片放大预览（点击正文图片放大，放大后长按可保存） */
.img-viewer {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
}
.img-viewer.hidden {
  display: none;
}
.img-viewer-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.92);
}
.img-viewer-body {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 1;
}
.img-viewer-img {
  max-width: 94vw;
  max-height: 76vh;
  object-fit: contain;
  border-radius: 4px;
}
.img-viewer-tip {
  margin-top: 14px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.75);
}
.img-viewer-close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 34px;
  height: 34px;
  line-height: 30px;
  text-align: center;
  font-size: 24px;
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  z-index: 2;
}

/* 详情页底部加群入口（二维码 + 按钮文字，整体超链接） */
.detail-qr {
  margin: 18px auto 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
}
.detail-qr-img {
  width: 48px;
  height: 48px;
  border-radius: 6px;
  display: block;
}
.detail-qr-tip {
  margin-top: 10px;
  display: inline-block;
  padding: 8px 22px;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  background: #2563eb;
  border-radius: 20px;
}

/* ============ 底部导航 ============ */
.tabbar {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 640px;
  background: #fff;
  border-top: 1px solid #e2e8f0;
  display: flex;
  padding: 6px 0 calc(6px + env(safe-area-inset-bottom));
  z-index: 100;
}

.tab-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  color: #94a3b8;
  font-size: 10px;
  text-decoration: none;
}

.tab-item.active {
  color: #2563eb;
}

/* ============ 我的 ============ */
.me-page {
  padding: 16px 12px 90px;
}
.me-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 24px 0 20px;
  background: linear-gradient(135deg, #2563eb, #38bdf8);
  border-radius: 12px;
  color: #fff;
  margin-bottom: 12px;
}
.me-avatar {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  margin-bottom: 10px;
}
.me-name {
  font-size: 17px;
  font-weight: 700;
}
.me-panel {
  background: #fff;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  overflow: hidden;
}
.me-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 14px;
  font-size: 14px;
  border-bottom: 1px solid #f1f5f9;
}
.me-row:last-child {
  border-bottom: none;
}
.me-label {
  color: #64748b;
  flex-shrink: 0;
  margin-right: 12px;
}
.me-value {
  color: #1e293b;
  text-align: right;
  word-break: break-all;
}
.me-value.mono {
  font-family: ui-monospace, Menlo, Consolas, monospace;
  font-size: 12px;
  color: #475569;
}
.me-tip {
  margin: 16px 4px 0;
  font-size: 12px;
  color: #94a3b8;
  text-align: center;
  line-height: 1.7;
}
.me-section-title {
  margin: 18px 4px 8px;
  font-size: 15px;
  color: #1e293b;
}
.me-hide-loading,
.me-hide-empty {
  padding: 22px 14px;
  text-align: center;
  font-size: 13px;
  color: #94a3b8;
}
.me-hide-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-bottom: 1px solid #f1f5f9;
}
.me-hide-row:last-child {
  border-bottom: none;
}
.me-hide-main {
  flex: 1;
  min-width: 0;
}
.me-hide-title {
  font-size: 14px;
  color: #1e293b;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.me-hide-exp {
  margin-top: 3px;
  font-size: 12px;
  color: #f59e0b;
}
.me-fav-time {
  margin-top: 3px;
  font-size: 12px;
  color: #64748b;
}
.me-hide-restore {
  flex-shrink: 0;
  border: 1px solid #2563eb;
  color: #2563eb;
  background: #fff;
  border-radius: 999px;
  font-size: 13px;
  padding: 6px 14px;
  cursor: pointer;
}
.me-hide-restore:active {
  background: #eff6ff;
}
/* 我的-功能入口行（如「本期不展示」） */
.me-menu-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.me-menu-row:active {
  background: #f8fafc;
}
.me-menu-label {
  font-size: 15px;
  color: #1e293b;
  font-weight: 500;
}
.me-menu-right {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.me-menu-count {
  font-style: normal;
  font-size: 12px;
  color: #f59e0b;
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: 999px;
  padding: 2px 8px;
}
.me-menu-arrow {
  font-size: 18px;
  color: #cbd5e1;
  line-height: 1;
}
/* 「本期不展示」独立页 */
.hidden-page {
  padding: 16px 12px 60px;
}
.hidden-page-title {
  font-size: 13px;
  color: #64748b;
  margin: 0 4px 8px;
  line-height: 1.6;
}

/* ============ Toast ============ */
.toast {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(15, 23, 42, 0.85);
  color: #fff;
  font-size: 14px;
  padding: 10px 18px;
  border-radius: 8px;
  z-index: 1200;
  max-width: 70%;
  text-align: center;
}
