/*
Theme Name:   Falara Unveiled — Dark Ink
Theme URI:    https://falara-unveiled.com
Description:  Manga-panel child theme for Blocksy. Deep black, crimson red, Bebas Neue bold typography. Random hero images, archive overview pages, full-width posts.
Author:       Falara
Version:      2.0.0
Template:     blocksy
Text Domain:  falara-ink
Tags:         dark, manga, bold, gallery, adult, full-content, left-sidebar
*/
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Oswald:wght@300;400;500;600;700&family=Nunito:wght@400;600;700;800&family=Noto+Sans+JP:wght@300;400;700&family=Titillium+Web:wght@300;400;600;700&display=swap');

:root {
  --bg:       #0a0007;
  --bg2:      #110009;
  --card:     #130008;
  --card2:    #1c000f;
  --red:      #cc1122;
  --red2:     #ff2233;
  --red-dim:  #880011;
  --red-pale: rgba(204,17,34,0.1);
  --cream:    #f5ede0;
  --cream2:   #d8ccc0;
  --gold:     #d4a040;
  --text:     #f5ede0;
  --text2:    #c8b0a0;
  --text3:    #7a5848;
  --border:   rgba(204,17,34,0.16);
  --border2:  rgba(204,17,34,0.45);
  --shadow:   0 4px 24px rgba(0,0,0,0.7);
  --shadow-r: 0 4px 24px rgba(204,17,34,0.2);
  --font-h:   'Bebas Neue', sans-serif;
  --font-sub: 'Oswald', sans-serif;
  --font-b:   'Nunito', sans-serif;
  --font-jp:  'Noto Sans JP', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg) !important;
  color: var(--text) !important;
  font-family: var(--font-b) !important;
  font-size: 15px; line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: '';
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image: radial-gradient(circle, rgba(204,17,34,0.05) 1px, transparent 1px);
  background-size: 22px 22px; opacity: .6;
}
.site, #page, .ct-container { position: relative; z-index: 1; background: transparent !important; }
.ct-container { padding-left: 0 !important; }
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--red-dim); }
::-webkit-scrollbar-thumb:hover { background: var(--red); }

h1,h2,h3,h4,h5,h6,.entry-title,.page-title {
  font-family: var(--font-h) !important;
  color: var(--cream) !important;
  line-height: 1.05; letter-spacing: .04em; text-transform: uppercase;
}
h1,.entry-title { font-size: clamp(1.8rem,3.5vw,2.8rem); }
h2 { font-size: clamp(1.5rem,3vw,2.2rem); }
p { color: var(--text2); font-family: var(--font-b); margin-bottom: 1em; }
a { color: var(--red2); text-decoration: none; transition: color .2s; }
a:hover { color: var(--gold); }
strong { color: var(--cream); font-weight: 800; }

/* ── TOP BAR (Community / Primary Menu) ── */
.di-topbar {
  background: rgba(5,0,3,0.98) !important;
  border-bottom: 1px solid var(--border) !important;
  padding: 0 40px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  min-height: 40px !important;
  position: static !important;
  z-index: 10000 !important;
}
.di-topbar-logo {
  font-family: var(--font-sub) !important;
  font-size: .62rem !important; font-weight: 700 !important;
  letter-spacing: .2em !important; text-transform: uppercase !important;
  color: rgba(245,237,224,.5) !important;
  text-decoration: none !important;
  white-space: nowrap;
}
.di-topbar-logo:hover { color: var(--red2) !important; }
.di-topbar-nav-wrap {
  display: flex !important;
  align-items: center !important;
  gap: 0 !important;
}
.di-topbar-nav-wrap a {
  font-family: var(--font-sub) !important;
  font-size: .65rem !important; font-weight: 500 !important;
  letter-spacing: .12em !important; text-transform: uppercase !important;
  color: rgba(245,237,224,.55) !important;
  padding: 10px 14px !important;
  transition: color .2s !important;
  text-decoration: none !important;
  display: block !important;
  white-space: nowrap !important;
}
.di-topbar-nav-wrap a:hover,
.di-topbar-nav-wrap a.active { color: var(--red2) !important; }

/* ── MAIN HEADER ── */
.ct-header, #ct-header {
  background: rgba(8,0,5,0.92) !important;
  backdrop-filter: blur(20px) !important;
  border-bottom: 1px solid var(--border2) !important;
  box-shadow: 0 2px 30px rgba(0,0,0,0.8) !important;
  top: 40px !important; position: sticky !important; z-index: 9999 !important;
}
.ct-header::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg,transparent,var(--red),transparent);
  animation: di-shimmer 4s ease infinite;
}
@keyframes di-shimmer { 0%,100%{opacity:.3} 50%{opacity:.9} }

/* Hide search icon in header */
.ct-header .ct-search-form, .ct-header [class*="search"] { display: none !important; }

.site-title a, .ct-site-title a {
  font-family: var(--font-h) !important; font-size: 1.4rem !important;
  color: var(--cream) !important; letter-spacing: .1em !important;
  text-shadow: 0 0 20px rgba(204,17,34,.5) !important;
}
.site-description, .ct-site-description {
  font-family: var(--font-jp) !important;
  font-size: .55rem !important; letter-spacing: .3em !important; color: var(--text3) !important;
}
.ct-nav-links a, .main-navigation a {
  font-family: var(--font-sub) !important; font-size: .75rem !important;
  font-weight: 500 !important; letter-spacing: .12em !important; text-transform: uppercase !important;
  color: var(--text2) !important; padding: 6px 14px !important;
  border-bottom: 2px solid transparent !important; transition: all .2s !important;
}
.ct-nav-links a:hover, .ct-nav-links .current-menu-item>a {
  color: var(--cream) !important; border-bottom-color: var(--red) !important;
}
.ct-nav-links .sub-menu, .main-navigation .sub-menu {
  background: rgba(10,0,7,.98) !important;
  border: 1px solid var(--border2) !important;
  box-shadow: var(--shadow), var(--shadow-r) !important;
}
.ct-nav-links .sub-menu a { border-bottom: none !important; border-left: 2px solid transparent !important; }
.ct-nav-links .sub-menu a:hover { border-left-color: var(--red) !important; background: var(--red-pale) !important; }

/* ── HERO ── */
.di-hero {
  position: relative; height: 90vh; min-height: 580px;
  overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end;
  border-bottom: 1px solid var(--border2);
}
.di-hero__bg {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(135deg,rgba(10,0,7,.85) 0%,rgba(10,0,7,.3) 60%,transparent 100%);
}
.di-hero__dots { position: absolute; inset: 0; z-index: 2;
  background-image: radial-gradient(circle,rgba(204,17,34,.07) 1px,transparent 1px);
  background-size: 18px 18px; }
