/*
Theme Name: 着衣AV Lab
Theme URI: https://example.com/chakui-av-lab
Author: 潮見 まこと（Makoto Shiomi）
Author URI: https://example.com
Description: Midnight Editorial — 着衣プレイ・衣装フェチAVレビュー特化のダークトーンWPオリジナルテーマ。衣装品質と着衣維持率を独自基準で徹底評価。EEAT強化済み。
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: cosplay-archive
Tags: dark, custom-menu, custom-logo, featured-images, theme-options
*/

/* =============================================
   DESIGN TOKENS — Midnight Editorial
   ============================================= */
:root {
  --bg0: #09090D;
  --bg1: #0F0F15;
  --bg2: #15151D;
  --bg3: #1B1B25;
  --bgH: #20202C;
  --bgI: #0C0C12;
  --bdr: #232333;
  --bdrS: #1A1A28;
  --bdrF: #38384A;
  --t1: #EDECEA;
  --t2: #C0C0C0;
  --t3: #A0A0A0;
  --tI: #09090D;
  --ac: #C4906A;
  --acH: #D4A47E;
  --acM: rgba(196, 144, 106, .12);
  --acT: #DABA9C;
  --tagB: #1A2836;
  --tagT: #7AB0D4;
  --yes: #6A9C76;
  --yesB: rgba(106, 156, 118, .12);
  --no: #9C6A6A;
  --noB: rgba(156, 106, 106, .12);
  --fd: 'Playfair Display', Georgia, serif;
  --fh: 'Noto Sans JP', sans-serif;
  --fb: 'Noto Sans JP', sans-serif;
  --fu: 'Outfit', 'Noto Sans JP', sans-serif;
  --xs: 4px;
  --sm: 8px;
  --md: 16px;
  --lg: 24px;
  --xl: 32px;
  --2xl: 48px;
  --3xl: 64px;
  --4xl: 96px;
  --mw: 1200px;
  --aw: 840px;
  --rs: 4px;
  --rm: 8px;
  --rl: 12px;
}

/* =============================================
   RESET
   ============================================= */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--fb);
  color: var(--t1);
  background: var(--bg0);
  line-height: 1.8;
  overflow-x: hidden;
}

a {
  color: var(--acT);
  text-decoration: underline;
  text-decoration-color: rgba(196, 144, 106, .35);
  text-underline-offset: 3px;
  transition: color .2s, text-shadow .3s, text-decoration-color .2s;
}

a:hover {
  color: var(--acH);
  text-decoration-color: var(--acH);
  text-shadow: 0 0 8px rgba(212, 164, 126, .35);
}

img {
  max-width: 100%;
  display: block;
}

ul, ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
}

/* =============================================
   HEADER
   ============================================= */
.hdr {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(9, 9, 13, .95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--bdrS);
}

.hdr-in {
  max-width: var(--mw);
  margin: 0 auto;
  padding: 0 var(--lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 52px;
}

.logo {
  font-family: var(--fd);
  font-size: 19px;
  font-weight: 600;
  color: var(--t1);
  display: flex;
  align-items: center;
  gap: var(--sm);
  text-decoration: none;
}

.logo .d {
  color: var(--ac);
}

.logo::before {
  content: '';
  width: 3px;
  height: 17px;
  background: var(--ac);
  border-radius: 2px;
}

/* Desktop navigation */
.gnav {
  display: flex;
  gap: var(--xl);
  height: 100%;
  align-items: center;
}

.gnav > li {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}

.gnav > li > a {
  font-family: var(--fu);
  font-size: 12px;
  font-weight: 600;
  color: var(--t2);
  text-transform: uppercase;
  letter-spacing: .1em;
  text-decoration: none;
  padding: var(--sm) 0;
  position: relative;
}

.gnav > li > a::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--ac);
  transition: width .3s;
}

.gnav > li:hover > a::after {
  width: 100%;
}

.gnav > li:hover > a {
  color: var(--t1);
}

/* Mega menu */
.mega {
  position: absolute;
  top: 100%;
  left: 50%;
  width: 680px;
  background: var(--bg1);
  border: 1px solid var(--bdr);
  border-radius: 0 0 var(--rl) var(--rl);
  padding: var(--xl);
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(-6px);
  transition: .25s;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .55);
}

.gnav > li:hover .mega {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.mega-lbl {
  font-family: var(--fu);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--ac);
  margin-bottom: var(--md);
  padding-bottom: var(--sm);
  border-bottom: 1px solid var(--bdr);
}

.mega-g {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--xs);
}

.mega-g a {
  font-size: 13px;
  color: var(--t2);
  padding: 5px 8px;
  border-radius: var(--rs);
  transition: .15s;
  white-space: nowrap;
  text-decoration: none;
}

.mega-g a:hover {
  background: var(--acM);
  color: var(--acT);
}

.mega-g .c {
  font-size: 12px;
  color: var(--t3);
  margin-left: 2px;
}

.mega-ft {
  margin-top: var(--md);
  padding-top: var(--md);
  border-top: 1px solid var(--bdr);
  display: flex;
  justify-content: space-between;
  font-size: 12px;
}

.mega-ft span {
  color: var(--t3);
}

.hdr-r {
  display: flex;
  align-items: center;
}

.btn-s {
  background: none;
  border: none;
  color: var(--t2);
  font-size: 16px;
  padding: var(--sm);
  text-decoration: none;
}

/* Mobile horizontal-scroll category chips */
.mob-chips {
  display: none;
  overflow-x: auto;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
  padding: var(--sm) var(--md);
  border-bottom: 1px solid var(--bdrS);
  background: var(--bg1);
  scrollbar-width: none;
}

.mob-chips::-webkit-scrollbar {
  display: none;
}

.mob-chip {
  display: inline-block;
  font-family: var(--fu);
  font-size: 12px;
  font-weight: 500;
  color: var(--t2);
  background: var(--bg3);
  padding: 5px 14px;
  border-radius: 20px;
  border: 1px solid var(--bdr);
  margin-right: var(--sm);
  text-decoration: none;
  transition: .2s;
}

.mob-chip:hover,
.mob-chip.active {
  background: var(--acM);
  color: var(--acT);
  border-color: var(--ac);
}

/* =============================================
   REUSABLE COMPONENTS
   ============================================= */
.wrap {
  max-width: var(--mw);
  margin: 0 auto;
  padding: 0 var(--lg);
}

.wrap-n {
  max-width: var(--aw);
  margin: 0 auto;
  padding: 0 var(--lg);
}

.sh {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: var(--xl);
  padding-bottom: var(--md);
  border-bottom: 1px solid var(--bdr);
}

.sl {
  font-family: var(--fu);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--ac);
}

.sm-l {
  font-family: var(--fu);
  font-size: 12px;
  color: var(--t3);
  text-decoration: none;
}

.badge {
  font-family: var(--fu);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--ac);
  background: var(--acM);
  padding: 3px 10px;
  border-radius: 3px;
  display: inline-block;
  text-decoration: none;
}

.tag {
  display: inline-flex;
  align-items: center;
  font-family: var(--fu);
  font-size: 12px;
  font-weight: 500;
  padding: 3px 9px;
  border-radius: 3px;
  gap: 3px;
}

.tag-y { background: var(--yesB); color: var(--yes); }
.tag-n { background: var(--noB); color: var(--no); }
.tag-i { background: var(--tagB); color: var(--tagT); }
.tag-d { background: var(--acM); color: var(--acT); }

.stars { display: flex; gap: 1px; font-size: 13px; }
.s1 { color: var(--ac); }
.s0 { color: var(--bdr); }
.sub { font-size: 12px; color: var(--t3); margin-left: 4px; }

.mspecs { display: flex; gap: var(--sm); flex-wrap: wrap; }
.ms {
  font-family: var(--fu);
  font-size: 12px;
  font-weight: 500;
  color: var(--t2);
  background: var(--bg3);
  padding: 3px 9px;
  border-radius: var(--rs);
  border: 1px solid var(--bdr);
}
.ms b { color: var(--acT); font-weight: 600; }

/* Breadcrumb */
.bread {
  display: flex;
  align-items: center;
  gap: var(--sm);
  font-family: var(--fu);
  font-size: 12px;
  color: var(--t3);
  margin-bottom: var(--md);
  padding-top: var(--sm);
  flex-wrap: wrap;
}

