/* リリーのおうち 共通スタイル
   Layout: 上部にリンク集 → 丸窓の主役写真 → プロフィール → CM → アルバム入口。アルバムは別ページ */
:root {
  --bg: #fffdf6;          /* ミルクの白 */
  --dot: #f8efd9;         /* 水玉 */
  --card: #ffffff;
  --ink: #4a3b2e;
  --muted: #8a7a66;
  --accent: #f5e6c4;      /* クリーム色（面・枠） */
  --accent-deep: #b48536; /* 文字用のキャラメル */
  --honey: #ffd27a;       /* ゴールドの瞳 */
  --mint: #9fe3d6;        /* おもちゃのミント */
  --lilac: #d5c8ff;
  --red: #ffb8b0;         /* YouTube */
  --on-color: #4a3b2e;    /* 色面の上の文字・アイコン（両テーマ共通） */
  --shadow: rgba(90, 70, 40, .12);
  --font-pop: "Mochiy Pop One", "Hiragino Maru Gothic ProN", "M PLUS Rounded 1c", sans-serif;
  --font-body: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "Yu Gothic", sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #26211b; --dot: #312a22; --card: #362e25; --ink: #fbf3e6; --muted: #cdbfab;
    --accent: #e6d1a2; --accent-deep: #f0d59a; --honey: #ffd27a; --mint: #9fe3d6; --lilac: #d5c8ff; --red: #ffb8b0;
    --shadow: rgba(0, 0, 0, .35);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #26211b; --dot: #312a22; --card: #362e25; --ink: #fbf3e6; --muted: #cdbfab;
  --accent: #e6d1a2; --accent-deep: #f0d59a; --honey: #ffd27a; --mint: #9fe3d6; --lilac: #d5c8ff; --red: #ffb8b0;
  --shadow: rgba(0, 0, 0, .35);
  color-scheme: dark;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
body {
  margin: 0;
  background-color: var(--bg);
  background-image: radial-gradient(var(--dot) 18%, transparent 19%), radial-gradient(var(--dot) 18%, transparent 19%);
  background-size: 44px 44px;
  background-position: 0 0, 22px 22px;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.7;
}
img { max-width: 100%; }
.wrap {
  max-width: 960px;
  margin: 0 auto;
  padding-inline: 16px;
  padding-block: 16px 28px;
  display: grid;
  gap: 22px;
}

/* ---------- Links (top) ---------- */
.links {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  /* スクロールしても画面の上に残す */
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 20;
  margin-inline: -16px;
  padding: 12px 16px 10px;
  background: var(--bg);
  border-radius: 0 0 22px 22px;
  transition: box-shadow .2s ease, padding .2s ease;
}
/* スクロール中は小さくまとめる */
.links.stuck { padding-block: 8px 8px; box-shadow: 0 8px 18px var(--shadow); }
.links.stuck .link { padding: 6px 10px; box-shadow: 0 3px 0 var(--c); }
.links.stuck .link .icon { width: 30px; height: 30px; }
.links.stuck .link .icon svg { width: 17px; height: 17px; }
.links.stuck .link small { display: none; }
.links.stuck .link .badge { top: -7px; font-size: 9px; }
.link {
  --c: var(--accent);
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: var(--card);
  border-radius: 20px;
  border: 3px solid var(--c);
  box-shadow: 0 5px 0 var(--c);
  color: var(--ink);
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease;
  min-width: 0;
}
.link:hover { transform: translateY(-3px) rotate(-1.5deg); box-shadow: 0 8px 0 var(--c); }
.link:active { transform: translateY(3px); box-shadow: 0 2px 0 var(--c); }
.link:focus-visible { outline: 3px dashed var(--ink); outline-offset: 4px; }
.link .icon {
  flex: none;
  width: 40px; height: 40px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--c);
  color: var(--on-color);
}
.link .icon svg { width: 22px; height: 22px; }
.link .label { display: grid; min-width: 0; line-height: 1.3; }
.link b { font-family: var(--font-pop); font-weight: 400; font-size: 13px; overflow-wrap: anywhere; }
.link small { font-size: 11px; color: var(--muted); }
.link .badge {
  position: absolute; top: -9px; right: -6px;
  font-family: var(--font-pop); font-size: 10px;
  background: var(--ink); color: var(--bg);
  border-radius: 999px; padding: 1px 8px;
  transform: rotate(10deg);
}
.l-ig { --c: var(--accent); }
.l-tt { --c: var(--lilac); }
.l-yt { --c: var(--red); }
.l-line { --c: var(--mint); }
.l-goods { --c: var(--honey); }
.link.is-soon { cursor: default; opacity: .7; }
.link.is-soon:hover, .link.is-soon:active { transform: none; box-shadow: 0 5px 0 var(--c); }
.friend-empty { grid-column: 1 / -1; margin: 0; padding: 22px 18px; text-align: center; color: var(--muted); font-weight: 700; background: var(--card); border: 3px dashed var(--accent); border-radius: 26px; }

/* ---------- Hero ---------- */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  align-items: center;
  gap: 28px;
}
.photo { position: relative; width: min(100%, 380px); justify-self: center; }
.photo .frame {
  aspect-ratio: 1 / 1;
  max-width: 100%;
  border-radius: 58% 42% 47% 53% / 52% 46% 54% 48%;
  overflow: hidden;
  border: 7px solid var(--card);
  box-shadow: 0 0 0 4px var(--accent), 0 14px 30px var(--shadow);
  animation: blob 9s ease-in-out infinite;
}
.photo .frame img { width: 100%; height: 100%; object-fit: cover; object-position: 38% 40%; display: block; }
@keyframes blob { 50% { border-radius: 45% 55% 52% 48% / 46% 54% 46% 54%; } }
.sticker {
  position: absolute;
  font-family: var(--font-pop);
  font-size: 13px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--honey);
  color: var(--on-color);
  box-shadow: 0 4px 0 rgba(90, 70, 40, .15);
  white-space: nowrap;
}
.sticker.s1 { top: 6%; right: -4%; transform: rotate(8deg); }
.sticker.s2 { bottom: 8%; left: -4%; transform: rotate(-7deg); background: var(--mint); }

.intro { min-width: 0; }
.hello {
  display: inline-block;
  font-family: var(--font-pop);
  font-size: 13px;
  letter-spacing: .08em;
  color: var(--accent-deep);
  background: var(--card);
  border: 2px dashed var(--accent);
  border-radius: 999px;
  padding: 2px 14px;
}
h1 {
  margin: 8px 0 4px;
  font-family: var(--font-pop);
  font-weight: 400;
  font-size: clamp(48px, 9vw, 84px);
  line-height: 1.05;
  letter-spacing: .02em;
  text-wrap: balance;
  text-shadow: 3px 3px 0 var(--dot), 6px 6px 0 var(--accent);
}
.en { font-family: var(--font-pop); font-size: 18px; color: var(--muted); letter-spacing: .25em; margin: 0; }
.lead { margin: 12px 0 0; max-width: 34em; }

/* ---------- Profile ---------- */
.profile {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 2fr);
  gap: 20px;
  align-items: center;
  background: var(--card);
  border-radius: 32px;
  padding: 22px;
  box-shadow: 0 10px 24px var(--shadow);
}
.bubble {
  position: relative;
  margin: 0;
  background: var(--accent);
  color: var(--on-color);
  font-family: var(--font-pop);
  font-size: 16px;
  line-height: 1.6;
  padding: 16px 18px;
  border-radius: 24px;
  text-wrap: balance;
}
.bubble::after {
  content: "";
  position: absolute;
  bottom: -14px; left: 28px;
  border: 8px solid transparent;
  border-top: 10px solid var(--accent);
  border-right: 10px solid var(--accent);
}
.bubble small { display: block; font-family: var(--font-body); font-weight: 700; font-size: 12px; margin-top: 6px; }
.section-title { font-family: var(--font-pop); font-weight: 400; font-size: 16px; margin: 0 0 10px; color: var(--accent-deep); }
.facts { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; margin: 0; }
.facts div { background: var(--bg); border-radius: 16px; padding: 8px 12px; min-width: 0; }
.facts dt { font-size: 11px; color: var(--muted); font-weight: 700; letter-spacing: .06em; }
.facts dd { margin: 0; font-weight: 700; font-size: 14px; line-height: 1.45; font-variant-numeric: tabular-nums; }

