:root{
  --page-bg: #e8e6e0;
  --page-bg-2: #dedad3;
  --ink: #1a1a1a;
  --muted: #5c5c5c;
  --card-white: #ffffff;
  --line: rgba(0,0,0,.08);
  --pill-selected: #4a3428;
  --pill-selected-text: #faf8f5;
  --shadow-card: 0 4px 14px rgba(0,0,0,.06), 0 1px 3px rgba(0,0,0,.04);
  --shadow-card-hover: 0 10px 28px rgba(0,0,0,.09), 0 2px 6px rgba(0,0,0,.05);
  --amber: #ba7e3a;
  --accent: #7a4f2b;
  --paper: #f5eddc;
  --paper-deep: #eadfc9;
  --shadow: 0 14px 38px rgba(45, 29, 14, 0.12);
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  color:var(--ink);
  font-family: "Noto Serif SC", "Microsoft YaHei", serif;
  background: var(--page-bg);
}

.app--light{
  min-height:100%;
  display:flex;
  flex-direction:column;
  min-width:min(1440px, 100%);
  background:
    linear-gradient(180deg, var(--page-bg) 0%, var(--page-bg-2) 100%);
}

.topbar--minimal{display:none}

.main{
  flex:1;
  width:100%;
  margin:0 auto;
  padding:28px 0 40px;
}
.appFrame{
  width:min(1440px, 100%);
}
.view{
  width:100%;
  padding:0 48px;
}
.hidden{display:none !important}

/* —— 首页标题区（对齐参考图一） —— */
.homeHero{
  text-align:center;
  padding:8px 0 12px;
}
.heroTitle{
  margin:0 0 6px;
  font-family: "Noto Serif SC", "Georgia", serif;
  font-weight:600;
  font-size:clamp(28px, 4vw, 40px);
  letter-spacing:-0.02em;
  color:var(--ink);
}
.heroSub{
  margin:0 0 22px;
  font-family: "Noto Serif SC", serif;
  font-size:13px;
  font-style:italic;
  letter-spacing:0.28em;
  text-transform:uppercase;
  color:var(--muted);
}

.filters{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  justify-content:center;
}
.filterBtn{
  appearance:none;
  border:1px solid rgba(0,0,0,.14);
  background:var(--card-white);
  color:var(--ink);
  padding:9px 18px;
  border-radius:999px;
  cursor:pointer;
  font-size:13px;
  transition:background .15s ease, border-color .15s ease, transform .15s ease;
  font-family:"Noto Serif SC", serif;
}
.filterBtn:hover{
  transform:translateY(-1px);
  border-color:rgba(0,0,0,.22);
}
.filterBtn[aria-selected="true"]{
  background:var(--pill-selected);
  border-color:var(--pill-selected);
  color:var(--pill-selected-text);
}

.searchRow{
  margin:18px auto 0;
  max-width:min(420px, 100%);
  padding:0 4px;
}
.searchInput{
  width:100%;
  box-sizing:border-box;
  appearance:none;
  border:1px solid rgba(0,0,0,.14);
  background:var(--card-white);
  color:var(--ink);
  padding:11px 16px 11px 40px;
  border-radius:999px;
  font-size:14px;
  font-family:"Noto Serif SC", "Outfit", system-ui, sans-serif;
  line-height:1.35;
  transition:border-color .15s ease, box-shadow .15s ease;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' fill='none' stroke='%236a6560' stroke-width='1.8' stroke-linecap='round'%3E%3Ccircle cx='8' cy='8' r='5.5'/%3E%3Cpath d='M12.5 12.5 16 16'/%3E%3C/svg%3E");
  background-repeat:no-repeat;
  background-position:14px 50%;
  background-size:18px 18px;
}
.searchInput::placeholder{
  color:#9a9590;
}
.searchInput:hover{
  border-color:rgba(0,0,0,.22);
}
.searchInput:focus{
  outline:none;
  border-color:var(--amber);
  box-shadow:0 0 0 3px rgba(180,140,80,.18);
}

.countLine{
  margin:16px 0 0;
  font-size:13px;
  color:var(--muted);
  text-align:center;
}

.gridWrap{margin-top:22px}
.grid{
  display:grid;
  grid-template-columns:repeat(5, minmax(0, 1fr));
  gap:14px;
}
@media (max-width:1200px){
  .grid{grid-template-columns:repeat(4, minmax(0,1fr));}
}
@media (max-width:900px){
  .grid{grid-template-columns:repeat(3, minmax(0,1fr));}
}
@media (max-width:600px){
  .grid{grid-template-columns:repeat(2, minmax(0,1fr));}
}

/* —— 卡片：白底、纵向比例、中央插画 —— */
.card{
  border:1px solid var(--line);
  border-radius:14px;
  background:var(--card-white);
  box-shadow:var(--shadow-card);
  overflow:hidden;
  cursor:pointer;
  aspect-ratio:3/4;
  min-height:0;
  max-width:100%;
  transition:transform .2s ease, box-shadow .2s ease;
}
.card:hover{
  transform:translateY(-4px);
  box-shadow:var(--shadow-card-hover);
}
.card:focus-visible{
  outline:2px solid var(--amber);
  outline-offset:2px;
}

