
:root{
  --tvpd-gold:#d6ad52;
  --tvpd-deep-green:#07180f;
  --tvpd-panel-green:#102a1b;
  --tvpd-river-teal:#4ab6aa;
  --tvpd-cream:#f5edd5;
  --tvpd-brown:#7b4e2f;
  --tvpd-shadow:0 18px 45px rgba(0,0,0,.28);
  --tvpd-radius:18px;
}

.tvpd-design-engine-active .tvpe-wrap,
.tvpd-design-engine-active .tvp-public,
.tvpd-design-engine-active .tvpf-wrap{
  max-width:1280px!important;
  margin:30px auto!important;
  padding:22px!important;
  background:
    radial-gradient(circle at 15% 0%,rgba(74,182,170,.14),transparent 30%),
    radial-gradient(circle at 90% 5%,rgba(214,173,82,.12),transparent 26%),
    linear-gradient(180deg,#06110b,var(--tvpd-deep-green))!important;
  color:var(--tvpd-cream)!important;
  border:1px solid rgba(214,173,82,.34)!important;
  border-radius:24px!important;
  box-shadow:var(--tvpd-shadow)!important;
  font-family:"Libre Baskerville",Georgia,serif!important;
}

.tvpd-design-engine-active .tvpe-hero,
.tvpd-design-engine-active .tvp-hero,
.tvpd-design-engine-active .tvpf-hero{
  position:relative;
  overflow:hidden;
  padding:52px 30px!important;
  text-align:center!important;
  background:
    linear-gradient(135deg,rgba(5,29,17,.96),rgba(16,54,33,.88)),
    repeating-linear-gradient(45deg,transparent 0 18px,rgba(214,173,82,.025) 18px 20px)!important;
  border:1px solid rgba(214,173,82,.55)!important;
  border-bottom:5px solid var(--tvpd-gold)!important;
  border-radius:20px!important;
  box-shadow:inset 0 0 80px rgba(0,0,0,.34),0 12px 30px rgba(0,0,0,.28)!important;
}

.tvpd-design-engine-active .tvpe-hero:before,
.tvpd-design-engine-active .tvp-hero:before,
.tvpd-design-engine-active .tvpf-hero:before{
  content:"";
  position:absolute;
  inset:12px;
  border:1px solid rgba(245,237,213,.18);
  border-radius:14px;
  pointer-events:none;
}

.tvpd-design-engine-active h1,
.tvpd-design-engine-active h2,
.tvpd-design-engine-active h3{
  font-family:"Cinzel",Georgia,serif!important;
  letter-spacing:.025em!important;
}

.tvpd-design-engine-active .tvpe-hero h1,
.tvpd-design-engine-active .tvp-hero h1,
.tvpd-design-engine-active .tvpf-hero h1{
  position:relative;
  color:var(--tvpd-gold)!important;
  font-size:clamp(2rem,5vw,4.25rem)!important;
  line-height:1.05!important;
  text-shadow:0 3px 0 rgba(0,0,0,.35),0 0 26px rgba(214,173,82,.20)!important;
  margin:12px auto!important;
}

.tvpd-design-engine-active .tvpe-symbol{
  color:var(--tvpd-river-teal)!important;
  letter-spacing:.25em!important;
  font-family:"Cinzel",serif!important;
}

.tvpd-design-engine-active .tvpe-card,
.tvpd-design-engine-active .tvp-card,
.tvpd-design-engine-active .tvpf-card{
  background:
    linear-gradient(145deg,rgba(18,48,30,.98),rgba(8,27,16,.98))!important;
  border:1px solid rgba(214,173,82,.32)!important;
  border-radius:var(--tvpd-radius)!important;
  box-shadow:0 12px 34px rgba(0,0,0,.24)!important;
  color:var(--tvpd-cream)!important;
}

.tvpd-design-engine-active .tvpe-card:hover,
.tvpd-design-engine-active .tvp-card:hover,
.tvpd-design-engine-active .tvpf-card:hover{
  border-color:rgba(214,173,82,.68)!important;
  transform:translateY(-2px);
  transition:.2s ease;
}

.tvpd-design-engine-active .tvpe-card h2,
.tvpd-design-engine-active .tvp-card h2,
.tvpd-design-engine-active .tvpf-card h2{
  color:var(--tvpd-gold)!important;
  border-bottom:1px solid rgba(214,173,82,.24);
  padding-bottom:10px;
}

.tvpd-design-engine-active .tvpe-navigation{
  background:linear-gradient(180deg,#102e1c,#08190f)!important;
  border:1px solid rgba(214,173,82,.38)!important;
  border-radius:18px!important;
  box-shadow:0 12px 28px rgba(0,0,0,.25)!important;
}

.tvpd-design-engine-active .tvpe-navigation a{
  color:var(--tvpd-cream)!important;
  border-bottom:1px solid rgba(245,237,213,.09)!important;
  padding:11px 9px!important;
}

.tvpd-design-engine-active .tvpe-navigation a:hover{
  color:var(--tvpd-gold)!important;
  background:rgba(214,173,82,.07)!important;
  padding-left:14px!important;
}

.tvpd-design-engine-active button,
.tvpd-design-engine-active .tvp-button,
.tvpd-design-engine-active .button-primary{
  background:linear-gradient(135deg,#8b6425,var(--tvpd-gold),#efd98d)!important;
  color:#171006!important;
  border:1px solid #f4df9d!important;
  border-radius:999px!important;
  padding:11px 19px!important;
  font-family:"Cinzel",Arial,sans-serif!important;
  font-weight:700!important;
  letter-spacing:.025em!important;
  text-decoration:none!important;
  box-shadow:0 7px 18px rgba(0,0,0,.24)!important;
}

.tvpd-design-engine-active button:hover,
.tvpd-design-engine-active .tvp-button:hover{
  filter:brightness(1.08)!important;
  transform:translateY(-1px);
}

.tvpd-design-engine-active input,
.tvpd-design-engine-active select,
.tvpd-design-engine-active textarea{
  background:#06140c!important;
  color:var(--tvpd-cream)!important;
  border:1px solid rgba(74,182,170,.55)!important;
  border-radius:11px!important;
}

.tvpd-design-engine-active input:focus,
.tvpd-design-engine-active select:focus,
.tvpd-design-engine-active textarea:focus{
  border-color:var(--tvpd-gold)!important;
  box-shadow:0 0 0 3px rgba(214,173,82,.14)!important;
  outline:none!important;
}

.tvpd-design-engine-active .tvpe-progress-bar{
  background:#041008!important;
  border:1px solid rgba(74,182,170,.42)!important;
  height:11px!important;
}

.tvpd-design-engine-active .tvpe-progress-bar span{
  background:linear-gradient(90deg,var(--tvpd-river-teal),var(--tvpd-gold))!important;
  box-shadow:0 0 14px rgba(74,182,170,.42)!important;
}

.tvpd-design-engine-active table{
  border-collapse:separate!important;
  border-spacing:0!important;
  overflow:hidden!important;
  border:1px solid rgba(214,173,82,.26)!important;
  border-radius:14px!important;
}

.tvpd-design-engine-active th{
  background:#153a24!important;
  color:var(--tvpd-gold)!important;
  font-family:"Cinzel",serif!important;
}

.tvpd-design-engine-active td{
  background:rgba(7,24,15,.78)!important;
  color:var(--tvpd-cream)!important;
  border-color:rgba(245,237,213,.08)!important;
}

.tvpd-design-engine-active .tvpe-notice,
.tvpd-design-engine-active .tvp-notice{
  background:linear-gradient(90deg,rgba(74,182,170,.16),rgba(214,173,82,.08))!important;
  border-left:5px solid var(--tvpd-river-teal)!important;
  color:var(--tvpd-cream)!important;
}

.tvpd-admin-wrap{max-width:1050px}
.tvpd-admin-card{background:#fff;border:1px solid #dcdcde;border-radius:12px;padding:18px;margin:14px 0}
.tvpd-admin-card label{display:block;margin:12px 0}
.tvpd-admin-card input,.tvpd-admin-card textarea{width:100%;margin-top:5px}
.tvpd-admin-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:12px}

@media(max-width:800px){
  .tvpd-design-engine-active .tvpe-wrap,
  .tvpd-design-engine-active .tvp-public,
  .tvpd-design-engine-active .tvpf-wrap{padding:11px!important;margin:14px 4px!important}
  .tvpd-design-engine-active .tvpe-hero,
  .tvpd-design-engine-active .tvp-hero,
  .tvpd-design-engine-active .tvpf-hero{padding:34px 14px!important}
}
