/*
 *  [ HTML & BODY ]
 */

 :root, :before, :after {
  --text-color:         20, 20, 28;
  --detail-text-color:  55, 58, 78;
  --primary-text-color: 0, 102, 255;
  --link-text-color:    20, 20, 28;
  --nav-text-color:     238, 238, 238;
  --background-color:   195, 196, 212;
  --panel-background-color: 210, 211, 225;
  --panel-accent-background-color: 200, 201, 216;
  --footer-background-color: 180, 182, 200;
  --footer-link-background-color: 170, 172, 192;
  --copyright-background-color: 160, 162, 182;
  --toggle-background-color: 190, 192, 210;
  --nav-button-background-color: 0, 102, 255;
  --nav-button-text-color: 255, 255, 255;
  --primary-button-background-color: 0, 102, 255;
  --primary-button-text-color: 255, 255, 255;
  --secondary-button-background-color: 55, 78, 120;
  --secondary-button-text-color: 255, 255, 255;
  --navigation-background-color: 0, 0, 0, .18;
  --top-navigation-background-color: 0, 0, 0, .25;
  --second-navigation-background-color: 205, 206, 222;
  --second-navigation-text-color: 20, 20, 28;
  --banner-opacity: .85;
  --first-banner-background-color: 0, 8, 30, var(--banner-opacity);
  --second-banner-background-color: 0, 30, 80, var(--banner-opacity);
  /* KazeHCF aliases */
  --bg: 195, 196, 212;
  --panel-bg: 210, 211, 225;
  --text: 20, 20, 28;
  --primary: 0, 102, 255;
  --banner-text-color: 255, 255, 255;
  --icon-color: 255, 255, 255;
  --icon-background-color: 0, 102, 255;
  --table-header-background-color: 222, 224, 236;
  --table-header-text-color: 20, 20, 28;
  --table-odd-background-color: 232, 233, 242;
  --input-background-color: 226, 227, 236;
  --input-text-color: 20, 20, 28;
}

.dark, .dark :before, .dark :after {
  --text-color: 255,255,255;
  --detail-text-color: 178,178,178;
  --primary-text-color: 0, 102, 255;
  --link-text-color: 255,255,255;
  --nav-text-color: 255,255,255,1;
  --background-color: 18, 18, 22;
  --panel-background-color: 21,22,28;
  --panel-accent-background-color: 10,11,12;
  --footer-background-color: 28,29,38;
  --footer-link-background-color: 32, 35, 43;
  --copyright-background-color: 20, 20, 28;
  --toggle-background-color: 30, 41, 59;
  --nav-button-background-color: 0, 102, 255;
  --nav-button-text-color: 238,238,238;
  --primary-button-background-color: 0, 102, 255;
  --primary-button-text-color: 238,238,238;
  --secondary-button-background-color: 62,85,126;
  --secondary-button-text-color: 238,238,238;
  --navigation-background-color: 17,18,26,.60;
	--top-navigation-background-color: 0,0,0,.6;
  --second-navigation-background-color: 17,18,26,.60;
  --second-navigation-text-color: 255,255,255,1;
  --first-banner-background-color: 0, 8, 30,var(--banner-opacity);
  --second-banner-background-color: 0, 30, 80,var(--banner-opacity);
  --banner-text-color: 255,255,255;
  --icon-color: 255,255,255;
  --icon-background-color: 0, 102, 255;
  --table-header-background-color: 32, 35, 43;
  --table-header-text-color: 255,255,255;
  --table-odd-background-color: 20, 21, 25;
  --input-background-color: 20,26,34;
  --input-text-color: 235,235,255;
  /* KazeHCF aliases */
  --bg: 18, 18, 22;
  --panel-bg: 21, 22, 28;
  --text: 255, 255, 255;
  --primary: 0, 102, 255;
}



   .dark.back1, .dark.back1 :after, .dark.back1 :before {
    --background-color: 21, 32, 43;
    --panel-background-color: 25,39,52;
    --panel-accent-background-color 34,48,60;
    --footer-background-color: 25,39,52;
    --footer-link-background-color: 34,48,60;
    --copyright-background-color: 34,48,60;
 }
 
 .dark.back2, .dark.back2 :after, .dark.back2 :before {
    --background-color: 12, 18, 18;
    --panel-background-color: 22, 32, 32;
    --panel-accent-background-color 28,40,40;
    --footer-background-color: 22, 32, 32;
    --footer-link-background-color: 28,40,40;
    --copyright-background-color: 28,40,40;
 }
 
 .dark.back3, .dark.back3 :after, .dark.back3 :before {
    --background-color: 5,5,8;
    --panel-background-color: 11,11,14;
    --panel-accent-background-color 23,23,26;
    --footer-background-color: 12,12,14;
    --footer-link-background-color: 23,23,26;
    --copyright-background-color: 23,23,26;
 }

.default, .default :after, .default :before {
  --primary-text-color: 0, 102, 255;
}



.blue, .blue :after, .blue :before {
  --primary-text-color: 0,224, 233;
  --nav-button-background-color: 0,194,203;
  --primary-button-background-color: 0, 194, 203;
  --first-banner-background-color: 0,44,53, .95;
  --second-banner-background-color: 0,14,23, .9;
  --icon-background-color: 0,224,233;
}

.red, .red :after, .red :before {
  --primary-text-color: 203,47,47;
  --nav-button-background-color: 203,47,47;
  --primary-button-background-color: 203,47,47;
  --first-banner-background-color:  33, 1, 1,var(--banner-opacity);
  --second-banner-background-color:  34,37,47,.95;
  --icon-background-color: 203,47,47;
}

.green, .green :after, .green :before {
  --primary-text-color: 47,203,145;
  --nav-button-background-color: 47,203,145;
  --primary-button-background-color: 47,203,145;
  --first-banner-background-color:  0,44,53,var(--banner-opacity);
  --second-banner-background-color:  0,14,23,var(--banner-opacity);
  --icon-background-color: 47,203,145;
}

.yellow, .yellow :after, .yellow :before {
  --primary-text-color: 231,209,47;
  --nav-button-background-color: 211,189,47;
  --primary-button-background-color: 231,209,47;
  --first-banner-background-color: 80,80,5,var(--banner-opacity);
  --second-banner-background-color: 10,10,1,var(--banner-opacity);
  --icon-background-color: 231,209,47;
}

.purple, .purple :after, .purple :before {
  --primary-text-color: 180,45,255;
  --nav-button-background-color: 160,32,240;
  --primary-button-background-color: 160,32,240;
  --first-banner-background-color:  128, 60, 234,var(--banner-opacity);
  --second-banner-background-color:  34,37,47,var(--banner-opacity);
  --icon-background-color: 160,32,240;
}

*:not(i) {
  font-family: "Raleway", sans-serif!important;
}

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1; 
}
 
::-webkit-scrollbar-thumb {
  background: rgba(var(--primary-text-color)); 
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(var(--primary-text-color),.8);
}

body {
  background-color: rgba(var(--background-color));
  color: rgba(var(--text-color));
  overflow-x: hidden;
}

li {
	list-style: none;
}

.modal-open {
  height: 100vh;
  width: 100vw;
  overflow: hidden;
  position: relative;
}

.fade.in {
  opacity: 1;
}

.modal-backdrop.fade {
  opacity: 0;
  filter: alpha(opacity=0);
}

.modal-backdrop.in {
  opacity: 0.5;
  filter: alpha(opacity=50);
}

.modal-backdrop {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 400;
  background-color: #000000;
}

.bg-default {
  background-color: rgba(var(--background-color));
}

footer {
  background-color: rgba(var(--footer-background-color));
}

header {
  height: 40rem;
  color: rgba(var(--banner-text-color));
}

.dropdown-menu {
color: rgba(var(--text-color));
}

.bg-copyright {
  background-color: rgba(var(--copyright-background-color));
}

.bg-toggle {
  background-color: rgba(var(--toggle-background-color));
}

.bg-toggle:hover {
  background-color: rgba(var(--toggle-background-color), .8);
}

.bg-panel {
  background-color: rgba(var(--panel-background-color));
}

.bg-panel-accent {
  background-color: rgba(var(--panel-accent-background-color));
}

.bg-top-nav {
	background-color: rgba(var(--top-navigation-background-color));
}

.bg-footer-link {
  background-color: rgba(var(--footer-link-background-color));
}

.bg-footer-link:hover, .bg-footer-link:active, .bg-footer-link:focus {
  background-color: rgba(var(--footer-link-background-color),.8);
}