.bread a { color: var(--t3); text-decoration: none; }
.bread a:hover { color: var(--acT); }
.bread .sep { opacity: .3; }

/* =============================================
   BUTTONS
   ============================================= */
.btn-aff {
  font-family: var(--fu);
  font-size: 13px;
  font-weight: 600;
  padding: 10px 20px;
  background: var(--ac);
  color: var(--tI);
  border: none;
  border-radius: var(--rs);
  white-space: nowrap;
  transition: .2s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: var(--sm);
}

.btn-aff:hover {
  background: var(--acH);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(196, 144, 106, .28);
  color: var(--tI);
  text-shadow: none;
}

/* FANZA primary (cluster ranking) */
.btn-cta-f {
  font-family: var(--fu);
  font-size: 12px;
  font-weight: 600;
  padding: 7px 16px;
  background: var(--ac);
  color: var(--tI);
  border: 1px solid var(--ac);
  border-radius: var(--rs);
  transition: .2s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}

.btn-cta-f:hover {
  background: var(--acH);
  border-color: var(--acH);
  transform: translateY(-1px);
  box-shadow: 0 3px 10px rgba(196, 144, 106, .25);
  color: var(--tI);
  text-shadow: none;
}

/* Review link secondary (cluster ranking) */
.btn-cta-r {
  font-family: var(--fu);
  font-size: 12px;
  font-weight: 600;
  padding: 7px 16px;
  background: var(--bg3);
  color: var(--t2);
  border: 1px solid var(--bdr);
  border-radius: var(--rs);
  transition: .2s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}

.btn-cta-r:hover {
  border-color: var(--bdrF);
  color: var(--t1);
  background: var(--bgH);
  text-shadow: none;
}

/* Large CTA button */
.btn-aff-lg {
  display: inline-flex;
  align-items: center;
  gap: var(--sm);
  font-family: var(--fu);
  font-size: 15px;
  font-weight: 600;
  padding: 14px 32px;
  background: var(--ac);
  color: var(--tI);
  border: none;
  border-radius: var(--rs);
  transition: .2s;
  text-decoration: none;
}

.btn-aff-lg:hover {
  background: var(--acH);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(196, 144, 106, .28);
  color: var(--tI);
  text-shadow: none;
}

/* =============================================
   TOP PAGE
   ============================================= */
.hero { padding: var(--2xl) 0 var(--xl); }
.hero-brow {
  font-family: var(--fu);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .16em;
  color: var(--ac);
  margin-bottom: var(--md);
}
.hero h1 {
  font-family: var(--fd);
  font-size: clamp(26px, 4.5vw, 44px);
  font-weight: 600;
  line-height: 1.28;
  margin-bottom: var(--md);
  max-width: 660px;
}
.hero-sub { font-size: 14px; color: var(--t2); max-width: 520px; line-height: 1.9; }

/* Evaluation criteria box */
.ec-box {
  background: var(--bg2);
  border: 1px solid var(--bdr);
  border-radius: var(--rl);
  padding: var(--xl);
  margin-bottom: var(--2xl);
}
.ec-title {
  font-family: var(--fh);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: var(--md);
  display: flex;
  align-items: center;
  gap: var(--sm);
}
.ec-title::before { content: '📐'; font-size: 18px; }
.ec-desc { font-size: 13px; color: var(--t2); margin-bottom: var(--lg); line-height: 1.9; }
.ec-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--md); }
.ec-item {
  background: var(--bg3);
  border: 1px solid var(--bdr);
  border-radius: var(--rm);
  padding: var(--lg);
  text-align: center;
  transition: .2s;
}
.ec-item:hover { border-color: var(--ac); }
.ec-icon { font-size: 28px; margin-bottom: var(--sm); }
.ec-item h3 { font-family: var(--fu); font-size: 14px; font-weight: 700; margin-bottom: var(--xs); }
.ec-item .ec-pts { font-family: var(--fd); font-size: 22px; font-weight: 700; color: var(--ac); margin-bottom: var(--sm); }
.ec-item p { font-size: 12px; color: var(--t2); line-height: 1.7; }
.ec-formula {
  margin-top: var(--lg);
  text-align: center;
  font-family: var(--fu);
  font-size: 13px;
  color: var(--t2);
  background: var(--bg0);
  padding: var(--md);
  border-radius: var(--rm);
  border: 1px solid var(--bdr);
}
.ec-formula strong { color: var(--ac); font-size: 15px; }

/* =============================================
   FEATURED CARD & REVIEW GRID
   ============================================= */
.feat { padding-bottom: var(--2xl); }
.fc {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--bg2);
  border: 1px solid var(--bdr);
  border-radius: var(--rl);
  overflow: hidden;
  transition: border-color .3s;
  cursor: pointer;
}
.fc:hover { border-color: var(--ac); }
.fc-img {
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, var(--bg3), var(--bgH));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: var(--t3);
  overflow: hidden;
}
.fc-img img { width: 100%; height: 100%; object-fit: cover; }
.fc-body { padding: var(--xl); display: flex; flex-direction: column; justify-content: center; }
.fc-title { font-family: var(--fh); font-size: 16px; font-weight: 700; line-height: 1.6; margin: var(--sm) 0 var(--md); }
.fc-ex { font-size: 13px; color: var(--t2); line-height: 1.85; margin-bottom: var(--lg); }

.gsec { padding-bottom: var(--2xl); }
.g3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--lg); }
.rc {
  background: var(--bg2);
  border: 1px solid var(--bdr);
  border-radius: var(--rm);
  overflow: hidden;
  transition: .25s;
  cursor: pointer;
}
.rc:hover { border-color: var(--ac); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0, 0, 0, .35); }
.rc-img {
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, var(--bg3), var(--bgH));
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: var(--t3);
  overflow: hidden;
}
.rc-img img { width: 100%; height: 100%; object-fit: cover; }
.rc-score {
  position: absolute;
  top: var(--sm);
  right: var(--sm);
  width: 32px;
  height: 32px;
  background: rgba(9, 9, 13, .88);
  backdrop-filter: blur(6px);
  border: 1.5px solid var(--ac);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--fu);
  font-size: 14px;
  font-weight: 700;
  color: var(--ac);
}
.rc-body { padding: var(--md); }
.rc-body .badge { margin-bottom: var(--sm); }
.rc-body h3 { font-family: var(--fh); font-size: 13px; font-weight: 700; line-height: 1.55; margin-bottom: var(--sm); }

/* Hub cards (top page) */
.csec { padding-bottom: var(--2xl); }
.cgrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--md); }
.cc {
  display: flex;
  align-items: center;
  gap: var(--lg);
  background: var(--bg2);
  border: 1px solid var(--bdr);
  border-radius: var(--rm);
  padding: var(--lg);
  transition: .2s;
  cursor: pointer;
  text-decoration: none;
}
.cc:hover { border-color: var(--ac); background: var(--bgH); text-shadow: none; }
.cc-icon {
  width: 42px; height: 42px;
  background: var(--acM);
  border-radius: var(--rm);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; flex-shrink: 0;
}
.cc-text h3 { font-family: var(--fh); font-size: 14px; font-weight: 700; margin-bottom: 2px; color: var(--t1); }
.cc-text p { font-size: 12px; color: var(--t3); }
.cc-text .hc { font-family: var(--fu); font-size: 12px; color: var(--ac); font-weight: 600; margin-top: 2px; }

/* =============================================
   PILLAR PAGE
   ============================================= */
.pillar-hero { padding: var(--lg) 0 var(--xl); border-bottom: 1px solid var(--bdr); margin-bottom: var(--xl); }
.pillar-hero h1 { font-family: var(--fd); font-size: clamp(22px, 3.5vw, 34px); font-weight: 600; line-height: 1.3; margin: var(--sm) 0 var(--md); }
.pillar-lead { font-size: 14px; color: var(--t2); line-height: 2; max-width: 640px; }

