/* Prototype v3の配色、書体、画面の基本配置を維持します。 */
:root {
  --paper: #f1efe8;
  --paper-2: #e8e5dc;
  --panel: rgba(252, 251, 247, 0.77);
  --panel-solid: #f7f5ef;
  --ink: #27302d;
  --muted: #68706c;
  --faint: #8e9490;
  --line: rgba(39, 48, 45, 0.13);
  --moss: #77847a;
  --moss-deep: #35413d;
  --clay: #b69886;
  --wood: #9c795e;
  --air: #819594;
  --tone: #938a70;
  --shadow: 0 24px 60px rgba(39, 48, 45, 0.09);
  --bottom: max(14px, env(safe-area-inset-bottom));
}
* {
  box-sizing: border-box;
}
html {
  background: var(--paper);
  scroll-behavior: smooth;
}
body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family:
    -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Yu Gothic",
    sans-serif;
  -webkit-font-smoothing: antialiased;
  background:
    radial-gradient(circle at 12% -7%, #fff 0, transparent 34%),
    radial-gradient(
      circle at 100% 21%,
      rgba(119, 132, 122, 0.13),
      transparent 29%
    ),
    linear-gradient(#f5f3ed, var(--paper) 47%, var(--paper-2));
  overflow-x: hidden;
}
body:before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 60;
  opacity: 0.19;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='145' height='145'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.05'/%3E%3C/svg%3E");
}
button,
input,
textarea {
  font: inherit;
  color: inherit;
}
button {
  touch-action: manipulation;
}
.app {
  width: min(100%, 470px);
  min-height: 100vh;
  margin: auto;
  padding: max(18px, env(safe-area-inset-top)) 18px calc(104px + var(--bottom));
  position: relative;
}
.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 25px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand-mark {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(39, 48, 45, 0.25);
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.26);
  position: relative;
}
.brand-mark:before {
  content: "";
  width: 16px;
  height: 16px;
  border: 1px solid var(--moss);
  border-radius: 50%;
}
.brand-mark:after {
  content: "";
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--moss);
}
.brand-jp {
  font-family: "Hiragino Mincho ProN", "Yu Mincho", serif;
  font-size: 20px;
  font-weight: 650;
  letter-spacing: 0.15em;
}
.brand-en {
  font-size: 8px;
  letter-spacing: 0.2em;
  color: var(--muted);
  margin-top: 4px;
}
.icon-button {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.27);
  display: grid;
  place-items: center;
  cursor: pointer;
}
.icon-button svg {
  width: 18px;
  height: 18px;
}
.view {
  display: none;
}
.view.active {
  display: block;
  animation: viewIn 0.28s ease both;
}
@keyframes viewIn {
  from {
    opacity: 0;
    transform: translateY(5px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 10px;
}
.eyebrow:before {
  content: "";
  width: 20px;
  height: 1px;
  background: currentColor;
}
.hero {
  margin: 0 4px 19px;
}
.hero h1 {
  font-family: "Hiragino Mincho ProN", "Yu Mincho", serif;
  font-size: clamp(31px, 8.6vw, 40px);
  line-height: 1.39;
  letter-spacing: 0.03em;
  font-weight: 500;
  margin: 12px 0 8px;
}
.hero p {
  font-size: 12px;
  line-height: 1.8;
  color: var(--muted);
  margin: 0;
}
.chips {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 1px 0 5px;
  margin: 0 0 13px;
}
.chips::-webkit-scrollbar {
  display: none;
}
.chip {
  white-space: nowrap;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.29);
  border-radius: 999px;
  padding: 10px 14px;
  font-size: 11px;
  cursor: pointer;
}
.chip[aria-pressed="true"] {
  background: var(--ink);
  border-color: var(--ink);
  color: #f7f5ef;
  box-shadow: 0 9px 22px rgba(39, 48, 45, 0.14);
}
.discover-entry {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 19px;
  background: rgba(250, 249, 244, 0.55);
  padding: 12px 14px;
  margin-bottom: 17px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  text-align: left;
}
.discover-entry strong {
  font-size: 12px;
  display: block;
}
.discover-entry span {
  font-size: 10px;
  color: var(--muted);
  display: block;
  margin-top: 4px;
}
.discover-entry .arrow {
  font-size: 17px;
  color: var(--muted);
}