.bg-primary-button {
  background-color: rgba(var(--primary-button-background-color));
  color: rgba(var(--primary-button-text-color));
}

.bg-primary-button:hover, .bg-primary-button:active, .bg-primary-button:focus {
  background-color: rgba(var(--primary-button-background-color), .8);
  color: rgba(var(--primary-button-text-color),.8);
}

.bg-secondary-button {
  background-color: rgba(var(--secondary-button-background-color))!important;
  color: rgba(var(--secondary-button-text-color))!important;
}

.bg-secondary-button:hover, .bg-secondary-button:active, .bg-secondary-button:focus {
  background-color: rgba(var(--secondary-button-background-color), .8)!important;
  color: rgba(var(--secondary-button-text-color),.8)!important;
}

.bg-table-header {
  background-color: rgba(var(--table-header-background-color));
  color: rgba(var(--table-header-text-color));
}

.text-default {
	color: rgba(var(--text-color));
}

.text-primary {
  color: rgba(var(--primary-text-color));
}

.hover\:text-primary:hover {
  color: rgba(var(--primary-text-color));
}

.border-primary {
	border-color: rgba(var(--primary-text-color));
}

.hover\:border-primary:hover {
	border-color: rgba(var(--primary-text-color));
}

.bg-primary {
  background-color: rgba(var(--primary-text-color));
	color: rgba(var(--primary-button-text-color));
}

.bg-input {
  background-color: rgba(var(--input-background-color));
  color: rgba(var(--input-text-color));
}

.table-striped tr:nth-child(even) {
  background-color: rgba(var(--table-odd-background-color));
}

a {
  color: rgba(var(--link-text-color));
}

a:hover, a:focus, a:active  {
  color: rgba(var(--primary-text-color),.8);
}

.bg-primary a:hover, .bg-primary a:focus, .bg-primary a:active {
  color: rgba(var(--text-color),.6);
}

.navitem {
  height: -moz-fit-content;
  height: fit-content;
  font-size: 1.2rem;
  font-weight: 700;
  color: rgba(var(--nav-text-color));
}

.navitem:hover, .navitem:focus, .navitem:active  {
  color: rgba(var(--primary-text-color));
}

.nav-link {
font-size: 1.2rem;
}

nav {
  background-color: rgba(var(--navigation-background-color));
	content: " 88329f5bf393d166e26ed460e060ecb2 ";
}

.image-parent img {
height: 100%;
}

.nav-btn {
  background-color: rgba(var(--nav-button-background-color));
  color: rgba(var(--nav-button-text-color));
}

.nav-btn:hover, .nav-btn:focus, .nav-btn:active {
  background-color: rgba(var(--nav-button-background-color),.8);
  color: rgba(var(--nav-button-text-color),.8);
}

.bg-icon {
  background-color: rgba(var(--icon-background-color));
  color: rgba(var(--icon-color));
}

/* Particles */

canvas {
  display: block;
  vertical-align: bottom;
}

/* ---- particles.js container ---- */

#particles-js {
  position:absolute;
  width: 100%;
  height: 100%;
}

.animation-floating-logo {
  animation: logo 6s ease, 4s floating 6s infinite ease;
  position:relative;
}

.animation-footer-link {
  position: relative;
}

.animation-footer-link:after {
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 100%;
  display: block;
  content: '';
  border-bottom: solid 3px rgb(var(--primary-text-color));
  transform: scaleX(0);
  transition: transform .5s ease-in-out;
}

.animation-footer-link:hover:after {
  transform: scaleX(1);
  transform-origin: 0% 50%;
}

.ui.mini.pagination.menu {
	width: fit-content;
	border-radius: .5rem;
	background-color: rgba(var(--panel-background-color));
	padding: .7em;
	display: flex;
	gap: 2em;
}

.ui.mini.pagination.menu .active.item {
	background-color: rgba(var(--primary-text-color));
	color: rgba(var(--primary-button-text-color));
	padding: 0 .7em;
	border-radius: .3rem;
}

@keyframes logo {
  0%   {
    transform: scale(1,1) translateY(-60vh);
  }

  40%  {
    transform: scale(1.05,.95) translateY(0);
  }

  67%  {
    transform: scale(1,1)      translateY(-5vh);
  }

  94%  {
    transform: scale(1,1)      translateY(0);
  }

  100% {
    transform: scale(1,1)      translateY(0);
  }
}

@keyframes floating {
  0%   {
    transform: translateY(0vh);
  }

  50%  {
    transform: translateY(-5vh);
  }

  100% {
    transform: translateY(0vh);
  }
}

@media only screen and (max-width: 600px) {
@keyframes floating {
  0%   {
    transform: translateY(0vh);
  }

  50%  {
    transform: translateY(-2vh);
  }

  100% {
    transform: translateY(0vh);
  }
}
}

header.second-hidden {
  height: 32rem;
}

.inactive {
  pointer-events: none;
  opacity: .8;
}

.scroll-hidden::-webkit-scrollbar {
  display: none;
}

.dark-show {
  display:none;
}

.dark .dark-show {
  display: inline-block;
}

.dark .dark-hidden {
  display: none;
}

li ul.dropdown {
  display: none;
}

li.open ul.dropdown {
  display: block;
}

.default.text.filtered, .sizer {
display: none;
}

.search:not(.selection) {
	background: transparent;
border: none;
outline: none;
}

.selection .message {
position: blcok;
margin-top: 1rem;
}

.tabular.item {
	border-bottom: 3px solid;
	border-color: rgba(var(--text-color));
	color: rgba(var(--text-color));
}

.tabular.item:hover {
	color:rgba(var(--text-color),.8);
	border-color: rgba(var(--text-color),.8);
	cursor: pointer;
}

.tabular.item.active {
	color: rgba(var(--primary-text-color));
	border-color: rgba(var(--primary-text-color));
}

.tabular.item.active:hover {
	color: rgba(var(--primary-text-color),.8);
	border-color: rgba(var(--primary-text-color),.8);
}

/* Cookies */

.cc-color-override--613581420.cc-revoke {
	background-color: rgba(var(--primary-button-background-color))!important;
	color: rgba(var(--primary-button-text-color))!important;
}

.cc-color-override--613581420 {
	background-color: rgba(var(--panel-accent-background-color))!important;
	color: rgba(var(--text-color))!important;
}

.cc-color-override--613581420 .cc-btn.cc-allow {
	color: rgba(var(--primary-text-color))!important;
	border-color: rgba(var(--primary-text-color))!important;
}

.cc-window.cc-floating {
    max-width: 100%;
    width: 24em;
}

/*
   *  [ USER BADGES ]
   */

.badge {
    display: inline-block;
    line-height: 1;
    vertical-align: baseline;
    margin: 0 .14285714em;
    background-color: #e8e8e8;
    background-image: none;
    padding: 0.3em .3em;
    color: rgba(0, 0, 0, .6);
    text-transform: none;
    font-size: .85714286rem;
    font-weight: 700;
    border: 0 solid transparent;
    border-radius: .28571429rem;
    -webkit-transition: background .1s ease;
    transition: background .1s ease;
}

a.badge:hover,
a.badge:focus {
    text-decoration: none;
}

.badge:empty {
    display: none;
}

.badge-primary {
    color: #fff;
    background-color: #007bff;
}

a.badge-primary:hover,
a.badge-primary:focus {
    color: #fff;
    background-color: #0062cc;
}

.badge-secondary {
    color: #fff;
    background-color: #6c757d;
}

a.badge-secondary:hover,
a.badge-secondary:focus {
    color: #fff;
    background-color: #545b62;
}

.badge-success {
    color: #fff;
    background-color: #28a745;
}

a.badge-success:hover,
a.badge-success:focus {
    color: #fff;
    background-color: #1e7e34;
}

.badge-info {
    color: #fff;
    background-color: #17a2b8;
}

a.badge-info:hover,
a.badge-info:focus {
    color: #fff;
    background-color: #117a8b;
}

.badge-warning {
    color: #212529;
    background-color: #ffc107;
}

a.badge-warning:hover,
a.badge-warning:focus {
    color: #212529;
    background-color: #d39e00;
}

.badge-danger {
    color: #fff;
    background-color: #dc3545;
}

a.badge-danger:hover,
a.badge-danger:focus {
    color: #fff;
    background-color: #bd2130;
}

.badge-light {
    color: #212529;
    background-color: #f8f9fa;
}

a.badge-light:hover,
a.badge-light:focus {
    color: #212529;
    background-color: #dae0e5;
}