/* Cluster navigation cards (thumbnail overlay) */
.cn-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--md); }
.cn-card {
  position: relative;
  border-radius: var(--rm);
  overflow: hidden;
  aspect-ratio: 16/9;
  cursor: pointer;
  border: 1px solid var(--bdr);
  transition: .3s;
  text-decoration: none;
  display: flex;
  align-items: flex-end;
}
.cn-card:hover { border-color: var(--ac); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0, 0, 0, .4); text-shadow: none; }
.cn-bg { position: absolute; inset: 0; z-index: 0; background-size: cover; background-position: center; }
.cn-ov { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(9, 9, 13, .92) 0%, rgba(9, 9, 13, .5) 50%, rgba(9, 9, 13, .25) 100%); z-index: 1; }
.cn-ct { position: relative; z-index: 2; padding: var(--md); width: 100%; }
.cn-ct h3 { font-family: var(--fh); font-size: 14px; font-weight: 700; color: var(--t1); line-height: 1.5; margin-bottom: var(--xs); }
.cn-ct p { font-size: 12px; color: var(--t2); margin-bottom: var(--xs); line-height: 1.6; }
.cn-ct .cn-c { font-family: var(--fu); font-size: 12px; font-weight: 600; color: var(--ac); }
.cn-foot { display: flex; align-items: center; gap: var(--sm); flex-wrap: wrap; margin-top: var(--xs); }
.cn-actress { font-family: var(--fu); font-size: 11px; color: var(--t3); }
.cn-score { font-family: var(--fd); font-size: 14px; font-weight: 700; color: var(--ac); margin-left: auto; }

/* FAQ */
.faq-list { display: flex; flex-direction: column; gap: var(--sm); }
.faq-item { background: var(--bg2); border: 1px solid var(--bdr); border-radius: var(--rm); overflow: hidden; }
.faq-q {
  font-family: var(--fh); font-size: 14px; font-weight: 700;
  padding: var(--md) var(--lg); cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  transition: background .2s; color: var(--t1);
}
.faq-q:hover { background: var(--bgH); }
.faq-q::after { content: '+'; font-family: var(--fu); font-size: 18px; color: var(--ac); transition: transform .3s; }
.faq-item.open .faq-q::after { transform: rotate(45deg); }
.faq-a {
  padding: 0 var(--lg); max-height: 0; overflow: hidden;
  transition: max-height .35s ease, padding .35s ease;
  font-size: 13px; color: var(--t2); line-height: 1.9;
}
.faq-item.open .faq-a { padding: 0 var(--lg) var(--lg); max-height: 300px; }

/* =============================================
   CLUSTER / HUB PAGE
   ============================================= */
.hub-hero { padding: var(--lg) 0 var(--xl); border-bottom: 1px solid var(--bdr); margin-bottom: var(--xl); }
.hub-hero h1 { font-family: var(--fh); font-size: clamp(18px, 3vw, 26px); font-weight: 900; line-height: 1.5; margin: var(--sm) 0 var(--sm); }
.hub-desc { font-size: 14px; color: var(--t2); line-height: 1.9; max-width: 620px; }
.criteria-box { background: var(--bg2); border: 1px solid var(--bdr); border-radius: var(--rm); padding: var(--lg); margin-bottom: var(--2xl); }
.criteria-box h2 { font-family: var(--fh); font-size: 15px; font-weight: 700; margin-bottom: var(--md); display: flex; align-items: center; gap: var(--sm); }
.criteria-box h2::before { content: ''; width: 3px; height: 16px; background: var(--ac); border-radius: 2px; }
.criteria-box p { font-size: 13px; color: var(--t2); line-height: 1.9; }
.criteria-dl { display: flex; flex-direction: column; gap: 0; }
.criteria-row { display: grid; grid-template-columns: 130px 1fr; gap: var(--sm); align-items: baseline; padding: var(--sm) 0; border-bottom: 1px solid var(--bdrS); }
.criteria-row:last-child { border-bottom: none; }
.criteria-row dt { font-family: var(--fu); font-size: 12px; font-weight: 700; color: var(--acT); }
.criteria-row dd { font-size: 13px; color: var(--t2); line-height: 1.8; }

/* Ranking — Desktop */
.rank-list { display: flex; flex-direction: column; gap: var(--md); padding-bottom: var(--xl); }
.rank-item { background: var(--bg2); border: 1px solid var(--bdr); border-radius: var(--rm); overflow: hidden; transition: border-color .3s; }
.rank-item:hover { border-color: var(--ac); }
.rank-desk { display: flex; align-items: stretch; }
.rank-num { width: 48px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; background: rgba(0, 0, 0, .2); font-family: var(--fd); font-size: 22px; font-weight: 700; color: var(--ac); border-right: 1px solid var(--bdr); }
.rank-num.t3 { background: var(--acM); }
.rank-thumb {
  width: 140px; flex-shrink: 0;
  background: linear-gradient(135deg, #1a1428, #1e2030);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; color: var(--t3); border-right: 1px solid var(--bdr);
  overflow: hidden;
}
.rank-thumb.has-pkg { width: auto; aspect-ratio: 1034 / 1467; max-width: 130px; }
.rank-thumb a { display: block; width: 100%; height: 100%; }
.rank-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rank-body { flex: 1; min-width: 0; padding: var(--md) var(--lg); }
.rank-top { display: flex; justify-content: space-between; align-items: flex-start; gap: var(--md); flex-wrap: wrap; }
.rank-info { flex: 1; min-width: 0; }
.rank-info h3 { font-family: var(--fh); font-size: 14px; font-weight: 700; line-height: 1.55; margin-bottom: var(--sm); }
.rank-cmt { font-size: 14px; font-weight: 700; color: var(--t1); line-height: 1.7; margin-top: var(--sm); margin-bottom: var(--md); padding: var(--sm) 0; border-top: 1px dashed var(--bdrS); }
.rank-hl { display: flex; gap: var(--sm); flex-wrap: wrap; margin-bottom: var(--md); }
.rh { font-family: var(--fu); font-size: 12px; font-weight: 500; padding: 3px 8px; border-radius: 3px; background: var(--bg3); border: 1px solid var(--bdr); color: var(--t2); display: flex; align-items: center; gap: 3px; }
.rh b { color: var(--acT); font-weight: 600; }
.rank-sc { flex-shrink: 0; text-align: center; }
.rank-sc .rsn { font-family: var(--fd); font-size: 28px; font-weight: 700; color: var(--ac); line-height: 1; }
.rank-sc .rsl { font-family: var(--fu); font-size: 12px; color: var(--t3); }
.rank-act { display: flex; gap: var(--sm); flex-wrap: wrap; }

/* Ranking — Mobile row */
.rank-mob { display: none; padding: var(--sm); gap: var(--sm); }
.rmb-tw { position: relative; flex-shrink: 0; }
.rmb-tw:not(.has-pkg) { width: 32%; min-width: 96px; }
.rmb-tw.has-pkg { width: auto; aspect-ratio: 1034 / 1467; max-width: 110px; }
.rmb-tw .rmb-img {
  width: 100%; aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, #1a1428, #1e2030);
  border-radius: var(--rs);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; color: var(--t3);
  overflow: hidden;
}
.rmb-tw .rmb-img.has-pkg { aspect-ratio: auto; height: 100%; }
.rmb-tw .rmb-img a { display: block; width: 100%; height: 100%; }
.rmb-tw .rmb-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rmb-tw .rmb-badge {
  position: absolute; top: 4px; left: 4px;
  width: 24px; height: 24px;
  background: rgba(9, 9, 13, .88); backdrop-filter: blur(6px);
  border: 1.5px solid var(--ac); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--fd); font-size: 13px; font-weight: 700; color: var(--ac); z-index: 2;
}
.rmb-tw .rmb-badge.t3 { background: var(--acM); }
.rmb-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.rmb-sc { display: flex; align-items: baseline; gap: 3px; margin-bottom: 2px; }
.rmb-sc .rms-n { font-family: var(--fd); font-size: 20px; font-weight: 700; color: var(--ac); line-height: 1; }
.rmb-sc .rms-o { font-family: var(--fu); font-size: 12px; color: var(--t3); }
.back-pillar { display: flex; justify-content: center; padding: var(--xl) 0 var(--2xl); }
.btn-back {
  font-family: var(--fu); font-size: 13px; font-weight: 600;
  padding: 12px 28px; border: 1px solid var(--bdr); border-radius: var(--rm);
  background: var(--bg2); color: var(--t2); transition: .2s;
  text-decoration: none; display: inline-flex; align-items: center; gap: var(--sm);
}
.btn-back:hover { border-color: var(--ac); color: var(--acT); background: var(--acM); text-shadow: none; }

