/* ================================================================
   detail.css — 详情子页共用（recipes-detail / ingredients-detail / mods-detail）
================================================================ */

.sp-section {
  padding: 60px 8% 100px;
  background: var(--bg-base);
}

.sp-card {
  max-width: 860px; /* 进一步收窄，更精致 */
  margin: 0 auto;
  background: #253123; /* 深墨绿，无发光 */
  border-radius: 30px 5px 30px 5px; /* 不对称设计 */
  padding: 50px 60px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.12); /* 只有阴影，没有光晕 */
}

/* 2. 左上角 Membership 标签 */
.sp-badge {
  position: absolute;
  top: 25px;
  left: 30px;
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  color: var(--morandi-green);
  font-weight: 500;
  opacity: 0.8;
}

/* 3. 背景错位大字 */
.sp-bg-text {
  position: absolute;
  right: -20px;
  bottom: -30px;
  font-family: 'Noto Serif SC', serif;
  font-size: 10rem;
  font-weight: 900;
  color: rgba(255,255,255,0.02); /* 极低透明度，深沉感 */
  transform: rotate(-10deg);
  pointer-events: none;
}

/* 4. 布局 */
.sp-layout {
  display: flex;
  align-items: center;
  gap: 50px;
  position: relative;
  z-index: 2;
}

.sp-info { flex: 1.1; }
.sp-actions { flex: 0.9; display: flex; flex-direction: column; gap: 12px; }

/* 5. 文案样式 */
.sp-title {
  font-family: 'ZCOOL XiaoWei', 'Noto Serif SC', serif;
  font-size: 2.2rem;
  color: #fff;
  margin: 15px 0 12px;
}
.sp-description {
  color: rgba(255,255,255,0.5);
  font-size: 0.85rem;
  line-height: 1.8;
  margin-bottom: 20px;
}
.sp-perks { display: flex; flex-wrap: wrap; gap: 15px; }
.perk { color: var(--morandi-green); font-size: 0.75rem; font-weight: 300; }

/* 6. 核心交互：主按钮（放大+旋转） */
.btn-main-afd {
  background: #ec5328; /* 爱发电原色 */
  color: #fff;
  text-decoration: none;
  padding: 22px 30px;
  border-radius: 12px;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* 弹性动效 */
  display: block;
}

.btn-main-afd:hover {
  /* 重点：轻微放大 + 顺时针旋转 2度 */
  transform: scale(1.06) rotate(2deg); 
  box-shadow: 0 15px 30px rgba(0,0,0,0.2);
  filter: brightness(1.1);
}

.btn-main-afd .btn-text-top { display: block; font-weight: 700; font-size: 1.1rem; margin-bottom: 2px; }
.btn-main-afd .btn-text-sub { display: block; font-size: 0.6rem; opacity: 0.7; letter-spacing: 0.1em; }

/* 7. 次要按钮 */
.btn-sub-group { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.btn-secondary {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  color: #fff;
  padding: 12px;
  font-size: 0.75rem;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s;
  text-align: center;
  text-decoration: none;
}
.btn-secondary:hover {
  background: #fff;
  color: #253123;
  transform: translateY(-3px); /* 次要按钮只做简单位移 */
}

/* 响应式 */
@media (max-width: 850px) {
  .sp-layout { flex-direction: column; text-align: center; }
  .sp-card { padding: 60px 40px 40px; }
  .sp-perks { justify-content: center; }
  .sp-badge { left: 50%; transform: translateX(-50%); }
}

/* 容器边距对齐页面最左 */
.dl-final-layout {
  padding: 40px 8%;
  background: var(--bg-base);
}

/* 1. 标题区：修复分割线不见的问题 */
.dl-section-header {
  display: flex;
  align-items: flex-end;
  gap: 20px;
  margin-bottom: 35px;
  width: 100%; /* 确保标题行撑满 */
}

.header-left {
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  text-align: left;
}

.header-en {
  font-size: 0.65rem;
  color: var(--morandi-green);
  letter-spacing: 0.2em;
  font-weight: 700;
  margin-bottom: 4px;
}

.header-zh {
  font-family: 'ZCOOL XiaoWei', 'Noto Serif SC', serif;
  font-size: 1.8rem;
  color: var(--black);
  margin: 0;
  line-height: 1;
}

/* 找回消失的分割线 */
.header-divider {
  flex-grow: 1;
  height: 1px;
  background: #ccc; /* 明确的颜色 */
  margin-bottom: 8px;
  opacity: 0.6;
  display: block !important; /* 强制显示 */
}

/* 2. 内容区：宽度限制 */
.dl-content-wrapper {
  max-width: 1100px;
  margin: 0 auto;
}

/* 前置框：严禁修改背景颜色，保持浅色 */
.dl-requirement-box {
  background: #f9f9f9; /* 保持浅灰/白背景，严禁改深色 */
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 25px 35px;
  margin-bottom: 40px;
}

.req-head {
  color: #666;
  font-weight: 700;
  font-size: 0.8rem;
  margin-bottom: 15px;
  letter-spacing: 0.05em;
}

.req-list { list-style: none; padding: 0; margin: 0; }
.req-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-top: 1px solid rgba(0,0,0,0.05);
}
.req-list li:first-child { border-top: none; }