.di-hero__glow {
  position: absolute; bottom: -80px; left: 50%; transform: translateX(-50%);
  width: 80%; height: 300px; border-radius: 50%;
  background: radial-gradient(ellipse,rgba(204,17,34,.15) 0%,transparent 70%); z-index: 2;
}
.di-hero__banner { position: absolute; inset: 0; z-index: 0; }
.di-hero__banner img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.di-hero__banner-fallback {
  position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(135deg,#200010 0%,#0a0007 50%,#100014 100%);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-jp); font-size: 14rem; color: rgba(204,17,34,.04); user-select: none;
}
.di-hero__content {
  position: relative; z-index: 5; padding: 0 60px 58px; max-width: 680px;
}
.di-hero__overline {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--red); color: #fff;
  font-family: var(--font-sub); font-size: .62rem; font-weight: 600;
  letter-spacing: .25em; text-transform: uppercase; padding: 4px 18px 4px 14px; margin-bottom: 18px;
  clip-path: polygon(0 0,calc(100% - 10px) 0,100% 50%,calc(100% - 10px) 100%,0 100%);
}
.di-hero__title {
  font-family: var(--font-h) !important; font-size: clamp(4rem,9vw,9rem) !important;
  letter-spacing: .05em !important; line-height: .9 !important; color: #fff !important;
  text-shadow: 0 0 60px rgba(204,17,34,.5),4px 4px 0 rgba(204,17,34,.25) !important;
  margin-bottom: 4px !important; text-transform: uppercase !important;
}
.di-hero__title-accent {
  display: block; color: var(--red2);
  text-shadow: 0 0 30px rgba(255,34,51,.8),0 0 80px rgba(255,34,51,.3),3px 3px 0 rgba(136,0,17,.7) !important;
  animation: di-flicker 7s infinite;
}
@keyframes di-flicker { 0%,100%{opacity:1} 93%{opacity:1} 94%{opacity:.8} 95%{opacity:1} 98%{opacity:.85} 99%{opacity:1} }
.di-hero__tagline {
  font-family: var(--font-sub); font-size: .72rem; font-weight: 400; letter-spacing: .25em; text-transform: uppercase;
  color: rgba(245,237,224,.92); margin-bottom: 20px;
  text-shadow: 0 1px 12px rgba(0,0,0,.95), 0 0 40px rgba(0,0,0,.8);
}
.di-hero__slogan {
  font-family: var(--font-sub); font-size: 1.1rem; font-weight: 300;
  letter-spacing: .2em; text-transform: uppercase;
  color: rgba(245,237,224,.55); margin-bottom: 24px; font-style: italic;
}
.di-hero__cta {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--red); color: #fff;
  font-family: var(--font-sub); font-size: .78rem; font-weight: 600;
  letter-spacing: .2em; text-transform: uppercase; padding: 12px 32px;
  clip-path: polygon(0 0,calc(100% - 12px) 0,100% 50%,calc(100% - 12px) 100%,0 100%);
  box-shadow: 0 4px 28px rgba(204,17,34,.45); transition: all .2s; cursor: pointer;
}
.di-hero__cta:hover { color: #fff; background: var(--red2); box-shadow: 0 8px 40px rgba(255,34,51,.55); }
.di-hero__cta::after { content: '▶'; font-size: .7rem; }

/* Hero search field */
.di-hero__search {
  display: block !important;
  margin-top: 20px;
  max-width: 500px;
  width: 100%;
}
/* Hide NGG br tags */
.di-hero__search br { display: none !important; }
/* Our wrapper + NGG wrappers all block */
.di-hero__search-box,
.hr_searchform_wrapper { display: block !important; width: 100% !important; }
/* Force flex row on the actual form */
.hr-searchform-box {
  display: flex !important;
  width: 100% !important;
  align-items: stretch !important;
  float: none !important;
}
/* Kill all NGG default styling */
.hr_searchform_wrapper *,
.hr-searchform-box * { box-shadow: none !important; outline: none !important; border-radius: 0 !important; }
.hr_searchform_wrapper,
.hr-searchform-box { border: none !important; box-shadow: none !important; outline: none !important; background: transparent !important; padding: 0 !important; margin: 0 !important; }
/* Input */
.hr_searchfield {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  width: 100% !important;
  background: rgba(10,0,7,0.88) !important;
  border: 1px solid rgba(204,17,34,.4) !important;
  border-right: none !important;
  color: #f5ede0 !important;
  font-family: var(--font-b) !important;
  font-size: .82rem !important;
  padding: 11px 16px !important;
  outline: none !important;
  box-shadow: none !important;
  -webkit-appearance: none !important;
  float: none !important;
  display: block !important;
}
.hr_searchfield::placeholder { color: rgba(245,237,224,.35) !important; }
.hr_searchfield:focus { border-color: var(--red2) !important; }
/* Button */
.hr_searchsubmit {
  background: var(--red) !important;
  color: #fff !important;
  border: none !important;
  padding: 11px 20px !important;
  font-family: var(--font-sub) !important;
  font-size: .78rem !important;
  font-weight: 600 !important;
  letter-spacing: .1em !important;
  cursor: pointer !important;
  transition: background .2s !important;
  white-space: nowrap !important;
  box-shadow: none !important;
  -webkit-appearance: none !important;
  clip-path: polygon(0 0,calc(100% - 8px) 0,100% 50%,calc(100% - 8px) 100%,0 100%) !important;
}
.hr_searchsubmit:hover { background: var(--red2) !important; }
.di-hero__search-hint {
  display: block !important;
  clear: both !important;
  width: 100% !important;
  margin: 7px 0 0 !important;
  font-family: var(--font-sub) !important;
  font-size: .58rem !important;
  letter-spacing: .08em !important;
  color: rgba(245,237,224,.35) !important;
}
.di-hero__search-hint strong { color: rgba(245,237,224,.6) !important; font-weight: 700; }
.di-hero__search-hint em { font-style: normal !important; color: var(--red2) !important; opacity: .8; }

.di-hero__stats {
  position: absolute; bottom: 56px; right: 60px; z-index: 5;
  text-align: right; display: flex; flex-direction: column; gap: 14px;
}
.di-stat__num {
  display: block; font-family: var(--font-h); font-size: 2.5rem; color: var(--red2); line-height: 1;
  text-shadow: 0 0 20px rgba(255,34,51,.5);
}
.di-stat__label { font-size: .58rem; letter-spacing: .2em; text-transform: uppercase; color: rgba(245,237,224,.25); }

/* ── CATEGORY / NAV BAR ── */
/* ── CATBAR: horizontal nav (div/a, no ul/li) ── */
.di-catbar {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  background: rgba(10,0,7,.95) !important;
  border-bottom: 1px solid var(--border2) !important;
  overflow: visible !important;
  position: static !important;
  z-index: 9000 !important;
  padding: 0 40px !important;
  margin: 0 !important;
  min-height: 44px !important;
}
.di-nav-item {
  position: relative !important;
  display: inline-flex !important;
  align-items: center !important;
  flex-shrink: 0 !important;
}
html body .di-catbar .di-nav-item .di-nav-link,
html body .di-catbar a.di-nav-link {
  display: inline-flex !important;
  align-items: center !important;
  padding: 14px 28px !important;
  font-family: var(--font-sub) !important;
  font-size: .7rem !important;
  font-weight: 700 !important;
  letter-spacing: .22em !important;
  text-transform: uppercase !important;
  color: rgba(245,237,224,.75) !important;
  white-space: nowrap !important;
  position: relative !important;
  transition: color .2s !important;
  text-decoration: none !important;
  line-height: 1 !important;
}
.di-nav-link::after {
  content: '' !important;
  position: absolute !important;
  bottom: 0 !important; left: 50% !important; right: 50% !important;
  height: 2px !important;
  background: var(--red) !important;
  box-shadow: 0 0 8px var(--red) !important;
  transition: left .22s, right .22s !important;
}
.di-nav-item:hover > .di-nav-link,
.di-nav-item.current > .di-nav-link,
a.di-nav-link:hover { color: var(--red2) !important; }
.di-nav-item:hover > .di-nav-link::after,
.di-nav-item.current > .di-nav-link::after,
a.di-nav-link:hover::after { left: 6px !important; right: 6px !important; }

/* Sub-menu: HIDDEN by default, shown ONLY on parent hover */
.di-sub-menu {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
  position: absolute !important;
  top: 100% !important;
  left: 0 !important;
  min-width: 200px !important;
  z-index: 99999 !important;
  background: rgba(8,0,5,.99) !important;
  border: 1px solid var(--border2) !important;
  box-shadow: 0 8px 32px rgba(0,0,0,.8) !important;
  padding: 6px 0 !important;
}
.di-nav-item.di-has-sub:hover > .di-sub-menu {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: auto !important;
}
.di-sub-link {
  display: block !important;
  padding: 10px 18px !important;
  font-family: var(--font-sub) !important;
  font-size: .67rem !important;
  font-weight: 500 !important;
  letter-spacing: .08em !important;
  text-transform: uppercase !important;
  white-space: nowrap !important;
  color: var(--text2) !important;
  border-left: 2px solid transparent !important;
  transition: all .15s !important;
  text-decoration: none !important;
  line-height: 1 !important;
}
.di-sub-link:hover {
  color: var(--red2) !important;
  background: var(--red-pale) !important;
  border-left-color: var(--red) !important;
}

/* ── Kill Blocksy header gap completely ── */
html, body { margin-top: 0 !important; padding-top: 0 !important; }
body { --ct-header-height: 0px !important; }
header.ct-header,
#header.ct-header,
#main-container > header,
[data-id="header"],
.ct-header-wrap,
#ct-header-sticky-placeholder,
.ct-sticky-placeholder { 
  display: none !important;
  height: 0 !important;
  min-height: 0 !important;
  max-height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  overflow: hidden !important;
  visibility: hidden !important;
}
.di-topbar { position: static !important; }
.di-catbar  { position: static !important; top: auto !important; }

/* ── LAYOUT ── */
.ct-sidebar { order: -1 !important; }
.ct-posts-container, .ct-blog-layout { display: flex !important; flex-direction: column !important; gap: 28px !important; }

/* ── POSTS ── */
article.post, .ct-blog-post, .type-post {
  background: var(--card) !important; border: 1px solid var(--border) !important;
  box-shadow: var(--shadow) !important; transition: border-color .25s !important;
  border-radius: 0 !important; display: flex !important; flex-direction: column !important;
  position: relative;
}
article.post::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg,var(--red),transparent); opacity: 0; transition: opacity .25s;
}
article.post:hover { border-color: var(--border2) !important; }
article.post:hover::before { opacity: 1; }
.entry-header { padding: 18px 24px 14px !important; border-bottom: 1px solid var(--border) !important; background: var(--card2) !important; }
.post-thumbnail, .entry-thumbnail {
  display: block !important; width: 100% !important; overflow: hidden !important;
  border-bottom: 1px solid var(--border) !important; border-radius: 0 !important;
  aspect-ratio: auto !important; max-height: 70vh;
}
.post-thumbnail img, .entry-thumbnail img {
  width: 100% !important; height: auto !important; max-height: 70vh !important;
  object-fit: contain !important; display: block !important;
  transition: transform .5s ease !important; background: var(--bg) !important;
}
article.post:hover .post-thumbnail img { transform: scale(1.02) !important; }
/* ── Gallery Header ── */
.di-gallery-header {
  position: relative;
  background: linear-gradient(135deg, #0d0005 0%, #1a0008 50%, #0d0005 100%);
  border: 1px solid rgba(204,17,34,.35);
  border-radius: 6px 6px 0 0;
  overflow: hidden;
  margin-bottom: 0;
  box-shadow: 0 0 0 1px rgba(0,0,0,.8), 0 4px 24px rgba(0,0,0,.6);
}
.di-gallery-header__deco {
  position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, transparent 0%, #cc1122 20%, #ff3344 50%, #cc1122 80%, transparent 100%);
  box-shadow: 0 0 24px #cc1122, 0 0 48px rgba(204,17,34,.4);
}
.di-gallery-header::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(204,17,34,.3), transparent);
}
.di-gallery-header__inner {
  padding: 28px 36px 26px;
  position: relative; z-index: 1;
}
.di-gallery-header__cat {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-sub); font-size: .6rem; font-weight: 700;
  letter-spacing: .25em; text-transform: uppercase;
  color: #ff4455 !important; text-decoration: none !important;
  background: rgba(204,17,34,.12);
  border: 1px solid rgba(204,17,34,.5); border-radius: 2px;
  padding: 4px 12px; margin-bottom: 14px;
  transition: all .2s;
}
.di-gallery-header__cat::before { content: '◆'; font-size: .5em; opacity: .7; }
.di-gallery-header__cat:hover {
  background: rgba(204,17,34,.25); border-color: #ff3344; color: #ff6677 !important;
}
.di-gallery-header__title {
  font-family: var(--font-h) !important;
  font-size: clamp(2rem, 4vw, 3rem) !important;
  font-weight: 900 !important;
  color: #f5ede0 !important;
  letter-spacing: .06em !important;
  text-transform: uppercase !important;
  line-height: 1.05 !important;
  margin: 0 0 18px !important;
  text-shadow: 0 0 40px rgba(204,17,34,.3), 0 2px 0 rgba(0,0,0,.9);
}
.di-gallery-header__meta {
  display: flex; align-items: center; flex-wrap: wrap; gap: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,.06);
}
.di-meta-item {
  display: flex; align-items: center; gap: 5px;
  font-family: var(--font-sub); font-size: .62rem;
  color: rgba(245,237,224,.45); letter-spacing: .1em; text-transform: uppercase;
}
.di-meta-item svg { opacity: .4; flex-shrink: 0; }
.di-meta-tags { display: flex; flex-wrap: wrap; gap: 5px; }
.di-tag {
  display: inline-block;
  font-family: var(--font-sub); font-size: .58rem;
  letter-spacing: .1em; text-transform: uppercase;
  color: rgba(245,237,224,.4) !important; text-decoration: none !important;
  background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.08);
  border-radius: 2px; padding: 2px 9px;
  transition: all .15s;
}
.di-tag:hover { color: #ff4455 !important; border-color: rgba(204,17,34,.5); background: rgba(204,17,34,.1); }
.di-gallery-body {
  border: 1px solid rgba(204,17,34,.2);
  border-top: none;
  border-radius: 0 0 6px 6px;
  background: #080004;
  box-shadow: 0 8px 32px rgba(0,0,0,.5);
}

.entry-content { padding: 22px 24px 26px !important; }
.entry-content p { color: var(--text2) !important; line-height: 1.8 !important; }
.entry-content img, .ngg-gallery-thumbnail img { max-width: 100% !important; height: auto !important; display: block !important; margin: 0 auto !important; }
.ngg-gallery-thumbnail-box { border: 1px solid var(--border) !important; transition: all .2s !important; }
.ngg-gallery-thumbnail-box:hover { border-color: var(--red2) !important; box-shadow: 0 0 16px rgba(204,17,34,.3) !important; }
.di-cat-badge {
  display: inline-block; background: var(--red); color: #fff;
  font-family: var(--font-sub); font-size: .6rem; font-weight: 600;
  letter-spacing: .15em; text-transform: uppercase; padding: 2px 12px 2px 10px; margin-right: 8px; margin-bottom: 6px;
  clip-path: polygon(0 0,calc(100% - 6px) 0,100% 50%,calc(100% - 6px) 100%,0 100%); transition: background .2s;
}
.di-cat-badge:hover { background: var(--red2); color: #fff !important; }
.entry-title a { color: var(--cream) !important; font-family: var(--font-h) !important; letter-spacing: .04em !important; transition: color .2s !important; }
.entry-title a:hover { color: var(--red2) !important; }
.entry-meta { font-size: .66rem !important; color: var(--text3) !important; font-family: var(--font-sub) !important; display: flex !important; align-items: center !important; gap: 12px !important; flex-wrap: wrap !important; margin-top: 6px !important; }
.tags-links a {
  display: inline-block; background: var(--red-pale); color: var(--text2) !important;
  border: 1px solid var(--border); font-size: .62rem; font-weight: 700; padding: 2px 10px; margin: 2px; transition: all .2s;
}
.tags-links a:hover { background: var(--red); color: #fff !important; border-color: var(--red); }

/* ── ARCHIVE / OVERVIEW PAGE ── */
.di-archive-header {
  padding: 24px 0 20px; border-bottom: 1px solid var(--border2); margin-bottom: 32px;
}
.di-archive-header h1 {
  font-family: var(--font-h) !important; font-size: clamp(2rem,5vw,4rem) !important;
  color: var(--cream) !important; margin: 0 0 6px !important;
}
.di-archive-header h1 span { color: var(--red2); }
.di-archive-count { font-family: var(--font-sub); font-size: .7rem; color: var(--text3); letter-spacing: .15em; text-transform: uppercase; }

.di-alpha-nav {
  display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 28px; padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.di-alpha-nav a {
  background: var(--red-pale); border: 1px solid var(--border);
  color: var(--text2) !important; font-family: var(--font-sub);
  font-size: .7rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  padding: 4px 10px; transition: all .2s; min-width: 32px; text-align: center;
}
.di-alpha-nav a:hover, .di-alpha-nav a.has-items { border-color: var(--border2); color: var(--red2) !important; }
.di-alpha-nav a.active { background: var(--red); border-color: var(--red); color: #fff !important; }

.di-alpha-section { margin-bottom: 36px; }
.di-alpha-letter {
  font-family: var(--font-h); font-size: 2rem; color: var(--red2); margin-bottom: 14px;
  padding-bottom: 8px; border-bottom: 1px solid var(--border);
  text-shadow: 0 0 20px rgba(204,17,34,.4);
}
/* ── ARCHIVE GRID: dense text list, no thumbnails, no gap ── */
.di-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0;
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
}
.di-gallery-card {
  background: var(--card);
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  transition: background .15s;
  text-decoration: none !important;
  display: block;
}
.di-gallery-card:hover { background: var(--card2); }
.di-gallery-card:hover .di-gallery-card__title { color: var(--red2) !important; }
/* hide thumbs completely in archive */
.di-gallery-card__thumb { display: none; }
.di-gallery-card__overlay { display: none; }
.di-gallery-card__info { padding: 9px 12px; }
.di-gallery-card__title {
  font-family: 'Titillium Web', sans-serif; font-size: .78rem; font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase; color: var(--cream2) !important;
  margin: 0; line-height: 1.35; transition: color .15s;
}
.di-gallery-card__count {
  font-size: .6rem; color: var(--text3); font-family: var(--font-b); font-weight: 600; margin-top: 2px;
}
.di-gallery-card__count span { color: var(--red2); }

/* ── SIDEBAR ── */
.widget, .ct-widget {
  background: var(--card) !important; border: 1px solid var(--border) !important;
  padding: 0 !important; margin-bottom: 18px !important; box-shadow: var(--shadow) !important;
  border-radius: 0 !important; overflow: hidden !important;
}
.widget-title, .widgettitle {
  font-family: var(--font-sub) !important; font-size: .65rem !important; font-weight: 600 !important;
  letter-spacing: .28em !important; text-transform: uppercase !important; color: var(--text2) !important;
  padding: 10px 16px !important; margin: 0 !important; border-bottom: 1px solid var(--border2) !important;
  background: var(--card2) !important; display: flex !important; align-items: center !important; gap: 8px !important;
}
.widget-title::before, .widgettitle::before {
  content: ''; width: 3px; height: 14px; background: var(--red); box-shadow: 0 0 8px var(--red); display: inline-block; flex-shrink: 0;
}
.widget ul { list-style: none !important; padding: 6px 0 !important; margin: 0 !important; }
.widget ul li a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 7px 16px !important; color: var(--text2) !important; font-family: var(--font-b) !important;
  font-size: .78rem !important; font-weight: 600 !important; border-left: 2px solid transparent !important; transition: all .2s !important;
}
.widget ul li a:hover { background: var(--red-pale) !important; color: var(--red2) !important; border-left-color: var(--red2) !important; padding-left: 20px !important; }
.tagcloud { padding: 12px 14px !important; display: flex !important; flex-wrap: wrap !important; gap: 6px !important; }
.tagcloud a { background: var(--red-pale) !important; border: 1px solid var(--border) !important; color: var(--text2) !important; font-size: .68rem !important; font-family: var(--font-b) !important; font-weight: 700 !important; padding: 3px 12px !important; transition: all .2s !important; }
.tagcloud a:hover { background: var(--red) !important; border-color: var(--red) !important; color: #fff !important; }
.search-form { display: flex !important; gap: 0 !important; padding: 12px 14px !important; }
.search-form input[type="search"] { flex: 1; border: 1px solid var(--border2) !important; border-right: none !important; background: var(--bg) !important; color: var(--text) !important; font-family: var(--font-b) !important; font-size: .8rem !important; padding: 8px 14px !important; outline: none !important; }
.search-form input[type="search"]:focus { border-color: var(--red2) !important; }
.search-form button { background: var(--red) !important; color: #fff !important; border: none !important; padding: 8px 16px !important; font-family: var(--font-sub) !important; font-weight: 600 !important; cursor: pointer !important; transition: background .2s !important; }
.search-form button:hover { background: var(--red2) !important; }

/* ── PAGINATION ── */
.page-numbers a, .page-numbers span {
  display: inline-flex !important; align-items: center !important; justify-content: center !important;
  width: 38px; height: 38px; background: var(--card) !important; border: 1px solid var(--border) !important;
  color: var(--text2) !important; font-family: var(--font-sub) !important; font-size: .82rem !important; font-weight: 500 !important; transition: all .2s !important; margin: 3px !important;
}
.page-numbers a:hover { border-color: var(--red2) !important; color: var(--red2) !important; }
.page-numbers .current { background: var(--red) !important; border-color: var(--red) !important; color: #fff !important; box-shadow: 0 0 14px rgba(204,17,34,.4) !important; }

/* ── FOOTER ── */
.ct-footer, #colophon {
  background: #050003 !important; border-top: 1px solid var(--border2) !important;
  position: relative; overflow: hidden;
}
.ct-footer::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg,transparent,var(--red),transparent); animation: di-shimmer 4s ease infinite; }
.ct-footer::after { content: '殺'; position: absolute; right: -20px; bottom: -40px; font-family: var(--font-jp); font-size: 18rem; color: rgba(204,17,34,.025); user-select: none; pointer-events: none; }
.ct-footer, .ct-footer p, .ct-footer .widget { color: rgba(245,237,224,.45) !important; background: transparent !important; border: none !important; box-shadow: none !important; }
.ct-footer a { color: var(--red2) !important; }
.ct-footer a:hover { color: var(--gold) !important; }
.ct-footer h3, .ct-footer .widget-title, .ct-footer .widgettitle { color: rgba(245,237,224,.55) !important; background: transparent !important; border-bottom-color: rgba(255,255,255,.05) !important; }
.ct-footer .widget-title::before, .ct-footer .widgettitle::before { background: var(--red); }
.ct-footer ul li a { color: rgba(245,237,224,.4) !important; padding: 5px 0 !important; border-left: none !important; }
.ct-footer ul li a:hover { color: var(--red2) !important; }
.site-info, .ct-footer-copyright { background: rgba(0,0,0,.4) !important; color: rgba(245,237,224,.2) !important; font-size: .65rem !important; text-align: center; border-top: 1px solid rgba(255,255,255,.04) !important; padding: 12px !important; }

/* ── HAMBURGER (hidden desktop) ── */
.di-hamburger { display: none; }

@media (max-width:768px) {
  /* ── Topbar ── */
  .di-topbar { padding: 0 16px !important; min-height: 44px !important; }
  .di-topbar-logo { font-size: .58rem !important; }
  .di-topbar-nav-wrap { display: none !important; }

  /* ── Hamburger button ── */
  .di-hamburger {
    display: flex !important; flex-direction: column !important;
    justify-content: space-between !important;
    width: 26px !important; height: 18px !important;
    background: none !important; border: none !important;
    cursor: pointer !important; padding: 0 !important; flex-shrink: 0 !important;
  }
  .di-hamburger span {
    display: block !important; width: 100% !important; height: 2px !important;
    background: rgba(245,237,224,.8) !important; transition: all .25s !important;
    transform-origin: center !important;
  }
  .di-hamburger.is-open span:nth-child(1) { transform: translateY(8px) rotate(45deg) !important; }
  .di-hamburger.is-open span:nth-child(2) { opacity: 0 !important; }
  .di-hamburger.is-open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg) !important; }

  /* ── Catbar: fullscreen overlay on mobile ── */
  .di-catbar {
    display: none !important;
    position: fixed !important;
    top: 44px !important; left: 0 !important; right: 0 !important; bottom: 0 !important;
    background: rgba(5,0,3,.98) !important;
    flex-direction: column !important;
    overflow-y: auto !important; overflow-x: hidden !important;
    z-index: 9999 !important;
    padding: 8px 0 60px !important;
    border-top: 2px solid var(--red) !important;
  }
  .di-catbar.is-open { display: flex !important; }
  .di-catbar .di-nav-item,
  .di-catbar > a { width: 100% !important; border-bottom: 1px solid rgba(255,255,255,.05) !important; flex-shrink: 0 !important; }
  .di-catbar .di-nav-link,
  .di-catbar > a { padding: 15px 24px !important; font-size: .75rem !important; width: 100% !important; box-sizing: border-box !important; display: block !important; }
  .di-catbar .di-has-sub .di-sub-menu {
    display: none !important; position: static !important;
    background: transparent !important; border: none !important; padding: 0 0 8px !important;
  }
  .di-catbar .di-has-sub .di-sub-menu.mobile-open { display: block !important; }
  .di-catbar .di-has-sub .di-nav-link::after { content: ' ▸'; font-size: .5em; opacity: .5; }
  .di-catbar .di-has-sub.mobile-expanded .di-nav-link::after { content: ' ▾'; }
  .di-catbar .di-sub-menu a { padding: 9px 24px 9px 40px !important; font-size: .67rem !important; color: rgba(200,176,160,.7) !important; border-left: none !important; }

  /* ── Stats: hidden ── */
  .di-hero__stats { display: none !important; }

  /* ── Hero ── */
  .di-hero--full { height: auto !important; min-height: 80vh !important; }
  .di-hero__content { padding: 60px 20px 30px !important; }
  .di-hero__title { font-size: 3.2rem !important; line-height: 1 !important; }
  .di-hero__tagline { font-size: .72rem !important; }
  .di-hero__slogan { font-size: .85rem !important; }
  .di-hero__cta { font-size: .65rem !important; padding: 12px 22px !important; }
  .di-hero--mini { height: 130px !important; }
  .di-hero__mini-content { padding: 0 20px 18px !important; }
  .di-hero__mini-sitename { font-size: 1.5rem !important; }

  /* ── Search ── */
  .di-hero__search { max-width: 100% !important; width: 100% !important; margin-top: 14px !important; }
  .hr-searchform-box { width: 100% !important; }
  .hr_searchfield { font-size: .78rem !important; padding: 10px 12px !important; min-width: 0 !important; }
  .hr_searchsubmit { padding: 10px 14px !important; flex-shrink: 0 !important; }
  .di-hero__search-hint { font-size: .55rem !important; }

  /* ── Layout ── */
  .di-main-layout { flex-direction: column !important; padding: 16px 0 !important; gap: 0 !important; }
  .di-sidebar { width: 100% !important; order: 2 !important; margin-right: 0 !important; padding: 0 16px !important; box-sizing: border-box !important; }
  .di-content { width: 100% !important; order: 1 !important; }
  .ct-container { padding-left: 0 !important; padding-right: 0 !important; }

  /* ── Gallery ── */
  .di-gallery-header__inner { padding: 16px !important; }
  .di-gallery-header__title { font-size: 1.8rem !important; }
  .di-gallery-body { padding: 16px !important; }
  .di-comments-wrap { padding: 20px 16px 24px !important; }
  .di-edit-btn { margin: 16px auto 24px !important; }
}

@media (max-width:900px) {
  .di-main-layout { flex-direction: column !important; }
  .di-sidebar { width: 100% !important; order: 2 !important; margin-right: 0 !important; }
}
/* ── LAYOUT ── */
.di-main-layout { display:flex; gap:0; padding:32px 0; align-items:flex-start; }
.di-sidebar { width:240px; flex-shrink:0; margin-right:28px; }
.di-content { flex:1; min-width:0; }

/* ── HIDE BLOCKSY HEADER COMPLETELY ── */
.site-header, #site-header, .ct-header-wrap,
[data-id="header"], .ct-header { display: none !important; }

/* ── TOPBAR ── */
.di-topbar {
  background: rgba(5,0,3,.98); border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 32px; min-height: 36px;
  position: sticky; top: 0; z-index: 10000;
}
.di-topbar-logo { font-family:var(--font-sub) !important; font-size:.62rem !important; letter-spacing:.2em !important; text-transform:uppercase !important; color:rgba(245,237,224,.35) !important; }
.di-topbar-nav { display:flex; list-style:none; margin:0; padding:0; }
.di-topbar-nav li { list-style:none; }
.di-topbar-nav a { font-family:var(--font-sub) !important; font-size:.62rem !important; letter-spacing:.1em !important; text-transform:uppercase !important; color:rgba(245,237,224,.35) !important; padding:6px 10px !important; display:block !important; transition:color .2s !important; }
.di-topbar-nav a:hover { color:var(--red2) !important; }

/* ── HERO FULL (homepage) ── */
.di-hero--full { height: 90vh; }

/* ── HERO MINI (all other pages) ── */
.di-hero--mini {
  height: 200px; position: relative; overflow: hidden;
  display: flex; align-items: flex-end; justify-content: flex-start;
}
.di-hero--mini .di-hero__banner { position:absolute; inset:0; z-index:1; }
.di-hero--mini .di-hero__banner img { width:100%; height:100%; object-fit:cover; object-position:center 30%; filter:brightness(.4); }
.di-hero--mini .di-hero__bg { position:absolute; inset:0; z-index:2; background:linear-gradient(90deg,rgba(10,0,7,.92) 0%,rgba(10,0,7,.55) 55%,transparent 100%); }
.di-hero__mini-content { position:relative; z-index:5; padding: 0 60px 28px; }
.di-hero__mini-sitename {
  font-family: var(--font-h); font-size: 2.2rem; letter-spacing: .15em; text-transform: uppercase;
  color: var(--cream); margin: 0 0 2px; line-height: 1;
  text-shadow: 0 2px 20px rgba(0,0,0,.9);
}
.di-hero__mini-sitename span { color: var(--red2); }
.di-hero__mini-pagetitle {
  font-family: var(--font-sub); font-size: .68rem; font-weight: 400; letter-spacing: .25em;
  text-transform: uppercase; color: rgba(245,237,224,.5); margin: 0;
}

/* ── SIDEBAR WIDGETS ── */
.di-widget-visited, .di-widget-tags {
  background: var(--card) !important; border: 1px solid var(--border) !important;
  margin-bottom: 16px; overflow: hidden;
}
.di-widget-visited .widget-title, .di-widget-tags .widget-title {
  font-family: var(--font-sub) !important; font-size: .65rem !important; font-weight: 600 !important;
  letter-spacing: .15em !important; text-transform: uppercase !important;
  color: var(--text3) !important; padding: 10px 14px !important; margin: 0 !important;
  border-bottom: 1px solid var(--border) !important; background: var(--bg2);
}
.di-visited-list { list-style: none; margin: 0; padding: 0; }
.di-visited-list li { display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--border); }
.di-visited-list li:last-child { border-bottom: none; }
.di-visited-list a { font-family: var(--font-sub); font-size: .65rem; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; color: var(--text2) !important; padding: 8px 14px; flex: 1; transition: color .15s; }
.di-visited-list a:hover { color: var(--red2) !important; }
.di-views { font-size: .58rem; color: var(--text3); padding-right: 12px; font-family: var(--font-b); }
/* Tag cloud */
.di-widget-tags { padding: 12px 14px !important; }
.di-widget-tags .widget-title { margin: -12px -14px 10px !important; }
.di-widget-tags a { font-family: var(--font-sub) !important; font-size: .62rem !important; color: var(--text2) !important; text-transform: uppercase !important; letter-spacing: .04em !important; transition: color .15s !important; }
.di-widget-tags a:hover { color: var(--red2) !important; }