/* Sibling cluster navigation */
.sib-sec { padding-bottom: var(--2xl); }
.sib-grid { display: flex; flex-wrap: wrap; gap: var(--sm); }
.sib-card { display: inline-flex; align-items: center; gap: var(--sm); padding: var(--sm) var(--md); background: var(--bg2); border: 1px solid var(--bdr); border-radius: var(--rm); transition: .2s; text-decoration: none; }
.sib-card:hover { border-color: var(--ac); background: var(--acM); text-shadow: none; }
.sib-title { font-family: var(--fh); font-size: 13px; font-weight: 700; color: var(--t1); }
.sib-count { font-family: var(--fu); font-size: 12px; color: var(--ac); }

/* =============================================
   INDIVIDUAL REVIEW (single.php)
   ============================================= */
.art-wrap { max-width: var(--aw); margin: 0 auto; padding: var(--md) var(--lg) var(--4xl); }
.art-hdr { margin-bottom: var(--xl); padding-bottom: var(--lg); border-bottom: 1px solid var(--bdr); }
.art-hdr h1 { font-family: var(--fh); font-size: clamp(18px, 3vw, 24px); font-weight: 900; line-height: 1.55; margin: var(--sm) 0 var(--md); }
.art-lead { font-size: 14px; color: var(--t2); line-height: 1.9; }
.art-meta { display: flex; align-items: center; gap: var(--md); margin-top: var(--md); font-size: 12px; color: var(--t3); flex-wrap: wrap; }

/* Rich product bar with header CTA */
.pbar-rich { background: var(--bg2); border: 1px solid var(--bdr); border-radius: var(--rm); margin-bottom: var(--2xl); overflow: hidden; }
.pbar-top { display: flex; gap: var(--lg); align-items: center; padding: var(--lg); flex-wrap: wrap; }
.pbar-thumb {
  width: 220px;
  background: #111; border-radius: var(--rs);
  flex-shrink: 0; display: flex; align-items: center;
  justify-content: center; font-size: 12px; color: var(--t3); overflow: hidden;
}
.pbar-thumb img { width: 100%; height: auto; display: block; object-fit: contain; }
.pbar-text { flex: 1; min-width: 160px; }
.pbar-text .pid { font-family: var(--fu); font-size: 12px; font-weight: 600; color: var(--ac); letter-spacing: .04em; margin-bottom: 2px; }
.pbar-text .pn { font-size: 13px; font-weight: 500; margin-bottom: 2px; }
.pbar-text .pa { font-size: 12px; color: var(--t2); }
.pbar-cta { display: flex; align-items: center; justify-content: space-between; gap: var(--md); padding: var(--md) var(--lg); background: linear-gradient(135deg, rgba(196, 144, 106, .08), rgba(196, 144, 106, .02)); border-top: 1px solid var(--bdr); flex-wrap: wrap; }
.pbar-cta-info { display: flex; gap: var(--lg); flex-wrap: wrap; font-family: var(--fu); font-size: 12px; color: var(--t2); align-items: center; }
.pbar-cta-info .pci-price { color: var(--ac); font-weight: 700; font-size: 15px; }
.pbar-cta-right { display: flex; flex-direction: column; align-items: flex-end; gap: var(--xs); }
.pbar-cta-right .micro { font-family: var(--fu); font-size: 12px; color: var(--t3); }

/* Gallery */
.media-sec { margin-bottom: var(--2xl); }
.gallery-wrap { background: var(--bg2); border: 1px solid var(--bdr); border-radius: var(--rl); overflow: hidden; margin-bottom: var(--md); }
.gallery-main { position: relative; aspect-ratio: 16/9; background: var(--bgI); overflow: hidden; }
.gallery-slides { display: flex; transition: transform .4s cubic-bezier(.4, 0, .2, 1); height: 100%; }
.gallery-slide { min-width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: var(--t3); font-size: 13px; background: linear-gradient(135deg, #101018, #181822); position: relative; }
.gallery-slide img { width: 100%; height: 100%; object-fit: contain; }
.gallery-slide .sl-cap { position: absolute; bottom: var(--sm); left: var(--md); font-family: var(--fu); font-size: 12px; font-weight: 500; background: rgba(9, 9, 13, .75); backdrop-filter: blur(6px); padding: 3px 10px; border-radius: var(--rs); color: var(--t2); }
.g-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--bdr); background: rgba(9, 9, 13, .7); backdrop-filter: blur(6px); color: var(--t1); font-size: 16px; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: .2s; z-index: 2; }
.g-btn:hover { border-color: var(--ac); background: rgba(9, 9, 13, .9); }
.g-btn.prev { left: var(--sm); }
.g-btn.next { right: var(--sm); }
.g-counter { position: absolute; top: var(--sm); right: var(--sm); font-family: var(--fu); font-size: 12px; font-weight: 500; background: rgba(9, 9, 13, .7); backdrop-filter: blur(6px); padding: 3px 10px; border-radius: var(--rs); color: var(--t2); z-index: 2; }
.g-thumbs { display: flex; gap: var(--xs); padding: var(--sm); overflow-x: auto; scrollbar-width: thin; scrollbar-color: var(--bdr) transparent; }
.g-thumbs::-webkit-scrollbar { height: 3px; }
.g-thumbs::-webkit-scrollbar-thumb { background: var(--bdr); border-radius: 2px; }
.g-th { width: 64px; height: 42px; flex-shrink: 0; background: var(--bg3); border-radius: var(--rs); border: 2px solid transparent; cursor: pointer; transition: .2s; display: flex; align-items: center; justify-content: center; font-size: 12px; color: var(--t3); overflow: hidden; }
.g-th img { width: 100%; height: 100%; object-fit: cover; }
.g-th.active { border-color: var(--ac); }
.g-th:hover:not(.active) { border-color: var(--bdrF); }

