/* xhamster-kr.com — 독립 스타일시트 (성인 영상 플랫폼, 사이드바 + 4열 그리드) */
:root{
  --bg:#0b0d10;
  --panel:#16191e;
  --panel-2:#1b1f26;
  --line:#262c35;
  --ink:#e7e9ec;
  --mut:#9aa3ad;
  --teal:#14b8a6;
  --teal-ink:#04211d;
  --r:10px;
}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{
  margin:0;background:var(--bg);color:var(--ink);word-break:keep-all;overflow-wrap:break-word;
  font-family:"Noto Sans KR","Apple SD Gothic Neo",system-ui,sans-serif;
  font-size:16px;line-height:1.75;
  -webkit-font-smoothing:antialiased;
}
img{display:block;max-width:100%}
a{color:inherit;text-decoration:none}
h1,h2,h3{margin:0;line-height:1.15;letter-spacing:-.01em}
p{margin:0 0 1em}
.xh-shell{width:100%;max-width:1260px;margin:0 auto;padding:0 24px}

/* header */
.xh-top{position:sticky;top:0;z-index:40;background:rgba(11,13,16,.94);border-bottom:1px solid var(--line);backdrop-filter:blur(10px)}
.xh-topin{max-width:1260px;margin:0 auto;padding:0 24px;height:70px;display:flex;align-items:center;gap:26px}
.xh-brand{display:flex;align-items:center;gap:9px;flex:0 0 auto}
.xh-brand img{width:32px;height:32px;object-fit:contain}
.xh-word{font-family:"Barlow Condensed","Noto Sans KR",sans-serif;font-weight:700;font-size:27px;letter-spacing:.4px;text-transform:none;display:flex;align-items:baseline;gap:6px}
.xh-tag{font-family:"Barlow Condensed",sans-serif;font-size:11px;font-weight:600;letter-spacing:1.4px;color:var(--teal-ink);background:var(--teal);padding:2px 5px;border-radius:3px;transform:translateY(-2px)}
.xh-nav{display:flex;align-items:center;justify-content:center;gap:22px;flex:1 1 auto;min-width:0}
.xh-nav a{font-size:14.5px;font-weight:500;color:#c9cfd7;padding:4px 0;border-bottom:2px solid transparent;white-space:nowrap}
.xh-nav a:hover{color:var(--teal);border-bottom-color:var(--teal)}
.xh-cta{margin-left:auto;flex:0 0 auto;background:var(--teal);color:var(--teal-ink);font-weight:700;font-size:13.5px;letter-spacing:.2px;padding:10px 18px;border-radius:6px}
.xh-cta:hover{background:#2dd4bf}

/* layout */
.xh-layout{display:grid;grid-template-columns:208px minmax(0,1fr);gap:34px;padding-top:34px;padding-bottom:56px;align-items:start}
.xh-rail{position:sticky;top:94px;display:flex;flex-direction:column;gap:26px}
.xh-rg h2{font-family:"Barlow Condensed","Noto Sans KR",sans-serif;font-size:11.5px;font-weight:600;letter-spacing:1.6px;text-transform:uppercase;color:#7f8996;margin:0 0 10px}
.xh-rg a,.xh-rg span{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:14px;color:#c3cad3;padding:7px 0 7px 11px;border-left:2px solid transparent;line-height:1.4}
.xh-rg a:hover{color:var(--teal);border-left-color:var(--teal);background:rgba(20,184,166,.05)}
.xh-rg span{color:#98a1ac}
.xh-rg .xh-dot{width:5px;height:5px;border-radius:50%;background:#4b5563;flex:0 0 auto}
.xh-rg a:hover .xh-dot{background:var(--teal)}
.xh-main{min-width:0}

/* hero */
.xh-hero{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.05fr);gap:34px;align-items:center;padding-bottom:30px}
.xh-eyebrow{display:inline-flex;align-items:center;gap:8px;font-family:"Barlow Condensed",sans-serif;font-size:12.5px;font-weight:600;letter-spacing:1.9px;text-transform:uppercase;color:var(--teal);margin-bottom:14px}
.xh-eyebrow::before{content:"";width:22px;height:2px;background:var(--teal)}
.xh-hero h1{font-family:"Barlow Condensed","Noto Sans KR",sans-serif;font-size:clamp(30px,3.6vw,44px);font-weight:700;line-height:1.14;margin-bottom:16px;word-break:keep-all}
.xh-hero h1 em{font-style:normal;color:var(--teal)}
.xh-lead{font-size:16.5px;line-height:1.85;color:#d3d8df;margin-bottom:12px}
.xh-sub{font-size:15px;line-height:1.8;color:var(--mut);margin-bottom:22px}
.xh-actions{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin-bottom:26px}
.xh-btn{display:inline-block;background:var(--teal);color:var(--teal-ink);font-weight:700;font-size:14.5px;padding:12px 22px;border-radius:6px}
.xh-btn:hover{background:#2dd4bf}
.xh-btn2{display:inline-block;border:1px solid #39414c;color:#d7dde4;font-weight:500;font-size:14px;padding:11px 18px;border-radius:6px}
.xh-btn2:hover{border-color:var(--teal);color:var(--teal)}
.xh-stats{display:flex;flex-wrap:wrap;gap:30px}
.xh-stat b{display:block;font-family:"Barlow Condensed",sans-serif;font-size:31px;font-weight:600;line-height:1;color:#fff;letter-spacing:.3px}
.xh-stat span{display:block;font-size:12px;color:var(--mut);margin-top:5px;letter-spacing:.3px}
.xh-shot{margin:0}
.xh-frame{position:relative;border:1px solid #2b323c;border-radius:var(--r);overflow:hidden;background:#000;box-shadow:0 26px 60px rgba(0,0,0,.55)}
.xh-frame img{width:100%;height:auto;aspect-ratio:1440/1000;object-fit:cover;object-position:top center}
.xh-chip{position:absolute;font-family:"Barlow Condensed",sans-serif;letter-spacing:1.3px;text-transform:uppercase;font-size:10.5px;font-weight:600;padding:5px 8px;border-radius:3px}
.xh-chip.live{top:12px;left:12px;background:rgba(11,13,16,.82);color:var(--teal);border:1px solid rgba(20,184,166,.45)}
.xh-chip.date{top:12px;right:12px;background:rgba(11,13,16,.82);color:#cbd2da;border:1px solid #39414c}
.xh-ovl{position:absolute;left:0;right:0;bottom:0;display:flex;gap:0;background:linear-gradient(180deg,transparent,rgba(4,6,8,.9) 55%);padding:34px 14px 12px}
.xh-ovl span{flex:1 1 0;font-size:11.5px;color:#dfe4ea;border-left:1px solid rgba(255,255,255,.14);padding-left:10px;line-height:1.3}
.xh-ovl span:first-child{border-left:0;padding-left:0}
.xh-ovl b{display:block;font-family:"Barlow Condensed",sans-serif;font-size:15px;font-weight:600;color:#fff;letter-spacing:.5px}
.xh-cap{font-size:12px;line-height:1.65;color:#8d97a2;margin-top:9px}

/* partners */
.xh-partners{margin:4px 0 46px;padding:18px 0 20px;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.xh-pgrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;max-width:660px}
.xh-pcell{height:92px;background:var(--panel);border:1px solid var(--line);border-radius:8px;display:flex;align-items:center;justify-content:center;padding:8px 10px}
.xh-pcell img{height:60px;width:100%;object-fit:contain;filter:none;opacity:1}

/* section base */
.xh-sec{margin-bottom:50px}
.xh-sechead{display:flex;align-items:baseline;justify-content:space-between;gap:18px;margin-bottom:8px}
.xh-sechead h2{font-family:"Barlow Condensed","Noto Sans KR",sans-serif;font-size:clamp(26px,2.6vw,34px);font-weight:700;letter-spacing:-.01em}
.xh-sechead .xh-count{font-family:"Barlow Condensed",sans-serif;font-size:13px;letter-spacing:1.6px;text-transform:uppercase;color:var(--teal)}
.xh-sec>p{max-width:760px;font-size:15px;color:var(--mut);line-height:1.8;margin-bottom:20px}

/* rank strip */
.xh-rank{display:flex;gap:14px;overflow-x:auto;padding:2px 2px 12px;scroll-snap-type:x mandatory}
.xh-rank::-webkit-scrollbar{height:6px}
.xh-rank::-webkit-scrollbar-thumb{background:#2c333c;border-radius:3px}
.xh-rcard{flex:0 0 236px;scroll-snap-align:start;background:var(--panel);border:1px solid var(--line);border-radius:8px;padding:12px}
.xh-rnum{font-family:"Barlow Condensed",sans-serif;font-size:40px;font-weight:700;line-height:.9;color:var(--teal);letter-spacing:-1px;margin-bottom:8px}
.xh-rimg{position:relative;border-radius:5px;overflow:hidden;background:#0e1115}
.xh-rimg img{width:100%;height:auto;aspect-ratio:16/9;object-fit:cover}
.xh-rtime{position:absolute;right:6px;bottom:6px;background:rgba(4,6,8,.86);color:#fff;font-size:10.5px;padding:2px 5px;border-radius:3px;font-weight:500}
.xh-rtitle{font-size:13.5px;line-height:1.45;margin:9px 0 5px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:39px}
.xh-rviews{font-size:11.5px;color:var(--mut)}

/* video grid */
.xh-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px 18px}
.xh-card{min-width:0}
.xh-thumb{position:relative;border-radius:6px;overflow:hidden;background:#0e1115}
.xh-thumb img{width:100%;height:auto;aspect-ratio:16/9;object-fit:cover}
.xh-badge{position:absolute;top:7px;left:7px;background:var(--teal);color:var(--teal-ink);font-family:"Barlow Condensed",sans-serif;font-size:10px;font-weight:700;letter-spacing:1.1px;padding:2px 5px;border-radius:2px}
.xh-dur{position:absolute;right:6px;bottom:6px;background:rgba(4,6,8,.86);color:#fff;font-size:10.5px;padding:2px 5px;border-radius:3px;letter-spacing:.2px}
.xh-card h3{font-size:14px;font-weight:500;line-height:1.5;margin:9px 0 5px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:42px}
.xh-meta{display:flex;align-items:center;gap:6px;font-size:12px;color:var(--mut);flex-wrap:wrap}
.xh-meta .xh-up{color:#b9c1ca}
.xh-meta .xh-sep{width:1px;height:9px;background:#3a424d}

/* categories */
.xh-cats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.xh-cat{background:var(--panel);border:1px solid var(--line);border-radius:8px;padding:20px 20px 18px;border-top:2px solid #2c333c}
.xh-cat:hover{border-top-color:var(--teal);background:var(--panel-2)}
.xh-cat .xh-en{font-family:"Barlow Condensed",sans-serif;font-size:11px;letter-spacing:1.7px;text-transform:uppercase;color:var(--teal)}
.xh-cat h3{font-size:21px;font-weight:700;margin:4px 0 8px}
.xh-cat p{font-size:13.5px;line-height:1.7;color:var(--mut);margin:0}

/* prose + note */
.xh-two{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(0,1fr);gap:40px;align-items:start}
.xh-prose p{font-size:15.5px;line-height:1.9;color:#cbd2da;margin-bottom:16px}
.xh-prose p:last-child{margin-bottom:0}
.xh-side{padding:22px;background:var(--panel);border:1px solid var(--line);border-radius:8px}
.xh-side h3{font-family:"Barlow Condensed",sans-serif;font-size:13px;letter-spacing:1.6px;text-transform:uppercase;color:var(--mut);margin-bottom:14px}
.xh-kv{display:flex;justify-content:space-between;gap:14px;padding:10px 0;border-bottom:1px solid #232a33;font-size:13.5px}
.xh-kv:last-child{border-bottom:0;padding-bottom:0}
.xh-kv b{font-family:"Barlow Condensed",sans-serif;font-size:15px;font-weight:600;color:#fff;letter-spacing:.4px}
.xh-kv span{color:var(--mut)}
.xh-note{background:var(--panel);border:1px solid var(--line);border-left:2px solid var(--teal);border-radius:6px;padding:24px 26px}
.xh-note h2{font-size:26px;margin-bottom:10px}
.xh-note p{font-size:14.5px;line-height:1.8;color:#c3cad3;margin-bottom:10px}
.xh-note p:last-child{margin-bottom:0}

/* subpage heading */
.xh-pagehead{padding:6px 0 26px;border-bottom:1px solid var(--line);margin-bottom:28px}
.xh-pagehead .xh-eyebrow{margin-bottom:10px}
.xh-pagehead h1{font-family:"Barlow Condensed","Noto Sans KR",sans-serif;font-size:clamp(32px,4.4vw,52px);font-weight:700;margin-bottom:12px}
.xh-pagehead p{max-width:760px;font-size:15.5px;color:var(--mut);line-height:1.85;margin:0}
.xh-filters{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:26px}
.xh-filters span{font-size:12.5px;color:#c3cad3;border:1px solid #343c46;border-radius:999px;padding:5px 13px;letter-spacing:.2px}
.xh-filters span.on{background:var(--teal);border-color:var(--teal);color:var(--teal-ink);font-weight:700}

/* video list rows */
.xh-rows{display:flex;flex-direction:column;gap:0;border-top:1px solid var(--line)}
.xh-row{display:grid;grid-template-columns:46px 236px minmax(0,1fr);gap:20px;padding:22px 0;border-bottom:1px solid var(--line);align-items:start}
.xh-idx{font-family:"Barlow Condensed",sans-serif;font-size:24px;font-weight:600;color:#5d6773;line-height:1;padding-top:4px}
.xh-row .xh-thumb img{aspect-ratio:16/9}
.xh-row h2{font-size:18px;font-weight:700;line-height:1.45;margin-bottom:6px}
.xh-rowinfo{display:flex;flex-wrap:wrap;gap:8px;font-size:12.5px;color:var(--mut);margin-bottom:8px}
.xh-rowinfo b{color:#d6dce3;font-weight:500}
.xh-row p{font-size:14px;line-height:1.75;color:#b6bec7;margin:0}

/* category page blocks */
.xh-cblocks{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.xh-cblock{background:var(--panel);border:1px solid var(--line);border-radius:8px;padding:0;overflow:hidden;display:grid;grid-template-columns:150px minmax(0,1fr)}
.xh-cblock img{width:100%;height:100%;min-height:170px;object-fit:cover}
.xh-cbody{padding:18px 20px}
.xh-cbody .xh-en{font-family:"Barlow Condensed",sans-serif;font-size:10.5px;letter-spacing:1.6px;text-transform:uppercase;color:var(--teal)}
.xh-cbody h2{font-size:22px;margin:3px 0 8px}
.xh-cbody p{font-size:13.5px;line-height:1.7;color:var(--mut);margin:0 0 8px}
.xh-cbody p:last-child{margin:0;color:#aeb7c1}

/* guide */
.xh-guide{display:grid;grid-template-columns:220px minmax(0,1fr);gap:40px;align-items:start}
.xh-toc{position:sticky;top:94px;border-left:1px solid var(--line);padding-left:18px}
.xh-toc h2{font-family:"Barlow Condensed",sans-serif;font-size:11.5px;letter-spacing:1.7px;text-transform:uppercase;color:#7f8996;margin-bottom:12px}
.xh-toc a{display:block;font-size:13.5px;color:#b8c0c9;padding:6px 0}
.xh-toc a:hover{color:var(--teal)}
.xh-chap{margin-bottom:38px;scroll-margin-top:92px}
.xh-chap .xh-cn{font-family:"Barlow Condensed",sans-serif;font-size:12px;letter-spacing:1.8px;color:var(--teal);text-transform:uppercase}
.xh-chap h2{font-size:27px;margin:4px 0 14px}
.xh-chap p{font-size:15.5px;line-height:1.9;color:#cbd2da;margin-bottom:14px}
.xh-chap p:last-child{margin-bottom:0}

/* faq */
.xh-faq{border-top:1px solid var(--line);counter-reset:q}
.xh-q{border-bottom:1px solid var(--line);padding:20px 0}
.xh-q h2{font-size:16.5px;font-weight:700;line-height:1.5;margin-bottom:7px;display:flex;gap:11px;align-items:baseline}
.xh-q h2::before{counter-increment:q;content:"Q" counter(q);font-family:"Barlow Condensed",sans-serif;font-size:13px;letter-spacing:1px;color:var(--teal);flex:0 0 auto}
.xh-q p{font-size:14.5px;line-height:1.8;color:#b8c0c9;margin:0 0 0 25px}

/* about */
.xh-about{max-width:820px}
.xh-about h2{font-size:24px;margin:34px 0 10px}
.xh-about h2:first-child{margin-top:0}
.xh-about p{font-size:15.5px;line-height:1.9;color:#c6cdd6;margin-bottom:14px}
.xh-about .xh-small{font-size:13.5px;color:var(--mut)}

/* 404 */
.xh-404{padding:70px 0 80px;max-width:720px}
.xh-404 .xh-code{font-family:"Barlow Condensed",sans-serif;font-size:110px;line-height:.9;font-weight:700;color:var(--teal);letter-spacing:-2px}
.xh-404 h1{font-size:36px;margin:10px 0 14px}
.xh-404 p{font-size:15.5px;color:var(--mut);line-height:1.85;margin-bottom:22px}

/* footer */
.xh-foot{border-top:1px solid var(--line);background:#090b0e;padding:38px 0 30px;margin-top:10px}
.xh-footin{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr) minmax(0,1fr);gap:34px}
.xh-foot h2{font-family:"Barlow Condensed",sans-serif;font-size:12px;letter-spacing:1.7px;text-transform:uppercase;color:#7f8996;margin-bottom:12px}
.xh-foot a{display:block;font-size:13.5px;color:#b3bcc6;padding:4px 0}
.xh-foot a:hover{color:var(--teal)}
.xh-foot p{font-size:12.5px;line-height:1.75;color:#8d97a2;margin:0 0 10px}
.xh-foot .xh-age{display:inline-block;border:1px solid #39414c;color:#c3cad3;font-size:11px;letter-spacing:.6px;padding:2px 7px;border-radius:3px;margin-bottom:10px}
.xh-bottom{border-top:1px solid #1c222a;margin-top:26px;padding-top:16px;display:flex;flex-wrap:wrap;justify-content:space-between;gap:10px;font-size:12px;color:#6f7985}
.xh-bottom a{display:inline;color:#8d97a2}

@media (max-width:1100px){
  .xh-layout{grid-template-columns:184px minmax(0,1fr);gap:26px}
  .xh-hero{grid-template-columns:1fr;gap:24px}
  .xh-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .xh-shot{max-width:760px}
  .xh-cats{grid-template-columns:repeat(2,minmax(0,1fr))}
  .xh-two{grid-template-columns:1fr;gap:24px}
  .xh-guide{grid-template-columns:1fr}
  .xh-toc{position:static;display:flex;flex-wrap:wrap;gap:6px 16px;border-left:0;padding-left:0;border-bottom:1px solid var(--line);padding-bottom:14px}
  .xh-toc h2{flex:0 0 100%;margin-bottom:4px}
  .xh-cblocks{grid-template-columns:1fr}
}
@media (max-width:820px){
  .xh-shell{padding:0 18px}
  .xh-topin{padding:10px 18px 8px;height:auto;flex-wrap:wrap;gap:10px 14px}
  .xh-brand img{width:28px;height:28px}
  .xh-word{font-size:23px}
  .xh-cta{padding:9px 14px;font-size:12.5px}
  .xh-nav{order:3;width:100%;gap:18px;overflow:visible;flex-wrap:wrap;padding-bottom:2px}
  .xh-nav a{font-size:13px}
  .xh-layout{display:block;padding-top:20px;padding-bottom:40px}
  .xh-rail{position:static;margin-bottom:24px;gap:14px}
  .xh-rg:nth-child(2){display:none}
  .xh-rg h2{margin-bottom:7px}
  .xh-rg{display:flex;flex-wrap:wrap;gap:7px}
  .xh-rg h2{flex:0 0 100%}
  .xh-rg a,.xh-rg span{display:inline-flex;border:1px solid #2c333c;border-radius:999px;padding:5px 11px;font-size:12.5px;border-left:1px solid #2c333c}
  .xh-rg a:hover{background:rgba(20,184,166,.08);border-color:#2f6d66}
  .xh-rg .xh-dot{display:none}
  .xh-hero{padding-bottom:22px}
  .xh-hero h1{font-size:33px}
  .xh-lead{font-size:15.5px}
  .xh-stats{gap:22px}
  .xh-stat b{font-size:26px}
  .xh-partners{margin-bottom:34px}
  .xh-pgrid{gap:8px}
  .xh-pcell{height:66px;padding:6px}
  .xh-pcell img{height:40px}
  .xh-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 12px}
  .xh-card h3{font-size:13.5px;min-height:40px}
  .xh-rank{gap:10px}
  .xh-rcard{flex:0 0 210px;padding:10px}
  .xh-rnum{font-size:32px}
  .xh-cats{grid-template-columns:1fr}
  .xh-row{grid-template-columns:30px minmax(0,1fr);gap:12px}
  .xh-row .xh-thumb{grid-column:2}
  .xh-row .xh-body{grid-column:2}
  .xh-idx{grid-row:1;padding-top:2px}
  .xh-cblock{grid-template-columns:112px minmax(0,1fr)}
  .xh-cbody{padding:14px}
  .xh-cbody h2{font-size:19px}
  .xh-footin{grid-template-columns:1fr 1fr;gap:24px}
  .xh-footin>div:first-child{grid-column:1/-1}
  .xh-404 .xh-code{font-size:82px}
  .xh-404 h1{font-size:28px}
}
@media (max-width:420px){
  .xh-shell{padding:0 14px}
  .xh-topin{padding:9px 14px 7px}
  .xh-nav{gap:14px}
  .xh-nav a{font-size:12.5px}
  .xh-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 10px}
  .xh-card h3{font-size:13px}
  .xh-meta{font-size:11px}
  .xh-ovl span{font-size:10.5px}
  .xh-hero h1{font-size:30px}
}
