/* ==========================================================================
   干饭魔法书 · 可点击原型
   在小程序原有 WXSS 的基础上按 750rpx → 340px 等比还原
   ========================================================================== */

.phone-screen { font-size: 14px; }

/* 屏幕容器 */
.gf-screen {
  position: absolute;
  inset: 0;
  overflow-y: auto;
  overflow-x: hidden;
  display: none;
  background:
    radial-gradient(circle at 100% 0, rgba(234, 173, 157, 0.22), transparent 30%),
    radial-gradient(circle at 0 28%, rgba(211, 226, 217, 0.44), transparent 30%),
    linear-gradient(180deg, #f3f0eb 0%, #ebe8e2 56%, #dfdcd5 100%);
  color: #27312f;
  padding-bottom: 62px;
  scrollbar-width: none;
}
.gf-screen::-webkit-scrollbar { width: 0; height: 0; }
.gf-screen.is-active { display: block; }

.gf-pad { padding: 0 11px; }
.gf-bottom { height: 18px; }

/* ---------- 通用元素 ---------- */
.gf-kicker {
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: #b95751;
}
.gf-sechead {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin: 17px 0 9px;
}
.gf-sechead h4 { margin: 0; font-size: 15px; font-weight: 800; letter-spacing: -0.01em; }
.gf-sechead h4::before {
  content: "";
  display: inline-block;
  width: 12px; height: 2px;
  background: linear-gradient(90deg, #c3655e, #cdb276);
  border-radius: 2px;
  margin-right: 6px;
  vertical-align: 4px;
}
.gf-sechead span { font-size: 11px; color: #c3655e; font-weight: 700; }

.gf-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.gf-img-fallback { background: linear-gradient(135deg, #3b2327, #7f4b43); }

/* ---------- 首页 ---------- */
.gf-hero {
  position: relative;
  min-height: 214px;
  padding: 22px 15px 20px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(19, 25, 22, 0.1), rgba(19, 25, 22, 0.6)), #687166;
  border-radius: 0 0 16px 16px;
}
.gf-hero-shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(17, 24, 21, 0.52), rgba(17, 24, 21, 0.06) 70%, rgba(17, 24, 21, 0.2)),
    linear-gradient(180deg, rgba(17, 24, 21, 0.04) 0%, rgba(17, 24, 21, 0.28) 58%, rgba(17, 24, 21, 0.46) 100%);
}
.gf-hero::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0; height: 42px;
  background: linear-gradient(180deg, rgba(235, 232, 226, 0), rgba(235, 232, 226, 0.34) 54%, #ebe8e2 100%);
}
.gf-hero-top {
  position: relative; z-index: 1;
  display: flex; align-items: flex-start; justify-content: space-between; gap: 8px;
}
.gf-brand { color: #fffaf5; font-size: 22px; font-weight: 800; margin-top: 3px; letter-spacing: -0.01em; }
.gf-greet { color: rgba(255, 250, 245, 0.82); font-size: 12px; margin-top: 3px; }
.gf-note {
  flex: none;
  padding: 5px 9px;
  font-size: 10px; font-weight: 700;
  color: #fff5e9;
  background: rgba(255, 255, 255, 0.46);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(9px);
}
.gf-search {
  position: relative; z-index: 1;
  display: flex; align-items: center;
  height: 35px; margin-top: 14px; padding: 0 10px;
  background: rgba(247, 244, 238, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 9px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.56), 0 8px 17px rgba(20, 25, 23, 0.16);
  backdrop-filter: blur(13px) saturate(125%);
}
.gf-search span { color: #dd726b; font-size: 17px; margin-right: 7px; line-height: 1; }
.gf-search input {
  flex: 1; border: none; background: none; outline: none;
  color: #fffaf5; font-size: 12px; font-family: inherit;
}
.gf-search input::placeholder { color: rgba(255, 250, 245, 0.74); }

.gf-body { margin-top: -12px; position: relative; z-index: 2; padding: 0 11px; }

/* 分类卡 */
.gf-cats { display: flex; gap: 7px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.gf-cats::-webkit-scrollbar { display: none; }
.gf-cat {
  position: relative;
  flex: none;
  width: 128px;
  min-height: 52px;
  padding: 9px 10px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.34)), rgba(255, 255, 255, 0.48);
  border: 1px solid rgba(56, 64, 60, 0.16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 10px 24px rgba(47, 53, 49, 0.1);
  backdrop-filter: blur(14px) saturate(125%);
  cursor: pointer;
  transition: transform 0.16s, box-shadow 0.16s;
}
.gf-cat:active { transform: scale(0.97); }
.gf-cat.is-on {
  border-color: rgba(255, 255, 255, 0.94);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.96), 0 8px 16px rgba(139, 55, 76, 0.18);
}
.gf-cat b { display: block; font-size: 13px; font-weight: 800; }
.gf-cat small { display: block; margin-top: 3px; color: #68736e; font-size: 10px; line-height: 1.35; }
.gf-cat i {
  position: absolute; top: 7px; right: 8px;
  font-style: normal; font-size: 10px; font-weight: 800;
  color: rgba(39, 49, 47, 0.42);
}

/* 今日推荐 */
.gf-featured {
  position: relative;
  height: 150px;
  overflow: hidden;
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  background: #5c343c;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.68), 0 9px 19px rgba(47, 53, 49, 0.16);
  cursor: pointer;
}
.gf-featured:active { transform: scale(0.98); }
.gf-featured .gf-shade {
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(8, 10, 10, 0.88), rgba(8, 10, 10, 0.08) 72%), linear-gradient(90deg, rgba(8, 10, 10, 0.22), transparent 60%);
}
.gf-featured-copy { position: absolute; left: 12px; right: 12px; bottom: 11px; color: #f8f5f1; }
.gf-featured-copy b { display: block; font-size: 17px; font-weight: 800; }
.gf-featured-copy small { display: block; margin-top: 3px; font-size: 11px; color: rgba(248, 245, 241, 0.84); }
.gf-featured-meta { display: flex; gap: 9px; margin-top: 7px; color: #ffd07b; font-size: 10.5px; }

/* 魔法横幅 */
.gf-banner {
  display: flex; align-items: center; justify-content: space-between; gap: 9px;
  margin-top: 12px; padding: 12px;
  border-radius: 13px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.3)), rgba(240, 204, 190, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.78);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 10px 23px rgba(47, 53, 49, 0.1);
  backdrop-filter: blur(14px) saturate(125%);
  cursor: pointer;
}
.gf-banner:active { transform: scale(0.98); }
.gf-banner b { display: block; font-size: 14px; font-weight: 800; }
.gf-banner small { display: block; margin-top: 3px; color: #68736e; font-size: 11px; line-height: 1.45; }
.gf-banner-btn {
  flex: none; padding: 6px 9px; border-radius: 8px;
  font-size: 12px; font-weight: 800; color: #2b3532;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.32)), linear-gradient(135deg, #f7dfbd, #e5b38a);
  border: 1px solid rgba(255, 255, 255, 0.86);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.96), 0 6px 13px rgba(47, 53, 49, 0.14);
}

/* 菜谱卡 */
.gf-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.gf-card {
  border-radius: 12px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: inset 0 1px 0 #fff, 0 8px 20px rgba(47, 53, 49, 0.09);
  cursor: pointer;
  transition: transform 0.16s;
}
.gf-card:active { transform: scale(0.97); }
.gf-card-cover { position: relative; height: 86px; background: #3b2327; }
.gf-card-cover .gf-fav {
  position: absolute; top: 5px; right: 5px;
  width: 22px; height: 22px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(8px);
  font-size: 12px; color: #b95751; line-height: 1;
}
.gf-card-cover .gf-fav.is-on { background: rgba(195, 101, 94, 0.94); color: #fff5e9; }
.gf-card-body { padding: 8px 9px 10px; }
.gf-card-body b { display: block; font-size: 12px; font-weight: 700; line-height: 1.35; }
.gf-card-meta { margin-top: 4px; font-size: 10px; color: #68736e; }
.gf-tags { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 6px; }
.gf-tag {
  font-size: 9.5px; padding: 2px 6px; border-radius: 999px;
  background: rgba(211, 226, 217, 0.62); color: #4f5b56; font-weight: 600;
}
.gf-empty { text-align: center; padding: 30px 10px; color: #68736e; font-size: 12px; }

/* ---------- 菜谱详情 ---------- */
.gf-detail-cover { position: relative; height: 190px; background: #3b2327; }
.gf-detail-cover::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(8, 10, 10, 0.82), rgba(8, 10, 10, 0.05) 62%);
}
.gf-back {
  position: absolute; top: 14px; left: 12px; z-index: 3;
  width: 28px; height: 28px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.34);
  border: 1px solid rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(10px);
  display: flex; align-items: center; justify-content: center;
  color: #fffaf5; font-size: 15px;
  cursor: pointer;
}
.gf-fav-btn {
  position: absolute; right: 12px; bottom: 12px; z-index: 3;
  padding: 6px 11px; border-radius: 999px;
  font-size: 11px; font-weight: 700; color: #fff5e9;
  background: rgba(255, 255, 255, 0.26);
  border: 1px solid rgba(255, 255, 255, 0.62);
  backdrop-filter: blur(12px);
}
.gf-fav-btn.is-on { background: rgba(195, 101, 94, 0.9); border-color: rgba(255, 255, 255, 0.8); }

.gf-detail-body { padding: 14px 14px 0; }
.gf-eyebrow { font-size: 10px; font-weight: 800; letter-spacing: 0.08em; color: #c58f46; }
.gf-title { font-size: 21px; font-weight: 800; margin-top: 5px; letter-spacing: -0.01em; line-height: 1.25; }
.gf-subtitle { font-size: 12px; color: #68736e; margin-top: 5px; line-height: 1.6; }
.gf-dtags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 10px; }
.gf-dtag {
  font-size: 10.5px; padding: 3px 8px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.78); border: 1px solid rgba(255, 255, 255, 0.9);
  color: #4f5b56; font-weight: 600;
}
.gf-dtag.is-mode { background: rgba(232, 173, 157, 0.28); color: #a84f49; border-color: transparent; }

.gf-nutri { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 4px; }
.gf-nutri > div {
  padding: 10px 4px; border-radius: 11px; text-align: center;
  background: rgba(255, 255, 255, 0.72); border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 4px 12px rgba(47, 53, 49, 0.06);
}
.gf-nutri b { display: block; font-size: 15px; font-weight: 800; }
.gf-nutri b em { font-style: normal; font-size: 9px; font-weight: 600; color: #8b938f; margin-left: 1px; }
.gf-nutri span { display: block; font-size: 9.5px; color: #8b938f; margin-top: 2px; }
.gf-nutri-extra {
  margin-top: 8px; padding: 9px 11px; border-radius: 10px;
  background: rgba(211, 226, 217, 0.4);
  font-size: 10.5px; color: #4f5b56; line-height: 1.6;
}

.gf-ing-list { display: flex; flex-direction: column; gap: 6px; }
.gf-ing {
  display: flex; align-items: center; gap: 9px;
  padding: 9px 11px; border-radius: 10px;
  background: rgba(255, 255, 255, 0.66);
  border: 1px solid rgba(255, 255, 255, 0.86);
  cursor: pointer; font-size: 12px;
}
.gf-ing.is-on { background: rgba(211, 226, 217, 0.46); }
.gf-ing.is-on .gf-ing-name { text-decoration: line-through; color: #8b938f; }
.gf-check {
  width: 15px; height: 15px; border-radius: 5px; flex: none;
  border: 1px solid rgba(39, 49, 47, 0.24);
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; color: #fff; background: rgba(255, 255, 255, 0.7);
}
.gf-ing.is-on .gf-check { background: #c3655e; border-color: #c3655e; }
.gf-ing-name { flex: 1; }
.gf-ing-amt { color: #68736e; font-size: 11px; flex: none; }

.gf-step { display: flex; gap: 10px; padding: 10px 0; border-bottom: 1px dashed rgba(39, 49, 47, 0.12); }
.gf-step:last-child { border-bottom: none; }
.gf-step-n {
  flex: none; width: 22px; height: 22px; border-radius: 50%;
  background: linear-gradient(135deg, #f7dfbd, #e5b38a);
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 800; color: #2b3532;
}
.gf-step b { display: block; font-size: 12.5px; font-weight: 700; }
.gf-step p { margin: 4px 0 0; font-size: 11.5px; color: #68736e; line-height: 1.65; }

.gf-notice {
  margin-top: 14px; padding: 12px; border-radius: 12px;
  background: rgba(255, 255, 255, 0.66);
  border: 1px solid rgba(255, 255, 255, 0.86);
}
.gf-notice b { display: block; font-size: 11.5px; font-weight: 800; color: #c58f46; margin-bottom: 6px; }
.gf-notice div { font-size: 11.5px; color: #68736e; line-height: 1.7; }

.gf-actionbar {
  position: sticky; bottom: 0; z-index: 5;
  display: flex; gap: 8px; padding: 10px 14px 14px;
  margin-top: 16px;
  background: linear-gradient(180deg, rgba(235, 232, 226, 0), rgba(235, 232, 226, 0.94) 40%);
  backdrop-filter: blur(10px);
}
.gf-actionbar button {
  flex: 1; padding: 12px; border-radius: 13px;
  font-size: 13px; font-weight: 800;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 8px 18px rgba(47, 53, 49, 0.1);
  color: #2b3532;
}
.gf-actionbar button.gf-primary {
  flex: 1.5;
  background: linear-gradient(135deg, #c3655e, #a84f49);
  color: #fff8f2; border-color: transparent;
  box-shadow: 0 12px 26px rgba(168, 79, 73, 0.3);
}
.gf-actionbar button.is-done {
  background: linear-gradient(135deg, #9fb3a9, #7f9a8e);
  color: #fff;
}

/* ---------- 魔法盲盒 ---------- */
.gf-ritual-hero {
  position: relative; height: 156px; overflow: hidden;
  padding: 20px 15px;
  background: linear-gradient(180deg, rgba(19, 25, 22, 0.14), rgba(19, 25, 22, 0.66)), #5c343c;
  border-radius: 0 0 16px 16px;
  display: flex; flex-direction: column; justify-content: flex-end;
}
.gf-ritual-hero .gf-kicker { color: #ffd07b; position: relative; z-index: 1; }
.gf-ritual-hero b { position: relative; z-index: 1; color: #fffaf5; font-size: 22px; font-weight: 800; margin-top: 4px; }
.gf-ritual-hero small { position: relative; z-index: 1; color: rgba(255, 250, 245, 0.8); font-size: 11.5px; margin-top: 5px; line-height: 1.55; }

.gf-deck-stage { padding: 14px 14px 0; }
.gf-deck {
  position: relative;
  height: 176px;
  border-radius: 17px;
  overflow: hidden;
  cursor: pointer;
  background: #3b2327;
  box-shadow: 0 16px 34px rgba(47, 53, 49, 0.2);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.gf-deck:active { transform: scale(0.985); }
.gf-deck .gf-shade {
  position: absolute; inset: 0;
  background: linear-gradient(160deg, rgba(20, 12, 16, 0.5), rgba(20, 12, 16, 0.72));
}
.gf-deck-main { position: absolute; inset: 0; padding: 14px; display: flex; flex-direction: column; color: #f8f5f1; }
.gf-deck-line { display: flex; justify-content: space-between; font-size: 8.5px; letter-spacing: 0.16em; color: rgba(248, 245, 241, 0.68); font-weight: 700; }
.gf-deck-title { margin-top: auto; font-size: 19px; font-weight: 800; letter-spacing: -0.01em; }
.gf-deck-desc { margin-top: 5px; font-size: 11.5px; color: rgba(248, 245, 241, 0.82); line-height: 1.55; }
.gf-deck-foot {
  margin-top: 11px; padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  display: flex; align-items: center; justify-content: space-between;
  font-size: 11px; font-weight: 700; color: #ffd07b;
}
.gf-deck.is-open .gf-deck-title { color: #ffd07b; }
.gf-deck-meta {
  display: flex; justify-content: space-between;
  margin-top: 9px; font-size: 10.5px; color: #68736e;
}

.gf-modes { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.gf-chip {
  padding: 6px 12px; border-radius: 999px;
  font-size: 11.5px; font-weight: 600;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(255, 255, 255, 0.9);
  color: #4f5b56; cursor: pointer;
  transition: all 0.16s;
}
.gf-chip:active { transform: scale(0.96); }
.gf-chip.is-on {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.6), rgba(232, 173, 157, 0.5));
  color: #a84f49; font-weight: 800;
  border-color: rgba(255, 255, 255, 1);
  box-shadow: 0 6px 14px rgba(139, 55, 76, 0.14);
}

.gf-result {
  margin-top: 14px; padding: 14px; border-radius: 15px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.84), rgba(255, 255, 255, 0.44));
  border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow: inset 0 1px 0 #fff, 0 14px 30px rgba(47, 53, 49, 0.1);
  animation: gfPop 0.42s cubic-bezier(0.22, 1, 0.36, 1);
}
@keyframes gfPop { from { opacity: 0; transform: translateY(12px) scale(0.98); } to { opacity: 1; transform: none; } }
.gf-result-head { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; }
.gf-result-label { font-size: 9px; font-weight: 800; letter-spacing: 0.12em; color: #c58f46; }
.gf-result-title { font-size: 15px; font-weight: 800; margin-top: 4px; }
.gf-result-sum { font-size: 11px; color: #68736e; margin-top: 4px; line-height: 1.6; }
.gf-result-total { flex: none; text-align: right; }
.gf-result-total b { display: block; font-size: 20px; font-weight: 800; color: #c3655e; line-height: 1; }
.gf-result-total span { font-size: 9.5px; color: #8b938f; }
.gf-menu-item {
  display: flex; align-items: center; gap: 9px;
  padding: 8px; margin-top: 7px; border-radius: 11px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.9);
  cursor: pointer;
}
.gf-menu-item:active { transform: scale(0.98); }
.gf-menu-thumb { position: relative; width: 40px; height: 40px; border-radius: 9px; overflow: hidden; flex: none; background: #3b2327; }
.gf-menu-item b { font-size: 12px; font-weight: 700; display: block; }
.gf-menu-item small { font-size: 10px; color: #68736e; display: block; margin-top: 2px; }
.gf-creative {
  display: inline-block; font-size: 9px; padding: 1px 5px; border-radius: 999px;
  background: rgba(255, 208, 123, 0.34); color: #a3772a; font-weight: 700; margin-left: 4px;
}
.gf-result-actions { display: flex; gap: 8px; margin-top: 12px; }
.gf-result-actions button { flex: 1; padding: 10px; border-radius: 11px; font-size: 12px; font-weight: 800; }
.gf-btn-sec { background: rgba(255, 255, 255, 0.8); border: 1px solid rgba(255, 255, 255, 0.95); color: #2b3532; }
.gf-btn-pri { background: linear-gradient(135deg, #c3655e, #a84f49); color: #fff8f2; box-shadow: 0 8px 20px rgba(168, 79, 73, 0.26); }

/* ---------- 营养助手 ---------- */
.gf-advisor-hero {
  position: relative; height: 168px; overflow: hidden;
  padding: 20px 15px;
  background: linear-gradient(180deg, rgba(19, 25, 22, 0.18), rgba(19, 25, 22, 0.68)), #687166;
  border-radius: 0 0 16px 16px;
  display: flex; flex-direction: column; justify-content: flex-end;
}
.gf-advisor-hero .gf-hero-line { position: relative; z-index: 1; display: flex; justify-content: space-between; font-size: 8.5px; letter-spacing: 0.16em; color: rgba(255, 250, 245, 0.72); font-weight: 700; }
.gf-advisor-hero b { position: relative; z-index: 1; color: #fffaf5; font-size: 22px; font-weight: 800; margin-top: 6px; }
.gf-advisor-hero small { position: relative; z-index: 1; color: rgba(255, 250, 245, 0.82); font-size: 11.5px; margin-top: 4px; }

.gf-daily {
  margin-top: -12px; position: relative; z-index: 2;
  padding: 14px; border-radius: 15px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0.5)), rgba(240, 204, 190, 0.26);
  border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow: inset 0 1px 0 #fff, 0 14px 30px rgba(47, 53, 49, 0.1);
  cursor: pointer;
}
.gf-daily-top { display: flex; justify-content: space-between; font-size: 8.5px; letter-spacing: 0.14em; color: #c58f46; font-weight: 800; }
.gf-daily b { display: block; font-size: 15.5px; font-weight: 800; margin-top: 8px; }
.gf-daily p { margin: 6px 0 0; font-size: 11.5px; color: #68736e; line-height: 1.65; }
.gf-daily-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 11px; font-size: 10.5px; color: #8b938f; }

.gf-intents { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.gf-intent {
  padding: 11px; border-radius: 13px; cursor: pointer;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(255, 255, 255, 0.9);
  transition: transform 0.16s;
}
.gf-intent:active { transform: scale(0.97); }
.gf-intent i { font-style: normal; font-size: 8.5px; letter-spacing: 0.14em; font-weight: 800; color: #c58f46; }
.gf-intent b { display: block; font-size: 13px; font-weight: 800; margin-top: 4px; }
.gf-intent small { display: block; font-size: 10.5px; color: #68736e; margin-top: 3px; line-height: 1.5; }
.gf-intent.t-porcelain { background: linear-gradient(135deg, rgba(255, 255, 255, 0.8), rgba(211, 226, 217, 0.42)); }
.gf-intent.t-cinnabar { background: linear-gradient(135deg, rgba(255, 255, 255, 0.8), rgba(232, 173, 157, 0.4)); }
.gf-intent.t-bronze { background: linear-gradient(135deg, rgba(255, 255, 255, 0.8), rgba(255, 208, 123, 0.34)); }
.gf-intent.t-ink { background: linear-gradient(135deg, rgba(255, 255, 255, 0.8), rgba(181, 198, 191, 0.46)); }

.gf-ings { display: flex; gap: 7px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.gf-ings::-webkit-scrollbar { display: none; }
.gf-ing-chip {
  flex: none; width: 84px; padding: 10px; border-radius: 12px; cursor: pointer;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.9);
  transition: transform 0.16s;
}
.gf-ing-chip:active { transform: scale(0.96); }
.gf-ing-chip b { display: block; font-size: 12.5px; font-weight: 800; }
.gf-ing-chip small { display: block; font-size: 10px; color: #68736e; margin-top: 3px; line-height: 1.45; }

.gf-ask { margin-top: 4px; padding: 12px; border-radius: 14px; background: rgba(255, 255, 255, 0.66); border: 1px solid rgba(255, 255, 255, 0.9); }
.gf-ask-top { display: flex; justify-content: space-between; font-size: 10.5px; font-weight: 800; color: #4f5b56; }
.gf-ask-top span:last-child { color: #8b938f; font-weight: 600; }
.gf-ask-row { display: flex; gap: 7px; margin-top: 9px; }
.gf-ask-row input {
  flex: 1; height: 34px; padding: 0 11px; border-radius: 9px;
  border: 1px solid rgba(39, 49, 47, 0.14);
  background: rgba(255, 255, 255, 0.86);
  font-size: 11.5px; font-family: inherit; color: #27312f; outline: none;
}
.gf-ask-row input::placeholder { color: #a5aca8; }
.gf-ask-row button {
  flex: none; width: 34px; height: 34px; border-radius: 9px;
  background: linear-gradient(135deg, #c3655e, #a84f49); color: #fff8f2; font-size: 14px;
}

.gf-advice { margin-top: 12px; animation: gfPop 0.42s cubic-bezier(0.22, 1, 0.36, 1); }
.gf-advice-intro { padding: 0 2px 8px; }
.gf-advice-intro i { font-style: normal; font-size: 8.5px; letter-spacing: 0.16em; font-weight: 800; color: #c58f46; }
.gf-advice-intro b { display: block; font-size: 15px; font-weight: 800; margin-top: 4px; }
.gf-advice-card { padding: 12px 13px; border-radius: 13px; margin-bottom: 7px; border: 1px solid rgba(255, 255, 255, 0.9); }
.gf-advice-card h5 { margin: 0 0 7px; font-size: 11.5px; font-weight: 800; }
.gf-advice-card div { font-size: 11.5px; color: #4f5b56; line-height: 1.7; }
.gf-advice-card .gf-method { margin-top: 8px; padding-top: 8px; border-top: 1px dashed rgba(39, 49, 47, 0.14); color: #68736e; font-size: 11px; }
.gf-adv-highlight { background: rgba(255, 208, 123, 0.2); }
.gf-adv-pairing { background: rgba(211, 226, 217, 0.42); }
.gf-adv-caution { background: rgba(232, 173, 157, 0.26); }
.gf-disclaimer {
  margin-top: 10px; padding: 10px 12px; border-radius: 11px;
  background: rgba(255, 255, 255, 0.72); border: 1px dashed rgba(195, 101, 94, 0.4);
  font-size: 10.5px; color: #8a6a64; line-height: 1.65;
}

/* ---------- 我的 ---------- */
.gf-profile-head {
  display: flex; align-items: center; gap: 12px;
  padding: 22px 15px 16px;
}
.gf-avatar {
  width: 56px; height: 56px; border-radius: 50%; flex: none;
  background: linear-gradient(135deg, #f7dfbd, #e5b38a);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; font-weight: 800; color: #7b4a2c;
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.7), 0 10px 24px rgba(47, 53, 49, 0.14);
}
.gf-profile-main { flex: 1; min-width: 0; }
.gf-nick { font-size: 17px; font-weight: 800; }
.gf-profile-copy { font-size: 11.5px; color: #68736e; margin-top: 4px; }
.gf-level-pill {
  flex: none; padding: 5px 11px; border-radius: 999px;
  font-size: 11px; font-weight: 800; color: #a84f49;
  background: rgba(232, 173, 157, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.9);
}

.gf-level-card {
  position: relative; overflow: hidden;
  border-radius: 16px; padding: 15px;
  min-height: 118px;
  display: flex; flex-direction: column; justify-content: space-between;
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 14px 30px rgba(47, 53, 49, 0.14);
  cursor: pointer;
}
.gf-level-card .gf-shade { position: absolute; inset: 0; background: linear-gradient(160deg, rgba(20, 26, 24, 0.62), rgba(20, 26, 24, 0.82)); }
.gf-level-top { position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.gf-level-title { color: #fffaf5; font-size: 17px; font-weight: 800; }
.gf-level-copy { color: rgba(255, 250, 245, 0.72); font-size: 10.5px; margin-top: 4px; }
.gf-level-total { color: #ffd07b; font-size: 12px; font-weight: 800; flex: none; }
.gf-level-bar { position: relative; z-index: 1; height: 5px; border-radius: 999px; background: rgba(255, 255, 255, 0.24); overflow: hidden; margin-top: 12px; }
.gf-level-bar i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, #ffd07b, #f0a86c); }
.gf-level-meta { position: relative; z-index: 1; display: flex; justify-content: space-between; margin-top: 8px; font-size: 10px; color: rgba(255, 250, 245, 0.68); }

.gf-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 12px; }
.gf-stat {
  padding: 13px 6px; border-radius: 13px; text-align: center; cursor: pointer;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 6px 16px rgba(47, 53, 49, 0.06);
}
.gf-stat b { display: block; font-size: 19px; font-weight: 800; }
.gf-stat span { display: block; font-size: 10px; color: #8b938f; margin-top: 3px; }

.gf-achv { margin-top: 4px; display: flex; flex-direction: column; gap: 6px; }
.gf-achv-item {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; border-radius: 12px;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.88);
}
.gf-achv-item.is-on { background: rgba(255, 208, 123, 0.24); border-color: rgba(255, 208, 123, 0.6); }
.gf-achv-icon { font-size: 16px; flex: none; width: 20px; text-align: center; }
.gf-achv-copy { flex: 1; min-width: 0; }
.gf-achv-copy b { font-size: 12px; font-weight: 700; }
.gf-achv-copy small { display: block; font-size: 10px; color: #8b938f; margin-top: 2px; }
.gf-achv-bar { flex: none; width: 44px; }
.gf-achv-bar i { display: block; height: 4px; border-radius: 999px; background: rgba(39, 49, 47, 0.12); overflow: hidden; }
.gf-achv-bar i b { display: block; height: 100%; background: linear-gradient(90deg, #c3655e, #cdb276); }
.gf-achv-bar span { display: block; font-size: 9px; color: #8b938f; text-align: right; margin-top: 3px; }

.gf-menu-list { display: flex; flex-direction: column; gap: 6px; }
.gf-menu-row {
  display: flex; align-items: center; gap: 10px;
  padding: 12px; border-radius: 12px;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.88);
  cursor: pointer;
}
.gf-menu-row:active { transform: scale(0.99); }
.gf-menu-row b { font-size: 12.5px; font-weight: 700; }
.gf-menu-row small { display: block; font-size: 10.5px; color: #8b938f; margin-top: 2px; }
.gf-menu-row .gf-arrow { color: #b0b6b2; font-size: 14px; }

/* ---------- 底部 Tab ---------- */
.gf-tabbar {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 20;
  height: 58px;
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: rgba(242, 239, 233, 0.92);
  border-top: 1px solid rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px) saturate(140%);
  padding-bottom: 6px;
}
.gf-tab {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 3px; font-size: 10px; color: #7d8580; cursor: pointer;
  background: none; border: none; padding: 0; font-family: inherit;
}
.gf-tab svg { width: 19px; height: 19px; stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.gf-tab.is-on { color: #c3655e; font-weight: 700; }

/* 小屏适配：屏幕变窄时整体缩一点，保持内容不溢出 */
@media (max-width: 420px) {
  .phone { width: 100%; max-width: 340px; height: 640px; }
  .phone-hero .phone { width: 100%; max-width: 340px; height: 640px; }
}