/* Video player area */
.vid-wrap { background: var(--bg2); border: 1px solid var(--bdr); border-radius: var(--rl); overflow: hidden; }
.vid-lbl { font-family: var(--fu); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--ac); padding: var(--sm) var(--md); background: var(--bgI); border-bottom: 1px solid var(--bdr); display: flex; align-items: center; gap: var(--sm); }
.vid-lbl::before { content: '▶'; font-size: 8px; }
.vid-player { aspect-ratio: 16/9; background: linear-gradient(135deg, #0D0D15, #161620); display: flex; align-items: center; justify-content: center; cursor: pointer; }
.vid-play { width: 56px; height: 56px; border-radius: 50%; background: rgba(196, 144, 106, .12); border: 2px solid var(--ac); display: flex; align-items: center; justify-content: center; font-size: 20px; color: var(--ac); transition: .3s; }
.vid-player:hover .vid-play { background: rgba(196, 144, 106, .22); transform: scale(1.06); }
.vid-cap { font-family: var(--fu); font-size: 12px; color: var(--t3); padding: var(--sm) var(--md); background: var(--bgI); border-top: 1px solid var(--bdrS); display: flex; justify-content: space-between; }

/* =============================================
   SPEC TABLE
   ============================================= */
/* =============================================
   SPEC TABLE
   ============================================= */
.spec-sec { margin-bottom: var(--3xl); }
.spec-sec > .sl { margin-bottom: var(--md); }
.spec-box { background: var(--bg2); border: 1px solid var(--bdr); border-radius: var(--rl); overflow: hidden; box-shadow: 0 12px 40px rgba(0, 0, 0, .45); }
.spec-hero { display: flex; align-items: center; justify-content: space-between; padding: var(--xl); background: linear-gradient(135deg, rgba(196, 144, 106, .12), rgba(196, 144, 106, .02)); border-bottom: 2px solid var(--ac); flex-wrap: wrap; gap: var(--md); }
.spec-hero-left .sh-dt { font-family: var(--fh); font-size: 15px; font-weight: 800; color: var(--ac); text-transform: uppercase; letter-spacing: 0.05em; }
.spec-hero-left .sh-dd { font-family: var(--fu); font-size: 13px; color: var(--t2); margin-top: 4px; font-weight: 500; }
.spec-hero-right { display: flex; align-items: baseline; gap: 4px; }
.spec-hero-right .big { font-family: var(--fu); font-size: 52px; font-weight: 800; color: var(--ac); line-height: 1; }
.spec-hero-right .of { font-family: var(--fu); font-size: 18px; color: var(--t3); font-weight: 600; }

.sg { font-family: var(--fu); font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; color: var(--t3); padding: 8px var(--lg); background: rgba(0, 0, 0, .4); border-bottom: 1px solid var(--bdrS); margin: 0; }
.sr { display: grid; grid-template-columns: 160px 1fr; min-height: 52px; border-bottom: 1px solid var(--bdrS); transition: background .15s; }
.sr:last-child { border-bottom: none; }
.sr:hover { background: var(--bgH); }
.sr-h { font-family: var(--fu); font-size: 13px; font-weight: 600; color: var(--t2); padding: var(--md); background: rgba(0, 0, 0, .15); display: flex; align-items: center; }
.sr-v { padding: var(--md); font-size: 14px; display: flex; align-items: center; gap: var(--sm); flex-wrap: wrap; color: var(--t1); }

/* Progress bar (clothed play ratio) */
.pbar-chart { width: 100%; display: flex; flex-direction: column; gap: 6px; }
.pbar-visual { display: flex; height: 24px; border-radius: var(--rs); overflow: hidden; width: 100%; box-shadow: inset 0 2px 4px rgba(0,0,0,0.3); }
.pbar-seg { display: flex; align-items: center; justify-content: center; font-family: var(--fu); font-size: 12px; font-weight: 700; color: var(--tI); white-space: nowrap; padding: 0 8px; text-shadow: none; }
.pbar-seg.clothed { background: var(--ac); }
.pbar-seg.half { background: #6A7A9C; }
.pbar-seg.nude { background: #4A3A4A; }
.pbar-legend { display: flex; gap: var(--lg); flex-wrap: wrap; margin-top: 4px; }
.pbar-legend span { font-family: var(--fu); font-size: 12px; color: var(--t3); display: flex; align-items: center; gap: 6px; }
.pbar-legend .dot-c { width: 10px; height: 10px; border-radius: 2px; }
.pbar-legend .dot-c.c1 { background: var(--ac); }
.pbar-legend .dot-c.c2 { background: #6A7A9C; }
.pbar-legend .dot-c.c3 { background: #4A3A4A; }

/* Timestamp tags */
.ts-tags { display: flex; flex-wrap: wrap; gap: var(--sm); }
.ts-tag { font-family: var(--fu); font-size: 12px; font-weight: 500; padding: 5px 10px; background: var(--bg3); border: 1px solid var(--bdr); border-radius: var(--rs); color: var(--t2); display: flex; align-items: center; gap: 5px; transition: .15s; }
.ts-tag:hover { border-color: var(--ac); color: var(--acT); }
.ts-tag .ts-time { font-weight: 700; color: var(--acT); }
.ts-tag .ts-play { font-size: 12px; opacity: .5; }

/* =============================================
   REVIEW BODY - MINIMAL PROSE
   ============================================= */
.rv-body { margin-bottom: var(--3xl); color: var(--t2); font-size: 15px; line-height: 1.85; }
.rv-body > * + * { margin-top: var(--lg); }

.rv-body h2.wp-block-heading {
  font-family: var(--fh);
  font-size: 18px;
  font-weight: 700;
  color: var(--t1);
  padding: 2px 0 2px var(--md);
  border-left: 2px solid var(--ac);
  margin: var(--2xl) 0 var(--md);
}

.rv-body h3.wp-block-heading {
  font-family: var(--fh);
  font-size: 15px;
  font-weight: 700;
  color: var(--acT);
  margin: var(--xl) 0 var(--sm);
  display: block;
}

.rv-body p { margin-bottom: var(--md); }

.rv-body ul {
  padding: var(--md) 0;
  margin: var(--lg) 0;
  border-top: 1px solid var(--bdrS);
  border-bottom: 1px solid var(--bdrS);
}

.rv-body li {
  position: relative;
  padding-left: 20px;
  margin-bottom: var(--xs);
  list-style: none;
}

.rv-body li:last-child { margin-bottom: 0; }

.rv-body li::before {
  content: '•';
  position: absolute;
  left: 4px;
  color: var(--ac);
  font-weight: 900;
}

.rv-body strong {
  color: var(--acH);
  font-weight: 700;
}

.scene-note { background: var(--bg2); border-left: 2px solid var(--ac); padding: var(--md); border-radius: 0 var(--rs) var(--rs) 0; margin: var(--lg) 0; font-size: 13px; color: var(--t2); }


/* Footer CTA */
.aff-cta { background: linear-gradient(135deg, rgba(196, 144, 106, .08), rgba(196, 144, 106, .02)); border: 1px solid rgba(196, 144, 106, .2); border-radius: var(--rm); padding: var(--xl); margin: var(--2xl) 0; }
.aff-cta-inner { display: flex; align-items: center; gap: var(--xl); flex-wrap: wrap; }
.aff-cta-info { flex: 1; min-width: 200px; }
.aff-cta-info h2 { font-family: var(--fh); font-size: 15px; font-weight: 700; margin-bottom: var(--sm); }
.aff-cta-details { display: flex; flex-direction: column; gap: var(--xs); font-family: var(--fu); font-size: 13px; color: var(--t2); }
.aff-cta-details .price { color: var(--ac); font-weight: 700; font-size: 16px; }
.aff-cta-sub { font-size: 12px; color: var(--t3); }

/* Reviewer box */
.reviewer-box { background: var(--bg2); border: 1px solid var(--bdr); border-radius: var(--rm); padding: var(--xl); margin-top: var(--2xl); display: flex; gap: var(--lg); align-items: flex-start; flex-wrap: wrap; }
.reviewer-avatar { width: 64px; height: 64px; border-radius: 50%; background: var(--bg3); border: 2px solid var(--ac); display: flex; align-items: center; justify-content: center; font-size: 24px; flex-shrink: 0; color: var(--ac); overflow: hidden; }
.reviewer-avatar img { width: 100%; height: 100%; object-fit: cover; }
.reviewer-info { flex: 1; min-width: 200px; }
.reviewer-info .ri-label { font-family: var(--fu); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--ac); margin-bottom: var(--xs); }
.reviewer-info .ri-name { font-family: var(--fh); font-size: 16px; font-weight: 700; margin-bottom: var(--sm); }
.reviewer-info .ri-bio { font-size: 13px; color: var(--t2); line-height: 1.8; }
.reviewer-info .ri-stats { display: flex; gap: var(--lg); margin-top: var(--md); font-family: var(--fu); font-size: 12px; color: var(--t3); flex-wrap: wrap; }
.reviewer-info .ri-stats strong { color: var(--t1); font-weight: 600; }

/* Related hub links */
.rel-hubs { margin-top: var(--2xl); padding-top: var(--xl); border-top: 1px solid var(--bdr); }
.rel-hubs h2 { font-family: var(--fu); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--t3); margin-bottom: var(--md); }
.hub-list { display: flex; flex-wrap: wrap; gap: var(--sm); }
.hl { font-family: var(--fu); font-size: 12px; font-weight: 500; padding: 6px 12px; background: var(--tagB); color: var(--tagT); border-radius: var(--rs); border: 1px solid transparent; transition: .15s; text-decoration: none; }
.hl:hover { border-color: var(--tagT); color: #A8D0F0; text-shadow: none; }

/* =============================================
   STATIC PAGES (About, Privacy, Contact)
   ============================================= */
.static-page { max-width: var(--aw); margin: 0 auto; padding: var(--md) var(--lg) var(--4xl); }
.static-hero { margin-bottom: var(--2xl); padding-bottom: var(--xl); border-bottom: 1px solid var(--bdr); }
.static-hero h1 { font-family: var(--fd); font-size: clamp(24px, 3.5vw, 36px); font-weight: 600; line-height: 1.3; margin: var(--sm) 0 var(--md); }
.static-hero .lead { font-size: 14px; color: var(--t2); line-height: 2; max-width: 640px; }

.prose h2 { font-family: var(--fh); font-size: 18px; font-weight: 700; margin-bottom: var(--md); padding-left: var(--md); border-left: 3px solid var(--ac); margin-top: var(--2xl); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-family: var(--fh); font-size: 15px; font-weight: 700; margin-top: var(--xl); margin-bottom: var(--md); }
.prose p { font-size: 14px; color: var(--t2); line-height: 2; margin-bottom: var(--lg); }
.prose ul { margin-bottom: var(--lg); padding-left: var(--xl); }
.prose li { font-size: 14px; color: var(--t2); line-height: 2; margin-bottom: var(--sm); position: relative; }
.prose li::before { content: '—'; position: absolute; left: -20px; color: var(--ac); }

/* About — evaluation detail */
.eval-detail { background: var(--bg2); border: 1px solid var(--bdr); border-radius: var(--rl); padding: var(--xl); margin-bottom: var(--2xl); }
.ed-title { font-family: var(--fh); font-size: 16px; font-weight: 700; margin-bottom: var(--lg); display: flex; align-items: center; gap: var(--sm); }
.ed-title::before { content: ''; width: 3px; height: 16px; background: var(--ac); border-radius: 2px; }
.score-bar { display: flex; height: 40px; border-radius: var(--rm); overflow: hidden; margin-bottom: var(--lg); border: 1px solid var(--bdr); }
.score-seg { display: flex; align-items: center; justify-content: center; font-family: var(--fu); font-weight: 600; color: var(--tI); gap: 4px; }
.score-seg.seg-a { background: var(--ac); flex: 4; }
.score-seg.seg-b { background: #6A7A9C; flex: 4; }
.score-seg.seg-c { background: #8A6A9C; flex: 2; }
.score-seg .seg-label { font-size: 12px; }
.score-seg .seg-pts { font-size: 15px; font-weight: 700; }
.sd-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--md); margin-bottom: var(--lg); }
.sd-card { background: var(--bg3); border: 1px solid var(--bdr); border-radius: var(--rm); padding: var(--lg); }
.sd-card .sd-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--md); }
.sd-card .sd-icon { font-size: 24px; }
.sd-card .sd-pts { font-family: var(--fd); font-size: 28px; font-weight: 700; color: var(--ac); }
.sd-card h3 { font-family: var(--fu); font-size: 14px; font-weight: 700; margin-bottom: var(--sm); }
.sd-card p { font-size: 12px; color: var(--t2); line-height: 1.8; }

/* About — profile card */
.profile-card { background: var(--bg2); border: 1px solid var(--bdr); border-radius: var(--rl); padding: var(--xl); margin-bottom: var(--2xl); }
.profile-top { display: flex; gap: var(--xl); align-items: flex-start; margin-bottom: var(--xl); flex-wrap: wrap; }
.profile-avatar { width: 80px; height: 80px; border-radius: 50%; background: var(--bg3); border: 3px solid var(--ac); display: flex; align-items: center; justify-content: center; font-size: 32px; color: var(--ac); flex-shrink: 0; overflow: hidden; }
.profile-avatar img { width: 100%; height: 100%; object-fit: cover; }
.profile-info .pi-label { font-family: var(--fu); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--ac); margin-bottom: var(--xs); }
.profile-info .pi-name { font-family: var(--fh); font-size: 18px; font-weight: 900; margin-bottom: var(--sm); }
.profile-bio { font-size: 14px; color: var(--t2); line-height: 2; margin-bottom: var(--lg); }
.profile-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--md); }
.ps-item { background: var(--bg3); border: 1px solid var(--bdr); border-radius: var(--rm); padding: var(--md); text-align: center; }
.ps-item .ps-num { font-family: var(--fd); font-size: 22px; font-weight: 700; color: var(--ac); line-height: 1; margin-bottom: var(--xs); }
.ps-item .ps-label { font-family: var(--fu); font-size: 12px; color: var(--t3); }