/* ── NGG: remove image borders/frames ── */
.ngg-gallery-thumbnail, .ngg-gallery-thumbnail a,
.ngg-gallery-thumbnail img, .ngg-thumbnail,
a.ngg-fancybox, .galleryid-1 img,
.ngg-gallery-thumbnail-box { border: none !important; outline: none !important; padding: 0 !important; margin: 0 !important; box-shadow: none !important; }
.ngg-gallery-thumbnail:hover img, a.ngg-fancybox:hover img {
  outline: 2px solid var(--red2) !important;
  outline-offset: 0 !important;
  box-shadow: 0 0 12px rgba(204,17,34,.5) !important;
  transition: outline .2s, box-shadow .2s;
}

/* ── ARCHIVE GRID: ADHS-friendly text list ── */
.di-gallery-grid {
  display: flex !important;
  flex-direction: column !important;
  border: none !important;
  gap: 0 !important;
}
.di-gallery-card {
  display: flex !important;
  align-items: center !important;
  border: none !important;
  border-bottom: 1px solid rgba(204,17,34,.08) !important;
  background: transparent !important;
  padding: 0 !important;
  transition: background .12s !important;
  position: relative;
}
.di-gallery-card:nth-child(even) { background: rgba(255,255,255,.013) !important; }
.di-gallery-card:hover { background: rgba(204,17,34,.07) !important; }
.di-gallery-card:hover .di-gallery-card__title { color: var(--red2) !important; }
.di-gallery-card__info { padding: 10px 16px; flex: 1; display: flex; align-items: center; gap: 12px; }
.di-gallery-card__title {
  font-family: var(--font-sub) !important; font-size: .85rem !important; font-weight: 500 !important;
  letter-spacing: .06em !important; text-transform: uppercase !important;
  color: var(--cream) !important; margin: 0 !important; line-height: 1.4 !important;
  transition: color .12s !important;
}
/* NEW badge */
.di-badge-new {
  font-family: var(--font-sub); font-size: .52rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  background: var(--red); color: #fff;
  padding: 2px 7px; flex-shrink: 0;
  animation: di-pulse 2s infinite;
}
@keyframes di-pulse { 0%,100%{opacity:1} 50%{opacity:.7} }

