:root {
  color-scheme: dark;
  --page: #070d1c;
  --panel: #0d172a;
  --panel-soft: #101d33;
  --panel-deep: #091326;
  --line: rgba(148, 163, 184, 0.27);
  --text: #edf4ff;
  --muted: #aebdd2;
  --accent: #8290ff;
  --accent-soft: #91b7ff;
  --yellow: #f4ea54;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  padding: 22px;
  background:
    radial-gradient(
      circle at top,
      rgba(46, 66, 135, 0.18),
      transparent 38%
    ),
    var(--page);
  color: var(--text);
  font-family:
    Pretendard,
    "Noto Sans KR",
    system-ui,
    sans-serif;
}

button,
input,
select {
  font: inherit;
}

.detail-app {
  width: min(800px, 100%);
  margin: 0 auto;
}

.detail-loading,
.detail-error {
  padding: 36px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--panel);
  text-align: center;
}

.detail-top-actions {
  position: sticky;
  top: 10px;
  z-index: 10;
  display: flex;
  justify-content: flex-end;
  margin-bottom: 10px;
  pointer-events: none;
}

.detail-close {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #14213a;
  color: white;
  font-size: 22px;
  cursor: pointer;
  pointer-events: auto;
}

.detail-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 230px;
  gap: 14px;
}

.detail-identity,
.detail-future,
.detail-release,
.detail-panel {
  border: 1px solid var(--line);
  border-radius: 17px;
  background: var(--panel);
}

.detail-identity {
  display: flex;
  min-width: 0;
  min-height: 160px;
  align-items: center;
  gap: 18px;
  padding: 20px;
}

.detail-avatar,
.skill-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 2px solid #7785ff;
  border-radius: 50%;
  background:
    linear-gradient(145deg, #2958e8, #8738e9);
  font-weight: 900;
}

.detail-avatar {
  flex: 0 0 96px;
  width: 96px;
  height: 96px;
  font-size: 23px;
}

.detail-avatar img,
.skill-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-name-wrap {
  min-width: 0;
}

.detail-name-wrap h1 {
  margin: 0 0 5px;
  overflow-wrap: anywhere;
  font-size: 30px;
}

.detail-en-name {
  margin: 0 0 14px;
  color: var(--muted);
}

.detail-badges,
.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.detail-badges span,
.pill-list span {
  padding: 7px 10px;
  border: 1px solid rgba(126, 145, 255, 0.35);
  border-radius: 999px;
  background: var(--panel-deep);
}

.detail-side {
  display: grid;
  grid-template-rows: 1fr auto;
  gap: 10px;
}

.detail-future,
.detail-release {
  padding: 18px;
}

.detail-future {
  display: flex;
  min-height: 95px;
  align-items: center;
  justify-content: center;
  color: var(--yellow);
  text-align: center;
  font-size: 18px;
  font-weight: 800;
}

.detail-release strong {
  display: block;
  margin-bottom: 7px;
}

.detail-main-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 14px;
}

.detail-panel {
  margin-top: 14px;
  padding: 18px;
}

.detail-main-grid .detail-panel {
  margin-top: 0;
}

.detail-panel h2 {
  margin: 0 0 14px;
  font-size: 21px;
}

.combat-power {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 8px;
  padding: 13px 14px;
  border-radius: 11px;
  background: #18263c;
}

.combat-power strong {
  font-size: 18px;
}

.combat-power b {
  color: var(--yellow);
  font-size: 19px;
}

.stat-list {
  display: grid;
  gap: 6px;
}

.stat-row {
  display: grid;
  grid-template-columns: minmax(92px, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 9px 11px;
  border-radius: 9px;
  background: var(--panel-deep);
}

.stat-row span:last-child {
  color: #dce6f4;
  text-align: right;
}

.imprint-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.imprint-column {
  min-width: 0;
  padding: 13px;
  border-radius: 13px;
  background: var(--panel-deep);
}

.imprint-column h3 {
  margin: 0 0 7px;
  font-size: 17px;
}

.imprint-description {
  min-height: 70px;
  margin: 0 0 9px;
  color: #c8d5e7;
  line-height: 1.5;
  white-space: pre-line;
  overflow-wrap: anywhere;
}

.imprint-stat {
  margin: 0 0 9px;
  color: var(--accent-soft);
  font-weight: 700;
}

.imprint-table {
  display: grid;
  gap: 5px;
}

.imprint-row {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: center;
  gap: 7px;
  padding: 7px;
  border-radius: 8px;
  background: var(--panel-soft);
}

.imprint-row b {
  color: var(--accent);
}

.skill-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.skill-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--panel-deep);
}

.skill-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px;
  background: #132139;
}

.skill-icon {
  flex: 0 0 56px;
  width: 56px;
  height: 56px;
  font-size: 13px;
}

.skill-title {
  min-width: 0;
}

.skill-title small {
  color: var(--muted);
}

.skill-title h3 {
  margin: 3px 0 0;
  overflow-wrap: anywhere;
  font-size: 16px;
}

.skill-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  padding: 10px 11px 0;
}

.skill-meta span {
  min-width: 0;
  padding: 7px;
  border-radius: 8px;
  background: #071126;
  font-size: 12px;
  overflow-wrap: anywhere;
}

.skill-body {
  display: grid;
  gap: 8px;
  padding: 11px;
}

.skill-block {
  padding: 10px;
  border-radius: 9px;
  background: #071126;
}

.skill-block h4 {
  margin: 0 0 6px;
  color: #79b9ff;
  font-size: 13px;
}

.skill-block p,
.skill-block li {
  margin: 0;
  color: #cad5e5;
  line-height: 1.55;
  white-space: pre-line;
  overflow-wrap: anywhere;
}

.skill-block ul {
  display: grid;
  gap: 6px;
  margin: 0;
  padding-left: 18px;
}

.exclusive-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 11px;
  padding: 12px 14px;
  border-radius: 11px;
  background: #18263c;
}

.exclusive-summary strong {
  color: #dce7f6;
}

.exclusive-summary span {
  color: var(--yellow);
  text-align: right;
  font-weight: 800;
}

.exclusive-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.exclusive-card {
  min-width: 0;
  padding: 13px;
  border-radius: 12px;
  background: var(--panel-deep);
}

.exclusive-card h3 {
  margin: 0 0 9px;
  color: var(--accent-soft);
  font-size: 16px;
}

.exclusive-card strong {
  display: block;
  margin-bottom: 7px;
  overflow-wrap: anywhere;
}

