/* Lusohub forum shell: stepped (pixel) edges, section indicator, banner, avatars.
   Loaded from the Custom Footer. Safe to delete: the forum falls back to its default look. */
:root{--lh-ln:rgba(168,85,247,.5);--lh-hi:#ec4899;--lh-page:#0d0618}

/* ───────── top navigation + "you are here" indicator ───────── */
.lh-wrap .lh-top{display:flex;justify-content:center;align-items:stretch;gap:2px;flex-wrap:wrap;padding:0 12px;background:rgba(10,4,22,.97);border-bottom:2px solid rgba(147,51,234,.35)}
.lh-wrap .lh-top a{position:relative;display:inline-flex;align-items:center;gap:9px;padding:17px 18px 15px;color:#b9a2e0;text-transform:uppercase;font-weight:700;font-size:13px;letter-spacing:1.6px;text-decoration:none;background:linear-gradient(180deg,transparent 40%,transparent);transition:color .15s,background .2s}
.lh-wrap .lh-top a i{font-size:14px;opacity:.85;transition:color .15s,opacity .15s}
.lh-wrap .lh-top a::after{content:'';position:absolute;left:10px;right:10px;bottom:-2px;height:4px;background:linear-gradient(90deg,#9333ea,#ec4899);transform:scaleX(0);transform-origin:center;transition:transform .2s ease,box-shadow .2s}
.lh-wrap .lh-top a:hover,.lh-wrap .lh-top a:focus-visible{color:#fff;outline:0}
.lh-wrap .lh-top a:hover::after,.lh-wrap .lh-top a:focus-visible::after{transform:scaleX(.45)}
.lh-wrap .lh-top a.is-active{color:#fff;background:linear-gradient(180deg,transparent 30%,rgba(147,51,234,.22))}
.lh-wrap .lh-top a.is-active i{color:#f472b6;opacity:1}
.lh-wrap .lh-top a.is-active::after{transform:scaleX(1);box-shadow:0 0 14px rgba(236,72,153,.75)}
/* Discord: underline on hover, focus and after it has been clicked */
.lh-wrap .lh-top a[data-discord]:hover,.lh-wrap .lh-top a[data-discord].is-clicked{text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:7px;text-decoration-color:#ec4899}

/* ───────── banner ───────── */
.lh-wrap .lh-hero{position:relative;overflow:hidden;padding-bottom:26px}
.lh-hero > canvas.lh-fx{position:absolute;left:0;top:0;width:100%;height:100%;z-index:0;pointer-events:none}
.lh-hero > :not(canvas){position:relative;z-index:1}
/* rough, terrain-like bottom edge (steps in the page colour) */
.lh-hero::after{content:'';position:absolute;left:0;right:0;bottom:-1px;height:16px;z-index:2;pointer-events:none;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='16' shape-rendering='crispEdges'%3E%3Cg fill='%230d0618'%3E%3Crect x='0' y='12' width='8' height='4'/%3E%3Crect x='8' y='12' width='8' height='4'/%3E%3Crect x='16' y='8' width='8' height='8'/%3E%3Crect x='24' y='8' width='8' height='8'/%3E%3Crect x='32' y='4' width='8' height='12'/%3E%3Crect x='40' y='4' width='8' height='12'/%3E%3Crect x='48' y='8' width='8' height='8'/%3E%3Crect x='56' y='12' width='8' height='4'/%3E%3Crect x='64' y='8' width='8' height='8'/%3E%3Crect x='72' y='8' width='8' height='8'/%3E%3Crect x='80' y='12' width='8' height='4'/%3E%3Crect x='88' y='12' width='8' height='4'/%3E%3C/g%3E%3C/svg%3E") repeat-x left bottom}

.lh-wrap .lh-stat{display:flex;align-items:center;gap:16px;color:#fff;cursor:pointer;text-decoration:none;min-width:190px;outline:0}
.lh-wrap .lh-stat.lh-right{flex-direction:row-reverse;text-align:right}
.lh-wrap .lh-stat small{display:block;font-size:11px;letter-spacing:1.6px;text-transform:uppercase;color:#cbb8ee}
.lh-wrap .lh-stat b{display:block;font-size:20px;line-height:1.25;color:#f472b6}
.lh-wrap .lh-ico{--c:#c084fc;flex:none;width:48px;height:48px;margin:3px;border-radius:0;display:flex;align-items:center;justify-content:center;font-size:20px;color:#fff;background:linear-gradient(135deg,#9333ea,#ec4899);box-shadow:0 -3px 0 0 var(--c),0 3px 0 0 var(--c),-3px 0 0 0 var(--c),3px 0 0 0 var(--c),0 0 24px rgba(236,72,153,.4);transition:transform .15s,box-shadow .15s}
.lh-wrap .lh-stat:hover .lh-ico,.lh-wrap .lh-stat:focus-visible .lh-ico{--c:#f9a8d4;transform:translateY(-2px)}
/* link-style text: the underline draws in on hover, focus and once clicked */
.lh-wrap .lh-stat .lh-sub{display:inline-block;font-size:13px;font-weight:700;color:#fff;padding-bottom:3px;background:linear-gradient(#ec4899,#ec4899) left bottom/0 2px no-repeat;transition:background-size .22s ease}
.lh-wrap .lh-stat:hover .lh-sub,.lh-wrap .lh-stat:focus-visible .lh-sub,.lh-wrap .lh-stat.is-clicked .lh-sub{background-size:100% 2px}
.lh-wrap .lh-stat.lh-right .lh-sub{background-position:right bottom}

.lh-wrap .lh-logo{filter:drop-shadow(0 0 26px rgba(147,51,234,.7))}
.lh-toast{border-radius:0!important;box-shadow:0 -3px 0 0 #c084fc,0 3px 0 0 #c084fc,-3px 0 0 0 #c084fc,3px 0 0 0 #c084fc}

/* ───────── footer ───────── */
.lh-footer{text-align:center;padding:26px 14px 34px;color:#a68bc9;font-size:13px;line-height:1.9}
.lh-footer a{color:#f472b6;font-weight:600;text-decoration:none;margin:0 6px}
.lh-footer a:hover{text-decoration:underline;text-underline-offset:4px;text-decoration-thickness:2px}
.lh-footer b{color:#fff}
.lh-footer small{display:block;color:#7d6a9a;font-size:12px}

/* ───────── stepped edges on Flarum's own pieces ───────── */
.App-header{border-radius:0!important;width:min(1180px,calc(100% - 8px));margin:20px auto 0!important;box-shadow:0 -2px 0 0 var(--lh-ln),0 2px 0 0 var(--lh-ln),-2px 0 0 0 var(--lh-ln),2px 0 0 0 var(--lh-ln)!important}
.Button--primary{border-radius:0!important;margin:2px;box-shadow:0 -2px 0 0 #c084fc,0 2px 0 0 #c084fc,-2px 0 0 0 #c084fc,2px 0 0 0 #c084fc!important;transition:transform .12s,background .12s!important}
.Button--primary:hover{transform:translateY(-1px);box-shadow:0 -2px 0 0 #f9a8d4,0 2px 0 0 #f9a8d4,-2px 0 0 0 #f9a8d4,2px 0 0 0 #f9a8d4!important}
.FormControl,.Dropdown-menu,.Button:not(.Button--primary):not(.Button--icon){border-radius:0!important}
/* avatars: square heads with a stepped corner */
.Avatar,.lh-av{--k:min(12%,4px);border-radius:0!important;clip-path:polygon(0 var(--k),var(--k) var(--k),var(--k) 0,calc(100% - var(--k)) 0,calc(100% - var(--k)) var(--k),100% var(--k),100% calc(100% - var(--k)),calc(100% - var(--k)) calc(100% - var(--k)),calc(100% - var(--k)) 100%,var(--k) 100%,var(--k) calc(100% - var(--k)),0 calc(100% - var(--k)))}

@media (max-width:768px){
  .lh-wrap .lh-top{gap:0;padding:0 4px}
  .lh-wrap .lh-top a{padding:14px 10px 12px;font-size:11.5px;letter-spacing:1px;gap:6px}
  .lh-wrap .lh-top a::after{left:6px;right:6px}
  .lh-wrap .lh-hero{padding-bottom:22px}
}
@media (max-width:520px){
  .lh-wrap .lh-top a i{display:none}
  .lh-wrap .lh-top a{padding:14px 8px 12px;font-size:11px}
}
@media (prefers-reduced-motion:reduce){
  .lh-wrap .lh-top a::after,.lh-wrap .lh-ico,.lh-wrap .lh-stat .lh-sub{transition:none}
}