.badge-dark {
    color: #fff;
    background-color: #343a40;
}

a.badge-dark:hover,
a.badge-dark:focus {
    color: #fff;
    background-color: #1d2124;
}

.text-success {
    color: #1cc88a!important;
}

.text-danger {
    color: #e74a3b!important;
}

.text-warning {
    color: #f6c23e!important;
}

/* ============================================================
   KazeHCF — CavePvP-style Redesign (Blue Accent)
   ============================================================ */

/* Nav: uppercase + wider tracking like CavePvP */
.navitem {
  letter-spacing: 0.09em !important;
  text-transform: uppercase !important;
  font-size: 0.78rem !important;
  font-weight: 700 !important;
}

/* ---- LIVE STATS BAR ---- */
.kaze-stats-bar-wrapper {
  background: rgba(var(--panel-background-color));
  border-bottom: 1px solid rgba(var(--primary-text-color), 0.18);
}

.kaze-stats-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.kaze-stat-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 28px;
  cursor: default;
  transition: background 0.2s;
  text-decoration: none !important;
  color: rgba(var(--text-color)) !important;
}

.kaze-stat-item:hover {
  background: rgba(var(--primary-text-color), 0.06);
  color: rgba(var(--text-color)) !important;
}

.kaze-stat-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  background: rgba(var(--primary-text-color));
  color: #ffffff;
  border-radius: 9px;
  font-size: 1.1rem;
  box-shadow: 0 4px 12px rgba(var(--primary-text-color), 0.35);
}

.kaze-stat-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.kaze-stat-value {
  font-size: 0.9rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(var(--text-color));
  line-height: 1.2;
}

.kaze-stat-label {
  font-size: 0.65rem;
  font-weight: 600;
  color: rgba(var(--detail-text-color));
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.kaze-stat-divider {
  width: 1px;
  height: 44px;
  background: rgba(var(--primary-text-color), 0.15);
  flex-shrink: 0;
}

.kaze-stat-item a.kaze-stat-value {
  color: rgba(var(--primary-text-color)) !important;
}

/* ---- FEATURED NEWS POST ---- */
.kaze-featured-post {
  background: rgba(var(--panel-background-color));
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 25px -5px rgba(0,0,0,0.08), 0 8px 10px -6px rgba(0,0,0,0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.kaze-featured-post:hover {
  transform: translateY(-3px);
  box-shadow: 0 28px 35px -5px rgba(0,0,0,0.12), 0 12px 15px -6px rgba(0,0,0,0.07);
}

.kaze-featured-header {
  background: rgba(var(--primary-text-color));
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 28px;
}

.kaze-featured-badge {
  background: rgba(255,255,255,0.18);
  color: #ffffff;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  padding: 5px 16px;
  border-radius: 100px;
  border: 1px solid rgba(255,255,255,0.28);
}

.kaze-featured-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: rgba(255,255,255,0.9);
  line-height: 1;
}

.kaze-date-day {
  font-size: 1.5rem;
  font-weight: 900;
  line-height: 1;
}

.kaze-date-month {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  opacity: 0.85;
}

.kaze-featured-body {
  padding: 28px 28px 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.kaze-featured-title a {
  font-size: 1.45rem;
  font-weight: 800;
  color: rgba(var(--text-color)) !important;
  line-height: 1.3;
  display: block;
  transition: color 0.2s;
}

.kaze-featured-title a:hover {
  color: rgba(var(--primary-text-color)) !important;
}

.kaze-featured-meta {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 0.82rem;
  color: rgba(var(--detail-text-color));
  align-items: center;
}

.kaze-author {
  font-weight: 700;
  color: rgba(var(--detail-text-color)) !important;
}

.kaze-author:hover {
  color: rgba(var(--primary-text-color)) !important;
}

.kaze-time {
  color: rgba(var(--detail-text-color));
  opacity: 0.75;
}

.kaze-featured-excerpt {
  color: rgba(var(--detail-text-color));
  line-height: 1.75;
  font-size: 0.93rem;
  max-height: 130px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, black 55%, transparent 100%);
  mask-image: linear-gradient(to bottom, black 55%, transparent 100%);
}

.kaze-btn-primary {
  display: inline-block;
  width: fit-content;
  background: rgba(var(--primary-button-background-color));
  color: rgba(var(--primary-button-text-color)) !important;
  font-weight: 800;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 1.8px;
  padding: 11px 26px;
  border-radius: 100px;
  transition: opacity 0.2s, transform 0.2s;
  outline: 1px solid rgba(255,255,255,0.15);
}

.kaze-btn-primary:hover {
  opacity: 0.85;
  transform: translateY(-1px);
  color: rgba(var(--primary-button-text-color)) !important;
}

/* ---- NEWS GRID ---- */
.kaze-news-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

@media (max-width: 640px) {
  .kaze-news-grid {
    grid-template-columns: 1fr;
  }
}

.kaze-news-card {
  background: rgba(var(--panel-background-color));
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.kaze-news-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(0,0,0,0.1);
}

.kaze-news-card-header {
  background: rgba(var(--primary-text-color), 0.07);
  border-top: 3px solid rgba(var(--primary-text-color));
  padding: 12px 20px;
}

.kaze-news-card-date {
  display: flex;
  align-items: baseline;
  gap: 6px;
  color: rgba(var(--primary-text-color));
}

.kaze-news-card-date .kaze-date-day {
  font-size: 1.15rem;
  font-weight: 900;
}

.kaze-news-card-date .kaze-date-month {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.kaze-news-card-body {
  padding: 18px 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.kaze-news-card-title a {
  font-size: 0.98rem;
  font-weight: 700;
  color: rgba(var(--text-color)) !important;
  line-height: 1.45;
  display: block;
  transition: color 0.2s;
}

.kaze-news-card-title a:hover {
  color: rgba(var(--primary-text-color)) !important;
}

.kaze-news-card-meta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 0.78rem;
  color: rgba(var(--detail-text-color));
}

.kaze-empty-news {
  background: rgba(var(--panel-background-color));
  border-radius: 10px;
  padding: 56px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: rgba(var(--detail-text-color));
  text-align: center;
}

/* ---- DARK FOOTER (always dark, like CavePvP) ---- */
.kaze-footer {
  background: #101010 !important;
  color: #676767;
  margin-top: 48px;
}

.kaze-footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  padding: 36px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.kaze-footer-logo {
  height: 46px;
  opacity: 0.8;
  transition: opacity 0.2s;
}

.kaze-footer-logo:hover {
  opacity: 1;
}

.kaze-footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  align-items: center;
}

.kaze-footer-links a {
  color: #676767 !important;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  transition: color 0.2s;
}

.kaze-footer-links a:hover {
  color: #ffffff !important;
}

.kaze-footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding: 28px 0;
}

.kaze-footer-copyright {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.kaze-footer-copyright > span:first-child {
  font-size: 14px;
  font-weight: 600;
  color: #5e5e5e;
}

.kaze-footer-disclaimer {
  font-size: 12px;
  color: #3e3e3e;
}

.kaze-footer-right {
  display: flex;
  align-items: center;
  gap: 14px;
}

.kaze-theme-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255,255,255,0.07);
  cursor: pointer;
  color: #676767;
  transition: background 0.2s, color 0.2s;
}

.kaze-theme-btn:hover {
  background: rgba(255,255,255,0.14);
  color: #ffffff;
}

.kaze-designer-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #3e3e3e !important;
  font-size: 12px;
  font-weight: 600;
  transition: color 0.2s;
}

.kaze-designer-link:hover {
  color: #676767 !important;
}

/* ---- WIDGET CARD CONSISTENCY ---- */
.bg-panel.rounded.shadow-lg,
.rounded.shadow-lg.bg-panel {
  border-radius: 10px !important;
  box-shadow: 0 4px 15px rgba(0,0,0,0.06) !important;
}

/* ---- SCROLLBAR (blue) ---- */
::-webkit-scrollbar-track {
  background: rgba(var(--background-color));
}

::-webkit-scrollbar-thumb {
  background: rgba(var(--primary-text-color), 0.5);
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(var(--primary-text-color), 0.8);
}

/* ============================================================
   KazeHCF — Homepage v2 (Ticker, Stats Bar, Features, Staff)
   ============================================================ */