.exclusive-card p {
  margin: 0;
  color: #cad5e5;
  line-height: 1.55;
  white-space: pre-line;
  overflow-wrap: anywhere;
}

.exclusive-card.is-empty {
  color: var(--muted);
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.guide-grid .detail-panel {
  margin-top: 0;
}

.empty-text {
  margin: 0;
  padding: 12px;
  border-radius: 10px;
  background: var(--panel-deep);
  color: var(--muted);
}

.analysis-list {
  display: grid;
  gap: 9px;
}

.analysis-item {
  padding: 13px;
  border-radius: 11px;
  background: var(--panel-deep);
}

.analysis-item h3 {
  margin: 0 0 7px;
  color: var(--accent-soft);
  font-size: 16px;
}

.analysis-item p {
  margin: 0;
  color: #cad5e5;
  line-height: 1.65;
  white-space: pre-line;
  overflow-wrap: anywhere;
}

@media (max-width: 720px) {
  body {
    padding: 0;
  }

  .detail-app {
    width: 100%;
  }

  .detail-top-actions {
    top: 8px;
    padding-right: 8px;
  }

  .detail-header,
  .detail-main-grid,
  .skill-grid,
  .exclusive-grid,
  .guide-grid,
  .imprint-grid {
    grid-template-columns: 1fr;
  }

  .detail-identity,
  .detail-future,
  .detail-release,
  .detail-panel {
    border-right: 0;
    border-left: 0;
    border-radius: 0;
  }

  .detail-identity {
    align-items: flex-start;
    padding: 16px;
  }

  .detail-avatar {
    flex-basis: 76px;
    width: 76px;
    height: 76px;
    font-size: 19px;
  }

  .detail-name-wrap h1 {
    font-size: 25px;
  }

  .detail-side {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .detail-main-grid,
  .guide-grid {
    margin-top: 10px;
    gap: 10px;
  }

  .detail-panel {
    margin-top: 10px;
    padding: 15px;
  }

  .imprint-description {
    min-height: 0;
  }

  .skill-meta {
    grid-template-columns: 1fr;
  }
}

/* 95-W3 DISPLAY CLEANUP START */
.e7fix-section {
  width: 100%;
}

.e7fix-skill-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.e7fix-skill-card {
  border: 1px solid rgba(130, 160, 220, 0.24);
  border-radius: 12px;
  background: rgba(8, 18, 35, 0.72);
  overflow: hidden;
}

.e7fix-skill-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border-bottom: 1px solid rgba(130, 160, 220, 0.16);
}

.e7fix-skill-badge {
  flex: 0 0 auto;
  display: inline-flex;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 12px;
  color: #ffffff;
  background: linear-gradient(135deg, #6d5dfc, #8f7cff);
  box-shadow: 0 8px 22px rgba(107, 93, 252, 0.32);
}

.e7fix-skill-type {
  margin: 0 0 3px;
  color: #9fb7e8;
  font-size: 12px;
  font-weight: 700;
}

.e7fix-skill-head h3 {
  margin: 0;
  color: #f5f8ff;
  font-size: 16px;
  line-height: 1.25;
}

.e7fix-skill-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-bottom: 1px solid rgba(130, 160, 220, 0.12);
}

.e7fix-skill-meta > div {
  padding: 10px 12px;
}

.e7fix-skill-meta b {
  display: block;
  margin-bottom: 4px;
  color: #86b7ff;
  font-size: 11px;
}

.e7fix-skill-meta span {
  color: #f5f8ff;
  font-size: 13px;
  font-weight: 700;
}

.e7fix-skill-block {
  padding: 12px;
  border-top: 1px solid rgba(130, 160, 220, 0.1);
}

.e7fix-skill-block:first-of-type {
  border-top: 0;
}

.e7fix-skill-block h4 {
  margin: 0 0 8px;
  color: #7fb2ff;
  font-size: 12px;
  font-weight: 800;
}

.e7fix-skill-block p {
  margin: 0;
  color: #d9e6ff;
  font-size: 13px;
  line-height: 1.55;
  word-break: keep-all;
}

.e7fix-cost {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 7px !important;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(255, 225, 90, 0.12);
  color: #ffe75a !important;
  font-weight: 800;
}

.e7fix-enhance ul {
  display: grid;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.e7fix-enhance li {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 8px;
  align-items: start;
  color: #d9e6ff;
  font-size: 13px;
  line-height: 1.4;
}

.e7fix-enhance li strong {
  color: #9fb7ff;
}

.e7fix-ee-none,
.e7fix-ee-main {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px;
  border-radius: 10px;
  background: rgba(25, 43, 70, 0.72);
}

.e7fix-ee-none strong,
.e7fix-ee-main strong {
  color: #f5f8ff;
}

.e7fix-ee-none span,
.e7fix-ee-main span {
  color: #ffe75a;
  font-weight: 700;
}

.e7fix-ee-options {
  display: none;
}

.e7fix-single-imprint {
  grid-template-columns: minmax(0, 1fr) !important;
}

.e7fix-hidden-ai {
  display: none !important;
}

.e7fix-close-button {
  position: fixed !important;
  right: max(16px, calc((100vw - 760px) / 2 - 54px)) !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  z-index: 9999 !important;
}

@media (max-width: 900px) {
  .e7fix-skill-grid {
    grid-template-columns: 1fr;
  }

  .e7fix-close-button {
    right: 12px !important;
    top: 12px !important;
    transform: none !important;
  }
}
/* 95-W3 DISPLAY CLEANUP END */

/* 95-W4 CHROME DETAIL COMPACT FIX START */
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-size: 13px;
}

main,
.detail-root,
.hero-root,
#app {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

h1 {
  font-size: clamp(22px, 2.3vw, 28px);
}

h2 {
  font-size: clamp(16px, 1.7vw, 20px);
}

h3 {
  font-size: clamp(13px, 1.35vw, 16px);
}

p,
li,
span,
button,
a,
.stat-row,
.imprint-row,
.e7fix-skill-block p,
.e7fix-enhance li {
  font-size: clamp(11px, 1.05vw, 13px);
}

.stat-row,
.imprint-row {
  min-height: 30px;
}

.e7fix-skill-grid {
  gap: 10px;
}

.e7fix-skill-head {
  padding: 10px;
}

.e7fix-skill-badge {
  width: 36px;
  height: 36px;
  font-size: 11px;
}

.e7fix-skill-meta > div,
.e7fix-skill-block {
  padding: 10px;
}

.e7fix-skill-head h3 {
  font-size: 14px;
}

.e7fix-skill-type,
.e7fix-skill-block h4,
.e7fix-skill-meta b {
  font-size: 11px;
}

.e7fix-skill-block p {
  line-height: 1.48;
}

.e7fix-enhance li {
  grid-template-columns: 30px 1fr;
  gap: 6px;
}

.e7fix-close-button {
  right: max(18px, calc((100vw - 760px) / 2 - 72px)) !important;
}

@media (min-width: 901px) {
  .e7fix-skill-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  main,
  .detail-root,
  .hero-root,
  #app {
    max-width: calc(100vw - 24px);
  }

  body {
    font-size: 12px;
  }

  .e7fix-close-button {
    right: 10px !important;
    top: 10px !important;
  }
}
/* 95-W4 CHROME DETAIL COMPACT FIX END */

