:root {
  --bg: #f5f2eb;
  --surface: #ffffff;
  --ink: #26231d;
  --ink-soft: #706b62;
  --ink-faint: #999287;
  --line: rgba(38, 35, 29, 0.10);
  --accent: #c74d2d;
  --accent-dark: #a33a20;
  --gift-bg: #fdf1e7;
  --gift-ink: #9a4a18;
  --coupon-bg: #eef3ee;
  --coupon-ink: #2f6b43;
  --radius: 22px;
  --radius-sm: 14px;
  --shadow: 0 12px 28px -24px rgba(55, 42, 25, .55);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Hiragino Sans", sans-serif;
  background:
    radial-gradient(circle at 50% -10%, #ffe3bf 0, rgba(255, 227, 191, 0) 33rem),
    var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  line-height: 1.7;
  writing-mode: horizontal-tb;
  word-break: normal;
}

.page { max-width: 620px; margin: 0 auto; padding: 0 18px 52px; }

/* ---------- hero ---------- */
.hero {
  margin: 36px 0 0;
  color: var(--ink);
  padding: 10px 24px 0;
  text-align: center;
}
.hero .avatar {
  width: 88px; height: 88px; border-radius: 50%;
  background: #fff; color: var(--ink);
  display: flex; align-items: center; justify-content: center;
  font-size: 32px; font-weight: 700;
  margin: 0 auto 15px;
  overflow: hidden;
  border: 3px solid rgba(255,255,255,.92);
  box-shadow: 0 7px 18px -9px rgba(65,42,22,.5);
}
.hero .avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero h1 { font-size: 22px; font-weight: 700; letter-spacing: .03em; }
.hero .role { font-size: 13px; color: var(--ink-soft); margin-top: 3px; }
.hero .bio { font-size: 13px; color: var(--ink-soft); margin-top: 9px; max-width: 38ch; margin-left: auto; margin-right: auto; }
.hero .socials { display: flex; gap: 9px; justify-content: center; flex-wrap: wrap; margin-top: 17px; }
.hero .socials a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; font-size: 0; color: var(--ink); text-decoration: none;
  border: 1px solid var(--line); background: rgba(255,255,255,.72);
  border-radius: 50%; transition: transform .15s ease, background .15s ease;
}
.hero .socials a:hover { background: #fff; transform: translateY(-2px); }
.hero .socials svg { width: 17px; height: 17px; }

/* ---------- introduction ---------- */
.intro { text-align: center; margin: 31px 0 22px; }
.intro .eyebrow { color: var(--accent); font-size: 10px; font-weight: 700; letter-spacing: .16em; }
.intro h2 { font-size: 20px; line-height: 1.45; margin-top: 3px; }
.intro p:last-child { color: var(--ink-soft); font-size: 12.5px; line-height: 1.75; max-width: 37ch; margin: 8px auto 0; }

/* ---------- filters ---------- */
.filters { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 -18px 17px; padding: 2px 18px 7px; }
.filters::-webkit-scrollbar { display: none; }
.filters button {
  font: inherit; font-size: 12px; font-weight: 700; white-space: nowrap; cursor: pointer;
  background: rgba(255,255,255,.6); color: var(--ink-soft);
  border: 1px solid var(--line); border-radius: 999px;
  padding: 8px 15px; transition: all .15s ease;
}
.filters button:hover { color: var(--ink); }
.filters button[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ---------- grid ---------- */
.grid { display: grid; grid-template-columns: 1fr; gap: 12px; }

.card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: grid; grid-template-columns: 104px minmax(0, 1fr);
  transition: transform .18s ease, box-shadow .18s ease;
}
.card:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -22px rgba(55,42,25,.42); }

.card .thumb {
  position: relative;
  min-height: 100%;
  background: #ece9e3;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.card .thumb img { width: 100%; height: 100%; object-fit: contain; padding: 8px; display: block; }
.card .thumb .mono {
  font-size: 40px; font-weight: 700; color: var(--ink-faint);
}
.card .cat { display: inline-block; font-size: 10px; font-weight: 700; letter-spacing: .04em; color: var(--accent); margin-bottom: 4px; }
.card .gift-flag {
  position: absolute; top: 12px; right: 12px;
  font-size: 11px; font-weight: 700;
  background: var(--gift-ink); color: #fff;
  border-radius: 999px; padding: 4px 11px;
}

.card .body { padding: 14px 15px 14px 13px; display: flex; flex-direction: column; min-width: 0; }
.card h2 { font-size: 15px; font-weight: 700; line-height: 1.45; }
.card .desc { font-size: 12px; color: var(--ink-soft); margin-top: 4px; line-height: 1.55; }
.card .reco {
  display: none;
}
.card .reco .who { display: block; font-size: 10.5px; color: var(--ink-faint); margin-bottom: 2px; }

.card .coupon {
  display: inline-flex; align-items: center; gap: 8px; align-self: flex-start;
  margin-top: 9px; cursor: pointer;
  background: var(--coupon-bg); color: var(--coupon-ink);
  border: 1px dashed var(--coupon-ink); border-radius: var(--radius-sm);
  padding: 7px 12px; font-size: 12px; font-weight: 700;
}
.card .coupon .code { letter-spacing: .04em; }
.card .coupon svg { width: 14px; height: 14px; }
.card .coupon.discount { background: #fdeef0; color: #a3324c; border-color: #a3324c; }

.card .spacer { display: none; }
.card .cta {
  position: absolute; inset: 0; z-index: 2;
  display: flex; align-items: center; justify-content: flex-end;
  text-decoration: none; color: var(--ink);
  padding: 0 14px; font-size: 0;
}
.card .cta svg { width: 17px; height: 17px; transition: transform .15s ease; }
.card:hover .cta svg { transform: translateX(2px); }
.card .coupon { position: relative; z-index: 3; }
.card .cta.unavailable { color: var(--ink-faint); font-size: 10px; pointer-events: none; }

/* ---------- footer ---------- */
.foot { text-align: center; margin-top: 34px; color: var(--ink-faint); font-size: 11px; }
.foot .pr { display: block; margin-bottom: 6px; }

/* ---------- toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%) translateY(20px);
  background: var(--ink); color: #fff; font-size: 13px;
  padding: 10px 18px; border-radius: 999px;
  opacity: 0; pointer-events: none; transition: all .25s ease;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

@media (max-width: 600px) {
  .page { padding-left: 14px; padding-right: 14px; }
  .hero { margin-top: 24px; }
  .filters { margin-left: -14px; margin-right: -14px; padding-left: 14px; padding-right: 14px; }
}

@media (min-width: 601px) {
  .card { grid-template-columns: 124px minmax(0, 1fr); }
}
