/* ==========================================================================
   WAKAYASHI 1:1 DAEVANION BOARD - PIXEL-PERFECT FROM USER SCREENSHOT
   ========================================================================== */

.wakayashi-daev-root {
  background: #11151f;
  border: 1px solid #1e2638;
  border-radius: 8px;
  padding: 1.25rem;
  margin-top: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.wakayashi-daev-topbar {
  margin-bottom: 1.25rem;
}

.wakayashi-daev-title {
  font-size: 1.5rem;
  font-weight: 900;
  color: #d1b87a;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0;
}

.wakayashi-daev-frame {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 1.5rem;
  background: #0b0e14;
  border: 1px solid #1a2233;
  border-radius: 8px;
  padding: 1.25rem;
}

@media (max-width: 1100px) {
  .wakayashi-daev-frame {
    grid-template-columns: 1fr;
  }
}

/* Stage selector pill buttons */
.wakayashi-stage-pills {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.wakayashi-stage-pill {
  background: #181f2c;
  border: 1px solid #283548;
  border-radius: 20px;
  padding: 0.45rem 1.1rem;
  color: #94a3b8;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 600;
  transition: all 0.2s ease;
}

.wakayashi-stage-pill .pill-pts {
  color: #d1b87a;
  font-weight: 700;
}

.wakayashi-stage-pill.is-active {
  background: #f59e0b;
  border-color: #fbbf24;
  color: #000;
  font-weight: 800;
}

.wakayashi-stage-pill.is-active .pill-pts {
  color: #000;
}

/* 6 Deity Board Tabs */
.wakayashi-deity-tabs {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.45rem;
  margin-bottom: 1.25rem;
}

@media (max-width: 800px) {
  .wakayashi-deity-tabs {
    grid-template-columns: repeat(3, 1fr);
  }
}

.wakayashi-deity-tab {
  background: #131924;
  border: 1px solid #222c3d;
  border-radius: 6px;
  padding: 0.6rem 0.4rem;
  text-align: left;
  cursor: pointer;
  transition: all 0.2s ease;
}

.wakayashi-deity-tab.is-active {
  background: #1c2536;
  border-color: #d1b87a;
  box-shadow: inset 0 0 10px rgba(209, 184, 122, 0.2);
}

.deity-tab-name {
  font-size: 0.85rem;
  font-weight: 800;
  color: #e2e8f0;
}

.wakayashi-deity-tab.is-active .deity-tab-name {
  color: #d1b87a;
}

.deity-tab-pts {
  font-size: 0.78rem;
  font-weight: 800;
  color: #d1b87a;
  margin: 0.15rem 0;
}

.deity-tab-req {
  font-size: 0.7rem;
  color: #64748b;
}

/* 11x10 Authentic Wakayashi Matrix Grid */
.wakayashi-matrix-wrapper {
  background: #080a0f;
  border: 1px solid #1a2233;
  border-radius: 8px;
  padding: 1.25rem;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 540px;
}

.wakayashi-grid-11x10 {
  display: grid;
  grid-template-columns: repeat(11, 48px);
  grid-template-rows: repeat(10, 48px);
  gap: 6px;
}

@media (max-width: 700px) {
  .wakayashi-grid-11x10 {
    grid-template-columns: repeat(11, 32px);
    grid-template-rows: repeat(10, 32px);
    gap: 3px;
  }
}

.waka-cell {
  width: 100%;
  height: 100%;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: transform 0.15s ease;
}

.waka-cell:hover {
  transform: scale(1.1);
  z-index: 10;
}

/* Empty cell in the matrix */
.waka-cell-empty {
  visibility: hidden;
}

/* Stone Crest (authentic extracted asset) */
.waka-cell-stone {
  background: url('img/daev_stone_crest.png') no-repeat center center;
  background-size: cover;
  border: 1px solid #233045;
  border-radius: 6px;
  box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.8);
}

/* Inactive dim skill icon */
.waka-cell-inactive-skill {
  background: #0e131d;
  border: 1px solid #1e293b;
  border-radius: 6px;
  overflow: hidden;
  opacity: 0.35;
  filter: grayscale(100%);
}

.waka-cell-inactive-skill img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Active glowing crest node (bright blue border) */
.waka-cell-active-crest {
  background: url('img/daev_active_crest.png') no-repeat center center;
  background-size: cover;
  border: 1.5px solid #38bdf8;
  border-radius: 6px;
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.6);
}

