.hw-card{padding:12px;gap:14px}
.hw-card__media{position:relative;overflow:hidden;border-radius:8px;min-height:220px}
.hw-card__poster{position:absolute;inset:0;display:block}
.hw-card__poster img{width:100%;height:100%;object-fit:cover;display:block}
.hw-card__media > i{position:absolute;inset:0;display:block;background-size:cover;background-position:center}
.hw-card__body{padding:6px 6px 6px 0}
.hw-card__text{flex:none;margin-bottom:12px}
.hw-card__foot{margin-top:0}
.hw-card > a{display:block;height:100%}
.hw-card__media{height:100%}
.hw-card__text{display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden;margin-bottom:10px}
.hw-card__media{min-height:180px}
.hw-card__title{font-size:19px;margin:6px 0 8px}
.hw-card__body{padding:2px 4px 2px 0}
.hw-side-block input[type=text],.hw-side-block input[type=password]{width:100%;background:#11161c;border:1px solid #36424f;border-radius:6px;color:#e6edf3;padding:9px 12px;margin:4px 0 10px}
.hw-side-block input[type=text]:focus,.hw-side-block input[type=password]:focus{border-color:#3fb950;outline:none}
.hw-side-block form label{font-size:12px;color:#9aa7b4;font-family:var(--mono)}
.hw-side-block form button[type=submit],.hw-side-block form .hw-btn{width:100%}
.hw-loginform__links{display:flex;flex-direction:column;gap:8px;margin-top:10px}
.hw-loginform__links a:first-child{display:block;width:100%;text-align:center;padding:8px 12px;border:1px solid #3fb950;border-radius:6px;color:#3fb950;text-decoration:none}
.hw-loginform__links a:first-child:hover{background:#3fb950;color:#0d1117}
.hw-loginform__links a:last-child{display:block;text-align:center;color:#9aa7b4;font-size:12px}
.hw-layout__content input[type=password],.hw-layout__content input[type=email],.hw-layout__content input[type=number],.hw-layout__content select{width:100%;background:#11161c;border:1px solid #36424f;border-radius:6px;color:#e6edf3;padding:9px 12px;margin:4px 0 12px}
.hw-layout__content select{width:auto;min-width:200px}
.hw-layout__content input[type=radio]{width:18px;height:18px;accent-color:#3fb950;margin:0 8px 0 0;vertical-align:middle}
.hw-layout__content fieldset{border:1px solid #36424f;border-radius:8px;padding:12px;margin:12px 0}
.hw-side-feedback{display:block;margin-top:10px;text-align:center}
.hw-start{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin:16px 0}
.hw-start__step{background:var(--panel);border:1px solid var(--line);border-radius:10px;padding:16px;line-height:1.6}
.hw-start__step b{color:var(--accent)}
.hw-start__step a{color:var(--accent)}
.hw-layout__content form input[type=file]{display:inline-block;background:#11161c;border:1px solid #36424f;border-radius:6px;color:#9aa7b4;padding:8px 12px;margin:6px 0}
.hw-layout__content form input[type=file]::file-selector-button{background:#3fb950;color:#0d1117;border:0;border-radius:6px;padding:8px 14px;font-weight:700;margin-right:10px;cursor:pointer}
.hw-layout__content form textarea{min-height:140px}
.hw-btn--play{font-family:system-ui,-apple-system,'Segoe UI',sans-serif;font-weight:700;letter-spacing:.2px}
.hw-full__note{color:#9aa7b4;margin:6px 0 16px}
.hw-fb__grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.hw-fb__row{margin:0 0 12px}
.hw-fb__label{display:block;font-size:12px;color:#9aa7b4;font-family:var(--mono);margin-bottom:6px}
.hw-fb__input{width:100%;background:#11161c;border:1px solid #36424f;border-radius:6px;color:#e6edf3;padding:10px 12px}
.hw-fb__area{min-height:150px}
.hw-fb__file{display:inline-block;background:#11161c;border:1px solid #36424f;border-radius:6px;color:#9aa7b4;padding:8px 12px}
.hw-fb__file::file-selector-button{background:#3fb950;color:#0d1117;border:0;border-radius:6px;padding:8px 14px;font-weight:700;margin-right:10px;cursor:pointer}
.hw-fb__captcha{display:flex;gap:10px;align-items:center}
.hw-fb__captcha img{border-radius:6px}
.hw-fb__code{width:180px}
.hw-fb__actions{margin-top:6px}
@media(max-width:700px){.hw-fb__grid{grid-template-columns:1fr}}
.hw-layout__content form .hw-fb__row{background:transparent;border:0;padding:0;margin:0 0 12px}
.hw-layout__content form .hw-fb__grid{background:transparent;border:0;padding:0;margin:0 0 12px;display:grid;grid-template-columns:1fr 1fr;gap:12px}
.hw-layout__content form .hw-fb__label{display:block;width:auto;height:auto;background:transparent;border:0;margin:0 0 6px;font-size:12px;color:#9aa7b4;font-family:var(--mono)}
.hw-layout__content form .hw-fb__input{display:block;width:100%;height:auto;background:#11161c;border:1px solid #36424f;border-radius:6px;color:#e6edf3;padding:10px 12px;margin:0}
.hw-layout__content form .hw-fb__area{min-height:150px}
.hw-layout__content form .hw-fb__captcha{display:flex;gap:10px;align-items:center;background:transparent;border:0;padding:0}
.hw-layout__content form .hw-fb__captcha .hw-fb__code{width:180px}
.hw-layout{grid-template-columns:300px 1fr}
.hw-layout__side{order:1}
.hw-layout__content{order:2}
@media(max-width:900px){.hw-layout{grid-template-columns:1fr}.hw-layout__side{order:2}.hw-layout__content{order:1}}
.hw-layout{grid-template-columns:260px 1fr 300px}
.hw-layout__side--left{order:1}
.hw-layout__content{order:2;padding:14px}
.hw-layout__side:not(.hw-layout__side--left){order:3}
@media(max-width:1100px){.hw-layout{grid-template-columns:1fr}.hw-layout__content{order:1}.hw-layout__side--left{order:2}.hw-layout__side:not(.hw-layout__side--left){order:3}}
.hw-layout__content .hw-full{padding:16px 18px}
.hw-full__title{margin:0 0 6px}
.hw-full__note{margin:0 0 14px}
.hw-fb__actions{margin-top:2px}
.hw-layout__content form .hw-fb__row:last-of-type{margin-bottom:0}
.hw-container{max-width:1400px}
.hw-layout{grid-template-columns:240px 1fr 280px;gap:18px}
.hw-card{grid-template-columns:200px 1fr}
.hw-side-block{padding:16px}
.hw-brand__text{font-family:'Press Start 2P',var(--mono);font-size:13px;line-height:1.2}
.hw-brand__sub{font-size:8px;letter-spacing:1px}
.hw-header__actions{gap:10px}
body{background:linear-gradient(rgba(13,17,23,.9),rgba(13,17,23,.95)),url('images/bg.jpg') center/cover fixed no-repeat #0d1117}
html,body{height:100%}
body{min-height:100vh;display:flex;flex-direction:column}
.hw-main{flex:1 0 auto}
.hw-footer{margin-top:auto}
.hw-header__actions{display:flex;align-items:center;gap:12px}
.hw-mon__name{color:#e6edf3;font-weight:700;margin:2px 0 4px}
.hw-mon__ver{color:#3fb950;font-family:var(--mono);font-size:12px}
.hw-mon__line{color:#9aa7b4;font-size:13px}
.hw-mon__row{display:flex;justify-content:space-between;align-items:center;gap:8px;margin:6px 0}
.hw-mon__name{margin:0}
.hw-brand__img{height:30px;image-rendering:pixelated}
.hw-layout__content form label{display:inline-flex;align-items:center;gap:8px;width:auto;height:auto;background:transparent;border:0;padding:0;margin:0 14px 8px 0;font-size:14px;color:#e6edf3;font-family:inherit}
.hw-layout__content input[type=radio]{width:18px;height:18px;accent-color:#3fb950;margin:0}
.hw-brand__img{height:36px;filter:brightness(0) invert(1) drop-shadow(3px 3px 0 rgba(0,0,0,.6))}
.hw-reg__rules{background:#161b22;border:1px solid #30363d;border-radius:10px;padding:18px;margin:14px 0}
.hw-reg__rules h2{margin:0 0 10px;font-size:18px}
.hw-reg__rules-text{max-height:320px;overflow:auto;padding-right:6px;color:#c9d1d9;line-height:1.65;font-size:14px}
.hw-reg__actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:14px}
.hw-btn--ghost{background:transparent;border:1px solid #3fb950;color:#3fb950;padding:10px 22px;border-radius:6px;font-weight:700;text-decoration:none}
.hw-btn--ghost:hover{background:#3fb950;color:#0d1117}
@media(max-width:700px){.hw-layout{grid-template-columns:1fr}.hw-layout__content{order:1}.hw-layout__side{order:2}.hw-card{grid-template-columns:1fr}.hw-card__media{min-height:180px}.hw-fb__grid{grid-template-columns:1fr}.hw-hero{padding:20px 0}.hw-header{padding:10px 0}.hw-nav{display:none}.hw-burger{display:grid}}
.hw-speedbar{display:none!important}
.hw-layout__content{padding:0}
.hw-layout__content label:has(input[type=radio]){display:inline-flex;align-items:center;gap:8px;padding:10px 18px;border:1px solid #3fb950;border-radius:6px;color:#3fb950;font-weight:700;margin:0 10px 8px 0;cursor:pointer;background:transparent}
.hw-layout__content label:has(input[type=radio]):hover{background:#3fb950;color:#0d1117}
.hw-layout__content label:has(input[type=radio]) input{width:16px;height:16px;margin:0;accent-color:currentColor}
.hw-reg__rules{margin:0 0 14px}
.hw-reg__actions{display:flex!important;gap:10px;flex-wrap:wrap}
.hw-reg__actions .hw-btn,.hw-reg__actions .hw-btn--ghost{flex:0 0 auto;display:inline-block;width:auto;text-align:center;padding:10px 22px}
.hw-layout__content > *{margin-top:0}
.hw-reg__rules-text{max-height:none;overflow:visible}
.hw-layout__content > *{margin-top:0!important}
.hw-layout__content .auth-form{margin-top:0}