/* ---- TICKER ---- */
.kaze-ticker {
  display: flex;
  align-items: center;
  background: rgba(var(--primary-text-color));
  color: #fff;
  height: 36px;
  overflow: hidden;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.kaze-ticker-label {
  flex-shrink: 0;
  padding: 0 16px;
  background: rgba(0,0,0,0.25);
  height: 100%;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.kaze-ticker-track {
  flex: 1;
  overflow: hidden;
  position: relative;
}

.kaze-ticker-inner {
  display: inline-flex;
  gap: 0;
  white-space: nowrap;
  animation: ticker-scroll 38s linear infinite;
}

.kaze-ticker-item {
  padding: 0 48px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  opacity: 0.95;
}

.kaze-ticker-links {
  flex-shrink: 0;
  display: flex;
  gap: 0;
  height: 100%;
}

.kaze-ticker-links a {
  color: rgba(255,255,255,0.8) !important;
  padding: 0 14px;
  height: 100%;
  display: flex;
  align-items: center;
  transition: background 0.2s;
  font-size: 0.8rem;
}

.kaze-ticker-links a:hover {
  background: rgba(0,0,0,0.2);
  color: #fff !important;
}

@keyframes ticker-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ---- STATS BAR ---- */
.kaze-statsbar {
  background: rgba(var(--panel-background-color));
  border-bottom: 1px solid rgba(var(--primary-text-color), 0.12);
}

.kaze-statsbar-inner {
  display: flex;
  align-items: stretch;
  flex-wrap: wrap;
  justify-content: center;
}

.kaze-statcard {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 28px;
  cursor: default;
  border-right: 1px solid rgba(var(--primary-text-color), 0.08);
  transition: background 0.2s;
}

.kaze-statcard:last-child { border-right: none; }

.kaze-statcard.copy { cursor: pointer; }

.kaze-statcard:hover {
  background: rgba(var(--primary-text-color), 0.06);
}

.kaze-statcard-icon {
  width: 40px;
  height: 40px;
  background: rgba(var(--primary-text-color));
  color: #fff;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(var(--primary-text-color), 0.3);
}

.kaze-statcard-value {
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(var(--text-color));
  line-height: 1.2;
}

.kaze-statcard-label {
  font-size: 0.62rem;
  font-weight: 600;
  color: rgba(var(--detail-text-color));
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

/* ---- MAIN LAYOUT ---- */
.kaze-main-layout {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.kaze-sidebar {
  flex: 0 0 270px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.kaze-center {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

@media (max-width: 1024px) {
  .kaze-sidebar-left { display: none; }
}

@media (max-width: 900px) {
  .kaze-main-layout { flex-direction: column; }
  .kaze-sidebar { flex: none; width: 100%; }
}

/* ---- FEATURED POST ---- */
.kaze-featured {
  background: rgba(var(--panel-background-color));
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  display: flex;
  transition: transform 0.25s, box-shadow 0.25s;
}

.kaze-featured:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.13);
}

.kaze-featured-accent {
  width: 5px;
  background: rgba(var(--primary-text-color));
  flex-shrink: 0;
}

.kaze-featured-content {
  padding: 28px 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.kaze-featured-top {
  display: flex;
  align-items: center;
  gap: 12px;
}

.kaze-featured-meta-date {
  font-size: 0.75rem;
  color: rgba(var(--detail-text-color));
  display: flex;
  align-items: center;
  gap: 5px;
}

.kaze-featured-title a {
  font-size: 1.4rem;
  font-weight: 800;
  color: rgba(var(--text-color)) !important;
  line-height: 1.3;
  transition: color 0.2s;
}

.kaze-featured-title a:hover {
  color: rgba(var(--primary-text-color)) !important;
}

.kaze-featured-meta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.8rem;
  color: rgba(var(--detail-text-color));
  align-items: center;
}

.kaze-meta-author {
  font-weight: 700;
  color: rgba(var(--detail-text-color)) !important;
  transition: color 0.2s;
}

.kaze-meta-author:hover {
  color: rgba(var(--primary-text-color)) !important;
}

.kaze-meta-time { opacity: 0.75; }

.kaze-featured-excerpt {
  font-size: 0.9rem;
  line-height: 1.75;
  color: rgba(var(--detail-text-color));
  max-height: 110px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, black 50%, transparent 100%);
  mask-image: linear-gradient(to bottom, black 50%, transparent 100%);
}

.kaze-featured-footer {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* ---- BUTTONS ---- */
.kaze-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 24px;
  background: rgba(var(--primary-button-background-color));
  color: rgba(var(--primary-button-text-color)) !important;
  font-weight: 700;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  border-radius: 100px;
  transition: opacity 0.2s, transform 0.2s, box-shadow 0.2s;
  outline: 1px solid rgba(255,255,255,0.15);
}

.kaze-btn:hover {
  opacity: 0.88;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(var(--primary-text-color), 0.35);
  color: rgba(var(--primary-button-text-color)) !important;
}

.kaze-btn-outline {
  background: transparent;
  border: 2px solid rgba(var(--primary-text-color));
  color: rgba(var(--primary-text-color)) !important;
  outline: none;
}

.kaze-btn-outline:hover {
  background: rgba(var(--primary-text-color), 0.1);
  color: rgba(var(--primary-text-color)) !important;
}

/* ---- BADGES ---- */
.kaze-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.kaze-badge-latest {
  background: rgba(var(--primary-text-color));
  color: #fff;
}

.kaze-badge-label {
  background: rgba(var(--primary-text-color), 0.12);
  color: rgba(var(--primary-text-color));
}

/* ---- NEWS GRID ---- */
.kaze-news-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

@media (max-width: 600px) {
  .kaze-news-grid { grid-template-columns: 1fr; }
}

.kaze-newscard {
  background: rgba(var(--panel-background-color));
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  gap: 0;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  transition: transform 0.2s, box-shadow 0.2s;
  border-left: 4px solid rgba(var(--primary-text-color));
}

.kaze-newscard:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.kaze-newscard-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 16px 14px;
  background: rgba(var(--primary-text-color), 0.08);
  min-width: 54px;
  flex-shrink: 0;
}

.kaze-newscard-day {
  font-size: 1.3rem;
  font-weight: 900;
  color: rgba(var(--primary-text-color));
  line-height: 1;
}

.kaze-newscard-month {
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(var(--detail-text-color));
  margin-top: 2px;
}

.kaze-newscard-body {
  padding: 14px 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  justify-content: center;
}

.kaze-newscard-title a {
  font-size: 0.92rem;
  font-weight: 700;
  color: rgba(var(--text-color)) !important;
  display: block;
  line-height: 1.4;
  transition: color 0.2s;
}

.kaze-newscard-title a:hover {
  color: rgba(var(--primary-text-color)) !important;
}

.kaze-newscard-meta {
  display: flex;
  gap: 12px;
  font-size: 0.72rem;
  color: rgba(var(--detail-text-color));
  flex-wrap: wrap;
}

/* ---- EMPTY STATE ---- */
.kaze-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 32px;
  background: rgba(var(--panel-background-color));
  border-radius: 12px;
  color: rgba(var(--detail-text-color));
  gap: 12px;
  text-align: center;
}

.kaze-empty-state i {
  font-size: 2.5rem;
  opacity: 0.4;
}

/* ---- SECTION HEADINGS ---- */
.kaze-section-heading {
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: rgba(var(--detail-text-color));
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.kaze-section-line {
  flex: 1;
  height: 1px;
  background: rgba(var(--primary-text-color), 0.15);
}

.kaze-section-cta {
  display: flex;
  justify-content: center;
  margin-top: 24px;
}

/* ---- FEATURES GRID ---- */
.kaze-features-section {
  padding: 8px 0;
}

.kaze-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

@media (max-width: 768px) {
  .kaze-features-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .kaze-features-grid { grid-template-columns: 1fr; }
}

.kaze-feature-card {
  background: rgba(var(--panel-background-color));
  border-radius: 12px;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border: 1px solid rgba(var(--primary-text-color), 0.06);
  transition: transform 0.22s, box-shadow 0.22s, border-color 0.22s;
  cursor: default;
}

.kaze-feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.1);
  border-color: rgba(var(--primary-text-color), 0.25);
}

.kaze-feature-icon {
  width: 44px;
  height: 44px;
  background: rgba(var(--primary-text-color), 0.1);
  color: rgba(var(--primary-text-color));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: background 0.2s;
}

.kaze-feature-card:hover .kaze-feature-icon {
  background: rgba(var(--primary-text-color));
  color: #fff;
}

