/* One set of shared controls, based on the live Item Shop. */
:root{--hf-ui-gold:#dbb578;--hf-ui-text:#f3e9d6;--hf-ui-muted:#b4a17d;--hf-ui-border:#b38d4540;--hf-ui-radius:3px;--hf-ui-red:#bc152b;--hf-ui-surface:#17110b66}
html body :is(.btn,.is-buy-btn,.is-detail-btn,.is-preview-btn,.ac-save-btn,.admin-btn,.verify-action-btn,.auth-success-button,.hf-login-submit,.input-submit button,.hf-resend-btn,.dl-drv-btn,[data-status-refresh],.inline-action){display:inline-flex!important;align-items:center;justify-content:center;gap:12px;min-height:46px;box-sizing:border-box;padding:12px 23px!important;border:1px solid #e0404655!important;border-radius:var(--hf-ui-radius)!important;background:var(--hf-ui-red)!important;color:var(--hf-ui-text)!important;font:600 11px/1.5 Pretendard,Arial,sans-serif!important;letter-spacing:1px!important;text-transform:uppercase;text-decoration:none!important;box-shadow:none!important;cursor:pointer;transition:background .2s,border-color .2s,transform .2s}
html body :is(.btn,.is-buy-btn,.is-detail-btn,.is-preview-btn,.ac-save-btn,.admin-btn,.verify-action-btn,.auth-success-button,.hf-login-submit,.input-submit button,.hf-resend-btn,.dl-drv-btn,[data-status-refresh],.inline-action):hover:not(:disabled){background:#d11a33!important;transform:translateY(-2px)}
html body :is(.btn.secondary,.is-detail-btn,.is-preview-btn,.admin-btn-edit,.hf-resend-btn,.dl-drv-btn,[data-status-refresh]){border-color:#c8a76566!important;background:var(--hf-ui-surface)!important;color:#f1d2a0!important}
html body :is(.btn.secondary,.is-detail-btn,.is-preview-btn,.admin-btn-edit,.hf-resend-btn,.dl-drv-btn,[data-status-refresh]):hover:not(:disabled){background:#392516!important}
html body :is(.btn,.is-buy-btn,.is-detail-btn,.is-preview-btn,.ac-save-btn,.admin-btn,.verify-action-btn,.auth-success-button,.hf-login-submit,.input-submit button,.hf-resend-btn,.dl-drv-btn,[data-status-refresh]):disabled{opacity:.4!important;cursor:not-allowed!important;transform:none!important}
html body :is(button,a,input,select,textarea):focus-visible{outline:2px solid #c9a56a!important;outline-offset:3px!important}
html body :is(.btn,.is-buy-btn,.is-detail-btn,.ac-save-btn,.admin-btn) svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.5}
/* All coin balances use the exact same server-rendered component. */
html body .hf-wallet{width:225px;flex:0 0 225px;align-self:center;text-align:center;border:1px solid #bd98504d;padding:23px 20px;background:radial-gradient(ellipse at 50% 0,#9d70382b,transparent 75%),#17110977;border-radius:3px;box-sizing:border-box}
html body .hf-wallet>svg{display:inline-block;width:27px;height:27px;fill:none;stroke:#d0ab63;stroke-width:1.6}
html body .hf-wallet>span{display:block;margin:12px 0 8px;text-transform:uppercase;font:400 8px/1.6 Pretendard,Arial,sans-serif;letter-spacing:1.5px;color:#b4a17d}
html body .hf-wallet>strong{display:block;margin:0;font:400 28px/1.5 Cinzel,Georgia,serif;color:#f3d796}
html body .hf-wallet>a{display:inline-flex;align-items:center;gap:15px;margin-top:17px;padding:14px 0 0;border:0;border-top:1px solid #ab854635;background:none;color:#dfc18b;font:400 11px/1.6 Pretendard,Arial,sans-serif;text-decoration:none}
html body .hf-wallet>a svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.5}
/* Shared text fields and dropdowns retain their existing IDs and behavior. */
html body :is(.ac-field,.admin-wrap,.shop-toolbar,.shop-price-filter,.shop-modal-variant,.live-buy-row,.is-search-wrap,.shop-variant,.is-item-variant,.hf-filter-toolbar,.reset-form) :is(input:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=range]):not([type=hidden]),select,textarea),html body :is(.hf-filter-control,#pvpCharacter,.shop-sort select){border:1px solid var(--hf-ui-border)!important;border-radius:2px!important;background:#0f0d09!important;color:#e5cba0!important;font:400 12px/1.5 Pretendard,Arial,sans-serif!important;box-shadow:none!important;min-height:40px;padding:10px 12px}
html body :is(.ac-field,.admin-wrap) textarea{min-height:120px;resize:vertical}
html body :is(.ac-field,.admin-wrap,.shop-toolbar,.is-search-wrap) input::placeholder{color:#8a785b;opacity:1}
/* Same sidebar/category selection surface across the stores and account. */
html body :is(.is-cat-btn,.ac-nav-tab,.admin-view-tabs button){background:none!important;border:1px solid transparent!important;border-radius:2px!important;color:#b8a584!important;font:400 11px/1.5 Pretendard,Arial,sans-serif!important;padding:13px 11px!important;box-shadow:none!important}
html body :is(.is-cat-btn,.ac-nav-tab,.admin-view-tabs button):hover{background:#a8814018!important;color:#efd4a4!important}
html body :is(.is-cat-btn,.ac-nav-tab,.admin-view-tabs button).active{background:linear-gradient(100deg,#80603237,#8b683410)!important;border-color:#bb93494c!important;color:#f2d8a7!important}
/* Modal chrome mirrors the item-shop dialog. */
html body :is(.pvp-dialog,.hf-deco-dialog,.phase-dialog,.shop-dialog){border:1px solid #b18b44aa!important;border-radius:3px!important;background:#17120c!important;color:#ead5b0;box-shadow:0 25px 100px #0009!important}
html body :is(.pvp-dialog>header,.hf-deco-dialog-head,.shop-dialog-head){padding:27px 30px!important;border:0!important;border-bottom:1px solid #b58c4440!important;background:#0d0b0766!important;background-image:none!important}
html body :is(.pvp-dialog>header,.hf-deco-dialog-head,.shop-dialog-head)::before,html body :is(.pvp-dialog>header,.hf-deco-dialog-head,.shop-dialog-head)::after{display:none!important}
html body :is(.pvp-dialog>header,.hf-deco-dialog-head,.shop-dialog-head) h2{font:400 25px/1.4 Cinzel,Georgia,serif!important;color:#ead5b0!important;letter-spacing:0!important;text-transform:none!important}
html body :is(.modal-close-hf,#pvpDetailsClose,#decoDialogClose,.phase-close,.drawer-close){width:34px!important;height:34px!important;min-height:34px!important;padding:0!important;border:1px solid #b18c4855!important;border-radius:0!important;background:#16120a!important;color:#e2c799!important;box-shadow:none!important;display:grid;place-items:center;font:24px/1 Arial,sans-serif!important}
html body :is(.modal-close-hf,#pvpDetailsClose,#decoDialogClose,.phase-close,.drawer-close) i{font-size:16px!important}
html body :is(.pvp-dialog>footer,.shop-dialog-footer){border-top:1px solid #b6934b40!important;background:#0d0b0866!important;padding:21px 28px!important}
/* Shared site navigation uses the same measurements on each layout. */
html body header:has(>#mainNav),html body header:has(>.nav #mainNav){background:#100f0def!important;border-bottom:1px solid #cfab6430!important}
html body header>.nav.shell{width:calc(100% - 96px)!important;max-width:1232px!important;height:86px!important;margin:auto!important;padding:0!important;display:flex;align-items:center;justify-content:space-between;gap:24px}
html body header>.nav .brand img{width:126px!important;height:68px!important;object-fit:contain}
html body #mainNav{gap:27px!important}
html body #mainNav a{font:600 11px/1.6 Pretendard,Arial,sans-serif!important;letter-spacing:.6px!important;padding:31px 0 28px!important;color:#d2c9ba!important;border-bottom:2px solid transparent}
html body #mainNav a:is(:hover,.active){color:#dbb578!important;border-bottom-color:#dbb578!important}
html body #accountOpen{display:flex;align-items:center;gap:10px;background:#1b1812!important;border:1px solid #cfab6430!important;padding:10px 15px!important;border-radius:3px!important;font:400 12px/1.6 Pretendard,Arial,sans-serif!important;color:#ead7b7!important}
@media(max-width:800px){html body header>.nav.shell{width:calc(100% - 36px)!important;height:72px!important;gap:12px}html body header>.nav .brand img{width:100px!important;height:56px!important}html body #mainNav a{padding:12px 0!important}html body #mainNav{gap:0!important}html body :is(.pvp-dialog>header,.hf-deco-dialog-head,.shop-dialog-head){padding:20px!important}html body :is(.pvp-dialog>header,.hf-deco-dialog-head,.shop-dialog-head) h2{font-size:21px!important}}
@media(max-width:760px){html body .hf-wallet{margin-top:25px;width:100%;flex-basis:auto;display:grid;grid-template-columns:28px 1fr auto;gap:5px 15px;align-items:center;text-align:left;padding:17px}html body .hf-wallet>svg{grid-row:1/3;width:25px}html body .hf-wallet>span{grid-column:2;grid-row:1;margin:0}html body .hf-wallet>strong{grid-column:2;grid-row:2;font-size:23px}html body .hf-wallet>a{grid-column:3;grid-row:1/3;border:0;margin:0;padding:8px;font-size:10px;gap:7px}html body :is(.ac-hero-top,.is-hero-content):has(>.hf-wallet){flex-wrap:wrap}}
@media(prefers-reduced-motion:reduce){html body :is(.btn,.is-buy-btn,.is-detail-btn,.ac-save-btn,.admin-btn){transition:none!important;transform:none!important}}

html body .inline-action{padding:10px 8px!important;letter-spacing:.4px!important;font-size:10px!important;width:100%}html body .inline-action:disabled{opacity:.4!important;cursor:not-allowed!important;transform:none!important}

html body .hf-wallet{min-height:0}
html body .hf-wallet select{width:100%;margin-top:17px;border:1px solid #b38d4540!important;border-radius:2px!important;background:#0f0d09!important;color:#e5cba0!important;font:400 12px/1.5 Pretendard,Arial,sans-serif!important;min-height:40px;padding:10px 12px}
html body :is(.modal-hf .input-name,.modal-hf .input-password,.modal-hf .input-email) input{color:#e5cba0!important;font-family:Pretendard,Arial,sans-serif!important;font-size:12px!important;border-radius:2px!important}
html body :is(.nw-page-btn,.shop-pagination button,.is-page-btn){min-width:36px;min-height:36px;border:1px solid #b38d4540!important;border-radius:2px!important;background:#0f0d09!important;color:#b8a584!important;font:400 11px/1.5 Pretendard,Arial,sans-serif!important;box-shadow:none!important}
html body :is(.nw-page-btn,.shop-pagination button,.is-page-btn).active{border-color:#c7a262!important;background:#6951273d!important;color:#f0d39b!important}
@media(max-width:760px){html body .hf-pvp-wallet>label{display:none}html body .hf-pvp-wallet>select{grid-column:1/-1;grid-row:3}}