.req-name {
  font-size: 1.1rem; /* 字体大，清晰 */
  font-weight: 600;
  color: #333;
}

.req-mini-link {
  font-size: 0.8rem;
  color: var(--morandi-green);
  text-decoration: none;
  border: 1px solid var(--morandi-green);
  padding: 5px 12px;
  border-radius: 4px;
}

/* 3. 下载动作区：居中 */
.dl-action-area {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.dl-action-area.is-fullwidth {
  width: 100%;
  align-items: stretch;
}

.pro-access-wrap {
  width: 100%;
  box-sizing: border-box;
  background: #f9f9f9;
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 22px 26px;
}

.pro-access-note {
  margin: 0 0 14px;
  padding: 11px 14px;
  border: 1px solid rgba(141, 161, 145, 0.4);
  border-radius: 10px;
  background: rgba(141, 161, 145, 0.12);
  color: #2f4a35;
  font-size: 0.84rem;
  letter-spacing: 0.04em;
  line-height: 1.8;
  text-align: left;
}

.pro-access-note strong {
  color: #5d7a61;
  letter-spacing: 0.1em;
  margin-right: 4px;
}

.pro-access-actions {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.pro-access-btn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 74px;
  padding: 10px 16px;
  border: 1px solid rgba(141, 161, 145, 0.35);
  background: #fff;
  color: #2f3a31;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  text-align: center;
  font-family: inherit;
  cursor: pointer;
  border-radius: 999px;
}

.pro-access-btn:hover {
  transform: translateY(-2px);
  border-color: rgba(141, 161, 145, 0.7);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

.pro-access-btn .ch {
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 3px;
}

.pro-access-btn .en {
  font-size: 0.64rem;
  letter-spacing: 0.16em;
  color: #6a776d;
  text-transform: uppercase;
}

.file-name-info { font-size: 0.85rem; color: #999; }

/* 调小后的按钮 */
.dl-btn-capsule {
  display: inline-flex;
  align-items: center;
  gap: 25px;
  background: var(--morandi-green);
  color: #fff;
  text-decoration: none;
  padding: 12px 35px;
  border-radius: 50px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.dl-btn-capsule:hover {
  transform: scale(1.06) rotate(2deg); /* 旋转+放大 */
  background: #253123;
}

.main-txt { font-size: 0.95rem; font-weight: 600; }
.sub-txt { font-size: 0.65rem; opacity: 0.8; margin-left: 8px; }

/* 彻底解决大三角：强制死宽高 */
.fixed-icon {
  width: 18px !important;
  height: 18px !important;
  flex-shrink: 0;
}
.dl-btn-capsule:hover .fixed-icon { transform: translateY(3px); }

@media (max-width: 768px) {
  .header-divider { display: none; }
  .req-list li { flex-direction: column; gap: 10px; align-items: flex-start; }
  .pro-access-wrap {
    padding: 18px 16px;
  }
  .pro-access-actions {
    grid-template-columns: 1fr;
  }
}

/* 容器边距 */
.ingredients-section {
  padding: 40px 8% 60px;
  background: var(--bg-base);
}

/* 注意事项区块 */
.notice-section {
  padding: 0 8% 60px;
  background: var(--bg-base);
}

.notice-box {
  max-width: 1100px;
  margin: 0 auto;
  border: 1px solid var(--subtle-gray);
  background: #fff;
  padding: 22px 28px;
  border-left: 3px solid var(--morandi-green);
}

.notice-list {
  margin: 0;
  padding-left: 18px;
  color: #555;
  font-size: 0.84rem;
  line-height: 1.95;
}

.notice-list li { margin: 0; }

@media (max-width: 640px) {
  .notice-section { padding: 0 6% 48px; }
  .notice-box { padding: 18px 16px; }
}

/* 标题样式：复用下载部分 */
.dl-section-header {
  display: flex;
  align-items: flex-end;
  gap: 20px;
  margin-bottom: 50px;
  width: 100%;
}

.header-left { display: flex; flex-direction: column; flex-shrink: 0; text-align: left; }
.header-en { font-size: 0.65rem; color: var(--morandi-green); letter-spacing: 0.2em; font-weight: 700; margin-bottom: 4px; }
.header-zh { font-family: 'ZCOOL XiaoWei', 'Noto Serif SC', serif; font-size: 1.8rem; color: var(--black); margin: 0; line-height: 1; }
.header-divider { flex-grow: 1; height: 1px; background: #ccc; margin-bottom: 8px; opacity: 0.6; }

/* 网格布局：一行4个 */
.ingredients-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto;
}

.ingredient-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  text-decoration: none;
}

/* 圆形框设计 */
.ingredient-circle {
  width: 100%; /* 自动填满网格列宽 */
  aspect-ratio: 1 / 1; /* 强制保持正圆 */
  background: #fdfdfd; 
  border: 1px solid #eee;
  border-radius: 50%; /* 核心：正圆 */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 18px;
  transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
  box-shadow: 0 4px 10px rgba(0,0,0,0.02);
}

.ingredient-circle img {
  width: 100%; 
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

/* 交互设计：鼠标放上去时的变化 */
.ingredient-item:hover .ingredient-circle {
  transform: translateY(-8px); /* 向上漂浮 */
  background: #fff;
  border-color: var(--morandi-green);
  box-shadow: 0 15px 30px rgba(0,0,0,0.08); /* 增加投影感 */
}

.ingredient-item:hover .ingredient-circle img {
  transform: scale(1.15); /* 图片放大 */
}

/* 名称交互 */
.ingredient-name {
  font-family: 'Noto Serif SC', serif;
  font-size: 1rem;
  font-weight: 600;
  color: #555;
  transition: color 0.3s ease;
}

.ingredient-item:hover .ingredient-name {
  color: var(--morandi-green); /* 名称变绿 */
}

/* 响应式调整 */
@media (max-width: 850px) {
  .ingredients-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .header-divider { display: none; }
}

/* 调大主标题字号 */
.recipe-main-title {
  font-size: 2.2rem !important; /* 原始大小通常较小，这里调大 */
  margin-bottom: 5px;
}

.recipe-title-en {
  font-size: 0.9rem !important;
  letter-spacing: 0.15em;
  opacity: 0.8;
}

/* 调大介绍文字 */
.recipe-intro-text {
  font-size: 1rem !important; /* 调大到 1.1rem 更易读 */
  line-height: 1.8;
  color: #555;
  margin: 25px 0;
}

/* 调大属性格子里的文字 */
.attr-label {
  font-size: 0.8rem;
  opacity: 0.7;
}

.attr-val {
  font-size: 1rem !important; /* 调大数值字号 */
  font-weight: 600;
  color: #333;
}

/* 版本信息样式 */
.compat-version-info {
  font-size: 0.85rem;
  color: var(--morandi-green);
  font-weight: 600;
  margin-bottom: 10px;
}

.compat-label {
  display: block;
  font-size: 0.75rem;
  margin-top: 20px;
  margin-bottom: 8px;
  font-weight: 700;
}

/* recipes-detail 页面：介绍区与下载区公共样式 */
.recipe-detail-page #heroTitle,
.recipe-detail-page #heroSlider,
.recipe-detail-page .hero-dot,
.recipe-detail-page .no-results,
.recipe-detail-page .filter-btn,
.recipe-detail-page .mod-card {
  display: none !important;
}

.recipe-detail-page .detail-page {
  background: var(--bg-base);
}

.recipe-detail-page .back-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 8%;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--subtle-gray);
}

.recipe-detail-page .back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border: 1px solid rgba(141, 161, 145, 0.45);
  border-radius: 999px;
  color: var(--morandi-green-dark);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  background: rgba(141, 161, 145, 0.06);
}

.recipe-detail-page .back-link:hover {
  background: rgba(141, 161, 145, 0.12);
  border-color: var(--morandi-green);
}

.recipe-detail-page .breadcrumb-trail {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

.recipe-detail-page .breadcrumb-trail .sep {
  opacity: 0.45;
}

.recipe-detail-page .breadcrumb-trail .current {
  color: var(--black);
}

.recipe-detail-page .detail-section {
  padding: 68px 8%;
  border-bottom: 1px solid var(--subtle-gray);
}

.recipe-detail-page .detail-section.alt {
  background: var(--bg-alt);
}

.recipe-detail-page .intro-grid {
  display: grid;
  grid-template-columns: 440px 1fr;
  gap: 60px;
  align-items: start;
}

.recipe-detail-page .intro-img-wrap {
  position: relative;
  width: 100%;
}

.recipe-detail-page .intro-img-wrap::before {
  content: '';
  position: absolute;
  inset: 12px -12px -12px 12px;
  border: 1px solid var(--morandi-green);
  border-radius: 18px;
  opacity: 0.25;
  z-index: 0;
  transition: inset 0.4s ease;
}

.recipe-detail-page .intro-img-wrap:hover::before {
  inset: 16px -16px -16px 16px;
  opacity: 0.35;
}

.recipe-detail-page .intro-img {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(135deg, #e4dcd0, #d0c8bc);
  display: flex;
  align-items: center;
  justify-content: center;
}

.recipe-detail-page .intro-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 8s ease;
}

.recipe-detail-page .intro-img:hover img {
  transform: scale(1.04);
}

.recipe-detail-page .intro-img-placeholder {
  position: absolute;
  font-size: 7rem;
  opacity: 0.18;
}

.recipe-detail-page .intro-img-label {
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 2;
  background: var(--morandi-green);
  color: #fff;
  font-size: 0.8rem;
  letter-spacing: 0.22em;
  padding: 5px 14px;
  font-family: 'Noto Serif SC', serif;
}

.recipe-detail-page .recipe-name-block {
  margin-bottom: 24px;
}

.recipe-detail-page .recipe-main-title {
  font-family: 'ZCOOL XiaoWei', 'Noto Serif SC', serif;
  font-size: clamp(2.2rem, 3.8vw, 3rem);
  color: var(--black);
  letter-spacing: 0.1em;
  margin: 0 0 4px;
  line-height: 1.05;
}

.recipe-detail-page .recipe-title-en {
  font-size: 0.68rem;
  letter-spacing: 0.6em;
  color: var(--text-muted);
  font-weight: 300;
  display: block;
  margin-bottom: 18px;
}

.recipe-detail-page .recipe-title-rule {
  display: flex;
  align-items: center;
  gap: 10px;
}

.recipe-detail-page .recipe-title-rule::before {
  content: '';
  width: 36px;
  height: 2px;
  background: var(--morandi-green);
  opacity: 0.7;
}

.recipe-detail-page .recipe-title-rule span {
  font-size: 0.8rem;
  letter-spacing: 0.22em;
  color: var(--text-muted);
  font-weight: 300;
}

.recipe-detail-page .attr-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--subtle-gray);
  margin: 24px 0 28px;
  overflow: hidden;
}