.kaze-feature-card h3 {
  font-size: 0.9rem;
  font-weight: 800;
  color: rgba(var(--text-color));
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.kaze-feature-card p {
  font-size: 0.82rem;
  color: rgba(var(--detail-text-color));
  line-height: 1.65;
}

/* ---- STAFF PREVIEW ---- */
.kaze-staff-section {
  padding: 8px 0;
}

.kaze-staff-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

@media (max-width: 640px) {
  .kaze-staff-grid { grid-template-columns: repeat(2, 1fr); }
}

.kaze-staff-card {
  background: rgba(var(--panel-background-color));
  border-radius: 12px;
  padding: 24px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(var(--primary-text-color), 0.06);
  transition: transform 0.22s, box-shadow 0.22s;
  text-align: center;
}

.kaze-staff-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(0,0,0,0.1);
}

.kaze-staff-avatar-wrap {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid rgba(var(--primary-text-color), 0.25);
  flex-shrink: 0;
}

.kaze-staff-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
  image-rendering: pixelated;
}

.kaze-staff-name {
  font-size: 0.88rem;
  font-weight: 700;
  color: rgba(var(--text-color));
}

.kaze-staff-rank {
  font-size: 0.72rem;
}

.kaze-staff-loading {
  grid-column: 1 / -1;
  text-align: center;
  padding: 32px;
  color: rgba(var(--detail-text-color));
  font-size: 0.85rem;
}

/* ---- SCROLL ANIMATIONS ---- */
.fade-in-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.fade-in-up.is-visible {
  opacity: 1;
  transform: none;
}

/* ---- TOP NAV BUTTONS ---- */
.kaze-topnav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(255,255,255,0.1);
  color: rgba(var(--nav-text-color)) !important;
  font-size: 0.85rem;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  text-decoration: none;
}

.kaze-topnav-btn:hover {
  background: rgba(255,255,255,0.2);
  color: #fff !important;
}

.kaze-topnav-discord {
  background: rgba(88,101,242,0.25);
  color: #7289da !important;
}

.kaze-topnav-discord:hover {
  background: rgba(88,101,242,0.45);
  color: #fff !important;
}

/* ---- FOOTER OVERRIDE ---- */
.kaze-footer { background: #101010 !important; }

/* ---- NAVBAR (clean centered single row) ---- */
.kaze-nav {
  height: 56px;
  background: rgba(var(--navigation-background-color));
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.kaze-navlink {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 13px;
  border-radius: 8px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: rgba(var(--nav-text-color)) !important;
  white-space: nowrap;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.kaze-navlink:hover {
  background: rgba(255,255,255,0.1);
  color: #ffffff !important;
  text-decoration: none;
}

.kaze-navlink-cta {
  background: rgba(var(--nav-button-background-color));
  color: rgba(var(--nav-button-text-color)) !important;
  padding: 7px 18px;
  border-radius: 100px;
}

.kaze-navlink-cta:hover {
  background: rgba(0, 82, 210);
  color: #fff !important;
}

.kaze-navlink-dropdown {
  cursor: pointer;
}

.kaze-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 180px;
  background: rgba(var(--panel-background-color));
  border-radius: 10px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.22);
  border: 1px solid rgba(255,255,255,0.07);
  padding: 6px;
  z-index: 50;
}

.kaze-dropdown-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border-radius: 7px;
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(var(--text-color)) !important;
  text-decoration: none;
  transition: background 0.15s;
  white-space: nowrap;
}

.kaze-dropdown-item:hover {
  background: rgba(var(--primary-text-color), 0.1);
  color: rgb(var(--primary-text-color)) !important;
  text-decoration: none;
}

/* ---- LIGHT MODE OVERRIDES ---- */
/* Fix elements that use hardcoded dark/white colors in light mode */
body:not(.dark) .kaze-featured-excerpt,
body:not(.dark) .kaze-newscard-meta,
body:not(.dark) .kaze-featured-meta,
body:not(.dark) .kaze-featured-meta-date {
  color: rgba(60, 63, 84, 1);
}

body:not(.dark) .kaze-feature-card p {
  color: rgba(60, 63, 84, 1);
}

body:not(.dark) .kaze-section-heading {
  color: rgba(20, 20, 28, 1);
}

body:not(.dark) .kaze-section-line {
  background: rgba(20, 20, 28, 0.15);
}

body:not(.dark) .kaze-staff-name {
  color: rgba(20, 20, 28, 1);
}

body:not(.dark) .kaze-staff-rank {
  color: rgba(60, 63, 84, 1);
}

body:not(.dark) .kaze-staff-card {
  background: rgba(242, 242, 247, 1);
  border-color: rgba(0, 0, 0, 0.08);
}

body:not(.dark) .kaze-empty-state {
  color: rgba(60, 63, 84, 1);
}

body:not(.dark) .kaze-statsbar {
  background: rgba(242, 242, 247, 1);
  border-bottom-color: rgba(0, 0, 0, 0.1);
}

body:not(.dark) .kaze-statcard {
  border-right-color: rgba(0, 0, 0, 0.08);
}

body:not(.dark) .kaze-newscard-day {
  color: rgba(0, 102, 255, 1);
}

body:not(.dark) .kaze-newscard-month {
  color: rgba(60, 63, 84, 1);
}

body:not(.dark) .kaze-newscard-title a {
  color: rgba(20, 20, 28, 1) !important;
}

body:not(.dark) .kaze-featured-title a {
  color: rgba(20, 20, 28, 1) !important;
}

body:not(.dark) .kaze-feature-card h3 {
  color: rgba(20, 20, 28, 1);
}

body:not(.dark) .kaze-topnav-btn {
  background: rgba(0, 0, 0, 0.1);
  color: rgba(238, 238, 238, 1) !important;
}

body:not(.dark) .kaze-topnav-btn:hover {
  background: rgba(0, 0, 0, 0.2);
}

/* ============================================================
   KazeHCF — SIDEBAR WIDGETS
   ============================================================ */

.kaze-widget {
  background: rgba(var(--panel-background-color));
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(var(--primary-text-color), 0.1);
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  font-size: 0.82rem;
}

.kaze-widget-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(var(--primary-text-color), 0.08);
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: rgba(var(--detail-text-color));
}

.kaze-widget-header i {
  color: rgb(var(--primary-text-color));
  font-size: 0.85rem;
}

.kaze-widget-body {
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.kaze-widget-footer {
  padding: 8px 16px;
  border-top: 1px solid rgba(var(--primary-text-color), 0.07);
  font-size: 0.7rem;
  color: rgba(var(--detail-text-color));
  text-align: center;
}

/* User list (online staff) */
.kaze-widget-user-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.kaze-widget-user {
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
}

.kaze-widget-avatar {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  border: 1px solid rgba(var(--primary-text-color), 0.2);
}

.kaze-widget-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  image-rendering: pixelated;
}

.kaze-widget-user-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.kaze-widget-username {
  font-weight: 700;
  font-size: 0.8rem;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.kaze-widget-group {
  font-size: 0.68rem;
  color: rgba(var(--detail-text-color));
}

/* Online/offline indicators */
.kaze-online-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 2px rgba(34,197,94,0.3);
  flex-shrink: 0;
}

.kaze-offline-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ef4444;
  box-shadow: 0 0 0 2px rgba(239,68,68,0.3);
  flex-shrink: 0;
}

/* Stat rows (statistics widget) */
.kaze-widget-stat-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 4px 0;
  border-bottom: 1px solid rgba(var(--primary-text-color), 0.05);
}

.kaze-widget-stat-row:last-child {
  border-bottom: none;
}

.kaze-widget-stat-label {
  color: rgba(var(--detail-text-color));
  font-size: 0.75rem;
}

.kaze-widget-stat-val {
  font-weight: 700;
  font-size: 0.8rem;
  color: rgba(var(--text-color));
}

.kaze-widget-latest .kaze-widget-stat-label {
  white-space: nowrap;
}

.kaze-link {
  color: rgb(var(--primary-text-color)) !important;
  text-decoration: none;
}

.kaze-link:hover {
  text-decoration: underline;
}

/* Tags (online users) */
.kaze-widget-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.kaze-widget-tag {
  display: inline-block;
  padding: 3px 9px;
  background: rgba(var(--primary-text-color), 0.1);
  color: rgb(var(--primary-text-color)) !important;
  border-radius: 100px;
  font-size: 0.7rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.15s;
}

.kaze-widget-tag:hover {
  background: rgba(var(--primary-text-color), 0.2);
  text-decoration: none;
}

/* Empty state */
.kaze-widget-empty {
  color: rgba(var(--detail-text-color));
  font-size: 0.78rem;
  text-align: center;
  padding: 8px 0;
  margin: 0;
}