/* Legal */
.legal-notice { background: var(--acM); border: 1px solid rgba(196, 144, 106, .2); border-radius: var(--rm); padding: var(--lg); margin-bottom: var(--2xl); display: flex; align-items: flex-start; gap: var(--md); }
.legal-notice .ln-text { font-size: 13px; color: var(--t2); line-height: 1.9; }
.legal-notice .ln-text strong { color: var(--acT); }
.legal-updated { font-family: var(--fu); font-size: 12px; color: var(--t3); margin-bottom: var(--xl); }

/* Contact form */
.contact-form { background: var(--bg2); border: 1px solid var(--bdr); border-radius: var(--rl); padding: var(--xl); margin-bottom: var(--2xl); }
.form-group { margin-bottom: var(--lg); }
.form-group label { display: block; font-family: var(--fu); font-size: 13px; font-weight: 600; color: var(--t2); margin-bottom: var(--sm); }
.form-group label .req { color: var(--ac); margin-left: 4px; }
.form-input,
.form-textarea,
.form-select {
  width: 100%;
  font-family: var(--fb);
  font-size: 14px;
  color: var(--t1);
  background: var(--bg0);
  border: 1px solid var(--bdr);
  border-radius: var(--rs);
  padding: 12px var(--md);
  transition: border-color .2s, box-shadow .2s;
  outline: none;
}
.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  border-color: var(--ac);
  box-shadow: 0 0 0 3px var(--acM);
}
.form-input::placeholder,
.form-textarea::placeholder { color: var(--t3); }
.form-textarea { min-height: 140px; resize: vertical; line-height: 1.8; }
.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%237A7A7D' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  cursor: pointer;
}
.btn-submit { font-family: var(--fu); font-size: 14px; font-weight: 600; padding: 14px 36px; background: var(--ac); color: var(--tI); border: none; border-radius: var(--rs); transition: .2s; cursor: pointer; }
.btn-submit:hover { background: var(--acH); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(196, 144, 106, .28); }
.form-note { font-family: var(--fu); font-size: 12px; color: var(--t3); margin-top: var(--md); }
.contact-info { background: var(--bg3); border: 1px solid var(--bdr); border-radius: var(--rm); padding: var(--lg); margin-bottom: var(--2xl); }
.contact-info h3 { font-family: var(--fu); font-size: 13px; font-weight: 700; color: var(--ac); margin-bottom: var(--md); }
.contact-info p { font-size: 13px; color: var(--t2); line-height: 1.9; }

/* =============================================
   RICH FOOTER
   ============================================= */
.rf { background: var(--bg1); border-top: 1px solid var(--bdr); padding: var(--3xl) var(--lg) var(--xl); }
.rf-in { max-width: var(--mw); margin: 0 auto; }
.rf-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: var(--2xl); margin-bottom: var(--2xl); }
.rf-brand .rf-logo { font-family: var(--fd); font-size: 22px; font-weight: 600; color: var(--t1); margin-bottom: var(--md); display: flex; align-items: center; gap: var(--sm); }
.rf-brand .rf-logo .d { color: var(--ac); }
.rf-brand .rf-logo::before { content: ''; width: 3px; height: 20px; background: var(--ac); border-radius: 2px; }
.rf-brand .rf-desc { font-size: 13px; color: var(--t3); line-height: 1.8; margin-bottom: var(--lg); max-width: 320px; }
.rf-nav h2 { font-family: var(--fu); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--ac); margin-bottom: var(--md); }
.rf-nav ul { display: flex; flex-direction: column; gap: var(--sm); }
.rf-nav a { font-family: var(--fu); font-size: 13px; color: var(--t2); text-decoration: none; transition: color .2s; }
.rf-nav a:hover { color: var(--acT); }
.rf-warn { background: rgba(156, 106, 106, .08); border: 1px solid rgba(156, 106, 106, .15); border-radius: var(--rm); padding: var(--md) var(--lg); margin-bottom: var(--2xl); font-family: var(--fu); font-size: 13px; color: #C09090; line-height: 1.7; }
.rf-warn strong { color: #D4A0A0; }
.rf-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: var(--xl); border-top: 1px solid var(--bdr); flex-wrap: wrap; gap: var(--md); }
.rf-copy { font-family: var(--fu); font-size: 12px; color: var(--t3); }
.rf-bl { display: flex; gap: var(--lg); }
.rf-bl a { font-family: var(--fu); font-size: 12px; color: var(--t3); text-decoration: none; }
.rf-bl a:hover { color: var(--acT); }

/* =============================================
   GENRE HUB NAVIGATION
   ============================================= */
.hub-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--md);
}
.hub-card {
  position: relative;
  border-radius: var(--rm);
  overflow: hidden;
  aspect-ratio: 16/10;
  cursor: pointer;
  border: 1px solid var(--bdr);
  transition: .3s;
  text-decoration: none;
  display: flex;
  align-items: flex-end;
}
.hub-card:hover {
  border-color: var(--ac);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(196, 144, 106, .15);
}
.hub-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center;
  transition: transform .5s;
}
.hub-card:hover .hub-bg {
  transform: scale(1.06);
}
.hub-ov {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(9,9,13,.88) 0%, rgba(9,9,13,.3) 60%, rgba(9,9,13,.1) 100%);
  z-index: 1;
}
.hub-ct {
  position: relative;
  z-index: 2;
  padding: var(--md);
  width: 100%;
}
.hub-ct h3 {
  font-family: var(--fh);
  font-size: 16px;
  font-weight: 800;
  color: var(--t1);
  line-height: 1.3;
  margin-bottom: 2px;
}
.hub-count {
  font-family: var(--fu);
  font-size: 12px;
  font-weight: 600;
  color: var(--ac);
}