/* 95-W5 DETAIL INGAME POLISH START */
.e7fix-imprint-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.e7fix-imprint-column {
  padding: 14px;
  border-radius: 12px;
  background: rgba(8, 18, 35, 0.76);
  border: 1px solid rgba(130, 160, 220, 0.18);
}

.e7fix-imprint-title {
  display: flex;
  align-items: center;
  gap: 8px;
}

.e7fix-imprint-title span {
  display: inline-flex;
  width: 28px;
  height: 28px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(130, 110, 255, 0.25);
}

.e7fix-imprint-title h3 {
  margin: 0;
  color: #f5f8ff;
}

.e7fix-imprint-target {
  margin: 8px 0;
  color: #a9c5ff;
  font-weight: 700;
}

.e7fix-formation {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  margin: 8px 0 10px;
}

.e7fix-formation span {
  padding: 6px 4px;
  border-radius: 8px;
  text-align: center;
  color: #7d90b8;
  background: rgba(20, 34, 56, 0.72);
  border: 1px solid rgba(130, 160, 220, 0.1);
  font-size: 11px;
}

.e7fix-formation span.is-active {
  color: #061020;
  background: linear-gradient(135deg, #77d8ff, #ffe45e);
  border-color: rgba(255, 236, 120, 0.6);
  font-weight: 900;
}

.e7fix-imprint-stat {
  margin: 6px 0;
  color: #89b7ff;
  font-weight: 800;
}

.e7fix-imprint-rows {
  display: grid;
  gap: 4px;
}

.e7fix-imprint-rows div {
  display: grid;
  grid-template-columns: 42px 1fr;
  align-items: center;
  gap: 8px;
  padding: 7px 8px;
  border-radius: 8px;
  background: rgba(30, 51, 82, 0.72);
}

.e7fix-imprint-rows b {
  color: #8fa8ff;
}

.e7fix-imprint-rows span {
  color: #ffffff;
  font-weight: 800;
}

.e7fix-effect-list {
  display: grid;
  gap: 6px;
}

.e7fix-effect-row {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 8px;
  align-items: start;
  padding: 7px 8px;
  border-radius: 8px;
  background: rgba(25, 43, 70, 0.58);
}

.e7fix-effect-row span {
  display: inline-flex;
  width: fit-content;
  padding: 3px 7px;
  border-radius: 999px;
  color: #061020;
  background: #7dd8ff;
  font-weight: 900;
  font-size: 11px;
}

.e7fix-effect-row p {
  margin: 0;
  color: #d9e6ff;
  font-size: 12px;
  line-height: 1.45;
}

.e7fix-muted {
  color: #7f94bd !important;
}

.e7fix-skill-card {
  display: flex;
  flex-direction: column;
}

.e7fix-skill-block {
  min-height: 54px;
}

.e7fix-soulburn {
  min-height: 84px;
}

.e7fix-enhance {
  min-height: 130px;
}

.e7fix-enhance li {
  grid-template-columns: 32px 1fr;
  align-items: start;
}

.e7fix-ai-grid {
  display: grid;
  gap: 10px;
}

.e7fix-ai-grid article {
  padding: 12px;
  border-radius: 10px;
  background: rgba(8, 18, 35, 0.72);
  border: 1px solid rgba(130, 160, 220, 0.12);
}

.e7fix-ai-grid h3 {
  margin: 0 0 7px;
  color: #89b7ff;
  font-size: 13px;
}

.e7fix-ai-grid p {
  margin: 0;
  color: #d9e6ff;
  line-height: 1.55;
}

@media (max-width: 760px) {
  .e7fix-imprint-grid {
    grid-template-columns: 1fr;
  }

  .e7fix-effect-row {
    grid-template-columns: 1fr;
  }
}
/* 95-W5 DETAIL INGAME POLISH END */

/* 95-W8 IMPRINT SKILL LAYOUT POLISH START */
.stat-list {
  display: grid;
  gap: 5px;
}

.stat-row {
  display: grid;
  grid-template-columns: minmax(90px, 1fr) auto;
  align-items: center;
  min-height: 32px;
  padding: 7px 10px;
  border-radius: 8px;
  background: rgba(8, 18, 35, 0.52);
}

.stat-row:first-child,
.combat-power {
  background: rgba(35, 59, 94, 0.78);
}

.stat-row b,
.stat-row strong {
  color: #ffffff;
}

.stat-row span:last-child,
.stat-row strong:last-child,
.combat-power strong {
  color: #fff35c;
  font-weight: 1000;
}

.e7imprint-note {
  margin: 0 0 10px;
  color: #a8c3f0;
  font-size: 12px;
  line-height: 1.4;
}

.e7imprint-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.e7imprint-column {
  min-width: 0;
  padding: 14px;
  border-radius: 12px;
  background:
    radial-gradient(circle at 25% 25%, rgba(68, 137, 255, 0.16), transparent 42%),
    rgba(8, 18, 35, 0.78);
  border: 1px solid rgba(130, 160, 220, 0.2);
}

.e7imprint-head {
  display: flex;
  align-items: center;
  gap: 9px;
}

.e7imprint-mode-icon {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #061020;
  background: linear-gradient(135deg, #e8efff, #83d8ff);
  font-weight: 900;
}

.e7imprint-head h3 {
  margin: 0;
  color: #ffffff;
  font-size: 15px;
}

.e7imprint-head p {
  margin: 2px 0 0;
  color: #a9c5ff;
  font-size: 11px;
}

.e7imprint-party4 {
  position: relative;
  width: 108px;
  height: 108px;
  margin: 12px auto 10px;
}

.e7imprint-party4 span {
  position: absolute;
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  transform: rotate(45deg);
  border-radius: 9px;
  color: #7b8fb4;
  background: rgba(20, 34, 56, 0.82);
  border: 1px solid rgba(130, 160, 220, 0.18);
  font-size: 0;
}

.e7imprint-party4 span::after {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: currentColor;
}

.e7imprint-party4 .slot-p1 {
  left: 34px;
  top: 0;
}

.e7imprint-party4 .slot-p2 {
  left: 0;
  top: 34px;
}

.e7imprint-party4 .slot-p3 {
  right: 0;
  top: 34px;
}

.e7imprint-party4 .slot-p4 {
  left: 34px;
  bottom: 0;
}

.e7imprint-party4 span.is-active {
  color: #fff35c;
  background: linear-gradient(135deg, #3879ff, #63d7ff);
  border-color: rgba(255, 244, 120, 0.78);
  box-shadow: 0 0 16px rgba(104, 194, 255, 0.55);
}

.e7imprint-self {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 108px;
  margin: 12px auto 10px;
}

.e7imprint-self span {
  display: inline-flex;
  width: 76px;
  height: 76px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #061020;
  background: linear-gradient(135deg, #78ddff, #fff35c);
  box-shadow: 0 0 18px rgba(120, 221, 255, 0.45);
  font-size: 14px;
  font-weight: 1000;
}

.e7imprint-target {
  min-height: 34px;
  margin: 8px 0;
  color: #c7d9ff;
  font-size: 12px;
  line-height: 1.45;
}

.e7imprint-stat {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 6px 0 8px;
  color: #87c7ff;
  font-weight: 900;
}

.e7imprint-stat span {
  font-size: 18px;
}

.e7imprint-values {
  display: grid;
  gap: 5px;
}

.e7imprint-values div {
  display: grid;
  grid-template-columns: 38px 28px 1fr;
  align-items: center;
  gap: 6px;
  padding: 7px 8px;
  border-radius: 9px;
  background: rgba(30, 51, 82, 0.75);
}

.e7imprint-values div.is-missing {
  opacity: 0.72;
}

.e7imprint-values b {
  font-weight: 1000;
  font-size: 15px;
}

.e7imprint-values .grade-b b {
  color: #5da2ff;
}

.e7imprint-values .grade-a b {
  color: #d15cff;
}

.e7imprint-values .grade-s b,
.e7imprint-values .grade-ss b,
.e7imprint-values .grade-sss b {
  color: #ff392f;
  text-shadow: 0 0 7px rgba(255, 57, 47, 0.42);
}

.e7imprint-values .stat-icon {
  font-size: 18px;
}

.e7imprint-values strong {
  color: #ffffff;
  font-size: 14px;
  text-align: right;
}

.e7imprint-empty {
  margin: 8px 0 0;
  color: #ffdc5c;
  font-weight: 800;
}

.e7skill-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  align-items: stretch;
}

.e7skill-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  border: 1px solid rgba(130, 160, 220, 0.24);
  border-radius: 12px;
  background: rgba(8, 18, 35, 0.74);
  overflow: hidden;
}

.e7skill-head {
  display: flex;
  gap: 9px;
  align-items: center;
  min-height: 64px;
  padding: 10px;
  border-bottom: 1px solid rgba(130, 160, 220, 0.14);
}

.e7skill-badge {
  flex: 0 0 auto;
  display: inline-flex;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background: linear-gradient(135deg, #6d5dfc, #8f7cff);
  font-size: 11px;
  font-weight: 900;
}

.e7skill-head p {
  margin: 0 0 3px;
  color: #9fc2ff;
  font-size: 11px;
  font-weight: 800;
}

.e7skill-head h3 {
  margin: 0;
  color: #ffffff;
  font-size: 14px;
}

.e7skill-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  min-height: 58px;
  border-bottom: 1px solid rgba(130, 160, 220, 0.12);
}

.e7skill-meta div {
  padding: 9px 10px;
}

.e7skill-meta b,
.e7skill-desc-slot h4,
.e7skill-soulburn-slot h4,
.e7skill-enhance-slot h4 {
  display: block;
  margin: 0 0 7px;
  color: #75b8ff;
  font-size: 11px;
  font-weight: 900;
}

.e7skill-meta span {
  color: #ffffff;
  font-size: 13px;
  font-weight: 900;
}

.e7skill-main-row {
  flex: 1 1 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 106px;
  min-height: 190px;
  border-top: 1px solid rgba(130, 160, 220, 0.1);
}

.e7skill-desc-slot,
.e7skill-soulburn-slot,
.e7skill-enhance-slot {
  padding: 10px;
}

.e7skill-desc-slot {
  min-width: 0;
}

.e7skill-soulburn-slot {
  border-left: 1px solid rgba(130, 160, 220, 0.1);
  background: rgba(255, 225, 90, 0.03);
}

.e7skill-desc-slot p,
.e7skill-soulburn-slot p,
.e7skill-enhance-slot p {
  margin: 0;
  color: #d9e6ff;
  font-size: 12px;
  line-height: 1.48;
  word-break: keep-all;
}

.e7skill-soulburn-slot p::after {
  content: "";
  display: block;
  height: 10px;
}

.e7skill-soulburn-slot.is-empty {
  visibility: hidden;
}

.e7soul-line {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-start;
}

.e7soul-cost {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  padding: 4px 7px;
  border-radius: 999px;
  background: rgba(255, 225, 90, 0.18);
  color: #ffe75a !important;
  font-size: 10px;
  font-weight: 1000;
  white-space: nowrap;
  letter-spacing: -0.03em;
}

.e7skill-enhance-slot {
  border-top: 1px solid rgba(130, 160, 220, 0.1);
  min-height: 150px;
}

.e7skill-enhance-table {
  display: grid;
  gap: 3px;
}

.e7skill-enhance-table div {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 6px;
  align-items: start;
  color: #d9e6ff;
  font-size: 12px;
  line-height: 1.4;
}

.e7skill-enhance-table b {
  color: #8fb4ff;
}

.e7skill-muted {
  color: #7288ad !important;
}

.e7term {
  appearance: none;
  display: inline;
  padding: 0;
  border: 0;
  border-bottom: 1px solid rgba(125, 216, 255, 0.9);
  background: transparent;
  color: #8ce4ff;
  font: inherit;
  font-weight: 900;
  cursor: help;
  text-decoration: none !important;
  text-underline-offset: 0;
}

.e7term:hover,
.e7term:focus {
  color: #fff35c;
  border-bottom-color: #fff35c;
  outline: none;
}

.e7term-popover {
  position: fixed;
  z-index: 10000;
  width: min(270px, calc(100vw - 24px));
  padding: 12px;
  border-radius: 10px;
  border: 1px solid rgba(125, 216, 255, 0.45);
  background: rgba(10, 20, 38, 0.96);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.45);
}

.e7term-popover strong {
  display: block;
  margin-bottom: 6px;
  color: #fff35c;
  font-size: 13px;
}

.e7term-popover p {
  margin: 0;
  color: #d9e6ff;
  font-size: 12px;
  line-height: 1.45;
}

.e7term-popover.is-pinned {
  border-color: rgba(255, 243, 92, 0.8);
}

.e7fix-ai-grid {
  display: grid;
  gap: 10px;
}

.e7fix-ai-grid article {
  padding: 12px;
  border-radius: 10px;
  background: rgba(8, 18, 35, 0.72);
  border: 1px solid rgba(130, 160, 220, 0.12);
}

.e7fix-ai-grid h3 {
  margin: 0 0 7px;
  color: #89b7ff;
  font-size: 13px;
}

.e7fix-ai-grid p {
  margin: 0;
  color: #d9e6ff;
  line-height: 1.55;
}

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

  .e7skill-main-row {
    grid-template-columns: minmax(0, 1fr) 110px;
  }
}

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

  .e7skill-main-row {
    grid-template-columns: 1fr;
  }

  .e7skill-soulburn-slot {
    border-left: 0;
    border-top: 1px solid rgba(130, 160, 220, 0.1);
  }

  .e7skill-soulburn-slot.is-empty {
    display: none;
  }
}
/* 95-W8 IMPRINT SKILL LAYOUT POLISH END */