/* Visited: dim slightly */
.di-gallery-card.di-visited .di-gallery-card__title { color: var(--text3) !important; }
.di-gallery-card.di-visited::before {
  content: '✓'; position: absolute; right: 14px;
  font-size: .65rem; color: var(--text3); font-family: var(--font-sub);
}

/* ── RANDOM SERIE BUTTON ── */
.di-random-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; border: 1px solid var(--border2); color: var(--text2);
  font-family: var(--font-sub); font-size: .65rem; font-weight: 600;
  letter-spacing: .15em; text-transform: uppercase; padding: 8px 18px;
  cursor: pointer; transition: all .2s; margin-bottom: 18px;
}
.di-random-btn:hover { border-color: var(--red2); color: var(--red2); background: var(--red-pale); }

/* ── SIMILAR SERIES ── */
.di-similar { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--border2); }
.di-similar__title {
  font-family: var(--font-sub); font-size: .65rem; font-weight: 600;
  letter-spacing: .2em; text-transform: uppercase; color: var(--text3);
  margin: 0 0 14px;
}
.di-similar__grid { display: flex; flex-direction: column; gap: 0; }
.di-similar__grid a {
  display: block; padding: 9px 14px;
  border-bottom: 1px solid rgba(204,17,34,.08);
  font-family: var(--font-sub); font-size: .78rem; font-weight: 500;
  letter-spacing: .05em; text-transform: uppercase;
  color: var(--text2) !important; transition: color .15s, background .15s;
}
.di-similar__grid a:hover { color: var(--red2) !important; background: rgba(204,17,34,.06); }

