/* ============================================================
   04 — SIDEBAR / TOOLBAR / CURSOR
   Extracted conservatively from style.css.
   ============================================================ */

/* ============================
   Ring HUD
   ============================ */
#toolbar-ringhud {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgb(27 38 59 / var(--toolbar-hud-alpha));
  border: 2px solid #ffd60a;
  border-radius: 10px;
  padding: 4px 17px;
  margin: 6px auto 0 auto;
  min-width: 154px;
  width: auto;
  max-width: 392px;
  box-shadow: 0 0 6px rgba(255, 214, 10, 0.35);
}

/* Debug + Toolbar */
#stats-debug-panel,
#global-log-panel,
#minigame-log-panel,

#toolbar-panel    { z-index: 3000 !important; }

/* Cursor */
#cursor,
#cursor-wheel { z-index: 2147483647 !important; }

/* ============================
   Anchored Sidebar
   ============================ */
#anchored-sidebar {
  position: absolute;
  top: 0;
  left: 0;
  width: var(--sidebar-width);
  height: var(--app-authored-height);
  background: rgba(13, 27, 42, 0.85);
  border-right: 2px solid #415a77;
  z-index: 9998; /* below cursor, above all panels */
  overflow: hidden;
}

.sidebar-scroll {
  position: relative;
  width: 100%;
  height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  padding-top: 10px;
  scrollbar-width: thin;
  scrollbar-color: #415a77 #0d1b2a;
  overscroll-behavior-y: contain;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
}

#anchored-sidebar {
  overscroll-behavior-y: contain;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
}

#anchored-sidebar .sidebar-scroll,
#anchored-sidebar .sidebar-btn,
#anchored-sidebar .sidebar-btn-wrap {
  touch-action: pan-y;
}

.sidebar-scroll::-webkit-scrollbar {
  width: 8px;
}
.sidebar-scroll::-webkit-scrollbar-thumb {
  background-color: #415a77;
  border-radius: 8px;
}

.sidebar-btn {
  display: block;
  width: 239px;
  height: 76px;
  margin: 6px auto;
  image-rendering: pixelated;
  user-select: none;
  transition: transform 0.1s ease, filter 0.1s ease;
}

/* Hub tiles (Garden / Mini-Games / Online) */
#btn-mini-gardenhub,
#btn-mini-playhub,
#btn-mini-onlinehub {
  width: 250px;
  height: 200px;
}

/* Text-style sidebar button (for features without a mini_*.png asset) */
.sidebar-btn.sidebar-btn-text {
  border: 1px solid #3e587b;
  background: #243447;
  color: #eee;
  font-family: inherit;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.5px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  image-rendering: auto;
}

/* Hide legacy sidebar buttons kept for delegation/back-compat */
.sidebar-hidden {
  display: none !important;
}

.sidebar-divider {
  width: 90%;
  height: 2px;
  margin: 10px auto;
  background: rgba(65, 90, 119, 0.85);
}

/* Meta buttons: slightly smaller + less loud */
.sidebar-btn.sidebar-btn-meta {
  height: 60px;
  opacity: 0.92;
}

/* ============================
   Sidebar Hub Panels
   ============================ */
.hub-panel {
  z-index: 9055;
  display: flex;
  flex-direction: column;
  padding: 0;
}

.hub-panel .panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  flex: 0 0 auto;
  padding: 10px 14px 12px;
  margin: 0;
}

.hub-panel .panel-title {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 0.3px;
}

.hub-body {
  flex: 1 1 auto;
  min-height: 0;
  padding: 10px;
  overflow-y: auto;
  box-sizing: border-box;
}

/* Hub panels: standardized top-right controls without affecting sidebar layout */
.hub-panel-controls > .panel-header > .panel-header-controls {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-left: auto;
}

.hub-panel-controls > .panel-header .panel-pin-btn,
.hub-panel-controls > .panel-header .panel-close-x {
  position: static;
  top: auto;
  right: auto;
}