/* Server offline */
.kaze-widget-server-offline {
  color: #ef4444;
  font-size: 0.78rem;
  font-weight: 600;
}

/* Copy IP */
.kaze-copy-ip {
  cursor: pointer;
  transition: color 0.15s;
}

.kaze-copy-ip:hover {
  color: rgb(var(--primary-text-color)) !important;
}

/* Discord widget */
.kaze-widget-discord .kaze-widget-header {
  background: rgba(88, 101, 242, 0.12);
  color: #7289da;
  border-bottom-color: rgba(88,101,242,0.15);
}

.kaze-widget-discord .kaze-widget-header i {
  color: #7289da;
}

.kaze-widget-discord-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin-top: 6px;
  padding: 8px 14px;
  background: rgba(88, 101, 242, 0.9);
  color: #fff !important;
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s;
}

.kaze-widget-discord-btn:hover {
  background: rgba(88, 101, 242, 1);
  color: #fff !important;
  text-decoration: none;
}

/* ============================================================
   KazeHCF — PAGE HERO (shared across vote, forms, etc.)
   ============================================================ */

.kaze-page-hero {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 28px 32px;
  background: rgba(var(--panel-background-color));
  border-radius: 14px;
  border-left: 5px solid rgb(var(--primary-text-color));
  box-shadow: 0 4px 20px rgba(0,0,0,0.07);
}

.kaze-page-hero-icon {
  width: 52px;
  height: 52px;
  background: rgba(var(--primary-text-color));
  color: #fff;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.kaze-page-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: rgba(var(--text-color));
  margin: 0 0 4px;
  line-height: 1.2;
}

.kaze-page-subtitle {
  font-size: 0.82rem;
  color: rgba(var(--detail-text-color));
  margin: 0;
}

/* ============================================================
   KazeHCF — VOTE PAGE
   ============================================================ */

.kaze-vote-message {
  display: flex;
  gap: 16px;
  background: rgba(var(--primary-text-color), 0.08);
  border: 1px solid rgba(var(--primary-text-color), 0.2);
  border-radius: 12px;
  padding: 18px 22px;
}

.kaze-vote-message-icon {
  font-size: 1.2rem;
  color: rgb(var(--primary-text-color));
  flex-shrink: 0;
  padding-top: 2px;
}

.kaze-vote-message-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: rgba(var(--text-color));
  margin: 0 0 6px;
}

.kaze-vote-message-content {
  font-size: 0.82rem;
  color: rgba(var(--detail-text-color));
  line-height: 1.6;
}

.kaze-vote-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.kaze-vote-card {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px 22px;
  background: rgba(var(--panel-background-color));
  border-radius: 12px;
  border: 1px solid rgba(var(--primary-text-color), 0.1);
  text-decoration: none !important;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.kaze-vote-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  border-color: rgba(var(--primary-text-color), 0.35);
  text-decoration: none !important;
}

.kaze-vote-card-rank {
  font-size: 1rem;
  font-weight: 900;
  color: rgb(var(--primary-text-color));
  min-width: 32px;
  text-align: center;
}

.kaze-vote-card-body {
  flex: 1;
}

.kaze-vote-card-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: rgba(var(--text-color));
}

.kaze-vote-card-sub {
  font-size: 0.72rem;
  color: rgba(var(--detail-text-color));
  margin-top: 2px;
}

.kaze-vote-card-icon {
  color: rgba(var(--primary-text-color));
  font-size: 0.9rem;
  opacity: 0.7;
  transition: opacity 0.2s;
}

.kaze-vote-card:hover .kaze-vote-card-icon {
  opacity: 1;
}

/* ============================================================
   KazeHCF — ALERTS (shared)
   ============================================================ */

.kaze-alert {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 18px;
  border-radius: 10px;
  font-size: 0.82rem;
  font-weight: 600;
}

.kaze-alert-success {
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: #16a34a;
}

.kaze-alert-error {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #dc2626;
}

/* ============================================================
   KazeHCF — FORMS
   ============================================================ */

.kaze-form-card {
  background: rgba(var(--panel-background-color));
  border-radius: 14px;
  padding: 32px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.07);
  border: 1px solid rgba(var(--primary-text-color), 0.07);
}

.kaze-form {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.kaze-form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.kaze-form-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: rgba(var(--text-color));
  display: flex;
  align-items: center;
  gap: 6px;
}

.kaze-form-required {
  color: #ef4444;
}

.kaze-form-info-icon {
  color: rgba(var(--primary-text-color));
  cursor: help;
}

.kaze-input {
  width: 100%;
  padding: 11px 14px;
  background: rgba(var(--input-background-color));
  border: 1px solid rgba(var(--primary-text-color), 0.12);
  border-radius: 9px;
  color: rgba(var(--input-text-color));
  font-size: 0.85rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.kaze-input:focus {
  border-color: rgba(var(--primary-text-color), 0.5);
  box-shadow: 0 0 0 3px rgba(var(--primary-text-color), 0.1);
}

.kaze-textarea {
  resize: vertical;
  min-height: 110px;
}

.kaze-select {
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236b7280' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
}

.kaze-radio-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.kaze-radio-label {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 0.82rem;
  color: rgba(var(--text-color));
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid rgba(var(--primary-text-color), 0.1);
  transition: background 0.15s;
}

.kaze-radio-label:hover {
  background: rgba(var(--primary-text-color), 0.05);
}

.kaze-radio-label input {
  accent-color: rgb(var(--primary-text-color));
}

.kaze-file-upload {
  display: flex;
}

.kaze-file-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: rgba(var(--primary-text-color), 0.1);
  color: rgb(var(--primary-text-color));
  border: 1px dashed rgba(var(--primary-text-color), 0.4);
  border-radius: 9px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.kaze-file-label:hover {
  background: rgba(var(--primary-text-color), 0.18);
}

.kaze-form-divider {
  border-top: 1px solid rgba(var(--primary-text-color), 0.1);
  margin: 4px 0;
}

.kaze-form-submit {
  align-self: flex-start;
}

/* ============================================================
   KazeHCF — SUBMISSIONS LIST
   ============================================================ */

.kaze-submissions-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.kaze-submission-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: rgba(var(--panel-background-color));
  border-radius: 12px;
  border: 1px solid rgba(var(--primary-text-color), 0.08);
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  transition: transform 0.2s, box-shadow 0.2s;
}

.kaze-submission-row:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

.kaze-submission-body {
  flex: 1;
  min-width: 0;
}

.kaze-submission-name {
  font-size: 0.9rem;
  font-weight: 700;
  color: rgba(var(--text-color));
}

.kaze-submission-meta {
  font-size: 0.72rem;
  color: rgba(var(--detail-text-color));
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 3px;
  flex-wrap: wrap;
}

.kaze-submission-avatar {
  width: 18px;
  height: 18px;
  border-radius: 4px;
}

.kaze-status-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  background: rgba(var(--primary-text-color), 0.12);
  color: rgb(var(--primary-text-color));
  white-space: nowrap;
}

.kaze-btn-sm {
  padding: 7px 16px;
  font-size: 0.68rem;
  white-space: nowrap;
}

/* ============================================================
   KazeHCF — TICKET CHAT UI
   ============================================================ */