/* 95-W9 DETAIL LAYOUT FINAL POLISH START */

/* 6성 6각 기본 스탯: W8 과색상/과굵기 롤백 */
.stat-list {
  gap: 4px !important;
}

.stat-row {
  min-height: 29px !important;
  padding: 6px 10px !important;
  border-radius: 8px !important;
  background: rgba(8, 18, 35, 0.48) !important;
  font-size: 12px !important;
  line-height: 1.25 !important;
}

.stat-row:first-child,
.stat-row.combat-power,
.combat-power {
  min-height: 40px !important;
  background: rgba(35, 59, 94, 0.78) !important;
  font-size: 14px !important;
}

.stat-row b,
.stat-row strong,
.stat-row span:first-child {
  color: #dce9ff !important;
  font-weight: 800 !important;
}

.stat-row span:last-child,
.stat-row strong:last-child {
  color: #dce9ff !important;
  font-weight: 800 !important;
}

.stat-row:first-child span:last-child,
.stat-row:first-child strong:last-child,
.stat-row.combat-power span:last-child,
.stat-row.combat-power strong:last-child,
.combat-power strong,
.combat-power span:last-child {
  color: #fff35c !important;
  font-weight: 1000 !important;
}

/* 기억각인: 카드 길이/여백 축소 */
.e7imprint-note {
  margin-bottom: 8px !important;
  font-size: 11px !important;
}

