:root {
  --ud-bg: #050b0a;
  --ud-bg-soft: rgba(5, 12, 11, 0.92);
  --ud-panel: rgba(7, 18, 15, 0.96);
  --ud-text: #e9e1d2;
  --ud-muted: #aaa294;
  --ud-green: #91ad68;
  --ud-gold: #d0aa35;
  --ud-border: rgba(162, 194, 125, 0.18);
  --ud-border-soft: rgba(255, 255, 255, 0.08);
  --ud-serif: Georgia, 'Times New Roman', serif;
  --ud-sans: Inter, Arial, sans-serif;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body.udgallu-home-page{margin:0;background:var(--ud-bg);color:var(--ud-text);font-family:var(--ud-sans)}
body.udgallu-home-page a{color:inherit;text-decoration:none}
body.udgallu-home-page .ud-page{min-height:100vh;background:radial-gradient(circle at 50% 0%,rgba(87,112,63,.16),transparent 34%),linear-gradient(180deg,#07100f 0%,#050b0a 58%,#020605 100%)}
body.udgallu-home-page .ud-wrap{width:min(1180px,calc(100% - 48px));margin:0 auto}

/* HEADER */
body.udgallu-home-page .ud-header{position:sticky;top:0;z-index:1000;background:rgba(4,10,9,.88);border-bottom:1px solid var(--ud-border-soft);backdrop-filter:blur(16px)}
body.udgallu-home-page .ud-header-inner{min-height:82px;display:flex;align-items:center;justify-content:space-between;gap:28px}
body.udgallu-home-page .ud-logo{flex:0 0 auto;color:var(--ud-text);text-decoration:none;font-family:var(--ud-serif);font-size:clamp(28px,3vw,42px);letter-spacing:.12em;line-height:.9;white-space:nowrap}
body.udgallu-home-page .ud-logo span{display:block;margin-top:8px;color:var(--ud-green);font-size:12px;letter-spacing:.34em;text-align:center}
body.udgallu-home-page .ud-desktop-nav{display:flex;align-items:center;justify-content:flex-end;gap:clamp(18px,3vw,46px);flex:1 1 auto}
body.udgallu-home-page .ud-desktop-nav a,
body.udgallu-home-page .ud-language-toggle,
body.udgallu-home-page .ud-mobile-menu a{color:var(--ud-text);text-decoration:none}
body.udgallu-home-page .ud-desktop-nav a{position:relative;font-size:15px;transition:color .18s ease}
body.udgallu-home-page .ud-desktop-nav a:hover,
body.udgallu-home-page .ud-desktop-nav a.is-active,
body.udgallu-home-page .ud-language-toggle:hover,
body.udgallu-home-page .ud-mobile-menu a:hover{color:var(--ud-gold)}
body.udgallu-home-page .ud-desktop-nav a.is-active::after{content:"";position:absolute;left:50%;bottom:-27px;width:62px;height:2px;transform:translateX(-50%);background:linear-gradient(90deg,transparent,var(--ud-gold),transparent);box-shadow:0 0 16px rgba(208,170,53,.7)}
body.udgallu-home-page .ud-language{position:relative;flex:0 0 auto}
body.udgallu-home-page .ud-language-toggle{display:inline-flex;align-items:center;gap:5px;padding:10px 2px;font-size:15px;cursor:pointer}
body.udgallu-home-page .ud-language-menu{position:absolute;right:0;top:calc(100% + 8px);min-width:124px;padding:8px;border:1px solid var(--ud-border);border-radius:10px;background:rgba(5,12,11,.98);box-shadow:0 24px 70px rgba(0,0,0,.52);opacity:0;visibility:hidden;transform:translateY(-6px);transition:opacity .18s ease, transform .18s ease, visibility .18s ease}
body.udgallu-home-page .ud-language:hover .ud-language-menu,
body.udgallu-home-page .ud-language:focus-within .ud-language-menu{opacity:1;visibility:visible;transform:translateY(0)}
body.udgallu-home-page .ud-language-menu a{display:block;padding:9px 10px;border-radius:6px;color:var(--ud-text);text-decoration:none;font-size:14px;letter-spacing:.08em}
body.udgallu-home-page .ud-language-menu a:hover{color:var(--ud-green);background:rgba(145,173,104,.14)}
body.udgallu-home-page .ud-burger{display:none;width:46px;height:46px;padding:0;border:1px solid var(--ud-border);border-radius:10px;background:rgba(255,255,255,.04);cursor:pointer;position:relative}
body.udgallu-home-page .ud-burger span{position:absolute;left:12px;right:12px;height:2px;background:var(--ud-text);border-radius:2px;transition:transform .22s ease,opacity .22s ease,top .22s ease}
body.udgallu-home-page .ud-burger span:nth-child(1){top:14px}
body.udgallu-home-page .ud-burger span:nth-child(2){top:22px}
body.udgallu-home-page .ud-burger span:nth-child(3){top:30px}
body.ud-menu-open .ud-burger span:nth-child(1){top:22px;transform:rotate(45deg)}
body.ud-menu-open .ud-burger span:nth-child(2){opacity:0}
body.ud-menu-open .ud-burger span:nth-child(3){top:22px;transform:rotate(-45deg)}
body.udgallu-home-page .ud-mobile-overlay{position:fixed;inset:0;z-index:999;display:none;background:rgba(0,0,0,.58)}
body.udgallu-home-page .ud-mobile-menu{position:fixed;top:82px;left:0;right:0;z-index:1001;display:none;border-top:1px solid var(--ud-border-soft);border-bottom:1px solid var(--ud-border);background:radial-gradient(circle at 50% 0%,rgba(86,116,65,.18),transparent 42%),rgba(5,12,11,.98);box-shadow:0 28px 80px rgba(0,0,0,.58)}
body.udgallu-home-page .ud-mobile-menu-inner{width:min(720px,calc(100% - 32px));margin:0 auto;padding:24px 0 28px}
body.udgallu-home-page .ud-mobile-links{display:grid;gap:2px}
body.udgallu-home-page .ud-mobile-links a{display:block;padding:15px 4px;border-bottom:1px solid var(--ud-border-soft);font-family:var(--ud-serif);font-size:24px;letter-spacing:.08em}
body.udgallu-home-page .ud-mobile-language{padding-top:22px}
body.udgallu-home-page .ud-mobile-language-title{margin-bottom:10px;color:var(--ud-muted);font-size:12px;text-transform:uppercase;letter-spacing:.16em}
body.udgallu-home-page .ud-mobile-language-list{display:flex;flex-wrap:wrap;gap:10px}
body.udgallu-home-page .ud-mobile-language-list a{min-width:64px;display:inline-flex;align-items:center;justify-content:center;padding:10px 14px;border:1px solid var(--ud-border);border-radius:999px;background:rgba(145,173,104,.08);font-size:14px;letter-spacing:.1em}
body.udgallu-home-page .ud-mobile-language-list a.is-active{color:#fff;background:rgba(145,173,104,.22)}
body.ud-menu-open{overflow:hidden}
body.ud-menu-open .ud-mobile-overlay,
body.ud-menu-open .ud-mobile-menu{display:block}

/* HERO */
body.udgallu-home-page .ud-home-hero{min-height:680px;display:grid;place-items:center;text-align:center;position:relative;overflow:hidden;background-image:var(--hero-image);background-size:cover;background-position:center center}
body.udgallu-home-page .ud-home-hero::before{content:"";position:absolute;inset:0;z-index:1;pointer-events:none;background:radial-gradient(circle at 50% 42%,rgba(0,0,0,.04),rgba(0,0,0,.72) 74%),linear-gradient(180deg,rgba(5,11,10,.2),rgba(5,11,10,.92))}
body.udgallu-home-page .ud-home-hero-video{position:absolute;inset:0;z-index:0;width:100%;height:100%;object-fit:cover;object-position:center center;pointer-events:none;background:#050b0a}
body.udgallu-home-page .ud-home-hero-inner{position:relative;z-index:2;padding:92px 0 86px}
body.udgallu-home-page .ud-hero-mark{margin:0 auto 14px;color:var(--ud-green);font-size:34px;opacity:.88}
body.udgallu-home-page .ud-home-hero h1{margin:0;color:var(--ud-text);font-family:var(--ud-serif);font-size:clamp(58px,9vw,116px);font-weight:400;letter-spacing:.16em;line-height:.92;text-shadow:0 2px 28px rgba(0,0,0,.82)}
body.udgallu-home-page .ud-hero-subtitle{margin-top:18px;color:var(--ud-green);font-family:var(--ud-serif);font-size:clamp(22px,3vw,38px);letter-spacing:.36em;text-shadow:0 2px 22px rgba(0,0,0,.72)}
body.udgallu-home-page .ud-home-hero p{width:min(620px,100%);margin:30px auto 0;color:#efe8d9;font-size:18px;line-height:1.65;text-shadow:0 2px 16px rgba(0,0,0,.8)}
body.udgallu-home-page .ud-hero-actions{display:flex;justify-content:center;gap:18px;flex-wrap:wrap;margin-top:34px}
body.udgallu-home-page .ud-btn{min-width:205px;display:inline-flex;align-items:center;justify-content:center;padding:15px 22px;border:1px solid rgba(255,255,255,.42);border-radius:5px;color:#fff;text-decoration:none;text-transform:uppercase;letter-spacing:.08em;font-size:14px;background:rgba(8,14,12,.55);transition:transform .18s ease,border-color .18s ease,background .18s ease}
body.udgallu-home-page .ud-btn:hover{transform:translateY(-2px);border-color:rgba(145,173,104,.72)}
body.udgallu-home-page .ud-btn-primary{border-color:rgba(173,210,138,.38);background:linear-gradient(180deg,#5e7b46,#3d5e32)}

/* COMMON SECTIONS */
body.udgallu-home-page .ud-section{padding:38px 0 48px;border-top:0}
body.udgallu-home-page .ud-section-compact{padding-top:28px}
body.udgallu-home-page .ud-section-head,
body.udgallu-home-page .ud-mini-head{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin-bottom:22px}
body.udgallu-home-page .ud-section-head h2,
body.udgallu-home-page .ud-mini-head h2,
body.udgallu-home-page .ud-about-text h2{margin:0;color:var(--ud-text);font-family:var(--ud-serif);font-size:clamp(24px,2.4vw,35px);font-weight:400;letter-spacing:.11em}
body.udgallu-home-page .ud-section-head a,
body.udgallu-home-page .ud-mini-head a,
body.udgallu-home-page .ud-about-text a,
body.udgallu-home-page .ud-footer-nav a{color:var(--ud-green);text-decoration:none}
body.udgallu-home-page .ud-section-head a:hover,
body.udgallu-home-page .ud-mini-head a:hover,
body.udgallu-home-page .ud-about-text a:hover,
body.udgallu-home-page .ud-footer-nav a:hover{color:var(--ud-gold)}
body.udgallu-home-page .ud-card-grid{display:grid;gap:18px}
body.udgallu-home-page .ud-card-grid-4{grid-template-columns:repeat(4,minmax(0,1fr))}
body.udgallu-home-page .ud-story-card{min-height:280px;position:relative;display:flex;align-items:flex-end;overflow:hidden;border:1px solid var(--ud-border);border-radius:10px;background-image:linear-gradient(180deg,rgba(0,0,0,.04) 18%,rgba(0,0,0,.88)),var(--card-image);background-size:cover;background-position:center;box-shadow:0 22px 70px rgba(0,0,0,.34)}
body.udgallu-home-page .ud-story-card::before,
body.udgallu-home-page .ud-mini-card::before,
body.udgallu-home-page .ud-gallery-card::before,
body.udgallu-home-page .ud-map-preview::before{content:"";position:absolute;inset:0;background:rgba(145,173,104,.08);opacity:0;transition:opacity .18s ease}
body.udgallu-home-page .ud-story-card:hover::before,
body.udgallu-home-page .ud-mini-card:hover::before,
body.udgallu-home-page .ud-gallery-card:hover::before,
body.udgallu-home-page .ud-map-preview:hover::before{opacity:1}
body.udgallu-home-page .ud-card-cover{position:absolute;inset:0;z-index:2}
body.udgallu-home-page .ud-card-tag{position:absolute;top:14px;left:14px;z-index:3;padding:4px 9px;border:1px solid var(--ud-border);border-radius:5px;background:rgba(0,0,0,.55);color:var(--ud-green);font-size:11px;text-transform:uppercase;letter-spacing:.12em}
body.udgallu-home-page .ud-card-content{position:relative;z-index:3;padding:20px}
body.udgallu-home-page .ud-card-content h3{margin:0 0 7px;color:#fff;font-size:20px;font-family:var(--ud-serif);font-weight:400;letter-spacing:.04em}
body.udgallu-home-page .ud-card-content p{margin:0;color:var(--ud-muted);font-size:14px;line-height:1.45}

/* WORLD INDEX */
body.udgallu-home-page .ud-world-grid{display:grid;grid-template-columns:1.05fr 1.05fr 1.05fr .9fr;gap:22px}
body.udgallu-home-page .ud-world-column{min-width:0}
body.udgallu-home-page .ud-mini-head{display:block;text-align:center;margin-bottom:16px}
body.udgallu-home-page .ud-mini-head h2{font-size:25px;margin-bottom:8px}
body.udgallu-home-page .ud-mini-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}
body.udgallu-home-page .ud-mini-card,
body.udgallu-home-page .ud-map-preview{position:relative;min-height:190px;display:flex;align-items:flex-end;overflow:hidden;border:1px solid var(--ud-border);border-radius:8px;background-image:linear-gradient(180deg,rgba(0,0,0,.08),rgba(0,0,0,.86)),var(--mini-image);background-size:cover;background-position:center;color:#fff;text-decoration:none}
body.udgallu-home-page .ud-mini-card span,
body.udgallu-home-page .ud-map-preview span{position:relative;z-index:2;padding:13px;font-size:13px;text-shadow:0 2px 12px rgba(0,0,0,.9)}
body.udgallu-home-page .ud-map-preview{min-height:190px;background-image:linear-gradient(180deg,rgba(0,0,0,.04),rgba(0,0,0,.58)),var(--map-image)}

/* GALLERY */
body.udgallu-home-page .ud-gallery-row{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
body.udgallu-home-page .ud-gallery-card{position:relative;display:block;width:100%;min-height:172px;overflow:hidden;padding:0;border:1px solid var(--ud-border);border-radius:10px;background:var(--gallery-image) center/cover no-repeat;cursor:zoom-in}

/* ABOUT */
body.udgallu-home-page .ud-about-section{padding-bottom:62px}
body.udgallu-home-page .ud-about-grid{display:grid;grid-template-columns:130px 1.2fr repeat(3,1fr);gap:28px;align-items:center}
body.udgallu-home-page .ud-about-symbol{width:112px;aspect-ratio:1;display:grid;place-items:center;border:1px solid rgba(145,173,104,.32);border-radius:50%;color:var(--ud-green);font-size:42px;background:radial-gradient(circle,rgba(145,173,104,.18),transparent 68%)}
body.udgallu-home-page .ud-about-text p,
body.udgallu-home-page .ud-info-card p{color:var(--ud-muted);line-height:1.6}
body.udgallu-home-page .ud-info-card{min-height:146px;padding:22px;border:1px solid var(--ud-border);border-radius:10px;background:rgba(9,20,17,.58)}
body.udgallu-home-page .ud-info-card h3{margin:0 0 9px;color:#fff;font-family:var(--ud-serif);font-weight:400}
body.udgallu-home-page .ud-info-card p{margin:0;font-size:14px}

/* FOOTER */
body.udgallu-home-page .ud-footer{padding:28px 0;border-top:1px solid var(--ud-border-soft);background:rgba(3,8,7,.78)}
body.udgallu-home-page .ud-footer-inner{display:flex;align-items:center;justify-content:space-between;gap:28px}
body.udgallu-home-page .ud-footer-nav{display:flex;align-items:center;gap:24px;flex-wrap:wrap}

@media(max-width:1100px){
  body.udgallu-home-page .ud-card-grid-4,
  body.udgallu-home-page .ud-gallery-row{grid-template-columns:repeat(2,1fr)}
  body.udgallu-home-page .ud-world-grid,
  body.udgallu-home-page .ud-about-grid{grid-template-columns:1fr 1fr}
}
@media(max-width:900px){
  body.udgallu-home-page .ud-wrap{width:min(100% - 32px,1180px)}
  body.udgallu-home-page .ud-header-inner{min-height:74px}
  body.udgallu-home-page .ud-logo{font-size:28px}
  body.udgallu-home-page .ud-logo span{font-size:10px}
  body.udgallu-home-page .ud-desktop-nav,
  body.udgallu-home-page .ud-language{display:none}
  body.udgallu-home-page .ud-burger{display:block}
  body.udgallu-home-page .ud-mobile-menu{top:74px}
  body.udgallu-home-page .ud-home-hero{min-height:620px}
  body.udgallu-home-page .ud-home-hero-video{display:none}
  body.udgallu-home-page .ud-home-hero h1{letter-spacing:.1em}
  body.udgallu-home-page .ud-hero-subtitle{letter-spacing:.2em}
  body.udgallu-home-page .ud-footer-inner{align-items:flex-start;flex-direction:column}
}
@media(max-width:700px){
  body.udgallu-home-page .ud-card-grid,
  body.udgallu-home-page .ud-card-grid-4,
  body.udgallu-home-page .ud-world-grid,
  body.udgallu-home-page .ud-gallery-row,
  body.udgallu-home-page .ud-about-grid{grid-template-columns:1fr!important}
  body.udgallu-home-page .ud-mini-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important}
  body.udgallu-home-page .ud-story-card,
  body.udgallu-home-page .ud-map-preview,
  body.udgallu-home-page .ud-gallery-card,
  body.udgallu-home-page .ud-info-card{width:100%;min-width:0}
  body.udgallu-home-page .ud-mini-card{width:100%;min-width:0;min-height:190px}
  body.udgallu-home-page .ud-section-head{align-items:flex-start;flex-direction:column}
  body.udgallu-home-page .ud-home-hero p{font-size:16px}
  body.udgallu-home-page .ud-btn{width:100%}
}
@media(max-width:420px){
  body.udgallu-home-page .ud-logo{font-size:23px;letter-spacing:.09em}
  body.udgallu-home-page .ud-logo span{letter-spacing:.22em}
  body.udgallu-home-page .ud-mobile-links a{font-size:21px}
  body.udgallu-home-page .ud-mini-grid{gap:5px}
  body.udgallu-home-page .ud-mini-card{min-height:150px}
  body.udgallu-home-page .ud-mini-card span{font-size:12px;padding:10px}
}


/* V128: “Что нового” as a quiet informer, not links/cards */
body.udgallu-home-page .ud-home-updates{
  width:min(920px,100%);
  margin:28px auto 0;
  display:grid;
  grid-template-columns:repeat(6,minmax(0,1fr));
  border:0;
  border-radius:0;
  background:linear-gradient(180deg,rgba(7,18,15,.48),rgba(5,12,11,.34));
  box-shadow:none;
  overflow:hidden;
  backdrop-filter:blur(8px);
}
body.udgallu-home-page .ud-home-update{
  min-width:0;
  min-height:88px;
  display:grid;
  grid-template-rows:26px auto 1fr;
  align-items:center;
  justify-items:center;
  gap:4px;
  padding:14px 10px 13px;
  border-right:1px solid rgba(255,255,255,.085);
  color:var(--ud-text,#e9e1d2);
  text-decoration:none;
  text-align:center;
  background:transparent;
  cursor:default;
}
body.udgallu-home-page .ud-home-update:last-child{border-right:0}
body.udgallu-home-page .ud-home-update:hover{background:transparent;transform:none}
body.udgallu-home-page .ud-home-update-icon{
  display:grid;
  place-items:center;
  width:26px;
  height:26px;
  color:var(--ud-gold,#d0aa35);
  font-size:18px;
  line-height:1;
  filter:drop-shadow(0 0 7px rgba(208,170,53,.18));
}
body.udgallu-home-page .ud-home-update-label{
  color:var(--ud-green,#91ad68);
  font-size:10.5px;
  font-weight:700;
  letter-spacing:.17em;
  text-transform:uppercase;
  line-height:1.15;
}
body.udgallu-home-page .ud-home-update-value{
  width:100%;
  min-width:0;
  display:block;
  color:#fff;
  font-size:17px;
  line-height:1.18;
  font-weight:800;
  overflow:hidden;
  white-space:nowrap;
  text-shadow:0 2px 12px rgba(0,0,0,.72);
}
body.udgallu-home-page .ud-home-update-value span{display:inline-block;max-width:100%;overflow:hidden;text-overflow:ellipsis;vertical-align:bottom}
body.udgallu-home-page .ud-home-update.has-marquee .ud-home-update-value span{
  max-width:none;
  padding-left:100%;
  overflow:visible;
  text-overflow:clip;
  animation:udHomeTicker 7.5s linear infinite;
}
body.udgallu-home-page .ud-home-update.has-marquee:hover .ud-home-update-value span{animation-play-state:paused}
@keyframes udHomeTicker{0%{transform:translateX(0)}100%{transform:translateX(-100%)}}
@media(max-width:980px){body.udgallu-home-page .ud-home-updates{grid-template-columns:repeat(3,minmax(0,1fr))}body.udgallu-home-page .ud-home-update:nth-child(3n){border-right:0}body.udgallu-home-page .ud-home-update:nth-child(n+4){border-top:1px solid rgba(255,255,255,.085)}}
@media(max-width:560px){body.udgallu-home-page .ud-home-updates{grid-template-columns:repeat(2,minmax(0,1fr));margin-top:22px}body.udgallu-home-page .ud-home-update{min-height:82px}body.udgallu-home-page .ud-home-update:nth-child(3n){border-right:1px solid rgba(255,255,255,.085)}body.udgallu-home-page .ud-home-update:nth-child(2n){border-right:0}body.udgallu-home-page .ud-home-update:nth-child(n+3){border-top:1px solid rgba(255,255,255,.085)}}

/* V129: “Что нового” uses archive filter action style and collapsible informer panel */
body.udgallu-home-page .ud-home-updates-action{
  width:min(920px,100%);
  margin:28px auto 0;
  display:flex;
  justify-content:flex-end;
  align-items:center;
}
body.udgallu-home-page .ud-home-updates-trigger{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:6px 12px;
  border:1px solid var(--ud-border,rgba(145,173,104,.24));
  border-radius:5px;
  background:rgba(100,130,70,.12);
  color:var(--ud-green,#91ad68);
  font-family:var(--ud-sans,inherit);
  font-size:12px;
  font-weight:700;
  line-height:1;
  letter-spacing:.16em;
  text-transform:uppercase;
  cursor:pointer;
  transition:color .18s ease,border-color .18s ease,background .18s ease,box-shadow .18s ease;
}
body.udgallu-home-page .ud-home-updates-trigger:hover,
body.udgallu-home-page .ud-home-updates-trigger.is-active{
  color:#fff;
  border-color:rgba(145,173,104,.42);
  background:rgba(145,173,104,.16);
  box-shadow:0 0 22px rgba(145,173,104,.08);
}
body.udgallu-home-page .ud-home-updates-wrap{
  width:min(920px,100%);
  max-height:240px;
  margin:14px auto 0;
  overflow:hidden;
  opacity:1;
  transition:max-height .24s ease,opacity .18s ease,margin .24s ease;
}
body.udgallu-home-page .ud-home-updates-wrap.is-collapsed{
  max-height:0;
  margin-top:0;
  opacity:0;
  pointer-events:none;
}
body.udgallu-home-page .ud-home-updates{
  width:100%;
  margin:0;
  border-top:1px solid rgba(255,255,255,.08);
  border-bottom:0;
  border-left:0;
  border-right:0;
  border-radius:0;
  background:transparent;
  box-shadow:none;
  backdrop-filter:none;
}
body.udgallu-home-page .ud-home-update{
  border-right:1px solid rgba(255,255,255,.08);
  background:transparent!important;
}
body.udgallu-home-page .ud-home-update:last-child{border-right:0}
@media(max-width:700px){
  body.udgallu-home-page .ud-home-updates-action{justify-content:flex-start;margin-top:22px}
  body.udgallu-home-page .ud-home-updates-wrap{max-height:360px}
}


/* V152: home illustrations open in an in-page lightbox; no separate gallery page needed. */
body.udgallu-home-page.ud-home-lightbox-open{overflow:hidden}
body.udgallu-home-page .ud-home-lightbox{position:fixed;inset:0;z-index:5000;display:flex;align-items:center;justify-content:center;padding:28px;background:rgba(0,0,0,.86);backdrop-filter:blur(10px);opacity:0;visibility:hidden;transition:opacity .18s ease,visibility .18s ease}
body.udgallu-home-page .ud-home-lightbox.is-open{opacity:1;visibility:visible}
body.udgallu-home-page .ud-home-lightbox-frame{position:relative;max-width:min(96vw,1480px);max-height:90vh}
body.udgallu-home-page .ud-home-lightbox-img{display:block;max-width:100%;max-height:90vh;object-fit:contain;border:1px solid rgba(162,194,125,.28);border-radius:10px;box-shadow:0 28px 90px rgba(0,0,0,.72);background:#020605}
body.udgallu-home-page .ud-home-lightbox-close{position:absolute;top:-16px;right:-16px;width:42px;height:42px;border:1px solid rgba(162,194,125,.38);border-radius:999px;background:rgba(5,12,11,.96);color:#fff;font-size:26px;line-height:1;cursor:pointer;box-shadow:0 12px 34px rgba(0,0,0,.48)}
body.udgallu-home-page .ud-home-lightbox-close:hover{color:var(--ud-gold);border-color:rgba(208,170,53,.58)}
@media(max-width:700px){body.udgallu-home-page .ud-home-lightbox{padding:16px}body.udgallu-home-page .ud-home-lightbox-close{top:8px;right:8px}}


/* === V206 TEST ONLY: верхняя часть по новой задаче === */
body.udgallu-home-test-page,
body.udgallu-home-test-page .ud-page{
  background:#050b0a !important;
}
body.udgallu-home-test-page .ud-page{
  background:#050b0a !important;
}

/* прозрачное меню как водяная капля */
body.udgallu-home-test-page .ud-header{
  background:rgba(5,12,11,.54) !important;
  border-bottom:1px solid rgba(255,255,255,.10) !important;
  box-shadow:0 18px 60px rgba(0,0,0,.22), inset 0 -1px 0 rgba(255,255,255,.035) !important;
  backdrop-filter:blur(18px) saturate(130%) !important;
  -webkit-backdrop-filter:blur(18px) saturate(130%) !important;
}
body.udgallu-home-test-page .ud-header::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:linear-gradient(180deg,rgba(255,255,255,.055),rgba(255,255,255,0) 58%);
  opacity:.72;
}
body.udgallu-home-test-page .ud-header > *{position:relative;z-index:2;}

/* видео: не затемнять весь кадр, затемнение только снизу в цвет фона */
body.udgallu-home-test-page .ud-home-hero{
  min-height:86vh !important;
  background-color:#050b0a !important;
}
body.udgallu-home-test-page .ud-home-hero::before{
  background:linear-gradient(0deg,
    #050b0a 0%,
    rgba(5,12,11,.94) 10%,
    rgba(5,12,11,.66) 22%,
    rgba(5,12,11,.30) 38%,
    rgba(5,12,11,0) 62%
  ) !important;
}
body.udgallu-home-test-page .ud-home-hero::after{
  content:"";
  position:absolute;
  inset:0;
  z-index:1;
  pointer-events:none;
  background:radial-gradient(circle at 50% 42%,rgba(0,0,0,0) 0%,rgba(0,0,0,.10) 55%,rgba(0,0,0,.28) 100%);
}
body.udgallu-home-test-page .ud-home-hero-inner{
  z-index:3 !important;
  padding:72px 0 170px !important;
}

/* надписи на видео меньше примерно в 1.5 раза */
body.udgallu-home-test-page .ud-home-hero h1{
  font-size:clamp(38px,6vw,76px) !important;
  letter-spacing:.15em !important;
  line-height:.94 !important;
}
body.udgallu-home-test-page .ud-hero-subtitle{
  margin-top:12px !important;
  font-size:clamp(15px,2vw,25px) !important;
  letter-spacing:.32em !important;
}
body.udgallu-home-test-page .ud-hero-mark{
  margin-bottom:9px !important;
  font-size:22px !important;
}
body.udgallu-home-test-page .ud-home-hero p{
  width:min(470px,100%) !important;
  margin-top:20px !important;
  font-size:13px !important;
  line-height:1.55 !important;
}
body.udgallu-home-test-page .ud-hero-actions{
  margin-top:24px !important;
  gap:12px !important;
}
body.udgallu-home-test-page .ud-btn{
  min-width:160px !important;
  padding:12px 17px !important;
  font-size:12px !important;
}

/* убрать блок Что нового, если где-то остался в разметке */
body.udgallu-home-test-page .ud-home-updates-action,
body.udgallu-home-test-page .ud-home-updates-wrap{
  display:none !important;
}

/* первый блок глав заходит примерно на половину своей высоты на видео */
body.udgallu-home-test-page .ud-home-hero + .ud-section{
  position:relative;
  z-index:8;
  margin-top:-150px !important;
  padding-top:0 !important;
}
body.udgallu-home-test-page .ud-home-hero + .ud-section > .ud-wrap{
  background:rgba(6,15,20,.58) !important;
  border:1px solid rgba(255,255,255,.42) !important;
  border-radius:10px !important;
  padding:32px 34px 34px !important;
  box-shadow:0 30px 100px rgba(0,0,0,.42), inset 0 1px 0 rgba(255,255,255,.05) !important;
  backdrop-filter:blur(12px) !important;
  -webkit-backdrop-filter:blur(12px) !important;
}
body.udgallu-home-test-page .ud-home-hero + .ud-section .ud-section-head{
  margin-bottom:22px !important;
}
body.udgallu-home-test-page .ud-home-hero + .ud-section .ud-story-card{
  min-height:230px !important;
  border-color:rgba(255,255,255,.18) !important;
  border-radius:8px !important;
}

/* canvas нанитов */
body.udgallu-home-test-page .ud-test-fireflies{
  position:fixed;
  inset:0;
  width:100vw;
  height:100vh;
  pointer-events:none;
  z-index:900;
  mix-blend-mode:screen;
}
body.udgallu-home-test-page .ud-header{z-index:1000 !important;}

@media(max-width:900px){
  body.udgallu-home-test-page .ud-home-hero{min-height:620px !important;}
  body.udgallu-home-test-page .ud-home-hero-inner{padding:88px 0 150px !important;}
  body.udgallu-home-test-page .ud-home-hero + .ud-section{margin-top:-110px !important;}
  body.udgallu-home-test-page .ud-home-hero + .ud-section > .ud-wrap{padding:24px 20px !important;}
}
@media(max-width:700px){
  body.udgallu-home-test-page .ud-home-hero h1{font-size:clamp(34px,13vw,58px) !important;}
  body.udgallu-home-test-page .ud-hero-subtitle{font-size:16px !important;}
  body.udgallu-home-test-page .ud-home-hero p{font-size:13px !important;}
}


/* === V207 TEST ONLY: правка верхней части без влияния на основную главную === */
html, body.udgallu-home-test-page,
body.udgallu-home-test-page .ud-page,
body.udgallu-home-test-page main{
  background:#050b0a !important;
}

/* Меню как прозрачная капля поверх видео + всегда следует за прокруткой */
body.udgallu-home-test-page .ud-header{
  position:fixed !important;
  left:0 !important;
  right:0 !important;
  top:0 !important;
  z-index:10000 !important;
  background:rgba(5,12,11,.24) !important;
  border-bottom:1px solid rgba(255,255,255,.08) !important;
  box-shadow:0 12px 42px rgba(0,0,0,.18), inset 0 1px 0 rgba(255,255,255,.045) !important;
  backdrop-filter:blur(18px) saturate(125%) !important;
  -webkit-backdrop-filter:blur(18px) saturate(125%) !important;
}
body.admin-bar.udgallu-home-test-page .ud-header{top:32px !important;}
@media(max-width:782px){body.admin-bar.udgallu-home-test-page .ud-header{top:46px !important;}}
body.udgallu-home-test-page .ud-header::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:linear-gradient(180deg,rgba(255,255,255,.07),rgba(255,255,255,.012) 48%,rgba(255,255,255,0));
  opacity:.62;
}
body.udgallu-home-test-page .ud-header::after{
  content:"";
  position:absolute;
  left:0;right:0;bottom:-1px;height:1px;
  background:linear-gradient(90deg,transparent,rgba(255,255,255,.18),transparent);
  pointer-events:none;
}
body.udgallu-home-test-page .ud-header-inner{min-height:72px !important;}
body.udgallu-home-test-page .ud-logo{font-size:clamp(26px,2.65vw,38px) !important;}
body.udgallu-home-test-page .ud-logo span{color:rgba(214,225,198,.72) !important;}
body.udgallu-home-test-page .ud-desktop-nav a,
body.udgallu-home-test-page .ud-language-toggle{font-size:14px !important;color:rgba(245,244,238,.92) !important;}

/* Видео начинается под прозрачным меню, без отдельной чёрной плашки сверху */
body.udgallu-home-test-page .ud-home-hero{
  min-height:82vh !important;
  height:820px !important;
  max-height:900px !important;
  margin-top:0 !important;
  background-color:#050b0a !important;
  overflow:hidden !important;
}
body.udgallu-home-test-page .ud-home-hero-video{
  background:#050b0a !important;
  object-position:center center !important;
}

/* Переход видео -> фон: снизу #050b0a, выше прозрачность. Без видимой границы. */
body.udgallu-home-test-page .ud-home-hero::before{
  background:
    linear-gradient(0deg,
      #050b0a 0%,
      rgba(5,12,11,.995) 8%,
      rgba(5,12,11,.92) 18%,
      rgba(5,12,11,.68) 32%,
      rgba(5,12,11,.34) 48%,
      rgba(5,12,11,0) 68%
    ) !important;
}
body.udgallu-home-test-page .ud-home-hero::after{
  background:radial-gradient(circle at 50% 44%,rgba(0,0,0,0) 0%,rgba(0,0,0,.08) 58%,rgba(0,0,0,.16) 100%) !important;
}

/* Уменьшаем лишнюю высоту между текстом и нижним блоком */
body.udgallu-home-test-page .ud-home-hero-inner{
  padding:120px 0 220px !important;
  transform:translateY(-12px);
}
body.udgallu-home-test-page .ud-home-hero h1{font-size:clamp(36px,5.6vw,72px) !important;}
body.udgallu-home-test-page .ud-hero-subtitle{font-size:clamp(14px,1.8vw,23px) !important;margin-top:10px !important;}
body.udgallu-home-test-page .ud-hero-mark{font-size:18px !important;margin:8px auto 6px !important;}
body.udgallu-home-test-page .ud-home-hero p{margin-top:15px !important;font-size:12.5px !important;line-height:1.48 !important;width:min(440px,100%) !important;}
body.udgallu-home-test-page .ud-hero-actions{margin-top:19px !important;}
body.udgallu-home-test-page .ud-btn{padding:11px 16px !important;min-width:152px !important;}

/* Блок глав почти полностью находится на видео и не создаёт отдельной полосы фона */
body.udgallu-home-test-page .ud-home-hero + .ud-section{
  position:relative !important;
  z-index:8 !important;
  margin-top:-285px !important;
  padding-top:0 !important;
  background:transparent !important;
}
body.udgallu-home-test-page .ud-home-hero + .ud-section > .ud-wrap{
  background:rgba(6,15,20,.42) !important;
  border:1px solid rgba(255,255,255,.72) !important;
  border-radius:10px !important;
  padding:30px 34px 34px !important;
  box-shadow:0 34px 110px rgba(0,0,0,.34), inset 0 1px 0 rgba(255,255,255,.08) !important;
  backdrop-filter:blur(9px) saturate(112%) !important;
  -webkit-backdrop-filter:blur(9px) saturate(112%) !important;
}
body.udgallu-home-test-page .ud-home-hero + .ud-section .ud-section-head{
  margin-bottom:18px !important;
}
body.udgallu-home-test-page .ud-home-hero + .ud-section .ud-story-card{
  min-height:218px !important;
  aspect-ratio:1.05/1 !important;
}

/* Секции ниже тоже не должны показывать другой цвет фона */
body.udgallu-home-test-page .ud-section,
body.udgallu-home-test-page .ud-section-compact{
  background:#050b0a !important;
}

@media(max-width:900px){
  body.udgallu-home-test-page .ud-home-hero{height:auto !important;min-height:650px !important;}
  body.udgallu-home-test-page .ud-home-hero-inner{padding:106px 0 185px !important;transform:none;}
  body.udgallu-home-test-page .ud-home-hero + .ud-section{margin-top:-180px !important;}
}
@media(max-width:700px){
  body.udgallu-home-test-page .ud-header{background:rgba(5,12,11,.45) !important;}
  body.udgallu-home-test-page .ud-home-hero + .ud-section > .ud-wrap{padding:22px 18px !important;}
}

/* === V208 TEST ONLY: точечная сборка блока глав === */
body.udgallu-home-test-page .ud-chapters-section{
  position:relative !important;
  z-index:9 !important;
  margin-top:-292px !important;
  padding-top:0 !important;
  padding-bottom:44px !important;
  background:transparent !important;
}
body.udgallu-home-test-page .ud-chapters-panel{
  position:relative !important;
  overflow:visible !important;
  padding:31px 34px 34px !important;
  background:linear-gradient(180deg,rgba(5,12,11,.42),rgba(5,12,11,.22)) !important;
  border:0 !important;
  border-radius:10px !important;
  box-shadow:0 34px 105px rgba(0,0,0,.34), inset 0 1px 0 rgba(255,255,255,.055) !important;
  backdrop-filter:blur(18px) saturate(118%) !important;
  -webkit-backdrop-filter:blur(18px) saturate(118%) !important;
}
body.udgallu-home-test-page .ud-chapters-panel::before,
body.udgallu-home-test-page .ud-chapters-panel::after{
  content:"";
  position:absolute;
  pointer-events:none;
  z-index:5;
  opacity:.72;
}
body.udgallu-home-test-page .ud-chapters-panel::before{
  top:0;
  left:0;
  width:34%;
  height:58%;
  border-radius:10px 0 0 0;
  background:
    linear-gradient(90deg,rgba(255,255,255,.62),rgba(255,255,255,.28) 34%,rgba(255,255,255,0)) top left / 100% 1px no-repeat,
    linear-gradient(180deg,rgba(255,255,255,.62),rgba(255,255,255,.24) 42%,rgba(255,255,255,0)) top left / 1px 100% no-repeat;
}
body.udgallu-home-test-page .ud-chapters-panel::after{
  right:0;
  bottom:0;
  width:34%;
  height:58%;
  border-radius:0 0 10px 0;
  background:
    linear-gradient(270deg,rgba(255,255,255,.62),rgba(255,255,255,.28) 34%,rgba(255,255,255,0)) bottom right / 100% 1px no-repeat,
    linear-gradient(0deg,rgba(255,255,255,.62),rgba(255,255,255,.24) 42%,rgba(255,255,255,0)) bottom right / 1px 100% no-repeat;
}
body.udgallu-home-test-page .ud-chapters-row{
  position:relative;
  display:grid;
  grid-template-columns:minmax(220px,270px) minmax(0,1fr) 54px;
  gap:22px;
  align-items:stretch;
  z-index:7;
}
body.udgallu-home-test-page .ud-chapter-info-card{
  min-height:225px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding:10px 0 12px;
  background:transparent !important;
  border:0 !important;
  box-shadow:none !important;
}
body.udgallu-home-test-page .ud-chapter-kicker{
  display:block;
  margin:0 0 14px;
  color:rgba(214,196,154,.72);
  font-size:11px;
  font-weight:800;
  letter-spacing:.42em;
  text-transform:uppercase;
}
body.udgallu-home-test-page .ud-chapter-info-card h2{
  margin:0 0 20px;
  color:rgba(246,241,231,.95);
  font-family:var(--ud-serif);
  font-weight:400;
  font-size:clamp(26px,2.3vw,39px);
  line-height:1.08;
  letter-spacing:.12em;
  text-transform:uppercase;
}
body.udgallu-home-test-page .ud-chapter-info-card p{
  width:min(285px,100%);
  margin:0 0 23px;
  color:rgba(235,232,224,.78);
  font-size:14px;
  line-height:1.55;
}
body.udgallu-home-test-page .ud-chapter-latest{
  width:max-content;
  max-width:100%;
  display:inline-flex;
  align-items:center;
  gap:9px;
  color:rgba(225,205,145,.9);
  text-decoration:none;
  font-size:12px;
  letter-spacing:.12em;
  text-transform:uppercase;
}
body.udgallu-home-test-page .ud-chapter-latest-icon{
  display:grid;
  place-items:center;
  width:25px;
  height:25px;
  border:1px solid rgba(225,205,145,.34);
  border-radius:50%;
  background:rgba(255,255,255,.035);
  color:rgba(225,205,145,.95);
  box-shadow:0 0 18px rgba(225,205,145,.08);
}
body.udgallu-home-test-page .ud-chapter-latest-text{opacity:.76;}
body.udgallu-home-test-page .ud-chapter-latest strong{font-size:13px;color:#f7f0dd;}
body.udgallu-home-test-page .ud-chapter-window{
  min-width:0;
  overflow:hidden;
  border-radius:8px;
}
body.udgallu-home-test-page .ud-chapter-track{
  display:grid;
  grid-auto-flow:column;
  grid-auto-columns:calc((100% - 48px) / 4);
  gap:16px;
  transition:transform .62s cubic-bezier(.22,.75,.22,1), filter .3s ease;
  will-change:transform;
}
body.udgallu-home-test-page .ud-chapters-panel.is-shifted .ud-chapter-track{
  transform:translateX(calc(-1 * (((100% - 48px) / 4) + 16px)));
}
body.udgallu-home-test-page .ud-chapter-card{
  min-height:235px !important;
  aspect-ratio:1.05/1 !important;
  border:1px solid rgba(255,255,255,.18) !important;
  border-radius:8px !important;
  box-shadow:0 24px 72px rgba(0,0,0,.30) !important;
  background-image:linear-gradient(180deg,rgba(0,0,0,.02) 20%,rgba(0,0,0,.80)),var(--card-image) !important;
}
body.udgallu-home-test-page .ud-chapter-card::before{
  background:rgba(255,255,255,.055) !important;
}
body.udgallu-home-test-page .ud-card-tag{
  border-color:rgba(230,213,168,.28) !important;
  background:rgba(5,12,11,.52) !important;
  color:rgba(230,213,168,.92) !important;
}
body.udgallu-home-test-page .ud-chapter-card .ud-card-content{padding:20px 18px !important;}
body.udgallu-home-test-page .ud-chapter-card .ud-card-content h3{font-size:20px !important;letter-spacing:.045em !important;}
body.udgallu-home-test-page .ud-chapter-card .ud-card-content p{font-size:13px !important;color:rgba(238,234,225,.68) !important;}
body.udgallu-home-test-page .ud-card-play{
  position:absolute;
  left:16px;
  bottom:16px;
  z-index:4;
  width:28px;
  height:28px;
  display:grid;
  place-items:center;
  border-radius:50%;
  font-size:11px;
  line-height:1;
  padding-left:2px;
  border:1px solid rgba(255,255,255,.22);
  background:rgba(5,12,11,.50);
  color:rgba(210,210,210,.65);
  box-shadow:0 0 16px rgba(0,0,0,.32);
}
body.udgallu-home-test-page .ud-card-play.has-audio{
  border-color:rgba(213,191,124,.55);
  color:rgba(236,216,142,.95);
  box-shadow:0 0 18px rgba(225,196,96,.22);
}
body.udgallu-home-test-page .ud-card-play.no-audio{
  border-color:rgba(180,185,186,.22);
  color:rgba(185,190,190,.55);
  box-shadow:none;
}
body.udgallu-home-test-page .ud-chapters-arrow{
  align-self:center;
  justify-self:center;
  width:48px;
  height:48px;
  display:grid;
  place-items:center;
  border-radius:50%;
  border:1px solid rgba(225,205,145,.42);
  background:rgba(5,12,11,.36);
  color:rgba(225,205,145,.92);
  text-decoration:none;
  font-size:22px;
  line-height:1;
  box-shadow:0 0 22px rgba(225,205,145,.10), inset 0 1px 0 rgba(255,255,255,.06);
  transition:transform .2s ease, background .2s ease, border-color .2s ease;
}
body.udgallu-home-test-page .ud-chapters-arrow:hover,
body.udgallu-home-test-page .ud-chapters-arrow:focus-visible{
  transform:translateX(3px);
  background:rgba(225,205,145,.10);
  border-color:rgba(240,222,163,.7);
}
body.udgallu-home-test-page .ud-chapter-spark{
  position:absolute;
  z-index:20;
  width:4px;
  height:4px;
  border-radius:50%;
  pointer-events:none;
  background:rgba(225,205,145,.92);
  box-shadow:0 0 16px rgba(225,205,145,.72);
  animation:udChapterSpark .85s ease-out forwards;
}
@keyframes udChapterSpark{
  0%{opacity:0;transform:translate(0,0) scale(.55)}
  14%{opacity:1}
  100%{opacity:0;transform:translate(var(--sx),var(--sy)) scale(.08)}
}
@media(max-width:1100px){
  body.udgallu-home-test-page .ud-chapters-row{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;}
  body.udgallu-home-test-page .ud-chapter-window,
  body.udgallu-home-test-page .ud-chapter-track{display:contents !important;}
  body.udgallu-home-test-page .ud-chapters-panel.is-shifted .ud-chapter-track{transform:none !important;}
  body.udgallu-home-test-page .ud-chapters-arrow{display:none !important;}
  body.udgallu-home-test-page .ud-chapter-info-card{min-height:235px;padding:20px 0;}
  body.udgallu-home-test-page .ud-chapter-card{min-height:235px !important;}
}
@media(max-width:700px){
  body.udgallu-home-test-page .ud-chapters-row{grid-template-columns:1fr;}
  body.udgallu-home-test-page .ud-chapter-card.is-extra{display:none !important;}
  body.udgallu-home-test-page .ud-chapter-info-card{min-height:auto;padding:12px 0 18px;}
}


/* === V209 test-only corrections: glass menus, lighter chapter glass, wider cards === */
body.udgallu-home-test-page .ud-language-menu,
body.udgallu-home-test-page .ud-more-dropdown,
body.udgallu-home-test-page .ud-user-dropdown,
body.udgallu-home-test-page .ud-admin-add-submenu{
  background:rgba(5,12,11,.34) !important;
  border:1px solid rgba(255,255,255,.18) !important;
  box-shadow:0 18px 62px rgba(0,0,0,.26), inset 0 1px 0 rgba(255,255,255,.065) !important;
  backdrop-filter:blur(18px) saturate(120%) !important;
  -webkit-backdrop-filter:blur(18px) saturate(120%) !important;
}
body.udgallu-home-test-page .ud-language-menu a,
body.udgallu-home-test-page .ud-more-dropdown a,
body.udgallu-home-test-page .ud-user-dropdown a{
  background:transparent !important;
}
body.udgallu-home-test-page .ud-language-menu a:hover,
body.udgallu-home-test-page .ud-more-dropdown a:hover,
body.udgallu-home-test-page .ud-user-dropdown a:hover{
  background:rgba(255,255,255,.075) !important;
  color:rgba(238,223,170,.98) !important;
}
body.udgallu-home-test-page .ud-language-menu a.is-active,
body.udgallu-home-test-page .ud-mobile-language-list a.is-active{
  background:rgba(255,255,255,.055) !important;
  color:rgba(238,223,170,.98) !important;
  border-color:rgba(255,255,255,.16) !important;
}

/* Первый блок: стекло как меню — почти без заливки, без тяжёлой полной рамки */
body.udgallu-home-test-page .ud-home-hero + .ud-section > .ud-wrap,
body.udgallu-home-test-page .ud-chapters-panel{
  background:rgba(5,12,11,.20) !important;
  border:0 !important;
  border-radius:10px !important;
  box-shadow:0 26px 88px rgba(0,0,0,.22), inset 0 1px 0 rgba(255,255,255,.045) !important;
  backdrop-filter:blur(18px) saturate(115%) !important;
  -webkit-backdrop-filter:blur(18px) saturate(115%) !important;
}
body.udgallu-home-test-page .ud-chapters-panel::before,
body.udgallu-home-test-page .ud-chapters-panel::after{
  opacity:.46 !important;
}
body.udgallu-home-test-page .ud-chapters-panel::before{
  width:29% !important;
  height:42% !important;
  background:
    linear-gradient(90deg,rgba(255,255,255,.50),rgba(255,255,255,.20) 30%,rgba(255,255,255,0)) top left / 100% 1px no-repeat,
    linear-gradient(180deg,rgba(255,255,255,.50),rgba(255,255,255,.18) 38%,rgba(255,255,255,0)) top left / 1px 100% no-repeat !important;
}
body.udgallu-home-test-page .ud-chapters-panel::after{
  width:29% !important;
  height:42% !important;
  background:
    linear-gradient(270deg,rgba(255,255,255,.50),rgba(255,255,255,.20) 30%,rgba(255,255,255,0)) bottom right / 100% 1px no-repeat,
    linear-gradient(0deg,rgba(255,255,255,.50),rgba(255,255,255,.18) 38%,rgba(255,255,255,0)) bottom right / 1px 100% no-repeat !important;
}

/* Карточки глав: не слипшиеся, чуть шире, без тяжёлой тени */
body.udgallu-home-test-page .ud-chapter-window{
  border-radius:8px !important;
  padding:0 2px !important;
}
body.udgallu-home-test-page .ud-chapter-track{
  gap:24px !important;
  grid-auto-columns:calc((100% - 72px) / 4) !important;
}
body.udgallu-home-test-page .ud-chapters-panel.is-shifted .ud-chapter-track{
  transform:translateX(calc(-1 * (((100% - 72px) / 4) + 24px))) !important;
}
body.udgallu-home-test-page .ud-chapter-card{
  min-height:208px !important;
  aspect-ratio:1.22/1 !important;
  border:1px solid rgba(255,255,255,.16) !important;
  box-shadow:none !important;
  background-image:linear-gradient(180deg,rgba(0,0,0,0) 20%,rgba(0,0,0,.82) 100%),var(--card-image) !important;
}
body.udgallu-home-test-page .ud-chapter-card::before{
  background:rgba(255,255,255,.025) !important;
}
body.udgallu-home-test-page .ud-chapter-card:hover{
  box-shadow:0 0 0 1px rgba(255,255,255,.08) !important;
}
body.udgallu-home-test-page .ud-chapter-card .ud-card-content{
  padding:16px 16px 50px !important;
}
body.udgallu-home-test-page .ud-chapter-card .ud-card-content h3{
  font-size:18px !important;
  line-height:1.08 !important;
  margin-bottom:5px !important;
}
body.udgallu-home-test-page .ud-chapter-card .ud-card-content p{
  font-size:12px !important;
  line-height:1.34 !important;
  max-height:34px !important;
  overflow:hidden !important;
}
body.udgallu-home-test-page .ud-card-play{
  left:16px !important;
  bottom:15px !important;
  width:24px !important;
  height:24px !important;
  font-size:9px !important;
}
body.udgallu-home-test-page .ud-card-tag{
  background:rgba(5,12,11,.35) !important;
  border-color:rgba(255,255,255,.16) !important;
  color:rgba(235,220,177,.88) !important;
}

/* Нанитики от блока глав должны жить дольше */
body.udgallu-home-test-page .ud-chapter-spark{
  animation-duration:1.65s !important;
}
@keyframes udChapterSpark{
  0%{opacity:0;transform:translate(0,0) scale(.55)}
  12%{opacity:1}
  62%{opacity:.58}
  100%{opacity:0;transform:translate(var(--sx),var(--sy)) scale(.05)}
}

@media(max-width:1100px){
  body.udgallu-home-test-page .ud-chapter-window{padding:0 !important;}
  body.udgallu-home-test-page .ud-chapter-card{aspect-ratio:auto !important;min-height:220px !important;}
}

/* V210: fix chapter cards spacing. The article.ud-story-card rules were too strong; force the track/card sizing here. */
body.udgallu-home-test-page .ud-chapter-window{
  overflow:hidden !important;
  padding:0 6px !important;
}
body.udgallu-home-test-page .ud-chapter-track{
  display:flex !important;
  align-items:stretch !important;
  gap:24px !important;
  width:max-content !important;
  min-width:100% !important;
  grid-auto-flow:unset !important;
  grid-auto-columns:unset !important;
}
body.udgallu-home-test-page .ud-chapter-card,
body.udgallu-home-test-page .ud-chapter-track > article.ud-story-card.ud-chapter-card{
  flex:0 0 calc((100% - 72px) / 4) !important;
  width:calc((100% - 72px) / 4) !important;
  max-width:calc((100% - 72px) / 4) !important;
  min-width:0 !important;
  margin:0 !important;
  box-sizing:border-box !important;
}
body.udgallu-home-test-page .ud-chapters-panel.is-shifted .ud-chapter-track{
  transform:translateX(calc(-1 * (((100% - 72px) / 4) + 24px))) !important;
}

@media(max-width:1100px){
  body.udgallu-home-test-page .ud-chapter-track{
    display:contents !important;
    width:auto !important;
    min-width:0 !important;
  }
  body.udgallu-home-test-page .ud-chapter-card,
  body.udgallu-home-test-page .ud-chapter-track > article.ud-story-card.ud-chapter-card{
    width:auto !important;
    max-width:none !important;
    flex:unset !important;
  }
}


/* V211: chapter cards must fit four visible cards inside the window; remove article/flex conflicts. */
body.udgallu-home-test-page .ud-chapters-row{
  grid-template-columns:minmax(220px,270px) minmax(0,1fr) 54px !important;
  gap:26px !important;
}
body.udgallu-home-test-page .ud-chapter-window{
  min-width:0 !important;
  overflow:hidden !important;
  padding:0 !important;
  border-radius:8px !important;
}
body.udgallu-home-test-page .ud-chapter-track{
  display:grid !important;
  grid-auto-flow:column !important;
  grid-auto-columns:calc((100% - 66px) / 4) !important;
  grid-template-columns:none !important;
  gap:22px !important;
  width:100% !important;
  min-width:0 !important;
  max-width:none !important;
  align-items:stretch !important;
  transition:transform .62s cubic-bezier(.22,.75,.22,1), filter .3s ease !important;
  will-change:transform !important;
}
body.udgallu-home-test-page .ud-chapter-card,
body.udgallu-home-test-page .ud-chapter-track > article.ud-story-card.ud-chapter-card{
  width:100% !important;
  max-width:none !important;
  min-width:0 !important;
  flex:initial !important;
  margin:0 !important;
  box-sizing:border-box !important;
  aspect-ratio:1.18 / 1 !important;
  min-height:198px !important;
}
body.udgallu-home-test-page .ud-chapters-panel.is-shifted .ud-chapter-track{
  transform:translateX(calc(-1 * (((100% - 66px) / 4) + 22px))) !important;
}

/* V211: no blue emoji/play glyph. Draw the play symbol with CSS. */
body.udgallu-home-test-page .ud-card-play{
  font-size:0 !important;
  padding:0 !important;
  color:rgba(205,198,178,.72) !important;
}
body.udgallu-home-test-page .ud-card-play::before{
  content:"";
  display:block;
  width:0;
  height:0;
  margin-left:2px;
  border-top:5px solid transparent;
  border-bottom:5px solid transparent;
  border-left:7px solid currentColor;
}
body.udgallu-home-test-page .ud-card-play.has-audio{
  color:rgba(230,211,150,.94) !important;
  border-color:rgba(230,211,150,.45) !important;
  background:rgba(5,12,11,.42) !important;
  box-shadow:0 0 14px rgba(214,184,86,.16) !important;
}
body.udgallu-home-test-page .ud-card-play.no-audio{
  color:rgba(178,182,181,.48) !important;
  border-color:rgba(185,190,190,.22) !important;
  background:rgba(5,12,11,.34) !important;
  box-shadow:none !important;
}

@media(max-width:1100px){
  body.udgallu-home-test-page .ud-chapters-row{grid-template-columns:repeat(2,minmax(0,1fr)) !important;gap:18px !important;}
  body.udgallu-home-test-page .ud-chapter-track{display:contents !important;width:auto !important;min-width:0 !important;}
  body.udgallu-home-test-page .ud-chapter-card,
  body.udgallu-home-test-page .ud-chapter-track > article.ud-story-card.ud-chapter-card{
    width:auto !important;
    max-width:none !important;
    flex:unset !important;
    aspect-ratio:auto !important;
    min-height:220px !important;
  }
}
@media(max-width:700px){
  body.udgallu-home-test-page .ud-chapters-row{grid-template-columns:1fr !important;}
}


/* V212: latest chapter informer is hidden in wide layout and shown as cursor tooltip on arrow hover. */
@media (min-width:1101px){
  body.udgallu-home-test-page .ud-chapter-info-card .ud-chapter-latest{
    display:none !important;
  }
  body.udgallu-home-test-page .ud-chapter-info-card p{
    margin-bottom:0 !important;
  }
  body.udgallu-home-test-page .ud-chapter-info-card{
    justify-content:center !important;
  }
}
body.udgallu-home-test-page .ud-chapter-cursor-tip{
  position:fixed;
  z-index:10050;
  pointer-events:none;
  transform:translate(18px, -50%);
  display:inline-flex;
  align-items:center;
  gap:10px;
  min-height:34px;
  padding:8px 12px;
  border-radius:999px;
  border:1px solid rgba(229,216,178,.28);
  background:rgba(5,12,11,.32);
  color:rgba(236,231,216,.92);
  font-size:11px;
  line-height:1;
  letter-spacing:.12em;
  text-transform:uppercase;
  box-shadow:0 18px 46px rgba(0,0,0,.28), inset 0 1px 0 rgba(255,255,255,.06);
  backdrop-filter:blur(16px) saturate(120%);
  -webkit-backdrop-filter:blur(16px) saturate(120%);
  opacity:0;
  transition:opacity .16s ease, transform .16s ease;
}
body.udgallu-home-test-page .ud-chapter-cursor-tip.is-visible{
  opacity:1;
  transform:translate(22px, -50%);
}
body.udgallu-home-test-page .ud-chapter-cursor-tip::before{
  content:"✦";
  display:grid;
  place-items:center;
  width:22px;
  height:22px;
  border-radius:50%;
  border:1px solid rgba(229,216,178,.28);
  color:rgba(229,216,178,.92);
  background:rgba(255,255,255,.035);
}
body.udgallu-home-test-page .ud-chapter-cursor-tip strong{
  margin-left:2px;
  color:#fff7df;
  font-size:12px;
  letter-spacing:.08em;
}
@media(max-width:1100px){
  body.udgallu-home-test-page .ud-chapter-cursor-tip{display:none !important;}
}

/* === V213 TEST ONLY: mobile dropdown glass + living video block === */
body.udgallu-home-test-page .ud-mobile-menu,
body.udgallu-home-test-page .ud-language-menu,
body.udgallu-home-test-page .ud-user-menu,
body.udgallu-home-test-page .ud-lang-modal-mark,
body.udgallu-home-test-page .ud-lang-menu,
body.udgallu-home-test-page .ud-mobile-panel{
  background:rgba(5,12,11,.26) !important;
  border:1px solid rgba(255,255,255,.14) !important;
  box-shadow:0 22px 70px rgba(0,0,0,.30), inset 0 1px 0 rgba(255,255,255,.055) !important;
  backdrop-filter:blur(18px) saturate(118%) !important;
  -webkit-backdrop-filter:blur(18px) saturate(118%) !important;
}
body.udgallu-home-test-page .ud-mobile-menu::before,
body.udgallu-home-test-page .ud-language-menu::before,
body.udgallu-home-test-page .ud-user-menu::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  border-radius:inherit;
  background:linear-gradient(180deg,rgba(255,255,255,.08),rgba(255,255,255,.015) 48%,rgba(255,255,255,0));
}
body.udgallu-home-test-page .ud-language-menu a,
body.udgallu-home-test-page .ud-mobile-language-list a{
  background:rgba(255,255,255,.025) !important;
  border-color:rgba(255,255,255,.13) !important;
  color:rgba(242,239,230,.92) !important;
}
body.udgallu-home-test-page .ud-language-menu a:hover,
body.udgallu-home-test-page .ud-mobile-language-list a:hover,
body.udgallu-home-test-page .ud-language-menu a.is-active{
  background:rgba(255,255,255,.07) !important;
  color:rgba(245,232,188,.98) !important;
}

body.udgallu-home-test-page .ud-living-section{
  position:relative;
  z-index:8;
  padding-top:18px !important;
  padding-bottom:40px !important;
  background:#050b0a !important;
}
body.udgallu-home-test-page .ud-living-panel{
  position:relative;
  display:grid;
  grid-template-columns:minmax(0,1.35fr) minmax(280px,.85fr);
  gap:32px;
  align-items:center;
  overflow:visible;
  padding:24px 30px;
  border-radius:10px;
  background:rgba(5,12,11,.20);
  box-shadow:0 26px 88px rgba(0,0,0,.22), inset 0 1px 0 rgba(255,255,255,.045);
  backdrop-filter:blur(18px) saturate(115%);
  -webkit-backdrop-filter:blur(18px) saturate(115%);
  transition:grid-template-columns .34s ease, padding .34s ease, min-height .34s ease;
}
body.udgallu-home-test-page .ud-living-panel::before,
body.udgallu-home-test-page .ud-living-panel::after{
  content:"";
  position:absolute;
  z-index:4;
  pointer-events:none;
  opacity:.46;
}
body.udgallu-home-test-page .ud-living-panel::before{
  top:0;left:0;width:29%;height:42%;border-radius:10px 0 0 0;
  background:
    linear-gradient(90deg,rgba(255,255,255,.50),rgba(255,255,255,.20) 30%,rgba(255,255,255,0)) top left / 100% 1px no-repeat,
    linear-gradient(180deg,rgba(255,255,255,.50),rgba(255,255,255,.18) 38%,rgba(255,255,255,0)) top left / 1px 100% no-repeat;
}
body.udgallu-home-test-page .ud-living-panel::after{
  right:0;bottom:0;width:29%;height:42%;border-radius:0 0 10px 0;
  background:
    linear-gradient(270deg,rgba(255,255,255,.50),rgba(255,255,255,.20) 30%,rgba(255,255,255,0)) bottom right / 100% 1px no-repeat,
    linear-gradient(0deg,rgba(255,255,255,.50),rgba(255,255,255,.18) 38%,rgba(255,255,255,0)) bottom right / 1px 100% no-repeat;
}
body.udgallu-home-test-page .ud-living-media{
  position:relative;
  z-index:6;
  height:250px;
  overflow:hidden;
  border-radius:8px;
  background:#050b0a;
  transition:height .34s ease, aspect-ratio .34s ease, border-radius .34s ease;
}
body.udgallu-home-test-page .ud-living-video{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center center;
  filter:saturate(.92) contrast(1.04) brightness(.84);
}
body.udgallu-home-test-page .ud-living-media::after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:linear-gradient(90deg,rgba(5,12,11,0) 0%,rgba(5,12,11,.08) 58%,rgba(5,12,11,.20) 100%);
  transition:opacity .25s ease;
}
body.udgallu-home-test-page .ud-living-play{
  position:absolute;
  left:50%;top:50%;
  z-index:8;
  width:68px;height:68px;
  transform:translate(-50%,-50%);
  display:grid;
  place-items:center;
  border-radius:50%;
  border:1px solid rgba(238,222,168,.52);
  background:rgba(5,12,11,.28);
  color:rgba(239,224,172,.96);
  font-size:24px;
  line-height:1;
  cursor:pointer;
  box-shadow:0 0 34px rgba(221,188,91,.16), inset 0 1px 0 rgba(255,255,255,.07);
  backdrop-filter:blur(13px) saturate(120%);
  -webkit-backdrop-filter:blur(13px) saturate(120%);
  transition:opacity .22s ease, transform .22s ease, background .22s ease;
}
body.udgallu-home-test-page .ud-living-play:hover{
  transform:translate(-50%,-50%) scale(1.06);
  background:rgba(255,255,255,.06);
}
body.udgallu-home-test-page .ud-living-copy{
  position:relative;
  z-index:7;
  padding-right:8px;
  opacity:1;
  transform:translateX(0);
  transition:opacity .24s ease, transform .28s ease, visibility .24s ease;
}
body.udgallu-home-test-page .ud-living-kicker{
  display:block;
  margin:0 0 12px;
  color:rgba(214,196,154,.64);
  font-size:11px;
  font-weight:800;
  letter-spacing:.34em;
  text-transform:uppercase;
}
body.udgallu-home-test-page .ud-living-copy h2{
  margin:0 0 14px;
  color:rgba(246,241,231,.95);
  font-family:var(--ud-serif);
  font-weight:400;
  font-size:clamp(26px,2.4vw,42px);
  line-height:1.04;
  letter-spacing:.06em;
}
body.udgallu-home-test-page .ud-living-copy p{
  margin:0 0 18px;
  max-width:440px;
  color:rgba(235,232,221,.72);
  font-size:14px;
  line-height:1.55;
}
body.udgallu-home-test-page .ud-living-copy a{
  color:rgba(232,213,154,.86);
  text-decoration:none;
  font-size:12px;
  font-weight:800;
  letter-spacing:.14em;
  text-transform:uppercase;
}
body.udgallu-home-test-page .ud-living-panel.is-playing{
  display:block;
  padding:22px;
}
body.udgallu-home-test-page .ud-living-panel.is-playing .ud-living-media{
  width:100%;
  height:auto;
  aspect-ratio:16/9;
}
body.udgallu-home-test-page .ud-living-panel.is-playing .ud-living-copy{
  visibility:hidden;
  opacity:0;
  transform:translateX(18px);
  position:absolute;
  pointer-events:none;
}
body.udgallu-home-test-page .ud-living-panel.is-playing .ud-living-media::after{opacity:0;}
body.udgallu-home-test-page .ud-living-panel.is-playing .ud-living-play{
  left:auto;right:18px;top:18px;
  width:44px;height:44px;
  transform:none;
  font-size:17px;
  opacity:.42;
}
body.udgallu-home-test-page .ud-living-panel.is-playing .ud-living-play:hover{opacity:1;transform:none;}

@media(max-width:900px){
  body.udgallu-home-test-page .ud-mobile-menu{
    left:12px !important;
    right:12px !important;
    border-radius:14px !important;
    overflow:hidden !important;
  }
  body.udgallu-home-test-page .ud-living-panel{
    grid-template-columns:1fr;
    gap:18px;
    padding:18px;
  }
  body.udgallu-home-test-page .ud-living-media{height:auto;aspect-ratio:16/9;}
  body.udgallu-home-test-page .ud-living-copy{padding:0 4px 4px;}
}

/* V214: video/living block as full-bleed media with glass text overlay */
body.udgallu-home-test-page .ud-living-section{
  padding-top:18px !important;
  padding-bottom:42px !important;
  background:#050b0a !important;
}
body.udgallu-home-test-page .ud-living-panel{
  position:relative;
  display:block !important;
  overflow:hidden !important;
  padding:0 !important;
  min-height:310px;
  border-radius:10px;
  background:rgba(5,12,11,.04) !important;
  box-shadow:0 26px 88px rgba(0,0,0,.22), inset 0 1px 0 rgba(255,255,255,.035) !important;
  backdrop-filter:blur(14px) saturate(108%);
  -webkit-backdrop-filter:blur(14px) saturate(108%);
  transition:aspect-ratio .34s ease, min-height .34s ease, height .34s ease;
}
body.udgallu-home-test-page .ud-living-panel::before,
body.udgallu-home-test-page .ud-living-panel::after{
  z-index:12;
  opacity:.46;
}
body.udgallu-home-test-page .ud-living-media{
  position:absolute !important;
  inset:0 !important;
  z-index:1;
  width:100% !important;
  height:100% !important;
  overflow:hidden;
  border-radius:10px !important;
  background:#050b0a;
}
body.udgallu-home-test-page .ud-living-video{
  display:block;
  width:100% !important;
  height:100% !important;
  object-fit:cover;
  object-position:center center;
  filter:saturate(.92) contrast(1.04) brightness(.82);
}
body.udgallu-home-test-page .ud-living-media::after{
  content:"";
  position:absolute;
  inset:0;
  z-index:2;
  pointer-events:none;
  background:
    linear-gradient(90deg,rgba(5,12,11,.05) 0%,rgba(5,12,11,.08) 46%,rgba(5,12,11,.32) 100%),
    linear-gradient(0deg,rgba(5,12,11,.16),rgba(5,12,11,0) 48%);
  transition:opacity .25s ease;
}
body.udgallu-home-test-page .ud-living-copy{
  position:absolute !important;
  z-index:8;
  top:0;
  right:0;
  bottom:0;
  width:min(430px,38%);
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding:32px 34px 32px 38px;
  background:rgba(5,12,11,.34);
  border-left:1px solid rgba(255,255,255,.13);
  box-shadow:inset 1px 0 0 rgba(255,255,255,.045), -26px 0 70px rgba(5,12,11,.30);
  backdrop-filter:blur(18px) saturate(120%);
  -webkit-backdrop-filter:blur(18px) saturate(120%);
  opacity:1;
  transform:translateX(0);
  transition:opacity .28s ease, transform .32s ease, visibility .28s ease;
}
body.udgallu-home-test-page .ud-living-copy::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:linear-gradient(180deg,rgba(255,255,255,.075),rgba(255,255,255,.015) 46%,rgba(255,255,255,0));
}
body.udgallu-home-test-page .ud-living-copy > *{
  position:relative;
  z-index:2;
}
body.udgallu-home-test-page .ud-living-play{
  z-index:10;
}
body.udgallu-home-test-page .ud-living-panel.is-playing{
  display:block !important;
  padding:0 !important;
  min-height:0;
  aspect-ratio:16 / 9;
}
body.udgallu-home-test-page .ud-living-panel.is-playing .ud-living-media{
  position:absolute !important;
  inset:0 !important;
  width:100% !important;
  height:100% !important;
  aspect-ratio:auto !important;
}
body.udgallu-home-test-page .ud-living-panel.is-playing .ud-living-media::after{
  opacity:0;
}
body.udgallu-home-test-page .ud-living-panel.is-playing .ud-living-copy{
  visibility:hidden;
  opacity:0;
  transform:translateX(32px);
  pointer-events:none;
}
body.udgallu-home-test-page .ud-living-panel.is-playing .ud-living-play{
  left:auto;
  right:18px;
  top:18px;
  width:44px;
  height:44px;
  transform:none;
  font-size:17px;
  opacity:.46;
}
body.udgallu-home-test-page .ud-living-panel.is-playing .ud-living-play:hover{
  opacity:1;
  transform:none;
}
@media(max-width:900px){
  body.udgallu-home-test-page .ud-living-panel{
    min-height:0;
    aspect-ratio:16 / 9;
  }
  body.udgallu-home-test-page .ud-living-copy{
    width:auto;
    left:0;
    top:auto;
    right:0;
    bottom:0;
    min-height:42%;
    justify-content:flex-end;
    padding:22px 22px 20px;
    border-left:0;
    border-top:1px solid rgba(255,255,255,.13);
    box-shadow:inset 0 1px 0 rgba(255,255,255,.045), 0 -26px 70px rgba(5,12,11,.35);
  }
  body.udgallu-home-test-page .ud-living-copy h2{
    font-size:clamp(22px,7vw,34px);
  }
  body.udgallu-home-test-page .ud-living-copy p{
    display:none;
  }
}


/* V215: smoother staged living-video transition */
body.udgallu-home-test-page .ud-living-panel{
  transition:
    aspect-ratio .62s cubic-bezier(.22,.72,.16,1),
    min-height .62s cubic-bezier(.22,.72,.16,1),
    height .62s cubic-bezier(.22,.72,.16,1),
    box-shadow .42s ease;
}
body.udgallu-home-test-page .ud-living-copy{
  transition:
    opacity .58s ease,
    transform .62s cubic-bezier(.22,.72,.16,1),
    filter .58s ease,
    visibility 0s linear .66s;
  will-change:opacity,transform,filter;
}
body.udgallu-home-test-page .ud-living-panel.is-dissolving .ud-living-copy,
body.udgallu-home-test-page .ud-living-panel.is-expanded .ud-living-copy,
body.udgallu-home-test-page .ud-living-panel.is-playing .ud-living-copy{
  visibility:hidden;
  opacity:0;
  transform:translateX(42px) scale(.985);
  filter:blur(8px);
  pointer-events:none;
}
body.udgallu-home-test-page .ud-living-panel.is-expanded,
body.udgallu-home-test-page .ud-living-panel.is-playing{
  display:block !important;
  padding:0 !important;
  min-height:0;
  aspect-ratio:16 / 9;
}
body.udgallu-home-test-page .ud-living-panel.is-expanded .ud-living-media,
body.udgallu-home-test-page .ud-living-panel.is-playing .ud-living-media{
  position:absolute !important;
  inset:0 !important;
  width:100% !important;
  height:100% !important;
  aspect-ratio:auto !important;
}
body.udgallu-home-test-page .ud-living-panel.is-expanded .ud-living-media::after,
body.udgallu-home-test-page .ud-living-panel.is-playing .ud-living-media::after{
  opacity:0;
  transition:opacity .5s ease .18s;
}
body.udgallu-home-test-page .ud-living-panel.is-expanded .ud-living-play,
body.udgallu-home-test-page .ud-living-panel.is-playing .ud-living-play{
  left:auto;
  right:18px;
  top:18px;
  width:44px;
  height:44px;
  transform:none;
  font-size:17px;
  opacity:.46;
  transition:opacity .28s ease, transform .28s ease, background .28s ease;
}
body.udgallu-home-test-page .ud-living-panel.is-expanded .ud-living-play:hover,
body.udgallu-home-test-page .ud-living-panel.is-playing .ud-living-play:hover{
  opacity:1;
  transform:none;
}
body.udgallu-home-test-page .ud-living-spark{
  position:absolute;
  z-index:11;
  width:var(--lss,2px);
  height:var(--lss,2px);
  border-radius:50%;
  pointer-events:none;
  opacity:0;
  background:rgba(230,213,154,var(--lsa,.65));
  box-shadow:
    0 0 8px rgba(230,213,154,.58),
    0 0 18px rgba(110,152,82,.16);
  animation:udLivingSpark 1.34s cubic-bezier(.17,.67,.22,1) var(--lsd,0s) forwards;
}
body.udgallu-home-test-page .ud-living-spark:nth-child(3n){
  background:rgba(196,221,174,var(--lsa,.56));
  box-shadow:0 0 9px rgba(196,221,174,.45),0 0 20px rgba(221,183,92,.15);
}
body.udgallu-home-test-page .ud-living-spark:nth-child(4n){
  width:calc(var(--lss,2px) * 1.9);
  height:1px;
  border-radius:999px;
}
@keyframes udLivingSpark{
  0%{opacity:0;transform:translate(0,0) scale(.35);filter:blur(0);}
  18%{opacity:1;}
  66%{opacity:.58;}
  100%{opacity:0;transform:translate(var(--lsx,60px),var(--lsy,-40px)) scale(1.25);filter:blur(1.3px);}
}
@media(max-width:900px){
  body.udgallu-home-test-page .ud-living-panel.is-dissolving .ud-living-copy,
  body.udgallu-home-test-page .ud-living-panel.is-expanded .ud-living-copy,
  body.udgallu-home-test-page .ud-living-panel.is-playing .ud-living-copy{
    transform:translateY(28px) scale(.985);
  }
}

/* V216: heroes strip block - same mechanism as chapters, with narrow tall cards */
body.udgallu-home-test-page .ud-heroes-strip-section{
  position:relative;
  z-index:8;
  padding-top:18px !important;
  padding-bottom:38px !important;
  background:#050b0a !important;
}
body.udgallu-home-test-page .ud-heroes-panel{
  position:relative;
  overflow:visible;
  padding:26px 34px;
  border-radius:10px;
  background:rgba(5,12,11,.16);
  backdrop-filter:blur(18px) saturate(112%);
  -webkit-backdrop-filter:blur(18px) saturate(112%);
  box-shadow:0 26px 88px rgba(0,0,0,.22), inset 0 1px 0 rgba(255,255,255,.04);
}
body.udgallu-home-test-page .ud-heroes-panel::before,
body.udgallu-home-test-page .ud-heroes-panel::after{
  content:"";
  position:absolute;
  z-index:4;
  pointer-events:none;
  opacity:.42;
}
body.udgallu-home-test-page .ud-heroes-panel::before{
  top:0;left:0;width:28%;height:44%;border-radius:10px 0 0 0;
  background:
    linear-gradient(90deg,rgba(255,255,255,.52),rgba(255,255,255,.18) 32%,rgba(255,255,255,0)) top left / 100% 1px no-repeat,
    linear-gradient(180deg,rgba(255,255,255,.52),rgba(255,255,255,.18) 38%,rgba(255,255,255,0)) top left / 1px 100% no-repeat;
}
body.udgallu-home-test-page .ud-heroes-panel::after{
  right:0;bottom:0;width:28%;height:44%;border-radius:0 0 10px 0;
  background:
    linear-gradient(270deg,rgba(255,255,255,.52),rgba(255,255,255,.18) 32%,rgba(255,255,255,0)) bottom right / 100% 1px no-repeat,
    linear-gradient(0deg,rgba(255,255,255,.52),rgba(255,255,255,.18) 38%,rgba(255,255,255,0)) bottom right / 1px 100% no-repeat;
}
body.udgallu-home-test-page .ud-heroes-row{
  position:relative;
  z-index:6;
  display:grid;
  grid-template-columns:minmax(190px,240px) minmax(0,1fr) 48px;
  gap:24px;
  align-items:center;
  min-width:0;
}
body.udgallu-home-test-page .ud-heroes-info-card{
  min-width:0;
  padding:10px 0;
  color:rgba(239,235,224,.88);
}
body.udgallu-home-test-page .ud-heroes-kicker{
  display:block;
  margin-bottom:13px;
  color:rgba(229,216,178,.70);
  font-size:10px;
  font-weight:800;
  letter-spacing:.46em;
  text-transform:uppercase;
}
body.udgallu-home-test-page .ud-heroes-info-card h2{
  margin:0 0 14px;
  color:#f4f0e5;
  font-family:var(--ud-serif);
  font-size:clamp(28px,3vw,43px);
  line-height:1.03;
  font-weight:400;
  letter-spacing:.09em;
  text-transform:uppercase;
}
body.udgallu-home-test-page .ud-heroes-info-card p{
  margin:0 0 18px;
  max-width:240px;
  color:rgba(239,235,224,.70);
  font-size:13px;
  line-height:1.55;
}
body.udgallu-home-test-page .ud-heroes-link{
  color:rgba(229,216,178,.90);
  font-size:12px;
  font-weight:800;
  letter-spacing:.12em;
  text-transform:uppercase;
  text-decoration:none;
}
body.udgallu-home-test-page .ud-heroes-window{
  min-width:0;
  overflow:hidden;
  padding:0;
  border-radius:8px;
}
body.udgallu-home-test-page .ud-heroes-track{
  display:grid;
  grid-auto-flow:column;
  grid-auto-columns:calc((100% - 70px) / 6);
  gap:14px;
  align-items:stretch;
  min-width:0;
  width:100%;
  transition:transform .62s cubic-bezier(.22,.75,.22,1), filter .3s ease;
  will-change:transform;
}
body.udgallu-home-test-page .ud-heroes-panel.is-shifted .ud-heroes-track{
  transform:translateX(calc(-1 * (((100% - 70px) / 6) + 14px)));
}
body.udgallu-home-test-page .ud-hero-strip-card{
  position:relative;
  display:block;
  overflow:hidden;
  min-width:0;
  width:100%;
  min-height:210px;
  aspect-ratio:.72 / 1;
  border-radius:8px;
  border:1px solid rgba(255,255,255,.12);
  background:#05090b var(--hero-card-image) center top / cover no-repeat;
  box-shadow:none;
  transform:translateZ(0);
}
body.udgallu-home-test-page .ud-hero-strip-card::before{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(180deg,rgba(5,12,11,.03),rgba(5,12,11,.20) 44%,rgba(5,12,11,.88));
  pointer-events:none;
}
body.udgallu-home-test-page .ud-hero-strip-cover{position:absolute;inset:0;z-index:3;text-decoration:none;}
body.udgallu-home-test-page .ud-hero-strip-content{
  position:absolute;
  left:13px;
  right:13px;
  bottom:12px;
  z-index:2;
}
body.udgallu-home-test-page .ud-hero-strip-content h3{
  margin:0 0 4px;
  color:#f3eee0;
  font-family:var(--ud-serif);
  font-size:17px;
  line-height:1.05;
  font-weight:700;
  letter-spacing:.035em;
  text-shadow:0 2px 12px rgba(0,0,0,.8);
}
body.udgallu-home-test-page .ud-hero-strip-content p{
  margin:0;
  color:rgba(238,234,225,.70);
  font-size:11px;
  line-height:1.25;
}
body.udgallu-home-test-page .ud-heroes-arrow{
  position:relative;
  z-index:7;
  display:grid;
  place-items:center;
  width:44px;
  height:44px;
  border-radius:50%;
  border:1px solid rgba(229,216,178,.34);
  background:rgba(5,12,11,.22);
  color:rgba(229,216,178,.95);
  font-size:24px;
  line-height:1;
  text-decoration:none;
  backdrop-filter:blur(14px);
  -webkit-backdrop-filter:blur(14px);
  transition:transform .2s ease, border-color .2s ease, background .2s ease;
}
body.udgallu-home-test-page .ud-heroes-arrow:hover,
body.udgallu-home-test-page .ud-heroes-arrow:focus-visible{
  transform:translateX(3px);
  border-color:rgba(229,216,178,.62);
  background:rgba(255,255,255,.06);
  outline:none;
}
body.udgallu-home-test-page .ud-hero-spark{
  position:absolute;
  z-index:9;
  width:3px;
  height:3px;
  border-radius:50%;
  pointer-events:none;
  opacity:0;
  background:rgba(230,205,132,.92);
  box-shadow:0 0 14px rgba(230,205,132,.55);
  animation:udHeroSpark 1.7s ease-out forwards;
}
@keyframes udHeroSpark{
  0%{opacity:0;transform:translate(0,0) scale(.4)}
  16%{opacity:.88}
  100%{opacity:0;transform:translate(var(--hx),var(--hy)) scale(.08)}
}
@media(max-width:1100px){
  body.udgallu-home-test-page .ud-heroes-row{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;}
  body.udgallu-home-test-page .ud-heroes-window,
  body.udgallu-home-test-page .ud-heroes-track{display:contents !important;}
  body.udgallu-home-test-page .ud-heroes-panel.is-shifted .ud-heroes-track{transform:none !important;}
  body.udgallu-home-test-page .ud-heroes-arrow{display:none !important;}
  body.udgallu-home-test-page .ud-hero-strip-card{min-height:255px;aspect-ratio:auto;}
}
@media(max-width:700px){
  body.udgallu-home-test-page .ud-heroes-row{grid-template-columns:1fr;}
  body.udgallu-home-test-page .ud-hero-strip-card.is-extra{display:none !important;}
  body.udgallu-home-test-page .ud-heroes-panel{padding:22px 18px;}
}

/* V217: test-only fixes + interactive explore/bestiary/settlements/map/gallery block */
body.udgallu-home-test-page:not(.ud-menu-open) .ud-mobile-menu,
body.udgallu-home-test-page:not(.ud-menu-open) .ud-mobile-overlay{
  display:none !important;
  visibility:hidden !important;
  opacity:0 !important;
}
body.udgallu-home-test-page.ud-menu-open .ud-mobile-menu,
body.udgallu-home-test-page.ud-menu-open .ud-mobile-overlay{
  display:block !important;
  visibility:visible !important;
  opacity:1 !important;
}
body.udgallu-home-test-page .ud-user-toggle{
  box-shadow:none !important;
}
body.udgallu-home-test-page .ud-user-toggle .ud-auth-avatar,
body.udgallu-home-test-page .ud-auth-avatar.has-image{
  border:0 !important;
  background:transparent !important;
  box-shadow:none !important;
  padding:0 !important;
}
body.udgallu-home-test-page .ud-user-toggle .ud-auth-avatar img,
body.udgallu-home-test-page .ud-auth-avatar.has-image img{
  display:block !important;
  width:100% !important;
  height:100% !important;
  object-fit:cover !important;
  border-radius:50% !important;
  box-shadow:none !important;
}

body.udgallu-home-test-page .ud-explore-section{
  position:relative;
  z-index:8;
  padding-top:18px !important;
  padding-bottom:44px !important;
  background:#050b0a !important;
}
body.udgallu-home-test-page .ud-explore-panel{
  position:relative;
  overflow:visible;
  border-radius:10px;
  padding:22px 28px 24px;
  background:rgba(5,12,11,.14);
  backdrop-filter:blur(18px) saturate(112%);
  -webkit-backdrop-filter:blur(18px) saturate(112%);
  box-shadow:0 26px 88px rgba(0,0,0,.20), inset 0 1px 0 rgba(255,255,255,.04);
}
body.udgallu-home-test-page .ud-explore-panel::before,
body.udgallu-home-test-page .ud-explore-panel::after{
  content:"";
  position:absolute;
  z-index:2;
  pointer-events:none;
  opacity:.40;
}
body.udgallu-home-test-page .ud-explore-panel::before{
  top:0;left:0;width:27%;height:42%;border-radius:10px 0 0 0;
  background:
    linear-gradient(90deg,rgba(255,255,255,.50),rgba(255,255,255,.18) 30%,rgba(255,255,255,0)) top left / 100% 1px no-repeat,
    linear-gradient(180deg,rgba(255,255,255,.50),rgba(255,255,255,.18) 38%,rgba(255,255,255,0)) top left / 1px 100% no-repeat;
}
body.udgallu-home-test-page .ud-explore-panel::after{
  right:0;bottom:0;width:27%;height:42%;border-radius:0 0 10px 0;
  background:
    linear-gradient(270deg,rgba(255,255,255,.50),rgba(255,255,255,.18) 30%,rgba(255,255,255,0)) bottom right / 100% 1px no-repeat,
    linear-gradient(0deg,rgba(255,255,255,.50),rgba(255,255,255,.18) 38%,rgba(255,255,255,0)) bottom right / 1px 100% no-repeat;
}
body.udgallu-home-test-page .ud-explore-desktop{
  position:relative;
  z-index:5;
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:18px;
  min-height:182px;
}
body.udgallu-home-test-page .ud-explore-base-card{
  position:relative;
  min-width:0;
  transition:opacity .28s ease, transform .38s cubic-bezier(.22,.75,.22,1), filter .28s ease;
}
body.udgallu-home-test-page .ud-explore-headline{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  min-height:28px;
  margin:0 0 10px;
  color:rgba(238,231,213,.92);
  text-align:center;
  cursor:default;
}
body.udgallu-home-test-page .ud-explore-trigger .ud-explore-headline{cursor:pointer;}
body.udgallu-home-test-page .ud-explore-headline span{
  display:inline-grid;
  place-items:center;
  min-width:18px;
  color:rgba(229,216,178,.90);
  font-size:18px;
  line-height:1;
}
body.udgallu-home-test-page .ud-explore-headline h2{
  margin:0;
  color:rgba(238,231,213,.94);
  font-family:var(--ud-serif);
  font-size:17px;
  line-height:1;
  letter-spacing:.14em;
  font-weight:400;
  text-transform:uppercase;
}
body.udgallu-home-test-page .ud-explore-preview,
body.udgallu-home-test-page .ud-explore-slide-card,
body.udgallu-home-test-page .ud-explore-mobile-card{
  position:relative;
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  min-height:138px;
  overflow:hidden;
  border-radius:8px;
  border:1px solid rgba(255,255,255,.13);
  background:#05090b var(--explore-image) center center / cover no-repeat;
  color:#f3eee0;
  text-decoration:none;
  cursor:pointer;
  box-shadow:none;
  transform:translateZ(0);
}
body.udgallu-home-test-page button.ud-explore-preview,
body.udgallu-home-test-page button.ud-explore-slide-card,
body.udgallu-home-test-page button.ud-explore-mobile-card{
  width:100%;
  text-align:left;
  font:inherit;
}
body.udgallu-home-test-page .ud-explore-preview::before,
body.udgallu-home-test-page .ud-explore-slide-card::before,
body.udgallu-home-test-page .ud-explore-mobile-card::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:1;
  pointer-events:none;
  background:linear-gradient(180deg,rgba(5,12,11,.04),rgba(5,12,11,.28) 42%,rgba(5,12,11,.88));
}
body.udgallu-home-test-page .ud-explore-preview span,
body.udgallu-home-test-page .ud-explore-slide-card span,
body.udgallu-home-test-page .ud-explore-mobile-card span,
body.udgallu-home-test-page .ud-explore-preview em,
body.udgallu-home-test-page .ud-explore-mobile-card small{
  position:relative;
  z-index:2;
}
body.udgallu-home-test-page .ud-explore-preview span,
body.udgallu-home-test-page .ud-explore-slide-card span,
body.udgallu-home-test-page .ud-explore-mobile-card span{
  display:block;
  padding:0 14px 4px;
  color:#f2eee3;
  font-family:var(--ud-serif);
  font-size:17px;
  line-height:1.12;
  letter-spacing:.035em;
  text-shadow:0 2px 12px rgba(0,0,0,.78);
}
body.udgallu-home-test-page .ud-explore-preview em{
  display:block;
  padding:0 14px 14px;
  color:rgba(232,213,154,.88);
  font-style:normal;
  font-size:11px;
  font-weight:800;
  letter-spacing:.12em;
  text-transform:uppercase;
}
body.udgallu-home-test-page .ud-explore-reveal{
  position:absolute;
  inset:38px 0 0 0;
  z-index:9;
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:18px;
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transform:translateX(24px);
  transition:opacity .34s ease, transform .48s cubic-bezier(.22,.75,.22,1), visibility 0s linear .38s;
}
body.udgallu-home-test-page .ud-explore-slide-card{
  min-height:138px;
  animation:udExploreSlideIn .46s cubic-bezier(.22,.75,.22,1) both;
}
body.udgallu-home-test-page .ud-explore-slide-card:nth-child(2){animation-delay:.04s;}
body.udgallu-home-test-page .ud-explore-slide-card:nth-child(3){animation-delay:.08s;}
body.udgallu-home-test-page .ud-explore-slide-card:nth-child(4){animation-delay:.12s;}
@keyframes udExploreSlideIn{
  from{opacity:0;transform:translateX(34px)}
  to{opacity:1;transform:translateX(0)}
}
body.udgallu-home-test-page .ud-explore-desktop.is-bestiary .ud-explore-reveal-bestiary,
body.udgallu-home-test-page .ud-explore-desktop.is-settlements .ud-explore-reveal-settlements,
body.udgallu-home-test-page .ud-explore-desktop.is-gallery .ud-explore-reveal-gallery{
  opacity:1;
  visibility:visible;
  pointer-events:auto;
  transform:translateX(0);
  transition:opacity .34s ease, transform .48s cubic-bezier(.22,.75,.22,1), visibility 0s;
}
body.udgallu-home-test-page .ud-explore-desktop.is-bestiary .ud-explore-base-card:nth-child(n+2),
body.udgallu-home-test-page .ud-explore-desktop.is-gallery .ud-explore-map-card,
body.udgallu-home-test-page .ud-explore-desktop.is-gallery .ud-explore-base-card:nth-child(4){
  opacity:.12;
  filter:blur(1.2px);
  pointer-events:none;
}
body.udgallu-home-test-page .ud-explore-desktop.is-settlements .ud-explore-base-card{
  opacity:.08;
  filter:blur(1.4px);
  pointer-events:none;
}
body.udgallu-home-test-page .ud-explore-gallery-note{
  position:relative;
  min-height:138px;
  border-radius:8px;
  border:1px solid rgba(255,255,255,.13);
  background:rgba(5,12,11,.25);
  backdrop-filter:blur(16px) saturate(112%);
  -webkit-backdrop-filter:blur(16px) saturate(112%);
  padding:18px 18px 16px;
  color:rgba(238,234,225,.76);
  overflow:hidden;
}
body.udgallu-home-test-page .ud-explore-gallery-note strong{
  display:block;
  margin:0 0 10px;
  color:#f2eee3;
  font-family:var(--ud-serif);
  font-size:19px;
  letter-spacing:.06em;
}
body.udgallu-home-test-page .ud-explore-gallery-note p{
  margin:0;
  font-size:13px;
  line-height:1.5;
}
body.udgallu-home-test-page .ud-explore-spark{
  position:absolute;
  z-index:15;
  width:3px;
  height:3px;
  border-radius:50%;
  pointer-events:none;
  opacity:0;
  background:rgba(230,205,132,.92);
  box-shadow:0 0 14px rgba(230,205,132,.55),0 0 22px rgba(115,158,88,.16);
  animation:udExploreSpark 1.55s ease-out forwards;
}
@keyframes udExploreSpark{
  0%{opacity:0;transform:translate(0,0) scale(.4)}
  15%{opacity:.92}
  100%{opacity:0;transform:translate(var(--ex),var(--ey)) scale(.08)}
}

body.udgallu-home-test-page .ud-explore-mobile{display:none;}
@media(max-width:900px){
  body.udgallu-home-test-page .ud-explore-desktop{display:none !important;}
  body.udgallu-home-test-page .ud-explore-mobile{display:block;position:relative;z-index:5;}
  body.udgallu-home-test-page .ud-explore-mobile-group{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;}
  body.udgallu-home-test-page .ud-explore-mobile-card{min-height:170px;}
  body.udgallu-home-test-page .ud-explore-mobile-card small{
    display:block;
    padding:0 14px 6px;
    color:rgba(232,213,154,.76);
    font-size:10px;
    letter-spacing:.20em;
    text-transform:uppercase;
    font-weight:800;
  }
  body.udgallu-home-test-page .ud-explore-mobile-card span{padding-bottom:14px;}
  body.udgallu-home-test-page .ud-explore-mobile-map{grid-column:1 / -1;min-height:190px;}
  body.udgallu-home-test-page .ud-explore-mobile-note{
    min-height:170px;
    border-radius:8px;
    border:1px solid rgba(255,255,255,.13);
    background:rgba(5,12,11,.23);
    backdrop-filter:blur(16px) saturate(112%);
    -webkit-backdrop-filter:blur(16px) saturate(112%);
    padding:18px;
    color:rgba(238,234,225,.74);
  }
  body.udgallu-home-test-page .ud-explore-mobile-note strong{
    display:block;
    margin-bottom:10px;
    color:#f2eee3;
    font-family:var(--ud-serif);
    font-size:20px;
    letter-spacing:.08em;
  }
  body.udgallu-home-test-page .ud-explore-mobile-note p{margin:0;font-size:13px;line-height:1.5;}
}
@media(max-width:560px){
  body.udgallu-home-test-page .ud-explore-mobile-group{grid-template-columns:1fr;}
  body.udgallu-home-test-page .ud-explore-mobile-map{grid-column:auto;}
}

/* === V218: explore reveal corrections + mobile separators + journey CTA === */
body.udgallu-home-test-page .ud-explore-desktop.is-bestiary .ud-explore-base-card:nth-child(1){
  opacity:1 !important;
  filter:none !important;
  pointer-events:auto !important;
}
body.udgallu-home-test-page .ud-explore-desktop.is-bestiary .ud-explore-base-card:nth-child(n+2){
  opacity:.08 !important;
  filter:blur(1.2px) !important;
  pointer-events:none !important;
}
body.udgallu-home-test-page .ud-explore-reveal-bestiary{
  top:38px !important;
  left:calc((100% + 18px) / 4) !important;
  right:0 !important;
  bottom:auto !important;
  grid-template-columns:repeat(3,minmax(0,1fr)) !important;
  gap:18px !important;
}
body.udgallu-home-test-page .ud-explore-reveal-bestiary .ud-explore-slide-card{
  width:100% !important;
  min-width:0 !important;
}
body.udgallu-home-test-page .ud-explore-reveal-settlements{
  top:38px !important;
  left:0 !important;
  right:0 !important;
  bottom:auto !important;
  grid-template-columns:repeat(4,minmax(0,1fr)) !important;
  gap:18px !important;
}
body.udgallu-home-test-page .ud-explore-desktop.is-settlements .ud-explore-base-card{
  opacity:.08 !important;
  filter:blur(1.4px) !important;
  pointer-events:none !important;
}
body.udgallu-home-test-page .ud-explore-slide-card:nth-child(1){animation-delay:.02s;}
body.udgallu-home-test-page .ud-explore-slide-card:nth-child(2){animation-delay:.06s;}
body.udgallu-home-test-page .ud-explore-slide-card:nth-child(3){animation-delay:.10s;}
body.udgallu-home-test-page .ud-explore-slide-card:nth-child(4){animation-delay:.14s;}

@media(max-width:900px){
  body.udgallu-home-test-page .ud-explore-mobile-title{
    grid-column:1 / -1;
    margin:6px 0 -2px;
    padding:0 0 8px;
    border-bottom:1px solid rgba(255,255,255,.12);
    color:rgba(245,239,222,.95);
    font-family:var(--ud-serif);
    font-size:18px;
    font-weight:400;
    line-height:1;
    letter-spacing:.12em;
    text-transform:uppercase;
  }
  body.udgallu-home-test-page .ud-explore-mobile-title span{
    margin-left:8px;
    color:rgba(232,213,154,.68);
    font-family:var(--ud-sans,inherit);
    font-size:10px;
    font-weight:800;
    letter-spacing:.16em;
    vertical-align:middle;
  }
  body.udgallu-home-test-page .ud-explore-mobile-map{grid-column:1 / -1 !important;}
}
@media(max-width:560px){
  body.udgallu-home-test-page .ud-explore-mobile-title{font-size:16px;}
}

body.udgallu-home-test-page .ud-journey-section{
  position:relative;
  z-index:8;
  padding-top:20px !important;
  padding-bottom:54px !important;
  background:#050b0a !important;
}
body.udgallu-home-test-page .ud-journey-panel{
  position:relative;
  overflow:hidden;
  display:grid;
  grid-template-columns:minmax(0,1.35fr) minmax(280px,.65fr);
  gap:26px;
  min-height:245px;
  border-radius:10px;
  padding:34px 38px;
  background:#050b0a var(--journey-image) center center / cover no-repeat;
  box-shadow:0 30px 92px rgba(0,0,0,.28), inset 0 1px 0 rgba(255,255,255,.04);
  backdrop-filter:blur(14px) saturate(110%);
  -webkit-backdrop-filter:blur(14px) saturate(110%);
}
body.udgallu-home-test-page .ud-journey-panel::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:
    linear-gradient(90deg,rgba(5,12,11,.88),rgba(5,12,11,.66) 42%,rgba(5,12,11,.78)),
    linear-gradient(0deg,rgba(5,12,11,.88),rgba(5,12,11,.18) 54%,rgba(5,12,11,.32));
  z-index:1;
}
body.udgallu-home-test-page .ud-journey-panel::after{
  content:"";
  position:absolute;
  pointer-events:none;
  inset:0;
  z-index:2;
  opacity:.42;
  background:
    linear-gradient(90deg,rgba(255,255,255,.50),rgba(255,255,255,.18) 26%,rgba(255,255,255,0)) top left / 30% 1px no-repeat,
    linear-gradient(180deg,rgba(255,255,255,.50),rgba(255,255,255,.18) 36%,rgba(255,255,255,0)) top left / 1px 46% no-repeat,
    linear-gradient(270deg,rgba(255,255,255,.50),rgba(255,255,255,.18) 26%,rgba(255,255,255,0)) bottom right / 30% 1px no-repeat,
    linear-gradient(0deg,rgba(255,255,255,.50),rgba(255,255,255,.18) 36%,rgba(255,255,255,0)) bottom right / 1px 46% no-repeat;
}
body.udgallu-home-test-page .ud-journey-main,
body.udgallu-home-test-page .ud-journey-updates{
  position:relative;
  z-index:3;
}
body.udgallu-home-test-page .ud-journey-main{
  display:flex;
  flex-direction:column;
  justify-content:center;
  max-width:620px;
}
body.udgallu-home-test-page .ud-journey-main h2{
  margin:0 0 10px;
  color:rgba(247,241,229,.96);
  font-family:var(--ud-serif);
  font-weight:400;
  font-size:clamp(26px,2.8vw,43px);
  line-height:1.05;
  letter-spacing:.06em;
  text-transform:uppercase;
}
body.udgallu-home-test-page .ud-journey-main p:not(.ud-section-kicker){
  margin:0 0 18px;
  color:rgba(236,232,220,.72);
  font-size:14px;
  line-height:1.5;
}
body.udgallu-home-test-page .ud-journey-button{
  width:max-content;
  max-width:100%;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:40px;
  padding:0 20px;
  border-radius:5px;
  border:1px solid rgba(232,213,154,.30);
  background:rgba(255,255,255,.075);
  color:rgba(247,241,225,.95);
  text-decoration:none;
  font-size:12px;
  font-weight:800;
  letter-spacing:.12em;
  text-transform:uppercase;
  backdrop-filter:blur(14px) saturate(115%);
  -webkit-backdrop-filter:blur(14px) saturate(115%);
}
body.udgallu-home-test-page .ud-journey-button:hover{
  background:rgba(232,213,154,.12);
  border-color:rgba(232,213,154,.52);
}
body.udgallu-home-test-page .ud-journey-updates{
  align-self:center;
  padding:16px;
  border-radius:10px;
  background:rgba(5,12,11,.28);
  border:1px solid rgba(255,255,255,.12);
  backdrop-filter:blur(18px) saturate(118%);
  -webkit-backdrop-filter:blur(18px) saturate(118%);
}
body.udgallu-home-test-page .ud-journey-updates h3{
  margin:0 0 12px;
  color:rgba(246,240,225,.94);
  font-family:var(--ud-serif);
  font-size:18px;
  font-weight:400;
  letter-spacing:.10em;
  text-transform:uppercase;
}
body.udgallu-home-test-page .ud-journey-update-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;
}
body.udgallu-home-test-page .ud-journey-update{
  min-height:82px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:4px;
  padding:12px;
  border-radius:8px;
  border:1px solid rgba(255,255,255,.11);
  background:rgba(255,255,255,.045);
  color:rgba(238,233,220,.86);
  text-decoration:none;
  overflow:hidden;
}
body.udgallu-home-test-page .ud-journey-update:hover{background:rgba(255,255,255,.075);}
body.udgallu-home-test-page .ud-journey-update-icon{font-size:18px;line-height:1;}
body.udgallu-home-test-page .ud-journey-update small{
  color:rgba(232,213,154,.68);
  font-size:9px;
  font-weight:800;
  letter-spacing:.14em;
  text-transform:uppercase;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
body.udgallu-home-test-page .ud-journey-update strong{
  color:rgba(248,243,229,.96);
  font-size:12px;
  line-height:1.18;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
@media(max-width:900px){
  body.udgallu-home-test-page .ud-journey-panel{
    grid-template-columns:1fr;
    padding:28px 20px;
  }
  body.udgallu-home-test-page .ud-journey-updates{width:100%;}
}
@media(max-width:560px){
  body.udgallu-home-test-page .ud-journey-update-grid{grid-template-columns:1fr;}
  body.udgallu-home-test-page .ud-journey-button{width:100%;}
}


/* === V219 test-only: polish journey updates, footer, and park inactive video block === */
body.udgallu-home-test-page .ud-living-section.is-disabled{
  display:none !important;
}

body.udgallu-home-test-page .ud-journey-updates{
  padding:0 !important;
  border:0 !important;
  background:transparent !important;
  box-shadow:none !important;
  backdrop-filter:none !important;
  -webkit-backdrop-filter:none !important;
}
body.udgallu-home-test-page .ud-journey-updates h3{
  margin:0 0 12px !important;
  padding:0 !important;
  color:rgba(246,240,225,.94) !important;
}
body.udgallu-home-test-page .ud-journey-update-grid{
  gap:12px !important;
}
body.udgallu-home-test-page .ud-journey-update{
  background:rgba(255,255,255,.045) !important;
  border:1px solid rgba(255,255,255,.13) !important;
  box-shadow:none !important;
  backdrop-filter:blur(14px) saturate(112%) !important;
  -webkit-backdrop-filter:blur(14px) saturate(112%) !important;
}
body.udgallu-home-test-page .ud-journey-update:hover{
  background:rgba(255,255,255,.075) !important;
}

body.udgallu-home-test-page .ud-footer{
  background:#050b0a !important;
  border-top:1px solid rgba(255,255,255,.08) !important;
  color:rgba(236,232,220,.72) !important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.025) !important;
}
body.udgallu-home-test-page .ud-footer::before,
body.udgallu-home-test-page .ud-footer::after{
  display:none !important;
}
body.udgallu-home-test-page .ud-footer a,
body.udgallu-home-test-page .ud-footer-nav a{
  color:rgba(236,232,220,.70) !important;
}
body.udgallu-home-test-page .ud-footer a:hover,
body.udgallu-home-test-page .ud-footer-nav a:hover{
  color:rgba(232,213,154,.92) !important;
}
body.udgallu-home-test-page .ud-footer .ud-logo,
body.udgallu-home-test-page .ud-footer-logo,
body.udgallu-home-test-page .ud-footer-title{
  color:rgba(247,241,229,.94) !important;
}
body.udgallu-home-test-page .ud-footer .ud-social-link,
body.udgallu-home-test-page .ud-footer .ud-footer-social a,
body.udgallu-home-test-page .ud-footer .ud-contact-link,
body.udgallu-home-test-page .ud-footer .ud-feedback-link{
  background:rgba(255,255,255,.045) !important;
  border-color:rgba(255,255,255,.13) !important;
  color:rgba(247,241,229,.85) !important;
  box-shadow:none !important;
}
body.udgallu-home-test-page .ud-footer .ud-social-link:hover,
body.udgallu-home-test-page .ud-footer .ud-footer-social a:hover,
body.udgallu-home-test-page .ud-footer .ud-contact-link:hover,
body.udgallu-home-test-page .ud-footer .ud-feedback-link:hover{
  background:rgba(232,213,154,.10) !important;
  border-color:rgba(232,213,154,.34) !important;
}

@media(max-width:900px){
  body.udgallu-home-test-page .ud-journey-updates{width:100% !important;}
}

/* V223 safe correction: return the new home to the original green-gold base instead of spreading the blue/graphite palette. */
body.udgallu-home-page,
body.udgallu-home-test-page{
  --ud-bg:#050b0a;
  --ud-bg-soft:rgba(5,12,11,.92);
  --ud-panel:rgba(7,18,15,.72);
  --ud-green:#91ad68;
  --ud-gold:#d0aa35;
  --ud-border:rgba(162,194,125,.18);
  background:#050b0a !important;
}
body.udgallu-home-page .ud-page,
body.udgallu-home-test-page .ud-page,
body.udgallu-home-page main,
body.udgallu-home-test-page main{
  background:
    radial-gradient(circle at 52% 0%,rgba(87,112,63,.14),transparent 35%),
    linear-gradient(180deg,#07100f 0%,#050b0a 58%,#020605 100%) !important;
}
body.udgallu-home-page .ud-header,
body.udgallu-home-test-page .ud-header{
  background:rgba(4,10,9,.42) !important;
  border-bottom:1px solid rgba(255,255,255,.08) !important;
  backdrop-filter:blur(16px) saturate(118%) !important;
  -webkit-backdrop-filter:blur(16px) saturate(118%) !important;
}
body.udgallu-home-page .ud-language-menu,
body.udgallu-home-test-page .ud-language-menu,
body.udgallu-home-page .ud-mobile-menu,
body.udgallu-home-test-page .ud-mobile-menu{
  background:rgba(4,10,9,.42) !important;
  border-color:rgba(255,255,255,.12) !important;
  backdrop-filter:blur(16px) saturate(118%) !important;
  -webkit-backdrop-filter:blur(16px) saturate(118%) !important;
}
body.udgallu-home-page .ud-home-hero-video,
body.udgallu-home-test-page .ud-home-hero-video{background:#050b0a !important;}
body.udgallu-home-page .ud-home-hero::before,
body.udgallu-home-test-page .ud-home-hero::before{
  background:
    radial-gradient(circle at 50% 42%,rgba(0,0,0,.02),rgba(0,0,0,.68) 74%),
    linear-gradient(180deg,rgba(5,11,10,.14),rgba(5,11,10,.88)) !important;
}
body.udgallu-home-page .ud-home-hero::after,
body.udgallu-home-test-page .ud-home-hero::after{
  background:linear-gradient(0deg,#050b0a 0%,rgba(5,11,10,.94) 10%,rgba(5,11,10,.70) 24%,rgba(5,11,10,.36) 44%,rgba(5,11,10,0) 70%) !important;
}
body.udgallu-home-page .ud-home-hero + .ud-section > .ud-wrap,
body.udgallu-home-test-page .ud-home-hero + .ud-section > .ud-wrap,
body.udgallu-home-page .ud-heroes-panel,
body.udgallu-home-test-page .ud-heroes-panel,
body.udgallu-home-page .ud-explore-panel,
body.udgallu-home-test-page .ud-explore-panel,
body.udgallu-home-page .ud-journey-panel,
body.udgallu-home-test-page .ud-journey-panel{
  background:rgba(5,12,11,.26) !important;
  border-color:rgba(255,255,255,.12) !important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.035), 0 24px 80px rgba(0,0,0,.22) !important;
}
body.udgallu-home-page .ud-story-card,
body.udgallu-home-test-page .ud-story-card,
body.udgallu-home-page .ud-hero-strip-card,
body.udgallu-home-test-page .ud-hero-strip-card,
body.udgallu-home-page .ud-explore-preview,
body.udgallu-home-test-page .ud-explore-preview,
body.udgallu-home-page .ud-explore-slide-card,
body.udgallu-home-test-page .ud-explore-slide-card,
body.udgallu-home-page .ud-news-card,
body.udgallu-home-test-page .ud-news-card{
  border-color:rgba(162,194,125,.18) !important;
}
body.udgallu-home-page .ud-card-tag,
body.udgallu-home-test-page .ud-card-tag,
body.udgallu-home-page .ud-kicker,
body.udgallu-home-test-page .ud-kicker,
body.udgallu-home-page .ud-panel-link,
body.udgallu-home-test-page .ud-panel-link{color:#d0aa35 !important;}

/* === V224: safe rollback of blue-black residues + lighter hero, no top menu gap === */
body.udgallu-home-page,
body.udgallu-home-page .ud-page,
body.udgallu-home-page main{
  background:#050b0a !important;
}
body.udgallu-home-page .ud-page{
  background:
    radial-gradient(circle at 52% 0%, rgba(87,112,63,.13), transparent 34%),
    linear-gradient(180deg,#07100f 0%,#050b0a 58%,#020605 100%) !important;
}
body.udgallu-home-page .ud-header{
  position:fixed !important;
  left:0 !important;
  right:0 !important;
  top:0 !important;
  z-index:10000 !important;
  background:rgba(4,10,9,.36) !important;
  border-bottom:1px solid rgba(255,255,255,.08) !important;
  box-shadow:0 10px 34px rgba(0,0,0,.18), inset 0 1px 0 rgba(255,255,255,.04) !important;
  backdrop-filter:blur(16px) saturate(118%) !important;
  -webkit-backdrop-filter:blur(16px) saturate(118%) !important;
}
body.admin-bar.udgallu-home-page .ud-header{top:32px !important;}
@media(max-width:782px){body.admin-bar.udgallu-home-page .ud-header{top:46px !important;}}
body.udgallu-home-page .ud-home-hero{
  margin-top:0 !important;
  padding-top:0 !important;
  background-color:#050b0a !important;
}
body.udgallu-home-page .ud-home-hero-video{background:#050b0a !important;}
body.udgallu-home-page .ud-home-hero::before{
  background:
    radial-gradient(circle at 50% 43%, rgba(0,0,0,0) 0%, rgba(0,0,0,.08) 58%, rgba(0,0,0,.18) 100%),
    linear-gradient(180deg, rgba(5,11,10,.04) 0%, rgba(5,11,10,.20) 62%, rgba(5,11,10,.78) 100%) !important;
}
body.udgallu-home-page .ud-home-hero::after{
  background:linear-gradient(0deg,#050b0a 0%,rgba(5,11,10,.78) 16%,rgba(5,11,10,.32) 42%,rgba(5,11,10,0) 72%) !important;
}
body.udgallu-home-page .ud-section,
body.udgallu-home-page .ud-section-compact,
body.udgallu-home-page .ud-heroes-strip-section,
body.udgallu-home-page .ud-explore-section,
body.udgallu-home-page .ud-journey-section{
  background:transparent !important;
}
body.udgallu-home-page .ud-journey-panel{background:#050b0a var(--journey-image) center center/cover no-repeat !important;}

/* === V225: clickable explore section headings === */
body.udgallu-home-page .ud-explore-headline-link{
  text-decoration:none;
  cursor:pointer;
  border-radius:999px;
  padding:4px 10px;
  margin-left:auto;
  margin-right:auto;
  transition:background .18s ease, color .18s ease, transform .18s ease, opacity .18s ease;
}
body.udgallu-home-page .ud-explore-headline-link b{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  margin-left:2px;
  color:rgba(229,216,178,.74);
  font:700 15px/1 var(--ud-sans,Arial,sans-serif);
  opacity:.72;
  transform:translateX(0);
  transition:opacity .18s ease, transform .18s ease, color .18s ease;
}
body.udgallu-home-page .ud-explore-headline-link:hover,
body.udgallu-home-page .ud-explore-headline-link:focus-visible{
  background:rgba(255,255,255,.045);
  outline:none;
  transform:translateY(-1px);
}
body.udgallu-home-page .ud-explore-headline-link:hover b,
body.udgallu-home-page .ud-explore-headline-link:focus-visible b{
  opacity:1;
  color:rgba(232,213,154,.96);
  transform:translateX(3px);
}


/* === V226: keep active explore headings clickable/visible during reveal === */
body.udgallu-home-page .ud-explore-desktop.is-settlements .ud-explore-base-card:nth-child(2),
body.udgallu-home-test-page .ud-explore-desktop.is-settlements .ud-explore-base-card:nth-child(2),
body.udgallu-home-page .ud-explore-desktop.is-bestiary .ud-explore-base-card:nth-child(1),
body.udgallu-home-test-page .ud-explore-desktop.is-bestiary .ud-explore-base-card:nth-child(1){
  opacity:1 !important;
  filter:none !important;
  pointer-events:auto !important;
  z-index:24 !important;
}
body.udgallu-home-page .ud-explore-desktop.is-settlements .ud-explore-base-card:nth-child(2) .ud-explore-headline,
body.udgallu-home-test-page .ud-explore-desktop.is-settlements .ud-explore-base-card:nth-child(2) .ud-explore-headline,
body.udgallu-home-page .ud-explore-desktop.is-bestiary .ud-explore-base-card:nth-child(1) .ud-explore-headline,
body.udgallu-home-test-page .ud-explore-desktop.is-bestiary .ud-explore-base-card:nth-child(1) .ud-explore-headline{
  position:relative;
  z-index:30 !important;
}
body.udgallu-home-page .ud-explore-desktop.is-settlements .ud-explore-base-card:nth-child(2) .ud-explore-preview,
body.udgallu-home-test-page .ud-explore-desktop.is-settlements .ud-explore-base-card:nth-child(2) .ud-explore-preview{
  opacity:.10 !important;
  filter:blur(1.2px) brightness(.72) !important;
  pointer-events:none !important;
}
body.udgallu-home-page .ud-explore-headline-link,
body.udgallu-home-test-page .ud-explore-headline-link{
  position:relative;
  z-index:31 !important;
}

/* === V227: soften bottom/footer transition on the new home === */
body.udgallu-home-page,
body.udgallu-home-page .ud-page,
body.udgallu-home-page main{
  background:#050b0a !important;
}
body.udgallu-home-page .ud-page,
body.udgallu-home-page main{
  background:
    radial-gradient(circle at 52% 0%, rgba(87,112,63,.13), transparent 34%),
    linear-gradient(180deg,#07100f 0%,#050b0a 52%,#050b0a 100%) !important;
}
body.udgallu-home-page .ud-journey-section{
  padding-bottom:44px !important;
  background:linear-gradient(180deg,rgba(5,11,10,0),rgba(5,11,10,.36) 72%,rgba(5,11,10,.12)) !important;
}
body.udgallu-home-page .ud-footer,
body.udgallu-home-page .ud-footer-sources{
  margin-top:0 !important;
  background:
    radial-gradient(circle at 46% 0%, rgba(145,173,104,.07), transparent 46%),
    linear-gradient(180deg,rgba(5,11,10,.16),rgba(5,11,10,.36)) !important;
  border-top:1px solid rgba(162,194,125,.08) !important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.018) !important;
}
body.udgallu-home-page .ud-footer::before,
body.udgallu-home-page .ud-footer-sources::before{
  content:"";
  position:absolute;
  left:0;
  right:0;
  top:-78px;
  height:78px;
  pointer-events:none;
  background:linear-gradient(180deg,rgba(5,11,10,0),rgba(5,11,10,.22));
}
body.udgallu-home-page .ud-footer,
body.udgallu-home-page .ud-footer-sources{position:relative;}

/* V228: mobile explore headers use icons only, no misleading material counts */
body.udgallu-home-page .ud-explore-mobile-icon,
body.udgallu-home-test-page .ud-explore-mobile-icon{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:18px;
  margin-right:8px;
  color:rgba(219,197,128,.92);
  font-family:var(--ud-sans,inherit);
  font-size:13px;
  line-height:1;
  text-shadow:0 0 10px rgba(202,177,94,.22);
}
