:root {
  --accent: #ff3d13;
  --accent-2: #ff7a00;
  --pink: #ff2f88;
  --text: #252525;
  --muted: #777;
  --line: #e9e9e9;
  --soft: #f7f7f7;
  --white: #fff;
  --shadow: 0 10px 30px rgba(28, 28, 28, 0.08);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--text); background: #fafafa; font-family: Inter, "Noto Sans JP", sans-serif; line-height: 1.55; -webkit-font-smoothing: antialiased; }
body.modal-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, select { color: inherit; font: inherit; }
button { cursor: pointer; }
svg { width: 22px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 1000; padding: 10px 14px; border-radius: 8px; background: white; transform: translateY(-140%); }
.skip-link:focus { transform: none; }
.pr-bar { min-height: 28px; padding: 5px 18px; color: #6e6e6e; background: #f2f2f2; font-size: 10px; text-align: center; }
.pr-bar strong { margin-right: 8px; color: var(--accent); }

.app-header { position: sticky; top: 0; z-index: 40; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.96); backdrop-filter: blur(14px); }
.header-inner { display: grid; grid-template-columns: auto minmax(280px, 560px) auto; gap: clamp(24px, 5vw, 72px); align-items: center; max-width: 1200px; min-height: 70px; margin: auto; padding: 0 24px; }
.brand { display: inline-flex; align-items: center; gap: 9px; width: fit-content; }
.brand-icon { position: relative; display: block; width: 34px; height: 29px; border-radius: 12px 12px 8px 8px; background: linear-gradient(135deg, var(--pink), var(--accent-2)); }
.brand-icon::before { position: absolute; top: 9px; left: 9px; width: 7px; height: 20px; border-radius: 7px 7px 0 0; background: white; content: ""; }
.brand-icon::after { position: absolute; top: 9px; right: 7px; width: 7px; height: 20px; border-radius: 7px 7px 0 0; background: white; content: ""; }
.brand-icon i { position: absolute; top: -2px; left: 13px; width: 7px; height: 17px; border-radius: 7px 7px 0 0; background: white; }
.brand-name { color: #3a3a3a; font-size: 24px; font-weight: 800; letter-spacing: -.045em; }
.header-search, .mobile-search { display: flex; align-items: center; gap: 10px; height: 44px; padding: 0 13px; border: 1px solid #dedede; border-radius: 12px; background: var(--soft); transition: border-color .18s, box-shadow .18s, background .18s; }
.header-search:focus-within, .mobile-search:focus-within { border-color: var(--accent); background: white; box-shadow: 0 0 0 3px rgba(255,61,19,.1); }
.header-search svg, .mobile-search svg { width: 19px; color: #777; }
.header-search input, .mobile-search input { width: 100%; border: 0; outline: 0; background: transparent; font-size: 13px; }
.header-search kbd { padding: 3px 6px; border: 1px solid #ddd; border-bottom-width: 2px; border-radius: 5px; color: #999; background: white; font: 10px Inter, sans-serif; white-space: nowrap; }
.header-actions { display: flex; align-items: center; justify-content: flex-end; gap: 7px; }
.audience-pill { display: flex; align-items: center; gap: 7px; height: 38px; padding: 0 10px; border: 1px solid var(--line); border-radius: 999px; background: white; }
.audience-pill span { display: grid; place-items: center; width: 25px; height: 25px; border-radius: 50%; color: white; background: #333; font-size: 9px; font-weight: 800; }
.audience-pill b { font-size: 10px; }
.icon-button { display: grid; place-items: center; width: 38px; height: 38px; padding: 0; border: 0; border-radius: 50%; background: transparent; }
.icon-button:hover { background: var(--soft); }

.app-shell { max-width: 1200px; margin: 0 auto; padding: 24px 24px 90px; }
.discovery { position: relative; display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; min-height: 210px; padding: 38px 48px; border-radius: 20px; color: white; background: linear-gradient(120deg, #ff2f79 0%, #ff3d13 52%, #ff8a00 100%); overflow: hidden; scroll-margin-top: 104px; }
.discovery::before, .discovery::after { position: absolute; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; content: ""; }
.discovery::before { right: -30px; bottom: -110px; width: 310px; height: 310px; }
.discovery::after { right: 165px; top: -100px; width: 230px; height: 230px; }
.discovery-copy { position: relative; z-index: 2; }
.mini-label { margin: 0 0 8px; color: var(--accent); font-size: 9px; font-weight: 800; letter-spacing: .16em; }
.discovery .mini-label { color: rgba(255,255,255,.74); }
.discovery h1 { margin: 0; font-size: clamp(28px,4vw,46px); letter-spacing: -.055em; line-height: 1.22; }
.discovery-copy > p:last-child { max-width: 610px; margin: 15px 0 0; color: rgba(255,255,255,.82); font-size: 13px; }
.shorts-launch { display: inline-flex; align-items: center; gap: 10px; min-width: 230px; min-height: 46px; margin-top: 20px; padding: 7px 13px 7px 8px; border: 1px solid rgba(255,255,255,.45); border-radius: 999px; color: #222; background: white; box-shadow: 0 9px 24px rgba(106,28,4,.18); }
.shorts-launch:hover { transform: translateY(-1px); }
.shorts-launch > span:nth-child(2) { display: flex; flex: 1; align-items: flex-start; flex-direction: column; font-size: 11px; font-weight: 800; text-align: left; }
.shorts-launch small { color: #888; font-size: 7px; font-weight: 500; }
.shorts-launch b { color: var(--accent); font-size: 18px; }
.shorts-play { display: grid; place-items: center; width: 31px; height: 31px; border-radius: 50%; color: white; background: var(--accent); font-size: 10px; }
.discovery-stats { position: relative; z-index: 2; display: flex; align-items: stretch; border: 1px solid rgba(255,255,255,.3); border-radius: 14px; background: rgba(255,255,255,.12); backdrop-filter: blur(10px); }
.discovery-stats div { min-width: 88px; padding: 17px 16px; text-align: center; }
.discovery-stats div + div { border-left: 1px solid rgba(255,255,255,.25); }
.discovery-stats strong, .discovery-stats span { display: block; }
.discovery-stats strong { font-size: 22px; line-height: 1; }
.discovery-stats span { margin-top: 6px; color: rgba(255,255,255,.7); font-size: 9px; }
.banner-mark { position: absolute; right: 7%; bottom: -42px; color: rgba(255,255,255,.12); font-size: 210px; font-weight: 800; line-height: 1; }
.mobile-search { display: none; }

.genre-strip { margin-top: 34px; padding: 24px 0 30px; border-bottom: 1px solid var(--line); }
.section-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 17px; }
.section-row > div { display: flex; align-items: center; gap: 9px; }
.section-icon { color: var(--accent); font-size: 18px; }
.section-row h2, .catalog-head h2 { margin: 0; font-size: 18px; }
.link-button { padding: 6px; border: 0; color: #666; background: transparent; font-size: 11px; }
.link-button span { font-size: 18px; vertical-align: -1px; }
.genre-chips { display: flex; flex-wrap: wrap; gap: 9px; }
.genre-chips button { display: flex; align-items: center; gap: 7px; min-height: 38px; padding: 0 12px; border: 1px solid var(--line); border-radius: 10px; background: white; font-size: 11px; font-weight: 600; }
.genre-chips button:hover, .genre-chips button.is-active { border-color: var(--accent); color: var(--accent); background: #fff6f3; }
.genre-chips button > span { color: var(--accent); font-size: 16px; }
.genre-chips small { color: #aaa; font-size: 8px; font-weight: 500; }
.extra-genre { display: none !important; }
.genre-chips.is-expanded .extra-genre { display: flex !important; }

.catalog { padding-top: 34px; }
.catalog-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }
.catalog-head .mini-label { margin-bottom: 4px; }
.catalog-head h2 { font-size: 24px; }
.catalog-actions { display: flex; align-items: center; gap: 10px; }
.filter-open { display: none; align-items: center; gap: 7px; height: 40px; padding: 0 13px; border: 1px solid var(--line); border-radius: 9px; background: white; font-size: 11px; font-weight: 600; }
.filter-open svg { width: 17px; }
.filter-open span { display: none; place-items: center; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; color: white; background: var(--accent); font-size: 8px; }
.filter-open span.has-count { display: grid; }
.sort-control { display: flex; align-items: center; gap: 8px; color: #888; font-size: 10px; }
.sort-control select { height: 40px; padding: 0 34px 0 12px; border: 1px solid var(--line); border-radius: 9px; outline: 0; background: white; font-size: 11px; }
.active-filters { display: flex; flex-wrap: wrap; gap: 7px; min-height: 25px; margin: 17px 0 4px; }
.active-filter { display: flex; align-items: center; gap: 7px; min-height: 27px; padding: 0 8px 0 10px; border: 1px solid #ffd2c7; border-radius: 999px; color: var(--accent); background: #fff5f2; font-size: 9px; font-weight: 600; }
.active-filter button { display: grid; place-items: center; width: 16px; height: 16px; padding: 0; border: 0; border-radius: 50%; color: var(--accent); background: transparent; line-height: 1; }

.catalog-layout { display: grid; grid-template-columns: 215px minmax(0,1fr); gap: 28px; margin-top: 15px; }
.filter-panel { height: fit-content; border: 1px solid var(--line); border-radius: 14px; background: white; overflow: hidden; }
.filter-panel-head { display: flex; align-items: center; justify-content: space-between; padding: 16px; border-bottom: 1px solid var(--line); }
.filter-panel-head strong { font-size: 13px; }
.filter-panel-head button, [data-clear-filters] { padding: 0; border: 0; color: var(--accent); background: transparent; font-size: 9px; font-weight: 600; }
.filter-panel fieldset { margin: 0; padding: 17px 16px; border: 0; border-bottom: 1px solid var(--line); }
.filter-panel fieldset:last-child { border-bottom: 0; }
.filter-panel legend { width: 100%; margin-bottom: 11px; font-size: 11px; font-weight: 700; }
.filter-panel label { display: grid; grid-template-columns: 16px 1fr auto; gap: 7px; align-items: center; min-height: 28px; color: #555; font-size: 10px; cursor: pointer; }
.filter-panel input { width: 14px; height: 14px; margin: 0; accent-color: var(--accent); }
.filter-panel label small { color: #aaa; font-size: 8px; }
.results-summary { display: flex; justify-content: space-between; align-items: center; min-height: 30px; margin-bottom: 10px; }
.results-summary p { margin: 0; font-size: 11px; }
.results-summary p strong { margin-right: 3px; font-size: 17px; }
.results-summary > span { color: #aaa; font-size: 8px; }
.result-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 22px 14px; }
.result-card { min-width: 0; border-radius: 12px; background: white; overflow: hidden; transition: transform .18s, box-shadow .18s; }
.result-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card-cover { position: relative; display: grid; place-items: center; aspect-ratio: 4/3; overflow: hidden; color: white; }
.card-cover::before, .card-cover::after { position: absolute; border: 1px solid rgba(255,255,255,.35); border-radius: 50%; content: ""; }
.card-cover::before { width: 62%; aspect-ratio: 1; }
.card-cover::after { right: -12%; bottom: -30%; width: 64%; aspect-ratio: 1; background: rgba(255,255,255,.09); }
.cover-rose { background: linear-gradient(135deg,#ff849d,#e9456d); }
.cover-orange { background: linear-gradient(135deg,#ffb45c,#ff6338); }
.cover-purple { background: linear-gradient(135deg,#b99dff,#734ec8); }
.cover-blue { background: linear-gradient(135deg,#80cced,#3681c9); }
.cover-mint { background: linear-gradient(135deg,#92dfc2,#3c9f83); }
.cover-red { background: linear-gradient(135deg,#ff7a70,#d72b3f); }
.cover-mark { position: relative; z-index: 2; font-size: 31px; font-weight: 800; letter-spacing: -.05em; opacity: .9; }
.cover-mark small { display: block; margin-top: 3px; font-size: 7px; font-weight: 600; letter-spacing: .14em; text-align: center; }
.content-badge { position: absolute; top: 9px; left: 9px; z-index: 2; padding: 4px 7px; border-radius: 5px; color: #333; background: rgba(255,255,255,.92); font-size: 8px; font-weight: 700; }
.content-length { position: absolute; right: 8px; bottom: 8px; z-index: 2; padding: 3px 5px; border-radius: 4px; background: rgba(0,0,0,.62); font-size: 8px; }
.favorite-button { position: absolute; top: 8px; right: 8px; z-index: 3; display: grid; place-items: center; width: 31px; height: 31px; padding: 0; border: 0; border-radius: 50%; color: #555; background: rgba(255,255,255,.92); }
.favorite-button svg { width: 16px; }
.favorite-button.is-active { color: #ff3a63; }
.favorite-button.is-active svg { fill: currentColor; }
.card-body { padding: 11px 11px 13px; }
.creator-row { display: flex; align-items: center; gap: 7px; min-width: 0; }
.avatar { display: grid; place-items: center; flex: 0 0 auto; width: 25px; height: 25px; border-radius: 50%; color: white; background: #444; font-size: 9px; font-weight: 700; }
.creator-row span { overflow: hidden; color: #777; font-size: 9px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.result-card h3 { display: -webkit-box; min-height: 38px; margin: 9px 0 7px; overflow: hidden; font-size: 12px; line-height: 1.55; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.card-tags { display: flex; gap: 5px; overflow: hidden; }
.card-tags span { flex: 0 0 auto; padding: 3px 6px; border-radius: 5px; color: #777; background: var(--soft); font-size: 7px; }
.card-bottom { display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; margin-top: 11px; }
.price { font-size: 14px; font-weight: 800; }
.price small { margin-left: 2px; color: #777; font-size: 7px; font-weight: 500; }
.open-product { display: inline-flex; align-items: center; gap: 4px; padding: 0; border: 0; color: var(--accent); background: transparent; font-size: 8px; font-weight: 700; }
.sample-note { padding: 7px 10px; border-top: 1px solid var(--line); color: #aaa; background: #fafafa; font-size: 7px; text-align: center; }
.empty-state { padding: 70px 20px; border: 1px dashed #ddd; border-radius: 14px; background: white; text-align: center; }
.empty-state > span { color: #bbb; font-size: 40px; }
.empty-state h3 { margin: 8px 0 5px; font-size: 15px; }
.empty-state p { margin: 0; color: #999; font-size: 10px; }
.empty-state button { margin-top: 18px; padding: 9px 16px; border: 0; border-radius: 8px; color: white; background: var(--accent); font-size: 10px; font-weight: 700; }

.why-box { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 54px; padding: 20px 24px; border: 1px solid var(--line); border-radius: 14px; background: white; }
.why-box > div { display: flex; align-items: center; gap: 14px; }
.why-icon { display: grid; place-items: center; flex: 0 0 auto; width: 34px; height: 34px; border-radius: 50%; color: white; background: var(--accent); font-size: 14px; font-weight: 700; }
.why-box strong { font-size: 11px; }
.why-box p { margin: 3px 0 0; color: #888; font-size: 9px; }
.why-box button { flex: 0 0 auto; padding: 8px 12px; border: 1px solid var(--line); border-radius: 8px; background: white; font-size: 9px; }
.site-footer { display: grid; grid-template-columns: 1fr auto; gap: 24px; max-width: 1200px; margin: auto; padding: 38px 24px 28px; border-top: 1px solid var(--line); }
.footer-brand .brand-icon { width: 26px; height: 23px; border-radius: 9px; }
.footer-brand .brand-icon::before { top: 7px; left: 7px; width: 5px; height: 16px; }
.footer-brand .brand-icon::after { top: 7px; right: 6px; width: 5px; height: 16px; }
.footer-brand .brand-icon i { top: -1px; left: 10px; width: 5px; height: 13px; }
.footer-brand .brand-name { font-size: 18px; }
.site-footer p { margin: 7px 0 0; color: #888; font-size: 9px; }
.site-footer nav { display: flex; align-items: center; gap: 18px; color: #777; font-size: 9px; }
.site-footer nav button { padding: 0; border: 0; background: transparent; }
.site-footer small { grid-column: 1/-1; padding-top: 16px; border-top: 1px solid var(--line); color: #aaa; font-size: 7px; letter-spacing: .08em; }
.bottom-nav { display: none; }

dialog { border: 0; }
dialog::backdrop { background: rgba(0,0,0,.55); backdrop-filter: blur(3px); }
.shorts-dialog { width: min(430px, calc(100% - 28px)); height: min(780px, calc(100dvh - 28px)); max-width: none; max-height: none; margin: auto; padding: 0; border-radius: 20px; color: white; background: #090909; box-shadow: 0 30px 90px rgba(0,0,0,.45); overflow: hidden; }
.shorts-dialog::backdrop { background: rgba(0,0,0,.86); backdrop-filter: blur(8px); }
.shorts-shell { position: relative; width: 100%; height: 100%; overflow: hidden; background: #090909; }
.shorts-topbar { position: absolute; top: 0; right: 0; left: 0; z-index: 8; display: grid; grid-template-columns: 42px 1fr 42px; align-items: center; padding: 13px 12px; background: linear-gradient(to bottom, rgba(0,0,0,.58), transparent); }
.shorts-topbar > div { display: flex; align-items: center; justify-content: center; gap: 9px; font-size: 10px; }
.shorts-topbar strong { font-size: 12px; }
.shorts-topbar span { color: rgba(255,255,255,.65); }
.shorts-close, .sound-toggle { display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 50%; color: white; background: rgba(0,0,0,.38); backdrop-filter: blur(9px); }
.shorts-close { font-size: 25px; font-weight: 300; line-height: 1; }
.sound-toggle { justify-self: end; }
.sound-toggle svg { width: 18px; }
.sound-toggle .sound-wave { display: none; }
.sound-toggle.is-audible .sound-wave { display: block; }
.sound-toggle.is-audible .sound-off-line { display: none; }
.shorts-feed { width: 100%; height: 100%; overflow-y: auto; overscroll-behavior: contain; scroll-snap-type: y mandatory; scrollbar-width: none; }
.shorts-feed::-webkit-scrollbar { display: none; }
.short-slide { position: relative; width: 100%; height: 100%; overflow: hidden; background: #111; scroll-snap-align: start; scroll-snap-stop: always; }
.short-slide video { display: block; width: 100%; height: 100%; background: #111; object-fit: cover; }
.short-slide .video-variant-two { filter: hue-rotate(48deg) saturate(.82); transform: scale(1.08); }
.short-slide .video-variant-three { filter: contrast(1.08) saturate(.72); object-position: 68% center; transform: scale(1.14); }
.short-slide.video-error::before { position: absolute; top: 50%; left: 50%; z-index: 2; width: 76%; color: rgba(255,255,255,.72); content: "デモ動画を読み込めませんでした。再読み込みしてください。"; font-size: 10px; text-align: center; transform: translate(-50%,-50%); }
.short-slide.video-error video { opacity: .18; }
.short-shade { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(0,0,0,.08) 38%, rgba(0,0,0,.78) 100%); pointer-events: none; }
.demo-video-badge { position: absolute; top: 70px; left: 15px; z-index: 3; padding: 5px 8px; border: 1px solid rgba(255,255,255,.4); border-radius: 999px; color: rgba(255,255,255,.78); background: rgba(0,0,0,.28); font-size: 7px; font-weight: 700; letter-spacing: .08em; backdrop-filter: blur(8px); }
.short-copy { position: absolute; right: 70px; bottom: 50px; left: 17px; z-index: 4; text-shadow: 0 1px 7px rgba(0,0,0,.45); }
.short-copy p { margin: 0 0 7px; font-size: 11px; font-weight: 700; }
.short-copy h2 { margin: 0; font-size: 17px; line-height: 1.45; }
.short-copy > div { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 8px; }
.short-copy > div span { font-size: 8px; }
.short-copy > button { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 38px; margin-top: 13px; padding: 0 13px; border: 0; border-radius: 9px; color: #222; background: rgba(255,255,255,.94); font-size: 10px; font-weight: 700; text-shadow: none; }
.short-copy > button b { color: var(--accent); font-size: 17px; }
.short-actions { position: absolute; right: 12px; bottom: 91px; z-index: 5; display: flex; align-items: center; flex-direction: column; gap: 15px; }
.short-actions button { display: flex; align-items: center; flex-direction: column; gap: 3px; padding: 0; border: 0; color: white; background: transparent; text-shadow: 0 1px 6px rgba(0,0,0,.6); }
.short-actions button > span { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid rgba(255,255,255,.34); border-radius: 50%; background: rgba(0,0,0,.3); font-size: 23px; backdrop-filter: blur(9px); }
.short-actions small { font-size: 7px; }
.short-actions button.is-active > span { color: #ff456d; background: white; }
.next-short { position: absolute; bottom: 10px; left: 50%; z-index: 5; display: flex; align-items: center; flex-direction: column; padding: 0 15px; border: 0; color: rgba(255,255,255,.8); background: transparent; font-size: 22px; line-height: .7; transform: translateX(-50%); }
.next-short small { font-size: 6px; letter-spacing: .14em; }
.autoplay-status { position: absolute; top: 16px; left: 50%; z-index: 7; display: none; align-items: center; gap: 6px; padding: 5px 9px; border-radius: 999px; color: rgba(255,255,255,.72); background: rgba(0,0,0,.38); font-size: 7px; transform: translateX(-50%); }
.autoplay-status i { width: 5px; height: 5px; border-radius: 50%; background: #58e277; box-shadow: 0 0 8px #58e277; }
.age-gate { width: min(430px,calc(100% - 30px)); padding: 46px 40px 36px; border-radius: 18px; text-align: center; }
.age-brand { margin: 0 auto; }
.age-rule { width: 42px; height: 2px; margin: 30px auto 22px; background: linear-gradient(90deg,var(--pink),var(--accent-2)); }
.age-gate > p { color: var(--accent); font-size: 11px; line-height: 1.9; }
.age-gate h2 { margin: 23px 0 20px; font-size: 15px; }
.primary-button { width: 100%; min-height: 44px; border: 0; border-radius: 999px; color: white; background: var(--accent); font-size: 11px; font-weight: 700; }
.decline-button { margin-top: 16px; padding: 5px; border: 0; color: var(--accent); background: transparent; font-size: 10px; }
.sheet-dialog { width: 100%; max-width: none; margin: auto 0 0; padding: 0; border-radius: 18px 18px 0 0; }
.sheet-head { display: flex; align-items: center; justify-content: space-between; padding: 17px 19px; border-bottom: 1px solid var(--line); }
.sheet-head strong { font-size: 14px; }
.sheet-head button, .dialog-x { display: grid; place-items: center; width: 30px; height: 30px; padding: 0; border: 0; border-radius: 50%; background: var(--soft); font-size: 19px; }
#mobile-filter-content { max-height: 60vh; padding: 0 19px; overflow: auto; }
#mobile-filter-content fieldset { margin: 0; padding: 18px 0; border: 0; border-bottom: 1px solid var(--line); }
#mobile-filter-content legend { margin-bottom: 10px; font-size: 11px; font-weight: 700; }
#mobile-filter-content label { display: grid; grid-template-columns: 18px 1fr auto; gap: 8px; align-items: center; min-height: 32px; font-size: 10px; }
#mobile-filter-content input { width: 15px; height: 15px; accent-color: var(--accent); }
#mobile-filter-content small { color: #aaa; }
.sheet-actions { display: grid; grid-template-columns: .7fr 1.3fr; gap: 10px; padding: 14px 19px calc(14px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
.sheet-actions > button:first-child { border: 1px solid var(--line); border-radius: 999px; background: white; font-size: 10px; }
.info-dialog { position: relative; width: min(520px,calc(100% - 30px)); padding: 38px; border-radius: 18px; }
.dialog-x { position: absolute; top: 16px; right: 16px; }
.info-dialog h2 { margin: 0 0 16px; font-size: 26px; letter-spacing: -.04em; }
.info-dialog > p:not(.mini-label), .info-dialog li { color: #777; font-size: 11px; }
.info-dialog ul { margin: 20px 0 0; padding: 16px 0 0 20px; border-top: 1px solid var(--line); }
.info-dialog li + li { margin-top: 7px; }
.toast { position: fixed; right: 22px; bottom: 22px; z-index: 100; padding: 10px 15px; border-radius: 999px; color: white; background: #333; box-shadow: var(--shadow); font-size: 10px; font-weight: 600; opacity: 0; pointer-events: none; transform: translateY(10px); transition: .18s; }
.toast.is-visible { opacity: 1; transform: none; }

@media (max-width: 960px) {
  .header-inner { grid-template-columns: auto 1fr auto; gap: 20px; }
  .header-search { max-width: 420px; }
  .audience-pill b { display: none; }
  .discovery { padding: 34px; }
  .discovery-stats { display: none; }
  .result-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 720px) {
  body { background: white; padding-bottom: 66px; }
  .pr-bar { font-size: 8px; }
  .header-inner { grid-template-columns: 1fr auto; min-height: 58px; padding: 0 15px; }
  .brand-icon { width: 30px; height: 26px; }
  .brand-icon::before { top: 8px; left: 8px; width: 6px; height: 18px; }
  .brand-icon::after { top: 8px; right: 6px; width: 6px; height: 18px; }
  .brand-icon i { top: -1px; left: 11px; width: 6px; height: 15px; }
  .brand-name { font-size: 21px; }
  .header-search { display: none; }
  .header-actions .icon-button { display: none; }
  .audience-pill { height: 34px; }
  .app-shell { padding: 14px 14px 58px; }
  .discovery { min-height: 170px; padding: 26px 24px; border-radius: 14px; }
  .discovery h1 { font-size: 29px; }
  .discovery-copy > p:last-child { font-size: 10px; }
  .banner-mark { right: 4%; font-size: 170px; }
  .mobile-search { display: flex; height: 46px; margin-top: 14px; }
  .genre-strip { margin-top: 17px; padding: 16px 0 20px; }
  .section-row { margin-bottom: 13px; }
  .genre-chips { flex-wrap: nowrap; margin-right: -14px; padding-right: 14px; overflow-x: auto; scrollbar-width: none; }
  .genre-chips::-webkit-scrollbar { display: none; }
  .genre-chips button { flex: 0 0 auto; }
  .catalog { padding-top: 25px; }
  .catalog-head { align-items: center; }
  .catalog-head h2 { font-size: 20px; }
  .filter-open { display: flex; }
  .sort-control > span { display: none; }
  .sort-control select { max-width: 112px; }
  .catalog-layout { display: block; margin-top: 10px; }
  .filter-panel { display: none; }
  .results-summary > span { display: none; }
  .result-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 19px 8px; }
  .result-card { border: 1px solid var(--line); border-radius: 10px; }
  .card-cover { aspect-ratio: 4/3.2; }
  .card-body { padding: 9px; }
  .result-card h3 { font-size: 10px; }
  .card-bottom { align-items: center; }
  .price { font-size: 12px; }
  .open-product { font-size: 0; }
  .open-product::after { color: var(--accent); content: "見る ›"; font-size: 8px; }
  .why-box { align-items: flex-start; margin-top: 36px; padding: 16px; }
  .why-box p { line-height: 1.7; }
  .site-footer { display: block; padding: 28px 16px; }
  .site-footer nav { flex-wrap: wrap; margin-top: 20px; }
  .site-footer small { display: block; margin-top: 20px; }
  .bottom-nav { position: fixed; right: 0; bottom: 0; left: 0; z-index: 45; display: grid; grid-template-columns: repeat(5,1fr); min-height: 62px; padding-bottom: env(safe-area-inset-bottom); border-top: 1px solid var(--line); background: rgba(255,255,255,.97); backdrop-filter: blur(12px); }
  .bottom-nav a, .bottom-nav button { position: relative; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 2px; padding: 7px 2px 5px; border: 0; color: #777; background: transparent; font-size: 8px; }
  .bottom-nav svg { width: 19px; height: 19px; }
  .bottom-nav .is-active { color: var(--accent); }
  .bottom-nav i { position: absolute; top: 4px; left: calc(50% + 6px); display: none; min-width: 15px; height: 15px; padding: 0 3px; border-radius: 8px; color: white; background: var(--accent); font-size: 7px; font-style: normal; line-height: 15px; }
  .bottom-nav i.has-count { display: block; }
  .bottom-nav .shorts-nav { overflow: visible; color: var(--accent); }
  .shorts-nav-icon { display: grid; place-items: center; width: 37px; height: 29px; margin-top: -17px; border: 4px solid white; border-radius: 11px; color: white; background: linear-gradient(135deg,var(--pink),var(--accent-2)); box-sizing: content-box; box-shadow: 0 4px 13px rgba(255,61,19,.25); font-size: 10px; }
  .shorts-dialog { width: 100vw; height: 100dvh; margin: 0; border-radius: 0; }
  .shorts-topbar { padding-top: calc(13px + env(safe-area-inset-top)); }
  .demo-video-badge { top: calc(70px + env(safe-area-inset-top)); }
  .short-copy { bottom: calc(54px + env(safe-area-inset-bottom)); }
  .short-actions { bottom: calc(96px + env(safe-area-inset-bottom)); }
  .next-short { bottom: calc(12px + env(safe-area-inset-bottom)); }
  .toast { right: 14px; bottom: 76px; left: 14px; text-align: center; }
}
@media (max-width: 390px) {
  .discovery { padding: 23px 19px; }
  .discovery h1 { font-size: 27px; }
  .result-grid { gap: 16px 7px; }
  .creator-row span { font-size: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