.recipe-detail-page .attr-cell {
  padding: 16px 12px;
  text-align: center;
  border-right: 1px solid var(--subtle-gray);
  background: var(--bg-card);
  transition: background 0.2s;
}

.recipe-detail-page .attr-cell:last-child {
  border-right: none;
}

.recipe-detail-page .attr-cell:hover {
  background: rgba(141, 161, 145, 0.05);
}

.recipe-detail-page .attr-icon {
  font-size: 1.1rem;
  display: block;
  margin-bottom: 6px;
}

.recipe-detail-page .attr-label {
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  color: var(--text-muted);
  display: block;
  margin-bottom: 4px;
  font-weight: 300;
  opacity: 1;
}

.recipe-detail-page .attr-val {
  font-size: 0.8rem;
  color: var(--black);
  font-weight: 500;
  letter-spacing: 0.03em;
  display: block;
  line-height: 1.3;
}

.recipe-detail-page .recipe-intro-text {
  font-size: 0.88rem;
  color: #555;
  font-weight: 300;
  line-height: 2.1;
  margin: 0 0 28px;
  border-left: 2px solid var(--subtle-gray);
  padding-left: 18px;
  position: relative;
}

.recipe-detail-page .recipe-intro-text::before {
  content: '';
  position: absolute;
  left: -2px;
  top: 0;
  width: 2px;
  height: 40px;
  background: var(--morandi-green);
}