/* ---------- CM banner ---------- */
.cm {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 20px;
  background: var(--card);
  border: 3px solid var(--ink);
  border-radius: 999px;
  box-shadow: 0 6px 0 var(--ink);
  color: var(--ink);
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease;
}
.cm:hover { transform: translateY(-3px); box-shadow: 0 9px 0 var(--ink); }
.cm:active { transform: translateY(3px); box-shadow: 0 2px 0 var(--ink); }
.cm:focus-visible { outline: 3px dashed var(--accent-deep); outline-offset: 4px; }
.cm .play { flex: none; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--on-color); }
.cm .play svg { width: 22px; height: 22px; margin-left: 3px; }
.cm .txt { min-width: 0; flex: 1; display: grid; line-height: 1.4; }
.cm .tag { font-family: var(--font-pop); font-size: 11px; color: var(--accent-deep); letter-spacing: .12em; }
.cm b { font-family: var(--font-pop); font-weight: 400; font-size: 17px; }
.cm .go { flex: none; font-family: var(--font-pop); font-size: 13px; background: var(--honey); color: var(--on-color); border-radius: 999px; padding: 4px 14px; }

/* ---------- Album teaser (top) ---------- */
.album-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px;
  padding: 18px 22px;
  background: var(--card);
  border-radius: 32px;
  box-shadow: 0 10px 24px var(--shadow);
  color: var(--ink);
  text-decoration: none;
  transition: transform .2s ease;
}
.album-card:hover { transform: translateY(-3px); }
.album-card:focus-visible { outline: 3px dashed var(--accent-deep); outline-offset: 4px; }
.album-card p { margin: 0; color: var(--muted); font-size: 13px; }
.album-card .go { display: inline-block; margin-top: 10px; font-family: var(--font-pop); font-size: 13px; background: var(--accent); color: var(--on-color); border-radius: 999px; padding: 4px 16px; }
.thumbs { display: flex; padding-right: 10px; }
.thumbs img {
  width: 84px; height: 104px; object-fit: cover;
  border: 5px solid var(--card); border-radius: 6px;
  box-shadow: 0 6px 14px var(--shadow);
  margin-right: -14px;
}
.thumbs img:nth-child(1) { transform: rotate(-6deg); }
.thumbs img:nth-child(2) { transform: rotate(3deg) translateY(-6px); }
.thumbs img:nth-child(3) { transform: rotate(-2deg); }

/* ---------- Album page ---------- */
.album-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.back {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-pop); font-size: 13px;
  color: var(--ink); text-decoration: none;
  background: var(--card); border: 3px solid var(--accent); box-shadow: 0 4px 0 var(--accent);
  border-radius: 999px; padding: 4px 14px;
}
.back:focus-visible { outline: 3px dashed var(--ink); outline-offset: 3px; }
.album-title { margin: 0; font-family: var(--font-pop); font-weight: 400; font-size: clamp(26px, 5vw, 38px); text-shadow: 3px 3px 0 var(--accent); }

/* 見開きアルバム */
.book {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  background: var(--accent);
  border-radius: 20px;
  padding: 12px;
  box-shadow: 0 14px 30px var(--shadow), inset 0 0 0 2px var(--card);
}
.book::before {
  content: "";
  position: absolute; top: 12px; bottom: 12px; left: 50%;
  width: 34px; transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, var(--shadow) 45%, var(--shadow) 55%, transparent);
  pointer-events: none; z-index: 1;
}
.page {
  min-width: 0;
  background-color: var(--card);
  padding: 22px;
  min-height: 380px;
  display: grid;
}
.page.left { border-radius: 10px 4px 4px 10px; place-items: center; }
.page.right {
  border-radius: 4px 10px 10px 4px;
  background-image: repeating-linear-gradient(transparent 0 31px, var(--dot) 31px 33px);
  align-content: center; gap: 12px; padding-inline: 32px;
}
.snap {
  position: relative;
  max-width: 100%;
  background: var(--card);
  padding: 8px 8px 8px;
  border-radius: 4px;
  box-shadow: 0 8px 20px var(--shadow);
  transform: rotate(-2deg);
}
.snap::before, .snap::after {
  content: "";
  position: absolute; width: 70px; height: 22px;
  background: var(--accent); opacity: .85;
  box-shadow: 0 1px 2px var(--shadow);
}
.snap::before { top: -10px; left: -18px; transform: rotate(-35deg); }
.snap::after { bottom: -10px; right: -18px; transform: rotate(-35deg); }
.snap img, .snap video { display: block; max-width: 100%; max-height: 380px; width: auto; height: auto; border-radius: 2px; }
.page-no { font-family: var(--font-pop); font-size: 12px; letter-spacing: .15em; color: var(--accent-deep); font-variant-numeric: tabular-nums; }
.book-cap { margin: 0; font-family: var(--font-pop); font-weight: 400; font-size: clamp(22px, 3.4vw, 32px); line-height: 1.35; text-wrap: balance; }
.book-note { margin: 0; color: var(--muted); line-height: 33px; }
.kind-chip { justify-self: start; font-size: 11px; font-weight: 700; border-radius: 999px; padding: 1px 10px; background: var(--honey); color: var(--on-color); }
.book-nav { display: flex; gap: 8px; margin-top: 6px; }
.book-nav button {
  font: inherit; font-family: var(--font-pop); font-size: 13px;
  background: var(--card); color: var(--ink);
  border: 3px solid var(--accent); box-shadow: 0 4px 0 var(--accent);
  border-radius: 999px; padding: 3px 16px; cursor: pointer;
}
.book-nav button:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--accent); }
.book-nav button:focus-visible { outline: 3px dashed var(--ink); outline-offset: 2px; }

/* 一覧 */
.shelf { display: grid; gap: 10px; }
.shelf-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.shelf-head h2 { margin: 0; font-family: var(--font-pop); font-weight: 400; font-size: 16px; }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.tabs button {
  font: inherit; font-family: var(--font-pop); font-size: 12px;
  color: var(--ink); background: var(--card);
  border: 2px solid var(--accent); border-radius: 999px;
  padding: 2px 12px; cursor: pointer;
}
.tabs button[aria-pressed="true"] { background: var(--accent); color: var(--on-color); }
.tabs button:focus-visible { outline: 3px dashed var(--ink); outline-offset: 2px; }
.tabs .count { font-family: var(--font-body); font-weight: 700; font-size: 11px; margin-left: 4px; opacity: .75; }
.strip {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(68px, 1fr));
  gap: 8px;
  background: var(--card);
  border-radius: 18px;
  padding: 12px;
  box-shadow: 0 8px 18px var(--shadow);
}
.strip button {
  position: relative;
  padding: 0; border: 3px solid transparent; border-radius: 12px;
  background: var(--bg); cursor: pointer; overflow: hidden;
  aspect-ratio: 1 / 1;
}
.strip button img, .strip button video { width: 100%; height: 100%; object-fit: cover; display: block; }
.strip button[aria-current="true"] { border-color: var(--accent-deep); }
.strip button:not([aria-current="true"]) img { opacity: .8; }
.strip button:hover img { opacity: 1; }
.strip button:focus-visible { outline: 3px dashed var(--ink); outline-offset: 2px; }
.strip .vmark { position: absolute; right: 3px; bottom: 3px; font-size: 10px; background: var(--accent); color: var(--on-color); border-radius: 999px; padding: 0 6px; }
.empty { text-align: center; color: var(--muted); padding: 20px 0; margin: 0; grid-column: 1 / -1; }

/* ---------- Stamps page ---------- */
.lead-small { margin: 0; color: var(--muted); font-size: 13px; }
.cat { display: grid; gap: 12px; }
.cat-head { display: flex; align-items: center; gap: 10px; margin: 0; font-family: var(--font-pop); font-weight: 400; font-size: 18px; }
.cat-head .num { font-family: var(--font-body); font-weight: 700; font-size: 12px; color: var(--muted); }
.cat-head::after { content: ""; flex: 1; border-top: 3px dotted var(--accent); }
.packs { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 14px; }
.pack {
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 10px;
  background: var(--card);
  border-radius: 26px;
  padding: 16px;
  box-shadow: 0 10px 24px var(--shadow);
  min-width: 0;
}
.pack .preview {
  display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 4px;
  background: var(--bg); border-radius: 14px; padding: 8px;
}
.pack .preview img { width: 100%; aspect-ratio: 1 / 1; object-fit: contain; display: block; }
.pack .preview .ph {
  grid-column: 1 / -1; aspect-ratio: 4 / 1;
  display: grid; place-items: center;
  font-family: var(--font-pop); font-size: 12px; color: var(--muted);
}
.pack h3 { margin: 0; font-family: var(--font-pop); font-weight: 400; font-size: 16px; line-height: 1.4; }
.pack .meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.pack .chip { font-size: 11px; font-weight: 700; border-radius: 999px; padding: 1px 10px; background: var(--bg); color: var(--muted); }
.pack .chip.kind { background: var(--mint); color: var(--on-color); }
.pack.k-emoji .chip.kind { background: var(--honey); }
.pack p { margin: 6px 0 0; font-size: 13px; color: var(--muted); }
.pack .buy {
  justify-self: start;
  font-family: var(--font-pop); font-size: 13px;
  background: var(--mint); color: var(--on-color);
  border-radius: 999px; padding: 5px 16px;
  text-decoration: none;
  box-shadow: 0 4px 0 rgba(90, 70, 40, .15);
}
.pack.k-emoji .buy { background: var(--honey); }
.pack .buy:focus-visible { outline: 3px dashed var(--ink); outline-offset: 3px; }

