/* ============================================================
   118 图库式「手机 App」版式皮肤（仅前台，叠加在 style.css 之后）
   - 中间内容列：电脑端最宽 480px、两侧中性灰；手机端全宽
   - 顶部主色标题栏（固定） / 公告滚动条 / 彩种胶囊标签 / 开奖卡片
   - 宫格入口 / 整行横幅 / 卡片式栏目 / 底部 5 项固定导航（中间凸起）
   所有规则均以 body.skin-118 为前缀，不影响后台与其他页面。
   ============================================================ */

body.skin-118 {
  --shell-w: 480px;
  --hdr-h: 52px;
  --tabbar-h: 58px;
  --skin-side-bg: #e9edf3;
  --skin-card-radius: 10px;
  background: var(--skin-side-bg);
  padding: 0;
  min-height: 100vh;
  line-height: 1.5;
}
body.skin-118.modal-open { overflow: hidden; }

/* ---- 中间内容列 ---- */
body.skin-118 .app-shell {
  position: relative;
  max-width: var(--shell-w);
  margin: 0 auto;
  min-height: 100vh;
  background: #f5f6f8;
  padding-top: calc(var(--hdr-h) + env(safe-area-inset-top));
  padding-bottom: calc(var(--tabbar-h) + 14px + env(safe-area-inset-bottom));
  box-shadow: 0 0 24px rgba(15, 30, 60, .10);
  overflow-x: hidden;
}
body.skin-118 [id^="section-"],
body.skin-118 #stickyNavWrap,
body.skin-118 #referenceSectionsWrap,
body.skin-118 #siteMain { scroll-margin-top: calc(var(--hdr-h) + 8px); }

/* ---- 顶部标题栏（主色底白字，固定在内容列顶部） ---- */
body.skin-118 .site-header {
  position: fixed;
  top: 0;
  left: 50%;
  right: auto;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--shell-w);
  z-index: 1000;
  background: var(--primary, #1e6fff);
  box-shadow: 0 2px 8px rgba(0, 0, 0, .12);
  padding-top: env(safe-area-inset-top);
}
body.skin-118 .site-header::after { display: none; }
body.skin-118 .header-top {
  max-width: none;
  height: 52px;
  padding: 0 8px;
  gap: 6px;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 44px;
  align-items: center;
}
body.skin-118 .hdr-side { display: flex; align-items: center; height: 100%; }
body.skin-118 .hdr-right { justify-content: flex-end; }
body.skin-118 .hdr-btn {
  width: 40px; height: 40px;
  display: inline-flex; align-items: center; justify-content: center;
  background: transparent; border: 0; border-radius: 50%;
  color: #fff; cursor: pointer;
}
body.skin-118 .hdr-btn:active { background: rgba(255, 255, 255, .18); }
body.skin-118 .logo {
  justify-content: center;
  min-width: 0;
  font-size: 19px;
  color: #fff;
  padding: 2px 8px;
}
body.skin-118 .logo-shine::before { display: none; }
body.skin-118 .logo-text,
body.skin-118 .logo-text-rainbow {
  background: none;
  -webkit-text-fill-color: #fff;
  color: #fff;
  animation: none;
  font-weight: 800;
  letter-spacing: 1px;
  overflow: hidden;
  text-overflow: ellipsis;
  text-shadow: 0 1px 2px rgba(0, 0, 0, .2);
}
body.skin-118 .logo img,
body.skin-118 .logo .logo-img-glow { max-height: 38px; animation: none; box-shadow: none; filter: none; }

/* ---- 公告滚动条 ---- */
body.skin-118 .announcement-bar {
  position: relative;
  top: auto !important;
  left: auto; right: auto;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 8px 10px 0;
  padding: 7px 10px;
  border-radius: 8px;
  font-size: 14px;
  text-align: left;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .05);
}
body.skin-118 .announcement-bar[style*="display: block"],
body.skin-118 .announcement-bar[style*="display:block"] { display: flex !important; }
body.skin-118 .announcement-bar::after { display: none; }
body.skin-118 .ann-label {
  flex-shrink: 0;
  display: inline-flex; align-items: center; gap: 3px;
  font-weight: 700;
  padding-right: 8px;
  border-right: 1px solid currentColor;
  opacity: .9;
}
body.skin-118 .ann-track { flex: 1; overflow: hidden; white-space: nowrap; position: relative; min-width: 0; }
body.skin-118 .announcement-text {
  display: inline-block;
  max-width: none;
  margin: 0;
  padding-left: 100%;
  white-space: nowrap;
  animation: skinAnnScroll var(--ann-duration, 14s) linear infinite;
}
@keyframes skinAnnScroll { from { transform: translateX(0); } to { transform: translateX(-100%); } }
@media (prefers-reduced-motion: reduce) {
  body.skin-118 .announcement-text { animation: none; padding-left: 0; white-space: normal; }
  body.skin-118 .ann-track { white-space: normal; }
}