.e7imprint-grid {
  gap: 10px !important;
}

.e7imprint-column {
  padding: 12px !important;
}

.e7imprint-head {
  gap: 8px !important;
}

.e7imprint-mode-icon {
  width: 30px !important;
  height: 30px !important;
}

.e7imprint-head h3 {
  font-size: 14px !important;
}

.e7imprint-head p {
  font-size: 10px !important;
  line-height: 1.25 !important;
}

.e7imprint-party4 {
  width: 88px !important;
  height: 88px !important;
  margin: 8px auto 6px !important;
}

.e7imprint-party4 span {
  width: 32px !important;
  height: 32px !important;
  border-radius: 8px !important;
}

.e7imprint-party4 span::after {
  width: 8px !important;
  height: 8px !important;
}

.e7imprint-party4 .slot-p1 {
  left: 28px !important;
  top: 0 !important;
}

.e7imprint-party4 .slot-p2 {
  left: 0 !important;
  top: 28px !important;
}

.e7imprint-party4 .slot-p3 {
  right: 0 !important;
  top: 28px !important;
}

.e7imprint-party4 .slot-p4 {
  left: 28px !important;
  bottom: 0 !important;
}

.e7imprint-self {
  min-height: 88px !important;
  margin: 8px auto 6px !important;
}

.e7imprint-self span {
  width: 62px !important;
  height: 62px !important;
  font-size: 13px !important;
}

.e7imprint-target {
  min-height: auto !important;
  margin: 6px 0 !important;
  font-size: 11px !important;
  line-height: 1.35 !important;
}

.e7imprint-stat {
  margin: 4px 0 6px !important;
  font-size: 12px !important;
}

.e7imprint-stat span {
  font-size: 15px !important;
}

.e7imprint-values {
  gap: 4px !important;
}

.e7imprint-values div {
  grid-template-columns: 34px 22px 1fr !important;
  gap: 5px !important;
  padding: 5px 7px !important;
  border-radius: 8px !important;
}

.e7imprint-values b {
  font-size: 13px !important;
}

.e7imprint-values .stat-icon {
  font-size: 14px !important;
}

.e7imprint-values strong {
  font-size: 12px !important;
  text-align: right !important;
}

.e7imprint-empty {
  display: none !important;
}

/* 스킬: 카드 행 재정렬 */
.e7skill-grid {
  align-items: stretch !important;
}

.e7skill-card {
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden !important;
}

.e7skill-main-row {
  display: block !important;
  min-height: 0 !important;
  border-top: 1px solid rgba(130, 160, 220, 0.1) !important;
}

.e7skill-main-row-w9 {
  display: block !important;
}

.e7skill-desc-slot {
  min-width: 0 !important;
  overflow: visible !important;
}

.e7skill-desc-slot p {
  word-break: keep-all !important;
  line-height: 1.48 !important;
}

/* 소울번: 스킬강화 바로 위, 제목 오른쪽에 소울 소모 */
.e7skill-soulburn-slot {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) max-content !important;
  grid-template-rows: auto auto;
  column-gap: 8px !important;
  row-gap: 6px !important;
  min-height: 68px !important;
  padding: 10px !important;
  border-left: 0 !important;
  border-top: 1px solid rgba(130, 160, 220, 0.1) !important;
  background: rgba(255, 225, 90, 0.035) !important;
}