/* =============================================
   CONCEPT COLUMN (EEAT)
   ============================================= */
.concept-col {
  padding-top: var(--3xl);
  padding-bottom: var(--3xl);
  border-top: 1px solid var(--bdr);
}
.concept-body {
  border-left: 4px solid var(--ac);
  padding-left: var(--xl);
  max-width: 720px;
}
.concept-body p {
  font-size: 14px;
  color: var(--t2);
  line-height: 2;
  margin-bottom: var(--md);
}
.concept-body p:last-child { margin-bottom: 0; }
.concept-body strong { color: var(--t1); }

/* =============================================
   POPULAR RANKING TABS
   ============================================= */
.rank-tabs {
  display: flex;
  gap: var(--xs);
  margin-bottom: var(--lg);
  border-bottom: 1px solid var(--bdr);
  padding-bottom: var(--sm);
  overflow-x: auto;
}
.rank-tab {
  font-family: var(--fu);
  font-size: 13px;
  font-weight: 600;
  padding: 8px 18px;
  border: 1px solid var(--bdr);
  border-radius: var(--rs) var(--rs) 0 0;
  background: transparent;
  color: var(--t3);
  cursor: pointer;
  transition: .2s;
  white-space: nowrap;
}
.rank-tab:hover { color: var(--t1); border-color: var(--bdrF); }
.rank-tab.active {
  background: var(--acM);
  border-color: var(--ac);
  color: var(--acT);
}
.rank-panel { display: none; }
.rank-panel.active { display: block; }
.rank-list {
  list-style: none;
  counter-reset: rank;
}
.rank-list li {
  counter-increment: rank;
  display: flex;
  align-items: center;
  gap: var(--md);
  padding: var(--md) 0;
  border-bottom: 1px solid var(--bdrS);
  transition: background .2s;
}
.rank-list li:last-child { border-bottom: none; }
.rank-list li:hover { background: var(--bg2); margin: 0 calc(var(--md) * -1); padding-left: var(--md); padding-right: var(--md); border-radius: var(--rm); }
.rank-list li::before {
  content: counter(rank);
  font-family: var(--fd);
  font-size: 20px;
  font-weight: 700;
  color: var(--ac);
  min-width: 28px;
  text-align: center;
  flex-shrink: 0;
}
.rank-list li:nth-child(-n+3)::before {
  font-size: 24px;
}
.rank-thumb {
  width: 72px;
  height: 48px;
  border-radius: var(--rs);
  overflow: hidden;
  flex-shrink: 0;
  border: 1px solid var(--bdr);
}
.rank-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.rank-info {
  flex: 1;
  min-width: 0;
}
.rank-info h4 {
  font-family: var(--fh);
  font-size: 13px;
  font-weight: 700;
  color: var(--t1);
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.rank-info .rank-meta {
  font-family: var(--fu);
  font-size: 11px;
  color: var(--t3);
  margin-top: 2px;
}
.rank-pv {
  font-family: var(--fu);
  font-size: 12px;
  font-weight: 600;
  color: var(--ac);
  flex-shrink: 0;
}

/* =============================================
   WORDPRESS SPECIFIC
   ============================================= */
.alignnone { margin: var(--lg) 0; }
.aligncenter { display: block; margin: var(--lg) auto; }
.alignleft { float: left; margin: 0 var(--lg) var(--lg) 0; }
.alignright { float: right; margin: 0 0 var(--lg) var(--lg); }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 12px; color: var(--t3); margin-top: var(--sm); }
.screen-reader-text { clip: rect(1px, 1px, 1px, 1px); position: absolute !important; height: 1px; width: 1px; overflow: hidden; }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 960px) {
  .fc { grid-template-columns: 1fr; }
  .g3 { grid-template-columns: repeat(2, 1fr); }
  .cgrid, .cn-grid { grid-template-columns: 1fr; }
  .ec-grid, .sd-grid { grid-template-columns: 1fr; }
  .hub-grid { grid-template-columns: repeat(2, 1fr); }
  .mega { width: 92vw; }
  .mega-g { grid-template-columns: repeat(3, 1fr); }
  .rank-num { width: 42px; }
  .rank-thumb:not(.has-pkg) { width: 110px; }
  .profile-stats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .gnav { display: none; }
  .mob-chips { display: flex; }
  .g3, .cn-grid { grid-template-columns: 1fr; }
  .hub-grid { grid-template-columns: 1fr; }
  .mega-g { grid-template-columns: repeat(2, 1fr); }
  .sr { grid-template-columns: 110px 1fr; }
  .spec-hero { padding: var(--md); }
  .spec-hero-right .big { font-size: 36px; }
  .bread { padding-top: var(--xs); margin-bottom: var(--sm); }
  .cn-card { aspect-ratio: auto; min-height: 120px; }

  /* Cluster mobile */
  .rank-desk { display: none; }
  .rank-mob { display: flex; }
  .btn-cta-f,
  .btn-cta-r { min-height: 44px; padding: 10px 14px; flex: 1; justify-content: center; }
  .rank-cmt { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .rank-hl { gap: var(--xs); }

  .pbar-top { flex-direction: column; align-items: center; text-align: center; }
  .pbar-thumb { width: 100%; margin-bottom: var(--md); }
  .pbar-text { min-width: 0; }
  .pbar-cta { flex-direction: column; align-items: stretch; }
  .pbar-cta-right { align-items: stretch; }
  .pbar-cta-right .btn-aff { width: 100%; justify-content: center; }
  .aff-cta-inner { flex-direction: column; }
  .reviewer-box { flex-direction: column; align-items: center; text-align: center; }
  .reviewer-info .ri-stats { justify-content: center; }
  .rf-grid { grid-template-columns: 1fr; }
  .rf-brand { text-align: center; }
  .rf-brand .rf-desc { max-width: none; }
  .rf-brand .rf-logo { justify-content: center; }
  .rf-bottom { flex-direction: column; text-align: center; }
  .profile-top { flex-direction: column; align-items: center; text-align: center; }
  .score-bar { height: auto; flex-direction: column; }
  .score-seg { padding: var(--sm); justify-content: space-between; flex-direction: row; }
}

/* =============================================
   CONTACT PAGE & FORM
   ============================================= */
.contact-section {
  max-width: 720px;
  margin: 0 auto var(--4xl);
}

.contact-form-wrap {
  background: var(--bg2);
  border: 1px solid var(--bdr);
  border-radius: var(--rl);
  padding: var(--2xl);
  box-shadow: 0 15px 50px rgba(0, 0, 0, .45);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--lg);
  margin-bottom: var(--xl);
}

.form-group.full {
  grid-column: span 2;
}

.form-group label {
  display: block;
  font-family: var(--fu);
  font-size: 13px;
  font-weight: 700;
  color: var(--t2);
  margin-bottom: var(--sm);
  letter-spacing: 0.05em;
}

.form-group label .req {
  color: var(--ac);
  margin-left: 4px;
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  background: var(--bg0);
  border: 1px solid var(--bdr);
  border-radius: var(--rs);
  padding: 12px 16px;
  color: var(--t1);
  font-family: var(--fb);
  font-size: 14px;
  transition: all .25s ease;
  outline: none;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  border-color: var(--ac);
  background: var(--bg1);
  box-shadow: 0 0 0 4px var(--acM);
}

.form-textarea {
  min-height: 160px;
  resize: vertical;
  line-height: 1.7;
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23C4906A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
  cursor: pointer;
}

.form-foot {
  margin-top: var(--2xl);
  text-align: center;
}

.privacy-note {
  font-size: 12px;
  color: var(--t3);
  margin-bottom: var(--lg);
  line-height: 1.6;
}