.hub-section-title {
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 900;
  margin: 10px 0 6px;
  opacity: 0.75;
}

.hub-btn {
  width: 100%;
  height: 62px;
  padding: 6px 10px;
  margin: 6px 0;
  border: 1px solid #3e587b;
  background: #243447;
  color: #eee;
  font-weight: 800;
  cursor: pointer;
  text-align: left;

  display: flex;
  align-items: center;
  gap: 10px;
}

.hub-btn:hover { filter: brightness(1.15); }
.hub-btn:active { filter: brightness(0.85); }

.hub-mini-icon {
  width: 110px; /* matches mini banner art width */
  height: 50px;
  image-rendering: pixelated;
  flex: 0 0 auto;
}

.hub-label {
  flex: 1 1 auto;
}

.hub-mini-icon--empty {
  width: 110px;
  height: 50px;
  flex: 0 0 auto;
  border: 1px dashed rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.04);
}

.hub-divider {
  width: 100%;
  height: 2px;
  margin: 10px 0;
  background: rgba(65, 90, 119, 0.65);
}

.sidebar-btn:hover {
  transform: scale(1.03);
  filter: brightness(1.2);
}

.sidebar-btn:active {
  transform: scale(0.97);
  filter: brightness(0.8);
}

/* ============================
   Sidebar — Quest New Badge
   ============================ */
.sidebar-btn-wrap {
  position: relative;
  width: 239px;
  height: 76px;
  margin: 6px auto;
}

.sidebar-btn-wrap-hub {
  width: 250px;
  height: 200px;
}

.sidebar-btn-wrap .sidebar-btn {
  margin: 0; /* wrapper handles spacing */
}

.sidebar-btn-wrap > .sidebar-btn {
  display: block;
}

.sidebar-btn-wrap-hub > .sidebar-btn {
  width: 250px;
  height: 200px;
}

.sidebar-hotkey-badge {
  position: absolute;
  top: 8px;
  right: 10px;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  background: rgba(8, 13, 20, 0.72);
  border: 1px solid rgba(255,255,255,0.18);
  color: rgba(255,255,255,0.9);
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.15px;
  text-shadow: 0 1px 1px rgba(0,0,0,0.7);
  box-shadow: 0 2px 6px rgba(0,0,0,0.18);
  pointer-events: none;
  z-index: 3;
}

.sidebar-btn-wrap-hub > .sidebar-hotkey-badge {
  top: 12px;
  right: 12px;
  min-width: 24px;
  height: 24px;
  border-radius: 8px;
  font-size: 13px;
}

.quest-new-badge {
  position: absolute;
  top: 4px;
  left: 6px;
  width: 32px;
  height: 32px;
  image-rendering: pixelated;
  pointer-events: none;
  display: none;
  filter: drop-shadow(1px 1px 0 rgba(0,0,0,0.75));
}

/* === Toolbar visibility/edit-mode only; live position is owned by ui-customizer.js === */
#toolbar-panel.toolbar-hidden {
  display: none !important;
}

.hub-label {
  flex: 1 1 auto;
  font-size: 14px;
  line-height: 1;
}

/* ============================
   Mode Banner (Arena Panels)
   ============================ */

/* ============================
   Panel Pin Button
   ============================ */

.no-drag {
  cursor: default;
}

/* Cursor5 Decorate hover */
.decorate-hover{
  outline: 2px solid rgba(255,255,0,0.9);
  outline-offset: 1px;
}

/* ============================================
   DRAG/DROP REORDER (SIDEBAR + HUBS)
   ============================================ */

.dnd-item {
  user-select: none;
}

.dnd-item.dnd-dragging {
  opacity: 0.55;
}

.sidebar-dnd-item,
.hub-dnd-item {
  cursor: grab;
}

.sidebar-dnd-item:active,
.hub-dnd-item:active {
  cursor: grabbing;
}

/* ============================
   Toolbar: Mobile Controls toggle button
   ============================ */