.e7skill-soulburn-slot.is-empty {
  visibility: hidden !important;
}

.e7skill-soulburn-slot h4 {
  grid-column: 1 !important;
  grid-row: 1 !important;
  margin: 0 !important;
}

.e7skill-soulburn-slot .e7soul-line {
  display: contents !important;
}

.e7soul-cost {
  grid-column: 2 !important;
  grid-row: 1 !important;
  align-self: start !important;
  white-space: nowrap !important;
  max-width: none !important;
  padding: 4px 8px !important;
  font-size: 10px !important;
  letter-spacing: -0.04em !important;
}

.e7skill-soulburn-slot p {
  grid-column: 1 / -1 !important;
  grid-row: 2 !important;
  margin: 0 !important;
  padding-bottom: 10px !important;
  line-height: 1.45 !important;
}

.e7skill-soulburn-slot p::after {
  display: none !important;
}

/* 스킬 강화 정렬 */
.e7skill-enhance-slot {
  min-height: 145px !important;
  border-top: 1px solid rgba(130, 160, 220, 0.1) !important;
}

.e7skill-enhance-table {
  gap: 3px !important;
}

.e7skill-enhance-table div {
  grid-template-columns: 32px 1fr !important;
  gap: 6px !important;
  line-height: 1.38 !important;
}

/* 툴팁 키워드: 밑줄 하나만 */
.e7term {
  text-decoration: none !important;
  background-image: none !important;
  box-shadow: none !important;
  border-bottom: 1px solid rgba(125, 216, 255, 0.9) !important;
  text-underline-offset: 0 !important;
}

.e7term:hover,
.e7term:focus {
  border-bottom-color: #fff35c !important;
}

/* 모바일 */
@media (max-width: 900px) {
  .e7skill-soulburn-slot {
    grid-template-columns: minmax(0, 1fr) max-content !important;
  }
}

@media (max-width: 760px) {
  .e7skill-soulburn-slot.is-empty {
    display: none !important;
  }
}

/* 95-W9 DETAIL LAYOUT FINAL POLISH END */

/* 95-W10 DETAIL TABLE SKILL ALIGN START */

/* 스탯 테이블: 전투력만 강조, 나머지는 기존 톤으로 롤백 */
.e7stat-row-w10 {
  display: grid !important;
  grid-template-columns: minmax(90px, 1fr) auto !important;
  align-items: center !important;
  min-height: 30px !important;
  padding: 6px 10px !important;
  border-radius: 8px !important;
  font-size: 12px !important;
  line-height: 1.25 !important;
}

.e7stat-normal-w10 {
  background: rgba(8, 18, 35, 0.48) !important;
}

.e7stat-normal-w10,
.e7stat-normal-w10 * {
  color: #dce9ff !important;
  font-weight: 750 !important;
}

.e7stat-normal-w10 span:last-child,
.e7stat-normal-w10 strong:last-child,
.e7stat-normal-w10 b:last-child {
  color: #e8f1ff !important;
  font-weight: 800 !important;
}

.e7stat-combat-w10 {
  min-height: 40px !important;
  background: rgba(35, 59, 94, 0.82) !important;
  font-size: 15px !important;
}

.e7stat-combat-w10,
.e7stat-combat-w10 * {
  font-weight: 1000 !important;
}

.e7stat-combat-w10 span:first-child,
.e7stat-combat-w10 strong:first-child,
.e7stat-combat-w10 b:first-child {
  color: #ffffff !important;
}

.e7stat-combat-w10 span:last-child,
.e7stat-combat-w10 strong:last-child,
.e7stat-combat-w10 b:last-child {
  color: #fff35c !important;
}

/* 기억각인: 길이 축소 + 테이블 정렬 */
.e7imprint-note {
  margin-bottom: 7px !important;
  font-size: 11px !important;
  line-height: 1.35 !important;
}

.e7imprint-grid {
  gap: 10px !important;
  align-items: start !important;
}

.e7imprint-column {
  padding: 11px !important;
  min-height: 0 !important;
}

.e7imprint-head {
  gap: 7px !important;
  margin-bottom: 6px !important;
}

.e7imprint-mode-icon {
  width: 28px !important;
  height: 28px !important;
  font-size: 13px !important;
}

.e7imprint-head h3 {
  font-size: 14px !important;
  line-height: 1.2 !important;
}

.e7imprint-head p {
  font-size: 10px !important;
  line-height: 1.25 !important;
}

.e7imprint-party4 {
  width: 78px !important;
  height: 78px !important;
  margin: 6px auto 5px !important;
}

.e7imprint-party4 span {
  width: 29px !important;
  height: 29px !important;
  border-radius: 7px !important;
}

.e7imprint-party4 span::after {
  width: 7px !important;
  height: 7px !important;
}

.e7imprint-party4 .slot-p1 {
  left: 24.5px !important;
  top: 0 !important;
}

.e7imprint-party4 .slot-p2 {
  left: 0 !important;
  top: 24.5px !important;
}

.e7imprint-party4 .slot-p3 {
  right: 0 !important;
  top: 24.5px !important;
}

.e7imprint-party4 .slot-p4 {
  left: 24.5px !important;
  bottom: 0 !important;
}

.e7imprint-self {
  min-height: 78px !important;
  margin: 6px auto 5px !important;
}

.e7imprint-self span {
  width: 56px !important;
  height: 56px !important;
  font-size: 12px !important;
}

.e7imprint-target {
  min-height: 24px !important;
  margin: 4px 0 5px !important;
  font-size: 11px !important;
  line-height: 1.3 !important;
}

.e7imprint-stat {
  display: grid !important;
  grid-template-columns: 20px 1fr !important;
  align-items: center !important;
  gap: 5px !important;
  margin: 4px 0 5px !important;
  color: #87c7ff !important;
  font-size: 12px !important;
  font-weight: 900 !important;
}

.e7imprint-stat span {
  font-size: 15px !important;
}

.e7imprint-values {
  display: grid !important;
  gap: 4px !important;
}

.e7imprint-values div {
  display: grid !important;
  grid-template-columns: 34px 22px minmax(36px, 1fr) !important;
  align-items: center !important;
  gap: 5px !important;
  min-height: 28px !important;
  padding: 4px 7px !important;
  border-radius: 8px !important;
}

.e7imprint-values div.e7imprint-row-missing-w10 {
  grid-template-columns: 34px minmax(36px, 1fr) !important;
  opacity: 0.68 !important;
}

