:root {
  --bg: #171017; --panel: #241722; --panel2: #2d1d2a; --line: #453040;
  --text: #f3e9ee; --sub: #c9aebc; --accent: #c94f63; --accent2: #e88ca0;
  --gold: #e7b958; --radius: 14px;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text);
  font-family: "Hiragino Kaku Gothic ProN", "Noto Sans JP", system-ui, sans-serif; }
a { color: inherit; text-decoration: none; }
header.store-head { position: sticky; top: 0; z-index: 50; backdrop-filter: blur(8px);
  background: rgba(23,16,23,.88); border-bottom: 1px solid var(--line); }
.head-in { max-width: 1080px; margin: 0 auto; padding: 12px 16px; display: flex; align-items: center; gap: 12px; }
.head-in img.logo { width: 38px; height: 38px; border-radius: 10px; }
.head-in .shopname { font-weight: 700; font-size: 17px; letter-spacing: .04em; }
.head-in .shopsub { color: var(--sub); font-size: 11px; }
main { max-width: 1080px; margin: 0 auto; padding: 18px 16px 56px; }
.hero { padding: 22px 4px 6px; }
.hero h1 { font-size: 24px; margin: 0 0 8px; }
.hero p { color: var(--sub); margin: 0; font-size: 14px; line-height: 1.7; }
h2.section { font-size: 16px; margin: 30px 0 12px; padding-left: 10px; border-left: 4px solid var(--accent); }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column; }
.card .thumb { aspect-ratio: 16/10; background: #000; overflow: hidden; }
.card .thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.card .body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card .title { font-weight: 700; font-size: 15px; line-height: 1.45; }
.card .meta { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.badge { font-size: 11px; padding: 2px 8px; border-radius: 999px; border: 1px solid var(--line); color: var(--sub); }
.badge.price { color: var(--gold); border-color: #6b551f; font-weight: 700; }
.badge.live { color: #9fe8b1; border-color: #2f6b3f; }
.badge.soon { color: var(--accent2); border-color: #6e3040; }
.badge.r18 { color: #ff9d9d; border-color: #7a3030; }
.card .desc { color: var(--sub); font-size: 12.5px; line-height: 1.65; flex: 1; }
.card .actions { display: flex; gap: 8px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 9px 14px; border-radius: 9px; font-size: 13px; font-weight: 700; border: 1px solid var(--line);
  background: var(--panel2); color: var(--text); cursor: pointer; }
.btn.primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn.ghost { background: transparent; }
.btn.disabled { opacity: .45; pointer-events: none; }
.btn.booth { background: #fc4d50; border-color: #fc4d50; color: #fff; }
.btn.dlsite { background: #2b4acb; border-color: #2b4acb; color: #fff; }
/* detail pages */
.detail-hero { display: grid; grid-template-columns: 1fr; gap: 18px; }
@media (min-width: 760px) { .detail-hero { grid-template-columns: 5fr 6fr; } }
.detail-hero .kv img { width: 100%; border-radius: var(--radius); border: 1px solid var(--line); display: block; }
.detail h1 { font-size: 22px; margin: 0 0 10px; line-height: 1.4; }
.detail .lead { color: var(--text); font-size: 14px; line-height: 1.9; white-space: pre-wrap; }
.detail .feats { color: var(--sub); font-size: 13.5px; line-height: 1.9; }
.buybox { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; margin-top: 16px; }
.buybox .row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 10px; }
.buybox .note { color: var(--sub); font-size: 12px; margin-top: 8px; line-height: 1.6; }
.playbox { margin-top: 14px; }
.playbox .btn { width: 100%; padding: 14px; font-size: 15px; }
.shots { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; margin-top: 12px; }
.shots img { width: 100%; border-radius: 10px; border: 1px solid var(--line); display: block; }
.backlink { color: var(--sub); font-size: 13px; display: inline-block; margin: 6px 0 14px; }
footer { border-top: 1px solid var(--line); color: var(--sub); font-size: 12px; }
.foot-in { max-width: 1080px; margin: 0 auto; padding: 18px 16px 30px; line-height: 1.8; }
/* age gate */
#agegate { position: fixed; inset: 0; z-index: 200; background: rgba(10,6,9,.96);
  display: flex; align-items: center; justify-content: center; padding: 20px; }
#agegate .box { max-width: 420px; text-align: center; background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px 22px; }
#agegate h2 { margin: 0 0 10px; font-size: 18px; }
#agegate p { color: var(--sub); font-size: 13px; line-height: 1.8; }
#agegate .row { display: flex; gap: 10px; justify-content: center; margin-top: 16px; }
.age-locked { filter: blur(14px); pointer-events: none; user-select: none; }
