/* ============================================================
   爱奇艺皮肤壳 · Design Tokens（票 18）
   基准来源：
   - docs/research/iqiyi-ui-reference.md（2026-09-23 实测：logo 官方 #00C452、
     H5 主色 #0BBE06、深色 #111214）
   - docs/plan/assets-baseline/official-preview-tabs.png（2026-09-26 官方预览图：
     当前 App 为浅色主题，白头部白 Tab 栏；底部 Tab = 首页/免费/＋/会员/我的）
   皮肤层新增变量，不改 kids.css 任何值。
   ============================================================ */

:root {
  /* 品牌绿 */
  --iqy-green: #00C452;          /* 主品牌绿（官方 logo 像素统计值） */
  --iqy-green-h5: #0BBE06;       /* H5 链接/激活色（m.iqiyi.com CSS 实测） */
  --iqy-green-bright: #0ADB63;   /* 图标渐变亮部 */
  --iqy-green-press: #00A843;    /* 按压态 */

  /* 浅色主题（当前 App 形态，基准：官方预览图） */
  --iqy-bg-page: #F7F8FA;        /* 页面底 */
  --iqy-bg-header: #FFFFFF;      /* 头部/Tab 栏底 */
  --iqy-bg-card: #FFFFFF;
  --iqy-bg-pill: #F2F3F5;        /* 搜索胶囊/灰底块 */
  --iqy-text-1: #111111;         /* 主文字 */
  --iqy-text-2: #333333;         /* 次文字（m 站实测正文色） */
  --iqy-text-3: #999999;         /* 弱文字/时间 */
  --iqy-line: #EEEEEE;           /* 分隔线 */

  /* 深色形态（备用：调研期 App 深色主题证据） */
  --iqy-dark-bg: #111214;
  --iqy-dark-card: #1E1F24;
  --iqy-dark-text-1: #FFFFFF;

  /* 角标色（基准：预览图与截图目测，皮肤票并排比对时校准） */
  --iqy-badge-vip-a: #FFD268;    /* VIP 金渐变亮 */
  --iqy-badge-vip-b: #F5A623;    /* VIP 金渐变暗 */
  --iqy-badge-vip-txt: #7A4A00;
  --iqy-badge-blue: #4C8BF5;     /* 预告/首发类 */
  --iqy-badge-orange: #FF7700;   /* 限免/更新类 */
  --iqy-badge-red: #FF4E6E;      /* 直播/热搜类 */
  --iqy-badge-lock-bg: rgba(0, 0, 0, .55);  /* 锁角标底 */

  /* 版式（m.iqiyi.com 实测） */
  --iqy-font-base: 14.56px;
  --iqy-card-radius: 6px;        /* 原生 App 海报卡小圆角 */
  --iqy-banner-radius: 8px;
  --iqy-card-gap: 12px;
  --iqy-col-gap: 10px;           /* 双列列距（182px 卡 ×2 + 边距 12 → 390 视口） */

  /* 高度（m 站/预览图实测） */
  --iqy-header-h: 46px;
  --iqy-chantab-h: 40px;         /* 首页内频道 Tab 行 */
  --iqy-tabbar-h: 52px;          /* 底部 Tab 栏 */

  /* 播放器 */
  --iqy-player-ratio: 16 / 9;    /* 严格 16:9（390×219 实测） */

  /* 动效 */
  --iqy-ease: cubic-bezier(.22, .61, .36, 1);
}

/* ============================================================
   皮肤壳组件样式（票 19 起；kids.css 之后加载，.scr 显隐机制沿用）
   ============================================================ */

/* hidden 属性全局兜底：任何 display:flex/grid 的组件类都不得压过 hidden */
[hidden] { display: none !important; }