.e7imprint-row-missing-w10 .stat-icon {
  display: none !important;
}

.e7imprint-values b {
  font-size: 13px !important;
  line-height: 1 !important;
}

.e7imprint-values .stat-icon {
  font-size: 14px !important;
  line-height: 1 !important;
}

.e7imprint-values strong {
  color: #ffffff !important;
  font-size: 12px !important;
  line-height: 1.1 !important;
  text-align: right !important;
  font-weight: 900 !important;
}

.e7imprint-empty {
  display: none !important;
}

/* 스킬 카드: 설명/소울번/강화 행 정렬 */
.e7skill-card {
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden !important;
}

.e7skill-head {
  min-height: 64px !important;
}

.e7skill-meta {
  min-height: 58px !important;
}

.e7skill-main-row {
  display: block !important;
  min-height: 0 !important;
  border-top: 1px solid rgba(130, 160, 220, 0.1) !important;
}

.e7skill-desc-slot {
  overflow: visible !important;
  border-top: 0 !important;
}

.e7skill-desc-slot p {
  word-break: keep-all !important;
  line-height: 1.48 !important;
}

/* 소울번: 스킬강화 위에 두고, 소울 소모량은 제목 오른쪽 */
.e7skill-soulburn-slot {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) max-content !important;
  grid-template-rows: auto auto !important;
  column-gap: 8px !important;
  row-gap: 6px !important;
  min-height: 58px !important;
  padding: 9px 10px 12px !important;
  border-left: 0 !important;
  border-top: 1px solid rgba(130, 160, 220, 0.1) !important;
  background: rgba(255, 225, 90, 0.035) !important;
}

.e7skill-soulburn-slot.is-empty {
  visibility: hidden !important;
  display: grid !important;
}

.e7skill-soulburn-slot h4 {
  grid-column: 1 !important;
  grid-row: 1 !important;
  margin: 0 !important;
  align-self: center !important;
}

.e7skill-soulburn-slot .e7soul-line {
  display: contents !important;
}

.e7soul-cost {
  grid-column: 2 !important;
  grid-row: 1 !important;
  align-self: center !important;
  white-space: nowrap !important;
  width: fit-content !important;
  max-width: none !important;
  padding: 4px 8px !important;
  border-radius: 999px !important;
  font-size: 10px !important;
  line-height: 1 !important;
  letter-spacing: -0.04em !important;
}

.e7skill-soulburn-slot p {
  grid-column: 1 / -1 !important;
  grid-row: 2 !important;
  margin: 0 !important;
  padding-bottom: 8px !important;
  line-height: 1.45 !important;
}

.e7skill-soulburn-slot p::after {
  display: none !important;
}

/* 스킬 강화: 3개 카드에서 시작선/행 간격 정리 */
.e7skill-enhance-slot {
  min-height: 142px !important;
  border-top: 1px solid rgba(130, 160, 220, 0.1) !important;
  padding: 10px !important;
}

.e7skill-enhance-table {
  display: grid !important;
  gap: 3px !important;
}

.e7skill-enhance-table div {
  display: grid !important;
  grid-template-columns: 30px minmax(0, 1fr) !important;
  gap: 6px !important;
  align-items: start !important;
  font-size: 12px !important;
  line-height: 1.36 !important;
}

.e7skill-enhance-table b {
  color: #8fb4ff !important;
  font-weight: 1000 !important;
}

.e7skill-enhance-table span {
  color: #d9e6ff !important;
}

/* 툴팁 키워드: 밑줄 하나만 */
.e7term {
  text-decoration: none !important;
  background-image: none !important;
  box-shadow: none !important;
  border-bottom: 1px solid rgba(125, 216, 255, 0.9) !important;
  text-underline-offset: 0 !important;
}

.e7term:hover,
.e7term:focus {
  border-bottom-color: #fff35c !important;
}

@media (max-width: 900px) {
  .e7skill-soulburn-slot {
    grid-template-columns: minmax(0, 1fr) max-content !important;
  }
}

@media (max-width: 760px) {
  .e7imprint-grid {
    grid-template-columns: 1fr !important;
  }

  .e7skill-soulburn-slot.is-empty {
    display: none !important;
  }
}

/* 95-W10 DETAIL TABLE SKILL ALIGN END */

/* 95-W11 SKILL SOULBURN FIXED ROW START */

/* 스킬 카드 구조: 헤더 / 메타 / 설명 / 소울번 고정행 / 강화 */
.e7skill-card.e7skill-fixed-layout-w11 {
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden !important;
}

.e7skill-card.e7skill-fixed-layout-w11 > .e7skill-main-row {
  display: contents !important;
  border: 0 !important;
  min-height: 0 !important;
}

/* 설명 행: 가장 긴 설명 기준으로 JS가 min-height 동기화 */
.e7skill-card.e7skill-fixed-layout-w11 > .e7skill-desc-slot,
.e7skill-card.e7skill-fixed-layout-w11 .e7skill-desc-slot {
  flex: 0 0 auto !important;
  border-top: 1px solid rgba(130, 160, 220, 0.1) !important;
  padding: 10px !important;
  overflow: visible !important;
}

.e7skill-card.e7skill-fixed-layout-w11 .e7skill-desc-slot p {
  margin: 0 !important;
  color: #d9e6ff !important;
  font-size: 12px !important;
  line-height: 1.48 !important;
  word-break: keep-all !important;
}

/* 소울번 행: 항상 같은 위치와 높이 유지 */
.e7skill-card.e7skill-fixed-layout-w11 > .e7skill-soulburn-slot,
.e7skill-card.e7skill-fixed-layout-w11 .e7skill-soulburn-slot {
  box-sizing: border-box !important;
  flex: 0 0 auto !important;
  display: grid !important;
  grid-template-rows: auto 1fr !important;
  gap: 6px !important;
  padding: 9px 10px 12px !important;
  border-left: 0 !important;
  border-top: 1px solid rgba(130, 160, 220, 0.1) !important;
  background: rgba(255, 225, 90, 0.035) !important;
  overflow: hidden !important;
}

.e7skill-card.e7skill-fixed-layout-w11 .e7skill-soulburn-slot.is-empty {
  visibility: hidden !important;
  display: grid !important;
  pointer-events: none !important;
}

.e7soul-head {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) max-content !important;
  align-items: center !important;
  gap: 8px !important;
  min-height: 20px !important;
}

.e7soul-head h4 {
  margin: 0 !important;
  color: #75b8ff !important;
  font-size: 11px !important;
  font-weight: 900 !important;
  line-height: 1.1 !important;
}

