/* V2 shared components. Visibility, sizing and form behaviour remain application-owned. */
:root{--v2-panel:#17130f;--v2-border:#d9b77a38;--v2-ink:#eee7db;--v2-muted:#bfb5a7;--v2-gold:#d9b77a;}
html body .modal-hf input:-webkit-autofill,html body .modal-hf input:-webkit-autofill:focus{-webkit-box-shadow:0 0 0 1000px #100e0b inset!important;box-shadow:0 0 0 1000px #100e0b inset!important;-webkit-text-fill-color:#eee7db!important;caret-color:#eee7db;}
html body .modal-hf[data-modal="loanModal"] .input-submit button,html body .modal-hf[data-modal="loanModal2"] .input-submit button,html body .modal-hf[data-modal="loanModal3"] .input-submit button{width:100%!important;}
html body :is(.nw-section,.rk-section,.dl-section,.is-section,.ac-section,.gd-section,.ns-section,.gs-wrap){background:radial-gradient(ellipse at 40% 0,#92341318,transparent 48%),#100f0e!important;}
html body :is(.nw-card,.nw-side-card,.is-item-card,.ac-sidebar-card,.ac-content-card,.gd-filter,.gd-table-wrap,.ns-sidebar-card,.ns-post-author-panel,.gs-article,.dl-card,.dl-sysreq,.admin-table-wrapper){background:linear-gradient(120deg,#1c1711,#11100e)!important;border:1px solid var(--v2-border)!important;border-radius:5px!important;box-shadow:none!important;}
html body :is(.nw-hero,.rk-hero,.dl-hero,.is-hero,.ac-hero,.gd-hero){box-shadow:none!important;border-bottom:1px solid var(--v2-border)!important;}
html body :is(.ac-card-header,.ac-content-card-header,.dl-sysreq-head,.dl-card-top){background:linear-gradient(100deg,#30201699,#17130f)!important;border-bottom:1px solid var(--v2-border)!important;}
html body .modal-hf{background:rgba(4,3,2,.86)!important;backdrop-filter:blur(6px);}
html body .modal-hf .modal-box-hf{background:radial-gradient(ellipse at 25% 0,#8f371329,transparent 45%),#17130f!important;border:1px solid #d9b77a55!important;border-top:2px solid #b49459!important;border-radius:6px!important;box-shadow:0 24px 80px #000b!important;color:var(--v2-ink)!important;}
html body .modal-hf .login-item{background:none!important;}
html body .modal-hf .login-title{background:none!important;text-align:left!important;margin-bottom:22px!important;}
html body .modal-hf .login-title h2{font:400 clamp(22px,3vw,28px)/1.3 Cinzel,Georgia,serif!important;letter-spacing:.02em!important;color:var(--v2-ink)!important;text-shadow:none!important;padding-right:32px;}
html body .modal-hf .login-line{display:none!important;}
html body .modal-hf .modal-close-hf{width:34px!important;height:34px!important;top:12px!important;right:12px!important;background:#211c16!important;color:#dfc7a0!important;border:1px solid var(--v2-border)!important;border-radius:4px!important;box-shadow:none!important;font-size:18px!important;}
html body .modal-hf .modal-close-hf:hover{background:#3b211b!important;color:#fff!important;}
html body .modal-hf :is(.admin-form label,.is-item-variant label){font:500 11px/1.5 Inter,Arial,sans-serif!important;color:#c6baa8!important;letter-spacing:.05em!important;}
html body .modal-hf :is(.admin-field-help,.admin-title-help,.sign-btm h4){color:var(--v2-muted)!important;font:400 12px/1.6 Inter,Arial,sans-serif!important;}
html body .modal-hf :is(input:not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=submit]),select,textarea){background-color:#100e0b!important;border-color:#d9b77a35!important;color:#eee7db!important;border-radius:4px!important;font-family:Inter,Arial,sans-serif!important;box-shadow:none!important;}
html body .modal-hf input::placeholder,html body .modal-hf textarea::placeholder{color:#a79b89!important;}
html body .modal-hf .input-flex{background:#100e0b!important;border:1px solid #d9b77a35!important;border-radius:4px!important;}
html body .modal-hf .input-flex input{border:0!important;background:none!important;}
html body .modal-hf :is(.admin-modal-actions,.is-shop-modal-actions){background:#17130f!important;border-top:1px solid var(--v2-border)!important;box-shadow:none!important;}
html body .modal-hf :is(.input-submit button,.is-buy-btn,.is-preview-btn){background:linear-gradient(#c71728,#990d1c)!important;border:1px solid #dc3544!important;border-radius:4px!important;color:#fff!important;box-shadow:none!important;font:500 12px/1.5 Inter,Arial,sans-serif!important;letter-spacing:.035em!important;}
html body .modal-hf button:disabled{opacity:.5!important;cursor:not-allowed!important;}
html body .modal-hf :is(.admin-modal-scroll,.is-shop-modal-scroll){scrollbar-color:#897044 #17130f;}
html body .modal-hf .ql-toolbar.ql-snow{background:#211b14!important;border-color:var(--v2-border)!important;}
html body .modal-hf .ql-container.ql-snow{background:#100e0b!important;border-color:var(--v2-border)!important;}
html body .modal-hf .ql-editor{color:#eee7db!important;}
html body .admin-view-tab{font-family:Inter,Arial,sans-serif!important;letter-spacing:.035em!important;}
html body .admin-view-tab.active{color:#e5c487!important;border-bottom-color:#d9b77a!important;}
html body :is(.ns-title,.gs-title){font-weight:400!important;line-height:1.3!important;}
html body :is(.ns-content,.gs-content){color:#d3c9b9;font-family:Inter,Arial,sans-serif;line-height:1.8;}
@media(max-width:600px){html body .modal-hf .login-title h2{font-size:22px!important;}html body .modal-hf input:not([type=checkbox]):not([type=radio]),html body .modal-hf select,html body .modal-hf textarea{font-size:16px!important;}}