.toolbar-text-btn{
  width:50px;
  height:50px;
  border:1px solid rgba(255,255,255,0.25);
  border-radius:8px;
  background:rgba(0,0,0,0.45);
  color:#fff;
  font-weight:700;
  letter-spacing:0.5px;
  cursor:pointer;
}

#toolbar-panel {
  left: calc(var(--sidebar-width) + 64px);
  top: 8px;
  right: auto;
  bottom: auto;
  transform: none;
  --toolbar-alpha: 0.72;
  --toolbar-button-alpha: 0.82;
  --toolbar-hud-alpha: 0.84;
  --toolbar-pattern-layer: none;
  --toolbar-header-pattern-layer: none;
  --toolbar-pattern-alpha: 0;
  --toolbar-header-pattern-alpha: 0;
  --toolbar-shell-rgb: 94,203,200;
  --toolbar-header-rgb: 67,143,255;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  gap: 0;
  width: fit-content;
  max-width: calc(var(--app-authored-width) - 24px);
  height: auto;
  box-sizing: border-box;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.045) 0%, rgba(255,255,255,0.018) 9%, rgba(255,255,255,0.00) 16%),
    linear-gradient(180deg, rgba(var(--toolbar-shell-rgb), calc(var(--toolbar-alpha) * 0.98)) 0%, rgba(var(--toolbar-shell-rgb), calc(var(--toolbar-alpha) * 0.98)) 100%),
    var(--toolbar-pattern-layer),
    url("../assets/ui/toolbar_bg.png") repeat left top;
  background-size: auto, auto, 256px 256px, cover;
  border: 2px solid #415a77;
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(0,0,0,0.45);
  backdrop-filter: blur(2px);
  z-index: 3000;
}

#toolbar-panel > .panel-header {
  flex: 0 0 auto;
  min-height: 34px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.12) 0%, rgba(255,255,255,0.03) 12%, rgba(255,255,255,0.00) 100%),
    linear-gradient(180deg, rgba(var(--toolbar-header-rgb), calc(var(--toolbar-alpha) * 0.98)) 0%, rgba(var(--toolbar-header-rgb), calc(var(--toolbar-alpha) * 0.98)) 100%),
    var(--toolbar-header-pattern-layer);
  border-bottom: 1px solid rgba(255,255,255,0.12);
  background-size: auto, auto, 256px 256px;
}

#toolbar-panel > .panel-body,
#toolbar-panel > .panel-body.toolbar-panel-body {
  flex: 1 1 auto;
  min-width: 0;
  min-height: 0;
  width: 100%;
  padding: 12px 17px 17px;
  box-sizing: border-box;
  overflow: visible;
}

#toolbar-panel .toolbar-inner {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
  width: 100%;
  background: rgb(8 12 22 / calc(var(--toolbar-alpha) * var(--panel-body-alpha)));
  border-radius: 14px;
  padding: 0;
}

#toolbar-buttons {
  display: inline-flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 5px;
  overflow-x: auto;
  overflow-y: hidden;
  white-space: nowrap;
  max-width: 90vw;
  padding-bottom: 2px;
}

#toolbar-panel button {
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 6px;
  background: rgb(27 38 59 / var(--toolbar-button-alpha));
  padding: 0;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

#toolbar-panel button img,
#toolbar-panel .cursor-btn img {
  width: 100%;
  height: 100%;
  image-rendering: pixelated;
  pointer-events: none;
}

#toolbar-panel button.active {
  outline: 2px solid #ffd60a;
  background: #415a77;
}

#toolbar-buttons > button {
  position: relative;
}

#toolbar-buttons > button[data-action="cursor-select"]::after,
#toolbar-buttons > button[data-action="cursor-pet"]::after,
#toolbar-buttons > button[data-action="cursor-pick"]::after,
#toolbar-buttons > button[data-action="cursor-decorate"]::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 16px;
  height: 16px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  opacity: 0.52;
  pointer-events: none;
  z-index: 2;
}