footer { text-align: center; font-size: 12px; color: var(--muted); }
footer .footer-about { margin: 0 0 2px; }
footer .paws { color: var(--accent-deep); letter-spacing: .4em; }

/* ---------- Responsive ---------- */
@media (max-width: 760px) {
  .links { gap: 8px; }
  .link { flex-direction: column; text-align: center; gap: 4px; padding: 8px 4px; border-radius: 16px; }
  .link .icon { width: 36px; height: 36px; }
  .link .icon svg { width: 20px; height: 20px; }
  .link b { font-size: 10px; }
  .link small { display: none; }
  .hero { grid-template-columns: 1fr; gap: 18px; text-align: center; }
  .photo { width: min(78%, 320px); }
  .lead { margin-inline: auto; }
  .profile { grid-template-columns: 1fr; padding: 18px 16px; gap: 22px; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts div:last-child { grid-column: 1 / -1; }
  .cm { border-radius: 26px; padding: 12px 14px; gap: 12px; }
  .cm .go { display: none; }
  .album-card { grid-template-columns: 1fr; text-align: center; }
  .product { grid-template-columns: 1fr; padding: 16px; gap: 18px; }
  .friend { padding: 12px; }
  .pop { grid-template-columns: 60px minmax(0, 1fr); }
  .orig-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .community { grid-template-columns: 1fr; }
  .post, .comments { padding: 14px; }
  .friends-card .faces { justify-content: center; }
  .thumbs { justify-content: center; padding-right: 14px; }
  .book { grid-template-columns: 1fr; padding: 10px; }
  .book::before { display: none; }
  .page { min-height: 0; padding: 18px 14px; }
  .page.left { border-radius: 10px 10px 4px 4px; }
  .page.right { border-radius: 4px 4px 10px 10px; padding-inline: 18px; }
  .snap img, .snap video { max-height: 42vh; }
  .strip { grid-template-columns: repeat(auto-fill, minmax(56px, 1fr)); padding: 10px; }
}
/* ---------- Friends (top) ---------- */
.friends { display: grid; gap: 12px; }
.friends-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; }
.friends-head .section-title { margin: 0; }
.friends-head p { margin: 0; color: var(--muted); font-size: 13px; }
.friend-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 760px) { .friend-list { grid-template-columns: 1fr; } }
.friend {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 16px;
  background: var(--card); color: var(--ink); text-decoration: none;
  border-radius: 26px; box-shadow: 0 10px 24px var(--shadow);
  transition: transform .2s ease;
  min-width: 0;
}
.friend:hover { transform: translateY(-3px) rotate(-.5deg); }
.friend:focus-visible { outline: 3px dashed var(--accent-deep); outline-offset: 4px; }
.faces { flex: none; display: flex; }
.faces svg { width: 58px; height: 58px; border-radius: 50%; background: var(--bg); border: 3px solid var(--card); box-shadow: 0 4px 10px var(--shadow); }
.faces svg + svg { margin-left: -16px; transform: rotate(6deg); }
.faces img { width: 58px; height: 58px; border-radius: 50%; object-fit: cover; border: 3px solid var(--card); box-shadow: 0 4px 10px var(--shadow); display: block; }
.faces img + img { margin-left: -16px; transform: rotate(6deg); }
.friend-body { display: grid; gap: 2px; min-width: 0; line-height: 1.45; }
.friend-body b { font-family: var(--font-pop); font-weight: 400; font-size: 16px; }
.friend-body small { font-size: 11px; color: var(--muted); font-weight: 700; }
.friend-text { font-size: 12px; color: var(--muted); }
.friend-collab { justify-self: start; margin-top: 4px; font-size: 12px; font-weight: 700; color: var(--accent-deep); border: 1.5px dashed currentColor; border-radius: 12px; padding: 2px 10px; }
.friend .go { justify-self: start; margin-top: 4px; font-family: var(--font-pop); font-size: 12px; background: var(--lilac); color: var(--on-color); border-radius: 999px; padding: 2px 12px; }