/* Ticket priority colors */
.kaze-ticket-priority { font-size: 1rem; width: 20px; flex-shrink: 0; }
.kaze-priority-4 { color: #ef4444; }
.kaze-priority-3 { color: #f97316; }
.kaze-priority-2 { color: #eab308; }
.kaze-priority-1 { color: rgba(var(--detail-text-color)); }

/* Status badge color variants */
.kaze-status-open                { background: rgba(34,197,94,0.15);  color: #16a34a; }
.kaze-status-in-progress         { background: rgba(59,130,246,0.15); color: #2563eb; }
.kaze-status-waiting-for-staff   { background: rgba(249,115,22,0.15); color: #ea580c; }
.kaze-status-waiting-for-user    { background: rgba(168,85,247,0.15); color: #9333ea; }
.kaze-status-on-hold             { background: rgba(161,161,170,0.15);color: #71717a; }
.kaze-status-escalated           { background: rgba(239,68,68,0.15);  color: #dc2626; }
.kaze-status-resolved,
.kaze-status-closed              { background: rgba(34,197,94,0.1);   color: #16a34a; }
.kaze-status-duplicate,
.kaze-status-invalid             { background: rgba(161,161,170,0.15);color: #71717a; }
.kaze-status-submitted           { background: rgba(59,130,246,0.15); color: #2563eb; }
.kaze-status-under-review        { background: rgba(249,115,22,0.15); color: #ea580c; }
.kaze-status-approved,
.kaze-status-accepted            { background: rgba(34,197,94,0.15);  color: #16a34a; }
.kaze-status-denied,
.kaze-status-rejected            { background: rgba(239,68,68,0.15);  color: #dc2626; }

/* View header */
.kaze-ticket-view-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 28px;
  background: rgba(var(--panel-background-color));
  border-radius: 14px;
  border-left: 5px solid rgb(var(--primary-text-color));
  box-shadow: 0 4px 20px rgba(0,0,0,0.07);
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.kaze-back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: rgba(var(--detail-text-color));
  text-decoration: none;
  margin-bottom: 8px;
}

.kaze-back-link:hover { color: rgb(var(--primary-text-color)); text-decoration: none; }

.kaze-ticket-view-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: rgba(var(--text-color));
  margin: 0 0 10px;
}

.kaze-ticket-view-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.kaze-ticket-meta-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  background: rgba(var(--panel-accent-background-color));
  border-radius: 100px;
  font-size: 0.7rem;
  color: rgba(var(--text-color));
  text-decoration: none;
}

.kaze-ticket-meta-avatar {
  width: 16px;
  height: 16px;
  border-radius: 4px;
  image-rendering: pixelated;
}

.kaze-ticket-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  flex-shrink: 0;
}

.kaze-status-select {
  min-width: 170px;
  height: 36px;
  padding: 6px 32px 6px 10px;
  font-size: 0.78rem;
}

/* Chat container */
.kaze-ticket-chat {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 24px;
  background: rgba(var(--panel-background-color));
  border-radius: 14px;
  border: 1px solid rgba(var(--primary-text-color), 0.07);
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  min-height: 200px;
  margin-bottom: 16px;
}

/* Chat messages */
.kaze-chat-msg {
  display: flex;
  gap: 12px;
  max-width: 78%;
}

.kaze-chat-mine {
  align-self: flex-end;
  flex-direction: row-reverse;
}

.kaze-chat-theirs {
  align-self: flex-start;
}

.kaze-chat-note {
  opacity: 0.8;
}

.kaze-chat-avatar-col {
  flex-shrink: 0;
}

.kaze-chat-avatar {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  image-rendering: pixelated;
}

.kaze-chat-bubble {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.kaze-chat-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.kaze-chat-mine .kaze-chat-meta {
  flex-direction: row-reverse;
}

.kaze-chat-username {
  font-size: 0.75rem;
  font-weight: 700;
  text-decoration: none;
}

.kaze-chat-time {
  font-size: 0.68rem;
  color: rgba(var(--detail-text-color));
}

.kaze-note-badge {
  font-size: 0.65rem;
  font-weight: 700;
  padding: 2px 8px;
  background: rgba(234, 179, 8, 0.15);
  color: #ca8a04;
  border-radius: 100px;
}

.kaze-chat-text {
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 0.83rem;
  line-height: 1.6;
  color: rgba(var(--text-color));
  word-break: break-word;
}

.kaze-chat-theirs .kaze-chat-text {
  background: rgba(var(--panel-accent-background-color));
  border-bottom-left-radius: 4px;
}

.kaze-chat-mine .kaze-chat-text {
  background: rgba(var(--primary-text-color));
  color: #fff;
  border-bottom-right-radius: 4px;
}

.kaze-chat-note .kaze-chat-text {
  background: rgba(234, 179, 8, 0.1) !important;
  border: 1px dashed rgba(234, 179, 8, 0.4);
  color: rgba(var(--text-color)) !important;
}

/* Reply box */
.kaze-ticket-reply {
  background: rgba(var(--panel-background-color));
  border-radius: 14px;
  border: 1px solid rgba(var(--primary-text-color), 0.1);
  padding: 20px;
}

.kaze-reply-box {
  min-height: 90px;
  margin-bottom: 12px;
}

.kaze-reply-footer {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.kaze-note-toggle {
  border: none;
  padding: 0;
  background: transparent;
}

.kaze-note-toggle span {
  font-size: 0.75rem;
  color: rgba(var(--detail-text-color));
}

.ml-auto { margin-left: auto; }

/* ============================================================
   KazeHCF — TAG SYSTEM (icon-badge style)
   ============================================================ */

/* Icon-only badge */
.kaze-tag-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 100px;
  border: 1.5px solid currentColor;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: default;
  position: relative;
  transition: transform 0.2s, box-shadow 0.2s;
  flex-shrink: 0;
  white-space: nowrap;
}
.kaze-tag-badge:hover {
  transform: translateY(-2px);
}

/* Rare glow */
.kaze-tag-badge-rare {
  animation: rare-glow 2s ease-in-out infinite alternate;
}
@keyframes rare-glow {
  0%   { box-shadow: 0 0 5px 1px currentColor; }
  100% { box-shadow: 0 0 12px 4px currentColor; }
}

/* Tooltip */
.kaze-tag-tooltip {
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  background: rgba(8,8,14,0.96);
  color: #fff;
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 0.75rem;
  font-weight: 500;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.18s;
  z-index: 200;
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 4px 20px rgba(0,0,0,0.5);
  text-transform: none;
  letter-spacing: 0;
}
.kaze-tag-badge:hover .kaze-tag-tooltip { opacity: 1; }

.kaze-tag-tooltip-title {
  font-weight: 800;
  font-size: 0.82rem;
  margin-bottom: 3px;
  color: #fff;
}
.kaze-tag-tooltip-desc { color: rgba(255,255,255,0.65); line-height: 1.4; }
.kaze-tag-tooltip-earned { color: rgba(255,255,255,0.45); font-size: 0.7rem; margin-top: 4px; }
.kaze-tag-img {
  width: 16px;
  height: 16px;
  object-fit: contain;
  border-radius: 3px;
  flex-shrink: 0;
}
.kaze-tag-name {
  line-height: 1;
}


/* Tags container */
.kaze-profile-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

/* ============================================================
   KazeHCF — PROFILE PAGE
   ============================================================ */

.kaze-profile-page {
  max-width: 1000px;
  margin: 0 auto 4rem auto;
  padding: 0 1rem;
}

/* Banner */
.kaze-profile-banner {
  width: 100%;
  height: 240px;
  border-radius: 0 0 20px 20px;
  background-size: cover;
  background-position: center;
  background-color: rgba(var(--panel-bg),1);
  position: relative;
}
.kaze-profile-banner-btn {
  position: absolute;
  bottom: 14px;
  right: 18px;
  background: rgba(0,0,0,0.55);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 7px 14px;
  cursor: pointer;
  font-size: 0.85rem;
  transition: background 0.2s;
}
.kaze-profile-banner-btn:hover { background: rgba(0,0,0,0.8); }

/* Profile card */
.kaze-profile-card-wrap {
  margin-top: -30px;
  margin-bottom: 1.5rem;
}
.kaze-profile-card {
  background: rgba(var(--panel-bg),1);
  border-radius: 20px;
  box-shadow: 0 4px 32px rgba(0,0,0,0.22);
  display: flex;
  gap: 0;
  overflow: hidden;
  min-height: 280px;
}

/* LEFT: skin column */
.kaze-profile-skin-col {
  width: 180px;
  flex-shrink: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
}
.kaze-profile-skin-img {
  width: 140px;
  height: auto;
  object-fit: contain;
  display: block;
  image-rendering: pixelated;
  filter: drop-shadow(0 8px 24px rgba(0,0,0,0.4));
}

/* Info cards */
.kaze-profile-info-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0;
}
.kaze-info-card {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(var(--bg),0.5);
  border: 1px solid rgba(var(--text),0.08);
  border-radius: 12px;
  padding: 8px 14px;
  min-width: 0;
  flex-shrink: 0;
}
button.kaze-info-card {
  cursor: pointer;
  font: inherit;
  color: inherit;
  text-align: left;
}
.kaze-info-card-edit {
  border-color: rgba(var(--primary),0.3);
  background: rgba(var(--primary),0.06);
}
.kaze-info-card-edit:hover {
  border-color: rgba(var(--primary),0.6);
  background: rgba(var(--primary),0.12);
}
.kaze-info-card-icon {
  font-size: 1rem;
  color: rgb(var(--primary));
  opacity: 0.8;
  flex-shrink: 0;
}
.kaze-info-card-label {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.4;
}
.kaze-info-card-value {
  font-size: 0.88rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 140px;
}

/* RIGHT: info column */
.kaze-profile-info-col {
  flex: 1;
  min-width: 0;
  padding: 1.75rem 2rem 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  position: relative;
}

.kaze-profile-actions {
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.kaze-profile-name {
  font-size: 2rem;
  font-weight: 900;
  line-height: 1.1;
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 2px;
  padding-right: 160px;
}
.kaze-profile-mc-handle {
  font-size: 0.9rem;
  font-weight: 600;
  opacity: 0.4;
}
.kaze-profile-title {
  font-size: 0.78rem;
  font-weight: 600;
  opacity: 0.45;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}
.kaze-profile-groups {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 10px;
}
.kaze-profile-staff-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 10px;
  font-size: 0.77rem;
  font-weight: 700;
  color: #f5a623;
  background: rgba(245,166,35,0.1);
  border: 1px solid rgba(245,166,35,0.28);
  border-radius: 20px;
  padding: 3px 11px;
  width: fit-content;
}

/* Stats row */
.kaze-profile-stats {
  display: flex;
  align-items: center;
  margin-top: auto;
  padding-top: 1.5rem;
  flex-wrap: wrap;
  gap: 0;
}
.kaze-profile-stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 0 1.25rem 0 0;
}
.kaze-profile-stat-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.4;
}
.kaze-profile-stat-value {
  font-size: 0.95rem;
  font-weight: 700;
}
.kaze-profile-stat-div {
  width: 1px;
  height: 28px;
  background: rgba(var(--text),0.1);
  margin: 0 1.25rem 0 0;
  flex-shrink: 0;
}

.kaze-profile-alert {
  max-width: 1000px;
  margin: 0 auto 1rem auto;
}

/* Tabs */
.kaze-profile-main {
  background: rgba(var(--panel-bg),1);
  border-radius: 20px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.12);
  overflow: hidden;
}
.kaze-profile-tabs {
  display: flex;
  border-bottom: 1px solid rgba(var(--text),0.08);
  overflow-x: auto;
}
.kaze-profile-tab {
  padding: 1rem 1.5rem;
  font-weight: 700;
  font-size: 0.92rem;
  color: rgba(var(--text),0.5);
  border-bottom: 3px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.2s, border-color 0.2s;
}
.kaze-profile-tab:hover { color: rgba(var(--text),0.85); }
.kaze-profile-tab.active {
  color: rgba(var(--text),1);
  border-bottom-color: rgb(var(--primary));
}
.kaze-profile-tab-content { padding: 2rem; }

/* Post form */
.kaze-profile-post-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

/* Wall posts */
.kaze-wall-post {
  display: flex;
  gap: 1rem;
  background: rgba(var(--bg),0.5);
  border-radius: 12px;
  padding: 1.25rem;
  border: 1px solid rgba(var(--text),0.06);
}
.kaze-wall-post-reply {
  background: rgba(var(--bg),0.3);
  padding: 0.9rem 1rem;
}
.kaze-wall-post-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.kaze-wall-post-avatar-sm { width: 32px; height: 32px; }

/* About tab */
.kaze-about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
}
.kaze-about-field {
  background: rgba(var(--bg),0.4);
  border-radius: 12px;
  padding: 1rem 1.25rem;
  border: 1px solid rgba(var(--text),0.06);
}
.kaze-about-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.4;
  margin-bottom: 4px;
}
.kaze-about-value {
  font-size: 0.95rem;
  font-weight: 600;
  word-break: break-word;
}

/* Modals */
.kaze-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
}
.kaze-modal.hidden { display: none; }
.kaze-modal-box {
  background: rgba(var(--panel-bg),1);
  border-radius: 16px;
  padding: 2rem;
  width: 90%;
  max-width: 480px;
  box-shadow: 0 8px 48px rgba(0,0,0,0.35);
}
.kaze-modal-title { font-size: 1.15rem; font-weight: 800; margin-bottom: 1rem; }
.kaze-modal-field-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  opacity: 0.55;
  margin-bottom: 6px;
}
.kaze-input {
  width: 100%;
  background: rgba(var(--bg),0.6);
  border: 1px solid rgba(var(--text),0.15);
  border-radius: 8px;
  padding: 9px 12px;
  color: inherit;
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s;
}
.kaze-input:focus {
  border-color: rgba(var(--primary),0.6);
}

.kaze-modal-actions { display: flex; gap: 0.75rem; margin-top: 1.25rem; justify-content: flex-end; }

/* Button danger */
.kaze-btn-danger {
  background: rgba(220,50,50,0.15) !important;
  color: #f87171 !important;
  border: 1px solid rgba(220,50,50,0.25) !important;
}
.kaze-btn-danger:hover { background: rgba(220,50,50,0.28) !important; }

/* Responsive */
@media (max-width: 600px) {
  .kaze-profile-skin-col { width: 110px; }
  .kaze-profile-skin-img { width: 90px; }
  .kaze-profile-name { font-size: 1.4rem; padding-right: 0; }
  .kaze-profile-actions { position: static; margin-bottom: 0.75rem; }
  .kaze-profile-info-col { padding: 1rem 1.25rem; }
  .kaze-about-grid { grid-template-columns: 1fr; }
}

/* Light mode overrides */
body:not(.dark) .kaze-profile-card,
body:not(.dark) .kaze-profile-main {
  background: rgba(var(--panel-background-color),1);
  box-shadow: 0 4px 24px rgba(0,0,0,0.1);
}
body:not(.dark) .kaze-wall-post {
  background: rgba(var(--background-color),0.7);
  border-color: rgba(0,0,0,0.08);
}
body:not(.dark) .kaze-about-field {
  background: rgba(var(--background-color),0.6);
  border-color: rgba(0,0,0,0.07);
}

/* Light mode vars */
body:not(.dark) {
  --bg: 195, 196, 212;
  --panel-bg: 210, 211, 225;
  --text: 20, 20, 28;
  --primary: 0, 102, 255;
}

/* ── Vote page additions ───────────────────────────── */
.kaze-vote-explainer {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: rgba(var(--panel-background-color),1);
  border-radius: 16px;
  padding: 1.5rem 2rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}
.kaze-vote-step {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  flex: 1;
  min-width: 160px;
}
.kaze-vote-step-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(var(--primary-text-color), 0.15);
  color: rgb(var(--primary-text-color));
  font-weight: 800;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.kaze-vote-step-title { font-weight: 700; font-size: 0.9rem; }
.kaze-vote-step-desc  { font-size: 0.78rem; opacity: 0.55; margin-top: 2px; }
.kaze-vote-step-divider { opacity: 0.25; font-size: 0.8rem; }
.kaze-vote-section-title {
  font-size: 1rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.45;
  margin-bottom: 1rem;
}
.kaze-vote-empty {
  background: rgba(var(--panel-background-color),1);
  border-radius: 16px;
  padding: 3rem;
  text-align: center;
  opacity: 0.6;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.kaze-vote-reward-box {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  background: rgba(var(--primary-text-color), 0.07);
  border: 1px solid rgba(var(--primary-text-color), 0.15);
  border-radius: 16px;
  padding: 1.25rem 1.5rem;
  margin-top: 2rem;
}
.kaze-vote-reward-icon {
  color: rgb(var(--primary-text-color));
  font-size: 1.5rem;
  flex-shrink: 0;
  margin-top: 2px;
}
.kaze-vote-reward-title { font-weight: 700; margin-bottom: 4px; }
.kaze-vote-reward-desc  { font-size: 0.85rem; opacity: 0.65; line-height: 1.5; }

/* ── Applications page ── */
.kaze-app-grid {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.kaze-app-card {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  background: rgba(var(--panel-background-color), 1);
  border: 1px solid rgba(var(--text-color), 0.08);
  border-radius: 14px;
  padding: 1.25rem 1.5rem;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s, transform 0.15s, box-shadow 0.2s;
}
.kaze-app-card:hover {
  border-color: rgba(var(--primary-text-color), 0.45);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0,0,0,0.12);
  color: inherit;
  text-decoration: none;
}
.kaze-app-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(var(--primary-text-color), 0.1);
  color: rgb(var(--primary-text-color));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}
.kaze-app-card-body { flex: 1; min-width: 0; }
.kaze-app-card-title { font-weight: 700; font-size: 1.05rem; margin-bottom: 4px; }
.kaze-app-card-desc  { font-size: 0.83rem; opacity: 0.55; line-height: 1.45; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kaze-app-card-arrow { color: rgb(var(--primary-text-color)); opacity: 0.6; transition: opacity 0.2s, transform 0.2s; }
.kaze-app-card:hover .kaze-app-card-arrow { opacity: 1; transform: translateX(4px); }