.recipe-detail-page .compat-label {
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  font-weight: 400;
  display: block;
  margin: 0 0 10px;
}

.recipe-detail-page .compat-version-info {
  font-size: 0.85rem;
  color: var(--morandi-green);
  font-weight: 600;
  margin-bottom: 10px;
}

.recipe-detail-page .compat-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.recipe-detail-page .compat-tag {
  font-size: 0.8rem;
  padding: 4px 13px;
  border-radius: 999px;
  border: 1px solid #d4ccbf;
  color: #777;
  letter-spacing: 0.06em;
}

.recipe-detail-page .compat-tag.req {
  border-color: var(--morandi-green);
  color: var(--morandi-green);
  background: rgba(141, 161, 145, 0.07);
}

.recipe-detail-page .compat-tag.opt {
  border-color: rgba(106, 170, 114, 0.4);
  color: #3a7a42;
  background: rgba(106, 170, 114, 0.06);
}

.recipe-detail-page .fade-in {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.recipe-detail-page .fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.recipe-detail-page .giftbox-spec-card {
  margin-top: 18px;
  padding: 14px 16px;
  border: 1px solid var(--subtle-gray);
  background: #f9f9f9;
  border-radius: 10px;
}

.recipe-detail-page .giftbox-spec-title {
  margin: 0;
  font-size: 0.9rem;
  letter-spacing: 0.12em;
  color: #344237;
  font-weight: 600;
}

.recipe-detail-page .giftbox-spec-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.recipe-detail-page .giftbox-spec-get {
  margin: 0;
  padding: 4px 10px;
  border-radius: 8px;
  background: rgba(141, 161, 145, 0.09);
  border: 1px solid rgba(141, 161, 145, 0.2);
  font-size: 0.72rem;
  color: #485248;
  line-height: 1.35;
  white-space: nowrap;
}

.recipe-detail-page .giftbox-size-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 10px;
}