.cardInner{
  padding:12px 12px 14px;
  height:100%;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:space-between;
  gap:8px;
}

.card__art{
  flex:1 1 auto;
  width:100%;
  min-height:0;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:10px;
  background:linear-gradient(180deg, #faf7f2 0%, #f3eee6 100%);
}
.card__art .watercolor-drink{
  display:block;
  width:88%;
  height:auto;
  max-height:100%;
}
.card__art .cocktail-img--card{
  display:block;
  width:88%;
  height:auto;
  max-height:100%;
  object-fit:contain;
}

.titleRow{
  width:100%;
  text-align:center;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:2px;
  flex:0 0 auto;
}
.nameEn{
  font-family:"Caveat", "Segoe Script", cursive;
  font-weight:700;
  font-size:clamp(17px, 1.85vw, 22px);
  letter-spacing:0.02em;
  line-height:1.15;
  color:var(--ink);
}
.nameZh{
  font-size:12px;
  color:var(--muted);
  font-weight:400;
}

.hoverContent{
  width:100%;
  flex:0 0 auto;
  min-height:52px;
}
.desc{
  font-size:11px;
  color:#6a6560;
  line-height:1.5;
  min-height:2.6em;
  transition:color .15s ease;
  text-align:center;
}
.desc--hint{
  font-size:10px;
  color:var(--muted);
  opacity:.88;
}
.card:hover .desc:not(.desc--hint),
.card:focus-visible .desc:not(.desc--hint){
  color:#3d3d3d;
  font-style:italic;
}

.tagRow{
  display:flex;
  flex-wrap:wrap;
  gap:6px;
  justify-content:center;
  margin-top:6px;
}
.tag{
  font-size:10px;
  padding:3px 8px;
  border-radius:999px;
  border:1px solid rgba(0,0,0,.1);
  color:var(--muted);
  background: rgba(250,250,249,.95);
}
.tag--hi,.tag--accent{
  border-color:rgba(186,126,58,.45);
  color:#7a5530;
}

.gridFooter{
  margin-top:20px;
  color:var(--muted);
  font-size:12px;
  text-align:center;
}

/* —— 详情页 —— */
.backBtn{
  appearance:none;
  border:none;
  background:transparent;
  color:var(--muted);
  padding:6px 0;
  cursor:pointer;
  font-size:14px;
  margin:0 0 8px;
  font-family:"Noto Serif SC", serif;
}
.backBtn:hover{color:var(--ink)}

.paper-card{
  background:
    radial-gradient(130% 100% at 100% 0%, rgba(255,255,255,.6), transparent 55%),
    linear-gradient(180deg, var(--paper), var(--paper-deep));
  border:1px solid rgba(90,70,50,.18);
  box-shadow:var(--shadow);
}

.detailCard{
  border-radius:20px;
  overflow:hidden;
}

.detailHero{
  display:grid;
  grid-template-columns:1fr 1.25fr;
  gap:20px;
  padding:20px 22px;
  border-bottom:1px solid rgba(0,0,0,.08);
}
@media (max-width:820px){
  .detailHero{grid-template-columns:1fr}
}

.heroArt{
  min-height:240px;
  border-radius:16px;
  border:1px solid rgba(0,0,0,.06);
  background:linear-gradient(180deg, #faf7f2, #ece6db);
  display:flex;
  align-items:center;
  justify-content:center;
  padding:12px;
}
.heroArt .watercolor-drink{
  width:min(220px, 100%);
  height:auto;
}
.heroArt .cocktail-img--detail{
  width:min(220px, 100%);
  height:auto;
  max-height:min(280px, 50vh);
  object-fit:contain;
}

.detailTitle{
  font-family:"Caveat", cursive;
  font-size:clamp(36px, 5vw, 52px);
  color:#2a2018;
  line-height:1.05;
}
.detailSlogan{
  margin-top:12px;
  color:#5f4f40;
  line-height:1.75;
  font-size:15px;
}

.detailSections{
  padding:16px;
  display:grid;
  gap:12px;
}
.detailSection{
  border-radius:14px;
  padding:16px 14px;
}
.sectionTitle{
  font-size:17px;
  margin-bottom:10px;
  color:#4b311e;
}
.paragraph{color:#5f4f40; line-height:1.85; font-size:14px}
.list{margin:0; padding-left:20px; color:#5f4f40}
.list li{margin:6px 0}

.intensity{display:flex; flex-direction:column; gap:12px}
.barRow{
  display:grid;
  grid-template-columns:58px 1fr 44px;
  align-items:center;
  gap:10px;
}
.barLabel{font-size:13px; color:#6b5a48}
.bar{
  height:11px;
  border-radius:999px;
  background:#e8d7bc;
  border:1px solid #d4bc99;
  overflow:hidden;
}
.barFill{
  height:100%;
  width:0%;
  border-radius:999px;
  background:linear-gradient(90deg, #b77935, #d39a57);
}
.barValue{font-size:13px; color:#6d5a44; text-align:right; font-family:"Caveat", cursive}

.tagRow.detailTags{margin-top:10px}

.footer{
  padding:20px;
  color:var(--muted);
  text-align:center;
  font-size:12px;
}
