/* Keyframes for the spinner *//*
 * Outfit CSS fallback — for non-Meteor contexts (static sites, browser extension,
 * email templates, OBS overlays). Import this file; stamp the data attributes.
 *
 * Usage:
 *   <body data-outfit-h="29" data-outfit-s="54">
 *   or
 *   <div class="entity-chip" data-outfit-h="29" data-outfit-s="54">Juno</div>
 *
 * For dynamic hue/saturation, inject:
 *   <style>:root { --entity-hue: 29; --entity-saturation: 54%; }</style>
 * and the selectors below will pick them up.
 *
 * CSS variable contract (VESTA-SPEC-063 §5):
 *   --entity-hue          Level 0 — hue in degrees
 *   --entity-saturation   Level 0 — saturation %
 *   --entity-font-heading Level 1 — heading font family
 *   --entity-font-body    Level 1 — body font family
 *   --entity-font-mono    Level 1 — mono font family
 *   --entity-easing       Level 3 — CSS easing function
 *   --entity-duration     Level 3 — transition duration (ms value)
 *
 * Dark Passenger migration note (SPEC-063 §5):
 *   --shadow-hue, --shadow-saturation, --shadow-brightness alias to --entity-*
 *   during transition. New code uses --entity-* only.
 *//* -----
SVG Icons - svgicons.sparkk.fr
----- */
@-webkit-keyframes iron-router-progress-before {
	0%   { -webkit-transform: rotate(0deg);   transform: rotate(0deg); }
	100% { -webkit-transform: rotate(360deg); transform: rotate(360deg); }
}
@-moz-keyframes iron-router-progress-before {
	0%   { -moz-transform: rotate(0deg);   transform: rotate(0deg); }
	100% { -moz-transform: rotate(360deg); transform: rotate(360deg); }
}
@-o-keyframes iron-router-progress-before {
	0%   { -o-transform: rotate(0deg);   transform: rotate(0deg); }
	100% { -o-transform: rotate(360deg); transform: rotate(360deg); }
}
@-ms-keyframes iron-router-progress-before {
	0%   { -ms-transform: rotate(0deg);   transform: rotate(0deg); }
	100% { -ms-transform: rotate(360deg); transform: rotate(360deg); }
}
@keyframes iron-router-progress-before {
	0%   { transform: rotate(0deg); }
	100% { transform: rotate(360deg); }
}

/* Main progress bar */
#iron-router-progress {
	display: block;
	position: fixed;
	top: 0;
	left: 0;
	width: 0%;
	height: 3px;
	background-color: rgba(160, 160, 160, 0.6);
	box-shadow: 0 0 5px rgba(160, 160, 160, 0.6);
	opacity: 1;
	z-index: 10000;
}

/* CSS-only spinner */
/* The spinner only shows after 0.5 seconds of load time */
#iron-router-progress.spinner:before {
	content: "";
	display: block;
	position: fixed;
	top: 10px;
	right: 10px;
	width: 25px;
	height: 25px;
	background-color: transparent;
	border: 3px solid rgba(160, 160, 160, 0.6);
	border-radius: 100px;
	border-right-color: transparent !important;
	opacity: 0;
	z-index: 10000;
	pointer-events: none;
	transition: 0.5s opacity;
	transition-delay: 0.5s;
}

/* Loading state transitions */
#iron-router-progress.loading {
	transition: 1s width, 1s opacity;
	transition-delay: 0s, 1s;
}

#iron-router-progress.loading.spinner:before {
	opacity: 1;
	-webkit-animation: iron-router-progress-before 0.5s linear infinite;
	-moz-animation: iron-router-progress-before 0.5s linear infinite;
	-o-animation: iron-router-progress-before 0.5s linear infinite;
	-ms-animation: iron-router-progress-before 0.5s linear infinite;
	animation: iron-router-progress-before 0.5s linear infinite;
}

/* Done state - fade out */
#iron-router-progress.done {
	opacity: 0;
}

#iron-router-progress.done.spinner:before {
	opacity: 0;
}

:root {
  --entity-hue: 0;
  --entity-saturation: 0%;
  --entity-font-heading: inherit;
  --entity-font-body: inherit;
  --entity-font-mono: monospace;
  --entity-easing: ease;
  --entity-duration: 200ms;

  /* Dark Passenger legacy aliases */
  --shadow-hue: var(--entity-hue);
  --shadow-saturation: var(--entity-saturation);
}

/* ---------------------------------------------------------------------------
 * Entity chip — inline name badge with entity color
 * <span class="entity-chip">Name</span>
 * (color injected via --entity-hue / --entity-saturation at :root or parent)
 * --------------------------------------------------------------------------- */
.entity-chip {
  display: inline-flex;
  align-items: center;
  padding: 2px 10px;
  border-radius: 3px;
  font-size: 0.85em;
  font-weight: 500;
  background-color: hsl(var(--entity-hue), var(--entity-saturation), 45%);
  color: #fff;
  white-space: nowrap;
  transition: opacity var(--entity-duration) var(--entity-easing);
}