/* ---- 开奖卡片 ---- */
body.skin-118 .sticky-nav-wrap.draw-card {
  margin: 8px 10px 0 !important;
  background: #fff;
  border-radius: var(--skin-card-radius);
  box-shadow: 0 2px 8px rgba(20, 40, 80, .08);
  padding: 0 0 10px;
  overflow: hidden;
}
body.skin-118 .sticky-nav-wrap.is-stuck { box-shadow: 0 2px 8px rgba(20, 40, 80, .08); }
body.skin-118 .sticky-nav-placeholder { display: none !important; }

/* 彩种胶囊标签 */
body.skin-118 .nav { max-width: none; margin: 0; padding: 10px 10px 4px !important; }
body.skin-118 .nav-container {
  display: flex;
  gap: 6px;
  padding: 4px;
  background: #eef2f8;
  border-radius: 999px;
  box-shadow: none;
}
body.skin-118 .nav-container::before { display: none; }
body.skin-118 .nav-item {
  flex: 1;
  min-width: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 6px 4px;
  border-radius: 999px;
  background: transparent;
  box-shadow: none;
  color: #4a5568;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  animation: none;
}
body.skin-118 .nav-item:hover { background: rgba(255, 255, 255, .7); box-shadow: none; }
body.skin-118 .nav-item.active {
  background: var(--primary, #1e6fff);
  color: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, .15);
  animation: none;
}
body.skin-118 .nav-item-name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
body.skin-118 .nav-item-date { font-size: 11px; font-weight: 400; opacity: .75; margin-top: 2px; min-height: 13px; }
body.skin-118 .nav-item.active .nav-item-date { opacity: .95; }