/* ── Gallery body description text ── */
.di-gallery-body > p {
  font-family: var(--font-b) !important;
  font-size: .95rem !important;
  color: var(--text2) !important;
  line-height: 1.8 !important;
  padding: 20px 32px 4px !important;
  margin: 0 !important;
  border-bottom: 1px solid var(--border2);
  position: relative;
}
.di-gallery-body > p::before {
  content: '';
  position: absolute; left: 32px; top: 0;
  width: 40px; height: 2px;
  background: var(--red);
  box-shadow: 0 0 8px var(--red);
}

/* ── Decorative 3D frame around NGG gallery ── */
.di-gallery-body .ngg-gallery-wrap,
.di-gallery-body .ngg-galleryoverview,
.di-gallery-body [id^="ngg-gallery"] {
  position: relative !important;
  padding: 24px !important;
  margin: 0 !important;
  background:
    radial-gradient(ellipse at top left, rgba(204,17,34,.08) 0%, transparent 60%),
    radial-gradient(ellipse at bottom right, rgba(204,17,34,.06) 0%, transparent 60%),
    var(--bg) !important;
  border-radius: 4px !important;
}
/* 3D corner decorations */
.di-gallery-body .ngg-gallery-wrap::before,
.di-gallery-body .ngg-galleryoverview::before,
.di-gallery-body [id^="ngg-gallery"]::before {
  content: '❤ GALLERY ❤';
  display: block;
  text-align: center;
  font-family: var(--font-sub);
  font-size: .58rem;
  letter-spacing: .35em;
  color: rgba(204,17,34,.4);
  margin-bottom: 16px;
  text-transform: uppercase;
}
/* Outer glow frame */
.di-gallery-body .ngg-gallery-wrap,
.di-gallery-body .ngg-galleryoverview,
.di-gallery-body [id^="ngg-gallery"] {
  box-shadow:
    0 0 0 1px rgba(204,17,34,.2),
    0 0 0 3px rgba(0,0,0,.8),
    0 0 0 4px rgba(204,17,34,.15),
    0 8px 40px rgba(0,0,0,.6),
    inset 0 1px 0 rgba(204,17,34,.1) !important;
}

