/* Dark graphite surfaces, silver controls and crimson accents. */
html:root body.nrofunz-panel .admin-menu-head strong,html:root body.nrofunz-panel .bxh-info strong{color:#eef4ff!important}
html:root body.nrofunz-panel .admin-menu-head span,html:root body.nrofunz-panel .bxh-info span,html:root body.nrofunz-panel .gc-quick-item{color:#c3d3e9!important}
html:root body.nrofunz-panel .bxh-card{background:linear-gradient(130deg,#283b55,#35263f)!important;border-color:#53617a!important;color:#e3eefd!important}
html:root body.nrofunz-panel .gc-code,html:root body.nrofunz-panel .gc-left,html:root body.nrofunz-panel .gc-left span{background:#2c3c54!important;color:#ecf3ff!important;border-color:#536781!important}
html:root body.nrofunz-panel .gc-quick-left{background:#214b40!important;color:#c6f6e1!important}
html:root body.nrofunz-panel .gc-item{background:linear-gradient(145deg,#f9e7f2,#cfc1d5)!important;border-color:#d3aec7!important;color:#442d42!important;border-radius:14px}
html:root body.nrofunz-panel .gc-item-name,html:root body.nrofunz-panel .gc-item-opts,html:root body.nrofunz-panel .gc-item-qty{color:#442d42!important}
html:root body #loginModal .login-brand small,html:root body #loginModal .login-forgot,html:root body #loginModal .login-register button{color:#ffb0ce!important}
html:root body #loginModal .btn-submit,html:root body .dl-primary,html:root body .btn-primary,html:root body .btn-submit{background:linear-gradient(135deg,#b71f43,#861530)!important;color:#fff!important;border-color:#d25877!important}
html:root body .group-icon.zalo,html:root body .nf-zalo span{background:#075fca!important;color:#fff!important}
html:root body .tabs button{opacity:1!important;background:linear-gradient(145deg,#405777,#263b57)!important;color:#f1f6ff!important;border:1px solid #627996!important;text-shadow:none!important}
html:root body .tabs button.active{background:linear-gradient(145deg,#7c3557,#4c263f)!important;color:#fff1f8!important;border-color:#c780a6!important}
/* Pair every legacy content surface with a readable foreground. */
html:root body .game-guide .game-guide-section{background:#172538!important;border:1px solid #40536d!important;color:#e0e9f7!important;box-shadow:none!important}
html:root body .game-guide .game-guide-section p,html:root body .game-guide .game-guide-section li{color:#dce7f6!important;font-size:15px;line-height:1.85}
html:root body .game-guide .game-guide-section h3,html:root body .game-guide .game-guide-section h3 strong{color:#ffb1cc!important;border-bottom-color:#66465f!important}
html:root body .game-guide .game-guide-intro{color:#b8c9e0!important}
html:root body .wrapper,html:root body .card,html:root body .tabs{background:#182436!important;color:#dce7f7!important;border-color:#40516b!important}
html:root body .wrapper::before{color:#ffbad1!important}
html:root body .table td,html:root body .table tbody tr td,html:root body .top0 td,html:root body .top1 td,html:root body .top2 td{background:#1a283b!important;color:#e0eafa!important;border-color:#3e506b!important}
html:root body .table .name,html:root body .table .power,html:root body .table .power span,html:root body .table td strong,html:root body .table td a{color:#e0eafa!important}
html:root body .table th{color:#c4d6ee!important}html:root body .back-btn{background:#293d58!important;color:#e5efff!important;border-color:#58708f!important}
html:root body .event-card .event-content,html:root body .event-card p,html:root body .event-form label{color:#d9e6f7!important}
html:root body .event-actions a,html:root body .event-actions button,html:root body .event-filters button{background:#2a3f5b!important;color:#e6effc!important;border-color:#607591!important}
html:root body .event-filters button[aria-pressed=true]{background:#68344c!important;color:#fff0f6!important;border-color:#af6d8b!important}
html:root body .event-notice{background:#493b1e!important;color:#ffe4a6!important}
html:root body .item-card,html:root body .item-slot,html:root body .icon-card,html:root body .icon-box,html:root body .gift-edit-preview{border-radius:16px!important}
html:root body .item-card{padding:10px 8px!important}
html:root body .item-card .item-name{line-height:1.5!important}
html:root body .item-card .item-opts{margin-top:7px!important;padding-top:7px!important;font-size:11px!important;line-height:1.65!important}
/* Explicit surface/text pairs for the forum forms and legacy widgets. */
html:root body .comment-form,html:root body .reply-form,html:root body .edit-form{background:#1b283a!important;color:#dce7f7!important;border-color:#3a4a62!important;padding:14px;border-radius:0 0 12px 12px}
html:root body .comment-form__meta,html:root body .comment-form__meta span,html:root body .comment-form__meta strong,html:root body .comment-form__meta label{color:#dce7f7!important}
html:root body .report-image-picker{background:#142033!important;color:#cbdcf2!important;border-color:#607791!important}html:root body .report-image-picker input[type=file]{color:#d8e6f9!important}
html:root body input[type=file]::file-selector-button{background:#334a68;color:#f2f6fe;border:1px solid #657c99;border-radius:5px;padding:6px 12px;cursor:pointer}
html:root body .comment-empty,html:root body .comment-meta time{color:#a9bad2!important}
html:root body .community-divider,html:root body .report-divider{color:#f6a5c0!important}
html:root body .community-footer{background:#1a2638!important;color:#b8c8de!important;border-top:1px solid #3d4b62}html:root body .community-footer a{color:#c7dfff!important}
html:root body .forum-tools button,html:root body .comment-form button,html:root body .comment-actions button,html:root body .comment-more,html:root body .edit-form button,html:root body .reply-form button{background:#2a3c56!important;color:#edf4ff!important;border:1px solid #536984!important}
html:root body .comment-replies{border-color:#72506c!important}html:root body .comment-image{background:#111b2a!important;border-color:#455975!important}
html:root body .modal-box p,html:root body .modal-box .download-confirm-text{color:#c7d7ec!important}html:root body .modal-box p strong{color:#ffb4cd!important}html:root body .terms-section h3{color:#ffb4cd!important}
html:root body .sms-code-button,html:root body .sms-code-display,html:root body .boss-card,html:root body .boss-card__image{background:#1a293f!important;color:#deebfc!important;border-color:#495d7a!important}html:root body .boss-card__state-badge{background:#314763!important;color:#e4efff!important}html:root body .boss-card__bar{background:#3f354c!important}
:root{color-scheme:dark}
html:root body,html:root body.nrofunz-panel,html body:has(#nf-petals){--bg:#0d121c;--surf:#171f2d;--surf2:#1d2838;--surf3:#253246;--bd:#2e3c50;--bd2:#43536b;--tx:#edf2fa;--tx2:#c7d2e4;--tx3:#96a7bf;--blue:#f27b9b;--blue2:#ff9bb6;--indigo:#e780a1;--paper:#171f2d;--ink:#edf2fa;--muted:#9baac0;--border:#334258;--rose:#263246;--rose-light:#1b2535;--nf-bg:#0d121c;--nf-bg-soft:#141d2b;--nf-panel:#171f2d;--nf-panel-2:#202b3b;background:radial-gradient(ellipse at 5% 0,#40213955,transparent 50%),#0d121c!important;color:#e2eaf6!important}
html:root body .wrap,html:root body.nrofunz-panel .layout,html:root body .community-board,html:root body .comment-list,html:root body .download-strip,html:root body .account-strip,html body:has(#nf-petals) .blue-home-actions,html:root body .community-menu{background:#141d2b!important;border-color:#2d3b4f!important;box-shadow:0 18px 60px #0003!important}
html:root body.nrofunz-panel .main,html:root body.nrofunz-panel .sidebar{background:#111a27!important;border-color:#2e3c50!important}
html:root body .char-card,html:root body .sidebar-card,html:root body .stat-card,html:root body .diemdanh-card,html:root body .admin-menu-card,html:root body .gc-card,html:root body .event-card,html:root body .event-section,html:root body .event-hero,html:root body .panel-boss-card,html:root body .panel-boss-edit-card,html:root body .panel-boss-edit-form,html:root body .panel-boss-edit-toolbar,html:root body .community-menu>a,html:root body .account-welcome{background:linear-gradient(140deg,#1d293b,#172131)!important;color:#e3ebf8!important;border-color:#344257!important;box-shadow:0 6px 22px #0002!important}
html:root body .char-name-frame{background:transparent!important;color:#f0f4fd!important}html:root body .char-card{background:radial-gradient(ellipse at top,#582a4555,transparent 70%),#192333!important}
html:root body .account-welcome h1,html:root body .section-title,html:root body .community-board>h2,html:root body .comment-content,html:root body .comment-meta,html:root body .item-name,html:root body .item-info,html:root body .item-opts,html:root body .diemdanh-info h4,html:root body .sidebar-card-label{color:#e6edf9!important}
html:root body .account-welcome p,html:root body .community-menu small,html:root body .diemdanh-info p,html:root body .community-board__note,html:root body .stat-card-label,html:root body .profile-account-id{color:#a6b5cb!important}html:root body .stat-card-value,html:root body .profile-caption{color:#ff9db7!important}
html:root body .comment-card,html:root body .comment-section>h3,html:root body .item-card,html:root body .share-sub-item,html:root body .icon-card,html:root body .icon-box,html:root body .download-choice,html:root body .game-guide-index a{background:#1a2637!important;border-color:#34445c!important;color:#dbe5f5!important}html:root body .comment-badge,html:root body .comment-new-badge,html:root body .comment-stt{background:#45263a!important;color:#ffb0c6!important}
html:root body input:not([type=checkbox]):not([type=radio]):not([type=hidden]),html:root body textarea,html:root body select{background:#101a29!important;color:#e4edfa!important;border-color:#42526b!important}html:root body input::placeholder,html:root body textarea::placeholder{color:#8799b3!important;opacity:1}
html:root body .modal-box{background:linear-gradient(145deg,#202d41,#141e2d)!important;color:#e4ecf8!important;border-color:#45536c!important;box-shadow:0 30px 100px #0009!important}html:root body .modal-box h2,html:root body .game-guide-section h3{color:#ff9bb9!important}html:root body .modal-close{background:#2b3a50!important;color:#e3ecfb!important}html:root body .terms-sections,html:root body .terms-sections p,html:root body .game-guide-section,html:root body .modal-box label{color:#cbd7e9!important}
html:root body #loginModal h2,html:root body #loginModal .login-brand{color:#edf3fd!important}html:root body #loginModal .login-description,html:root body #loginModal .login-register,html:root body #loginModal label{color:#adbed5!important}html:root body #loginModal .login-register{border-color:#34445c!important}html:root body #loginModal .login-password button{background:#2a3a51!important;color:#d9e6f9!important}
html:root body table,html:root body tbody tr{background:#172232!important;color:#dce7f6!important}html:root body tbody tr:nth-child(even){background:#1c293b!important}html:root body tbody tr:hover{background:#2b3046!important}html:root body td{color:#dbe5f5!important;border-color:#344259!important}html:root body th{background:linear-gradient(145deg,#2d3d54,#1b2a40)!important;color:#f0f5ff!important;border-color:#42536d!important}
html:root body .header,html:root body .topbar,html:root body .top-bar{background:linear-gradient(120deg,#1c2a3e,#26364e)!important;color:#edf3ff!important;border-color:#40516c!important}html:root body .badge,html:root body .badge-count,html:root body .code-badge,html:root body .badge-tv,html:root body .cell-id{background:#3c273c!important;color:#ffb3cb!important;border-color:#604158!important}
html:root body .admin-btn,html:root body .sidebar-btn,html:root body .btn-edit,html:root body .btn-cancel,html:root body .btn-danger-sidebar{background:#24344b!important;color:#dbe7f8!important;border-color:#40536f!important}html:root body .admin-btn:hover,html:root body .sidebar-btn:hover{background:#35445d!important}html:root body .btn-del{background:#4b2639!important;color:#ffc0d1!important;border-color:#714056!important}
html:root body #nf-schedule,html:root body #nf-announcement{background:radial-gradient(ellipse at 50% 0,#5a294755,transparent 65%),linear-gradient(145deg,#202c40,#131e2e)!important;color:#e6edf9!important;border-color:#5b425b!important}html:root body .nf-count-section,html:root body .nf-announcement-content{background:#172335!important;color:#d1def2!important;border-color:#3a4961!important}html:root body #nf-schedule h2,html:root body #nf-announcement h2{color:#ffadc7!important}html:root body .nf-count-section h3{color:#f3a2bc!important}html:root body .nf-count-section p,html:root body .nf-schedule-lead,html:root body .nf-timezone,html:root body .nf-announcement-foot,html:root body .nf-count-section>strong{color:#a8b8d0!important}html:root body .nf-count>div{background:linear-gradient(145deg,#342c45,#1e293e)!important;border-color:#51405b!important}html:root body .nf-count b{color:#ffacc8!important}html:root body .nf-count span{color:#c4afcb!important}html:root body .nf-schedule-close,html:root body .nf-announcement-close{background:#303d54!important;color:#f2dce7!important;border-color:#53627b!important}html:root body .nf-notice-launch,html:root body .nf-zalo{background:linear-gradient(130deg,#283951,#172538)!important;color:#e4edfc!important;border-color:#526782!important}
html:root body .nf-settings{background:#192537!important;border-color:#3c4d66!important;color:#e0e9f7!important}html:root body .nf-settings a{color:#ffabc5!important}html:root body .nf-announcement-settings{border-color:#604158!important}html:root body .nf-announcement-settings legend{color:#ffabc5!important}html:root body .nf-notice{background:#153f35!important;color:#aeebcf!important}html:root body .nf-error{background:#4a2639!important;color:#ffc0d3!important}
html:root body .forum-tabs{background:linear-gradient(120deg,#121b29,#24334a)!important}
/* Pink silver inventory surfaces; sheen crosses both the card and its item art. */
html:root body .item-card,html:root body .item-slot,html:root body .icon-card,html:root body .icon-box,html:root body .gift-edit-preview{position:relative;isolation:isolate;overflow:hidden;background:linear-gradient(145deg,#fff4fa 0%,#ead6e3 35%,#c5bccf 53%,#f8e4ef 77%,#e4dae8 100%)!important;border:1px solid #d2aec6!important;color:#442c43!important;box-shadow:inset 0 1px #fff,0 4px 14px #0002!important}
html:root body .item-card .item-name,html:root body .item-card .item-info,html:root body .item-card .item-opts,html:root body .item-slot .qty,html:root body .item-card .item-count{color:#452b42!important;text-shadow:none!important}
html:root body .item-card .item-count,html:root body .item-slot .qty{background:#fff9!important}
html:root body .item-card img,html:root body .item-slot img{background:transparent!important;object-fit:contain}
html:root body .item-card:after,html:root body .item-slot:after,html:root body .icon-card:after,html:root body .icon-box:after,html:root body .gift-edit-preview:after{content:"";position:absolute;inset:-50%;z-index:2;pointer-events:none;background:linear-gradient(115deg,transparent 39%,#ffffff10 44%,#ffffffbb 49%,#ffffff40 53%,transparent 59%);transform:translateX(-110%);animation:giftSurfaceShine 6s ease-in-out infinite}
html:root body .item-card:nth-child(2n):after,html:root body .item-slot:nth-child(2n):after{animation-delay:-2s}html:root body .item-card:nth-child(3n):after,html:root body .item-slot:nth-child(3n):after{animation-delay:-4s}
@keyframes giftSurfaceShine{0%,50%{transform:translateX(-110%)}85%,100%{transform:translateX(110%)}}
@media(prefers-reduced-motion:reduce){html:root body .item-card:after,html:root body .item-slot:after,html:root body .icon-card:after,html:root body .icon-box:after,html:root body .gift-edit-preview:after{display:none}}