/* -- 通用页头（浅色：白底、细分割线） -- */
.iqy-head {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: center;
  height: calc(var(--iqy-header-h) + env(safe-area-inset-top));
  padding: env(safe-area-inset-top) 12px 0;
  background: var(--iqy-bg-header);
  border-bottom: 1px solid var(--iqy-line);
}
.iqy-head h1 { font-size: 17px; font-weight: 700; color: var(--iqy-text-1); }
.iqy-back {
  position: absolute; left: 4px; bottom: 4px;
  width: 40px; height: 40px; border: none; background: none;
  font-size: 26px; line-height: 40px; color: var(--iqy-text-1);
}
.iqy-head-r { position: absolute; right: 12px; bottom: 12px; font-size: 13px; color: var(--iqy-text-3); }
.iqy-head .h-logo { height: 20px; }

/* -- 我的页 -- */
#scr-mine { background: var(--iqy-bg-page); justify-content: flex-start; }
.mine-scroll { width: 100%; overflow-y: auto; padding-bottom: 30px; }
.mine-user { display: flex; align-items: center; gap: 12px; padding: 18px 16px 8px; }
.mine-avatar {
  width: 56px; height: 56px; border-radius: 50%;
  background: linear-gradient(135deg, var(--iqy-green-bright), #2DEB7F);
  display: flex; align-items: center; justify-content: center; font-size: 30px;
}
.mine-id { flex: 1; display: flex; flex-direction: column; gap: 3px; }
.mine-id b { font-size: 18px; color: var(--iqy-text-1); }
.mine-id span { font-size: 12px; color: var(--iqy-text-3); }
.mine-vip-chip {
  font-size: 12px; color: var(--iqy-badge-vip-txt);
  background: linear-gradient(90deg, var(--iqy-badge-vip-a), var(--iqy-badge-vip-b));
  padding: 7px 12px; border-radius: 999px; font-weight: 600;
}
.mine-vipcard {
  margin: 10px 12px; padding: 14px 16px; border-radius: 10px;
  background: linear-gradient(100deg, #3B2B1A, #57402a);
  color: #F7E6C3; display: flex; align-items: center; justify-content: space-between;
}
.mine-vipcard .vc-l { display: flex; flex-direction: column; gap: 3px; }
.mine-vipcard .vc-l b { font-size: 16px; }
.mine-vipcard .vc-l span { font-size: 11px; opacity: .75; }
.mine-vipcard .vc-btn {
  font-size: 12px; font-weight: 700; color: #5B3A00;
  background: linear-gradient(90deg, #FFE3A6, var(--iqy-badge-vip-b));
  padding: 8px 14px; border-radius: 999px;
}
.mine-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: var(--iqy-bg-card); margin: 10px 12px; border-radius: 10px; padding: 14px 0;
}
.mine-grid button {
  border: none; background: none; display: flex; flex-direction: column;
  align-items: center; gap: 6px; font-size: 12px; color: var(--iqy-text-2);
}
.mine-grid i {
  font-style: normal; font-size: 20px; width: 42px; height: 42px; line-height: 42px;
  border-radius: 50%; background: var(--iqy-bg-pill); text-align: center;
}
.mine-list { list-style: none; margin: 10px 12px; background: var(--iqy-bg-card); border-radius: 10px; }
.mine-list li {
  display: flex; justify-content: space-between; align-items: center;
  padding: 15px 16px; font-size: 14.5px; color: var(--iqy-text-1);
  border-bottom: 1px solid var(--iqy-line);
}
.mine-list li:last-child { border-bottom: none; }
.mine-list .arr { color: #C8C8C8; font-size: 18px; }
.mine-ver { text-align: center; font-size: 11px; color: #C0C0C0; margin-top: 14px; }

/* -- 看过页 -- */
#scr-history { background: var(--iqy-bg-page); justify-content: flex-start; }
.hist-scroll { width: 100%; overflow-y: auto; padding-bottom: 24px; }
.hist-list { padding: 8px 12px; display: flex; flex-direction: column; gap: 10px; }
.hist-row {
  display: flex; gap: 10px; background: var(--iqy-bg-card);
  border-radius: var(--iqy-card-radius); overflow: hidden; padding: 0;
  border: none; text-align: left; width: 100%;
}
.hist-row { position: relative; }
.hist-row img { width: 132px; height: 74px; object-fit: cover; flex-shrink: 0; background: #E8E8E8; }
.hist-today { left: 6px; top: 6px; position: absolute; z-index: 2; }
.hist-info { flex: 1; padding: 7px 10px 8px 0; display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.hist-info b {
  font-size: 14px; color: var(--iqy-text-1); font-weight: 600;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.hist-prog { height: 3px; border-radius: 2px; background: #EDEDED; overflow: hidden; }
.hist-prog i { display: block; height: 100%; background: var(--iqy-green); }
.hist-meta { font-size: 11px; color: var(--iqy-text-3); display: flex; justify-content: space-between; }
.hist-empty { text-align: center; color: var(--iqy-text-3); font-size: 14px; padding-top: 80px; }

/* -- 平台话术弹窗 -- */
.iqy-dialog {
  position: fixed; inset: 0; z-index: 500;
  background: rgba(0, 0, 0, .45);
  display: flex; align-items: center; justify-content: center;
}
.iqy-dialog[hidden] { display: none; }
/* 爱奇艺原生弹窗样式:白卡+居中标题正文+底部横排文字按钮(灰左绿右,细线分隔) */
.dlg-card {
  width: 78%; max-width: 320px; background: #fff; border-radius: 14px;
  padding: 26px 20px 0; text-align: center; overflow: hidden;
  animation: dlgIn .18s var(--iqy-ease);
}
@keyframes dlgIn { from { transform: scale(.92); opacity: 0; } }
.dlg-card h3 { font-size: 17px; font-weight: 700; color: var(--iqy-text-1); margin-bottom: 10px; }
.dlg-card p { font-size: 14px; color: var(--iqy-text-2); line-height: 1.6; margin-bottom: 20px; }
.dlg-btns { display: flex; margin: 0 -20px; border-top: 1px solid var(--iqy-line); }
.dlg-btns button {
  flex: 1; height: 48px; border: none; background: none;
  font-size: 16px; color: var(--iqy-text-2); font-weight: 400;
}
.dlg-btns button + button { border-left: 1px solid var(--iqy-line); }
.dlg-btns .primary { color: var(--iqy-green); font-weight: 700; }

/* -- 播放页（票 21） -- */
#scr-watch { background: var(--iqy-bg-page); justify-content: flex-start; display: none; flex-direction: column; }
#scr-watch.on { display: flex; }
.wp-player { position: relative; width: 100%; aspect-ratio: var(--iqy-player-ratio); background: #000; flex-shrink: 0; overflow: hidden; }
.wp-player video { width: 100%; height: 100%; object-fit: contain; background: #000; }
/* iframe 加高 124%：B 站控制条画在其底部,随溢出被裁掉;视频 16:9 由 B 站自己居中 */
.wp-player iframe { position: absolute; top: 0; left: 0; width: 100%; height: 124%; border: none; }
.wp-cover { position: absolute; inset: 0; z-index: 5; }
.wp-cover-top {
  position: absolute; top: 0; left: 0; right: 0; height: 46px;
  display: flex; align-items: center; padding: 0 40px 0 44px;
  background: #000; /* 全不透明：遮 B 站顶栏/logo/水印 */
  color: #fff; font-size: 14px; font-weight: 600;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.wp-cover::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 12px;
  background: #000; /* 收边：iframe 裁切后的底部基线 */
}
.wp-back {
  position: absolute; top: 8px; left: 2px; z-index: 8;
  width: 38px; height: 38px; border: none; background: none;
  color: #fff; font-size: 26px; text-shadow: 0 1px 4px rgba(0,0,0,.6);
}
.wp-ctrl {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 6;
  display: flex; align-items: center; gap: 10px;
  padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
  background: linear-gradient(0deg, rgba(0,0,0,.65), transparent);
}
.wp-ctrl button { border: none; background: none; color: #fff; font-size: 15px; }
.wp-bar { flex: 1; height: 3px; border-radius: 2px; background: rgba(255,255,255,.3); overflow: hidden; }
.wp-bar i { display: block; height: 100%; width: 0; background: var(--iqy-green); }
.wp-time { color: #fff; font-size: 11px; }
.wp-loading {
  position: absolute; inset: 0; z-index: 7;
  display: flex; align-items: center; justify-content: center; background: #000;
}
.wp-loading[hidden] { display: none; }
.wp-loading i {
  width: 42px; height: 42px; border-radius: 50%;
  border: 4px solid rgba(255,255,255,.15); border-top-color: var(--iqy-green);
  animation: wpSpin .9s linear infinite;
}
@keyframes wpSpin { to { transform: rotate(360deg); } }
.wp-banner {
  position: absolute; top: 10px; left: 50%; transform: translateX(-50%); z-index: 7;
  background: rgba(0,0,0,.7); color: #fff; font-size: 12px;
  padding: 7px 14px; border-radius: 999px; opacity: 0; transition: opacity .4s;
  pointer-events: none; white-space: nowrap;
}
.wp-banner.on { opacity: 1; }
.wp-scroll { flex: 1; overflow-y: auto; padding-bottom: 30px; }
.wp-titlerow { background: var(--iqy-bg-card); padding: 12px 14px 10px; }
.wp-titlerow b { font-size: 17px; color: var(--iqy-text-1); display: block; margin-bottom: 6px; }
.wp-meta { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--iqy-text-3); }
.wp-hd { background: var(--iqy-bg-pill); border-radius: 4px; padding: 1px 6px; font-size: 11px; }
.wp-actions {
  display: flex; justify-content: space-around;
  background: var(--iqy-bg-card); margin-top: 8px; padding: 12px 0;
}
.wp-actions button { border: none; background: none; font-size: 20px; color: var(--iqy-text-1); display: flex; flex-direction: column; align-items: center; gap: 3px; }
.wp-actions span { font-size: 11px; color: var(--iqy-text-3); }
.wp-section { background: var(--iqy-bg-card); margin-top: 8px; padding: 12px 14px 14px; }
.wp-section h3 { font-size: 15px; color: var(--iqy-text-1); margin-bottom: 10px; }
.wp-eps { display: grid; grid-template-columns: repeat(auto-fill, minmax(44px, 1fr)); gap: 8px; }
.wp-ep {
  height: 34px; border: 1px solid var(--iqy-line); border-radius: 6px;
  background: var(--iqy-bg-card); font-size: 14px; color: var(--iqy-text-2);
  display: flex; align-items: center; justify-content: center;
}
.wp-ep.on { background: var(--iqy-green); border-color: var(--iqy-green); color: #fff; font-weight: 700; }
.wp-ep.dim { color: #C4C4C4; border-color: #F0F0F0; }
.wp-recs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.wp-rec { border: none; background: none; padding: 0; text-align: left; }
.wp-rec img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: var(--iqy-card-radius); background: #E8E8E8; }
.wp-rec b { display: block; font-size: 13px; color: var(--iqy-text-1); margin: 5px 0 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 600; }
.wp-rec span { font-size: 11px; color: var(--iqy-text-3); }
/* 播完结束页 */
.wp-end {
  position: absolute; inset: 0; z-index: 30;
  background: var(--iqy-bg-page);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  padding: 0 32px; text-align: center;
}
.wp-end[hidden] { display: none; }
.wp-end h2 { font-size: 22px; color: var(--iqy-text-1); }
.wp-end-sub { font-size: 13px; color: var(--iqy-text-3); }
.wp-end-pick-label { font-size: 15px; font-weight: 700; color: var(--iqy-text-1); }
.wp-end-pick { display: flex; gap: 10px; width: 100%; max-width: 360px; justify-content: center; }
.pick-card {
  flex: 1; position: relative; border: 2px solid transparent; background: none;
  padding: 0; border-radius: var(--iqy-card-radius); overflow: hidden;
}
.pick-card img { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; background: #E8E8E8; }
.pick-card span {
  position: absolute; left: 4px; top: 4px; width: 20px; height: 20px;
  border-radius: 50%; background: rgba(0,0,0,.55); color: #fff;
  font-size: 12px; line-height: 20px; text-align: center;
}
.pick-card b {
  display: block; font-size: 10.5px; color: var(--iqy-text-2); margin: 4px 0 2px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 600;
}
.pick-card.on { border-color: var(--iqy-green); }
.pick-card.on::after {
  content: "✓"; position: absolute; right: 4px; top: 4px; width: 20px; height: 20px;
  border-radius: 50%; background: var(--iqy-green); color: #fff; font-size: 13px;
  line-height: 20px; text-align: center;
}
#btn-end-home {
  border: none; background: var(--iqy-green); color: #fff;
  font-size: 15px; font-weight: 600; padding: 12px 44px; border-radius: 999px;
}
#btn-end-story {
  border: 1.5px solid var(--iqy-green); background: none; color: var(--iqy-green);
  font-size: 13px; font-weight: 600; padding: 9px 30px; border-radius: 999px;
}

/* -- 壳（票 22：头部/频道Tab/货架/底部Tab栏） -- */
#scr-shell { background: var(--iqy-bg-page); justify-content: flex-start; }
.sh-head {
  display: flex; align-items: center; gap: 10px;
  padding: calc(env(safe-area-inset-top) + 8px) 12px 8px;
  background: var(--iqy-bg-header);
}
.sh-logo { display: flex; align-items: baseline; gap: 4px; }
.sh-logo i {
  font: italic 700 19px/1 Arial, 'Helvetica Neue', sans-serif;
  color: var(--iqy-green); letter-spacing: .5px;
}
.sh-logo b { font: 700 14px/1 'PingFang SC', 'Microsoft YaHei', sans-serif; color: var(--iqy-text-2); }
.sh-search {
  flex: 1; display: flex; align-items: center; justify-content: space-between;
  background: var(--iqy-bg-pill); border-radius: 999px;
  padding: 7px 12px; font-size: 12.5px; color: var(--iqy-text-3);
}
.sh-search img { width: 16px; height: 16px; }
.sh-hic { width: 22px; height: 22px; color: var(--iqy-text-1); }
.sh-chans {
  display: flex; gap: 18px; padding: 6px 14px;
  background: var(--iqy-bg-header); overflow-x: auto; flex-shrink: 0;
}
.sh-chans button {
  border: none; background: none; font-size: 15px; color: var(--iqy-text-2);
  padding: 6px 2px; position: relative; white-space: nowrap;
}
.sh-chans button.on { font-size: 18px; font-weight: 700; color: var(--iqy-text-1); }
.sh-chans button.on::after {
  content: ""; position: absolute; left: 50%; transform: translateX(-50%); bottom: 0;
  width: 20px; height: 3px; border-radius: 2px; background: var(--iqy-green);
}
.sh-body { flex: 1; overflow-y: auto; width: 100%; padding-bottom: 70px; }
.sh-view { display: none; }
.sh-view.on { display: block; }
.sh-banner { position: relative; margin: 10px 12px 0; display: flex; overflow-x: auto; scroll-snap-type: x mandatory; border-radius: var(--iqy-banner-radius); }
.sh-banner > div { flex: 0 0 100%; position: relative; scroll-snap-align: center; }
.sh-banner img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: var(--iqy-banner-radius); display: block; }
.sh-banner .bt {
  position: absolute; left: 10px; bottom: 8px; color: #fff; font-size: 15px; font-weight: 700;
  text-shadow: 0 1px 4px rgba(0,0,0,.7);
}
.sh-banner .lockpill {
  position: absolute; right: 8px; top: 8px; display: flex; align-items: center; gap: 4px;
  background: var(--iqy-badge-lock-bg); color: #fff; font-size: 11px;
  padding: 4px 8px; border-radius: 999px;
}
.sh-banner .lockpill img { width: 11px; height: 11px; filter: invert(1); }
.sh-banner-dots { display: flex; gap: 5px; justify-content: center; padding: 8px 0 0; }
.sh-banner-dots b { width: 5px; height: 5px; border-radius: 50%; background: #D8D8D8; }
.sh-banner-dots b.on { background: var(--iqy-green); }
.sh-notice {
  margin: 10px 12px 0; background: #EAF9F0; border-radius: 8px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 9px 12px; font-size: 12.5px; color: #1B7A3D;
}
.sh-notice .dots { display: flex; gap: 4px; }
.sh-notice .dots b { width: 4px; height: 4px; border-radius: 50%; background: #B7E4C7; }
.sh-cont { margin-top: 14px; }
.sh-cont h3, .sh-sect h3 { font-size: 16px; color: var(--iqy-text-1); margin: 0 12px 10px; font-weight: 700; }
.sh-controw-list { display: flex; gap: 10px; overflow-x: auto; padding: 0 12px; }
.sh-contcard { position: relative; flex: 0 0 132px; border: none; background: none; padding: 0; text-align: left; }
.sh-contcard img { width: 132px; height: 74px; object-fit: cover; border-radius: var(--iqy-card-radius); background: #E8E8E8; display: block; }
.sh-contcard b { display: block; font-size: 12px; color: var(--iqy-text-1); margin-top: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 600; }
.sh-contcard .cp {
  position: absolute; right: 6px; bottom: 26px; background: var(--iqy-badge-lock-bg);
  color: #fff; font-size: 10px; padding: 2px 6px; border-radius: 4px;
}
.sh-sect { margin-top: 16px; }
.sh-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px var(--iqy-col-gap); padding: 0 12px; }
.sh-card { position: relative; border: none; background: none; padding: 0; text-align: left; }
.sh-card img.cv { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: var(--iqy-card-radius); background: #E8E8E8; display: block; }
.sh-card .score {
  position: absolute; left: 6px; top: 6px; color: #fff; font-size: 11.5px; font-weight: 700;
  text-shadow: 0 1px 3px rgba(0,0,0,.7);
}
.sh-card .dur {
  position: absolute; right: 6px; bottom: 30px; background: rgba(0,0,0,.6);
  color: #fff; font-size: 10px; padding: 2px 6px; border-radius: 4px;
}
.sh-card b { display: block; font-size: 13.5px; color: var(--iqy-text-1); margin: 6px 0 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 600; }
.sh-card span.sub { display: block; font-size: 11.5px; color: var(--iqy-text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sh-card .today-pill {
  position: absolute; right: 6px; top: 6px; background: var(--iqy-green);
  color: #fff; font-size: 10.5px; font-weight: 600; padding: 3px 8px; border-radius: 999px;
}
.sh-card .lockpill {
  position: absolute; right: 6px; top: 6px; display: flex; align-items: center; gap: 3px;
  background: var(--iqy-badge-lock-bg); color: #fff; font-size: 10.5px;
  padding: 3px 7px; border-radius: 999px;
}
.sh-card .lockpill img { width: 10px; height: 10px; filter: invert(1); }
.sh-card.locked img.cv { filter: brightness(.82); }
/* 会员视图 */
.vip-hero {
  margin: 12px; border-radius: 12px; padding: 22px 18px;
  background: linear-gradient(100deg, #3B2B1A, #57402a); color: #F7E6C3;
  display: flex; flex-direction: column; gap: 6px;
}
.vip-hero b { font-size: 22px; }
.vip-hero span { font-size: 12px; opacity: .75; }
.vip-hero em {
  align-self: flex-start; font-style: normal; margin-top: 8px;
  background: linear-gradient(90deg, #FFE3A6, var(--iqy-badge-vip-b));
  color: #5B3A00; font-size: 12px; font-weight: 700; padding: 8px 16px; border-radius: 999px;
}
.vip-tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 0 12px; }
.vt { background: var(--iqy-bg-card); border-radius: 10px; padding: 14px 8px; text-align: center; display: flex; flex-direction: column; gap: 5px; }
.vt b { font-size: 13.5px; color: #8A5A00; }
.vt span { font-size: 10.5px; color: var(--iqy-text-3); }
.vt i { font-style: normal; font-size: 10px; color: #B8860B; }
.vt.on { border: 1.5px solid var(--iqy-badge-vip-b); }
.vip-union { margin: 16px 12px; background: var(--iqy-bg-card); border-radius: 10px; padding: 14px; }
.vip-union h3 { font-size: 14px; color: var(--iqy-text-1); margin-bottom: 10px; }
.vu-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.vu-grid span { background: var(--iqy-bg-pill); border-radius: 8px; font-size: 11px; color: var(--iqy-text-2); text-align: center; padding: 12px 0; }
.vip-note { text-align: center; font-size: 10.5px; color: #C0C0C0; margin-top: 12px; }
/* 底部 Tab 栏 */
.sh-tabbar {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 40;
  display: flex; align-items: flex-end; justify-content: space-around;
  height: calc(var(--iqy-tabbar-h) + env(safe-area-inset-bottom));
  padding: 0 8px env(safe-area-inset-bottom);
  background: var(--iqy-bg-header); border-top: 1px solid var(--iqy-line);
}
.sh-tabbar button {
  border: none; background: none; display: flex; flex-direction: column;
  align-items: center; gap: 2px; font-size: 10.5px; color: var(--iqy-text-2);
  padding-top: 6px; flex: 1;
}
.sh-tabbar img { width: 24px; height: 24px; color: var(--iqy-text-2); }
.sh-tabbar button.on { color: var(--iqy-text-1); font-weight: 700; }
.sh-tabbar button.on img { color: var(--iqy-text-1); }
.sh-plus { flex: 0 0 64px !important; }
.sh-plus img { width: 40px !important; height: 40px !important; color: var(--iqy-green); margin-bottom: 4px; }

/* -- 票 24 细节 -- */
/* 有限货架铁律:禁下拉刷新拉新;防滚动链与误触发 */
.sh-body, .wp-scroll, .hist-scroll, .mine-scroll { overscroll-behavior: contain; }
.hist-mgr { display: flex; flex-direction: column; gap: 6px; }
.hist-mgr .hm-row { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--iqy-text-2); }
.hist-mgr .hm-row b { flex: 1; font-weight: 400; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hist-mgr .hm-row button { border: none; background: var(--iqy-bg-pill); border-radius: 6px; padding: 4px 10px; font-size: 12px; }
/* 启动画面 */
#iqy-splash {
  position: fixed; inset: 0; z-index: 2000;
  background: linear-gradient(135deg, #12E06A, #0AC462 45%, #0FA5A0 80%, #B84CD8);
  display: flex; align-items: center; justify-content: center;
  transition: opacity .35s var(--iqy-ease); pointer-events: none;
}
#iqy-splash.off { opacity: 0; }
.sp-logo { display: flex; flex-direction: column; align-items: center; gap: 8px; color: #fff; }
.sp-logo i {
  font-style: italic; font-weight: bold; font-family: Arial, sans-serif;
  font-size: 52px; letter-spacing: 1px;
}
.sp-logo b { font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif; font-size: 26px; font-weight: bold; }
/* 双击点赞飘心 */
.wp-heart {
  position: absolute; z-index: 9; font-size: 30px; color: #FF4E6E;
  pointer-events: none; animation: heartUp .85s var(--iqy-ease) forwards;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,.4));
}
@keyframes heartUp {
  0% { transform: scale(.4) translateY(0); opacity: 0; }
  25% { transform: scale(1.15) translateY(-12px); opacity: 1; }
  100% { transform: scale(.9) translateY(-70px) rotate(-14deg); opacity: 0; }
}
/* toast 对齐平台样式（覆盖 kids.css） */
.toast {
  background: rgba(17, 17, 17, .82) !important; color: #fff !important;
  border-radius: 8px !important; font-size: 13px !important;
  padding: 10px 18px !important; box-shadow: 0 4px 16px rgba(0,0,0,.25);
}