.recipe-detail-page .giftbox-size-item {
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 8px;
  background: #fff;
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.recipe-detail-page .giftbox-size-name {
  font-size: 0.76rem;
  color: #5f655f;
  letter-spacing: 0.06em;
}

.recipe-detail-page .giftbox-size-value {
  font-size: 0.88rem;
  color: #2f3b30;
  font-weight: 600;
}

.recipe-detail-page .giftbox-spec-note {
  margin: 0;
  font-size: 0.76rem;
  color: #647064;
  line-height: 1.5;
}

.recipe-detail-page .dl-dual-actions {
  width: min(640px, 100%);
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 22px;
}

.recipe-detail-page .dl-download-item {
  flex: 0 1 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.recipe-detail-page .dl-download-label {
  font-size: 0.84rem;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 600;
}

.recipe-detail-page .dl-download-item .file-name-info {
  text-align: center;
  word-break: break-all;
  margin: 0;
}

.recipe-detail-page .dl-download-item .dl-btn-capsule {
  width: auto;
  min-width: 208px;
  justify-content: center;
  box-sizing: border-box;
}

.recipe-detail-page .dl-action-split {
  width: 1px;
  background: rgba(0, 0, 0, 0.12);
  flex-shrink: 0;
}

@media (max-width: 960px) {
  .recipe-detail-page .back-bar {
    flex-direction: column;
    align-items: flex-start;
  }

  .recipe-detail-page .intro-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .recipe-detail-page .intro-img-wrap {
    max-width: 400px;
  }
}

@media (max-width: 640px) {
  .recipe-detail-page .detail-section {
    padding: 48px 6%;
  }

  .recipe-detail-page .attr-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .recipe-detail-page .attr-cell:nth-child(2) {
    border-right: none;
  }

  .recipe-detail-page .attr-cell:nth-child(1),
  .recipe-detail-page .attr-cell:nth-child(2) {
    border-bottom: 1px solid var(--subtle-gray);
  }

  .recipe-detail-page .giftbox-spec-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .recipe-detail-page .giftbox-spec-get {
    white-space: normal;
  }

  .recipe-detail-page .giftbox-size-grid {
    grid-template-columns: 1fr;
  }

  .recipe-detail-page .dl-dual-actions {
    flex-direction: column;
    gap: 14px;
  }

  .recipe-detail-page .dl-action-split {
    width: 100%;
    height: 1px;
  }
}

/* ================================================================
   公共可复用：列表页（食谱 / 原料 / 功能）
   说明：原先分散在多个 HTML 内联 <style>，统一收敛到这里
