/* css/keeper.css — Premium Xianxia Glassmorphism UI for Người Canh Thú (Linh Thú Các) */

.keeper-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  pointer-events: auto !important;
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  animation: kpFadeIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.keeper-modal * {
  pointer-events: auto;
}

/* Custom scrollbar styling while preserving sleek look */
.keeper-modal,
.kp-window {
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
}

.keeper-modal::-webkit-scrollbar,
.kp-window::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  background: transparent !important;
}

.keeper-modal.hidden {
  display: none !important;
}

@keyframes kpFadeIn {
  from { opacity: 0; transform: scale(0.96); }
  to { opacity: 1; transform: scale(1); }
}

.kp-window {
  position: relative;
  width: 1080px;
  max-width: 98%;
  height: min(94%, 690px);
  max-height: 96%;
  background: radial-gradient(circle at 50% 0%, rgba(38, 26, 68, 0.95) 0%, rgba(13, 10, 24, 0.98) 65%, #08060f 100%);
  border: 1.5px solid rgba(245, 158, 11, 0.4);
  border-radius: 20px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.9),
              0 0 35px rgba(245, 158, 11, 0.15),
              inset 0 1px 0 rgba(255, 255, 255, 0.15);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  color: #efe7d0;
  font-family: 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  user-select: none;
}

/* Header */
.kp-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  background: linear-gradient(90deg, rgba(245, 158, 11, 0.16) 0%, rgba(139, 92, 246, 0.1) 50%, rgba(0, 0, 0, 0.35) 100%);
  border-bottom: 1.5px solid rgba(245, 158, 11, 0.28);
  flex-shrink: 0;
  gap: 12px;
}

.kp-header-title {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.kp-title-badge {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: #f59e0b;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.kp-title-main {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: #fef08a;
  text-shadow: 0 0 12px rgba(254, 240, 138, 0.4);
}

.kp-wallet-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
  background: rgba(0, 0, 0, 0.5);
  padding: 5px 14px;
  border-radius: 999px;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.kp-ring-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  color: #e2e8f0;
}

.kp-ring-badge b {
  color: #fbbf24;
  font-size: 15px;
  font-weight: 800;
}

.kp-btn-buy {
  background: linear-gradient(180deg, #d97706 0%, #b45309 100%);
  color: #fff;
  border: 1px solid #f59e0b;
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 4px;
}

.kp-btn-buy:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.5);
  background: linear-gradient(180deg, #f59e0b 0%, #d97706 100%);
}

.kp-close-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #cbd5e1;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.kp-close-btn:hover {
  background: rgba(239, 68, 68, 0.3);
  border-color: #ef4444;
  color: #fca5a5;
  transform: rotate(90deg);
}

/* Main 2-Column Body */
.kp-body {
  display: flex;
  flex: 1;
  min-height: 0;
  background: rgba(0, 0, 0, 0.18);
}

/* Left Column: Pet Roster */
.kp-roster-pane {
  width: 320px;
  flex-shrink: 0;
  border-right: 1.5px solid rgba(245, 158, 11, 0.2);
  background: rgba(10, 8, 20, 0.65);
  display: flex;
  flex-direction: column;
  min-height: 0;
  height: 100%;
  overflow: hidden;
}

.kp-roster-head {
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 800;
  color: #cbd5e1;
  letter-spacing: 0.8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
}

.kp-count-pill {
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
  padding: 2px 9px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 800;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.kp-roster-list {
  flex: 1 1 auto;
  min-height: 0;
  height: 100%;
  overflow-y: auto !important;
  overscroll-behavior: contain;
  touch-action: pan-y;
  padding: 10px 8px 14px 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  scrollbar-width: thin;
  scrollbar-color: rgba(245, 158, 11, 0.5) rgba(0, 0, 0, 0.25);
}

.kp-roster-list::-webkit-scrollbar {
  display: block !important;
  width: 6px !important;
}

.kp-roster-list::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.25);
  border-radius: 999px;
  margin: 4px 0;
}

.kp-roster-list::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(245, 158, 11, 0.7) 0%, rgba(217, 119, 6, 0.7) 100%);
  border-radius: 999px;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.kp-roster-list::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #f59e0b 0%, #d97706 100%);
  box-shadow: 0 0 10px rgba(245, 158, 11, 0.6);
}