.privacy-note a {
  color: var(--acT);
  text-decoration: underline;
}

.btn-submit-lg {
  width: 100%;
  max-width: 320px;
  background: var(--ac);
  color: var(--tI);
  border: none;
  border-radius: var(--rs);
  padding: 16px;
  font-family: var(--fu);
  font-size: 15px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: all .3s ease;
}

.btn-submit-lg:hover {
  background: var(--acH);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(196, 144, 106, .35);
}

/* Success/Error Messages */
.form-msg {
  display: flex;
  gap: var(--md);
  padding: var(--lg);
  border-radius: var(--rm);
  margin-bottom: var(--2xl);
  align-items: flex-start;
}

.form-msg.success {
  background: var(--yesB);
  border: 1px solid var(--yes);
}

.form-msg.error {
  background: var(--noB);
  border: 1px solid var(--no);
}

.msg-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--fu);
  font-weight: 800;
  flex-shrink: 0;
}

.success .msg-icon { background: var(--yes); color: var(--tI); }
.error .msg-icon { background: var(--no); color: var(--t1); }

.msg-text strong {
  display: block;
  font-size: 15px;
  margin-bottom: 4px;
}

.msg-text p {
  font-size: 13px;
  margin: 0;
  opacity: 0.85;
}

@media (max-width: 640px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
  .form-group.full {
    grid-column: span 1;
  }
  .contact-form-wrap {
    padding: var(--xl) var(--lg);
  }
}

/* =============================================
   AJAX SEARCH & FACET UI
   ============================================= */

.search-panel-container {
  margin-bottom: var(--2xl);
}

/* Mobile Toggle Button */
.filter-toggle-mob {
  display: none;
  width: 100%;
  padding: 14px;
  background: var(--bg2);
  border: 1px solid var(--ac);
  border-radius: var(--rm);
  color: var(--acT);
  font-family: var(--fu);
  font-size: 14px;
  font-weight: 700;
  align-items: center;
  justify-content: center;
  gap: var(--sm);
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(0, 0, 0, .4);
}

@media (max-width: 767px) {
  .filter-toggle-mob {
    display: flex;
    position: sticky;
    bottom: var(--lg);
    z-index: 90;
  }
}

/* Facet Form (PC Default) */
.facet-search-form {
  background: var(--bg1);
  border: 1px solid var(--bdr);
  border-radius: var(--rl);
  padding: var(--xl);
}

.facet-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--xl);
}

.filter-close-btn {
  display: none;
  background: none;
  border: none;
  color: var(--t3);
  font-size: 24px;
  line-height: 1;
}

.facet-section {
  margin-bottom: var(--xl);
}

.facet-label {
  display: block;
  font-family: var(--fu);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--ac);
  margin-bottom: var(--md);
}

/* Keyword Input */
.search-input-wrap {
  position: relative;
}

.search-input {
  width: 100%;
  padding: 12px 40px 12px 16px;
  background: var(--bg0);
  border: 1px solid var(--bdr);
  border-radius: var(--rs);
  color: var(--t1);
  font-family: var(--fb);
  font-size: 14px;
  transition: .2s;
}

.search-input:focus {
  outline: none;
  border-color: var(--ac);
  box-shadow: 0 0 0 3px var(--acM);
}

.search-icon {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  opacity: .5;
}

/* Facet Chips (Toggles) */
.facet-chips {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sm);
}

.chip-label {
  cursor: pointer;
}

.chip-label input {
  display: none;
}

.chip-text {
  display: inline-block;
  padding: 6px 14px;
  background: var(--bg2);
  border: 1px solid var(--bdr);
  border-radius: 20px;
  font-family: var(--fu);
  font-size: 12px;
  font-weight: 500;
  color: var(--t2);
  transition: .2s;
}

.chip-label input:checked + .chip-text {
  background: var(--ac);
  color: var(--tI);
  border-color: var(--ac);
  font-weight: 700;
}

.chip-label:hover .chip-text {
  border-color: var(--ac);
}

/* Facet Footer */
.facet-footer {
  display: flex;
  gap: var(--md);
  padding-top: var(--lg);
  border-top: 1px solid var(--bdrS);
}

.btn-apply {
  flex: 1;
  background: var(--ac);
  color: var(--tI);
  border: none;
  padding: 12px;
  border-radius: var(--rs);
  font-family: var(--fu);
  font-weight: 700;
  cursor: pointer;
  transition: .2s;
}

.btn-reset {
  padding: 12px 20px;
  background: var(--bg3);
  border: 1px solid var(--bdr);
  color: var(--t2);
  border-radius: var(--rs);
  font-family: var(--fu);
  font-size: 13px;
  cursor: pointer;
}

/* Mobile Bottom Sheet Styles */
@media (max-width: 767px) {
  .facet-search-form {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    max-height: 90vh;
    z-index: 1000;
    background: var(--bg1);
    border-radius: 20px 20px 0 0;
    transform: translateY(100%);
    transition: transform .3s cubic-bezier(0.16, 1, 0.3, 1);
    overflow-y: auto;
    padding: var(--xl);
    border: none;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, .6);
  }

  .facet-search-form.is-active {
    transform: translateY(0);
  }

  .filter-close-btn {
    display: block;
  }

  .filter-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .7);
    backdrop-filter: blur(4px);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: .3s;
  }

  .filter-overlay.is-active {
    opacity: 1;
    visibility: visible;
  }
}

/* =============================================
   ARCHIVE CONTAINER & LOADING
   ============================================= */

.archive-container {
  position: relative;
  min-height: 400px;
}

.archive-meta-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--xl);
  padding: var(--md) 0;
}

.result-count {
  font-family: var(--fu);
  font-size: 14px;
  color: var(--t3);
}

.count-num {
  font-family: var(--fd);
  color: var(--ac);
  font-weight: 700;
  font-size: 18px;
}

/* Loading State */
.archive-loader {
  position: absolute;
  inset: 0;
  background: rgba(9, 9, 13, .4);
  backdrop-filter: blur(2px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: .3s;
  z-index: 10;
}

.archive-container.is-loading .archive-loader {
  opacity: 1;
  visibility: visible;
}

.archive-grid {
  transition: opacity .3s;
}

.archive-container.is-loading .archive-grid {
  opacity: 0.3;
}

/* Gold Spinner */
.gold-spinner {
  width: 48px;
  height: 48px;
  border: 3px solid var(--acM);
  border-top-color: var(--ac);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.no-results {
  grid-column: 1 / -1;
  text-align: center;
  padding: var(--4xl) 0;
  color: var(--t3);
  font-size: 15px;
}

/* Pagination Design — Midnight Editorial */
.pagination-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--sm);
  margin-top: var(--4xl);
  padding-top: var(--2xl);
  border-top: 1px solid var(--bdrS);
}

.page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 var(--sm);
  border-radius: var(--rs);
  border: 1px solid var(--bdr);
  background: var(--bg2);
  color: var(--t2);
  font-family: var(--fu);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: all .3s cubic-bezier(0.4, 0, 0.2, 1);
}

.page-numbers:hover {
  border-color: var(--ac);
  background: var(--acM);
  color: var(--acT);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, .2);
  text-decoration: none; /* Override default link underline */
  text-shadow: none;
}

.page-numbers.current {
  background: var(--ac);
  border-color: var(--ac);
  color: var(--bg0);
  font-weight: 700;
  cursor: default;
  pointer-events: none;
  box-shadow: 0 4px 14px rgba(196, 144, 106, .35);
}

.page-numbers.dots {
  border: none;
  background: none;
  color: var(--t3);
  pointer-events: none;
}

.page-numbers.prev,
.page-numbers.next {
  font-size: 18px;
  background: var(--bg3);
}

/* Enhanced Archive Meta Bar */
.archive-meta-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--xl);
  padding: var(--md) var(--lg);
  background: var(--bg2);
  border-radius: var(--rm);
  border: 1px solid var(--bdr);
}

@media (max-width: 767px) {
  .pagination-container {
    gap: var(--xs);
    margin-top: var(--2xl);
  }
  .page-numbers {
    min-width: 36px;
    height: 36px;
    font-size: 13px;
  }
  .archive-meta-bar {
    padding: var(--sm) var(--md);
    margin-bottom: var(--lg);
  }
}