.entity-chip:hover {
  opacity: 0.85;
}

/* ---------------------------------------------------------------------------
 * Entity card — L2 capsule: name + color + role one-liner
 * <div class="entity-card">...</div>
 * --------------------------------------------------------------------------- */
.entity-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-radius: 6px;
  background-color: hsl(var(--entity-hue), var(--entity-saturation), 11%);
  color: #fff;
  font-family: var(--entity-font-body);
}

.entity-card__name {
  font-family: var(--entity-font-heading);
  font-weight: 700;
  font-size: 1em;
  color: #fff;
}

.entity-card__role {
  font-size: 0.8em;
  color: hsl(var(--entity-hue), var(--entity-saturation), 90%);
}

.entity-card__greeting {
  font-style: italic;
  font-size: 0.8em;
  color: hsl(var(--entity-hue), var(--entity-saturation), 90%);
  opacity: 0.85;
}

/* ---------------------------------------------------------------------------
 * Outfit swatch — color-only block for palettes/style guides
 * <div class="outfit-swatch" title="Juno h=199 s=35"></div>
 * --------------------------------------------------------------------------- */
.outfit-swatch {
  width: 40px;
  height: 40px;
  border-radius: 4px;
  background-color: hsl(var(--entity-hue), var(--entity-saturation), 50%);
  display: inline-block;
}

/* ---------------------------------------------------------------------------
 * Entity avatar wrapper — clips to circle, consistent sizing
 * <div class="entity-avatar"><img src="...avatar.png" alt="Name"></div>
 * --------------------------------------------------------------------------- */
.entity-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid hsla(var(--entity-hue), var(--entity-saturation), 10%, 0.5);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: hsla(var(--entity-hue), var(--entity-saturation), 30%, 0.25);
}

.entity-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------------------------------------------------------------------------
 * Outfit transition — applies entity motion values to an element
 * <div class="outfit-transition">...</div>
 * --------------------------------------------------------------------------- */
