/* Arena Teney — Skills S01b
 * Functional Characteristics section inside the accepted Hall of Mastery shell.
 * Visual palette intentionally stays aligned with S01a; broader Elden-style colour pass is deferred.
 */

.skills-s01b-attributes[hidden] {
  display: none !important;
}

.skills-s01b-attributes {
  position: relative;
  overflow: hidden;
  padding: 17px 14px 15px;
  border: 1px solid rgba(207, 188, 137, .24);
  border-radius: 2px 16px 2px 16px;
  background:
    radial-gradient(circle at 96% 0, rgba(191, 166, 107, .08), transparent 34%),
    linear-gradient(160deg, rgba(18, 20, 18, .98), rgba(8, 10, 11, .99));
  box-shadow: 0 16px 36px rgba(0, 0, 0, .22);
}

.skills-s01b-attributes::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  bottom: 18px;
  width: 2px;
  background: linear-gradient(180deg, transparent, rgba(211, 182, 108, .75), transparent);
  pointer-events: none;
}

.skills-s01b-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 13px;
}

.skills-s01b-head-copy {
  min-width: 0;
}

.skills-s01b-kicker {
  display: block;
  margin-bottom: 4px;
  color: #85867c;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.skills-s01b-head h3 {
  margin: 0;
  color: var(--skills-ivory, #ece6d8);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.05;
}

.skills-s01b-pool {
  flex: 0 0 auto;
  min-width: 82px;
  padding: 8px 10px;
  border: 1px solid rgba(207, 188, 137, .24);
  border-radius: 11px 2px 11px 2px;
  background: rgba(7, 9, 10, .62);
  text-align: right;
}

.skills-s01b-pool span {
  display: block;
  color: #83847b;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.skills-s01b-pool strong {
  display: block;
  margin-top: 2px;
  color: var(--skills-gold-bright, #e0cd91);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 23px;
  line-height: 1;
}

.skills-s01b-list {
  display: grid;
  gap: 8px;
}

.skills-s01b-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto 46px;
  gap: 10px;
  align-items: center;
  min-width: 0;
  padding: 11px 10px 11px 11px;
  border: 1px solid rgba(207, 188, 137, .17);
  border-radius: 2px 12px 2px 12px;
  background:
    radial-gradient(circle at 96% 8%, rgba(191, 166, 107, .06), transparent 30%),
    linear-gradient(155deg, rgba(17, 19, 18, .98), rgba(7, 9, 10, .98));
}

.skills-s01b-stat-copy {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 9px;
  align-items: center;
  min-width: 0;
}

.skills-s01b-stat-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(197, 173, 113, .23);
  border-radius: 50%;
  background: rgba(5, 7, 8, .72);
  font-size: 16px;
}

.skills-s01b-stat-copy b {
  display: block;
  overflow: hidden;
  color: #e8e2d5;
  font-size: 13px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.skills-s01b-stat-copy small {
  display: block;
  margin-top: 3px;
  color: #85877f;
  font-size: 9px;
  line-height: 1.3;
}

.skills-s01b-value {
  min-width: 42px;
  color: var(--skills-ivory, #ece6d8);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 23px;
  font-weight: 700;
  line-height: 1;
  text-align: right;
}

.skills-s01b-plus {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(213, 185, 112, .38);
  border-radius: 2px 12px 2px 12px;
  background:
    radial-gradient(circle at 50% 25%, rgba(214, 184, 108, .15), transparent 54%),
    linear-gradient(155deg, rgba(42, 37, 25, .98), rgba(13, 14, 13, .98));
  color: var(--skills-gold-bright, #e0cd91);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 28px;
  font-weight: 600;
  line-height: 1;
  box-shadow: inset 0 0 0 1px rgba(255, 250, 225, .018);
}

.skills-s01b-plus:active:not(:disabled) {
  transform: translateY(1px);
}

.skills-s01b-plus:disabled {
  border-color: rgba(126, 126, 118, .16);
  background: rgba(10, 12, 12, .62);
  color: #555850;
  opacity: .65;
}

.skills-s01b-combat {
  margin-top: 15px;
  padding-top: 14px;
  border-top: 1px solid rgba(207, 188, 137, .13);
}

.skills-s01b-combat-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 9px;
}

.skills-s01b-combat-head h4 {
  margin: 0;
  color: var(--skills-ivory, #ece6d8);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  font-weight: 600;
}

.skills-s01b-combat-head span {
  color: #777970;
  font-size: 9px;
}

.skills-s01b-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.skills-s01b-metric {
  min-width: 0;
  padding: 10px 10px 9px;
  border: 1px solid rgba(207, 188, 137, .15);
  border-radius: 2px 10px 2px 10px;
  background: rgba(6, 8, 9, .62);
}

.skills-s01b-metric strong {
  display: block;
  overflow: hidden;
  color: var(--skills-gold-bright, #e0cd91);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.skills-s01b-metric span {
  display: block;
  margin-top: 4px;
  color: #85877f;
  font-size: 9px;
  line-height: 1.25;
}

.skills-s01b-note {
  margin-top: 10px;
  padding: 9px 10px;
  border-left: 2px solid rgba(191, 166, 107, .38);
  background: rgba(191, 166, 107, .035);
  color: #8d8e87;
  font-size: 9px;
  line-height: 1.45;
}

@media (max-width: 390px) {
  .skills-s01b-attributes { padding-left: 12px; padding-right: 12px; }
  .skills-s01b-row { grid-template-columns: minmax(0, 1fr) auto 43px; gap: 8px; }
  .skills-s01b-plus { width: 43px; height: 43px; }
  .skills-s01b-value { min-width: 36px; font-size: 21px; }
  .skills-s01b-stat-copy { grid-template-columns: 31px minmax(0, 1fr); gap: 7px; }
  .skills-s01b-stat-icon { width: 31px; height: 31px; font-size: 15px; }
}