.e7soul-head .e7soul-cost,
.e7skill-soulburn-slot .e7soul-cost {
  display: inline-flex !important;
  width: fit-content !important;
  max-width: none !important;
  padding: 4px 8px !important;
  border-radius: 999px !important;
  background: rgba(255, 225, 90, 0.18) !important;
  color: #ffe75a !important;
  font-size: 10px !important;
  line-height: 1 !important;
  font-weight: 1000 !important;
  white-space: nowrap !important;
  letter-spacing: -0.04em !important;
}

.e7skill-soulburn-slot p {
  margin: 0 !important;
  padding: 0 0 10px !important;
  color: #d9e6ff !important;
  font-size: 12px !important;
  line-height: 1.45 !important;
  word-break: keep-all !important;
}

.e7skill-soulburn-slot p::after {
  display: none !important;
}

/* 스킬 강화: 소울번 행 아래에서 시작선 동기화 */
.e7skill-card.e7skill-fixed-layout-w11 > .e7skill-enhance-slot,
.e7skill-card.e7skill-fixed-layout-w11 .e7skill-enhance-slot {
  flex: 0 0 auto !important;
  border-top: 1px solid rgba(130, 160, 220, 0.1) !important;
  padding: 10px !important;
  overflow: visible !important;
}

.e7skill-enhance-slot h4 {
  margin: 0 0 7px !important;
  color: #75b8ff !important;
  font-size: 11px !important;
  font-weight: 900 !important;
}

.e7skill-enhance-table {
  display: grid !important;
  gap: 3px !important;
}

.e7skill-enhance-table div {
  display: grid !important;
  grid-template-columns: 30px minmax(0, 1fr) !important;
  align-items: start !important;
  gap: 6px !important;
  color: #d9e6ff !important;
  font-size: 12px !important;
  line-height: 1.36 !important;
}

.e7skill-enhance-table b {
  color: #8fb4ff !important;
  font-weight: 1000 !important;
}

.e7skill-enhance-table span {
  color: #d9e6ff !important;
}

/* 툴팁 키워드 밑줄 하나만 */
.e7term {
  text-decoration: none !important;
  background-image: none !important;
  box-shadow: none !important;
  border-bottom: 1px solid rgba(125, 216, 255, 0.9) !important;
  text-underline-offset: 0 !important;
}

.e7term:hover,
.e7term:focus {
  border-bottom-color: #fff35c !important;
}

@media (max-width: 760px) {
  .e7skill-card.e7skill-fixed-layout-w11 .e7skill-soulburn-slot.is-empty {
    display: none !important;
  }
}

/* 95-W11 SKILL SOULBURN FIXED ROW END */

/* 95-W12 SKILL ROW SYNC FINAL START */

.e7skill-row-sync-grid {
  align-items: stretch !important;
}

.e7skill-row-sync-card {
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden !important;
}

/* 기존 중간 wrapper는 레이아웃 계산에서 제외 */
.e7skill-row-sync-card > .e7skill-main-row {
  display: contents !important;
  border: 0 !important;
  min-height: 0 !important;
}

/* 공통 행 */
.e7skill-row {
  box-sizing: border-box !important;
  flex: 0 0 auto !important;
  overflow: hidden !important;
  border-top: 1px solid rgba(130, 160, 220, 0.1) !important;
  padding: 10px !important;
}

/* 1행: 스킬 설명 */
.e7skill-row-desc {
  overflow: hidden !important;
}

.e7skill-row-desc h4,
.e7skill-row-soulburn h4,
.e7skill-row-enhance h4 {
  margin: 0 0 7px !important;
  color: #75b8ff !important;
  font-size: 11px !important;
  font-weight: 900 !important;
  line-height: 1.1 !important;
}

.e7skill-row-desc p,
.e7skill-row-soulburn p,
.e7skill-row-enhance p {
  margin: 0 !important;
  color: #d9e6ff !important;
  font-size: 12px !important;
  line-height: 1.48 !important;
  word-break: keep-all !important;
}

/* 2행: 소울번 고정 테이블 */
.e7skill-row-soulburn {
  display: grid !important;
  grid-template-rows: auto 1fr !important;
  gap: 6px !important;
  background: rgba(255, 225, 90, 0.035) !important;
}

.e7skill-row-soulburn.is-empty {
  visibility: hidden !important;
  pointer-events: none !important;
}

.e7soul-head {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) max-content !important;
  align-items: center !important;
  gap: 8px !important;
}

.e7soul-head h4 {
  margin: 0 !important;
}

.e7soul-cost {
  display: inline-flex !important;
  justify-content: center !important;
  align-items: center !important;
  width: fit-content !important;
  max-width: none !important;
  padding: 4px 8px !important;
  border-radius: 999px !important;
  background: rgba(255, 225, 90, 0.18) !important;
  color: #ffe75a !important;
  font-size: 10px !important;
  line-height: 1 !important;
  font-weight: 1000 !important;
  white-space: nowrap !important;
  letter-spacing: -0.04em !important;
}

.e7skill-row-soulburn p {
  padding-bottom: 10px !important;
}

.e7skill-row-soulburn p::after {
  display: none !important;
}

/* 3행: 스킬 강화 */
.e7skill-row-enhance {
  overflow: hidden !important;
}

.e7skill-enhance-table {
  display: grid !important;
  gap: 3px !important;
}

.e7skill-enhance-table div {
  display: grid !important;
  grid-template-columns: 30px minmax(0, 1fr) !important;
  gap: 6px !important;
  align-items: start !important;
  color: #d9e6ff !important;
  font-size: 12px !important;
  line-height: 1.36 !important;
}

.e7skill-enhance-table b {
  color: #8fb4ff !important;
  font-weight: 1000 !important;
}

.e7skill-enhance-table span {
  color: #d9e6ff !important;
}

/* 밑줄은 하나만 */
.e7term {
  text-decoration: none !important;
  background-image: none !important;
  box-shadow: none !important;
  border-bottom: 1px solid rgba(125, 216, 255, 0.9) !important;
  text-underline-offset: 0 !important;
}

.e7term:hover,
.e7term:focus {
  border-bottom-color: #fff35c !important;
}

@media (max-width: 760px) {
  .e7skill-row-soulburn.is-empty {
    display: none !important;
  }

  .e7skill-row {
    height: auto !important;
    min-height: 0 !important;
  }
}

/* 95-W12 SKILL ROW SYNC FINAL END */