/* ── Comments ── */
.di-comments-wrap {
  border-top: 1px solid var(--border2);
  padding: 28px 32px 32px;
  margin-top: 0;
}
.di-comments-wrap .comments-title,
.di-comments-wrap #reply-title {
  font-family: var(--font-h) !important;
  font-size: 1rem !important; letter-spacing: .15em !important;
  text-transform: uppercase !important; color: var(--cream) !important;
  margin: 0 0 24px !important; padding: 0 !important; border: none !important;
}
.di-comments-wrap .comment-list { list-style: none !important; padding: 0 !important; margin: 0 0 32px !important; }
.di-comments-wrap .comment { padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,.05); }
.di-comments-wrap .comment:last-child { border-bottom: none; }
.di-comments-wrap .comment-body { display: flex; gap: 14px; align-items: flex-start; }
.di-comments-wrap .comment-author img { border-radius: 50%; border: 2px solid var(--border2); }
.di-comments-wrap .comment-author .fn { font-family: var(--font-sub) !important; font-size: .72rem !important; font-weight: 700 !important; letter-spacing: .1em !important; text-transform: uppercase !important; color: var(--red2) !important; text-decoration: none !important; }
.di-comments-wrap .comment-metadata a { font-family: var(--font-sub) !important; font-size: .6rem !important; color: var(--text3) !important; text-decoration: none !important; letter-spacing: .08em; }
.di-comments-wrap .comment-content { margin-top: 0; }
.di-comments-wrap .comment-content p { color: var(--text2) !important; font-size: .88rem !important; line-height: 1.75 !important; margin: 6px 0 0 !important; }
.di-comments-wrap .reply a { font-family: var(--font-sub) !important; font-size: .6rem !important; letter-spacing: .1em !important; text-transform: uppercase !important; color: var(--text3) !important; text-decoration: none !important; transition: color .2s; }
.di-comments-wrap .reply a:hover { color: var(--red2) !important; }
/* Hide jetpack/share stuff inside comments area */
.di-comments-wrap .sharedaddy,
.di-comments-wrap .sd-sharing,
.di-gallery-body .sharedaddy,
.di-gallery-body .sd-sharing { display: none !important; }
/* ── Related Posts (Jetpack) ── */
/* Target both the class AND the id (#jp-relatedposts) Jetpack uses.
   Also works whether injected inside or after .di-gallery-body */
#jp-relatedposts,
.jp-relatedposts {
  display: block !important;
  border-top: 1px solid var(--border2);
  padding: 20px 0 0;
  margin-top: 24px;
}
#jp-relatedposts h3.jp-relatedposts-headline,
.jp-relatedposts h3.jp-relatedposts-headline {
  font-family: var(--font-sub) !important;
  font-size: .62rem !important;
  letter-spacing: .2em !important;
  text-transform: uppercase !important;
  color: var(--text3) !important;
  margin: 0 0 14px !important;
}
.jp-relatedposts-items {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
}
.jp-relatedposts-post {
  flex: 1 1 140px !important;
  background: var(--card) !important;
  border: 1px solid var(--border) !important;
  overflow: hidden !important;
}
.jp-relatedposts-post a { text-decoration: none !important; display: block !important; }
.jp-relatedposts-post-title {
  font-family: var(--font-sub) !important;
  font-size: .65rem !important;
  font-weight: 600 !important;
  letter-spacing: .05em !important;
  text-transform: uppercase !important;
  color: var(--cream2) !important;
  padding: 8px 10px !important;
  display: block !important;
  transition: color .15s !important;
}
.jp-relatedposts-post a:hover .jp-relatedposts-post-title { color: var(--red2) !important; }
.jp-relatedposts-post img { width: 100% !important; height: 80px !important; object-fit: cover !important; display: block !important; }
/* Jetpack thumbnail wrapper (newer Jetpack versions) */
.jp-relatedposts-post-aoverlay { display: none !important; }
.jp-relatedposts-post-nothumbs .jp-relatedposts-post-title { padding: 12px 10px !important; }
/* Comment form */
.di-comments-wrap .comment-form { display: grid; gap: 14px; }
.di-comments-wrap .comment-form p { margin: 0 !important; }
.di-comments-wrap .comment-form input[type="text"],
.di-comments-wrap .comment-form input[type="email"],
.di-comments-wrap .comment-form input[type="url"],
.di-comments-wrap .comment-form textarea {
  background: rgba(255,255,255,.04) !important; border: 1px solid var(--border2) !important;
  color: var(--cream) !important; padding: 10px 14px !important; width: 100% !important;
  font-family: var(--font-b) !important; font-size: .85rem !important; border-radius: 3px !important;
  box-sizing: border-box !important;
}
.di-comments-wrap .comment-form input:focus,
.di-comments-wrap .comment-form textarea:focus { border-color: var(--red) !important; outline: none !important; }
.di-comments-wrap .comment-form .submit {
  background: var(--red) !important; color: #fff !important; border: none !important;
  padding: 11px 32px !important; font-family: var(--font-sub) !important;
  font-size: .7rem !important; letter-spacing: .15em !important; text-transform: uppercase !important;
  cursor: pointer !important; border-radius: 2px !important; transition: background .2s !important; width: auto !important;
}
.di-comments-wrap .comment-form .submit:hover { background: var(--red2) !important; }
.di-comments-wrap .comment-form label { font-family: var(--font-sub) !important; font-size: .62rem !important; letter-spacing: .1em !important; text-transform: uppercase !important; color: var(--text3) !important; display: block !important; margin-bottom: 5px !important; }

