/* Dark Stones: autoridad ancestral, cantera, metal y comercio. */
#module-organizations[data-dark-stones="true"]{
  --l30-accent:#c5a474;--l30-border:rgba(175,150,110,.45);--l30-line:rgba(173,151,114,.35);
  --l30-panel:#16191c;--l30-muted:#c7c1b3;--ink:#f0eadc;--ink-soft:#c8bda9;
  color:#efeade;background:radial-gradient(ellipse at 83% 12%,rgba(181,140,85,.11),transparent 50%),
    repeating-linear-gradient(108deg,transparent 0 94px,rgba(199,175,139,.018) 95px),#101316;
}
#module-organizations[data-dark-stones="true"] .l30-hero.ds20-hero{
  min-height:clamp(390px,39vw,555px);align-items:end;grid-template-columns:minmax(0,1fr) 126px;
  padding:clamp(25px,4vw,60px);overflow:hidden;
  border:1px solid rgba(183,153,111,.67);border-radius:4px 4px 30px 4px;
  background:linear-gradient(90deg,rgba(9,13,18,.98) 0%,rgba(10,14,20,.91) 23%,rgba(12,17,23,.70) 45%,rgba(12,16,21,.06) 75%),
    linear-gradient(0deg,rgba(8,11,16,.62),transparent 52%),
    url('dark_stones_quarry.png') 64% 48%/cover no-repeat!important;
  box-shadow:inset 0 0 0 1px rgba(227,200,160,.11),0 25px 70px rgba(0,0,0,.55);
}
#module-organizations[data-dark-stones="true"] .l30-hero.ds20-hero::before{
  inset:14px;border:1px solid rgba(212,183,131,.28);border-radius:0 0 24px 0;
  box-shadow:inset 0 0 25px rgba(14,14,14,.2);
}
#module-organizations[data-dark-stones="true"] .l30-hero.ds20-hero::after{
  content:'DARK STONES  /  RECURSOS Y LEGADO';position:absolute;right:29px;bottom:18px;
  color:#e9d2ae;font:600 10px/1.2 system-ui,sans-serif;letter-spacing:.22em;text-shadow:0 2px 9px #080c11;
}
#module-organizations[data-dark-stones="true"] .l30-hero-copy{
  position:relative;z-index:1;max-width:min(665px,89%);padding:21px 24px;
  background:linear-gradient(90deg,rgba(9,13,18,.65),rgba(9,13,18,0));
  border-left:2px solid #c2a376;
}
#module-organizations[data-dark-stones="true"] .l30-eyebrow{color:#e2c28f;letter-spacing:.21em}
#module-organizations[data-dark-stones="true"] .l30-hero h1{
  max-width:720px;color:#f7efdd!important;
  font:500 clamp(38px,4.3vw,68px)/1.02 'Cormorant Garamond',Georgia,serif;
  text-shadow:0 3px 17px #070a0f,0 0 21px rgba(238,192,129,.19);
}
#module-organizations[data-dark-stones="true"] .l30-hero p,
#module-organizations[data-dark-stones="true"] .l30-hero-footer{
  color:#f0eadf;text-shadow:0 2px 8px #080d13;
}
#module-organizations[data-dark-stones="true"] .l30-seal{display:none}
.ds20-hero-crest{position:relative;z-index:1;align-self:center;justify-self:center;display:grid;place-items:center;
  width:116px;height:130px;color:#ddc397;border:1px solid rgba(204,173,118,.62);
  background:linear-gradient(145deg,rgba(28,32,35,.96),rgba(12,17,22,.86));
  clip-path:polygon(0 0,100% 0,100% 78%,50% 100%,0 78%);
  box-shadow:inset 0 0 20px rgba(222,182,121,.13);
}
.ds20-hero-crest .ds20-icon{width:86px;height:86px;filter:drop-shadow(0 0 8px rgba(222,188,136,.24))}
.ds20-pillars{display:flex;flex-wrap:wrap;gap:8px;margin-top:22px}
.ds20-pillars>span{display:inline-flex;align-items:center;gap:7px;padding:7px 11px;color:#f0e8d5;
  border:1px solid rgba(195,165,120,.53);background:rgba(17,22,26,.85);
  font:600 11px/1.2 system-ui,sans-serif;letter-spacing:.02em}