#toolbar-buttons > button[data-action="cursor-select"]::after {
  background-image: url("../assets/font/let_1.png");
}

#toolbar-buttons > button[data-action="cursor-pet"]::after {
  background-image: url("../assets/font/let_2.png");
}

#toolbar-buttons > button[data-action="cursor-pick"]::after {
  background-image: url("../assets/font/let_3.png");
}

#toolbar-buttons > button[data-action="cursor-decorate"]::after {
  background-image: url("../assets/font/let_4.png");
}

/* ==== Cursor visibility hotfix ==== */
#cursor,
#cursor-wheel {
  display: block;
  visibility: visible !important;
  opacity: 1 !important;
}

/* ============================================================
   Migrated from 03-panel-contract.css — ringhud/cursor/selection overlays carve-out
   ============================================================ */

/* duplicate legacy toolbar shell trimmed; authoritative toolbar shell lives in the final display-conversion block near the end of style.css */

/* ============================
   Ring HUD
   ============================ */

#toolbar-ringhud img {
  width: 18px;
  height: 18px;
  margin-right: 4px;
  image-rendering: pixelated;
}

#ringhud-count {
  font-family: monospace;
  font-size: 15px;
  color: #ffd60a;
  text-shadow: 0 0 3px #ffd60a;
  letter-spacing: 0.5px;
  line-height: 1;
  text-align: center;
}

.hud-divider {
  margin: 0 8px;
  color: #ffd60a;
  font-family: monospace;
  font-size: 14px;
  line-height: 1;
}

#specialringhud-icon {
  width: 18px;
  height: 18px;
  margin-right: 4px;
  image-rendering: pixelated;
}

#specialringhud-count {
  font-family: monospace;
  font-size: 15px;
  color: #e0e0ff;
  text-shadow: 0 0 3px #000;
  letter-spacing: 0.5px;
  line-height: 1;
  text-align: center;
  margin-right: 4px;
}
#hud-clock {
  font-size: 18px;
  color: #ffd700;
  margin-left: 12px;
  text-shadow: 1px 1px 2px #000;
  font-family: monospace;
}

/* ============================
   Cursor + Wheel
   ============================ */
#cursor {
  position: fixed;
  width: 48px;        /* unified size */
  height: 48px;       /* unified size */
  background-size: contain;
  background-repeat: no-repeat;
  pointer-events: none;
  background-image: url("../assets/ui/cursor-select.png"); /* default only; JS overrides per-mode */
  image-rendering: pixelated;
  transform: translate(-50%, -90%);  /* center on pointer */
  z-index: 10050;
}

#cursor-wheel {
  display: none;
  position: fixed;
  width: 200px;       /* doubled from 100 */
  height: 200px;      /* doubled from 100 */
  background: url("../assets/icons/wheel1.png") no-repeat center center;
  background-size: contain;
  pointer-events: none;
  z-index: 10000;
}

#cursor-wheel .quadrant { 
  position: absolute; 
  width: 50%; 
  height: 50%; 
  pointer-events: auto; 
}
#cursor-wheel .quadrant:nth-child(1) { left: 0; top: 0; }
#cursor-wheel .quadrant:nth-child(2) { left: 50%; top: 0; }
#cursor-wheel .quadrant:nth-child(3) { left: 0; top: 50%; }
#cursor-wheel .quadrant:nth-child(4) { left: 50%; top: 50%; }
#cursor-wheel .quadrant:hover { background: rgba(255, 214, 10, 0.2); }

/* ============================
   Entity Highlight + Selector (Hover/Focus)
   ============================ */

/* --- unified highlight visuals --- */
.entity-hover {
  outline: 2px solid #ffd60a;
  outline-offset: -2px;
  box-shadow: 0 0 8px rgba(255,214,10,0.6);
}

.entity-focus {
  outline: 2px solid #00ff88;
  outline-offset: -2px;
  box-shadow: 0 0 10px rgba(0,255,136,0.55);
}