/* Roster Item Card */
.kp-roster-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  min-height: 64px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.08);
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
}

.kp-roster-item:hover {
  background: rgba(245, 158, 11, 0.09);
  border-color: rgba(245, 158, 11, 0.35);
  transform: translateX(2px);
}

.kp-roster-item.active {
  background: linear-gradient(90deg, rgba(245, 158, 11, 0.22) 0%, rgba(139, 92, 246, 0.15) 100%);
  border: 1.5px solid #f59e0b;
  box-shadow: 0 0 16px rgba(245, 158, 11, 0.25), inset 0 0 12px rgba(245, 158, 11, 0.1);
}

.kp-roster-item.active::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: #f59e0b;
  box-shadow: 0 0 8px #f59e0b;
}

.kp-roster-avatar {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, rgba(0, 0, 0, 0.6) 100%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.kp-roster-avatar canvas {
  width: 46px;
  height: 46px;
  image-rendering: pixelated;
}

.kp-roster-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
}

.kp-roster-row-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.kp-roster-name {
  font-size: 14.5px;
  font-weight: 800;
  color: #f8fafc;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: 0.2px;
}

.kp-roster-row-sub {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  min-height: 20px;
}

.kp-roster-tier {
  font-size: 12px;
  color: #94a3b8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.kp-badge-lv {
  font-size: 11px;
  font-weight: 800;
  color: #fbbf24;
  background: rgba(251, 191, 36, 0.14);
  padding: 2px 7px;
  border-radius: 6px;
  border: 1px solid rgba(251, 191, 36, 0.35);
  line-height: 1.2;
  white-space: nowrap;
  flex-shrink: 0;
}

.kp-badge-active {
  font-size: 11px;
  font-weight: 800;
  color: #4ade80;
  background: rgba(74, 222, 128, 0.16);
  padding: 2px 7px;
  border-radius: 6px;
  border: 1px solid rgba(74, 222, 128, 0.4);
  display: inline-flex;
  align-items: center;
  gap: 3px;
  line-height: 1.2;
  white-space: nowrap;
  flex-shrink: 0;
}

.kp-badge-unowned {
  font-size: 11px;
  color: #64748b;
  background: rgba(100, 116, 139, 0.12);
  padding: 2px 7px;
  border-radius: 6px;
  border: 1px solid rgba(100, 116, 139, 0.25);
  line-height: 1.2;
  white-space: nowrap;
  flex-shrink: 0;
}

/* Right Column: Pet Detail & Altar */
.kp-detail-pane {
  flex: 1;
  min-width: 0;
  min-height: 0;
  height: 100%;
  overflow-y: auto !important;
  overscroll-behavior: contain;
  touch-action: pan-y;
  padding: 14px 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  scrollbar-width: thin;
  scrollbar-color: rgba(245, 158, 11, 0.5) rgba(0, 0, 0, 0.25);
}

.kp-detail-pane::-webkit-scrollbar {
  display: block !important;
  width: 6px !important;
}

.kp-detail-pane::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.25);
  border-radius: 999px;
  margin: 6px 0;
}

.kp-detail-pane::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(245, 158, 11, 0.7) 0%, rgba(217, 119, 6, 0.7) 100%);
  border-radius: 999px;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.kp-detail-pane::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #f59e0b 0%, #d97706 100%);
  box-shadow: 0 0 10px rgba(245, 158, 11, 0.6);
}

/* Showcase Hero Box: Spacious Side-by-Side */
.kp-showcase-box {
  display: flex;
  gap: 18px;
  background: rgba(0, 0, 0, 0.45);
  border: 1.5px solid rgba(245, 158, 11, 0.28);
  border-radius: 16px;
  padding: 12px 18px;
  align-items: center;
  position: relative;
  overflow: hidden;
  min-height: 155px;
}

.kp-showcase-box::before {
  content: '';
  position: absolute;
  top: -30px;
  left: 20px;
  width: 240px;
  height: 240px;
  background: radial-gradient(circle, var(--kp-glow, rgba(245, 158, 11, 0.22)) 0%, transparent 70%);
  pointer-events: none;
}

.kp-stage-canvas {
  width: 220px;
  height: 140px;
  flex-shrink: 0;
  image-rendering: pixelated;
  filter: drop-shadow(0 4px 16px rgba(0, 0, 0, 0.6));
}

.kp-hero-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}

