/*
 * 2026 改版「冒險者大廳」首頁（includes/home_c1.php）。
 * 色票沿用 shell.css 的 --c1-*；首頁整頁固定深色，不受「深色模式」開關影響。
 */
body.c1-home-page {
  background: var(--c1-bg);
  color: var(--c1-text);
  font-family: var(--c1-font);
  -webkit-font-smoothing: antialiased;
}
body.c1-home-page .site-bg { display: none; }
.c1-home { color: var(--c1-text); }
.c1-home a { color: inherit; text-decoration: none; }
.c1-home img { display: block; max-width: 100%; height: auto; }
.c1-home :is(h1, h2, h3, p) { margin: 0; }
.c1-wrap { width: min(1200px, calc(100% - 48px)); margin-inline: auto; }

/* ---------- 按鈕 ---------- */
.c1-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 46px;
  padding: 0 20px;
  border: 0;
  border-radius: 14px;
  font: 800 15px/1 var(--c1-font);
  white-space: nowrap;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
}
.c1-btn-gold { color: #3a2200 !important; background: var(--c1-btn-gold); box-shadow: var(--c1-shadow-gold); }
.c1-btn-gold:hover { transform: translateY(-2px); filter: brightness(1.05); box-shadow: 0 6px 0 #b86a00, 0 14px 32px rgba(255, 170, 30, .42), inset 0 1px 0 rgba(255, 255, 255, .6); }
.c1-btn-gold:active { transform: translateY(3px); box-shadow: 0 1px 0 #b86a00, 0 4px 10px rgba(255, 170, 30, .3); }
.c1-btn-glass { color: #fff !important; background: rgba(255, 255, 255, .08); border: 1px solid var(--c1-line-2); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.c1-btn-glass:hover { background: rgba(255, 255, 255, .14); transform: translateY(-2px); }
.c1-btn-lg { height: 54px; padding: 0 26px; font-size: 16px; border-radius: 16px; }
.c1-btn-sm { height: 38px; padding: 0 14px; font-size: 13px; border-radius: 12px; }

/* ---------- 主視覺 ---------- */
.c1-hero { position: relative; overflow: hidden; isolation: isolate; padding: 64px 0 104px; }
.c1-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: url("../../img/c1/hero_bg.webp") center 30% / cover no-repeat;
}
.c1-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(700px 420px at 78% 45%, rgba(69, 227, 255, .22), transparent 60%),
    radial-gradient(600px 400px at 10% 10%, rgba(155, 107, 255, .3), transparent 60%),
    linear-gradient(90deg, rgba(7, 11, 26, .97) 0%, rgba(7, 11, 26, .86) 42%, rgba(7, 11, 26, .55) 70%, rgba(7, 11, 26, .75) 100%),
    linear-gradient(180deg, transparent 60%, var(--c1-bg) 100%);
}
.c1-hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 24px; align-items: center; }
.c1-hero-grid > * { min-width: 0; }
.c1-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px 7px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .07);
  border: 1px solid var(--c1-line-2);
  font-size: 14px;
  color: var(--c1-text-2);
  font-weight: 500;
}
.c1-eyebrow span {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--c1-up);
  color: #063;
  font-size: 12px;
  font-weight: 900;
  box-shadow: 0 0 0 4px rgba(61, 220, 132, .18);
}
.c1-title { margin: 22px 0 16px !important; line-height: 1.02; letter-spacing: -.02em; }
.c1-title .en {
  display: block;
  font-size: 88px;
  font-weight: 900;
  background: linear-gradient(180deg, #fff6c9 0%, var(--c1-gold) 45%, #ff8a00 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 6px 0 rgba(120, 50, 0, .55)) drop-shadow(0 18px 40px rgba(255, 140, 0, .25));
}
.c1-title .zh { display: block; margin-top: 6px; font-size: 60px; font-weight: 900; color: #fff; text-shadow: 0 4px 0 rgba(0, 0, 0, .35); }
.c1-lead { margin-bottom: 28px !important; max-width: 34em; font-size: 19px; line-height: 1.75; color: var(--c1-text-2); }
.c1-lead b { color: #fff; }
.c1-search {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 600px;
  height: 66px;
  padding: 0 8px 0 22px;
  border-radius: 20px;
  background: rgba(12, 18, 42, .82);
  border: 1px solid rgba(255, 255, 255, .18);
  box-shadow: 0 20px 50px rgba(0, 0, 0, .45), inset 0 1px 0 rgba(255, 255, 255, .08), 0 0 0 6px rgba(69, 227, 255, .06);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  color: var(--c1-cyan);
}
.c1-search:focus-within { border-color: rgba(69, 227, 255, .6); box-shadow: 0 20px 50px rgba(0, 0, 0, .45), 0 0 0 6px rgba(69, 227, 255, .16); }
.c1-search svg { flex: none; }
.c1-search input {
  flex: 1;
  min-width: 0;
  height: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: #fff;
  font: 500 17px var(--c1-font);
}
.c1-search input::placeholder { color: #8f99bd; }
.c1-search input::-webkit-search-cancel-button { filter: invert(1); }
.c1-search .c1-btn { height: 50px; }
.c1-hot { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 16px 0 30px !important; font-size: 14px; color: var(--c1-muted); }
.c1-hot span { white-space: nowrap; }
.c1-hot a { padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .06); border: 1px solid var(--c1-line); color: var(--c1-text-2); font-weight: 500; white-space: nowrap; }
.c1-hot a:hover { color: #fff; border-color: var(--c1-line-2); }
.c1-hot a:first-of-type { border-color: rgba(255, 200, 61, .45); color: var(--c1-gold); background: rgba(255, 200, 61, .08); }
.c1-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.c1-link { color: var(--c1-text-2); font-weight: 600; font-size: 15px; padding: 0 6px; }
.c1-link:hover { color: #fff; }

/* 果實星團 */
.c1-visual { position: relative; height: 540px; }
.c1-cluster { position: absolute; inset: 0; }
.c1-ring { position: absolute; left: 50%; top: 50%; width: 470px; height: 470px; transform: translate(-50%, -50%); border-radius: 50%; border: 1px dashed rgba(69, 227, 255, .25); }
.c1-ring-2 { width: 360px; height: 360px; border: 1px solid rgba(255, 255, 255, .06); box-shadow: inset 0 0 120px rgba(69, 227, 255, .25); }
.c1-fruit { position: absolute; width: 170px; height: auto; animation: c1-bob 6s ease-in-out infinite; }
.c1-fruit-portal { width: 380px; left: 50%; top: 50%; transform: translate(-56%, -58%); opacity: .5; animation: none; filter: drop-shadow(0 0 40px rgba(69, 227, 255, .6)); }
.c1-fruit-kitsune { width: 290px; left: 50%; top: 50%; margin: -190px 0 0 -170px; filter: drop-shadow(0 30px 30px rgba(0, 0, 0, .6)) drop-shadow(0 0 40px rgba(69, 227, 255, .55)); }
.c1-fruit-dough { width: 168px; left: 6%; top: 4%; transform: rotate(-12deg); filter: drop-shadow(0 20px 22px rgba(0, 0, 0, .55)) drop-shadow(0 0 26px rgba(255, 140, 210, .45)); animation-delay: -2s; }
.c1-fruit-tiger { right: 0; top: 12%; transform: rotate(10deg); filter: drop-shadow(0 20px 22px rgba(0, 0, 0, .55)) drop-shadow(0 0 26px rgba(255, 120, 40, .5)); animation-delay: -4s; }
.c1-fruit-buddha { width: 140px; left: 2%; bottom: 4%; transform: rotate(-6deg); filter: drop-shadow(0 20px 22px rgba(0, 0, 0, .55)) drop-shadow(0 0 26px rgba(255, 200, 61, .45)); animation-delay: -1s; }
@keyframes c1-bob { 50% { translate: 0 -10px; } }
/* 亮色漫畫風（c2）專用的裝飾，深色版不顯示 */
.c2-burst, .c2-star, .c2-mascot { display: none; }
.c1-spark { position: absolute; width: 6px; height: 6px; border-radius: 50%; background: #fff; box-shadow: 0 0 12px 3px rgba(255, 255, 255, .7); }
.c1-spark-sm { width: 4px; height: 4px; }
.c1-price-pop {
  position: absolute;
  right: -16px;
  bottom: -2%;
  width: 250px;
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(14, 22, 50, .8);
  border: 1px solid rgba(69, 227, 255, .3);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, .5);
  transition: transform .2s ease, border-color .2s ease;
}
.c1-price-pop:hover { transform: translateY(-4px); border-color: rgba(69, 227, 255, .6); }
.c1-price-pop > span { display: flex; }
.c1-price-row { align-items: center; gap: 10px; }
.c1-price-row img { width: 40px; height: 40px; }
.c1-price-name { display: block; font-weight: 800; font-size: 15px; }
.c1-price-name small { display: block; color: var(--c1-muted); font-size: 12px; font-weight: 500; }
.c1-price-row > :last-child { margin-left: auto; }
.c1-price-val { align-items: baseline; gap: 8px; margin-top: 10px; color: var(--c1-muted); font-size: 13px; }
.c1-price-val b { color: #fff; font-size: 30px; font-weight: 900; letter-spacing: -.02em; }
.c1-price-pop svg { display: block; width: 100%; height: 40px; margin-top: 8px; }
.c1-price-meta { margin-top: 4px; font-size: 11px; color: var(--c1-muted); }
:is(.c1-chip-up, .c1-chip-down, .c1-chip-flat) {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}
.c1-chip-up { color: var(--c1-up); background: rgba(61, 220, 132, .12); }
.c1-chip-down { color: var(--c1-down); background: rgba(255, 107, 107, .12); }
.c1-chip-flat { color: var(--c1-muted); background: rgba(255, 255, 255, .06); }

/* ---------- 行情跑馬燈 ---------- */
.c1-ticker { position: relative; z-index: 2; margin-top: -40px; }
.c1-ticker-bar {
  display: flex;
  align-items: center;
  height: 56px;
  border-radius: 18px;
  background: linear-gradient(90deg, rgba(255, 200, 61, .12), rgba(17, 26, 56, .96) 18%);
  border: 1px solid var(--c1-line-2);
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, .35);
}
.c1-ticker-bar:hover { border-color: rgba(255, 200, 61, .4); }
.c1-ticker-label {
  flex: none;
  display: flex;
  align-items: center;
  gap: 8px;
  height: 100%;
  padding: 0 20px;
  font-weight: 900;
  color: var(--c1-gold);
  border-right: 1px solid var(--c1-line-2);
  letter-spacing: .04em;
}
.c1-ticker-label i { width: 8px; height: 8px; border-radius: 50%; background: var(--c1-up); box-shadow: 0 0 0 4px rgba(61, 220, 132, .2); }
.c1-ticker-view {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 24px, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent 0, #000 24px, #000 88%, transparent);
}
/* 同一組行情放兩份，捲到一半剛好接回開頭，看起來是無限輪播 */
.c1-ticker-track { display: flex; width: max-content; animation: c1-marquee 45s linear infinite; }
.c1-ticker-bar:hover .c1-ticker-track { animation-play-state: paused; }
@keyframes c1-marquee { to { transform: translateX(-50%); } }
.c1-ticker-items {
  display: flex;
  gap: 34px;
  padding: 0 34px 0 24px;
  white-space: nowrap;
  font-size: 15px;
  color: var(--c1-text-2);
}
.c1-ticker-items b { color: #fff; font-weight: 800; margin: 0 6px; }
.c1-ticker-items em { font-style: normal; font-weight: 800; }
.c1-up { color: var(--c1-up); }
.c1-down { color: var(--c1-down); }

/* 個人工具清單、會員新手卡（沿用原本的元件，換成深色） */
.c1-personal { display: grid; gap: 18px; margin-top: 28px; }
.c1-personal:not(:has(> :not([hidden]))) { display: none; }
.c1-home .saved-tools,
.c1-home .member-activation {
  background: var(--c1-surface);
  border: 1px solid var(--c1-line-2);
  border-radius: 22px;
  box-shadow: 0 16px 34px rgba(0, 0, 0, .3);
  color: var(--c1-text);
}
.c1-home .saved-tools :is(h2, strong, b),
.c1-home .member-activation :is(h2, strong, b) { color: #fff; }
.c1-home .saved-tools :is(p, small, span),
.c1-home .member-activation :is(p, small, span) { color: var(--c1-text-2); }
.c1-home .saved-tools-kicker,
.c1-home .member-activation-copy > p { color: var(--c1-cyan) !important; }
.c1-home :is(.saved-tools-grid, .member-activation-goals, .member-activation-next) :is(a, button) {
  background: rgba(255, 255, 255, .05);
  border: 1px solid var(--c1-line-2);
  color: var(--c1-text);
}

/* ---------- 區塊標題 ---------- */
.c1-block { padding-top: 72px; }
.c1-block-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 26px; }
.c1-kicker { font-size: 13px; font-weight: 800; letter-spacing: .2em; color: var(--c1-cyan); text-transform: uppercase; }
.c1-block-head h2 { margin-top: 8px !important; font-size: 34px; font-weight: 900; letter-spacing: -.01em; color: #fff; }
.c1-block-head p:not(.c1-kicker) { margin-top: 8px !important; color: var(--c1-text-2); font-size: 16px; }
.c1-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  border-radius: 12px;
  border: 1px solid rgba(255, 200, 61, .3);
  background: rgba(255, 200, 61, .06);
  color: var(--c1-gold) !important;
  font-weight: 700;
  font-size: 15px;
  white-space: nowrap;
}
.c1-more:hover { background: rgba(255, 200, 61, .14); }

/* ---------- 果實行情卡 ---------- */
.c1-fruit-row { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; padding-top: 50px; }
.c1-fcard {
  position: relative;
  display: block;
  padding: 92px 18px 18px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .02)), var(--c1-surface);
  border: 1px solid var(--c1-line);
  box-shadow: 0 14px 30px rgba(0, 0, 0, .35), inset 0 1px 0 rgba(255, 255, 255, .06);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.c1-fcard::before { content: ""; position: absolute; inset: 0; border-radius: 22px; background: radial-gradient(220px 140px at 50% 0%, var(--glow), transparent 70%); opacity: .55; pointer-events: none; }
.c1-fcard-art { position: absolute; left: 50%; top: -54px; width: 150px; transform: translateX(-50%); filter: drop-shadow(0 18px 18px rgba(0, 0, 0, .55)) drop-shadow(0 0 22px var(--glow)); transition: transform .25s ease; }
.c1-fcard:hover { transform: translateY(-8px); border-color: rgba(69, 227, 255, .55); box-shadow: 0 26px 50px rgba(0, 0, 0, .5), 0 0 0 1px rgba(69, 227, 255, .3), 0 0 50px rgba(69, 227, 255, .2); }
.c1-fcard:hover .c1-fcard-art { transform: translateX(-50%) translateY(-6px) rotate(-4deg) scale(1.05); }
.c1-rar { position: absolute; top: 14px; right: 14px; padding: 4px 9px; border-radius: 999px; font-size: 11px; font-weight: 800; letter-spacing: .04em; color: #fff; background: #64748b; }
.c1-rar-mythical { background: #ff4d6d; }
.c1-rar-legendary { background: #b06cff; }
.c1-rar-rare { background: #3b82f6; }
.c1-rar-uncommon { background: #22a06b; }
.c1-fcard-name { position: relative; display: block; font-size: 20px; font-weight: 900; }
.c1-fcard-name small { display: block; margin-top: 2px; font-size: 12px; color: var(--c1-muted); font-weight: 600; letter-spacing: .06em; }
.c1-fcard-perm { position: relative; display: block; margin-top: 14px; font-size: 12px; color: var(--c1-muted); font-weight: 600; }
.c1-fcard-perm b { display: block; margin-top: 2px; font-size: 32px; color: #fff; font-weight: 900; letter-spacing: -.02em; line-height: 1.15; }
.c1-fcard-sub { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 6px; margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--c1-line-2); font-size: 13px; color: var(--c1-text-2); }

/* ---------- 便當格攻略分類 ---------- */
.c1-bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 210px; gap: 18px; }
.c1-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  isolation: isolate;
  padding: 24px;
  border-radius: 24px;
  border: 1px solid var(--c1-line-2);
  background: var(--c1-surface);
  box-shadow: 0 16px 34px rgba(0, 0, 0, .35);
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.c1-tile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(7, 11, 26, 0) 25%, rgba(7, 11, 26, .92) 100%); }
.c1-tile-bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100% !important; object-fit: cover; transition: transform .5s ease; }
.c1-tile:hover { transform: translateY(-4px); border-color: rgba(255, 200, 61, .45); box-shadow: 0 24px 46px rgba(0, 0, 0, .45); }
.c1-tile:hover .c1-tile-bg { transform: scale(1.06); }
.c1-tile h3 { font-size: 24px; font-weight: 900; color: #fff; }
.c1-tile p { margin-top: 6px !important; color: var(--c1-text-2); font-size: 14px; line-height: 1.6; }
.c1-tag { position: absolute; top: 18px; left: 18px; padding: 5px 10px; border-radius: 999px; font-size: 12px; font-weight: 800; background: rgba(7, 11, 26, .6); border: 1px solid var(--c1-line-2); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); color: #fff; }
.c1-arrow { position: absolute; right: 20px; bottom: 22px; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: rgba(255, 255, 255, .1); border: 1px solid var(--c1-line-2); font-weight: 900; }
.c1-tile-fruit { grid-column: span 2; grid-row: span 2; }
.c1-tile-fruit h3 { font-size: 36px; }
.c1-stack { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.c1-stack span { padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .1); border: 1px solid var(--c1-line-2); font-size: 13px; font-weight: 600; }
.c1-tile-boss { grid-column: span 2; background: linear-gradient(120deg, #3b0f2d, #1a0b2e 60%); }
.c1-tile-boss::after { background: linear-gradient(90deg, rgba(20, 8, 30, .95) 30%, rgba(20, 8, 30, 0) 75%); }
.c1-tile-boss .c1-tile-bg { left: 45%; width: 55%; opacity: .45; }
.c1-tile-pop { position: absolute; right: -10px; bottom: -18px; z-index: -1; width: 300px; filter: drop-shadow(0 20px 30px rgba(0, 0, 0, .6)); }
.c1-home .c1-tile-code { justify-content: space-between; background: linear-gradient(140deg, #ffd76a, #ff9f1c); color: #2a1600; }
.c1-tile-code::after { display: none; }
.c1-tile-code h3 { color: #2a1600; }
.c1-tag-light { position: static; align-self: flex-start; background: rgba(255, 255, 255, .5); border-color: rgba(90, 50, 0, .2); color: #2a1600; }
.c1-codebox { display: flex; align-items: center; justify-content: space-between; margin-top: 12px; padding: 10px 12px; border-radius: 12px; background: rgba(255, 255, 255, .55); border: 2px dashed rgba(90, 50, 0, .35); font-weight: 800; font-size: 14px; letter-spacing: .04em; }
.c1-codebox em { font-style: normal; font-size: 12px; padding: 4px 10px; border-radius: 8px; background: #2a1600; color: var(--c1-gold); }
.c1-tile-new { grid-column: span 2; background: linear-gradient(135deg, #0f2f2a, #0b1c33); }
.c1-tile-new::after { display: none; }
.c1-tile-new h3 { margin-top: 46px; }
.c1-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 16px; }
.c1-steps span { padding: 12px; border-radius: 14px; background: rgba(255, 255, 255, .05); border: 1px solid var(--c1-line); font-size: 13px; color: var(--c1-text-2); }
.c1-steps b { display: block; font-size: 22px; color: var(--c1-up); font-weight: 900; }

/* ---------- 更新＋揪團 ---------- */
.c1-duo { display: grid; grid-template-columns: 1.6fr 1fr; gap: 18px; }
.c1-duo > * { min-width: 0; }
.c1-update {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  overflow: hidden;
  border-radius: 24px;
  background: var(--c1-surface);
  border: 1px solid var(--c1-line-2);
  box-shadow: 0 16px 34px rgba(0, 0, 0, .35);
  transition: transform .25s ease, border-color .25s ease;
}
.c1-update:hover { transform: translateY(-4px); border-color: rgba(155, 107, 255, .5); }
.c1-update-pic { position: relative; min-height: 280px; background: center / cover no-repeat; }
.c1-update-pic.is-icon { display: grid; place-items: center; font-size: 84px; background: radial-gradient(circle at 50% 40%, rgba(155, 107, 255, .35), transparent 65%), linear-gradient(135deg, #1d1446, #0d1636); }
.c1-update-pic em { position: absolute; left: 16px; top: 16px; padding: 5px 10px; border-radius: 999px; background: var(--c1-pink); color: #fff; font-style: normal; font-weight: 800; font-size: 12px; }
.c1-update-txt { display: flex; flex-direction: column; padding: 26px; }
.c1-update-meta { font-size: 13px; color: var(--c1-muted); font-weight: 600; }
.c1-update-txt strong { margin: 10px 0; font-size: 24px; line-height: 1.4; font-weight: 900; color: #fff; }
.c1-update-sum { color: var(--c1-text-2); line-height: 1.75; font-size: 15px; }
.c1-update-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 16px; }
.c1-update-tags span { padding: 5px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; background: rgba(155, 107, 255, .14); color: #d6c4ff; }
.c1-raid {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 26px;
  border-radius: 24px;
  background: radial-gradient(400px 220px at 100% 0%, rgba(255, 100, 40, .35), transparent 60%), linear-gradient(160deg, #2a1208, #170b1f);
  border: 1px solid rgba(255, 140, 60, .3);
  box-shadow: 0 16px 34px rgba(0, 0, 0, .35);
  transition: transform .25s ease, border-color .25s ease;
}
.c1-raid:hover { transform: translateY(-4px); border-color: rgba(255, 140, 60, .6); }
.c1-raid .c1-kicker { color: #ffb37a; }
.c1-raid strong { margin: 8px 0 4px; font-size: 26px; font-weight: 900; color: #fff; }
.c1-raid-desc { color: #e8c9b8; font-size: 14px; line-height: 1.65; }
.c1-count { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 20px 0; }
.c1-count > span { padding: 12px 0 10px; text-align: center; border-radius: 14px; background: rgba(0, 0, 0, .3); border: 1px solid rgba(255, 255, 255, .1); }
.c1-count b { display: block; font-size: 38px; font-weight: 900; line-height: 1; background: linear-gradient(180deg, #fff, #ffb37a); -webkit-background-clip: text; background-clip: text; color: transparent; }
.c1-count small { font-size: 12px; color: #e8c9b8; }
.c1-raid-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 14px; font-size: 13px; color: #e8c9b8; }

/* ---------- 問題清單 ---------- */
.c1-qa { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.c1-q { display: flex; align-items: center; gap: 18px; padding: 20px 22px; border-radius: 18px; background: var(--c1-surface); border: 1px solid var(--c1-line); transition: border-color .2s ease, transform .2s ease; }
.c1-q:hover { border-color: rgba(69, 227, 255, .45); transform: translateX(4px); }
.c1-q-n { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; font-weight: 900; font-size: 18px; color: var(--c1-bg); background: linear-gradient(180deg, #8ff3ff, var(--c1-cyan)); box-shadow: 0 6px 18px rgba(69, 227, 255, .3); }
.c1-q b { display: block; font-size: 17px; font-weight: 800; color: #fff; }
.c1-q small { display: block; margin-top: 3px; color: var(--c1-muted); font-size: 14px; }
.c1-q i { margin-left: auto; font-style: normal; color: var(--c1-muted); font-size: 20px; }
.c1-q-wide { grid-column: span 2; }

/* ---------- 廣告、LINE 貼圖 ---------- */
.c1-ad { margin-top: 56px; }
.c1-ad:empty { display: none; }
.c1-sticker {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  align-items: center;
  gap: 30px;
  margin-top: 56px;
  padding: 28px;
  border-radius: 24px;
  background: radial-gradient(500px 260px at 0% 50%, rgba(61, 220, 132, .14), transparent 60%), var(--c1-surface);
  border: 1px solid var(--c1-line-2);
}
.c1-sticker-gallery { display: flex; gap: 12px; }
.c1-sticker-gallery picture { flex: 1; }
.c1-sticker-gallery img { width: 100%; border-radius: 14px; background: #fff; }
.c1-sticker-copy h2 { margin: 8px 0 !important; font-size: 26px; font-weight: 900; color: #fff; }
.c1-sticker-copy p:not(.c1-kicker) { margin-bottom: 18px !important; color: var(--c1-text-2); line-height: 1.75; }
.c1-sticker .c1-kicker { color: var(--c1-up); letter-spacing: .08em; }

/* 手機底部快速鍵（捲過主視覺後才出現；舊首頁的樣式在 home_page_inline.css，改版不載入，這裡自備） */
.c1-quick { display: none; }
@media (max-width: 680px) {
  .c1-quick:not([hidden]) {
    position: fixed;
    z-index: 90;
    right: 15px;
    bottom: max(12px, env(safe-area-inset-bottom));
    left: 15px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 8px;
    width: min(360px, calc(100% - 30px));
    margin: 0 auto;
    padding: 6px;
    border-radius: 18px;
    background: rgba(7, 11, 26, .9);
    border: 1px solid var(--c1-line-2);
    box-shadow: 0 16px 36px rgba(0, 0, 0, .5);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    font-family: var(--c1-font);
  }
  .c1-quick .approved-mobile-quick-action {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    gap: 7px;
    border-radius: 13px;
    font-size: .96rem;
    font-weight: 800;
    text-decoration: none;
  }
  .c1-quick .approved-mobile-quick-action-primary { color: #3a2200; background: var(--c1-btn-gold); box-shadow: 0 3px 0 #b86a00; }
  .c1-quick .approved-mobile-quick-action-secondary { color: #fff; background: rgba(255, 255, 255, .08); border: 1px solid var(--c1-line-2); }
  body.c1-home-page.quick-actions-active .c1-home { padding-bottom: 80px; }
  /* 快速列出現時，右下角的網站工具與回到頂端往上讓位，不要疊在「算交易」上 */
  body.c1-home-page.quick-actions-active .line-float { bottom: calc(max(12px, env(safe-area-inset-bottom)) + 70px); }
  body.c1-home-page.quick-actions-active .bf-to-top { bottom: calc(max(12px, env(safe-area-inset-bottom)) + 126px); }
}

/* ---------- 平板 ---------- */
@media (max-width: 1100px) {
  .c1-title .en { font-size: 70px; }
  .c1-title .zh { font-size: 50px; }
  .c1-visual { height: 460px; transform: scale(.88); transform-origin: center; }
  .c1-fruit-row { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 70px; }
  .c1-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- 手機 ---------- */
@media (max-width: 680px) {
  .c1-wrap { width: calc(100% - 32px); }
  .c1-hero { padding: 34px 0 70px; }
  .c1-hero::before { background-image: url("../../img/c1/hero_bg_mobile.webp"); }
  .c1-hero-grid { grid-template-columns: 1fr; gap: 10px; }
  .c1-eyebrow { font-size: 12px; }
  .c1-title .en { font-size: 52px; }
  .c1-title .zh { font-size: 38px; }
  .c1-lead { font-size: 16px; margin-bottom: 20px !important; }
  .c1-search { height: 58px; padding-left: 16px; }
  .c1-search input { font-size: 15px; }
  .c1-search .c1-btn { height: 44px; padding: 0 14px; }
  .c1-hot { flex-wrap: nowrap; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); }
  .c1-cta .c1-btn { flex: 1; height: 52px; padding: 0 12px; }
  .c1-link { display: none; }
  .c1-visual { height: 330px; transform: none; }
  .c1-ring { width: 300px; height: 300px; }
  .c1-ring-2 { width: 230px; height: 230px; }
  .c1-fruit-portal { width: 200px; }
  .c1-fruit-kitsune { width: 190px; margin: -110px 0 0 -110px; }
  .c1-fruit-dough { width: 104px; left: 2%; top: 2%; }
  .c1-fruit-tiger { width: 104px; right: 2%; top: 4%; }
  .c1-fruit-buddha { width: 90px; left: 4%; bottom: 4%; }
  .c1-price-pop { width: 186px; right: -6px; bottom: -14px; padding: 12px 14px; }
  .c1-price-row { gap: 8px; }
  .c1-price-row img { width: 32px; height: 32px; }
  .c1-price-name small { display: none; }
  .c1-price-val { flex-wrap: wrap; gap: 0 6px; font-size: 12px; }
  .c1-price-val b { font-size: 24px; white-space: nowrap; }
  .c1-codebox { padding: 8px; font-size: 12px; letter-spacing: 0; white-space: nowrap; }
  .c1-codebox em { padding: 3px 6px; }
  .c1-price-pop svg { height: 28px; }
  .c1-price-meta { display: none; }
  .c1-ticker-bar { height: 50px; }
  .c1-ticker-label { padding: 0 12px; font-size: 14px; }
  .c1-ticker-items { font-size: 14px; gap: 22px; padding: 0 22px 0 14px; }
  .c1-block { padding-top: 54px; }
  .c1-block-head { flex-direction: column; align-items: flex-start; }
  .c1-block-head h2 { font-size: 26px; }
  .c1-more { padding: 8px 12px; font-size: 14px; }
  .c1-fruit-row { display: flex; gap: 14px; margin-right: -16px; padding-right: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-top: 56px; }
  .c1-fruit-row::-webkit-scrollbar { display: none; }
  .c1-fcard { flex: 0 0 62%; padding-top: 84px; scroll-snap-align: start; }
  .c1-fcard-art { width: 128px; top: -44px; }
  .c1-bento { grid-template-columns: 1fr 1fr; grid-auto-rows: minmax(170px, auto); gap: 12px; }
  .c1-tile-fruit, .c1-tile-boss, .c1-tile-new { grid-column: span 2; }
  .c1-tile-fruit { min-height: 340px; }
  .c1-tile-fruit h3 { font-size: 28px; }
  .c1-tile-pop { width: 210px; }
  .c1-tile { padding: 18px; border-radius: 20px; }
  .c1-tile h3 { font-size: 20px; }
  .c1-tile:not(.c1-tile-fruit) h3 { font-size: 18px; }
  .c1-tile p { font-size: 13px; }
  .c1-arrow { display: none; }
  .c1-tile-new h3 { margin-top: 40px; }
  .c1-steps { grid-template-columns: 1fr 1fr; }
  .c1-duo, .c1-update { grid-template-columns: 1fr; }
  .c1-update-pic { min-height: 190px; }
  .c1-qa { grid-template-columns: 1fr; }
  .c1-q-wide { grid-column: auto; }
  .c1-sticker { grid-template-columns: 1fr; padding: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  .c1-fruit, .c1-ticker-track { animation: none; }
}
