/* ============================================================
   mamicase.com 公开站点共享样式（前台日文站）
   依赖 /assets/css/style.css 的设计变量与基础组件
   ============================================================ */

/* ---------------- 顶部导航 ---------------- */
.site-head {
  position: sticky; top: 0; z-index: 60;
  background: rgba(17, 24, 39, .92); backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.site-head-in {
  max-width: 1080px; margin: 0 auto; padding: 0 18px;
  display: flex; align-items: center; gap: 14px; min-height: 58px;
}
.site-brand { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 800; font-size: 15.5px; flex: none; }
.site-brand .logo-mark { width: 32px; height: 32px; font-size: 17px; }
.site-brand small { display: block; font-size: 10.5px; font-weight: 500; color: rgba(255, 255, 255, .55); letter-spacing: .04em; }
.site-nav { display: flex; align-items: center; gap: 2px; margin-left: auto; flex-wrap: wrap; }
.site-nav a {
  color: rgba(255, 255, 255, .78); font-size: 13px; font-weight: 600;
  padding: 8px 12px; border-radius: 9px; white-space: nowrap; transition: all .15s;
}
.site-nav a:hover { color: #fff; background: rgba(255, 255, 255, .1); }
.site-nav a.active { color: #fff; background: var(--line-green); }
.nav-toggle { display: none; margin-left: auto; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .2); color: #fff; font-size: 17px; border-radius: 9px; width: 38px; height: 36px; cursor: pointer; }
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #111827; flex-direction: column; align-items: stretch; padding: 10px 14px 14px; gap: 4px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 11px 12px; }
}

/* ---------------- Hero ---------------- */
.site-hero {
  background: linear-gradient(160deg, #111827 0%, #1e293b 55%, #312e81 100%);
  color: #fff; padding: 46px 22px 96px; position: relative; overflow: hidden;
}
.site-hero::after { content: ""; position: absolute; inset: 0; background: radial-gradient(700px 320px at 78% -10%, rgba(6, 199, 85, .28), transparent 60%); pointer-events: none; }
.site-hero .inner { max-width: 940px; margin: 0 auto; text-align: center; position: relative; z-index: 1; }
.site-hero h1 { font-size: 30px; margin: 0 0 12px; line-height: 1.35; }
.site-hero .lead { color: rgba(255, 255, 255, .8); font-size: 15px; max-width: 680px; margin: 0 auto; line-height: 1.8; }
.site-hero .vip-banner { max-width: 760px; width: 100%; margin: 0 auto 22px; display: block; border-radius: 14px; box-shadow: 0 18px 44px -18px rgba(0, 0, 0, .6); }
@media (max-width: 720px) { .site-hero { padding: 34px 16px 84px; } .site-hero h1 { font-size: 22px; } }

/* ---------------- 正文容器 ---------------- */
.site-body { max-width: 940px; margin: -66px auto 60px; padding: 0 18px 0; position: relative; z-index: 2; }
.site-body.wide { max-width: 1180px; }
.site-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-lg); padding: 26px 28px; margin-bottom: 18px; }
@media (max-width: 720px) { .site-card { padding: 20px 16px; border-radius: 14px; } }

.page-title { font-size: 21px; font-weight: 800; color: var(--ink); margin: 0 0 6px; display: flex; align-items: center; gap: 9px; }
.page-sub { color: var(--muted); font-size: 13.5px; margin: 0 0 20px; line-height: 1.7; }

/* ---------------- 富文本内容 ---------------- */
.rich { font-size: 14px; color: var(--ink-2); line-height: 1.95; }
.rich h2 { font-size: 17px; font-weight: 800; color: var(--ink); margin: 26px 0 10px; padding-left: 11px; border-left: 4px solid var(--line-green); }
.rich h2:first-child { margin-top: 0; }
.rich h3 { font-size: 15px; font-weight: 800; color: var(--ink); margin: 22px 0 8px; }
.rich h4 { font-size: 14px; font-weight: 700; color: var(--ink); margin: 18px 0 6px; }
.rich p { margin: 8px 0; }
.rich a { color: var(--brand); word-break: break-all; }
.rich strong { color: var(--danger); font-weight: 700; }
.rich h5 { color: #15803d; font-size: 13.5px; font-weight: 700; margin: 14px 0 6px; }
.rich img { max-width: 100%; height: auto; border-radius: 12px; border: 1px solid var(--line); margin: 10px 0; box-shadow: var(--shadow); cursor: zoom-in; }
.rich ul { padding-left: 20px; margin: 8px 0; }
.rich li { line-height: 2; }

.alert-card { background: #fff7ed; border: 1px solid #fed7aa; border-radius: 14px; padding: 18px 20px; margin-bottom: 18px; }
.alert-card.red { background: #fef2f2; border-color: #fecaca; }
.alert-card .ac-title { font-size: 15.5px; font-weight: 800; color: #b91c1c; margin: 0 0 8px; display: flex; align-items: center; gap: 8px; }
.alert-card .rich { font-size: 13.5px; }
.alert-card .rich strong.big, .big-red { color: #dc2626; font-size: 19px; font-weight: 800; }

/* 联系方式卡片组 */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; margin: 16px 0; }
.contact-item { background: #f8fafc; border: 1px solid var(--line-soft); border-radius: 14px; padding: 16px 18px; }
.contact-item .ci-no { width: 26px; height: 26px; border-radius: 8px; background: var(--line-green); color: #fff; font-weight: 800; font-size: 13px; display: grid; place-items: center; margin-bottom: 9px; }
.contact-item .ci-t { font-size: 14px; font-weight: 800; color: var(--ink); margin-bottom: 5px; }
.contact-item .ci-d { font-size: 12.5px; color: var(--muted); line-height: 1.75; word-break: break-word; }
.contact-item .ci-d a { color: var(--brand); font-weight: 600; }
.contact-item .ci-d b { color: var(--ink); }

.qr-row { display: flex; gap: 20px; flex-wrap: wrap; align-items: flex-start; margin: 14px 0; }
.qr-row figure { margin: 0; text-align: center; }
.qr-row img { width: 210px; border-radius: 12px; border: 1px solid var(--line); box-shadow: var(--shadow); display: block; }
.qr-row figcaption { font-size: 12px; color: var(--muted); margin-top: 7px; }

/* 步骤条 */
.step-list { counter-reset: step; margin: 14px 0; display: grid; gap: 12px; }
.step-item { position: relative; padding: 14px 16px 14px 54px; background: #f8fafc; border: 1px solid var(--line-soft); border-radius: 13px; }
.step-item::before { counter-increment: step; content: "STEP " counter(step); position: absolute; left: 12px; top: 14px; font-size: 10.5px; font-weight: 800; color: var(--brand-600); background: var(--brand-50); border-radius: 999px; padding: 4px 8px; }
.step-item .st-t { font-size: 13.5px; font-weight: 800; color: var(--ink); margin-bottom: 4px; }
.step-item .st-d { font-size: 12.5px; color: var(--ink-2); line-height: 1.8; }

/* ---------------- 促销图集（タイムセール） ---------------- */
.sale-item { margin-bottom: 26px; }
.sale-item .sale-date { display: inline-flex; align-items: center; gap: 8px; background: var(--ink); color: #fff; font-size: 13px; font-weight: 700; padding: 6px 14px; border-radius: 999px; margin-bottom: 10px; }
.sale-item img { width: 100%; height: auto; border-radius: 14px; border: 1px solid var(--line); box-shadow: var(--shadow); display: block; cursor: zoom-in; background: #fff; }
.sale-item img.broken { display: none; }
.sale-nav { display: flex; align-items: center; gap: 10px; justify-content: center; flex-wrap: wrap; padding: 22px 0 4px; }
.sale-nav .pg { min-width: 34px; height: 34px; padding: 0 10px; border: 1px solid var(--line); border-radius: 9px; background: #fff; cursor: pointer; font-size: 13px; color: var(--ink-2); font-weight: 600; }
.sale-nav .pg:hover { border-color: var(--brand); color: var(--brand); }
.sale-nav .pg.active { background: var(--brand); color: #fff; border-color: var(--brand); }

/* ---------------- 视频页 ---------------- */
.video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; }
.video-item { background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); }
.video-item video { width: 100%; aspect-ratio: 16 / 9; display: block; background: #000; }
.video-item .vi-body { padding: 13px 15px; }
.video-item .vi-title { font-size: 13.5px; font-weight: 800; color: var(--ink); margin: 0 0 4px; }
.video-item .vi-desc { font-size: 12px; color: var(--muted); line-height: 1.6; margin: 0; }
@media (max-width: 680px) { .video-grid { grid-template-columns: 1fr; } }

/* ---------------- 页脚 ---------------- */
.site-foot { border-top: 1px solid var(--line); background: #fff; padding: 26px 22px 34px; margin-top: 20px; }
.site-foot-in { max-width: 940px; margin: 0 auto; display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.site-foot .f-brand { font-weight: 800; font-size: 14px; color: var(--ink); }
.site-foot .f-contact { font-size: 12.5px; color: var(--muted); line-height: 2; }
.site-foot .f-contact a { color: var(--brand); font-weight: 600; }
.site-foot .f-links { display: flex; flex-direction: column; gap: 6px; font-size: 12.5px; }
.site-foot .f-links a { color: var(--muted); }
.site-foot .f-links a:hover { color: var(--ink); }

/* ---------------- 404 ---------------- */
.nf-wrap { min-height: 72vh; display: grid; place-items: center; padding: 40px 18px; }
.nf-card { text-align: center; background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-lg); padding: 52px 44px; max-width: 520px; }
.nf-card .em { font-size: 52px; margin-bottom: 12px; }
.nf-card h1 { font-size: 22px; margin: 0 0 10px; }
.nf-card p { color: var(--muted); font-size: 13.5px; line-height: 1.8; margin: 0 0 22px; }

/* ================= 注文照会：商品明細カード ================= */
.pd-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
.pd-card { border: 1px solid var(--line-soft); border-radius: 12px; background: #fff; overflow: hidden; }
.pd-card.pd-noimg .pd-spec { padding: 12px 14px; }
.pd-imgs { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line-soft); }
.pd-imgs.single { grid-template-columns: 1fr; }
.pd-fig { margin: 0; background: #fff; min-width: 0; }
.pd-fig img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; display: block; cursor: zoom-in; background: #f8fafc; }
.pd-fig figcaption { font-size: 10.5px; text-align: center; color: var(--muted); padding: 4px 6px; font-weight: 600; letter-spacing: .02em; }
.pd-fig.real figcaption { color: #059669; }
.pd-spec { font-size: 12px; padding: 8px 10px; color: var(--ink-2); line-height: 1.5; word-break: break-all; border-top: 1px solid var(--line-soft); }
.pd-fig img.broken { display: none; }

/* ================= 最近の照会履歴 ================= */
.recent-head { margin: 6px 0 16px; padding: 16px 20px; background: linear-gradient(135deg, #f0fdf4, #f8fafc); border: 1px solid #d1fae5; border-radius: 14px; }
.recent-head h2 { margin: 0; font-size: 18px; color: var(--ink); display: flex; align-items: center; gap: 8px; }
.recent-head h2::before { content: "🕐"; font-size: 18px; }
.recent-head p { margin: 5px 0 0; }

/* ---------------- VIP 会員制度ページ ---------------- */
.alert-card.green { background: #f0fdf4; border-color: #bbf7d0; }
.alert-card.green .ac-title { color: #15803d; }

.vip-tierlist { display: flex; flex-direction: column; gap: 12px; }
.vip-tier-card { border: 1.5px solid var(--line); border-radius: 14px; padding: 16px 18px; background: #fff; transition: .15s; }
.vip-tier-card:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
.vip-tier-card.t-silver { border-color: #cbd5e1; background: linear-gradient(180deg, #f8fafc, #fff); }
.vip-tier-card.t-gold { border-color: #fcd34d; background: linear-gradient(180deg, #fffbeb, #fff); }
.vip-tier-card.t-platinum { border-color: #38bdf8; background: linear-gradient(180deg, #f0f9ff, #fff); }
.vip-tier-card.t-diamond { border-color: #c084fc; background: linear-gradient(180deg, #faf5ff, #fff); box-shadow: 0 8px 24px -14px rgba(147, 51, 234, .45); }
.vip-tier-card .vt-head { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.vip-tier-card .vt-icon { font-size: 24px; }
.vip-tier-card .vt-name { font-size: 16.5px; font-weight: 800; color: var(--ink); }
.vip-tier-card.t-diamond .vt-name { color: #7e22ce; }
.vip-tier-card .vt-cond { font-size: 12.5px; color: var(--muted); font-weight: 600; }
.vip-tier-card ul { margin: 0; padding-left: 4px; list-style: none; }
.vip-tier-card li { font-size: 13.5px; color: var(--ink-2); line-height: 1.85; padding-left: 20px; position: relative; }
.vip-tier-card li::before { content: "✓"; position: absolute; left: 2px; color: #16a34a; font-weight: 800; }
@media (max-width: 720px) { .vip-tier-card { padding: 13px 14px; } }

/* ============================================================
   2026-10-22 新增：顶部滚动通知条 / 连络先卡片 / 书签 / 姐妹站
   ============================================================ */

/* ---------------- 顶部滚动通知条 ---------------- */
.notice-bar {
  position: relative; z-index: 80; overflow: hidden;
  background: linear-gradient(90deg, #b91c1c 0%, #dc2626 45%, #991b1b 100%);
  border-bottom: 2px solid #fca5a5; color: #fff;
  box-shadow: 0 2px 10px rgba(153, 27, 27, .35);
}
.notice-bar .nb-in {
  max-width: 1180px; margin: 0 auto; height: 46px; padding: 0 12px;
  display: flex; align-items: center; gap: 10px;
}
.notice-bar .nb-badge {
  flex: none; background: #fff; color: #b91c1c; font-size: 11.5px; font-weight: 900;
  padding: 4px 10px; border-radius: 999px; letter-spacing: .04em; white-space: nowrap;
  animation: nb-pulse 1.6s ease-in-out infinite;
}
@keyframes nb-pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.06); } }
.notice-bar .nb-view { flex: 1; overflow: hidden; position: relative; -webkit-mask-image: linear-gradient(90deg, transparent, #000 14px, #000 calc(100% - 14px), transparent); mask-image: linear-gradient(90deg, transparent, #000 14px, #000 calc(100% - 14px), transparent); }
.nb-track { display: inline-flex; white-space: nowrap; animation: nb-scroll 46s linear infinite; will-change: transform; }
.nb-track span { font-size: 13.5px; font-weight: 700; padding-right: 64px; }
.nb-track b { color: #fde047; font-size: 14.5px; }
.nb-track em { font-style: normal; color: #fff; background: rgba(255, 255, 255, .18); padding: 2px 7px; border-radius: 6px; }
.notice-bar:hover .nb-track { animation-play-state: paused; }
@keyframes nb-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.notice-bar .nb-cta {
  flex: none; background: #fff; color: #b91c1c; font-size: 12.5px; font-weight: 800;
  padding: 6px 12px; border-radius: 9px; white-space: nowrap; text-decoration: none;
}
.notice-bar .nb-cta:hover { background: #fef2f2; }
.notice-bar .nb-x {
  flex: none; background: transparent; border: 0; color: rgba(255, 255, 255, .8);
  font-size: 20px; line-height: 1; cursor: pointer; padding: 0 2px;
}
.notice-bar .nb-x:hover { color: #fff; }
@media (max-width: 720px) {
  .notice-bar .nb-in { height: 44px; gap: 6px; padding: 0 8px; }
  .notice-bar .nb-badge { font-size: 10px; padding: 3px 7px; }
  .nb-track span { font-size: 12px; padding-right: 40px; }
  .nb-track b { font-size: 13px; }
  .notice-bar .nb-cta { font-size: 11.5px; padding: 5px 9px; }
}

/* ---------------- 连络先 2 列卡片 ---------------- */
.contact-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 18px 0 6px; }
@media (max-width: 760px) { .contact-duo { grid-template-columns: 1fr; } }
.cd-card {
  position: relative; background: #fff; border: 1.5px solid var(--line); border-radius: 18px;
  padding: 18px 18px 16px; box-shadow: var(--shadow); overflow: hidden;
}
.cd-card.line { border-color: #86efac; background: linear-gradient(180deg, #f0fdf4 0%, #fff 46%); }
.cd-card.wx { border-color: #a7f3d0; background: linear-gradient(180deg, #ecfdf5 0%, #fff 46%); }
.cd-card .cd-top { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; }
.cd-card .cd-ico { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; color: #fff; font-weight: 900; font-size: 15px; }
.cd-card.line .cd-ico { background: #06c755; }
.cd-card.wx .cd-ico { background: #07c160; }
.cd-card .cd-title { font-size: 15.5px; font-weight: 800; color: var(--ink); }
.cd-card .cd-sub { font-size: 11.5px; color: var(--muted); }
.cd-card .cd-id-row { display: flex; align-items: baseline; gap: 8px; margin: 6px 0 10px; flex-wrap: wrap; }
.cd-card .cd-id-label { font-size: 11.5px; font-weight: 700; color: var(--muted); }
.cd-card .cd-id { font-size: 21px; font-weight: 900; letter-spacing: .01em; color: #15803d; font-family: ui-monospace, Menlo, Consolas, monospace; }
.cd-card .cd-main { display: flex; gap: 14px; align-items: center; }
.cd-card .cd-qr { width: 138px; flex: none; border-radius: 12px; border: 1px solid var(--line); box-shadow: var(--shadow); cursor: zoom-in; background: #fff; }
.cd-card .cd-note { font-size: 12px; color: var(--ink-2); line-height: 1.7; }
.cd-card .cd-discount {
  display: inline-block; margin-top: 8px; background: #fef2f2; color: #b91c1c; border: 1px dashed #fca5a5;
  font-size: 12.5px; font-weight: 800; padding: 5px 10px; border-radius: 9px;
}
.cd-card .cd-acts { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.cd-card .cd-btn {
  display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; font-weight: 800;
  padding: 8px 13px; border-radius: 9px; text-decoration: none; border: 1px solid transparent;
}
.cd-card.line .cd-btn.primary { background: #06c755; color: #fff; }
.cd-card.wx .cd-btn.primary { background: #07c160; color: #fff; }
.cd-card .cd-btn.ghost { background: #fff; color: var(--ink-2); border-color: var(--line); }
.cd-card .cd-btn:hover { filter: brightness(.96); }
@media (max-width: 720px) {
  .cd-card .cd-qr { width: 118px; }
  .cd-card .cd-id { font-size: 18px; }
}

/* ---------------- 书签 / 保存提醒 ---------------- */
.bm-card {
  background: linear-gradient(135deg, #111827 0%, #1e293b 60%, #312e81 100%);
  color: #fff; border-radius: 18px; padding: 22px 24px; margin: 20px 0;
  box-shadow: 0 18px 40px -24px rgba(17, 24, 39, .8);
}
.bm-card h3 { margin: 0 0 6px; font-size: 18px; font-weight: 800; }
.bm-card p { margin: 0 0 14px; font-size: 13px; color: rgba(255, 255, 255, .78); line-height: 1.8; }
.bm-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
@media (max-width: 720px) { .bm-grid { grid-template-columns: 1fr; } }
.bm-item { background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); border-radius: 12px; padding: 13px 14px; }
.bm-item b { display: block; font-size: 13px; margin-bottom: 4px; }
.bm-item span { font-size: 12px; color: rgba(255, 255, 255, .75); line-height: 1.7; }
.bm-url {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 14px;
  background: rgba(255, 255, 255, .1); border-radius: 12px; padding: 12px 14px;
}
.bm-url code { font-size: 14.5px; font-weight: 800; letter-spacing: .02em; color: #fde047; }
.bm-copy {
  background: #fff; color: #111827; border: 0; border-radius: 8px; padding: 6px 12px;
  font-size: 12px; font-weight: 800; cursor: pointer;
}
.bm-copy:hover { background: #f1f5f9; }

/* ---------------- 姐妹站网格 ---------------- */
.sister-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; margin: 14px 0 6px; }
.sister-item {
  display: flex; gap: 11px; align-items: flex-start; background: #f8fafc; border: 1px solid var(--line-soft);
  border-radius: 13px; padding: 13px 14px; text-decoration: none; transition: .15s;
}
.sister-item:hover { background: #f0fdf4; border-color: #86efac; transform: translateY(-1px); box-shadow: var(--shadow); }
.sister-item .si-ico { font-size: 20px; line-height: 1.2; flex: none; }
.sister-item .si-t { font-size: 13px; font-weight: 800; color: var(--ink); margin-bottom: 2px; }
.sister-item .si-u { font-size: 11.5px; color: var(--brand); word-break: break-all; }
.sister-item .si-d { font-size: 11.5px; color: var(--muted); margin-top: 3px; line-height: 1.6; }

/* ---------------- 引导页小标签 ---------------- */
.guide-badge {
  display: inline-flex; align-items: center; gap: 6px; background: #ecfdf5; color: #15803d;
  border: 1px solid #bbf7d0; border-radius: 999px; padding: 5px 12px; font-size: 12px; font-weight: 800;
}
.guide-badge.red { background: #fef2f2; color: #b91c1c; border-color: #fecaca; }
.mini-note { font-size: 12px; color: var(--muted); line-height: 1.8; margin-top: 8px; }

/* ---------------- 2026-10-22：导航新增「ご連絡先」后加宽、缩小间距 ---------------- */
.site-head-in { max-width: 1240px; gap: 16px; }
.site-nav a { font-size: 12.5px; padding: 8px 10px; }
@media (max-width: 1120px) and (min-width: 861px) {
  .site-nav a { font-size: 12px; padding: 8px 7px; }
  .site-brand small { display: none; }
}

/* ---------------- 商品カタログ（アルバムサイト） ---------------- */
.yg-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.yg-card {
  position: relative; display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  overflow: hidden; text-decoration: none; transition: .18s;
}
.yg-card:hover {
  transform: translateY(-3px); text-decoration: none;
  border-color: #bbf7d0; box-shadow: 0 18px 34px -18px rgba(15, 23, 42, .35);
}
.yg-img { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: linear-gradient(135deg, #0f172a, #1e293b); }
.yg-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s ease; }
.yg-card:hover .yg-img img { transform: scale(1.05); }
.yg-img.nopic { display: grid; place-items: center; font-size: 42px; background: linear-gradient(135deg, #e2e8f0, #f1f5f9); letter-spacing: .08em; }
.yg-body { padding: 12px 14px 10px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.yg-tag {
  align-self: flex-start; font-size: 10.5px; font-weight: 800; letter-spacing: .06em;
  color: #047857; background: rgba(6, 199, 85, .1); border-radius: 999px; padding: 2px 9px;
}
.yg-t { font-size: 13.5px; font-weight: 800; color: var(--ink); line-height: 1.5; }
.yg-d { font-size: 11.5px; color: var(--muted); line-height: 1.75; }
.yg-u { font-size: 10.5px; color: var(--muted-2); word-break: break-all; }
.yg-pw {
  align-self: flex-start; margin-top: 3px; font-size: 11.5px; font-weight: 800;
  color: #92400e; background: #fef3c7; border: 1px dashed #f59e0b;
  border-radius: 8px; padding: 4px 9px;
}
.yg-pw b { letter-spacing: .08em; }
.yg-go {
  display: flex; justify-content: space-between; align-items: center;
  padding: 9px 14px; font-size: 12px; font-weight: 800; color: var(--brand);
  border-top: 1px dashed var(--line-soft); background: #f8fdf9;
}
.yg-go span { transition: transform .18s; }
.yg-card:hover .yg-go span { transform: translateX(3px); }

.yg-cta {
  margin-top: 18px; border-radius: 14px; padding: 20px 22px;
  background: linear-gradient(135deg, #052e1e, #0a3d2a 70%, #0d4a33);
  color: #fff; display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
}
.yg-cta b { display: block; font-size: 15px; margin-bottom: 4px; }
.yg-cta > div:first-child span { font-size: 12px; color: rgba(255, 255, 255, .72); }
.yg-cta .acts { display: flex; gap: 10px; flex-wrap: wrap; }

@media (max-width: 900px) {
  .yg-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .yg-grid { grid-template-columns: 1fr; }
  .yg-cta { flex-direction: column; align-items: stretch; text-align: center; }
  .yg-cta .acts { justify-content: center; }
}

/* 目录区块底部 CTA 按钮（首页 / contact 通用） */
.yg-btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 11px 20px; border-radius: 10px; font-size: 13.5px; font-weight: 800;
  text-decoration: none; transition: .16s;
}
.yg-btn-green { background: #06c755; color: #fff; }
.yg-btn-green:hover { background: #05b04b; color: #fff; text-decoration: none; }
.yg-btn-ghost { background: rgba(255, 255, 255, .12); color: #fff; border: 1px solid rgba(255, 255, 255, .3); }
.yg-btn-ghost:hover { background: rgba(255, 255, 255, .22); color: #fff; text-decoration: none; }