/* 卡片头：期号 + 历史记录 */
body.skin-118 .nav-info-area { max-width: none; margin: 0; padding: 0 12px; }
body.skin-118 .nav-info-top {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 0 6px;
  border-bottom: 1px dashed #e3e8f0;
}
body.skin-118 .nav-info-top .nav-info-col {
  background: transparent;
  box-shadow: none;
  padding: 0 !important;
  min-height: 0 !important;
  flex: none !important;
  display: block;
  text-align: left;
  white-space: normal;
}
body.skin-118 .nav-info-top .nav-info-text { flex: 1 1 auto !important; min-width: 0; }
body.skin-118 .period-display { font-size: 15px !important; text-align: left; color: #1f2937; }
body.skin-118 .period-display .period-nav-name { color: #111827; margin-right: 4px; }
body.skin-118 .period-display .period-number { color: #e60012; font-size: 16px !important; font-weight: 700; }
body.skin-118 .nav-info-history-link {
  display: inline-block;
  font-size: 13px !important;
  padding: 3px 10px !important;
  border-radius: 999px;
  border: 1px solid var(--primary, #1e6fff);
  color: var(--primary, #1e6fff);
  background: transparent;
  white-space: nowrap;
  box-shadow: none;
  animation: none;
}

/* 码球区 */
body.skin-118 .nav-info-bottom {
  margin: 0;
  background: transparent;
  box-shadow: none;
  border-radius: 0;
  padding: 10px 0 4px !important;
  min-height: 74px;
  white-space: normal;
}
body.skin-118 .lottery-balls,
body.skin-118 .draw-player .lottery-balls {
  display: flex;
  flex-wrap: nowrap !important;
  justify-content: center;
  align-items: flex-start;
  gap: 4px 6px !important;
  overflow: visible;
  padding: 2px 0;
}
body.skin-118 .lottery-ball-wrapper { flex-shrink: 0; gap: 3px; margin: 0; }
body.skin-118 .lottery-ball { width: 42px !important; height: 42px !important; font-size: 17px !important; flex-shrink: 0; }
body.skin-118 .lottery-ball-meta { font-size: 11px !important; color: #4b5563; font-weight: 500; letter-spacing: -.2px; }
body.skin-118 .lottery-plus {
  align-self: flex-start;
  font-size: 22px !important;
  line-height: 42px;
  margin: 0 1px !important;
  padding: 0 !important;
  color: #9aa3af;
}
body.skin-118 .draw-player { max-width: none; }
body.skin-118 .draw-slot { flex: 0 0 auto; }

/* 卡片底：下期开奖 + 倒计时 */
body.skin-118 .nav-info-next {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 8px 0 2px;
  border-top: 1px dashed #e3e8f0;
  font-size: 13px;
  color: #4b5563;
  text-align: center;
}
body.skin-118 .nav-info-next:empty { display: none; }
body.skin-118 .next-draw-line { line-height: 1.4; }
body.skin-118 .next-draw-label { color: #6b7280; }
body.skin-118 .next-period { color: #e60012; font-weight: 600; }
body.skin-118 .next-draw-text { color: #111827; font-weight: 600; }
body.skin-118 .countdown-inline { gap: 6px; flex-wrap: nowrap; }
body.skin-118 .countdown-title { font-size: 13px !important; font-weight: 600; color: #374151; }
body.skin-118 .countdown-unit {
  min-width: 30px !important; height: 26px !important;
  font-size: 15px !important; padding: 0 4px !important;
  border-radius: 5px;
  background: #1f2937;
  box-shadow: none;
  animation: none;
}
body.skin-118 .countdown-sep { color: #1f2937; font-size: 15px !important; }
body.skin-118 .countdown-empty { font-size: 13px; color: #9ca3af; }

/* ---- 宫格入口（外链区） ---- */
body.skin-118 .ext-links-area {
  max-width: none;
  margin: 8px 10px 0;
  padding: 0 !important;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
body.skin-118 .ext-links-area[style*="display: block"],
body.skin-118 .ext-links-area[style*="display:block"] { display: flex !important; }
body.skin-118 .ext-link-block {
  margin: 0;
  padding: 10px 8px 8px !important;
  border-radius: var(--skin-card-radius);
  background: #fff;
  box-shadow: 0 2px 8px rgba(20, 40, 80, .06);
}
body.skin-118 .ext-link-title {
  font-size: 14px !important;
  font-weight: 700;
  color: #1f2937;
  margin: 0 4px 8px !important;
  padding-left: 9px;
  border-left: 3px solid var(--primary, #1e6fff);
  line-height: 1.2;
}
body.skin-118 .ext-link-title::before { display: none; }
body.skin-118 .ext-link-list {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px 4px !important;
  justify-content: stretch;
}
body.skin-118 .ext-link-icon-btn {
  width: auto !important;
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  padding: 2px 0;
  background: transparent; box-shadow: none; border: 0;
}
body.skin-118 .ext-link-icon-img,
body.skin-118 .ext-link-icon-emoji {
  width: 46px !important; height: 46px !important;
  border-radius: 12px !important;
  font-size: 24px !important;
  object-fit: cover;
}
body.skin-118 .ext-link-icon-label {
  font-size: 12px !important;
  max-width: 100% !important;
  color: #374151;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
body.skin-118 .ext-link-text-btn {
  width: auto !important;
  height: 32px !important;
  padding: 0 4px !important;
  border-radius: 6px !important;
  font-size: 13px !important;
  background: var(--primary, #1e6fff);
  color: #fff;
  border: 0;
  box-shadow: none;
  display: flex; align-items: center; justify-content: center; gap: 3px;
}
body.skin-118 .ext-link-text-btn .ext-link-text-label { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
body.skin-118 .ext-link-disabled { opacity: .75; }

/* ---- 整行横幅（顶部广告模块） ---- */
body.skin-118 .top-ad-area {
  width: auto;
  max-width: none;
  margin: 8px 10px 0 !important;
  padding: 0 !important;
  background: transparent;
}
body.skin-118 .top-ad-grid { gap: 6px !important; padding: 0 !important; }
body.skin-118 .top-ad-cell .top-ad-link { border-radius: 8px; overflow: hidden; }
body.skin-118 .top-ad-text {
  font-size: 18px !important;
  padding: 10px 12px !important;
  font-weight: 700;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, .08);
}
body.skin-118 .top-ad-image { display: block; padding: 0; }
body.skin-118 .top-ad-icon,
body.skin-118 .top-ad-cell .top-ad-icon { max-height: none !important; width: 100%; height: auto; border-radius: 8px; }

/* ---- 装饰横幅：收窄为细条 ---- */
body.skin-118 .deco-banner { max-width: none; margin: 8px 10px 0; padding: 0 !important; }
body.skin-118 .deco-banner-inner { padding: 6px 8px !important; gap: 4px !important; border-radius: 8px; }
body.skin-118 .deco-text { font-size: 12px !important; letter-spacing: .5px; }
body.skin-118 .deco-star { font-size: 11px !important; }
body.skin-118 .deco-dot { width: 4px; height: 4px; }

/* ---- 栏目卡片 ---- */
body.skin-118 .site-main { min-height: 0; padding-top: 0 !important; }
body.skin-118 #sectionsContainer { padding: 0 10px; }
body.skin-118 .section,
body.skin-118 .empty-state {
  max-width: none;
  margin: 8px 0 0 !important;
  border-radius: var(--skin-card-radius);
  box-shadow: 0 2px 8px rgba(20, 40, 80, .06);
}
body.skin-118 .section:hover { box-shadow: 0 2px 8px rgba(20, 40, 80, .06); }
body.skin-118 .section.section-no-border { box-shadow: none; }
body.skin-118 .section-title {
  display: block !important;
  margin: 0 !important;
  padding: 9px 12px 8px 14px !important;
  font-size: 16px !important;
  line-height: 1.3;
  text-align: left;
  border-bottom-width: 2px;
  border-bottom-style: solid;
  position: relative;
  text-shadow: none;
}
body.skin-118 .section-title::before {
  content: '';
  position: absolute; left: 0; top: 9px; bottom: 9px;
  width: 4px; border-radius: 0 3px 3px 0;
  background: currentColor;
}
body.skin-118 .section-title.title-full-row { text-align: center; }
body.skin-118 .section-grid { margin: 8px !important; padding: 0 !important; border-radius: 6px; }
body.skin-118 .section-grid[data-cols="3"] { grid-template-columns: max-content minmax(0, 1fr) max-content !important; }
body.skin-118 .section-grid[data-img-grid="1"] { grid-template-columns: repeat(var(--grid-cols, 3), minmax(0, 1fr)) !important; }
body.skin-118 .section-grid:not([data-cols="3"]):not([data-img-grid="1"]) { grid-template-columns: repeat(var(--grid-cols, 3), minmax(56px, 1fr)) !important; }
body.skin-118 .section-grid[data-cols="1"] { grid-template-columns: minmax(0, 1fr) !important; }
body.skin-118 .cell { padding: 6px 5px; min-height: 34px; line-height: 1.4; overflow: hidden; }
/* 统一字号：cell 自身定 15px，所有后代 inherit（覆盖后台内联 16/18px；与原版移动端规则的设计意图一致） */
html body.skin-118 .section-grid .cell { font-size: 15px !important; }
body.skin-118 .section-grid .cell * { font-size: inherit !important; }
body.skin-118 .section-grid[data-cols="3"] .cell-col-2 { white-space: normal !important; word-break: break-word !important; }
body.skin-118 .section-grid[data-cols="3"] .cell-col-1,
body.skin-118 .section-grid[data-cols="3"] .cell-col-3 { white-space: nowrap !important; overflow: hidden !important; text-overflow: ellipsis !important; }
body.skin-118 .section-grid .cell img { max-width: 100% !important; width: auto !important; height: auto !important; max-height: 64px !important; object-fit: contain; }
/* 单格整图栏目（广告图）：整行横幅宽度显示 */
body.skin-118 .section-grid[data-cols="1"][data-img-grid="1"] .cell { padding: 0; }
body.skin-118 .section-grid[data-cols="1"][data-img-grid="1"] .cell img { width: 100% !important; max-height: none !important; border-radius: 6px; }
body.skin-118 .section.section-no-border .section-grid[data-cols="1"][data-img-grid="1"] { margin: 0 !important; border: 0; }

/* 栏目间横幅广告 */
body.skin-118 .banner-ad { width: 100% !important; margin: 8px 0 0 !important; padding: 9px 12px !important; border-radius: 8px; }
body.skin-118 .banner-ad-inner { font-size: 15px !important; }
body.skin-118 .section-divider { display: none; }

/* ---- 参考对照表 / 底部说明 ---- */
body.skin-118 .reference-sections-wrap { max-width: none; margin: 0; padding: 0 10px; }
body.skin-118 .reference-sections-wrap .section,
body.skin-118 .reference-sections-wrap .ref-section { margin: 8px 0 0 !important; }
body.skin-118 .ref-grid-zodiac { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
body.skin-118 .ref-table-row { flex-wrap: wrap; }
body.skin-118 .ref-num { min-width: 24px; }
body.skin-118 .site-footer { margin: 8px 10px 0; border-radius: var(--skin-card-radius); overflow: hidden; }
body.skin-118 .footer-disclaimer { padding: 12px 14px; font-size: 12px; line-height: 1.7; color: #6b7280; background: #fff; }
body.skin-118 .footer-title { font-size: 14px; color: #374151; margin-bottom: 6px; }

/* ---- 底部固定导航 ---- */
body.skin-118 .tabbar {
  position: fixed;
  left: 50%; bottom: 0;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--shell-w);
  z-index: 1001;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: end;
  height: calc(58px + env(safe-area-inset-bottom));
  padding-bottom: env(safe-area-inset-bottom);
  background: #fff;
  border-top: 1px solid #e5e7eb;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, .06);
}
body.skin-118 .tabbar-item {
  display: flex; flex-direction: column; align-items: center; justify-content: flex-end;
  gap: 2px;
  height: 58px;
  padding-bottom: 6px;
  color: #6b7280;
  font-size: 12px;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}
body.skin-118 .tabbar-item svg { width: 24px; height: 24px; }
body.skin-118 .tabbar-item.active { color: var(--primary, #1e6fff); }
body.skin-118 .tabbar-item:hover { opacity: 1; color: var(--primary, #1e6fff); }
body.skin-118 .tabbar-center { position: relative; }
body.skin-118 .tabbar-center-btn {
  position: absolute;
  top: -20px; left: 50%;
  transform: translateX(-50%);
  width: 54px; height: 54px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--primary, #1e6fff);
  color: #fff;
  border: 4px solid #fff;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, .12);
}
body.skin-118 .tabbar-center-btn svg { width: 24px; height: 24px; }

/* ---- 回到顶部：位于底部导航上方、内容列右侧 ---- */
body.skin-118 .back-to-top {
  right: max(12px, calc(50% - var(--shell-w) / 2 + 12px)) !important;
  bottom: calc(var(--tabbar-h) + 16px + env(safe-area-inset-bottom)) !important;
  width: 40px !important; height: 40px !important;
  font-size: 18px !important;
  z-index: 1002;
}

/* ---- 栏目目录（底部弹出） ---- */
body.skin-118 .sheet[hidden],
body.skin-118 .notice-modal[hidden] { display: none !important; }
body.skin-118 .sheet { position: fixed; inset: 0; z-index: 2000; }
body.skin-118 .sheet-mask { position: absolute; inset: 0; background: rgba(0, 0, 0, .45); }
body.skin-118 .sheet-panel {
  position: absolute;
  left: 50%; bottom: 0;
  transform: translateX(-50%);
  width: 100%; max-width: var(--shell-w);
  max-height: 72vh;
  display: flex; flex-direction: column;
  background: #fff;
  border-radius: 14px 14px 0 0;
  padding: 12px 12px calc(12px + env(safe-area-inset-bottom));
  animation: skinSheetUp .2s ease-out;
}
@keyframes skinSheetUp { from { transform: translate(-50%, 30px); opacity: .4; } to { transform: translate(-50%, 0); opacity: 1; } }
body.skin-118 .sheet-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; font-size: 16px; }
body.skin-118 .sheet-close { width: 32px; height: 32px; border: 0; background: #f3f4f6; border-radius: 50%; font-size: 20px; line-height: 1; cursor: pointer; color: #4b5563; }
body.skin-118 .sheet-search {
  width: 100%; height: 38px;
  padding: 0 12px;
  border: 1px solid #e5e7eb; border-radius: 999px;
  background: #f9fafb;
  font-size: 15px; outline: none;
}
body.skin-118 .sheet-search:focus { border-color: var(--primary, #1e6fff); background: #fff; }
body.skin-118 .sheet-list {
  margin-top: 10px;
  overflow-y: auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
body.skin-118 .sheet-item {
  display: flex; align-items: center; justify-content: center;
  min-height: 38px; padding: 4px 6px;
  border: 1px solid #e5e7eb; border-radius: 8px;
  background: #f8fafc; color: #1f2937;
  font-size: 13px; text-align: center; cursor: pointer;
  overflow: hidden; text-overflow: ellipsis;
}
body.skin-118 .sheet-item:active { background: #eef2ff; }
body.skin-118 .sheet-item-link { grid-column: 1 / -1; color: var(--primary, #1e6fff); border-color: var(--primary, #1e6fff); background: #fff; }
body.skin-118 .sheet-empty { grid-column: 1 / -1; text-align: center; color: #9ca3af; padding: 16px 0; font-size: 14px; }

/* ---- 重要通知弹窗 ---- */
body.skin-118 .notice-modal { position: fixed; inset: 0; z-index: 2100; display: flex; align-items: center; justify-content: center; padding: 24px; }
body.skin-118 .notice-mask { position: absolute; inset: 0; background: rgba(0, 0, 0, .5); }
body.skin-118 .notice-box {
  position: relative;
  width: 100%; max-width: 340px;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .25);
  animation: skinPop .18s ease-out;
}
@keyframes skinPop { from { transform: scale(.92); opacity: .3; } to { transform: scale(1); opacity: 1; } }
body.skin-118 .notice-title { background: var(--primary, #1e6fff); color: #fff; text-align: center; font-size: 17px; font-weight: 700; padding: 12px; }
body.skin-118 .notice-body { padding: 18px 18px 16px; font-size: 15px; line-height: 1.7; color: #1f2937; text-align: center; white-space: pre-wrap; word-break: break-word; max-height: 50vh; overflow-y: auto; }
body.skin-118 .notice-actions { display: flex; border-top: 1px solid #eef0f3; }
body.skin-118 .notice-btn { flex: 1; height: 46px; border: 0; background: #fff; font-size: 15px; cursor: pointer; }
body.skin-118 .notice-btn + .notice-btn { border-left: 1px solid #eef0f3; }
body.skin-118 .notice-btn-ghost { color: #6b7280; }
body.skin-118 .notice-btn-primary { color: var(--primary, #1e6fff); font-weight: 700; }

/* ---- 小屏微调 ---- */
@media (max-width: 380px) {
  body.skin-118 .lottery-ball { width: 38px !important; height: 38px !important; font-size: 15px !important; }
  body.skin-118 .lottery-plus { line-height: 38px; font-size: 18px !important; }
  body.skin-118 .lottery-balls,
  body.skin-118 .draw-player .lottery-balls { gap: 4px 4px !important; }
  body.skin-118 .lottery-ball-meta { font-size: 10px !important; }
  body.skin-118 .nav-item { font-size: 14px; }
}
@media (max-width: 340px) {
  body.skin-118 .lottery-ball { width: 34px !important; height: 34px !important; font-size: 14px !important; }
  body.skin-118 .lottery-plus { line-height: 34px; }
  body.skin-118 .lottery-balls,
  body.skin-118 .draw-player .lottery-balls { gap: 3px !important; }
}
@media (min-width: 481px) {
  body.skin-118 .app-shell { box-shadow: 0 0 24px rgba(15, 30, 60, .12); }
}

/* ---- 首页近期开奖记录（含当期） ---- */
.recent-draws-list { padding: 0 12px; }
.recent-draw-row { padding: 8px 0; border-bottom: 1px dashed #e5e7eb; }
.recent-draw-row:last-child { border-bottom: 0; }
.recent-draw-head { display: flex; justify-content: space-between; font-size: 13px; margin-bottom: 6px; }
.recent-draw-period { color: #e60012; font-weight: 700; }
.recent-draw-date { color: #6b7280; }
.recent-draw-balls { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 4px; }
.recent-draw-ball { display: inline-flex; flex-direction: column; align-items: center; }
.recent-draw-ball em { font-style: normal; font-size: 11px; color: #6b7280; line-height: 1.4; }
.recent-draw-plus { align-self: center; padding: 0 2px; color: #9ca3af; font-weight: 700; }
.recent-draws-more { display: block; text-align: right; padding: 6px 12px 4px; font-size: 13px; color: #e60012; text-decoration: none; }
