:root{--g:#C4933F;--gl:#E8C277;--tx:#F3E9D7;--mu:#B8AA92;--bg:linear-gradient(180deg,rgba(196,147,63,0) 0,rgba(196,147,63,.16) 100%),#100d09;--ln:rgba(196,147,63,.35);--ff:system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif}
.tp-h,.tp-h *,.tp-f,.tp-f *{box-sizing:border-box}
.tp-h,.tp-f{font:400 16px/1.5 var(--ff);color:var(--tx)}
.tp-h a,.tp-f a{color:inherit;text-decoration:none}
.tp-vh{position:absolute;width:1px;height:1px;opacity:0;overflow:hidden}
.tp-h a:focus-visible,.tp-f a:focus-visible,.tp-dt:focus-visible+.tp-mt,.tp-tg:focus-visible~.tp-burger{outline:2px solid var(--gl);outline-offset:2px}

/* Header: logo | menu | buttons */
.tp-h{position:-webkit-sticky;position:sticky;top:0;z-index:9999;background:var(--bg);border-bottom:1px solid var(--ln);box-shadow:0 4px 18px rgba(0,0,0,.45)}
.tp-h:before{content:"";display:block;height:3px;background:linear-gradient(90deg,transparent,var(--g),var(--gl),var(--g),transparent)}
.tp-hw{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:20px;max-width:1240px;margin:0 auto;padding:10px 16px}
.tp-logo{line-height:0}
.tp-logo img{display:block;width:auto;height:54px}
.tp-nav ul{display:flex;justify-content:center;gap:4px;margin:0;padding:0;list-style:none}
.tp-nav a,.tp-mt{display:block;padding:10px 14px;border-bottom:2px solid transparent;font-size:15px;font-weight:600;cursor:pointer;transition:color .15s,border-color .15s}
.tp-nav a:hover,.tp-mt:hover{color:var(--gl);border-bottom-color:var(--g)}
.tp-dd{position:relative}
.tp-mt:after{content:"";display:inline-block;margin-left:8px;border:4px solid transparent;border-top-color:currentColor;border-bottom:0;vertical-align:middle}
.tp-nav .tp-sub{display:none;position:absolute;top:100%;left:0;min-width:210px;padding:6px;background:#17120c;border:1px solid var(--ln);border-radius:8px;box-shadow:0 12px 28px rgba(0,0,0,.6)}
.tp-sub a{border-bottom:0;border-radius:6px}
.tp-sub a:hover{background:rgba(196,147,63,.16)}
.tp-dd:hover>.tp-sub,.tp-dd:focus-within>.tp-sub{display:block}
.tp-btns{display:flex;gap:10px}
.tp-btn{display:block;min-width:110px;padding:9px 20px;border:1px solid var(--g);border-radius:8px;font-size:15px;font-weight:700;line-height:1.2;text-align:center;transition:background .15s,transform .15s}
.tp-login{color:var(--gl)!important}
.tp-login:hover{background:rgba(196,147,63,.18)}
.tp-reg{background:linear-gradient(180deg,var(--gl),var(--g));color:#100d09!important}
.tp-reg:hover{transform:translateY(-1px)}
.tp-tg,.tp-ov,.tp-burger,.tp-dh{display:none}

/* Footer */
.tp-f{background:var(--bg);border-top:3px solid var(--g)}
.tp-fi{display:grid;grid-template-columns:1.6fr 1fr 1fr;gap:40px;max-width:1240px;margin:0 auto;padding:44px 16px 36px}
.tp-fl{display:inline-block;line-height:0}
.tp-fl img{display:block;width:auto;height:54px}
.tp-fd{margin:16px 0 0;max-width:400px;font-size:14px;line-height:1.7;color:var(--mu)}
.tp-ft{margin:0 0 14px;font-size:16px;font-weight:700;color:var(--gl)}
.tp-fn ul{margin:0;padding:0;list-style:none}
.tp-fn li{margin-bottom:10px}
.tp-fn a{font-size:15px;color:var(--tx);transition:color .15s}
.tp-fn a:hover{color:var(--gl);text-decoration:underline}
.tp-fb{padding:16px;border-top:1px solid var(--ln);text-align:center;font-size:14px;color:var(--mu)}
.tp-fb a{color:var(--gl);text-decoration:underline}

@media(max-width:1024px){
.tp-hw{grid-template-columns:1fr auto auto;gap:10px;padding:8px 16px}
.tp-btn{min-width:0;padding:8px 14px}
.tp-tg{display:block;position:absolute;width:1px;height:1px;opacity:0}
.tp-burger{display:flex;width:44px;height:44px;align-items:center;justify-content:center;cursor:pointer;border:1px solid var(--g);border-radius:8px}
.tp-burger i,.tp-x i{display:block;position:relative;width:20px;height:2px;background:var(--gl)}
.tp-burger i:before,.tp-burger i:after,.tp-x i:before{content:"";position:absolute;left:0;width:20px;height:2px;background:var(--gl)}
.tp-burger i:before{top:-6px}
.tp-burger i:after{top:6px}
.tp-nav{position:fixed;top:0;bottom:0;left:0;width:290px;max-width:85%;z-index:10001;background:var(--bg);background-color:#100d09;overflow-y:auto;transform:translateX(-100%);visibility:hidden;transition:transform .25s,visibility .25s;border-right:1px solid var(--ln)}
.tp-tg:checked~.tp-nav{transform:none;visibility:visible}
.tp-ov{position:fixed;inset:0;z-index:10000;background:rgba(0,0,0,.7);cursor:pointer}
.tp-tg:checked~.tp-ov{display:block}
.tp-dh{display:flex;align-items:center;justify-content:space-between;padding:12px 16px;border-bottom:1px solid var(--ln);font-size:18px;font-weight:700;color:var(--gl)}
.tp-x{display:flex;width:44px;height:44px;align-items:center;justify-content:center;cursor:pointer;border:1px solid var(--g);border-radius:8px}
.tp-x i{transform:rotate(45deg)}
.tp-x i:before{top:0;transform:rotate(90deg)}
.tp-nav>ul{flex-direction:column;justify-content:flex-start;gap:0;padding:8px 16px 24px}
.tp-nav>ul>li{border-bottom:1px solid rgba(196,147,63,.2)}
.tp-nav a,.tp-mt{padding:14px 4px;border-bottom:0}
.tp-nav a:hover,.tp-mt:hover{border-bottom:0}
.tp-mt{display:flex;align-items:center;justify-content:space-between}
.tp-mt:after{width:8px;height:8px;margin:-4px 8px 0 0;border:solid var(--gl);border-width:0 2px 2px 0;transform:rotate(45deg);transition:transform .2s;vertical-align:baseline}
.tp-dt:checked+.tp-mt:after{transform:rotate(-135deg);margin-top:4px}
.tp-nav .tp-sub,.tp-dd:hover>.tp-sub,.tp-dd:focus-within>.tp-sub{display:none;position:static;min-width:0;padding:0 0 8px 14px;background:none;border:0;box-shadow:none}
.tp-dt:checked~.tp-sub{display:block}
}
@media(max-width:800px){.tp-fi{grid-template-columns:1fr 1fr;gap:28px}.tp-fi>div:first-child{grid-column:1/-1}}
@media(max-width:480px){.tp-logo img{height:38px}.tp-btn{padding:8px 10px;font-size:14px}.tp-btns{gap:6px}}
.site-header{display:none;}
footer.site-info{display: none;}