/* ── Admin Edit Button ── */
.di-edit-btn {
  display: block !important;
  width: fit-content !important;
  margin: 24px auto 32px !important;
  background: rgba(10,0,7,0.92) !important;
  border: 1px solid var(--border2) !important;
  color: var(--cream) !important;
  font-family: var(--font-sub) !important;
  font-size: .62rem !important;
  font-weight: 600 !important;
  letter-spacing: .12em !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
  padding: 10px 24px !important;
  border-radius: 3px !important;
  transition: border-color .2s, color .2s !important;
  text-align: center !important;
}
.di-edit-btn:hover {
  border-color: var(--red2) !important;
  color: var(--red2) !important;
}

/* ── Surprise Me Button ── */
.di-surprise-btn {
  display: block !important;
  text-align: center !important;
  background: var(--card) !important;
  border: 1px solid var(--border2) !important;
  color: var(--cream) !important;
  font-family: var(--font-sub) !important;
  font-size: .68rem !important;
  font-weight: 700 !important;
  letter-spacing: .15em !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
  padding: 13px 16px !important;
  margin-bottom: 16px !important;
  transition: background .2s, border-color .2s, color .2s !important;
}
.di-surprise-btn:hover {
  background: var(--red) !important;
  border-color: var(--red) !important;
  color: #fff !important;
}

/* ═══════════════════════════════════════════════════════════════
   POST LIKE BUTTON
   ═══════════════════════════════════════════════════════════════ */
.di-like-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px 4px 8px;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 20px;
    background: rgba(255,255,255,0.05);
    cursor: pointer;
    color: rgba(255,255,255,0.45);
    font-size: 12px;
    font-weight: 600;
    transition: all 0.2s ease;
    vertical-align: middle;
    letter-spacing: 0.3px;
}
.di-like-btn:hover {
    border-color: rgba(220,30,80,0.45);
    background: rgba(220,30,80,0.1);
    color: rgba(255,100,140,0.9);
}
.di-like-heart {
    font-size: 15px;
    line-height: 1;
    transition: transform 0.25s cubic-bezier(0.34,1.56,0.64,1), color 0.2s ease;
}
.di-like-count {
    font-size: 11px;
    min-width: 8px;
}
.di-like-btn.is-liked {
    border-color: rgba(220,30,80,0.6);
    background: rgba(220,30,80,0.15);
    color: #ff5580;
}
.di-like-btn.is-liked .di-like-heart {
    color: #ff3d7f;
    text-shadow: 0 0 8px rgba(255,61,127,0.7);
}
.di-like-btn.loading { opacity: 0.6; pointer-events: none; }
@keyframes di-like-pop {
    0%   { transform: scale(1); }
    40%  { transform: scale(1.6); }
    70%  { transform: scale(0.9); }
    100% { transform: scale(1); }
}
.di-like-btn.pop .di-like-heart {
    animation: di-like-pop 0.45s ease;
}
.di-meta-comments {
    color: rgba(255,255,255,0.45);
    text-decoration: none;
    transition: color 0.2s;
}
.di-meta-comments:hover { color: rgba(255,255,255,0.8); }

/* ═══════════════════════════════════════════════════════════════
   COMMENTS SECTION
   ═══════════════════════════════════════════════════════════════ */
.di-comments-wrap {
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid rgba(255,255,255,0.07);
}

/* Comment list */
.di-comments-title,
#comments .di-comments-title,
.comments-title {
    font-family: 'Oswald', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(245,237,224,0.85);
    margin: 0 0 24px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(204,17,34,0.3);
}

.di-comment-item {
    display: flex;
    gap: 14px;
    padding: 16px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.di-comment-item:last-child { border-bottom: none; }

.di-comment-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    flex-shrink: 0;
    object-fit: cover;
    border: 2px solid rgba(204,17,34,0.3);
}
.di-comment-body { flex: 1; min-width: 0; }
.di-comment-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
    flex-wrap: wrap;
}
.di-comment-author {
    font-weight: 700;
    font-size: 13px;
    color: #ff9ec3;
}
.di-comment-date {
    font-size: 11px;
    color: rgba(255,255,255,0.3);
}
.di-comment-reply a,
.di-comment-reply {
    font-size: 11px;
    color: rgba(204,17,34,0.7);
    text-decoration: none;
    transition: color 0.15s;
}
.di-comment-reply a:hover { color: var(--red2); }
.di-comment-text {
    font-size: 14px;
    color: rgba(245,237,224,0.8);
    line-height: 1.65;
}
.di-comment-text p { margin: 0 0 8px; }
.di-comment-text p:last-child { margin: 0; }

/* Nested replies */
.children .di-comment-item {
    margin-left: 32px;
    padding-left: 16px;
    border-left: 2px solid rgba(204,17,34,0.2);
}

/* ── Comment Form ── */
.di-comment-form-wrap {
    margin-top: 36px;
    padding: 28px;
    background: rgba(255,255,255,0.025);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 12px;
}

.di-comments-title,
#reply-title {
    font-family: 'Oswald', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(245,237,224,0.8);
    margin: 0 0 20px;
}

#commentform .comment-form-comment textarea,
#commentform textarea#comment {
    width: 100%;
    background: rgba(255,255,255,0.05) !important;
    border: 1px solid rgba(255,255,255,0.1) !important;
    border-radius: 8px !important;
    color: rgba(245,237,224,0.9) !important;
    font-size: 14px !important;
    font-family: 'Nunito', sans-serif !important;
    padding: 14px 16px !important;
    resize: vertical;
    min-height: 120px;
    outline: none !important;
    transition: border-color 0.2s !important;
    box-sizing: border-box;
}
#commentform textarea#comment:focus {
    border-color: rgba(204,17,34,0.5) !important;
    background: rgba(255,255,255,0.07) !important;
}
#commentform textarea#comment::placeholder { color: rgba(255,255,255,0.25) !important; }

#commentform .comment-form-author input,
#commentform .comment-form-email input,
#commentform .comment-form-url input {
    background: rgba(255,255,255,0.05) !important;
    border: 1px solid rgba(255,255,255,0.1) !important;
    border-radius: 6px !important;
    color: rgba(245,237,224,0.9) !important;
    padding: 10px 14px !important;
    width: 100%;
    font-family: 'Nunito', sans-serif !important;
    font-size: 13px !important;
    outline: none !important;
    box-sizing: border-box;
}
#commentform .comment-form-author input:focus,
#commentform .comment-form-email input:focus {
    border-color: rgba(204,17,34,0.5) !important;
}
#commentform label {
    color: rgba(245,237,224,0.5);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    display: block;
    margin-bottom: 6px;
}

