/* Shared identity. Official badge artwork is displayed unchanged. */
:root{--ws-bg:#17191b;--ws-surface:#202325;--ws-surface-alt:#26292b;--ws-border:#383c3e;--ws-title:#f0f0ed;--ws-quiet:#a7abac;--ws-accent:#df7a68;--red:#a72d23;--red-hover:#bd3a2e;--paper:var(--ws-bg);--white:var(--ws-surface);--ink:var(--ws-title);--line:var(--ws-border);--muted:var(--ws-quiet);--body:"Noto Sans CJK SC","Microsoft YaHei","PingFang SC",Arial,sans-serif;--display:var(--body);--latin:Arial,sans-serif}
html[data-theme="light"]{--ws-bg:#f4f5f5;--ws-surface:#fff;--ws-surface-alt:#e9ebeb;--ws-border:#d6d9d9;--ws-title:#202325;--ws-quiet:#606669;--ws-accent:#a72d23;--paper:var(--ws-bg);--white:var(--ws-surface);--ink:var(--ws-title);--line:var(--ws-border);--muted:var(--ws-quiet);--red:#a72d23;--red-hover:#8e241b}
body{background:var(--ws-bg);color:var(--ws-title);font-family:var(--body);font-size:16px;line-height:1.75}html{scroll-padding-top:100px}::selection{background:#a72d2360;color:inherit}h1,h2,h3{text-wrap:balance}button,input,select,textarea{font-family:inherit}a,button{transition:background-color .18s,color .18s,border-color .18s}:focus-visible{outline:2px solid var(--ws-accent);outline-offset:4px}.icon:has(use[href="#i-arrow"]){display:none}.eyebrow{font-size:12px;letter-spacing:.10em;line-height:1.5;font-weight:500;color:var(--ws-quiet)}
.site-header,html[data-theme="light"] .site-header{height:80px;background:var(--ws-bg);color:var(--ws-title);border-bottom:1px solid var(--ws-border);box-shadow:none}.site-header .header-inner{width:min(1480px,calc(100% - 80px));max-width:none;gap:28px;height:100%}.brand,.site-header .brand,.footer-brand .brand{display:inline-flex;align-items:center;gap:13px;flex-shrink:0;width:auto;color:var(--ws-title)}.brand-emblem{display:block;width:52px;height:52px;object-fit:contain;background:#fff;flex:0 0 auto;border:1px solid #d9dad6}.brand-wordmark{font:700 21px/1 Arial,sans-serif;letter-spacing:.075em;white-space:nowrap}.brand-wordmark::before,.brand-wordmark::after{display:none!important}.site-header .header-actions{display:flex;align-items:center;gap:20px;margin-left:auto}.site-header .account-link,.site-header .lang-toggle{color:var(--ws-title);font-size:14px;min-height:42px}.site-header .account-link .icon{color:var(--ws-quiet);width:18px;height:18px}.site-header .header-download{min-height:42px;padding:9px 19px;font-size:14px}.theme-toggle,.theme-option,.theme-switch button{font-size:14px}.lang-menu{background:var(--ws-surface);color:var(--ws-title);border:1px solid var(--ws-border);border-radius:2px;box-shadow:0 12px 30px #0002}.lang-menu button{font-size:14px;color:var(--ws-title)}.lang-menu button:hover{background:var(--ws-surface-alt)}
.btn{min-height:46px;padding:11px 24px;gap:12px;border-radius:2px;font-size:14px;line-height:1.5;font-weight:500;letter-spacing:0;box-shadow:none}.btn-primary,html[data-theme="light"] .btn-primary{background:var(--red);color:#fff;border-color:var(--red);box-shadow:none}.btn-primary:hover,html[data-theme="light"] .btn-primary:hover{background:var(--red-hover);border-color:var(--red-hover);box-shadow:none}.btn-ink,.btn-paper,html[data-theme="light"] .btn-ink,html[data-theme="light"] .btn-paper{background:var(--ws-surface-alt);border-color:var(--ws-border);color:var(--ws-title)}.btn-ink:hover,.btn-paper:hover{border-color:var(--ws-quiet)}.btn-outline,html[data-theme="light"] .btn-outline{color:var(--ws-title);border-color:var(--ws-border);background:transparent}.btn-outline:hover{border-color:var(--ws-quiet);background:var(--ws-surface-alt)}.btn-disabled,html[data-theme="light"] .btn-disabled{color:var(--ws-quiet);background:var(--ws-surface-alt);border-color:var(--ws-border)}.text-button{font-size:14px;line-height:1.6;font-weight:500;min-height:42px;white-space:normal}.text-button:hover{color:var(--ws-accent)}
.tag,.tag-dark,.art-tag,html[data-theme="light"] .tag,html[data-theme="light"] .tag-dark{font-size:12px;font-weight:400;line-height:1.5;border-radius:2px;background:var(--ws-surface-alt);color:var(--ws-quiet);border-color:var(--ws-border)}.tag-red,html[data-theme="light"] .tag-red{color:var(--ws-accent);background:transparent;border-color:var(--ws-border)}.fine-print,html[data-theme="light"] .fine-print{color:var(--ws-quiet);font-size:13px;line-height:1.8}
.portal-sidebar{gap:28px;top:105px;padding:28px 0;min-height:calc(100vh - 105px)}.portal-sidebar .sidebar-group,html[data-theme="light"] .portal-sidebar .sidebar-group{background:transparent;border:0;border-radius:0;padding:0}.portal-sidebar .sidebar-label{padding:0 15px 10px;color:var(--ws-quiet);font:12px/1.5 var(--body);letter-spacing:0}.portal-sidebar .sidebar-link{font-size:14px;line-height:1.5;padding:12px 15px;min-height:46px;margin:1px 0;color:var(--ws-quiet);border-left:2px solid transparent;border-radius:0;gap:10px}.portal-sidebar .sidebar-link:hover,html[data-theme="light"] .portal-sidebar .sidebar-link:hover{color:var(--ws-title);background:var(--ws-surface)}.portal-sidebar .sidebar-link[aria-current="page"],.portal-sidebar .sidebar-link.active,html[data-theme="light"] .portal-sidebar .sidebar-link[aria-current="page"],html[data-theme="light"] .portal-sidebar .sidebar-link.active{background:var(--ws-surface);color:var(--ws-title)!important;border-left-color:var(--red)!important}.portal-sidebar .sidebar-symbol{display:none}.portal-sidebar .sidebar-foot{border-top:1px solid var(--ws-border);padding:20px 0 0;color:var(--ws-quiet);font-size:12px}.sidebar-foot>a{display:block;margin-top:6px;font-size:12px;color:var(--ws-quiet)}.sidebar-status-dot{display:none}.primary-nav a[aria-current],html[data-theme="light"] .primary-nav a[aria-current]{color:var(--ws-title)!important}.primary-nav a[aria-current]::after{background:var(--red)!important}.filter.active,html[data-theme="light"] .filter.active{color:var(--ws-title)}.filter.active::after{background:var(--red)}
.site-footer,html[data-theme="light"] .site-footer{background:var(--ws-bg);border-top:1px solid var(--ws-border);color:var(--ws-quiet);margin-top:0}.site-footer .wrap{width:min(1480px,calc(100% - 80px));max-width:none}.site-footer .footer-main{display:grid;grid-template-columns:minmax(220px,1.1fr) minmax(260px,1.3fr) minmax(210px,1fr) 40px;gap:34px;padding:40px 0;align-items:start}.site-footer .brand-emblem{width:60px;height:60px}.site-footer .brand-wordmark{font-size:19px}.site-footer .footer-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 20px;margin:0;padding:5px 0}.site-footer .footer-links a,.site-footer .footer-links button,html[data-theme="light"] .site-footer .footer-links a,html[data-theme="light"] .site-footer .footer-links button{text-align:left;font-size:14px;line-height:1.6;color:var(--ws-quiet)}.site-footer .footer-links a:hover,.site-footer .footer-links button:hover{color:var(--ws-title)}.site-footer .footer-contact{display:flex;flex-direction:column;gap:12px;padding-top:5px}.site-footer .contact-item,html[data-theme="light"] .site-footer .contact-item{display:block;padding:0;border:0;background:transparent;color:var(--ws-quiet);font-size:14px;word-break:break-word}.site-footer .contact-item:hover{color:var(--ws-title)}.site-footer .footer-contact-title{color:var(--ws-title);font-size:14px}.site-footer .back-top{width:40px;height:40px;padding:0;color:var(--ws-quiet);background:none;border:1px solid var(--ws-border)}.site-footer .back-top svg{transform:none;width:20px;height:20px}.site-footer .footer-bottom{padding:21px 0;border-top:1px solid var(--ws-border);display:flex;align-items:center;justify-content:space-between;gap:24px;font-size:12px}.site-footer .footer-bottom>div{display:flex;gap:24px;align-items:center}.site-footer .footer-bottom a,.site-footer .footer-bottom button{color:var(--ws-quiet);font-size:12px}
.modal,html[data-theme="light"] .modal{max-width:min(840px,calc(100vw - 40px));border:1px solid var(--ws-border);border-radius:2px;background:var(--ws-surface);color:var(--ws-title);box-shadow:0 20px 80px #0006}.modal::backdrop{background:#090b0dd4;backdrop-filter:blur(3px)}.modal-close,html[data-theme="light"] .modal-close{width:40px;height:40px;color:var(--ws-title);border:1px solid var(--ws-border);background:var(--ws-surface);border-radius:2px}.modal-content,#modal-body{min-width:0}.modal-content{padding:40px}.modal h2,html[data-theme="light"] .modal h2{font-family:var(--body);font-size:29px;line-height:1.4;color:var(--ws-title);letter-spacing:0}.modal-meta{font-size:13px;line-height:1.7;color:var(--ws-quiet)}.article-body{margin-top:28px}.article-body p,html[data-theme="light"] .article-body p{font-size:16px;line-height:1.9;color:var(--ws-quiet)}.article-body h3,html[data-theme="light"] .article-body h3{font-size:20px;line-height:1.5;color:var(--ws-title);margin:30px 0 14px}.article-body .notice{margin-top:24px}.notice,html[data-theme="light"] .notice{background:var(--ws-surface-alt);color:var(--ws-quiet);border:1px solid var(--ws-border);border-radius:0;padding:18px 20px}.notice p{color:var(--ws-quiet);font-size:14px;line-height:1.8}.detail-list{font-size:15px}.detail-list>div{padding:15px 0;border-color:var(--ws-border);gap:22px}.detail-list dt{color:var(--ws-quiet);font-size:14px}.detail-list dd,html[data-theme="light"] .detail-list dd{color:var(--ws-title);font-size:15px}.auth-form{margin-top:24px}.auth-form label{font-size:14px;color:var(--ws-title)}.auth-form input,.auth-form textarea,html[data-theme="light"] .auth-form input,html[data-theme="light"] .auth-form textarea{font-size:16px;border:1px solid var(--ws-border);border-radius:2px;background:var(--ws-bg);color:var(--ws-title);min-height:48px;padding:12px}.auth-form .btn{margin-top:12px}.modal-actions{margin-top:28px;gap:18px}.order-summary,html[data-theme="light"] .order-summary{background:var(--ws-surface-alt);border-color:var(--ws-border)}.order-step-list{font-size:14px}.step-copy p{font-size:14px}.demo-alert{font-size:14px;line-height:1.8}.ann-banner{background:var(--ws-surface-alt);border-bottom:1px solid var(--ws-border);color:var(--ws-title)}.ann-copy strong{font-size:14px}.ann-copy span{font-size:14px;color:var(--ws-quiet)}
@media(max-width:1180px){.site-header .header-inner,.site-footer .wrap{width:calc(100% - 48px)}.site-footer .footer-main{grid-template-columns:1fr 1fr 40px;gap:30px}.site-footer .footer-contact{grid-column:1/3;flex-direction:row;flex-wrap:wrap;gap:22px}.site-footer .back-top{grid-column:3;grid-row:1}}
@media(max-width:960px){.portal-sidebar{position:relative;top:auto;display:block;min-height:0;padding:0;margin:0;width:100%;white-space:nowrap;overflow-x:auto;border-bottom:1px solid var(--ws-border)}.portal-sidebar .sidebar-group{display:flex;align-items:center;gap:16px;padding:0;width:max-content;min-width:100%}.portal-sidebar .sidebar-link{padding:16px 0;min-height:54px;margin:0;font-size:14px;border-left:0;border-bottom:2px solid transparent}.portal-sidebar .sidebar-link[aria-current="page"],.portal-sidebar .sidebar-link.active{background:none;border-left:0;border-bottom-color:var(--red)}.portal-sidebar .sidebar-group:not(:first-child),.portal-sidebar .sidebar-foot,.portal-sidebar .sidebar-label,.portal-sidebar .sidebar-store{display:none}.site-header .header-actions{gap:16px}.site-header .header-download{display:none}}
@media(max-width:680px){html{scroll-padding-top:72px}.site-header,html[data-theme="light"] .site-header{height:70px}.site-header .header-inner{width:calc(100% - 28px);gap:10px}.brand,.site-header .brand{gap:9px}.site-header .brand-emblem{width:42px;height:42px}.site-header .brand-wordmark{font-size:16px;letter-spacing:.045em}.site-header .header-actions{gap:8px;min-width:0}.site-header .account-link{display:none}.site-header .lang-toggle{font-size:13px;padding:0 5px;gap:4px}.site-header .lang-toggle .icon{display:none}.theme-toggle{width:34px;min-width:34px}.site-header .menu-toggle{width:34px;height:40px;display:flex}.primary-nav{top:70px;background:var(--ws-surface);color:var(--ws-title);border-bottom:1px solid var(--ws-border)}.primary-nav.open{display:flex}.primary-nav a{font-size:15px;color:var(--ws-title);min-height:46px}.portal-sidebar .sidebar-group{padding:0 18px;gap:24px}.portal-sidebar .sidebar-link{min-height:52px;font-size:14px;padding:14px 0}.btn{padding:11px 20px;white-space:normal}.site-footer .wrap{width:calc(100% - 36px)}.site-footer .footer-main{display:grid;grid-template-columns:minmax(0,1fr) 40px;gap:26px;padding:30px 0}.site-footer .footer-brand{grid-column:1}.site-footer .brand-emblem{width:52px;height:52px}.site-footer .brand-wordmark{font-size:18px}.site-footer .back-top{grid-column:2;grid-row:1}.site-footer .footer-links{grid-column:1/-1;order:0;width:auto}.site-footer .footer-contact{grid-column:1/-1;display:flex;flex-direction:column;gap:12px}.site-footer .footer-bottom{flex-direction:column;align-items:flex-start;gap:13px}.modal{max-width:calc(100vw - 24px)}.modal-content{padding:42px 24px 28px}.modal h2{font-size:25px}.modal-meta{flex-wrap:wrap}.article-body{margin-top:24px}.detail-list>div{gap:18px}.ann-copy span{display:none}}
@media(max-width:370px){.site-header .brand-wordmark{font-size:14px}.site-header .brand-emblem{width:36px;height:36px}.site-header .header-actions{gap:4px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}a,button{transition:none}}
/* Compact footers on purchase and utility pages. */
.shop-footer,.policy-footer,.nf-footer,html[data-theme="light"] .shop-footer,html[data-theme="light"] .policy-footer,html[data-theme="light"] .nf-footer{display:flex;align-items:center;justify-content:flex-start;flex-wrap:wrap;gap:22px;width:min(1480px,calc(100% - 80px));max-width:none;margin:0 auto;padding:28px 0;background:transparent;border-top:1px solid var(--ws-border);font-size:14px;color:var(--ws-quiet)}
.shop-footer>.brand,.policy-footer>.brand,.nf-footer>.brand{margin-right:auto;color:var(--ws-title)}
.shop-footer .brand-emblem,.policy-footer .brand-emblem,.nf-footer .brand-emblem{width:48px;height:48px}.shop-footer .brand-wordmark,.policy-footer .brand-wordmark,.nf-footer .brand-wordmark{font-size:18px;letter-spacing:.07em}
.admin-document .admin-brand{display:flex;align-items:center;gap:12px;color:var(--ws-title);text-decoration:none}.admin-document .admin-brand>.brand-emblem{width:48px;height:48px}.admin-document .admin-brand .brand-wordmark{width:auto;font-size:20px}.admin-document .admin-sub{font-size:13px;color:var(--ws-quiet);margin-left:14px;letter-spacing:0}.admin-document .admin-header{min-height:80px;background:var(--ws-bg);border-color:var(--ws-border)}.admin-document .admin-header-inner{width:min(1480px,calc(100% - 80px));max-width:none}.admin-gate-emblem{width:84px;height:84px;object-fit:contain;background:#fff;margin-right:18px}.admin-document .gate-brand-head{display:flex;align-items:center;justify-content:flex-start;gap:0}.admin-document .gate-brand{font-size:22px;letter-spacing:.07em}.isc-document .isc-footer .footer-main{grid-template-columns:minmax(220px,1fr) minmax(0,1.6fr)}
@media(max-width:680px){.shop-footer,.policy-footer,.nf-footer{width:calc(100% - 36px);gap:18px;font-size:13px;padding:24px 0}.shop-footer>.brand,.policy-footer>.brand,.nf-footer>.brand{flex-basis:100%;margin-bottom:5px}.admin-document .admin-header-inner{width:calc(100% - 28px)}.admin-document .admin-brand .brand-wordmark{font-size:15px}.admin-document .admin-brand>.brand-emblem{width:40px;height:40px}.admin-document .admin-sub{display:none}.admin-document .btn-play{font-size:13px;padding:9px 13px}.isc-document .isc-footer .footer-main{grid-template-columns:1fr}.isc-document .isc-brand-divider,.isc-document .isc-brand-badge{display:none}.isc-document .isc-header-actions{gap:8px}.isc-document .isc-header-actions>.btn{padding:8px 10px;font-size:13px}.isc-document .isc-header-actions>.btn>.icon{display:none}.isc-document .isc-header .brand-wordmark{font-size:15px}}

.portal-sidebar .sidebar-link::before{display:none!important}@media(max-width:960px){.portal-sidebar{scrollbar-width:none}.portal-sidebar::-webkit-scrollbar{display:none}.portal-sidebar .sidebar-link[aria-current="page"],html[data-theme="light"] .portal-sidebar .sidebar-link[aria-current="page"]{background:transparent;border-left:0!important;border-bottom-color:var(--red)!important}.portal-sidebar .sidebar-link::after{display:none!important}}

/* Email registration fields in homepage and feedback-center dialogs. */
.auth-form [data-send-email-code], .isc-form-grid [data-send-email-code] { justify-self: start; min-height: 38px; }
.auth-form [data-email-status], .isc-form-grid [data-email-status] { margin: 0; min-height: 1.5em; overflow-wrap: anywhere; }
.isc-form-grid label:has(input[name="email"]), .isc-form-grid label:has(input[name="code"]) { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