/* Active skill nodes with blue or green glowing borders */
.waka-cell-active-skill {
  background: #0f172a;
  border-radius: 6px;
  overflow: hidden;
}

.waka-cell-active-skill.glow-blue {
  border: 2px solid #38bdf8;
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.7);
}

.waka-cell-active-skill.glow-green {
  border: 2px solid #4ade80;
  box-shadow: 0 0 12px rgba(74, 222, 128, 0.7);
}

.waka-skill-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Right Panel */
.wakayashi-daev-right {
  background: #0f141f;
  border: 1px solid #1c2637;
  border-radius: 8px;
  padding: 1.25rem;
}

.waka-right-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #1f2b3e;
  padding-bottom: 0.6rem;
}

.waka-right-deity {
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
  margin: 0;
}

.waka-right-pts {
  font-size: 0.85rem;
  font-weight: 700;
  color: #64748b;
}

.waka-right-milestone {
  font-size: 0.82rem;
  color: #94a3b8;
  margin: 0.6rem 0 1.25rem 0;
}

.waka-right-milestone b {
  color: #d1b87a;
}

.waka-section-heading {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: #64748b;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}

.waka-skill-levels-list {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  max-height: 260px;
  overflow-y: auto;
  padding-right: 0.3rem;
}

.waka-skill-level-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.3rem 0.5rem;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.02);
}

