@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@400;500;700;900&display=swap');

:root {
  --brand-green: #4E5851;
  --brand-green-dark: #3B4A45;
  --brand-orange: #FF7800;
  --brand-orange-light: #FF9840;
  --bg-page: #FAFBFC;
  --bg-card: #FFFFFF;
  --text-main: #1F2A28;
  --text-sub: #6B7A76;
  --border-line: #E5E8E7;
  --tag-bg: #FFF4DD;
  --deep-text: #F4F7F6;
  --deep-text-sub: #B4C2BD;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: 'Noto Sans TC', sans-serif;
  background: var(--bg-page);
  color: var(--text-main);
  -webkit-tap-highlight-color: transparent;
}

#app {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px 60px;
}

.topbar {
  background: var(--brand-green-dark);
  position: relative;
  overflow: hidden;
}

.topbar::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -8%;
  width: 60%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #425350;
}

.topbar::after {
  content: '';
  position: absolute;
  bottom: -25%;
  left: -6%;
  width: 38%;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.08);
}

.topbar-inner {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 20px 32px;
}

.topbar h1 {
  font-size: 30px;
  font-weight: 900;
  color: var(--deep-text);
  margin: 0 0 6px;
}

.subtitle {
  font-size: 15px;
  color: var(--deep-text-sub);
  margin: 0;
}

.type-picker {
  display: flex;
  gap: 12px;
  margin: 28px 0 8px;
}

.type-btn {
  flex: 1;
  border: 1px solid var(--border-line);
  background: var(--bg-card);
  color: var(--text-main);
  border-radius: 16px;
  padding: 18px 16px;
  font-size: 16px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  text-align: center;
  transition: border-color 0.15s, background 0.15s;
}

.type-btn:hover {
  border-color: var(--brand-green);
}

.type-btn.active {
  background: var(--brand-green);
  border-color: var(--brand-green);
  color: #fff;
}

.item-heading {
  margin: 24px 0 12px;
  font-size: 14px;
  color: var(--text-sub);
}

.item-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 14px;
}

.item-card {
  background: var(--bg-card);
  border: 1px solid var(--border-line);
  border-radius: 16px;
  padding: 18px 20px;
}

.item-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-main);
  margin: 0 0 6px;
}

.item-price {
  font-size: 15px;
  font-weight: 700;
  color: var(--brand-orange);
  margin: 0 0 8px;
}

.item-tiers {
  margin: 0 0 8px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.item-tier-row {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 6px 0;
  border-bottom: 1px dashed var(--border-line);
}

.item-tier-row:last-child {
  border-bottom: none;
}

.item-tier-label {
  font-size: 13px;
  color: var(--text-sub);
}

.item-tier-price {
  font-size: 14px;
  font-weight: 700;
  color: var(--brand-orange);
  white-space: nowrap;
}

.item-note {
  font-size: 13px;
  color: var(--text-sub);
  line-height: 1.6;
  margin: 0;
}

.data-note {
  margin-top: 32px;
  font-size: 12px;
  color: var(--text-sub);
  line-height: 1.7;
  padding: 14px 16px;
  background: var(--tag-bg);
  border-radius: 12px;
}

@media (max-width: 480px) {
  .type-picker { flex-direction: column; }
  .item-grid { grid-template-columns: 1fr; }
}
