/*
Theme Name: FANZA Guide
Theme URI: https://fanza.applp.xyz/guide/
Author: applp
Description: 抜ける夜のAVガイド — FANZA動画のジャンル別厳選レビュー
Version: 4.0.0
Text Domain: fanza-guide
*/

/* ==================== Variables ==================== */
:root{
  --bg:#0a0a0a;
  --surface:#141414;
  --surface2:#1f1f1f;
  --surface3:#2a2a2a;
  --text:rgba(255,255,255,.92);
  --text-muted:rgba(255,255,255,.62);
  --text-dim:rgba(255,255,255,.38);
  --primary:#d4af37;
  --primary-light:#eecf6d;
  --primary-glow:rgba(212,175,55,.18);
  --price:#ff5c6d;
  --pink:#ff69b4;
  --border:rgba(255,255,255,.09);
  --border-light:rgba(255,255,255,.15);
  --shadow:0 10px 30px rgba(0,0,0,.35);
  --glow:0 0 22px var(--primary-glow);
  --radius:12px;
}

/* ==================== Reset & Base ==================== */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{font-size:16px;-webkit-text-size-adjust:100%;scroll-behavior:smooth}
body{
  font-family:"Plus Jakarta Sans",system-ui,-apple-system,"Hiragino Kaku Gothic ProN","Noto Sans JP",sans-serif;
  color:var(--text);background:var(--bg);line-height:1.7;
}
a{color:var(--primary-light);text-decoration:none;transition:color .2s}
a:hover{color:#fff}
img{max-width:100%;height:auto;display:block}
ul,ol{list-style:none}

/* ==================== Layout ==================== */
.wrap{max-width:1200px;margin:0 auto;padding:0 16px}
.content-area{max-width:950px;margin:0 auto;padding:32px 16px}

/* ==================== Header ==================== */
.site-header{
  background:var(--surface);border-bottom:1px solid var(--border);
}
.header-top{
  position:relative;display:flex;flex-direction:column;align-items:center;
  padding:18px 0;gap:4px;
}
.site-branding{display:flex;flex-direction:column;align-items:center;gap:4px}
.site-title-line{display:flex;align-items:baseline;gap:0;margin:0;font-size:1.4rem;font-weight:bold}
.site-title-line .site-logo{
  font-size:1.4rem;font-weight:800;color:var(--primary);letter-spacing:.03em;text-decoration:none;
}
.site-title-line .site-logo:hover{color:var(--primary-light)}
.site-title-line .site-subtitle{font-weight:normal;font-size:1rem;color:#fff;opacity:.85}
.site-title-line .site-subtitle::before{content:" | ";margin:0 .4em}
.site-branding .tagline{display:block;font-size:.85rem;color:#ccc;margin-top:4px}
.header-pr-mobile{display:none}
.header-badge{
  position:absolute;right:0;top:50%;transform:translateY(-50%);
  display:flex;flex-direction:column;align-items:center;gap:6px;
}
.header-badge .fanza-logo{display:flex;align-items:center;gap:6px}
.header-badge .fanza-logo img{border-radius:2px}
.pr-badge{
  font-size:.6rem;background:rgba(255,255,255,.08);color:var(--text-dim);
  padding:3px 8px;border-radius:3px;border:1px solid var(--border);
}
.fc2-ranking-link{
  display:inline-flex;flex-direction:column;align-items:center;
  line-height:1;text-decoration:none;
}
.fc2-ranking-image{display:block;width:88px;height:auto;border:0}
.fc2-ranking-text{
  display:block;margin-top:4px;font-size:10px;color:#fff;
  text-decoration:none;line-height:1.1;text-align:center;width:88px;white-space:nowrap;
}
.fc2-ranking-link:hover{text-decoration:none}
.header-nav-bar{
  display:flex;align-items:center;justify-content:center;gap:6px;padding:10px 0;
  overflow-x:auto;-webkit-overflow-scrolling:touch;scrollbar-width:none;
}
.header-nav-bar::-webkit-scrollbar{display:none}
.header-nav-bar a,.header-nav-bar button{
  color:rgba(255,255,255,.85);font-size:.8rem;padding:7px 16px;
  border-radius:999px;transition:all .2s;white-space:nowrap;
  background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.12);
  cursor:pointer;font-family:inherit;backdrop-filter:blur(6px);
}
.header-nav-bar a:hover,.header-nav-bar a.active,
.header-nav-bar button:hover{
  background:#fff;color:#333;border-color:#fff;
}

/* ==================== Breadcrumb ==================== */
.breadcrumb{
  padding:14px 0;font-size:.78rem;color:var(--text-dim);
  border-bottom:1px solid var(--border);margin-bottom:28px;
}
.breadcrumb a{color:var(--primary-light);font-weight:500}
.breadcrumb a:hover{color:#fff}
.breadcrumb .sep{margin:0 8px;color:var(--text-dim)}

/* ==================== Guide Intro ==================== */
.guide-intro{margin:44px 0 12px;padding:0 16px}
.guide-intro .guide-lead{font-size:.95rem;color:var(--text-muted);line-height:1.9;text-align:center;margin-bottom:16px}
.guide-intro p{font-size:.88rem;color:var(--text-muted);margin-top:10px;line-height:1.8}
.guide-intro-detail{
  max-width:720px;margin:20px auto 0;text-align:left;
  padding:20px 24px;background:var(--surface);border-radius:var(--radius);
  border:1px solid var(--border);
}
.guide-intro-detail p{
  font-size:.88rem;color:var(--text-muted);line-height:1.9;margin-top:12px;
}
.guide-intro-detail p:first-child{margin-top:0}
.guide-intro-detail strong{color:var(--primary-light);font-weight:700}

/* ==================== Grid Cards (/guide/ top) ==================== */
.guide-grid{
  display:grid;grid-template-columns:repeat(auto-fill,minmax(360px,1fr));
  gap:20px;margin:28px 0 40px;
}
.guide-card{
  position:relative;background:var(--surface);border-radius:var(--radius);overflow:hidden;
  border:1px solid var(--border);cursor:pointer;
  transition:transform .25s,box-shadow .25s,border-color .25s;
}
.guide-card:hover{
  transform:translateY(-4px);box-shadow:var(--glow);
  border-color:rgba(212,175,55,.3);
}
.guide-card .card-body{padding:18px 20px}
.guide-card h2{font-size:1rem;line-height:1.55;margin-bottom:6px;font-weight:700}
.guide-card h2 a{color:var(--text)}
.guide-card:hover h2 a{color:var(--primary-light)}
.guide-card .card-excerpt{font-size:.82rem;color:var(--text-muted);line-height:1.7}
.guide-card .card-image{
  aspect-ratio:3/2;background:var(--surface2);
  display:flex;align-items:center;justify-content:center;
  font-size:3rem;border-top:1px solid var(--border);border-bottom:1px solid var(--border);
  overflow:hidden;
}
.guide-card .card-image img{
  width:100%;height:100%;object-fit:contain;
}
.guide-card .card-meta{
  font-size:.72rem;color:var(--text-dim);display:flex;justify-content:space-between;
  align-items:center;padding-top:0;
}
.guide-card .card-genre{
  display:inline-block;background:rgba(212,175,55,.12);color:var(--primary);
  padding:4px 12px;border-radius:20px;font-size:.7rem;font-weight:700;margin-bottom:8px;
  border:1px solid rgba(212,175,55,.2);letter-spacing:.03em;
}
.card-tag{
  background:rgba(212,175,55,.1);color:var(--primary);
  padding:2px 10px;border-radius:20px;font-weight:600;font-size:.68rem;
}

/* ==================== Horizontal Cards (/guide/category/) ==================== */
.guide-list{margin:28px 0 40px}
.guide-card-h{
  background:var(--surface);border-radius:var(--radius);overflow:hidden;
  border:1px solid var(--border);cursor:pointer;
  margin-bottom:18px;
  transition:box-shadow .25s,border-color .25s;
}
.guide-card-h:hover{
  box-shadow:var(--glow);border-color:rgba(212,175,55,.3);
}
.guide-card-h .card-inner{display:flex;gap:0}
.guide-card-h .card-image{
  flex-shrink:0;width:200px;
  background:var(--surface2);
  display:flex;align-items:center;justify-content:center;
  font-size:3rem;border-right:1px solid var(--border);
}
.guide-card-h .card-body{
  flex:1;min-width:0;padding:18px 22px;
  display:flex;flex-direction:column;justify-content:center;
}
.guide-card-h .card-genre{
  display:inline-block;background:rgba(212,175,55,.12);color:var(--primary);
  padding:3px 10px;border-radius:20px;font-size:.68rem;font-weight:700;
  border:1px solid rgba(212,175,55,.2);letter-spacing:.03em;
  margin-bottom:6px;align-self:flex-start;
}
.guide-card-h h2{font-size:.98rem;line-height:1.55;font-weight:700;margin-bottom:8px}
.guide-card-h h2 a{color:var(--text)}
.guide-card-h:hover h2 a{color:var(--primary-light)}
.guide-card-h .card-excerpt{font-size:.82rem;color:var(--text-muted);line-height:1.7}
.guide-card-h .card-meta{
  font-size:.72rem;color:var(--text-dim);display:flex;gap:12px;
  align-items:center;margin-top:10px;
}

/* ==================== Single Article ==================== */
.article-header{margin-bottom:36px}
.article-header h1{
  font-size:1.45rem;line-height:1.6;font-weight:800;color:var(--primary);
  border-bottom:2px solid rgba(212,175,55,.3);padding-bottom:14px;
}
.article-meta{
  font-size:.76rem;color:var(--text-dim);margin-top:10px;
  display:flex;gap:16px;align-items:center;
}
.article-body{font-size:1rem;line-height:2;color:var(--text)}
.article-body p{margin-bottom:0}
.article-body h2{
  font-size:1.15rem;font-weight:800;margin:44px 0 20px;
  padding:14px 20px;background:var(--surface2);
  border-left:4px solid var(--primary);border-radius:0 8px 8px 0;
  color:var(--primary-light);
}
.article-body h3{
  font-size:1.2rem;font-weight:700;margin:0 0 4px;
  padding-bottom:0;border-bottom:none;color:var(--text);
}

/* ==================== Product Card ==================== */
.product-card{
  background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);
  padding:16px;margin:0 0 48px 0;overflow:hidden;
  transition:border-color .25s,box-shadow .25s;
}
.product-card:hover{border-color:rgba(212,175,55,.25);box-shadow:var(--glow),var(--shadow)}
.product-card-inner{display:flex;flex-direction:column;gap:0}
.product-card .product-body{display:contents}
.product-card .product-title{display:none}
.product-card .product-info{order:2;margin-bottom:8px}
.product-card .product-body > p{order:3}
.product-card .product-image{
  order:4;width:100%;align-self:flex-start;
  background:#000;border-radius:var(--radius);
  overflow:hidden;position:relative;margin:0 0 12px 0;
}
.product-card .product-image .img-placeholder{opacity:.3;font-size:2.8rem;padding:40px 0;text-align:center}
.product-card .product-image > img{
  width:100%;height:auto;display:block;
}
.product-card .recommend-tag{order:5}
.product-card .product-review{order:6}
.product-card .product-body > a.product-cta{order:7;align-self:stretch;text-align:center}
.product-card .product-title{
  font-size:1rem;font-weight:700;margin-bottom:10px;color:var(--text);line-height:1.5;
}
.product-info{
  display:flex;flex-wrap:wrap;gap:8px 16px;margin-bottom:14px;
  font-size:.8rem;color:var(--text-muted);
}
.product-info span{display:inline-flex;align-items:center;gap:3px}
.product-price{color:var(--price);font-weight:800;font-size:1.05rem}
.product-review{
  margin:12px 0 16px;padding:14px 16px;background:var(--surface2);
  border-left:3px solid var(--pink);border-radius:0 8px 8px 0;
  font-size:1rem;line-height:1.85;color:var(--text-muted);flex:1;
}
.product-card .product-body > p:last-child{
  align-self:flex-end;margin-top:auto;margin-bottom:0;
}
.product-cta{
  display:flex;align-items:center;justify-content:center;gap:8px;
  background:linear-gradient(135deg,var(--primary),#c9a22e);color:#000;
  padding:10px 24px;border-radius:8px;font-weight:700;font-size:.88rem;
  transition:transform .15s,box-shadow .15s;letter-spacing:.02em;
}
.product-cta:hover{
  transform:translateY(-2px);box-shadow:0 4px 16px var(--primary-glow);color:#000;
}

/* ==================== Related Guides ==================== */
.related-guides{
  margin:52px 0 0;padding:24px;background:var(--surface);
  border:1px solid var(--border);border-radius:var(--radius);
}
.related-guides h2{
  font-size:1.05rem;margin-bottom:16px;border:none;background:none;
  padding:0;color:var(--primary);font-weight:700;
}
.related-guides ul{display:flex;flex-direction:column;gap:6px}
.related-guides a{
  display:block;padding:12px 16px;background:var(--surface2);border-radius:8px;
  color:var(--primary-light);font-weight:500;font-size:.88rem;
  transition:background .2s,transform .15s;border:1px solid var(--border);
}
.related-guides a:hover{background:var(--surface3);transform:translateX(4px);color:#fff}

/* ==================== CTA Button ==================== */
.site-cta{
  display:block;text-align:center;margin:28px 0;padding:16px;
  background:linear-gradient(135deg,var(--primary),#c9a22e);color:#000;
  border-radius:10px;font-weight:800;font-size:.95rem;
  transition:transform .15s,box-shadow .15s;
}
.site-cta:hover{transform:translateY(-2px);color:#000;box-shadow:0 4px 20px var(--primary-glow)}

/* ==================== Footer ==================== */
.site-footer{
  background:var(--surface);border-top:1px solid var(--border);
  color:var(--text-muted);margin-top:56px;font-size:.8rem;
}
.footer-main{
  padding:28px 0;display:flex;flex-wrap:wrap;justify-content:space-between;
  align-items:flex-start;gap:20px;
}
.footer-brand .footer-title{font-size:1rem;font-weight:700;color:var(--primary);margin-bottom:4px}
.footer-links{display:flex;gap:18px;flex-wrap:wrap}
.footer-links a{color:var(--text-muted);font-size:.8rem;transition:color .2s}
.footer-links a:hover{color:var(--primary-light)}
.footer-badge{display:none}
.footer-bottom{
  padding:16px 0;border-top:1px solid var(--border);
  text-align:center;font-size:.68rem;color:var(--text-dim);line-height:1.6;
}
.footer-bottom a{color:var(--text-dim)}
.footer-bottom a:hover{color:var(--primary-light)}

/* ==================== Back to Top ==================== */
.back-to-top{
  position:fixed;bottom:24px;right:24px;z-index:900;
  width:46px;height:46px;border-radius:50%;border:1px solid var(--border);cursor:pointer;
  background:var(--surface2);color:var(--primary);
  font-size:1.1rem;display:flex;align-items:center;justify-content:center;
  box-shadow:0 4px 16px rgba(0,0,0,.4);
  opacity:0;visibility:hidden;transition:opacity .3s,visibility .3s,transform .15s;
}
.back-to-top.visible{opacity:1;visibility:visible}
.back-to-top:hover{transform:translateY(-3px);background:var(--surface3);box-shadow:var(--glow)}

/* ==================== Pagination ==================== */
.pagination{display:flex;justify-content:center;gap:8px;margin:40px 0}
.pagination a,.pagination span{padding:8px 16px;border-radius:8px;font-size:.83rem}
.pagination .current{background:var(--primary);color:#000;font-weight:700}
.pagination a{background:var(--surface);color:var(--text-muted);border:1px solid var(--border)}
.pagination a:hover{background:var(--surface2);color:var(--primary-light);border-color:rgba(212,175,55,.25)}

/* ==================== 404 ==================== */
.page-404{text-align:center;padding:80px 16px}
.page-404 h1{font-size:3.5rem;color:var(--primary);margin-bottom:8px;font-weight:800}
.page-404 p{font-size:1rem;color:var(--text-muted);margin-bottom:28px}

/* ==================== Bottom Ads (scroll-triggered) ==================== */
.mobile-bottom-ad,.pc-bottom-ad{display:none}

/* ==================== Utility ==================== */
.sp-only{display:none}

/* ==================== Responsive ==================== */
@media(max-width:768px){
  .header-top{padding:14px 0;gap:6px}
  /* header-badge: display:noneを使わず0サイズに（fixed子要素を活かすため） */
  /* transform:none必須 — PC版のtranslateY(-50%)がfixed子要素の基準点を狂わせる */
  .header-badge{position:absolute;width:0;height:0;overflow:visible;display:flex;transform:none}
  .header-badge > .fanza-logo{display:none}
  .pr-badge{display:none}
  .fc2-ranking-link{
    position:fixed;bottom:0;left:16px;z-index:1000;
    display:inline-flex;flex-direction:column;align-items:center;
    transition:transform .25s ease,opacity .25s ease;
    will-change:transform,opacity;
  }
  .fc2-ranking-link.is-hidden{transform:translateY(100%);opacity:0;pointer-events:none}
  .fc2-ranking-image{width:auto;height:44px}
  .fc2-ranking-text{width:auto;font-size:10px;white-space:nowrap}
  .header-pr-mobile{display:block;text-align:center;color:#fff;font-size:.6rem;margin-top:2px}
  .footer-badge{display:flex;align-items:center;margin-top:8px}
  .header-nav-bar{justify-content:flex-start;padding:6px 0}
  .site-title-line{flex-direction:column;align-items:center;gap:0;font-size:1.2rem;text-align:center}
  .site-title-line .site-subtitle{font-size:.82rem}
  .site-title-line .site-subtitle::before{content:none}
  .site-branding .tagline{font-size:.72rem}
  .guide-intro h1{font-size:1.25rem}
  .guide-grid{grid-template-columns:1fr;gap:14px}
  .guide-card .card-image{aspect-ratio:3/2}
  .guide-card-h .card-inner{flex-direction:column}
  .guide-card-h .card-image{width:100%;height:120px;border-right:none;border-bottom:1px solid var(--border)}
  .guide-card-h .card-body{padding:16px 18px}
  .article-header h1{font-size:1.25rem}
  .article-body h2{font-size:1.05rem;padding:12px 14px}
  .content-area{padding:20px 16px}
  .article-body h3{margin:0 0 4px;padding-bottom:0;border-bottom:none}
  .product-card{padding:14px;margin-top:4px}
  .product-card-inner{flex-direction:column;gap:0}
  .product-card .product-body{display:contents}
  .product-card .product-title{display:none}
  .product-card .product-info{order:2;margin-bottom:8px}
  .product-card .product-body > p{order:3}
  .product-card .product-image{order:4;width:100%;border-radius:8px;margin:0 0 12px 0}
  .product-card .recommend-tag{order:5}
  .product-card .product-review{order:6}
  .product-card .product-body > a.product-cta{order:7;align-self:stretch;text-align:center}
  .product-info{gap:4px 12px}
  .footer-main{flex-direction:column;align-items:center;text-align:center}
  .footer-links{justify-content:center}
  .sp-only{display:inline}
  .back-to-top{bottom:16px;right:16px;width:40px;height:40px;font-size:.95rem}
  .back-to-top.is-hidden{transform:translateY(calc(100% + 16px));opacity:0;pointer-events:none}
  .page-404 h1{font-size:2.5rem}
  /* Mobile Bottom Ad */
  .mobile-bottom-ad{
    position:fixed;bottom:0;left:0;right:0;z-index:999;
    display:flex;justify-content:center;align-items:center;padding:8px;
    background:rgba(0,0,0,.8);
    opacity:0;transform:translateY(100%);
    transition:transform .3s ease,opacity .3s ease;
    pointer-events:none;
  }
  .mobile-bottom-ad.is-visible{transform:translateY(0);opacity:1;pointer-events:auto}
  .mobile-bottom-ad .widget-banner{display:block;width:468px;max-width:calc(100vw - 16px);aspect-ratio:468/60}
  .mobile-bottom-ad .widget-banner iframe,
  .mobile-bottom-ad .widget-banner img{width:100%;height:100%;max-width:468px;max-height:60px}
}

/* PC Bottom Ad */
@media(min-width:769px){
  .pc-bottom-ad{
    position:fixed;bottom:0;left:0;right:0;z-index:1000;
    display:flex;justify-content:center;align-items:center;padding:10px;
    background:rgba(0,0,0,.8);
    opacity:0;transform:translateY(100%);
    transition:transform .3s ease,opacity .3s ease;
    pointer-events:none;
  }
  .pc-bottom-ad.is-visible{transform:translateY(0);opacity:1;pointer-events:auto}
  .pc-bottom-ad .widget-banner{display:block;max-width:728px;max-height:90px}
  .pc-bottom-ad .widget-banner iframe,
  .pc-bottom-ad .widget-banner img{max-width:728px;max-height:90px}
}

/* ==================== Product Rating ==================== */
.product-rating-wrap{display:inline-flex;align-items:center;gap:8px;flex-wrap:nowrap}
.product-rating{color:var(--primary);font-weight:700;font-size:.88rem}
.product-code{display:block;font-size:.72rem;color:var(--text-dim);margin-bottom:6px;letter-spacing:.03em}

/* ==================== Recommend Tag ==================== */
.recommend-tag{
  display:inline-block;background:rgba(212,175,55,.1);color:var(--primary);
  padding:5px 14px;border-radius:20px;font-size:.9rem;font-weight:600;
  border:1px solid rgba(212,175,55,.2);letter-spacing:.02em;
}

/* ==================== User Reviews Accordion ==================== */
.user-reviews{
  margin:12px 0 16px;border:1px solid var(--border);border-radius:8px;
  overflow:hidden;background:var(--surface);
}
.user-reviews summary{
  cursor:pointer;padding:12px 16px;font-size:.82rem;font-weight:600;
  color:var(--primary-light);background:var(--surface2);
  list-style:none;display:flex;align-items:center;gap:8px;
  transition:background .2s;user-select:none;
}
.user-reviews summary::-webkit-details-marker{display:none}
.user-reviews summary::after{
  content:'\25BC';font-size:.6rem;margin-left:auto;
  transition:transform .2s;color:var(--text-dim);
}
.user-reviews[open] summary::after{transform:rotate(180deg)}
.user-reviews[open] summary{border-bottom:1px solid var(--border)}
.user-reviews summary:hover{background:var(--surface3)}
.review-item{
  padding:14px 16px;border-bottom:1px solid var(--border);
  font-size:.82rem;line-height:1.75;color:var(--text-muted);
}
.review-item:last-child{border-bottom:none}
.review-header{
  display:flex;align-items:center;gap:8px;margin-bottom:6px;flex-wrap:wrap;
}
.review-stars{color:var(--primary);font-weight:700;font-size:.78rem;letter-spacing:1px}
.review-author{font-weight:600;color:var(--text);font-size:.78rem}
.review-badge{
  font-size:.65rem;background:rgba(255,92,109,.15);color:var(--price);
  padding:2px 8px;border-radius:10px;font-weight:600;
}
.review-comment{margin:0;color:var(--text-muted);font-size:.82rem;line-height:1.8}
.review-nickname{font-weight:600;color:var(--text);font-size:.78rem}

/* ==================== Modal Open State ==================== */
body.is-modal-open{overflow:hidden}

/* ==================== Sample Images Slider ==================== */
.sample-images-slider{
  position:relative;width:100%;aspect-ratio:3/2;overflow:hidden;background:#000;
}
.sample-images-slider .sample-image{
  position:absolute;top:0;left:0;width:100%;height:100%;
  object-fit:contain;object-position:center center;
  opacity:0;transition:opacity .3s ease-in-out;
}
.sample-images-slider .sample-image.active{opacity:1}

/* ==================== Sample Play Button ==================== */
.sample-play-button{
  position:absolute;right:10px;bottom:10px;z-index:6;
  background:rgba(0,0,0,.6);color:#fff;
  border:1px solid rgba(255,255,255,.4);border-radius:999px;
  padding:8px 12px;font-size:12px;font-weight:600;cursor:pointer;
  transition:background .2s;font-family:inherit;text-decoration:none;
}
.sample-play-button:hover{background:rgba(0,0,0,.75)}
.sample-play-button:focus-visible{outline:2px solid #fff;outline-offset:2px}

/* ==================== Sample Video Modal ==================== */
.sample-video-modal{
  position:fixed;inset:0;background:rgba(0,0,0,.7);
  display:none;align-items:center;justify-content:center;z-index:10000;
  padding:20px;
}
.sample-video-modal.is-open{display:flex}
.sample-video-dialog{
  position:relative;width:min(90vw,720px);max-height:90vh;
  display:flex;flex-direction:column;
}
.sample-video-close{
  position:absolute;top:-36px;right:0;color:#fff;font-size:28px;
  background:none;border:none;cursor:pointer;padding:4px 8px;
  font-family:inherit;
}
.sample-video-close:hover{opacity:.7}
.sample-video-media-wrapper{
  position:relative;width:100%;aspect-ratio:3/2;background:#000;
  border-radius:8px;overflow:hidden;
}
.sample-video-player,.sample-video-iframe{
  width:100%;height:100%;border:none;
}
.is-hidden{display:none!important}

@media(pointer:coarse){
  .sample-video-modal{padding:0;align-items:center;justify-content:center;overflow:hidden}
  .sample-video-dialog{
    width:100vw;width:100dvw;height:100vh;height:100dvh;max-height:none;
    border-radius:0;justify-content:center;
  }
  .sample-video-close{top:12px;right:12px;z-index:2;font-size:32px}
  .sample-video-media-wrapper{
    width:calc(720px * var(--sample-video-scale,1));
    height:calc(480px * var(--sample-video-scale,1));
    aspect-ratio:auto;border-radius:0;
  }
}

/* ==================== Review Modal Trigger ==================== */
.review-modal-trigger{
  background:none;border:1px solid var(--primary);color:var(--primary);
  padding:3px 12px;border-radius:4px;font-size:.78rem;cursor:pointer;
  margin-left:8px;transition:all .2s;font-family:inherit;white-space:nowrap;
}
.review-modal-trigger:hover{background:var(--primary);color:#000}

/* ==================== Guide Review Modal ==================== */
.guide-review-modal{
  position:fixed;inset:0;background:rgba(0,0,0,.75);
  display:none;align-items:center;justify-content:center;z-index:10000;
  padding:20px;
}
.guide-review-modal.is-open{display:flex}
.guide-review-dialog{
  background:var(--surface);border:1px solid var(--border);
  border-radius:var(--radius);width:min(95vw,640px);max-height:80vh;
  display:flex;flex-direction:column;box-shadow:var(--shadow);
}
.guide-review-header{
  padding:16px 20px;border-bottom:1px solid var(--border);
  display:flex;justify-content:space-between;align-items:center;gap:12px;
  flex-shrink:0;
}
.guide-review-title{
  font-size:.92rem;font-weight:700;color:var(--text);
  overflow:hidden;text-overflow:ellipsis;min-width:0;
}
.guide-review-title-text{margin-right:6px}
.guide-review-count{font-size:.78rem;color:var(--text-muted);font-weight:400}
.guide-review-close{
  flex-shrink:0;color:var(--text-muted);font-size:24px;
  background:none;border:none;cursor:pointer;padding:4px 8px;
  font-family:inherit;transition:color .2s;
}
.guide-review-close:hover{color:#fff}
.guide-review-body{
  padding:0;overflow-y:auto;flex:1;
  scrollbar-width:thin;scrollbar-color:var(--surface3) transparent;
}
.guide-review-body::-webkit-scrollbar{width:6px}
.guide-review-body::-webkit-scrollbar-track{background:transparent}
.guide-review-body::-webkit-scrollbar-thumb{background:var(--surface3);border-radius:3px}
.guide-review-body .review-item{padding:14px 20px}
.guide-review-empty{padding:40px 20px;text-align:center;color:var(--text-dim);font-size:.88rem}

@media(max-width:768px){
  .guide-review-dialog{width:95vw;max-height:85vh}
  .guide-review-header{padding:14px 16px}
  .guide-review-body .review-item{padding:12px 16px}
  .product-rating-wrap{flex-wrap:wrap}
  .review-modal-trigger{margin-left:0;margin-top:0}
  .product-info{flex-direction:column;gap:4px}
}