/* ---------- Goods page ---------- */
.sample-note { display: inline-block; font-weight: 700; color: var(--accent-deep); }
.room-wrap { position: relative; }
.room { display: block; width: 100%; height: auto; max-width: 100%; border-radius: 30px; box-shadow: 0 12px 28px var(--shadow); }
.r-wall { fill: var(--accent); }
.r-floor { fill: var(--card); }
.r-plank line { stroke: var(--dot); stroke-width: 3; }
.r-window { fill: var(--mint); stroke: var(--card); stroke-width: 3; }
.r-window-line { stroke: var(--card); stroke-width: 3; }
.r-door { fill: none; stroke: var(--accent); stroke-width: 3; stroke-dasharray: 6 6; }
.r-rug { fill: var(--dot); }
.r-rug-in { fill: none; stroke: var(--accent); stroke-width: 3; stroke-dasharray: 2 8; stroke-linecap: round; }
.r-mat { fill: var(--red); opacity: .55; }
.r-bowl { fill: var(--card); stroke: var(--accent-deep); stroke-width: 4; }
.r-food { fill: #e9c48f; }
.r-kibble circle { fill: #b57a3c; }
.r-water { fill: #bfe2f5; }
.r-ripple { fill: none; stroke: var(--card); stroke-width: 3; }
.r-wood, .r-wood-top { fill: #e3c08f; stroke: #c49a62; stroke-width: 4; }
.r-cushion { fill: #fff6e6; }
.r-rope { fill: #f3e7cf; stroke: #d6c3a0; stroke-width: 3; }
.r-bed { fill: var(--lilac); }
.r-bed-in { fill: #f7f3ff; }
.r-cat { fill: #ffffff; stroke: #e2d8ca; stroke-width: 2.5; }
.r-cat-tail { fill: none; stroke: #ffffff; stroke-width: 12; stroke-linecap: round; }
.r-face { fill: none; stroke: #6b5848; stroke-width: 2; stroke-linecap: round; }
.r-nose { fill: #f4a3b3; }
.r-toilet { fill: var(--mint); }
.r-sand { fill: #f1e4c6; }
.r-grain circle { fill: #d7c296; }
.r-scoop { fill: var(--honey); }
.r-scratch { fill: #d8b07a; }
.r-scratch-line line { stroke: #b88a52; stroke-width: 3; stroke-linecap: round; }
.r-tail { fill: none; stroke: #c49a62; stroke-width: 3; stroke-linecap: round; }
.r-toy { fill: var(--honey); }
.r-eye { fill: #4a3b2e; }
.r-ball { fill: var(--red); }

.spot { cursor: pointer; outline: none; }
.spot .art { transform-box: fill-box; transform-origin: center; transition: transform .2s ease, filter .2s ease; }
.spot:hover .art, .spot.active .art, .spot:focus-visible .art { transform: scale(1.06); filter: drop-shadow(0 6px 8px rgba(90, 70, 40, .35)); }
.spot:focus-visible .m-dot { stroke: var(--ink); stroke-width: 3; }
.marker .m-dot { fill: var(--accent-deep); }
.marker .m-pulse { fill: var(--accent-deep); opacity: .35; transform-box: fill-box; transform-origin: center; animation: pulse 1.8s ease-out infinite; }
.marker .m-txt { fill: #fff; font-weight: 700; font-size: 16px; font-family: var(--font-body); pointer-events: none; }
@keyframes pulse { 0% { transform: scale(1); opacity: .45; } 100% { transform: scale(2); opacity: 0; } }

.pop {
  position: absolute;
  z-index: 5;
  width: min(280px, 80vw);
  display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 10px;
  padding: 10px;
  background: var(--card); color: var(--ink);
  border: 3px solid var(--accent);
  border-radius: 18px;
  box-shadow: 0 14px 28px var(--shadow);
  transform: translate(-50%, calc(-100% - 12px));
}
.pop.below { transform: translate(-50%, 12px); }
.pop.edge-l { transform: translate(-14%, calc(-100% - 12px)); }
.pop.edge-r { transform: translate(-86%, calc(-100% - 12px)); }
.pop.below.edge-l { transform: translate(-14%, 12px); }
.pop.below.edge-r { transform: translate(-86%, 12px); }
.pop-thumb { aspect-ratio: 1 / 1; border-radius: 12px; background: var(--bg); display: grid; place-items: center; text-align: center; font-size: 10px; color: var(--muted); padding: 4px; overflow: hidden; }
.pop-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pop-body { display: grid; gap: 2px; min-width: 0; line-height: 1.4; }
.pop-body b { font-family: var(--font-pop); font-weight: 400; font-size: 13px; }
.pop-body p { margin: 0; font-size: 12px; color: var(--muted); }
.pop-price { font-size: 12px; font-weight: 700; font-variant-numeric: tabular-nums; }
.pop-go { justify-self: start; margin-top: 4px; font-family: var(--font-pop); font-size: 12px; color: var(--on-color); background: var(--honey); border-radius: 999px; padding: 2px 12px; text-decoration: none; }
.pop-go:focus-visible { outline: 3px dashed var(--ink); outline-offset: 2px; }

.small-head { margin: 0 0 8px; font-family: var(--font-pop); font-weight: 400; font-size: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.chips a { display: inline-block; font-size: 12px; font-weight: 700; color: var(--ink); text-decoration: none; background: var(--card); border: 2px solid var(--accent); border-radius: 999px; padding: 3px 12px; }
.chips a:hover { background: var(--accent); }
.chips a:focus-visible { outline: 3px dashed var(--ink); outline-offset: 2px; }

.orig-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.orig-grid.small { grid-template-columns: repeat(auto-fill, minmax(min(100%, 140px), 1fr)); }
@media (max-width: 760px) {
  .orig-grid:not(.small) { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .orig-soon { padding: 14px 10px; font-size: 13px; }
}
.orig {
  display: grid; gap: 4px; align-content: start;
  padding: 10px 10px 12px;
  background: var(--card); color: var(--ink); text-decoration: none;
  border-radius: 20px; box-shadow: 0 8px 18px var(--shadow);
  transition: transform .2s ease;
  min-width: 0;
}
.orig:hover { transform: translateY(-3px) rotate(-1deg); }
.orig:focus-visible { outline: 3px dashed var(--accent-deep); outline-offset: 3px; }
.orig-photo { position: relative; display: grid; place-items: center; aspect-ratio: 1 / 1; border-radius: 14px; overflow: hidden; background: var(--bg); font-size: 11px; color: var(--muted); text-align: center; }
.orig-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.badge-sample { position: absolute; left: 6px; top: 6px; font-family: var(--font-pop); font-size: 10px; background: var(--ink); color: var(--bg); border-radius: 999px; padding: 1px 8px; }
.orig b { font-family: var(--font-pop); font-weight: 400; font-size: 13px; line-height: 1.4; margin-top: 4px; }
.orig-soon { grid-column: span 2; margin: 0; display: grid; place-items: center; text-align: center; padding: 18px; color: var(--muted); font-weight: 700; background: var(--card); border: 3px dashed var(--accent); border-radius: 20px; }
.orig-price { font-size: 12px; font-weight: 700; color: var(--muted); font-variant-numeric: tabular-nums; }

/* ---------- Product page ---------- */
.product {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 26px; align-items: start;
  background: var(--card); border-radius: 32px; padding: 22px;
  box-shadow: 0 12px 28px var(--shadow);
}
.product-photo { position: relative; display: grid; place-items: center; aspect-ratio: 1 / 1; border-radius: 22px; overflow: hidden; background: var(--bg); }
.product-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.product-photo .ph { font-family: var(--font-pop); font-size: 14px; color: var(--muted); }
.photo-note { position: absolute; right: 10px; bottom: 10px; font-size: 11px; font-weight: 700; background: var(--card); color: var(--muted); border-radius: 999px; padding: 1px 10px; }
.product-info { display: grid; gap: 12px; min-width: 0; align-content: start; }
.product-info .meta { display: flex; flex-wrap: wrap; gap: 6px; }
.product-info .chip { font-size: 11px; font-weight: 700; border-radius: 999px; padding: 1px 10px; background: var(--bg); color: var(--muted); }
.product-info .chip.k-fav { background: var(--mint); color: var(--on-color); }
.product-info .chip.k-orig { background: var(--honey); color: var(--on-color); }
.product-name { margin: 0; font-family: var(--font-pop); font-weight: 400; font-size: clamp(22px, 3.6vw, 30px); line-height: 1.35; text-wrap: balance; }
.product-facts { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
.product-facts div { background: var(--bg); border-radius: 14px; padding: 6px 14px; }
.product-facts dt { font-size: 11px; color: var(--muted); font-weight: 700; }
.product-facts dd { margin: 0; font-weight: 700; font-variant-numeric: tabular-nums; }
.product-desc { margin: 0; max-width: 36em; }
.points { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.points li { position: relative; padding-left: 22px; }
.points li::before { content: "●"; position: absolute; left: 0; color: var(--honey); }
.buy-btn {
  justify-self: start;
  font-family: var(--font-pop); font-size: 14px;
  color: var(--on-color); background: var(--honey);
  border-radius: 999px; padding: 8px 22px; text-decoration: none;
  box-shadow: 0 5px 0 rgba(90, 70, 40, .2);
}
.buy-btn:focus-visible { outline: 3px dashed var(--ink); outline-offset: 3px; }
.buy-btn.disabled { background: var(--bg); color: var(--muted); box-shadow: none; font-size: 13px; }

/* ---------- Friends entry card (top) ---------- */
.friends-card .go { background: var(--lilac); }
.blog-card .go { background: var(--mint); }
.blog-card-icon svg { width: 96px; height: 96px; display: block; transform: rotate(-4deg); }
.manga-card-top .go { background: var(--honey); }
.manga-card-top .blog-card-icon svg { transform: rotate(4deg); }
.friends-card .faces { padding-right: 6px; }
.friends-card .faces svg { width: 76px; height: 76px; }
.friends-card .faces svg + svg { margin-left: -20px; }

/* ---------- Community ---------- */
.community { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 18px; align-items: start; }
.post, .comments {
  background: var(--card); border-radius: 26px; padding: 18px;
  box-shadow: 0 10px 24px var(--shadow);
  min-width: 0;
}
.post { display: grid; gap: 12px; }
.post .small-head, .comments .small-head { margin: 0; }
.field { display: grid; gap: 4px; font-size: 12px; font-weight: 700; color: var(--muted); position: relative; }
.field input, .field textarea {
  font: inherit; font-size: 15px; font-weight: 500; color: var(--ink);
  background: var(--bg); border: 2px solid var(--accent); border-radius: 14px;
  padding: 8px 12px; width: 100%; resize: vertical;
}
.field input:focus-visible, .field textarea:focus-visible { outline: 3px dashed var(--accent-deep); outline-offset: 2px; }
.field .count { justify-self: end; font-weight: 500; font-variant-numeric: tabular-nums; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.rule { margin: 0; font-size: 12px; color: var(--muted); }
.post .buy-btn { border: none; cursor: pointer; font: inherit; font-family: var(--font-pop); font-size: 14px; }
.post .buy-btn:disabled { cursor: default; opacity: .55; }
.notice { margin: 0; font-size: 13px; font-weight: 700; color: var(--on-color); background: var(--accent); border-radius: 12px; padding: 8px 12px; }
.status { margin: 0; min-height: 1.4em; font-size: 13px; font-weight: 700; }
.status.ok { color: var(--accent-deep); }
.status.err { color: #c0574a; }
.comments { display: grid; gap: 12px; }
.comment-list, .replies { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.comment { background: var(--bg); border-radius: 18px; padding: 10px 14px; }
.comment p { margin: 4px 0 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.c-head { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; }
.c-head b { font-family: var(--font-pop); font-weight: 400; font-size: 14px; }
.c-head time { font-size: 11px; color: var(--muted); font-variant-numeric: tabular-nums; }
.owner-badge { font-size: 10px; font-weight: 700; background: var(--honey); color: var(--on-color); border-radius: 999px; padding: 0 8px; }
.replies { margin-top: 10px; padding-left: 14px; border-left: 3px solid var(--accent); }
.comment.owner { background: var(--card); border: 2px solid var(--accent); }
.c-empty { text-align: center; color: var(--muted); font-size: 13px; padding: 20px 8px; }

/* ---------- TikTok LIVE schedule (top) ---------- */
.live {
  display: flex; flex-wrap: wrap; align-items: center; gap: 16px;
  padding: 14px 18px;
  background: var(--card);
  border: 3px solid var(--lilac);
  border-radius: 26px;
  box-shadow: 0 6px 0 var(--lilac), 0 12px 26px var(--shadow);
}
.live-icon {
  flex: none; position: relative;
  width: 56px; height: 56px; border-radius: 18px;
  display: grid; place-items: center;
  background: var(--lilac); color: var(--on-color);
}
.live-icon svg { width: 28px; height: 28px; }
.live-icon b {
  position: absolute; bottom: -8px; left: 50%; transform: translateX(-50%);
  font-family: var(--font-pop); font-weight: 400; font-size: 10px; letter-spacing: .08em;
  background: #e5484d; color: #fff; border-radius: 6px; padding: 0 6px;
}
.live-body { display: grid; gap: 2px; min-width: 0; flex: 1; line-height: 1.4; }
.live-label { font-size: 12px; font-weight: 700; color: var(--muted); }
.live-date { font-family: var(--font-pop); font-size: clamp(16px, 2.6vw, 20px); font-variant-numeric: tabular-nums; }
.live-sub { font-size: 12px; color: var(--muted); }
.live-side { flex: none; display: grid; justify-items: end; gap: 6px; }
.live-count { font-family: var(--font-pop); font-size: 13px; background: var(--honey); color: var(--on-color); border-radius: 999px; padding: 2px 12px; }
.live-count.hot { background: #e5484d; color: #fff; animation: livepulse 1.4s ease-in-out infinite; }
@keyframes livepulse { 50% { box-shadow: 0 0 0 6px rgba(229, 72, 77, .18); } }
.live-go { font-size: 12px; font-weight: 700; color: var(--accent-deep); text-decoration: none; }
.live-go:hover { text-decoration: underline; }
.live-go:focus-visible { outline: 3px dashed var(--ink); outline-offset: 2px; }

/* ---------- Affiliate (PR) ---------- */
.buy-row { display: flex; flex-wrap: wrap; gap: 10px; }
.buy-btn.shop-rakuten { background: #ffd6d2; }
.buy-btn.shop-yahoo { background: #d6e6ff; }
.pr-note, .ad-note { margin: 0; font-size: 11px; color: var(--muted); line-height: 1.6; }
.product-info .chip.pr, .pop-pr { background: var(--ink); color: var(--bg); }
.pop-pr { display: inline-block; font-family: var(--font-body); font-weight: 700; font-size: 9px; border-radius: 4px; padding: 0 5px; margin-right: 5px; vertical-align: 2px; }

/* ---------- LIVE flyer ---------- */
.live-flyer {
  flex: none; display: grid; justify-items: center; gap: 3px;
  padding: 0; border: none; background: none; cursor: zoom-in;
  font: inherit; font-size: 10px; font-weight: 700; color: var(--accent-deep);
}
.live-flyer img { width: 54px; height: 80px; object-fit: cover; border-radius: 8px; border: 3px solid var(--card); box-shadow: 0 4px 12px var(--shadow); transform: rotate(-3deg); transition: transform .2s ease; }
.live-flyer:hover img { transform: rotate(0) scale(1.05); }
.live-flyer:focus-visible { outline: 3px dashed var(--ink); outline-offset: 3px; border-radius: 8px; }
.flyer-dialog { border: none; padding: 0; background: transparent; max-width: min(92vw, 560px); }
.flyer-dialog::backdrop { background: rgba(38, 33, 27, .75); }
.flyer-dialog img { display: block; width: 100%; max-height: 82vh; object-fit: contain; border-radius: 16px; }
.flyer-close { display: block; margin: 10px auto 0; font: inherit; font-family: var(--font-pop); font-size: 13px; background: var(--card); color: var(--ink); border: none; border-radius: 999px; padding: 5px 20px; cursor: pointer; }
.flyer-close:focus-visible { outline: 3px dashed var(--honey); outline-offset: 2px; }
/* スマホ：1段にまとめる（左にアイコン、右に案内画像、真ん中に日時・カウントダウン・リンク） */
@media (max-width: 760px) {
  .live {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr) auto;
    grid-template-areas: "icon body flyer" "icon side flyer" "special special special";
    column-gap: 10px; row-gap: 4px;
    align-items: center;
    padding: 10px 12px;
  }
  .live-icon { grid-area: icon; width: 40px; height: 40px; border-radius: 13px; align-self: center; }
  .live-icon svg { width: 20px; height: 20px; }
  .live-icon b { font-size: 9px; bottom: -7px; }
  .live-body { grid-area: body; gap: 0; }
  .live-label { font-size: 10px; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .live-date { font-size: 15px; }
  .live-sub { font-size: 10px; }
  .live-side { grid-area: side; display: flex; flex-wrap: wrap; align-items: center; justify-items: start; gap: 2px 8px; }
  .live-count { font-size: 11px; padding: 1px 9px; }
  .live-go { font-size: 10px; }
  .live-flyer { grid-area: flyer; font-size: 9px; }
  .live-flyer img { width: 40px; height: 60px; border-width: 2px; }
}

/* ---------- Goods：木の飾り棚（立体） ---------- */
.shelf-wrap {
  position: relative;
  padding: 54px 26px 18px;
  border-radius: 30px;
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(255, 255, 255, .7), transparent 60%),
    linear-gradient(180deg, #f6ead2, #ecdcbc);
  box-shadow: inset 0 0 0 6px #fff9ec, inset 0 10px 30px rgba(120, 85, 40, .18), 0 14px 30px var(--shadow);
  display: grid;
  gap: 8px;
}
.shelf-sign {
  position: absolute; top: 14px; left: 50%; transform: translateX(-50%) rotate(-2deg);
  font-family: var(--font-pop); font-size: 14px; letter-spacing: .08em;
  color: #6b4a26; background: #fffaf0;
  padding: 3px 18px; border-radius: 8px; white-space: nowrap;
  box-shadow: 0 3px 0 #d9bd8c, 0 6px 12px rgba(90, 60, 20, .18);
}
.shelf-sign::before, .shelf-sign::after {
  content: ""; position: absolute; top: -12px; width: 2px; height: 12px; background: #b9945e;
}
.shelf-sign::before { left: 18px; } .shelf-sign::after { right: 18px; }
#shelves { display: grid; gap: 26px; }
.shelf { position: relative; }
.shelf-items {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr));
  gap: 22px; align-items: end;
  padding: 0 18px;
  perspective: 900px;
}
.shelf-board {
  position: relative;
  height: 18px; margin-top: -8px;
  border-radius: 6px 6px 2px 2px;
  background: linear-gradient(180deg, #f3d6a6, #dcb27a);
  box-shadow: 0 1px 0 #fff3dc inset;
}
.shelf-board::after {
  content: ""; position: absolute; left: 0; right: 0; top: 100%;
  height: 16px; border-radius: 0 0 8px 8px;
  background: linear-gradient(180deg, #c99a5f, #a97a44);
  box-shadow: 0 16px 18px -6px rgba(90, 60, 20, .45);
}
.shelf-board::before {
  content: ""; position: absolute; inset: 4px 10px auto; height: 2px;
  background: repeating-linear-gradient(90deg, rgba(150, 100, 50, .25) 0 40px, transparent 40px 70px);
}

.item3d {
  position: relative;
  display: grid; justify-items: center; gap: 8px;
  color: var(--ink); text-decoration: none;
  transform: rotate(var(--tilt, 0deg)) rotateX(6deg);
  transform-origin: 50% 100%;
  transition: transform .25s ease;
  outline: none;
}
.item3d-photo {
  position: relative; display: grid; place-items: center;
  width: 100%; aspect-ratio: 3 / 4;
  border-radius: 14px; overflow: hidden;
  background: #fff;
  border: 6px solid #fff;
  box-shadow:
    0 0 0 1px #eadfc9,
    5px 6px 0 #e6d6b6,
    7px 9px 0 #d9c49e,
    0 22px 22px -10px rgba(90, 60, 20, .45);
  transition: box-shadow .25s ease;
  font-size: 11px; color: var(--muted); text-align: center;
}
.item3d-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.item3d-photo::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, .45), transparent 40%);
  pointer-events: none;
}
.item3d-pr {
  position: absolute; left: 6px; top: 6px; z-index: 1;
  font-weight: 700; font-size: 9px; letter-spacing: .04em;
  background: var(--ink); color: var(--bg); border-radius: 4px; padding: 0 5px;
}
.item3d-tag {
  max-width: 100%;
  font-family: var(--font-pop); font-size: 11px; line-height: 1.35; text-align: center;
  background: #fffaf0; color: #5a4128;
  padding: 3px 10px; border-radius: 999px;
  box-shadow: 0 2px 0 #e2cfa9;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.item3d:hover, .item3d.active, .item3d:focus-visible {
  transform: translateY(-12px) rotate(0deg) rotateX(0deg) scale(1.04);
}
.item3d:hover .item3d-photo, .item3d.active .item3d-photo, .item3d:focus-visible .item3d-photo {
  box-shadow:
    0 0 0 1px #eadfc9,
    6px 7px 0 #e6d6b6,
    9px 11px 0 #d9c49e,
    0 34px 30px -10px rgba(90, 60, 20, .5);
}
.item3d:focus-visible .item3d-photo { outline: 3px dashed var(--ink); outline-offset: 3px; }

@media (max-width: 760px) {
  .shelf-wrap { padding: 50px 12px 14px; border-radius: 24px; }
  .shelf-items { gap: 16px; padding: 0 10px; }
  #shelves { gap: 22px; }
  .item3d-tag { font-size: 10px; padding: 2px 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .item3d { transform: none; }
}

/* ---------- 非売品スタンプ ---------- */
.stamp-nfs {
  position: absolute; right: 8px; top: 8px; z-index: 1;
  font-family: var(--font-pop); font-size: 12px; letter-spacing: .08em;
  color: #d0453c; background: rgba(255, 255, 255, .88);
  border: 2px solid #d0453c; border-radius: 6px;
  padding: 1px 8px; transform: rotate(-12deg);
  box-shadow: 0 2px 6px rgba(0, 0, 0, .12);
}
.stamp-nfs.big { right: 16px; top: 16px; font-size: 18px; padding: 3px 14px; border-width: 3px; }
.product-info .chip.nfs { background: #ffe1de; color: #b23a32; }

/* ---------- グッズ：カテゴリー一覧への入口 ---------- */
.to-list {
  display: flex; align-items: center; gap: 14px;
  margin-top: 4px; padding: 14px 20px;
  background: var(--card); color: var(--ink); text-decoration: none;
  border: 3px solid var(--honey); border-radius: 22px;
  box-shadow: 0 5px 0 var(--honey), 0 10px 22px var(--shadow);
  transition: transform .18s ease, box-shadow .18s ease;
}
.to-list:hover { transform: translateY(-3px); box-shadow: 0 8px 0 var(--honey), 0 14px 26px var(--shadow); }
.to-list:active { transform: translateY(3px); box-shadow: 0 2px 0 var(--honey); }
.to-list:focus-visible { outline: 3px dashed var(--ink); outline-offset: 4px; }
.to-list-text { display: grid; gap: 2px; flex: 1; min-width: 0; }
.to-list-text b { font-family: var(--font-pop); font-weight: 400; font-size: 16px; }
.to-list-text small { font-size: 12px; color: var(--muted); }
.to-list-go { flex: none; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--honey); color: var(--on-color); font-family: var(--font-pop); font-size: 18px; }

/* ---------- 愛用品の一覧ページ ---------- */
.cat-nav {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 5;
  display: flex; flex-wrap: wrap; gap: 8px;
  padding: 10px 0;
  background: var(--bg);
}
.cat-nav a {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-pop); font-size: 13px;
  color: var(--ink); text-decoration: none;
  background: var(--card); border: 2px solid var(--accent); border-radius: 999px;
  padding: 4px 14px;
}
.cat-nav a small { font-family: var(--font-body); font-weight: 700; font-size: 11px; color: var(--muted); }
.cat-nav a:hover { background: var(--accent); }
.cat-nav a:focus-visible { outline: 3px dashed var(--ink); outline-offset: 2px; }
.fav-cat { scroll-margin-top: 70px; }
.fav-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.fav-card {
  display: grid; gap: 4px; align-content: start;
  padding: 10px 10px 12px;
  background: var(--card); color: var(--ink); text-decoration: none;
  border-radius: 20px; box-shadow: 0 8px 18px var(--shadow);
  transition: transform .2s ease;
  min-width: 0;
}
.fav-card:hover { transform: translateY(-3px) rotate(-1deg); }
.fav-card:focus-visible { outline: 3px dashed var(--accent-deep); outline-offset: 3px; }
.fav-photo {
  position: relative; display: grid; place-items: center;
  aspect-ratio: 1 / 1; border-radius: 14px; overflow: hidden;
  background: #fff; font-size: 11px; color: var(--muted);
}
.fav-photo img { width: 100%; height: 100%; object-fit: contain; display: block; }
.in-room {
  position: absolute; right: 6px; bottom: 6px;
  font-size: 9px; font-weight: 700;
  background: var(--honey); color: var(--on-color);
  border-radius: 999px; padding: 1px 7px;
}
.fav-card b { font-family: var(--font-pop); font-weight: 400; font-size: 13px; line-height: 1.4; margin-top: 4px; }
.fav-short { font-size: 11px; color: var(--muted); line-height: 1.5; }
@media (max-width: 760px) {
  .fav-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .to-list { padding: 12px 14px; }
  .to-list-text b { font-size: 14px; }
}

/* ---------- 商品写真は切らずに全体を見せる ---------- */
.pop-thumb { background: #fff; }
.pop-thumb, .orig-photo, .product-photo, .fav-photo { position: relative; }
.pop-thumb img, .orig-photo img, .product-photo img, .fav-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.orig-photo, .product-photo { background: #fff; }

/* ---------- ページ下のリンク（全ページ共通） ---------- */
.footer-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 16px; margin: 6px 0 8px; }
.footer-nav a { font-size: 12px; font-weight: 700; color: var(--muted); text-decoration: none; }
.footer-nav a:hover { color: var(--accent-deep); text-decoration: underline; }
.footer-nav a:focus-visible { outline: 3px dashed var(--ink); outline-offset: 2px; border-radius: 4px; }

/* ---------- 運営者情報・プライバシーポリシー・お問い合わせ ---------- */
.doc {
  background: var(--card); border-radius: 26px; padding: 24px 26px;
  box-shadow: 0 10px 24px var(--shadow);
  max-width: 760px; width: 100%; justify-self: center;
  line-height: 1.85;
}
.doc h2 { margin: 26px 0 8px; font-family: var(--font-pop); font-weight: 400; font-size: 17px; color: var(--accent-deep); }
.doc p { margin: 0 0 12px; }
.doc ul { margin: 0 0 12px; padding-left: 1.3em; }
.doc a { color: var(--accent-deep); font-weight: 700; }
.doc-facts { display: grid; gap: 8px; margin: 0 0 6px; }
.doc-facts div { display: grid; grid-template-columns: 9em minmax(0, 1fr); gap: 12px; background: var(--bg); border-radius: 14px; padding: 8px 14px; }
.doc-facts dt { font-size: 12px; font-weight: 700; color: var(--muted); align-self: center; }
.doc-facts dd { margin: 0; overflow-wrap: anywhere; }
.doc-date { margin-top: 20px; font-size: 12px; color: var(--muted); text-align: right; }
.contact-form { box-shadow: none; padding: 0; margin-top: 12px; }
.field select {
  font: inherit; font-size: 15px; color: var(--ink);
  background: var(--bg); border: 2px solid var(--accent); border-radius: 14px; padding: 8px 12px;
}

/* ---------- ブログ ---------- */
.post-list { display: grid; gap: 14px; }
.post-card {
  display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 16px; align-items: center;
  padding: 12px; background: var(--card); color: var(--ink); text-decoration: none;
  border-radius: 22px; box-shadow: 0 8px 18px var(--shadow);
  transition: transform .2s ease;
}
.post-card:hover { transform: translateY(-3px); }
.post-card:focus-visible { outline: 3px dashed var(--accent-deep); outline-offset: 3px; }
.post-cover { position: relative; display: grid; place-items: center; aspect-ratio: 4 / 3; border-radius: 14px; overflow: hidden; background: var(--bg); }
.post-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.paw-ph { font-size: 34px; opacity: .5; }
.post-card-body { display: grid; gap: 4px; min-width: 0; }
.post-card-body time { font-size: 11px; color: var(--muted); font-weight: 700; }
.post-card-body b { font-weight: 700; font-size: 17px; line-height: 1.55; }  /* 長いタイトルは丸ゴシックの太字で読みやすく */
.post-excerpt { font-size: 13px; color: var(--muted); }
.post-tags { font-size: 11px; color: var(--accent-deep); font-weight: 700; margin: 0; }
.cat-nav a[aria-current="true"] { background: var(--accent); }

.post { background: var(--card); border-radius: 28px; padding: 26px 28px; box-shadow: 0 10px 24px var(--shadow); max-width: 760px; width: 100%; justify-self: center; line-height: 1.9; }
.post-head { display: grid; gap: 4px; margin-bottom: 14px; }
.post-head time { font-size: 12px; color: var(--muted); font-weight: 700; }
.post-head h1 { margin: 0; font-family: var(--font-body); text-shadow: none; font-weight: 700; font-size: clamp(21px, 3.6vw, 28px); line-height: 1.6; text-wrap: balance; }
.post h2 { margin: 28px 0 10px; font-family: var(--font-pop); font-weight: 400; font-size: 18px; padding-left: 12px; border-left: 5px solid var(--accent); }
.post p { margin: 0 0 14px; }
.post-img { margin: 16px 0; }
.post-img img { display: block; width: auto; max-width: 100%; max-height: min(70vh, 560px); margin: 0 auto; border-radius: 16px; }  /* 縦長の写真もパソコンの画面に収まるように */
.post-img figcaption { font-size: 12px; color: var(--muted); text-align: center; margin-top: 6px; }
.post-item {
  display: flex; align-items: center; gap: 14px; margin: 16px 0;
  padding: 10px 14px; background: var(--bg); color: var(--ink); text-decoration: none;
  border: 2px solid var(--accent); border-radius: 18px;
}
.post-item-photo { position: relative; flex: none; width: 72px; height: 72px; border-radius: 12px; overflow: hidden; background: #fff; }
.post-item-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.post-item-body { display: grid; gap: 2px; min-width: 0; flex: 1; line-height: 1.45; }
.post-item-body small { font-size: 10px; font-weight: 700; color: var(--muted); }
.post-item-body b { font-family: var(--font-pop); font-weight: 400; font-size: 14px; }
.post-item-body span { font-size: 12px; color: var(--muted); }
.post-link-icon { display: grid; place-items: center; width: 52px; height: 52px; font-size: 26px; background: var(--accent); }
.post-link .post-item-body b { overflow-wrap: anywhere; }
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; max-width: 760px; width: 100%; justify-self: center; }
.post-nav-link { display: grid; gap: 2px; padding: 10px 14px; background: var(--card); color: var(--ink); text-decoration: none; border-radius: 16px; box-shadow: 0 6px 14px var(--shadow); }
.post-nav-link:last-child { text-align: right; }
.post-nav-link.empty { visibility: hidden; }
.post-nav-link small { font-size: 11px; color: var(--muted); font-weight: 700; }
.post-nav-link b { font-size: 13px; }
.diary-links { display: grid; gap: 10px; }
/* 日記のいいね */
.like-box { display: grid; justify-items: center; gap: 8px; max-width: 760px; width: 100%; justify-self: center; padding: 6px 0 4px; }
.like-box[hidden] { display: none; }
.like-ask { margin: 0; font-size: 13px; font-weight: 700; color: var(--muted); text-align: center; }
.like-btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 22px; border: 2px solid var(--accent); border-radius: 999px; background: var(--card); color: var(--accent-deep); font: inherit; font-weight: 700; font-size: 15px; cursor: pointer; box-shadow: 0 6px 14px var(--shadow); transition: background .2s, color .2s, transform .15s; }
.like-btn:hover { transform: translateY(-2px); }
.like-btn:focus-visible { outline: 3px dashed var(--accent-deep); outline-offset: 3px; }
.like-heart { font-size: 20px; line-height: 1; color: var(--accent); transition: color .2s; }
.like-btn[aria-pressed="true"] { background: var(--accent); color: var(--card); }
.like-btn[aria-pressed="true"] .like-heart { color: var(--card); }
.like-count { min-width: 1.2em; padding: 1px 8px; border-radius: 999px; background: rgba(255,255,255,.35); font-size: 13px; }
.like-btn.bounce .like-heart { animation: like-pop .45s ease; }
@keyframes like-pop { 0% { transform: scale(1); } 40% { transform: scale(1.5); } 100% { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .like-btn.bounce .like-heart { animation: none; } }
.post-likes { font-size: 11px; font-weight: 700; color: var(--accent); }
.diary-links .post-nav-link:last-child { text-align: left; }
@media (max-width: 760px) {
  .post-card { grid-template-columns: 110px minmax(0, 1fr); gap: 12px; padding: 10px; }
  .post-card-body b { font-size: 15px; }
  .post, .doc { padding: 18px 16px; }
  .doc-facts div { grid-template-columns: 1fr; gap: 2px; }
}

/* ---------- 言語切替・BGM（全ページ共通、左下に固定。右下はNetlifyのバッジと重なるため） ---------- */
.tools {
  position: fixed;
  left: 12px;
  bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  z-index: 10;
  display: flex;
  gap: 8px;
  align-items: center;
}
.tools .seg {
  display: flex;
  background: var(--card);
  border: 3px solid var(--accent);
  border-radius: 999px;
  box-shadow: 0 4px 0 var(--accent), 0 8px 18px var(--shadow);
  overflow: hidden;
}
.tools .seg button, .tools .bgm {
  font: inherit; font-family: var(--font-pop); font-size: 12px;
  color: var(--ink); background: transparent;
  border: none; padding: 5px 12px; cursor: pointer;
}
.tools .seg button[aria-pressed="true"] { background: var(--accent); color: var(--on-color); }
.tools .bgm {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--card);
  border: 3px solid var(--honey);
  border-radius: 999px;
  box-shadow: 0 4px 0 var(--honey), 0 8px 18px var(--shadow);
}
.tools .bgm .note { display: inline-block; }
.tools .bgm[aria-pressed="true"] { background: var(--honey); color: var(--on-color); }
.tools .bgm[aria-pressed="true"] .note { animation: bob 1s ease-in-out infinite; }
.tools .bgm:disabled { cursor: default; opacity: .75; }
.tools button:focus-visible { outline: 3px dashed var(--ink); outline-offset: 2px; }
@keyframes bob { 50% { transform: translateY(-3px) rotate(-10deg); } }
.wrap { padding-bottom: 80px; }

@media (max-width: 760px) {
  .links.stuck { padding-block: 6px; }
  .links.stuck .link { padding: 4px 2px; gap: 0; }
  .links.stuck .link .icon { width: 30px; height: 30px; }
  /* スマホのスクロール中はアイコンだけにする（名前は読み上げ用に残す） */
  .links.stuck .link .label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}

/* ---- 日記：広告のお知らせ・シェア・書いている人・あわせて読みたい ---- */
.post-pr { margin: 0 0 14px; padding: 8px 12px; border-radius: 12px; background: var(--dot); color: var(--muted); font-size: 12px; line-height: 1.6; }
.share-box, .author-box, .post-related { max-width: 760px; width: 100%; justify-self: center; }
.share-box { display: grid; justify-items: center; gap: 8px; }
.share-box[hidden], .post-related[hidden], .author-box[hidden], .news[hidden] { display: none; }
.share-title { margin: 0; font-size: 13px; font-weight: 700; color: var(--muted); }
.share-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.share-btn { padding: 8px 16px; border: none; border-radius: 999px; font: inherit; font-size: 13px; font-weight: 700; color: #fff; text-decoration: none; cursor: pointer; box-shadow: 0 4px 10px var(--shadow); transition: transform .15s; }
.share-btn:hover { transform: translateY(-2px); }
.share-btn:focus-visible { outline: 3px dashed var(--accent-deep); outline-offset: 3px; }
.share-btn.x { background: #111; }
.share-btn.line { background: #06a64f; }
.share-btn.fb { background: #1668d9; }
.share-btn.copy { background: var(--card); color: var(--ink); border: 2px solid var(--accent); }
.author-box { display: flex; gap: 16px; align-items: flex-start; padding: 18px 20px; background: var(--card); border-radius: 24px; box-shadow: 0 8px 18px var(--shadow); }
.author-icon { flex: none; width: 72px; height: 72px; border-radius: 50%; border: 3px solid var(--accent); object-fit: cover; }
.author-body { display: grid; gap: 4px; min-width: 0; }
.author-body small { font-size: 11px; font-weight: 700; color: var(--muted); }
.author-body b { font-size: 16px; }
.author-body p { margin: 0; font-size: 13px; line-height: 1.8; }
.author-body a { justify-self: start; font-size: 13px; font-weight: 700; color: var(--accent-deep); }
.post-related .section-title { margin-bottom: 10px; }
.post-related .post-nav-link { text-align: left; }
/* トップの新着情報（場所を取らないよう、1行ずつ） */
.news { display: flex; align-items: flex-start; gap: 12px; min-width: 0;  /* 長いタイトルで画面からはみ出さないように */ padding: 10px 16px; background: var(--card); border-radius: 18px; box-shadow: 0 6px 14px var(--shadow); }
.news-title { flex: none; margin: 0; padding: 3px 10px; border-radius: 999px; background: var(--accent); color: var(--card); font-family: var(--font-pop); font-weight: 400; font-size: 12px; line-height: 1.6; }
.news-list { flex: 1; align-self: stretch; min-width: 0; margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: minmax(0, 1fr); gap: 4px; }
.news-list li { min-width: 0; }
.news-list a { display: flex; align-items: baseline; gap: 8px; min-width: 0; color: var(--ink); text-decoration: none; font-size: 13px; line-height: 1.7; }
.news-list a:hover .news-text { text-decoration: underline; }
.news-list time { flex: none; font-size: 11px; font-weight: 700; color: var(--muted); }
.news-kind { flex: none; padding: 0 8px; border-radius: 999px; font-size: 10px; font-weight: 700; border: 1.5px solid var(--accent); color: var(--accent-deep); }
.news-kind.album { border-color: var(--honey); }
.news-kind.manga { border-color: var(--lilac); }
.news-text { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 700; }
@media (max-width: 560px) {
  .news { flex-direction: column; gap: 6px; }
}
@media (max-width: 560px) {
  .author-box { padding: 14px; gap: 12px; }
  .author-icon { width: 56px; height: 56px; }
}
.rss-note { margin: 0; text-align: center; font-size: 12px; }
.rss-note[hidden] { display: none; }
.rss-note a { color: var(--muted); font-weight: 700; }

/* 次のライブの下に並べる「特別配信」（誕生日など） */
.live-special { flex: 1 0 100%; grid-area: special; display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; margin-top: -4px; padding-top: 10px; border-top: 2px dashed var(--lilac); font-size: 13px; line-height: 1.5; min-width: 0; }
.live-sp-tag { flex: none; padding: 0 10px; border-radius: 999px; background: var(--red); color: var(--on-color); font-size: 11px; font-weight: 700; }
.live-sp-title { font-weight: 700; min-width: 0; }
.live-sp-date { font-family: var(--font-pop); font-variant-numeric: tabular-nums; }
.live-sp-count { font-size: 12px; font-weight: 700; color: var(--accent-deep); }

/* ---- 誕生日デコレーション（birthday.js が 11/11〜13 に付けます） ---- */
.bday-banner { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 14px; padding: 12px 18px; border-radius: 22px; background: linear-gradient(100deg, #ffe1e8, #fff1c7 50%, #dff7f1); color: var(--on-color); box-shadow: 0 6px 0 #ffc2cf, 0 12px 24px var(--shadow); min-width: 0; }
.bday-cake { font-size: 34px; line-height: 1; animation: bday-bob 1.6s ease-in-out infinite; }
.bday-text { display: grid; gap: 2px; flex: 1; min-width: 0; }
.bday-text b { font-family: var(--font-pop); font-weight: 400; font-size: clamp(17px, 3vw, 22px); line-height: 1.4; }
.bday-text small { font-size: 12px; font-weight: 700; opacity: .8; }
.bday-go { flex: none; padding: 7px 16px; border-radius: 999px; background: #ff8fab; color: #fff; font-size: 13px; font-weight: 700; text-decoration: none; box-shadow: 0 3px 0 #e86d8c; }
.bday-go:hover { transform: translateY(-2px); }
.bday-go:focus-visible { outline: 3px dashed var(--ink); outline-offset: 3px; }
@keyframes bday-bob { 50% { transform: translateY(-4px) rotate(-6deg); } }
.bday-garland { position: absolute; z-index: 2; left: -6%; right: -6%; top: -18px; height: 46px; display: flex; justify-content: space-between; pointer-events: none; }
.bday-garland::before { content: ""; position: absolute; left: 0; right: 0; top: 4px; height: 28px; border-top: 3px solid var(--accent-deep); border-radius: 50%; }
.bday-garland span { position: relative; width: 26px; height: 32px; margin-top: calc(10px + var(--sag, 0px)); clip-path: polygon(0 0, 100% 0, 50% 100%); background: #ff8fab; }
.bday-garland span:nth-child(5n+2) { background: #ffc94a; }
.bday-garland span:nth-child(5n+3) { background: #6fd3c1; }
.bday-garland span:nth-child(5n+4) { background: #b9a6ff; }
.bday-garland span:nth-child(5n) { background: #ff7a7a; }
.bday-garland span:nth-child(2), .bday-garland span:nth-child(8) { --sag: 8px; }
.bday-garland span:nth-child(3), .bday-garland span:nth-child(7) { --sag: 14px; }
.bday-garland span:nth-child(4), .bday-garland span:nth-child(5), .bday-garland span:nth-child(6) { --sag: 17px; }
.bday-hat { position: absolute; z-index: 3; left: 35%; top: 0%; width: 16%; transform: rotate(-12deg); filter: drop-shadow(0 4px 4px rgba(0,0,0,.18)); pointer-events: none; }
.bday-hat svg { display: block; width: 100%; height: auto; }
.bday-confetti { position: fixed; inset: 0; z-index: 50; pointer-events: none; overflow: hidden; }
.bday-confetti i { position: absolute; top: -20px; width: 9px; height: 14px; border-radius: 2px; opacity: 0; animation: bday-fall linear forwards; }
@keyframes bday-fall { 0% { opacity: 1; transform: translate(0, 0) rotate(0); } 85% { opacity: 1; } 100% { opacity: 0; transform: translate(var(--x), 105vh) rotate(var(--r)); } }
@media (max-width: 560px) {
  .bday-banner { padding: 10px 14px; }
  .bday-cake { font-size: 28px; }
  .bday-go { width: 100%; text-align: center; }
}
.birthday .sticker { z-index: 4; }

/* ---------- リリーの漫画（manga.html） ---------- */
.manga-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
.manga-card {
  display: grid; gap: 8px; padding: 10px; background: var(--card); color: var(--ink); text-decoration: none;
  border-radius: 22px; box-shadow: 0 8px 18px var(--shadow); transition: transform .2s ease;
}
.manga-card:hover { transform: translateY(-3px); }
.manga-card:focus-visible { outline: 3px dashed var(--accent-deep); outline-offset: 3px; }
.manga-cover { position: relative; display: block; aspect-ratio: 1 / 1; border-radius: 14px; overflow: hidden; background: var(--bg); }
.manga-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.manga-card-body { display: grid; gap: 2px; padding: 0 4px 4px; min-width: 0; }
.manga-card-body small { font-family: var(--font-pop); font-size: 12px; color: var(--accent-deep); }
.manga-card-body b { font-size: 16px; line-height: 1.5; }
.manga-card-body time { font-size: 11px; color: var(--muted); font-weight: 700; }
/* 縦スクロールの漫画：画像をすき間なくつなげる。パソコンでは読みやすい幅に */
.manga-pages { max-width: 640px; margin: 16px auto; border-radius: 14px; overflow: hidden; box-shadow: 0 8px 18px var(--shadow); }
.manga-pages img { display: block; width: 100%; height: auto; }
@media (max-width: 760px) {
  .manga-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .manga-card { padding: 8px; border-radius: 18px; }
  .manga-card-body b { font-size: 14px; }
  .manga-ep .manga-pages { margin-left: -6px; margin-right: -6px; border-radius: 8px; }
}
/* 更新日のお知らせ・続きから読む・既読 */
.manga-info { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; margin: 0 0 16px; padding: 12px 16px; background: var(--card); border-radius: 18px; box-shadow: 0 6px 14px var(--shadow); }
.manga-next { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 0; font-weight: 700; font-size: 14px; }
.manga-next.end { justify-content: center; margin: 12px 0; }
.manga-weekly { padding: 1px 10px; border-radius: 999px; border: 1.5px solid var(--lilac); font-size: 11px; color: var(--accent-deep); }
.manga-continue { font-family: var(--font-pop); font-size: 13px; background: var(--honey); color: var(--on-color); border-radius: 999px; padding: 6px 16px; text-decoration: none; }
.manga-continue.done { background: var(--bg); color: var(--ink); }
.manga-continue:focus-visible { outline: 3px dashed var(--accent-deep); outline-offset: 3px; }
.manga-read { position: absolute; top: 8px; left: 8px; padding: 1px 10px; border-radius: 999px; background: var(--card); color: var(--muted); font-size: 11px; font-weight: 700; box-shadow: 0 2px 6px var(--shadow); }
.manga-card.is-read .manga-cover img { opacity: .75; }
@media (max-width: 760px) { .manga-info { justify-content: center; text-align: center; } .manga-next { justify-content: center; } }
/* お部屋（Geminiの絵の上にタップ場所を重ねる版）：ふだんは透明、カーソルを合わせる・タップすると白く光る */
.room-photo .hit { fill: #ffffff; fill-opacity: 0; stroke: #ffffff; stroke-opacity: 0; stroke-width: 3; transition: fill-opacity .2s ease, stroke-opacity .2s ease; }
.room-photo .spot:hover .hit, .room-photo .spot.active .hit, .room-photo .spot:focus-visible .hit { fill-opacity: .22; stroke-opacity: .95; }
.room-photo .spot:hover .art, .room-photo .spot.active .art, .room-photo .spot:focus-visible .art { transform: none; filter: drop-shadow(0 0 6px rgba(255, 255, 255, .9)); }
