:root{
  --hke-bg0:#070A10;
  --hke-bg1:#0B0F18;
  --hke-panel:rgba(255,255,255,.06);
  --hke-panel-strong:rgba(255,255,255,.08);
  --hke-border:rgba(255,255,255,.10);
  --hke-text:#EAEFF7;
  --hke-muted:rgba(234,239,247,.72);
  --hke-gold:#D9B25F;
  --hke-gold-2:#F0D08A;
  --hke-shadow:0 18px 55px rgba(0,0,0,.45);
}

.hke-logo,
.site-logo,
.brand-logo,
.navbar-brand img,
header img.logo,
.brand img,
.hke-polish-brand img{
  max-height:58px;
  width:auto;
  height:auto;
  max-width:280px;
  object-fit:contain;
  display:block;
}

.brand,
.navbar-brand,
.hke-polish-brand{
  display:flex;
  align-items:center;
  gap:12px;
  min-width:0;
}

.brand > div,
.navbar-brand > div,
.hke-polish-brand > div,
.brand-copy{
  min-width:0;
}

.topbar .container,
.nav-wrap .navbar,
.hke-polish-topbar .inner,
header .container{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
}

.brand-logo{
  width:auto;
  height:auto;
  min-width:0;
  flex:0 0 auto;
  display:flex;
  align-items:center;
  justify-content:center;
}

.brand-logo img{
  max-height:58px;
  width:auto;
  height:auto;
  max-width:280px;
  object-fit:contain;
  display:block;
}

body.hke-basic-page{
  min-height:100vh;
  color:var(--hke-text);
  background:
    radial-gradient(1100px 600px at 15% 10%, rgba(217,178,95,.12), transparent 60%),
    radial-gradient(900px 520px at 85% 12%, rgba(240,208,138,.08), transparent 55%),
    linear-gradient(180deg, var(--hke-bg0), var(--hke-bg1));
}

.hke-polish-topbar{
  position:sticky;
  top:0;
  z-index:1000;
  backdrop-filter:blur(14px);
  background:rgba(7,10,16,.72);
  border-bottom:1px solid rgba(255,255,255,.08);
  box-shadow:0 14px 40px rgba(0,0,0,.28);
}

.hke-polish-topbar .inner{
  width:min(1120px,92%);
  margin:0 auto;
  padding:14px 0;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  flex-wrap:wrap;
}

.hke-polish-brand{
  display:flex;
  align-items:center;
  gap:12px;
  color:var(--hke-text);
  text-decoration:none;
}

.hke-polish-brand img{
  max-height:58px;
  width:auto;
  height:auto;
  max-width:280px;
  object-fit:contain;
  background:rgba(255,255,255,.96);
  border-radius:14px;
  padding:7px;
  box-shadow:0 0 0 1px rgba(217,178,95,.35), 0 18px 40px rgba(0,0,0,.35);
}

.hke-polish-brand .line1{
  margin:0;
  font-weight:800;
  line-height:1.1;
}

.hke-polish-brand .line2{
  margin:0;
  font-size:.88rem;
  color:rgba(240,208,138,.88);
  line-height:1.15;
}

.hke-polish-actions{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
}

.hke-home-link{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:42px;
  padding:10px 16px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.18);
  background:rgba(255,255,255,.06);
  color:var(--hke-text) !important;
  text-decoration:none;
  font-weight:700;
  transition:transform .2s ease, background .2s ease, border-color .2s ease;
}

.hke-home-link:hover{
  transform:translateY(-1px);
  background:rgba(255,255,255,.1);
  border-color:rgba(217,178,95,.42);
  color:var(--hke-gold-2) !important;
}

body.hke-basic-page section.container.my-5{
  width:min(1120px,92%);
  margin:32px auto 0 !important;
  padding:28px;
  border-radius:24px;
  background:var(--hke-panel);
  border:1px solid var(--hke-border);
  box-shadow:var(--hke-shadow);
  backdrop-filter:blur(14px);
}

body.hke-basic-page .section-title{
  color:var(--hke-gold-2);
  font-weight:800;
  margin-bottom:1rem;
}

body.hke-basic-page .card,
body.hke-basic-page .ratio,
body.hke-basic-page .img-fluid{
  border-radius:18px;
}

body.hke-basic-page .card{
  background:rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.08);
  box-shadow:none;
}

body.hke-basic-page .text-muted,
body.hke-basic-page .form-text{
  color:var(--hke-muted) !important;
}

body.hke-basic-page .form-control,
body.hke-basic-page textarea{
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.12);
  color:var(--hke-text);
}

body.hke-basic-page .form-control::placeholder,
body.hke-basic-page textarea::placeholder{
  color:rgba(234,239,247,.5);
}

body.hke-basic-page .btn-warning,
body.hke-basic-page .btn.btn-warning{
  border:none;
  border-radius:999px;
  padding:10px 18px;
  font-weight:800;
  color:#0b0f18;
  background:linear-gradient(135deg, var(--hke-gold), var(--hke-gold-2));
  box-shadow:0 18px 35px rgba(217,178,95,.18);
}

footer.hke-shared-footer{
  margin-top:40px;
  padding:26px 16px 34px;
  background:rgba(7,10,16,.88);
  border-top:1px solid rgba(255,255,255,.08);
  backdrop-filter:blur(14px);
}

footer.hke-shared-footer .container,
footer.hke-shared-footer .inner{
  width:min(1120px,92%);
  margin:0 auto;
  text-align:center;
}

.hke-footer-copy{
  font-weight:700;
}

.hke-footer-meta{
  margin-top:8px;
  color:var(--hke-muted);
}

.hke-footer-meta strong{
  color:var(--hke-text);
  font-weight:600;
}

.hke-footer-links{
  margin-top:12px;
  display:flex;
  justify-content:center;
  align-items:center;
  gap:14px;
  flex-wrap:wrap;
}

.hke-footer-links a{
  color:var(--hke-text);
  text-decoration:none;
}

.hke-footer-links a:hover{
  color:var(--hke-gold-2);
}

@media (max-width: 768px){
  .hke-logo,
  .site-logo,
  .brand-logo,
  .brand-logo img,
  .navbar-brand img,
  header img.logo,
  .brand img,
  .hke-polish-brand img{
    max-height:46px;
    max-width:220px;
  }

  .hke-polish-topbar .inner{
    align-items:flex-start;
  }

  .hke-polish-actions{
    width:100%;
  }

  .hke-home-link{
    width:100%;
  }

  body.hke-basic-page section.container.my-5{
    padding:22px 16px;
    margin-top:24px !important;
  }

  .hke-footer-links{
    gap:10px;
  }
}