/* overlay boxes that follow entities (singletons) */
#focus-outline,
#hover-outline {
  position: absolute;
  pointer-events: none;
  border-radius: 6px;
  image-rendering: pixelated;
  z-index: 2147483000; /* below cursor, above panels */
  display: none;
}

#hover-outline {
  border: 2px solid #ffd60a;
  box-shadow: 0 0 8px rgba(255,214,10,0.6);
}

#focus-outline {
  border: 2px solid #00ff88;
  box-shadow: 0 0 10px rgba(0,255,136,0.55);
}

/* selector sprite that floats above the focused entity */
#ui-selector {
  position: absolute;
  width: 24px;
  height: 24px;
  pointer-events: none;
  image-rendering: pixelated;
  z-index: 2147483001;
  display: none;
  transform: translate(-50%, -100%); /* center X, place above */
}

/* extracted from styles/03-panel-contract.css — pass28 */
/* ============================
   Toolbar: Mobile Controls toggle button
   ============================ */

.toolbar-text-btn:active{ transform: translateY(1px); }

/* ============================
   Mobile Controls HUD
   ============================ */
#mobile-controls-hud{
  position:absolute;
  left:0;
  bottom:0;
  width:var(--app-authored-width);
  max-width:var(--app-authored-width);
  box-sizing:border-box;
  padding:14px;
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  gap:14px;
  z-index:99999;
  pointer-events:none; /* enable only on buttons */
}

#mobile-controls-hud .mch-left,
#mobile-controls-hud .mch-right{
  display:flex;
  flex-direction:column;
  gap:10px;
  pointer-events:none;
}

#mobile-controls-hud .mch-mid{
  display:flex;
  gap:10px;
  align-items:flex-end;
  pointer-events:none;
}

#mobile-controls-hud .mch-mods{
  display:flex;
  gap:10px;
  justify-content:flex-end;
  pointer-events:none;
}

#mobile-controls-hud .mch-btn{
  pointer-events:auto;
  user-select:none;
  -webkit-user-select:none;
  -webkit-touch-callout:none;
  touch-action:none;
  min-width:68px;
  min-height:58px;
  padding:8px 10px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,0.25);
  background:rgba(0,0,0,0.55);
  color:#fff;
  font-weight:700;
}

#mobile-controls-hud .mch-btn:active{
  transform: translateY(1px);
}

#mobile-controls-hud .mch-up,
#mobile-controls-hud .mch-down,
#mobile-controls-hud .mch-left,
#mobile-controls-hud .mch-right{
  min-width:64px;
  min-height:64px;
  font-size:20px;
}

#mobile-controls-hud .mch-space{
  min-width:140px;
}

#mobile-controls-hud .mch-mod{
  min-width:90px;
}

/* extracted from styles/03-panel-contract.css — Toolbar ui-edit + cursor suppression family */
/* === Toolbar visibility/edit-mode only; live position is owned by ui-customizer.js === */

body.ui-edit-mode #toolbar-panel,
body.ui-edit-mode #anchored-sidebar,
body.ui-edit-mode #garden-hub-panel,
body.ui-edit-mode #play-hub-panel,
body.ui-edit-mode #online-hub-panel {
  outline: 3px solid #ffd400;
  outline-offset: 2px;
  box-shadow: 0 0 0 3px rgba(0,0,0,0.55), 0 0 22px rgba(255,212,0,0.55);
}
body.ui-edit-mode #toolbar-panel {
  cursor: grab !important;
}
body.ui-edit-mode #toolbar-panel.ui-dragging-toolbar {
  cursor: grabbing !important;
}

/* ============================
   ABSOLUTE GLOBAL CURSOR SUPPRESSION (vFinal + Native UI Fix)
   ============================ */

/* Disable OS cursor on every visual layer */
html, body, *, *::before, *::after {
  cursor: none !important;
}