.waka-sl-left {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.waka-sl-icon {
  width: 24px;
  height: 24px;
  border-radius: 4px;
  border: 1px solid #334155;
  object-fit: cover;
}

.waka-sl-name {
  font-size: 0.82rem;
  font-weight: 600;
  color: #e2e8f0;
}

.waka-sl-badge {
  font-size: 0.8rem;
  font-weight: 800;
  padding: 0.1rem 0.35rem;
  border-radius: 3px;
}

.waka-sl-badge.is-plus-two {
  color: #4ade80;
}

.waka-sl-badge.is-plus-one {
  color: #e2e8f0;
}

.waka-stats-list {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.waka-stat-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  padding: 0.2rem 0;
  border-bottom: 1px dashed #1e283a;
}

.waka-stat-label {
  color: #94a3b8;
}

.waka-stat-value {
  color: #e2e8f0;
  font-weight: 700;
}

/* ==========================================================================
   WAKAYASHI HOTBAR & MAKRO STYLES (EXACT IMAGE 3)
   ========================================================================== */

.wakayashi-hotbar-root {
  background: #11151f;
  border: 1px solid #1e2638;
  border-radius: 8px;
  padding: 1.5rem;
  margin-top: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.waka-hb-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.waka-hb-title {
  font-size: 1.5rem;
  font-weight: 900;
  color: #d1b87a;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0;
}

.waka-hb-sub {
  font-size: 0.82rem;
  color: #94a3b8;
  display: block;
  margin-top: 0.3rem;
  line-height: 1.45;
}

.waka-hb-mode-toggles {
  display: flex;
  gap: 0.4rem;
}

.waka-hb-mode-btn {
  background: #161d2b;
  border: 1px solid #253145;
  border-radius: 20px;
  padding: 0.45rem 1.1rem;
  color: #94a3b8;
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 600;
  transition: all 0.2s ease;
}

.waka-hb-mode-btn.is-active {
  background: #f59e0b;
  border-color: #fbbf24;
  color: #000;
  font-weight: 800;
}

.waka-hb-body {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(260px, 0.9fr);
  gap: 1.25rem;
}

.waka-hb-col-tips {
  grid-column: 1 / -1;
}

/* Stack Skill-Leiste & Macro vertically inside the narrower Planner workspace */
.mr-workspace-col .wakayashi-hotbar-root {
  padding: 1rem 1.1rem;
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.mr-workspace-col .waka-hb-body {
  grid-template-columns: 1fr;
  gap: 1rem;
}

.mr-workspace-col .waka-hb-col-leiste,
.mr-workspace-col .waka-hb-col-macro,
.mr-workspace-col .waka-hb-col-tips {
  padding: 1rem;
  min-width: 0;
}

.mr-workspace-col .waka-macro-entries {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 0.75rem;
}

.mr-workspace-col .waka-macro-item {
  gap: 0.5rem;
}

.mr-workspace-col .aion-skill-grid-wrap {
  padding: 0.85rem 0.65rem;
  gap: 0.55rem;
}

.mr-workspace-col .aion-grid-row {
  gap: 8px;
}

.mr-workspace-col .aion-grid-cluster {
  gap: 2px;
}

.mr-workspace-col .aion-grid-slot {
  width: 38px;
  height: 38px;
}

@media (max-width: 1150px) {
  .waka-hb-body {
    grid-template-columns: 1fr;
  }

  .waka-macro-entries {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 0.75rem;
  }
}

.waka-hb-col-leiste,
.waka-hb-col-macro,
.waka-hb-col-tips {
  background: #0b0e14;
  border: 1px solid #1a2233;
  border-radius: 8px;
  padding: 1.25rem;
}

.waka-hb-box-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: #e2e8f0;
  margin-bottom: 1.25rem;
}

.waka-hb-box-title.center {
  text-align: center;
}

/* Slots grid in Skill-Leiste */
.waka-hb-slots-grid {
  display: flex;
  align-items: flex-end;
  gap: 1.25rem;
  min-height: 140px;
  padding-bottom: 1rem;
  border-bottom: 1px solid #1a2333;
  margin-bottom: 1.25rem;
  overflow-x: auto;
}

.waka-hb-cluster {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.waka-hb-cluster-icons {
  display: flex;
  gap: 4px;
}

.waka-hb-cluster-icons.stacked {
  display: flex;
  flex-direction: column-reverse;
  gap: 4px;
}

.waka-hb-cluster-icons.triple-stacked {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.waka-hb-keycap {
  width: 44px;
  height: 44px;
  background: #141b27;
  border: 1px solid #2d3b52;
  border-radius: 6px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.waka-hb-keycap.mini {
  width: 36px;
  height: 36px;
}

.waka-hb-keycap.is-empty {
  border: 1px dashed #334155;
  background: transparent;
}

.waka-hb-icon {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 5px;
}

.waka-hb-key {
  position: absolute;
  top: 2px;
  left: 3px;
  font-size: 0.65rem;
  font-weight: 900;
  color: #fff;
  text-shadow: 0 1px 2px #000, 0 0 4px #000;
}

.waka-hb-cluster-lbl {
  font-size: 0.72rem;
  color: #64748b;
  font-weight: 600;
  text-align: center;
}

.waka-hb-key-notes {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.waka-key-note-row {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.8rem;
  line-height: 1.45;
}

.waka-key-badge {
  background: #182232;
  border: 1px solid #28374d;
  color: #e2e8f0;
  font-weight: 800;
  font-size: 0.72rem;
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  white-space: nowrap;
}

.waka-key-desc {
  color: #94a3b8;
}

/* Macro Column */
.waka-macro-entries {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.waka-macro-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.waka-macro-slot-num {
  font-size: 1.3rem;
  font-weight: 900;
  color: #e2e8f0;
  width: 20px;
}

.waka-macro-skill-card {
  flex: 1;
  background: #121824;
  border: 1px solid #1f2a3c;
  border-radius: 8px;
  padding: 0.6rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
}

.waka-macro-icon-box {
  width: 48px;
  height: 48px;
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid #334155;
}

.waka-macro-icon {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.waka-macro-key-badge {
  position: absolute;
  top: 2px;
  left: 3px;
  font-size: 0.65rem;
  font-weight: 900;
  color: #fff;
  text-shadow: 0 1px 2px #000;
}

.waka-macro-name {
  font-size: 0.82rem;
  font-weight: 700;
  color: #e2e8f0;
  text-align: center;
}

.waka-macro-delay {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  color: #64748b;
}

.waka-delay-pill {
  color: #e2e8f0;
  background: #1a2436;
  padding: 0.1rem 0.35rem;
  border-radius: 3px;
}

.waka-macro-footer-bar {
  margin-top: 1.25rem;
  padding-top: 0.8rem;
  border-top: 1px solid #1a2333;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  color: #94a3b8;
}

.waka-macro-rec-key {
  background: #1e283b;
  border: 1px solid #334155;
  color: #d1b87a;
  font-weight: 800;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
}

/* Rotation Tips Column */
.waka-rot-tips-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 0.75rem;
}

.waka-rot-tip-card {
  background: #121824;
  border: 1px solid #1f2a3c;
  border-radius: 8px;
  padding: 0.75rem;
  display: flex;
  gap: 0.75rem;
  position: relative;
  transition: border-color 0.15s;
}

.waka-rot-tip-card:hover {
  border-color: #38bdf8;
}

.waka-rot-tip-num {
  width: 24px;
  height: 24px;
  background: #1e283b;
  border: 1px solid #334155;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 800;
  color: #d1b87a;
  flex-shrink: 0;
}

.waka-rot-tip-text {
  font-size: 0.8rem;
  color: #cbd5e1;
  line-height: 1.45;
  margin: 0;
  flex: 1;
}

/* ==========================================================================
   DRAGGABLE & EDITABLE ENHANCEMENTS FOR WAKAYASHI HOTBAR & MACRO
   ========================================================================== */
.waka-hb-keycap {
  transition: all 0.15s ease;
  cursor: pointer;
  user-select: none;
}

.waka-hb-keycap:hover {
  border-color: #38bdf8;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(56, 189, 248, 0.35);
}

.waka-hb-keycap.waka-drag-over,
.waka-macro-skill-card.waka-drag-over {
  border-color: #38bdf8 !important;
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.75) !important;
  transform: scale(1.08) !important;
  background: #17253d !important;
}

.skill-card[draggable="true"] {
  cursor: grab;
  transition: transform 0.15s, border-color 0.15s;
}

.skill-card[draggable="true"]:hover {
  border-color: #38bdf8;
}

.skill-card[draggable="true"]:active {
  cursor: grabbing;
}

.waka-delay-pill {
  cursor: pointer;
  transition: all 0.15s ease;
}

.waka-delay-pill:hover {
  background: #38bdf8;
  color: #0b0e14;
}

.waka-macro-rec-key {
  cursor: pointer;
  transition: all 0.15s ease;
}

.waka-macro-rec-key:hover {
  border-color: #d1b87a;
  background: #2a374d;
}

.waka-edit-btn {
  background: transparent;
  border: 1px solid transparent;
  color: #64748b;
  cursor: pointer;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.75rem;
  transition: all 0.15s ease;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.waka-edit-btn:hover {
  color: #38bdf8;
  border-color: #1e293b;
  background: #111827;
}

.waka-del-btn {
  background: transparent;
  border: none;
  color: #64748b;
  cursor: pointer;
  font-size: 0.85rem;
  padding: 0 4px;
  line-height: 1;
  transition: color 0.15s;
}

.waka-del-btn:hover {
  color: #ef4444;
}

.waka-cluster-lbl-btn {
  cursor: pointer;
  transition: color 0.15s;
}

.waka-cluster-lbl-btn:hover {
  color: #38bdf8;
  text-decoration: underline;
}

.waka-key-desc-editable {
  cursor: pointer;
  transition: color 0.15s;
}

.waka-key-desc-editable:hover {
  color: #e2e8f0;
}

/* Quick Skill Selector Modal */
.waka-picker-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.waka-picker-modal-card {
  background: #0d121c;
  border: 1px solid #1e293b;
  border-radius: 12px;
  width: 100%;
  max-width: 520px;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8);
  overflow: hidden;
}

.waka-picker-header {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid #1e293b;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.waka-picker-list {
  padding: 1rem 1.25rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}

.waka-picker-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 0.75rem;
  background: #111726;
  border: 1px solid #1c2637;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.waka-picker-item:hover {
  background: #172338;
  border-color: #38bdf8;
  transform: translateX(4px);
}

/* ==========================================================================
   AION 2 OFFICIAL 5x12 IN-GAME SKILL GRID
   ========================================================================== */
.aion-skill-grid-wrap {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1.25rem 0.75rem;
  background: radial-gradient(circle at 50% 50%, #151d2a 0%, #0a0e16 100%);
  border: 1px solid #1c2637;
  border-radius: 10px;
  position: relative;
  overflow-x: auto;
  justify-content: safe center;
  margin-bottom: 1.25rem;
  transition: all 0.2s ease;
}

.aion-skill-grid-wrap.is-editing-mode {
  border-color: rgba(56, 189, 248, 0.65);
  box-shadow: 0 0 18px rgba(56, 189, 248, 0.25);
}

.aion-skill-grid-wrap:not(.is-editing-mode) .aion-grid-slot {
  cursor: default;
}

.aion-skill-grid-wrap:not(.is-editing-mode) .aion-grid-slot:hover {
  border-color: rgba(255, 255, 255, 0.09);
  background: rgba(18, 25, 38, 0.75);
  transform: none;
  box-shadow: none;
}

.aion-skill-grid-wrap:not(.is-editing-mode) .aion-grid-slot.has-skill:hover {
  border-color: rgba(255, 255, 255, 0.2);
}

.aion-grid-board {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.aion-grid-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.aion-grid-cluster {
  display: flex;
  gap: 3px;
}

.aion-grid-slot {
  width: 44px;
  height: 44px;
  background: rgba(18, 25, 38, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 4px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  user-select: none;
  transition: all 0.15s ease;
  box-sizing: border-box;
}

.aion-grid-slot:hover {
  border-color: #38bdf8;
  background: rgba(30, 41, 59, 0.95);
  transform: translateY(-1px);
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.35);
  z-index: 5;
}

.aion-grid-slot.is-empty .aion-slot-star {
  color: rgba(255, 255, 255, 0.14);
  font-size: 1.05rem;
  line-height: 1;
  pointer-events: none;
  font-family: monospace;
}

.aion-grid-slot.has-skill {
  border-color: rgba(255, 255, 255, 0.18);
  background: #080c14;
}

.aion-grid-slot.has-skill:hover {
  border-color: #38bdf8;
}

.aion-grid-slot.waka-drag-over {
  border-color: #38bdf8 !important;
  box-shadow: 0 0 14px rgba(56, 189, 248, 0.85) !important;
  transform: scale(1.08) !important;
  background: #17253d !important;
  z-index: 10;
}

.aion-slot-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 3px;
  pointer-events: none;
}

.aion-slot-key {
  position: absolute;
  top: 2px;
  left: 2px;
  background: rgba(0, 0, 0, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 2px;
  color: #fff;
  font-size: 0.6rem;
  font-weight: 900;
  padding: 0 3px;
  line-height: 12px;
  cursor: pointer;
  z-index: 2;
  transition: all 0.12s;
}

.aion-slot-key:hover {
  border-color: #38bdf8;
  color: #38bdf8;
  background: #0f172a;
}

.aion-slot-lvl {
  position: absolute;
  bottom: 2px;
  right: 2px;
  font-size: 0.62rem;
  font-weight: 800;
  color: #fff;
  text-shadow: 0 1px 2px #000, 0 0 4px #000;
  z-index: 2;
  letter-spacing: -0.02em;
  padding: 0 2px;
  border-radius: 2px;
  cursor: pointer;
  transition: color 0.12s;
}

.aion-slot-lvl:hover {
  color: #38bdf8;
}

.aion-grid-side-left {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 236px;
  padding-bottom: 10px;
  box-sizing: border-box;
}

.aion-grid-side-right {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.aion-row-label {
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  font-weight: 700;
  color: #cbd5e1;
  width: 28px;
  user-select: none;
}

.aion-grid-ctrl-btn {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(15, 23, 42, 0.7);
  color: #cbd5e1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.85rem;
  transition: all 0.15s ease;
  padding: 0;
  line-height: 1;
}

.aion-grid-ctrl-btn:hover {
  color: #38bdf8;
  border-color: #38bdf8;
  background: #1e293b;
  transform: rotate(30deg);
}