.ds20-pillars .ds20-icon{width:21px;height:21px;color:#d6ba8d}

#module-organizations[data-dark-stones="true"] :is(.l30-toolbar,.l31-breadcrumb){
  background:#15191d;border-color:rgba(194,166,121,.48);color:#f0ebdf;
}
#module-organizations[data-dark-stones="true"] :is(.l30-results,.l30-detail){
  background:radial-gradient(ellipse at 87% 8%,rgba(166,139,104,.11),transparent 54%),
    repeating-linear-gradient(96deg,transparent 0 80px,rgba(172,151,118,.016) 81px),#111518;
  color:#eee9de;
}
#module-organizations[data-dark-stones="true"] .l30-results{
  padding:15px 10px 36px;border-top:1px solid rgba(183,158,118,.31);
}
#module-organizations[data-dark-stones="true"] :is(.l30-card,.l31-folder,.l30-section,.l42-structure,.l30-dossier){
  background:linear-gradient(132deg,rgba(33,37,40,.98),rgba(19,23,27,.99))!important;
  border-color:rgba(183,154,108,.42)!important;color:#f0eadc;
  box-shadow:inset 0 1px rgba(236,205,156,.09),0 11px 28px rgba(0,0,0,.34)!important;
}
#module-organizations[data-dark-stones="true"] :is(.l30-card,.l31-folder):hover{
  border-color:rgba(235,199,142,.87)!important;
  box-shadow:0 13px 38px rgba(0,0,0,.48),inset 0 1px rgba(236,205,156,.2)!important;
}
#module-organizations[data-dark-stones="true"] :is(.l30-card h2,.l31-folder h2,.l30-dossier h1,.l30-section h2){color:#f8eede!important}
#module-organizations[data-dark-stones="true"] :is(.l30-card p,.l31-folder p,.l30-section p,.l51313-folder-description){color:#d3cec2!important}
#module-organizations[data-dark-stones="true"] .l30-card-art{
  position:relative;background:radial-gradient(circle at 55% 42%,rgba(194,151,95,.17),transparent 60%),
    linear-gradient(135deg,#2b3032,#151a1d)!important;
}
#module-organizations[data-dark-stones="true"] .l30-card-art img{object-fit:cover}
.ds20-card-mark{position:absolute;inset:13% 21%;display:grid;place-items:center;pointer-events:none;color:#d8b889}
.ds20-card-mark .ds20-icon{width:min(100%,126px);height:min(100%,126px);filter:drop-shadow(0 0 12px rgba(215,166,100,.31))}
#module-organizations .l31-folder.ds20-preview:not(.l51313-has-cover){
  background:linear-gradient(90deg,rgba(12,16,20,.95),rgba(11,16,20,.30)),
    url('dark_stones_quarry.png') 73% center/cover no-repeat!important;
  border-color:rgba(206,174,123,.7)!important;
}
#module-organizations .l31-folder.ds20-preview :is(h2,p,.l30-eyebrow,.l51313-folder-status){
  color:#f8ead4!important;text-shadow:0 2px 9px #070b0e;
}
.ds20-folder-mark{position:absolute;z-index:2;top:13px;right:14px;width:60px;height:63px;
  display:grid;place-items:center;pointer-events:none;color:#e1c594;background:rgba(22,26,29,.88);
  border:1px solid #bfa176;clip-path:polygon(0 0,100% 0,100% 80%,50% 100%,0 80%);
}
.ds20-folder-mark .ds20-icon{width:42px;height:42px}
#module-organizations[data-dark-stones="true"] .l51313-folder-intro{border-color:#b89a70;background:#24282b}
#module-organizations[data-dark-stones="true"] .l51313-folder-intro::before{
  background:linear-gradient(90deg,rgba(14,17,19,.95),rgba(14,17,19,.39));
}

#module-organizations[data-dark-stones="true"] .l30-detail{border:1px solid rgba(187,159,117,.49)}
#module-organizations[data-dark-stones="true"] .l30-detail-bar{background:#1a1d1f;border-color:rgba(184,157,117,.47)}
#module-organizations[data-dark-stones="true"] .l30-portrait:has(.ds20-portrait-mark){
  background:radial-gradient(circle,rgba(180,141,89,.2),transparent 67%),linear-gradient(140deg,#292d2e,#11171a);
  border:1px solid rgba(191,166,121,.6);
}
.ds20-portrait-mark{display:grid;place-items:center;min-height:180px;width:100%;color:#dec294}
.ds20-portrait-mark .ds20-icon{width:clamp(125px,17vw,195px);height:clamp(125px,17vw,195px);filter:drop-shadow(0 0 13px rgba(232,190,129,.28))}
.ds20-section-mark,.ds20-info-mark,.ds20-article-mark{
  display:inline-flex;align-items:center;justify-content:center;width:33px;height:33px;
  margin-right:9px;vertical-align:middle;border:1px solid rgba(187,154,107,.51);
  background:rgba(49,47,41,.54);color:#dab786;
}
.ds20-section-mark .ds20-icon,.ds20-info-mark .ds20-icon,.ds20-article-mark .ds20-icon{width:24px;height:24px}
body.askakor-hierarchy-dark-stones #content-area .article{
  color:#eee8dc;background:linear-gradient(145deg,rgba(33,37,39,.98),rgba(18,22,26,.99));
  border-color:rgba(190,158,112,.48);
}
@media(max-width:720px){
  #module-organizations[data-dark-stones="true"] .l30-hero.ds20-hero{
    min-height:420px;grid-template-columns:1fr;padding:22px;background-position:70% center!important;
  }
  #module-organizations[data-dark-stones="true"] .l30-hero-copy{max-width:100%;padding:12px;background:rgba(12,16,20,.75)}
  #module-organizations[data-dark-stones="true"] .l30-hero h1{font-size:39px}
  .ds20-hero-crest{display:none}.ds20-pillars>span{padding:5px 8px;font-size:10px}
}
@media(prefers-reduced-motion:no-preference){
  #module-organizations[data-dark-stones="true"] .l30-hero.ds20-hero{animation:ds20-arrival .65s ease-out both}
  @keyframes ds20-arrival{from{opacity:.74;filter:brightness(.72)}to{opacity:1;filter:brightness(1)}}
}