.kp-hero-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.kp-hero-title-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.kp-hero-title {
  font-size: 23px;
  font-weight: 900;
  color: #fef08a;
  letter-spacing: 0.5px;
  text-shadow: 0 0 16px rgba(254, 240, 138, 0.45);
}

.kp-hero-type-tag {
  font-size: 12px;
  font-weight: 700;
  color: #67e8f9;
  background: rgba(6, 182, 212, 0.15);
  border: 1px solid rgba(6, 182, 212, 0.35);
  padding: 3px 10px;
  border-radius: 6px;
  align-self: flex-start;
}

.kp-hero-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.kp-btn-ride {
  background: linear-gradient(180deg, #10b981 0%, #047857 100%);
  color: #fff;
  border: 1px solid #34d399;
  border-radius: 8px;
  padding: 7px 18px;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.kp-btn-ride:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 14px rgba(52, 211, 153, 0.45);
}

.kp-btn-ride.active {
  background: linear-gradient(180deg, #ef4444 0%, #b91c1c 100%);
  border-color: #f87171;
}

.kp-btn-ride.active:hover {
  box-shadow: 0 0 14px rgba(248, 113, 113, 0.45);
}

.kp-btn-lore {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(245, 158, 11, 0.35);
  color: #fde047;
  border-radius: 8px;
  padding: 7px 14px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.kp-btn-lore:hover {
  background: rgba(245, 158, 11, 0.15);
  border-color: #f59e0b;
  transform: translateY(-1px);
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.35);
}

/* Tier Milestone Progression Track */
.kp-tier-track-box {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 9px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.kp-section-lbl {
  font-size: 12px;
  font-weight: 800;
  color: #94a3b8;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 6px;
}

.kp-section-lbl i {
  color: #f59e0b;
}

.kp-tier-steps {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  position: relative;
  padding: 4px 4px 0;
}

.kp-tier-steps::before {
  content: '';
  position: absolute;
  left: 20px;
  right: 20px;
  top: 17px;
  height: 2.5px;
  background: rgba(255, 255, 255, 0.12);
  z-index: 1;
}

.kp-tier-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  z-index: 2;
  position: relative;
  width: 75px;
  text-align: center;
}

.kp-tier-node {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #0f172a;
  border: 2px solid rgba(148, 163, 184, 0.4);
  color: #94a3b8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  transition: all 0.2s ease;
}

.kp-tier-step.unlocked .kp-tier-node {
  background: var(--step-col, #f59e0b);
  border-color: #fff;
  color: #000;
  box-shadow: 0 0 10px var(--step-col, #f59e0b);
}

.kp-tier-step.current .kp-tier-node {
  transform: scale(1.15);
  border-color: #fef08a;
  box-shadow: 0 0 16px #f59e0b;
}

.kp-tier-step-name {
  font-size: 11px;
  color: #94a3b8;
  font-weight: 600;
  line-height: 1.2;
}

.kp-tier-step.unlocked .kp-tier-step-name {
  color: #f1f5f9;
}

.kp-tier-step.current .kp-tier-step-name {
  color: #fde047;
  font-weight: 800;
}

/* Stat Buff Badges */
.kp-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 8px;
}

.kp-stat-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 8px 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.kp-stat-ic {
  font-size: 18px;
  flex-shrink: 0;
}

.kp-stat-details {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.kp-stat-name {
  font-size: 11px;
  color: #94a3b8;
  font-weight: 600;
}

.kp-stat-val {
  font-size: 13.5px;
  font-weight: 800;
  color: #86efac;
}

/* Skills Matrix */
.kp-skills-box {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.kp-skills-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 7px;
}

.kp-skill-card {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 7px 10px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  position: relative;
  overflow: hidden;
}

.kp-skill-card.locked {
  opacity: 0.5;
  filter: grayscale(0.4);
}

.kp-skill-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}

.kp-skill-name {
  font-size: 13px;
  font-weight: 800;
  color: #fde68a;
}

.kp-skill-cd {
  font-size: 11px;
  color: #93c5fd;
  font-weight: 700;
}

.kp-skill-lock {
  font-size: 11px;
  color: #f87171;
  font-weight: 700;
}

.kp-skill-desc {
  font-size: 11.5px;
  color: #cbd5e1;
  line-height: 1.35;
}

/* Cultivation / Refinement Altar */
.kp-altar-box {
  background: linear-gradient(180deg, rgba(245, 158, 11, 0.08) 0%, rgba(0, 0, 0, 0.5) 100%);
  border: 1.5px solid rgba(245, 158, 11, 0.3);
  border-radius: 12px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: auto;
}

.kp-altar-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.kp-altar-cost {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #f1f5f9;
  font-weight: 600;
}

.kp-altar-cost b {
  color: #fde047;
  font-size: 16px;
}

.kp-altar-rate-bar {
  display: flex;
  align-items: center;
  gap: 8px;
}

.kp-rate-pill {
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 800;
}

.kp-rate-pill.hi { background: rgba(74, 222, 128, 0.2); color: #86efac; border: 1px solid #4ade80; }
.kp-rate-pill.mid { background: rgba(250, 204, 21, 0.2); color: #fde047; border: 1px solid #facc15; }
.kp-rate-pill.lo { background: rgba(248, 113, 113, 0.2); color: #fca5a5; border: 1px solid #f87171; }

.kp-altar-note {
  font-size: 11px;
  color: #94a3b8;
  font-style: italic;
}

.kp-altar-btn {
  background: linear-gradient(180deg, #f59e0b 0%, #b45309 100%);
  color: #fff;
  border: 1.5px solid #fef08a;
  border-radius: 10px;
  padding: 9px 20px;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 16px rgba(245, 158, 11, 0.4);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 8px;
}

.kp-altar-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(245, 158, 11, 0.6);
  background: linear-gradient(180deg, #fbbf24 0%, #d97706 100%);
}

.kp-altar-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  filter: grayscale(0.5);
  box-shadow: none;
}

.kp-max-banner {
  font-size: 15px;
  font-weight: 800;
  color: #fde047;
  text-shadow: 0 0 10px rgba(253, 224, 71, 0.5);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Lore Dialog Popup */
.kp-lore-modal {
  position: absolute;
  inset: 0;
  z-index: 50;
  background: rgba(4, 3, 10, 0.88);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  animation: kpFadeIn 0.2s ease;
}

.kp-lore-modal.hidden {
  display: none !important;
}

.kp-lore-window {
  width: 520px;
  max-width: 94%;
  background: radial-gradient(circle at 50% 0%, rgba(38, 26, 68, 0.98) 0%, #0c0918 100%);
  border: 1.5px solid rgba(245, 158, 11, 0.45);
  border-radius: 16px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.9), 0 0 24px rgba(245, 158, 11, 0.2);
  padding: 18px 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.kp-lore-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(245, 158, 11, 0.25);
  padding-bottom: 8px;
}

.kp-lore-title {
  font-size: 18px;
  font-weight: 800;
  color: #fef08a;
  display: flex;
  align-items: center;
  gap: 6px;
}

.kp-lore-body {
  font-size: 13.5px;
  line-height: 1.6;
  color: #e2e8f0;
  background: rgba(255, 255, 255, 0.03);
  padding: 14px 16px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.kp-lore-close {
  background: linear-gradient(180deg, #d97706 0%, #b45309 100%);
  color: #fff;
  border: 1px solid #f59e0b;
  border-radius: 8px;
  padding: 6px 18px;
  font-size: 13.5px;
  font-weight: 800;
  cursor: pointer;
  align-self: flex-end;
  transition: all 0.2s ease;
}

.kp-lore-close:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.4);
}

/* Responsive Mobile Layout */
@media (max-width: 768px) {
  .kp-window {
    height: 96% !important;
    max-height: 96% !important;
  }
  .kp-body {
    flex-direction: column;
  }
  .kp-roster-pane {
    width: 100%;
    max-height: 140px;
    border-right: none;
    border-bottom: 1.5px solid rgba(245, 158, 11, 0.2);
  }
  .kp-roster-list {
    flex-direction: row;
    overflow-x: auto;
    overflow-y: hidden;
  }
  .kp-roster-item {
    min-width: 170px;
  }
  .kp-showcase-box {
    flex-direction: column;
    align-items: center;
  }
  .kp-stage-wrap {
    width: 100%;
    height: 150px;
  }
  .kp-skills-grid {
    grid-template-columns: 1fr;
  }
  .kp-altar-box {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }
  .kp-altar-cost, .kp-altar-rate-bar {
    justify-content: center;
  }
  .kp-altar-btn {
    justify-content: center;
  }
}