.outfit-transition {
  transition: all var(--entity-duration) var(--entity-easing);
}.truncate {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.truncate-start {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  direction: rtl;
  text-align: left;
}.application-containment {
  z-index: 369;
  position: fixed;
  inset:0;
  overflow: hidden;
  isolation: isolate;
}

/* center container - panels slide over this */
.content-containment {
  position: relative;
  z-index: 1;
  height: 100%;
  overflow: auto;
  overflow-x: hidden;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
  padding-top: 88px;
}

.content-containment.left-open {
  transform: translateX(var(--panel-width, 280px));
}

.content-containment.right-open {
  transform: translateX(calc(-1 * var(--panel-width, 280px)));
}

.content-containment.both-open {
  transform: translateX(calc(var(--panel-width, 280px) - var(--panel-width, 280px)));
}

/* panel containers */
.panel-containment {
  position: absolute;
  top: 0;
  bottom: 0;
  width: var(--panel-width, 280px);
  min-width: var(--panel-min-width, 200px);
  max-width: var(--panel-max-width, 85vw);
  z-index: 20;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
              width 0.1s ease;
  will-change: transform;
  overflow: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  background: var(--panel-bg, #fff);
  box-shadow: var(--panel-shadow, 2px 0 10px rgba(0,0,0,0.15));
}

.panel-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 8px;
  cursor: col-resize;
  z-index: 25;
}

.panel-handle:hover {
  background: rgba(0, 0, 0, 0.05);
}

.panel-handle:active {
  background: rgba(0, 0, 0, 0.1);
}

/* LEFT PANELS */
.panel-containment.left {
  left: 0;
  transform: translateX(-100%);
}

.panel-handle.left {
  right: 0;
}

.panel-containment.left.open {
  transform: translateX(0);
}

/* RIGHT PANELS */
.panel-containment.right {
  right: 0;
  transform: translateX(100%);
}

.panel-handle.right {
  left: 0;
}

.panel-containment.right.open {
  transform: translateX(0);
}

/* Panel header */
.panel-header {
  position: sticky;
  top: 0;
  z-index: 5;
  background: inherit;
  padding: var(--panel-padding, 16px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.panel-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: none;
  background: transparent;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.panel-close:hover {
  background: rgba(0, 0, 0, 0.1);
}

.panel-close:focus-visible {
  outline: 2px solid var(--focus-color, #0066cc);
  outline-offset: 2px;
}

/* History navigation */
.panel-nav {
  display: flex;
  gap: 4px;
}

.panel-nav button {
  width: 28px;
  height: 28px;
  border: none;
  background: transparent;
  border-radius: 4px;
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.2s, background 0.2s;
}

.panel-nav button:hover:not(:disabled) {
  opacity: 1;
  background: rgba(0, 0, 0, 0.1);
}

.panel-nav button:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

/* back-to-top link */
.back-to-top {
  position: absolute;
  bottom: 16px;
  right: 16px;
  display: none;
  padding: 8px 12px;
  font-size: var(--font-sm);
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  border-radius: 16px;
  text-decoration: none;
  opacity: 0;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 10;
}

.back-to-top.show {
  display: flex;
  align-items: center;
  gap: 4px;
  opacity: 0.8;
}

.back-to-top:hover {
  opacity: 1;
  transform: translateY(-2px);
}

/* Mobile optimizations */
@media (max-width: 768px) {
  :root {
    --panel-width: 85vw;
    --panel-min-width: 280px;
    --panel-max-width: 85vw;
  }

  .panel-handle {
    display: none;
  }

  .back-to-top {
    bottom: 24px;
    right: 24px;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .content-containment,
  .panel-containment,
  .back-to-top {
    transition: none;
  }
}

/* Focus management for accessibility */
.panel-containment:focus-within {
  z-index: 22;
}

/* Print styles */
@media print {
  .panel-containment,
  .back-to-top {
    display: none !important;
  }

  .content-containment {
    transform: none !important;
  }
}


.spirit-row-model { font-size: 12px; }
.spirit-row-harness { font-size: 12px; }
.spirit-row-runtime { font-size: 12px; }

.svg-icon {
	width: 1em;
	height: 1em;
}

.svg-icon-small {
	padding: 4px;
}

.svg-icon path,
.svg-icon polygon,
.svg-icon rect {
  fill: var(--text-color);
}

.svg-icon circle {
  stroke: var(--text-color);
  stroke-width: 1;
}

.hamburger path{
  fill: var(--highlight-text-color);
}

.app-version{
	font-size: var(--font-body);
	bottom: 0;
	right: 0;
	left: 0;
	margin: 3px;
}


.full-height{
	align-items: stretch;
	flex-direction: column;
}

.font-size-tiny{
	font-size: var(--font-sm);
}
.glow-dark {
	border: 1px solid rgba(0, 0, 0, 0.2);
	-webkit-box-shadow: 0px 0px 15px 2px rgba(255,255,255,.21);
	-moz-box-shadow: 0px 0px 15px 2px rgba(255,255,255,.21);
	box-shadow: 0px 0px 15px 2px rgba(255,255,255,.2);
}

.category-divider{
	font-size: var(--font-sm);
	border: 1px solid rgba(0, 0, 0, 0.2);
	-webkit-box-shadow: 0px 0px 15px 2px rgba(255,255,255,.21);
	-moz-box-shadow: 0px 0px 15px 2px rgba(255,255,255,.21);
	box-shadow: 0px 0px 15px 2px rgba(255,255,255,.2);
}


.menu-title span {
	background-color: var(--shadow-color);
	color: var(--text-color);
	border-radius: 10px;
	height: 22px;
	line-height: 20px;
	font-size: 20px;
	padding: 4px 19px;
}

.menu-title {
	display: block;
	font-size: var(--font-sm) !important;
	line-height: 25px;
	list-style: none outside none;
	padding: 5px 10px 5px 0 !important;
	text-decoration: none;
	color: var(--text-color);
	width: 100%;
}

#accordion li {
	font-size: 20px;
	line-height: 0;
	list-style: none outside none;
	margin: 0;
	text-align: left;
	color: #33FFFF;
	/* border-top: 1px solid rgba(0,0,0,0.2); */
	 border-top: 1px solid rgba(0,0,0,0); 
	 border-bottom: 1px solid rgba(0,0,0,0); 
}
.hover-identify:hover {
	 border-top: 1px solid rgba(255,0,0,0.2); 
	 border-bottom: 1px solid rgba(255,0,0,0.2); 

}

#accordion li i {
	font-size: 18px;
	font-style: normal;
	left: -5px;
	line-height: 15px;
	position: relative;
	width: 20px;
	top: 5px;
}

#accordion ul li{
	border-left: 4px solid white;
}


.accordion-nav li a {
	color: var(--text-color);
	display: block;
	font-size: var(--font-body);
	line-height: 25px;
	list-style: none outside none;
	padding: 10px 10px 10px 30px;
	text-decoration: none;
}

.accordion-nav li a:hover:after {
	border-bottom: 6px solid #ffffff;
	border-left: 8px solid transparent;
	border-right: 8px solid transparent;
	width: 0;
	height: 0;
	position: absolute;
	top: 19px;
	left: -6px;
	content: "";
	display: block;
	-webkit-transform: rotate(90deg);
	-moz-transform: rotate(90deg);
	-ms-transform: rotate(90deg);
	-o-transform: rotate(90deg);
	tranform: rotate(90deg);
}


li .active {
  background-color: rgba(255,255,255,0.14);
}

.accordion-nav h4 {
	float: right !important;
	margin-top: -2px;
}
.accordion-nav ul {
	margin: 0;
	padding: 0;
	display: none;
}


.smart-menu {
  position: relative;
	width: 100%;
}

.btn-closenav-left, .btn-pinnav-left, .btn-closenav-right, .btn-pinnav-right {
  font-size: 28px!important;
  position: relative;
  cursor: pointer;
}

.padded-10{
  margin-top: 10px;
}

.accordion-app-icon{
	margin-top:-20px;
}

/* --- Indicator drawer (merged from koad-io-style-basic-bitch) --- */

.indicator-drawer {
	margin-top: 20px;
	margin-left: 6px;
	position: fixed;
	top: 0px;
	font-size: 26px;
	z-index: 2800;
	transition: 0.1s;
}

.indicator-background {
	backdrop-filter: blur(8px);
	position: absolute;
	z-index: -200;
	height: 100%;
	width: 100%;
	border-radius: 30px;
	padding-bottom: -10px;
	margin-top: -8px;
}

.indicator-group {
	color: var(--highlight-color);
	z-index: 1900;
	position: relative;
	margin-top: -10px;
	padding-top: 10px;
	margin-bottom: 40px;
	text-align: center;
}

.indicator-brand {
	color: var(--shadow-color);
}

.indicator-brand:hover {
	color: var(--background-color);
}

.smartnav-left {
	top: 0; /* 100% Full-height */
	bottom: 0; /* 100% Full-height */
	width: 240px; /* 0 width - change this with JavaScript */
	margin-left: -242px;
	position: fixed; /* Stay in place */
	z-index: 10000; /* Stay on top */
	background-color: var(--shadow-color);
	opacity: 1;
	overflow-x: hidden; /* Disable horizontal scroll */
	transition: 0.5s; /* 0.5 second transition effect to slide in the smartnav */
	box-shadow: 0px 0px 1px #88888888 ;
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
}

.leftSideNav{
	width: 240px;
}.menu-top-menu-container{
    width: 100vw;
    position: relative;
}


/* Define the draggable area */
.draggable {
  -webkit-app-region: drag;
  cursor: move;
}



.topBanner {
	position: fixed;
	top: 0;
	height: 24px;

	background-color: #0003;
    padding-right: 0px;
	font-size: var(--font-body);
	font-weight: 400;
	text-align: right;
	text-transform: uppercase;


    width: -moz-available;          /* For Mozzila */
    width: -webkit-fill-available;  /* For Chrome */


}




a .material-symbols-outlined {
    font-size: 18px;
    line-height: 0.6;
    opacity: 0.2;
    margin-right: -4px;
}



.toolbar{
	/*display: flex;*/
	/*align-items: center;*/
	/*justify-content: space-between;*/

	height: 69px;
	background-color: var(--shadow-color);
	position: fixed;

	top: 0;
    left: 0;
    right: 0;
}


.topnavbar-assembly{
	z-index: 420;
    /*position: fixed;*/
    width: fill-available;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: top 0.5s ease-in-out; 
}


.navPadding {
	height: 88px;
	z-index: -10px;
    width: -moz-available;          /* For Mozzila */
    width: -webkit-fill-available;  /* For Chrome */
}

.logo{
	left: 0px;
	top: 4px;
    padding: 6px;
	width: 100px;
	transition-property: all;
	transition-duration: 1s;
	transition-timing-function: ease-in-out;
	margin: auto;
	position: fixed;
}

.banner{
	left: var(--side-edges);
	top: 0px;
    height: 69px;
	width: 69px;
    padding: 0px;
	transition-property: all;
	transition-duration: 1s;
	transition-timing-function: ease-in-out;
	margin: auto;
	position: fixed;

}

.toolbar-nav {
    margin: 24px;
    font-style: normal;
    font-family: 'Lato', sans-serif;
    font-size: var(--font-body);
    font-weight: 400;
    width: calc(100vw - 100px);
    position: absolute;
    right: 0;

}

.toolbar-nav ul {   
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    /* hide scrollbar but keep functionality */
    scrollbar-width: none;      /* Firefox */
    -ms-overflow-style: none;   /* IE/Edge */ 
}

.toolbar-nav ul::-webkit-scrollbar {
    display: none;              /* Chrome/Safari */
}

.toolbar-nav li a {
    padding: 2px;
    color: var(--text-color);
    text-transform: uppercase;
    font-size: 1.05em;
    line-height: 1.5em;
    position: relative;
    display: block;
}


.toolbar-nav li {
    padding: 10px;
    margin-left: 4px;
    float: right;
    display: inline-block;
    position: relative;
    /*z-index: 24;*/
}
.toolbar-nav li a {
    text-decoration: none!important;
}

.toolbar-nav li::before {
    content: '';
    position: absolute;
    left: 50%;
    right: 50%;
    bottom: 50%;
    top: 50%;
    width: 0;
    height: 0;
    background-color: rgba(237, 32, 36, 0);

	transition-property: all;
	transition-duration: 0.3s;
	transition-timing-function: ease-in-out;
    border-radius: 2px;

}

.toolbar-nav li:hover::before {
    height: 70%;
    width: 100%;

    width: -moz-available;          /* For Mozzila */
    width: -webkit-fill-available;  /* For Chrome */

    top: 15%;
    bottom: 15%;
    left: 0;
    right: 0;
    background-color: var(--accent-color);
    border-radius: 2px;
}

.toolbar-nav li.active::before {
    height: 70%;
    width: 100%;

    width: -moz-available;          /* For Mozzila */
    width: -webkit-fill-available;  /* For Chrome */
    
    top: 15%;
    bottom: 15%;
    left: 0;
    right: 0;
    background-color: var(--accent-color);
    border-radius: 6px;
}


.toolbar li{
    display: inline-block;
}

.infobar {
	text-align: right;
    padding: 4px;
	padding-left: var(--side-edges);
	padding-right: var(--side-edges);
    width: -moz-available;          /* For Mozzila */
    width: -webkit-fill-available;  /* For Chrome */

}

.infobar a{
	color: var(--highlight-text-color);
	cursor: pointer;
    text-decoration: none!important;
}



/* --- ecoincore quick-button infobar (conditional when ecoincore package present) --- */

.infobar-quick-buttons {
    float: right;
    display: flex;
    align-items: center;
    margin: 4px;
}

.infobar-quick-buttons a {
    float: right;
    display: flex;
    align-items: center;
    margin: 4px;
    text-decoration: none;
    border-radius: 6px;
    position: relative;
    color: var(--highlight-text-color);
    cursor: pointer;
}

.infobar-quick-buttons a:hover {
    background-color: var(--hover-overlay, rgba(255, 255, 255, 0.07));
}

.top-bar-notification-badge {
    position: absolute;
    background: transparent;
    border: 1px solid transparent;
    color: var(--text-bright);
    border-radius: 3px;
    width: 100%;
    height: 100%;
    font-size: var(--font-sm);
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    padding: 0 2px;
}

.top-bar-notification-badge.green {
    background: rgba(40, 167, 69, 0.2);
    border-color: #28a745;
}

.top-bar-notification-badge.yellow {
    background: rgba(255, 193, 7, 0.2);
    border-color: #ffc107;
    color: #212529;
}

.top-bar-notification-badge.red {
    background: var(--danger-overlay, rgba(220, 53, 69, 0.2));
    border-color: var(--danger-color, #dc3545);
}


.electron-close-btn {
	position: fixed;
	top: 0;
	right: 0;
	z-index: 10001;
	font-size: 26px;
	line-height: 1;
	padding: 0px 8px;
	color: var(--text-color, #fff);
	text-decoration: none;
	cursor: pointer;
	-webkit-app-region: no-drag;
	opacity: 0.6;
	transition: opacity 0.2s;
}

.electron-close-btn:hover {
	opacity: 1;
	color: var(--danger-color, #dc3545);
}


.authentication-text {
    color: var(--text-color, #fff);
    text-decoration: none;
    -webkit-app-region: no-drag;
    cursor: pointer;
}

.authentication-text:hover {
    opacity: 1;
    color: var(--text-color, #3545dc);
}




.small-language-icon{
	height:30px;
	width:30px;
	margin:-10px; 
	margin:-10px;
}

.brand-title h2 {
    text-transform: uppercase;
    font-weight: bold;
    font-size: 30px;
    margin-bottom: 0px;
    padding-bottom: 0px;
}

.brand h3 {
    text-transform: uppercase;
    font-weight: bold;
    font-size: 20px;
    margin-bottom: 0px;
    padding-bottom: 0px;
}

.brand-line {
    display: inline-block;
    width: 170px;
    height: 2px;
    background-color: #ed2024;
}:root {
	--bg: #070d0b;
	--bg-2: #0b1512;
	--card: rgba(255, 255, 255, 0.04);
	--card-border: rgba(103, 232, 249, 0.18);
	--primary: #22d3ee;
	--primary-2: #67e8f9;
	--accent: #a78bfa;
	--text: #e7f6f2;
	--text-dim: #9db8b0;
	--font-head: "Luckiest Guy", system-ui, sans-serif;
	--font-body: "Patrick Hand", system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
	background: var(--bg);
	color: var(--text);
	font-family: var(--font-body);
	font-size: 19px;
	line-height: 1.55;
	min-height: 100vh;
	overflow-x: hidden;
}

/* Forest vine wash */
.bg-vines {
	position: fixed;
	inset: 0;
	z-index: -1;
	pointer-events: none;
	background:
		radial-gradient(ellipse at 50% -10%, rgba(34, 211, 238, 0.10), transparent 55%),
		radial-gradient(ellipse at 85% 110%, rgba(167, 139, 250, 0.08), transparent 50%),
		linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 60%, #050807 100%);
}

/* ---------- Top bar ---------- */
.topbar {
	position: fixed;
	top: 0; left: 0; right: 0;
	z-index: 40;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0.7rem 1.5rem;
	background: rgba(5, 12, 10, 0.72);
	backdrop-filter: blur(10px);
	border-bottom: 1px solid var(--card-border);
}

.brand { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; color: var(--text); }
.brand-mark { width: 42px; height: 42px; border-radius: 10px; box-shadow: 0 0 18px rgba(34, 211, 238, 0.35); }
.brand-word { font-family: var(--font-head); font-size: 1.5rem; letter-spacing: 1px; color: var(--primary); text-shadow: 0 0 14px rgba(34, 211, 238, 0.5); }

.topnav { display: flex; gap: 1.4rem; }
.topnav a { color: var(--text-dim); text-decoration: none; font-size: 1.05rem; transition: color 0.2s; }
.topnav a:hover { color: var(--primary); }

/* ---------- Hero ---------- */
.hero {
	position: relative;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: 7rem 1.5rem 4rem;
}

.hero-glow {
	position: absolute;
	top: 8%; left: 50%;
	transform: translateX(-50%);
	width: 520px; height: 520px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(34, 211, 238, 0.22), transparent 65%);
	pointer-events: none;
}

.hero-panda {
	width: min(230px, 55vw);
	height: auto;
	position: relative;
	filter: drop-shadow(0 0 34px rgba(34, 211, 238, 0.45));
	animation: float 5s ease-in-out infinite;
}

@keyframes float {
	0%, 100% { transform: translateY(0); }
	50% { transform: translateY(-12px); }
}

.hero-title {
	font-family: var(--font-head);
	font-size: clamp(2.6rem, 8vw, 5.4rem);
	line-height: 1.02;
	letter-spacing: 2px;
	margin-top: 1.2rem;
	background: linear-gradient(180deg, var(--primary-2), var(--primary) 55%, #0e7490);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	text-shadow: none;
	filter: drop-shadow(0 2px 0 rgba(0, 0, 0, 0.6));
}

.hero-sub {
	margin-top: 1.1rem;
	color: var(--text-dim);
	font-size: 1.3rem;
	max-width: 640px;
}

.hero-cta {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	justify-content: center;
	margin-top: 2rem;
}

.btn {
	display: inline-block;
	padding: 0.85rem 2.1rem;
	border-radius: 999px;
	font-family: var(--font-head);
	font-size: 1.2rem;
	letter-spacing: 1px;
	text-decoration: none;
	transition: transform 0.2s, box-shadow 0.2s, filter 0.2s;
}

.btn-primary {
	background: linear-gradient(90deg, #3b82f6, var(--primary));
	color: #04121a;
	box-shadow: 0 4px 24px rgba(34, 211, 238, 0.4);
}
.btn-primary:hover { transform: scale(1.05); box-shadow: 0 6px 32px rgba(34, 211, 238, 0.65); }

.btn-ghost {
	border: 2px solid var(--card-border);
	color: var(--text);
	background: rgba(255, 255, 255, 0.04);
}
.btn-ghost:hover { transform: scale(1.05); border-color: var(--accent); color: var(--accent); }

.hero-badges {
	display: flex;
	flex-wrap: wrap;
	gap: 0.7rem;
	justify-content: center;
	margin-top: 2.2rem;
}

.badge {
	font-size: 0.95rem;
	padding: 0.3rem 0.9rem;
	border-radius: 999px;
	background: rgba(34, 211, 238, 0.1);
	border: 1px solid rgba(34, 211, 238, 0.3);
	color: var(--primary-2);
}

/* ---------- Sections ---------- */
.section {
	max-width: 1080px;
	margin: 0 auto;
	padding: 5.5rem 1.5rem;
}

.section-title {
	font-family: var(--font-head);
	text-align: center;
	font-size: clamp(2rem, 5vw, 3.2rem);
	letter-spacing: 2px;
	color: var(--primary);
	text-shadow: 2px 2px 0 #000;
	margin-bottom: 0.6rem;
}

.section-sub {
	text-align: center;
	color: var(--text-dim);
	font-size: 1.2rem;
	margin-bottom: 2.4rem;
}

/* About */
.about-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 1.4rem;
	margin-top: 2rem;
}

.about-card {
	background: var(--card);
	border: 1px solid var(--card-border);
	border-radius: 16px;
	padding: 1.6rem 1.5rem;
	transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}

.about-card:hover {
	transform: translateY(-4px);
	border-color: var(--primary);
	box-shadow: 0 0 28px rgba(34, 211, 238, 0.15);
}

.about-card h3 {
	font-family: var(--font-head);
	color: var(--primary-2);
	font-size: 1.4rem;
	letter-spacing: 1px;
	margin-bottom: 0.6rem;
}

.about-card p { color: var(--text-dim); }

/* Link grid */
.link-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 1.2rem;
	margin-top: 2rem;
}

.link-card {
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
	background: var(--card);
	border: 1px solid var(--card-border);
	border-radius: 16px;
	padding: 1.4rem 1.4rem;
	text-decoration: none;
	color: var(--text);
	transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}

.link-card:hover {
	transform: translateY(-4px) scale(1.02);
	border-color: var(--accent);
	box-shadow: 0 0 28px rgba(167, 139, 250, 0.18);
}

.link-emoji { font-size: 1.9rem; }
.link-name { font-family: var(--font-head); font-size: 1.3rem; color: var(--primary-2); letter-spacing: 1px; }
.link-desc { color: var(--text-dim); font-size: 1rem; }

.link-card-mint {
	background: linear-gradient(160deg, rgba(34, 211, 238, 0.14), rgba(59, 130, 246, 0.08));
	border-color: rgba(34, 211, 238, 0.45);
	box-shadow: 0 0 24px rgba(34, 211, 238, 0.12);
}
.link-card-mint .link-name { color: var(--primary-2); text-shadow: 0 0 12px rgba(34, 211, 238, 0.4); }

/* Gallery */
.gallery-strip {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 1.2rem;
	margin-top: 2rem;
}

.gallery-img {
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	border-radius: 16px;
	border: 3px solid var(--card-border);
	transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
	animation: oscillate 5s ease-in-out infinite;
}

.gallery-img:hover {
	transform: scale(1.04);
	border-color: var(--primary);
	box-shadow: 0 0 30px rgba(34, 211, 238, 0.25);
}

@keyframes oscillate {
	0%, 100% { transform: translateY(0); }
	50% { transform: translateY(-6px); }
}

/* Join */
.join { text-align: center; }

/* Footer */
.footer {
	border-top: 1px solid var(--card-border);
	background: rgba(3, 8, 7, 0.8);
	padding: 2.6rem 1.5rem;
}

.footer-inner {
	max-width: 1080px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.6rem;
	text-align: center;
}

.footer-mark { width: 52px; height: 52px; border-radius: 12px; }
.footer-tag { font-family: var(--font-head); color: var(--primary); letter-spacing: 1px; }
.footer-contract { color: var(--text-dim); font-size: 0.95rem; }
.footer-contract code { color: var(--accent); font-size: 0.85rem; word-break: break-all; }
.footer-links { color: var(--text-dim); font-size: 1rem; }
.footer-links a { color: var(--primary-2); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--text); }
.footer-note { color: var(--text-dim); font-size: 0.9rem; opacity: 0.7; }

/* Mobile */
@media (max-width: 640px) {
	.topnav { display: none; }
	.hero-title { font-size: clamp(2.2rem, 10vw, 3.2rem); }
}

/* ---------- Mint page ---------- */
.mint-hero {
	max-width: 1080px;
	margin: 0 auto;
	padding: 7rem 1.5rem 4rem;
}

.mint-hero-inner { display: flex; flex-direction: column; gap: 2rem; }

.mint-layout {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1.5rem;
	align-items: start;
}

.mint-panel {
	background: var(--card);
	border: 1px solid var(--card-border);
	border-radius: 16px;
	padding: 1.6rem 1.5rem;
}

.panel-title {
	font-family: var(--font-head);
	font-size: 1.3rem;
	letter-spacing: 1.5px;
	color: var(--primary);
	text-shadow: 1px 1px 0 #000;
	margin-bottom: 1.1rem;
}

.stat-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 0.45rem 0;
	border-bottom: 1px dashed rgba(255, 255, 255, 0.07);
}

.stat-label { color: var(--text-dim); }
.stat-value { font-weight: bold; color: var(--text); }

.progress {
	height: 10px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.07);
	overflow: hidden;
	margin: 0.4rem 0 0.9rem;
}

.progress-fill {
	height: 100%;
	border-radius: 999px;
	background: linear-gradient(90deg, #3b82f6, var(--primary));
	transition: width 0.6s ease;
}

.phase-status { font-size: 0.8rem; padding: 0.15rem 0.6rem; border-radius: 999px; margin-left: 0.5rem; vertical-align: middle; }
.phase-live { background: rgba(74, 222, 128, 0.15); color: #4ade80; border: 1px solid rgba(74, 222, 128, 0.4); }
.phase-warn { background: rgba(250, 204, 21, 0.12); color: #facc15; border: 1px solid rgba(250, 204, 21, 0.35); }
.phase-idle { background: rgba(255, 255, 255, 0.06); color: var(--text-dim); border: 1px solid rgba(255, 255, 255, 0.1); }

/* wallet */
.wallet-chip {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid var(--card-border);
	border-radius: 999px;
	padding: 0.4rem 0.9rem;
	font-size: 0.95rem;
	margin-bottom: 1rem;
}

.wallet-dot { width: 9px; height: 9px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 8px #4ade80; }
.chip-tag { background: rgba(34, 211, 238, 0.15); color: var(--primary-2); padding: 0.1rem 0.5rem; border-radius: 999px; font-size: 0.75rem; }
.chip-warn { background: rgba(250, 204, 21, 0.15); color: #facc15; }

/* form */
.mint-form { display: flex; flex-direction: column; gap: 0.7rem; }
.form-label { color: var(--text-dim); font-size: 0.95rem; }

.qty-row { display: flex; align-items: center; gap: 0.6rem; }
.qty-btn {
	width: 2.4rem; height: 2.4rem;
	border-radius: 10px;
	background: rgba(255, 255, 255, 0.07);
	border: 1px solid var(--card-border);
	color: var(--text);
	font-size: 1.2rem;
	cursor: pointer;
	transition: border-color 0.2s, background 0.2s;
}
.qty-btn:hover { border-color: var(--primary); background: rgba(34, 211, 238, 0.1); }
.qty-input {
	width: 4.5rem; height: 2.4rem;
	text-align: center;
	border-radius: 10px;
	background: rgba(0, 0, 0, 0.3);
	border: 1px solid var(--card-border);
	color: var(--text);
	font-family: var(--font-body);
	font-size: 1.1rem;
}

.text-input {
	width: 100%;
	height: 2.5rem;
	padding: 0 0.8rem;
	border-radius: 10px;
	background: rgba(0, 0, 0, 0.3);
	border: 1px solid var(--card-border);
	color: var(--text);
	font-family: var(--font-body);
	font-size: 1rem;
}
.text-input::placeholder { color: rgba(157, 184, 176, 0.5); }

.total-row { color: var(--text-dim); }
.total-row strong { color: var(--primary-2); font-size: 1.15rem; }

.mint-btn { width: 100%; margin-top: 0.3rem; cursor: pointer; }
.mint-btn:disabled { opacity: 0.45; cursor: not-allowed; transform: none !important; box-shadow: none !important; }

.mint-hint { color: var(--text-dim); font-size: 0.9rem; text-align: center; }

/* connect prompt */
.connect-prompt { display: flex; flex-direction: column; align-items: center; gap: 0.9rem; text-align: center; padding: 1.2rem 0; }
.connect-panda { width: 110px; height: auto; filter: drop-shadow(0 0 20px rgba(34, 211, 238, 0.4)); }
.connect-prompt p { color: var(--text-dim); }

/* tx status */
.tx-status {
	margin-top: 1rem;
	padding: 0.7rem 1rem;
	border-radius: 10px;
	text-align: center;
	font-size: 0.98rem;
}
.tx-pending { background: rgba(34, 211, 238, 0.1); border: 1px solid rgba(34, 211, 238, 0.35); color: var(--primary-2); }
.tx-success { background: rgba(74, 222, 128, 0.1); border: 1px solid rgba(74, 222, 128, 0.4); color: #4ade80; }
.tx-error { background: rgba(248, 113, 113, 0.1); border: 1px solid rgba(248, 113, 113, 0.4); color: #f87171; }

.tx-link { display: inline-block; margin-top: 0.6rem; color: var(--primary-2); text-decoration: none; font-size: 0.95rem; }
.tx-link:hover { text-decoration: underline; }

/* phases table */
.phases-table { margin-top: 0.5rem; }
.phase-row {
	display: grid;
	grid-template-columns: 1fr 1.4fr 1fr 1fr;
	gap: 0.8rem;
	align-items: center;
	padding: 0.6rem 0.9rem;
	border-bottom: 1px solid rgba(255, 255, 255, 0.06);
	font-size: 0.98rem;
}
.phase-row:last-child { border-bottom: none; }
.phase-name { font-family: var(--font-head); color: var(--primary-2); letter-spacing: 1px; }
.phase-window { color: var(--text-dim); }
.phase-price { color: var(--text); text-align: right; }
.phase-row .phase-status { justify-self: end; margin-left: 0; }

.mint-alt { text-align: center; color: var(--text-dim); font-size: 0.95rem; margin-top: 1rem; }
.mint-alt a { color: var(--primary-2); text-decoration: none; }
.mint-alt a:hover { text-decoration: underline; }

@media (max-width: 760px) {
	.mint-layout { grid-template-columns: 1fr; }
	.phase-row { grid-template-columns: 1fr 1fr; }
	.phase-window { grid-column: 1 / -1; grid-row: 2; }
}


/* ===================== hub expressiveness (2026-08-08) ===================== */

.hero-mantra {
  margin: 0 0 18px;
  font-family: var(--font-head);
  font-size: clamp(1rem, 2.2vw, 1.35rem);
  color: var(--primary);
  text-shadow: 0 0 18px rgba(34, 211, 238, 0.45);
  letter-spacing: 0.04em;
}

.story {
  max-width: 760px;
  margin: 0 auto 32px;
  padding: 20px 26px;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  text-align: left;
}

.story p { color: var(--text-dim); line-height: 1.6; margin: 0 0 14px; }
.story p:last-child { margin-bottom: 0; }

.story-mantra {
  font-family: var(--font-head);
  color: var(--accent) !important;
  letter-spacing: 0.03em;
  text-align: center;
}

.roadmap-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  max-width: 860px;
  margin: 0 auto;
  text-align: left;
}

.roadmap-col {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 22px 26px;
}

.roadmap-col h3 {
  font-family: var(--font-head);
  color: var(--primary);
  margin: 0 0 14px;
  font-size: 1.15rem;
  letter-spacing: 0.05em;
}

.roadmap-col:last-child h3 { color: var(--accent); }

.roadmap-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.roadmap-col li {
  color: var(--text-dim);
  padding: 7px 0 7px 20px;
  position: relative;
  line-height: 1.4;
}

.roadmap-col li::before {
  content: "◆";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-size: 0.7em;
  top: 10px;
}

.roadmap-col:last-child li::before { color: var(--accent); }

@media (max-width: 720px) {
  .roadmap-grid { grid-template-columns: 1fr; }
}