.di-comment-submit,
#commentform .submit,
#commentform input[type="submit"] {
    padding: 10px 28px !important;
    background: linear-gradient(135deg, var(--red), #ff2244) !important;
    border: none !important;
    border-radius: 24px !important;
    color: #fff !important;
    font-family: 'Oswald', sans-serif !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    letter-spacing: 0.1em !important;
    text-transform: uppercase !important;
    cursor: pointer !important;
    transition: opacity 0.2s, transform 0.15s !important;
    margin-top: 12px !important;
}
#commentform .submit:hover { opacity: 0.88 !important; transform: scale(1.03) !important; }

/* Must be logged in notice */
#commentform .must-log-in,
.must-log-in {
    color: rgba(245,237,224,0.6);
    font-size: 14px;
}
.must-log-in a { color: var(--red2); }

/* Cancel reply link */
#cancel-comment-reply-link {
    font-size: 12px;
    color: rgba(255,255,255,0.4);
    margin-left: 12px;
    text-decoration: none;
}
#cancel-comment-reply-link:hover { color: rgba(255,255,255,0.7); }

/* ── Hide Blocksy Related Posts completely ── */
.ct-related-posts,
.ct-related-posts-container,
[class*="related-posts"],
.entry-footer .related-posts,
.ct-single-related-posts {
    display: none !important;
}

/* ═══════════════════════════════════════════════════════════════
   NGG RELATED IMAGES – styled to match theme
   ═══════════════════════════════════════════════════════════════ */
.ngg-related-images,
.ngg_related_images,
[class*="ngg-related"] {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.07);
}

/* Heading "Related Images:" */
.ngg-related-images h3,
.ngg_related_images h3,
[class*="ngg-related"] h3 {
    font-family: 'Oswald', sans-serif !important;
    font-size: 0.75rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.18em !important;
    text-transform: uppercase !important;
    color: rgba(245,237,224,0.4) !important;
    margin: 0 0 14px !important;
}

/* Thumbnail grid */
.ngg-related-images a,
.ngg_related_images a,
[class*="ngg-related"] a {
    display: inline-block;
    margin: 0 4px 4px 0;
    border-radius: 6px;
    overflow: hidden;
    transition: transform 0.2s ease, opacity 0.2s ease;
    opacity: 0.85;
}
.ngg-related-images a:hover,
.ngg_related_images a:hover,
[class*="ngg-related"] a:hover {
    transform: scale(1.05);
    opacity: 1;
}
.ngg-related-images img,
.ngg_related_images img,
[class*="ngg-related"] img {
    display: block;
    border-radius: 6px;
    border: 1px solid rgba(255,255,255,0.08);
}


/* ═══════════════════════════════════════════════════════════════
   COMMENT BUBBLE – top-right corner of entry-content
   ═══════════════════════════════════════════════════════════════ */

/* Content area anchors the bubble */
.di-post--card .entry-content {
    position: relative;
}

/* The bubble itself */
.di-comment-bubble {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.45);
    z-index: 3;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
    flex-shrink: 0;
}

/* Chat-bubble icon via SVG data URI */
.di-comment-bubble::before {
    content: '';
    display: block;
    width: 16px;
    height: 16px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.5)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

/* Hover state */
.di-comment-bubble:hover {
    background: rgba(204, 17, 34, 0.18);
    border-color: rgba(204, 17, 34, 0.5);
}
.di-comment-bubble:hover::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='rgba(255,120,140,0.9)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z'/%3E%3C/svg%3E");
}

/* Active state (has comments) */
.di-comment-bubble:has(.di-comment-bubble__count) {
    background: rgba(204, 17, 34, 0.10);
    border-color: rgba(204, 17, 34, 0.35);
}
.di-comment-bubble:has(.di-comment-bubble__count)::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='rgba(255,120,140,0.75)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z'/%3E%3C/svg%3E");
}

/* Comment count badge */
.di-comment-bubble__count {
    position: absolute;
    top: -6px;
    right: -6px;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    background: var(--red, #cc1122);
    border-radius: 9px;
    font-size: 10px;
    font-weight: 700;
    font-family: 'Nunito', sans-serif;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    box-shadow: 0 0 6px rgba(204, 17, 34, 0.55);
    pointer-events: none;
}

/* ═══════════════════════════════════════════════════════════════
   NGG RELATED GALLERIES (unten in single posts)
   ═══════════════════════════════════════════════════════════════ */

/* Sicherstellen dass NGG related gallery Container sichtbar ist */
.ngg-related-images,
.ngg_related_post_display,
#ngg-related-images,
.ngg-related-galleries,
div[class*="ngg-related"] {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    overflow: visible !important;
    max-height: none !important;
    height: auto !important;
}

/* Styling für NGG Related Galleries */
.ngg-related-images {
    margin-top: 32px !important;
    padding-top: 24px !important;
    border-top: 1px solid var(--border) !important;
}
.ngg-related-images h3,
.ngg-related-images .ngg-related-title {
    color: var(--text) !important;
    font-family: 'Oswald', sans-serif !important;
    font-size: 0.85rem !important;
    letter-spacing: 0.15em !important;
    text-transform: uppercase !important;
    margin-bottom: 16px !important;
    opacity: 0.7;
}
.ngg-related-images .ngg-gallery-thumbnail-box,
.ngg-related-images .ngg-thumb {
    border: 1px solid var(--border) !important;
    transition: border-color 0.2s !important;
}
.ngg-related-images .ngg-gallery-thumbnail-box:hover,
.ngg-related-images .ngg-thumb:hover {
    border-color: var(--red2) !important;
    box-shadow: 0 0 12px rgba(204,17,34,0.25) !important;
}


/* ── Right Sidebar: Waifu Widgets ── */
.di-sidebar-right {
    width: 320px;
    min-width: 320px;
    flex-shrink: 0;
    margin-left: 16px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Blocksy container: wider + no clipping */
body .ct-container,
body.home .ct-container,
body.blog .ct-container {
    max-width: 1560px !important;
    width: 100% !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
    box-sizing: border-box !important;
    overflow: visible !important;
}

/* Make sure layout doesn't overflow */
.di-main-layout {
    overflow: visible !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.di-waifu-widget {
    background: var(--bg2, rgba(255,255,255,0.04));
    border: 1px solid var(--border, rgba(255,255,255,0.08));
    border-radius: 8px;
    padding: 16px;
    overflow: visible;
    width: 100%;
    box-sizing: border-box;
}

.di-waifu-widget h2,
.di-waifu-widget h3 {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .05em;
    margin: 0 0 10px;
    color: var(--accent, #e040fb);
}

/* Hide on mobile/tablet */
@media (max-width: 1024px) {
    .di-sidebar-right { display: none; }
}

/* ── Waifu Widgets in right sidebar: compact mode ── */
.di-sidebar-right .fw-sop {
    max-width: 100% !important;
    margin: 0 !important;
}
.di-sidebar-right .fw-sop__portrait {
    max-height: 260px !important;
}
.di-sidebar-right .fw-sop__name {
    font-size: .95rem !important;
}
.di-sidebar-right .fw-sop__actions {
    gap: 8px !important;
}
.di-sidebar-right .fw-sop__btn {
    padding: 8px 4px !important;
    font-size: .75rem !important;
}
.di-sidebar-right .fw-top10-list {
    font-size: .78rem !important;
}
.di-sidebar-right .fw-wotw__img {
    max-height: 200px !important;
}

/* ── myCred BuddyPress: Token-Balance + Rank-Text ausblenden ── */
/* Balance-Zeile ("Waifu Tokens balance: ♡ 125") */
.bp-member-mycred-balance,
.mycred-bp-balance,
.mycred-bp-points,
#mycred-bp-display,
.di-mycred-balance,
.di-bp-tokens {
    display: none !important;
}
/* Rank-Label + Trophy-Icon ("🏆 Tease") */
.bp-member-mycred-rank,
.mycred-bp-rank,
.mycred-rank-label,
.di-mycred-rank,
.di-bp-rank {
    display: none !important;
}
/* Badge-Bild: kleiner anzeigen (war ca. 80px, jetzt 40px) */
.bp-member-mycred-badge img,
.mycred-bp-badge img,
.mycred-badge-image img,
.di-mycred-badge img,
#mycred-bp-display img {
    width: 40px !important;
    height: 40px !important;
    max-width: 40px !important;
}