/* Scrollable and interactive UI regions */
html, body,
#anchored-sidebar,
#anchored-sidebar *,
.sidebar-scroll,
.sidebar-scroll *,
.panel,
.panel *,
.tabs,
.tabs *,
.tab,
.tab *,
button,
button *,
a,
a *,
label,
label *,
input,
input *,
select,
select *,
option,
textarea,
textarea * {
  cursor: none !important;
}

/* Force cursor suppression inside scrollbars + shadow regions */
::-webkit-scrollbar,
::-webkit-scrollbar-thumb,
::-webkit-scrollbar-track,
::-webkit-resizer,
::-webkit-scrollbar-corner {
  cursor: none !important;
}

/* Suppress native dropdown cursors */
select:focus,
select:active,
option:focus,
option:active {
  cursor: none !important;
}

/* Shadow-root workaround for internal form UIs */
:host,
:root {
  cursor: none !important;
}

/* ============================
   Remove native dropdown + scrollbar UI
   ============================ */

/* Replace OS dropdown with custom-styled box */
select {
  -webkit-appearance: none !important;
  appearance: none !important;
  background-color: #415a77 !important;
  border: 2px solid #ffd60a !important;
  border-radius: 6px !important;
  padding: 2px 10px !important;
  color: #fff !important;
}
select::-ms-expand {
  display: none;
}

/* Scrollbar removal (still scrollable by wheel/drag) */
* {
  scrollbar-width: none !important; /* Firefox */
}
*::-webkit-scrollbar {
  width: 0 !important;
  height: 0 !important;
}
*::-webkit-scrollbar-thumb,
*::-webkit-scrollbar-track,
*::-webkit-scrollbar-corner {
  background: transparent !important;
  cursor: none !important;
}

/* extracted from styles/03-panel-contract.css — Hub label/hotkey helpers */

.hub-hotkey {
  flex: 0 0 auto;
  font-size: 12px;
  opacity: 0.7;
  padding: 2px 6px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 6px;
}

/* ===== moved from 03-panel-contract.css: cursor hard-fix / readiness block ===== */
/* ==== Cursor visibility hotfix ==== */

#cursor-wheel {
  display: none;
}
#toolbar-panel .cursor-btn img,
#toolbar-panel button img {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* ==== Robust cursor readiness guard ==== */
html body:not(.custom-cursor-ready),
html body:not(.custom-cursor-ready) *,
html body:not(.custom-cursor-ready) *::before,
html body:not(.custom-cursor-ready) *::after {
  cursor: auto !important;
}

body.custom-cursor-ready #cursor {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: none !important;
  z-index: 2147483647 !important;
}

body.custom-cursor-ready #toolbar-panel .cursor-btn img,
body.custom-cursor-ready #toolbar-panel button img {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* Cursor sprite hard-fix: use child img so panel CSS cannot blank the visual */
#cursor {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  background-image: none !important;
  overflow: visible !important;
}
#cursor > img.cg-cursor-sprite {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  opacity: 1 !important;
  visibility: visible !important;
  image-rendering: pixelated !important;
  pointer-events: none !important;
}

/* Cursor visual hard fix v3 */
#cursor {
  display:block !important;
  visibility:visible !important;
  opacity:1 !important;
  background-position:center center !important;
  background-size:contain !important;
  background-repeat:no-repeat !important;
}
#cursor > img.cg-cursor-sprite {
  display:block !important;
  visibility:visible !important;
  opacity:1 !important;
  object-fit:contain !important;
  filter: drop-shadow(0 0 1px rgba(0,0,0,0.9));
}

/* Cursor visibility real fix */
#cursor {
  display:block !important;
  visibility:visible !important;
  opacity:1 !important;
  background-image: var(--cg-cursor-image, url("../assets/ui/cursor-select.png")) !important;
  background-size: contain !important;
  background-repeat: no-repeat !important;
  background-position: center center !important;
}
#cursor > img.cg-cursor-sprite {
  display:none !important;
}

#party-karate-2p,
#party-karate-cpu {
  margin-top: 0;
}

/* ============================
