/* ArcheAge World · Beta — Crafteo & Proficiencies (fiel a las 3 capturas del juego) */
.aw-craft-screen {
  min-height: calc(100vh - 64px);
  background: url("../img/bg-proficiencies-candles.png") center center / cover no-repeat #000000;
  color: #e5e0d2;
  padding: 18px 28px 80px;
  position: relative;
  font-family: 'EB Garamond', 'Cormorant Garamond', Georgia, serif;
}
.aw-craft-screen button, .aw-craft-screen input {
  font-family: inherit;
}

/* Mode Switcher Pill Bar (Recipes <-> Proficiencies) */
.aw-craft-mode-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  max-width: 1440px;
  margin: 0 auto 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(200, 182, 138, 0.16);
}
.aw-craft-mode-tabs {
  display: inline-flex;
  background: rgba(10, 10, 12, 0.85);
  border: 1px solid rgba(200, 182, 138, 0.32);
  border-radius: 3px;
  padding: 3px;
  gap: 4px;
}
.aw-craft-mode-btn {
  background: transparent;
  border: 0;
  color: rgba(229, 224, 210, 0.72);
  padding: 7px 16px;
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.15s ease;
}
.aw-craft-mode-btn:hover {
  color: #fff;
}
.aw-craft-mode-btn.is-on {
  background: #d8d2b5;
  color: #191815;
}

/* Top Q / Tabs / E game header (Screenshots 1, 2, 3) */
.aw-craft-top {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  max-width: 1440px;
  margin: 0 auto 20px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  overflow-x: auto;
}
.aw-craft-top__tabs {
  display: flex;
  align-items: center;
  gap: 28px;
}
.aw-craft-tab {
  background: none;
  border: 0;
  color: rgba(215, 210, 198, 0.52);
  font-size: 0.96rem;
  padding: 8px 4px 11px;
  cursor: pointer;
  position: relative;
  white-space: nowrap;
  transition: color 0.15s ease;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.aw-craft-tab img {
  width: 20px;
  height: 20px;
  object-fit: contain;
  opacity: 0.65;
}
.aw-craft-tab:hover {
  color: rgba(239, 233, 216, 0.88);
}
.aw-craft-tab.is-on {
  color: #f3eedf;
  font-weight: 600;
}
.aw-craft-tab.is-on img {
  opacity: 1;
}
.aw-craft-tab.is-on::after {
  content: "";
  position: absolute;
  left: -8px;
  right: -8px;
  bottom: -1px;
  height: 2px;
  background: radial-gradient(circle, #efe6c8 0%, rgba(216, 195, 142, 0) 85%);
  box-shadow: 0 -4px 14px rgba(235, 220, 175, 0.55);
}

/* Game Keycap */
.aw-ckey {
  font-family: Inter, system-ui, -apple-system, sans-serif;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  background: rgba(28, 28, 30, 0.9);
  border: 1px solid rgba(215, 208, 190, 0.42);
  border-radius: 3px;
  color: #ded8c8;
  font-size: 0.74rem;
  font-weight: 600;
  line-height: 1;
  box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.6);
}

/* Subnav Z / icons / C */
.aw-craft-subnav {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}
.aw-craft-subnav__ico {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(229, 224, 210, 0.55);
}
.aw-craft-subnav__ico.is-on {
  background: #e0d9bc;
  color: #191814;
}
.aw-craft-sublabel {
  margin: 0 0 12px;
  font-size: 0.98rem;
  color: rgba(229, 224, 210, 0.85);
  text-align: center;
}

/* ============================================================================
   VIEW 1: RECIPES / CRAFTING STATION (Screenshot 1)
   ============================================================================ */
.aw-craft-recipes-grid {
  display: grid;
  grid-template-columns: 410px minmax(280px, 380px) minmax(280px, 1fr);
  gap: 28px;
  max-width: 1440px;
  margin: 0 auto;
  align-items: start;
}
@media (max-width: 1120px), (hover: none) and (pointer: coarse) and (max-height: 600px) {
  .aw-craft-recipes-grid {
    grid-template-columns: 360px 1fr;
  }
}
@media (max-width: 820px) {
  .aw-craft-recipes-grid {
    grid-template-columns: 1fr;
  }
}

.aw-craft-rlist-wrap {
  display: flex;
  flex-direction: column;
}
.aw-craft-rsearch {
  width: 100%;
  margin-bottom: 8px;
  background: rgba(14, 14, 16, 0.88);
  border: 1px solid rgba(200, 182, 138, 0.25);
  color: #e7e2d4;
  padding: 7px 11px;
  border-radius: 2px;
  font-size: 0.84rem;
  outline: none;
}
.aw-craft-rlist {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-height: 540px;
  overflow-y: auto;
  padding-right: 6px;
}
.aw-craft-rlist::-webkit-scrollbar {
  width: 4px;
}
.aw-craft-rlist::-webkit-scrollbar-thumb {
  background: rgba(216, 210, 181, 0.35);
  border-radius: 2px;
}

.aw-craft-rcard {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 8px 12px;
  background: rgba(22, 22, 24, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #c9c4b5;
  text-align: left;
  cursor: pointer;
  transition: background 0.12s ease, border-color 0.12s ease;
}
.aw-craft-rcard:hover {
  background: rgba(38, 38, 42, 0.92);
  border-color: rgba(216, 210, 181, 0.3);
}
.aw-craft-rcard.is-on {
  background: #dbd4b4;
  border-color: #ece6c9;
  color: #1d1c18;
  font-weight: 600;
}
.aw-craft-rcard__ico {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  background: radial-gradient(circle at 50% 40%, #2d2c29 0%, #151413 100%);
  border: 1px solid rgba(200, 182, 138, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.aw-craft-rcard__ico img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}
.aw-craft-rcard__name {
  font-size: 0.94rem;
  line-height: 1.25;
  flex: 1;
}
.aw-craft-rcard__cnt {
  font-size: 0.78rem;
  opacity: 0.7;
}

.aw-craft-rlist-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 12px;
  padding-top: 8px;
  font-size: 0.82rem;
  color: rgba(229, 224, 210, 0.75);
}
.aw-craft-rlist-foot button {
  background: none;
  border: 0;
  color: inherit;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  font-size: 0.82rem;
  padding: 4px 6px;
}
.aw-craft-rlist-foot button:hover {
  color: #fff;
}

/* Center Panel: Material & Cost (Screenshot 1) */
.aw-craft-mat-panel {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 40px;
}
.aw-craft-glass-box {
  background: linear-gradient(90deg, rgba(22, 22, 25, 0.88) 0%, rgba(22, 22, 25, 0.45) 85%, rgba(22, 22, 25, 0) 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 16px 20px;
}
.aw-craft-glass-box h3 {
  margin: 0 0 14px;
  font-size: 0.9rem;
  font-weight: 500;
  color: #b8b3a6;
}
.aw-craft-mat-slots {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.aw-craft-slot {
  width: 60px;
  height: 60px;
  background: radial-gradient(circle at 50% 40%, #2c2b28 0%, #141413 100%);
  border: 1px solid rgba(255, 255, 255, 0.16);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color 0.14s ease, transform 0.12s ease;
}
.aw-craft-slot:hover {
  border-color: #dbd4b4;
  transform: translateY(-1px);
}
.aw-craft-slot img {
  width: 50px;
  height: 50px;
  object-fit: contain;
}
.aw-craft-slot__qty {
  position: absolute;
  right: 4px;
  bottom: 2px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #f3eedf;
  text-shadow: 0 1px 3px #000, 0 0 4px #000;
}
.aw-craft-mat-names {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.82rem;
  color: rgba(229, 224, 210, 0.8);
}
.aw-craft-mat-names a {
  color: #dbd4b4;
  text-decoration: none;
}
.aw-craft-mat-names a:hover {
  text-decoration: underline;
}
.aw-craft-cost-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.15rem;
  font-weight: 600;
  color: #e7e2d4;
}
.aw-craft-coin {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #f5d77f, #b5852b);
  border: 1px solid #fbe8a6;
  color: #2b1d04;
  font-size: 0.72rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Right Item Preview Card */
.aw-craft-res-card {
  margin-top: 40px;
  background: rgba(16, 17, 20, 0.9);
  border: 1px solid rgba(200, 182, 138, 0.25);
  padding: 18px 20px;
  border-radius: 3px;
}
.aw-craft-res-card__head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.aw-craft-res-card__title {
  margin: 0 0 4px;
  font-size: 1.1rem;
  color: #efe9d8;
}
.aw-craft-res-card__meta {
  font-size: 0.8rem;
  color: #b8b3a6;
}
.aw-craft-res-card__desc {
  margin: 12px 0 0;
  font-size: 0.88rem;
  line-height: 1.55;
  color: #d8d3c5;
  white-space: pre-line;
}

/* ============================================================================
   VIEW 2: PROFICIENCIES — CRAFTING & PROCESSING (Screenshots 2 & 3)
   ============================================================================ */
.aw-prof-layout {
  display: grid;
  grid-template-columns: minmax(0, 620px) minmax(320px, 520px);
  gap: 56px;
  max-width: 1360px;
  margin: 0 auto;
  align-items: start;
}
@media (max-width: 980px), (hover: none) and (pointer: coarse) and (max-height: 600px) {
  .aw-prof-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

.aw-prof-left {
  max-height: 640px;
  overflow-y: auto;
  padding-right: 12px;
}
.aw-prof-left::-webkit-scrollbar {
  width: 4px;
}
.aw-prof-left::-webkit-scrollbar-thumb {
  background: rgba(216, 210, 181, 0.35);
}

.aw-prof-sec-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 14px 0 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.94rem;
  color: #c8c2b4;
}
.aw-prof-sec-head svg {
  width: 16px;
  height: 16px;
  opacity: 0.75;
}

.aw-prof-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 22px;
}
@media (max-width: 560px) {
  .aw-prof-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

.aw-prof-card {
  background: rgba(20, 20, 22, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 0 0 3px rgba(12, 12, 14, 0.95), inset 0 0 0 4px rgba(200, 182, 138, 0.14);
  padding: 18px 12px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  cursor: pointer;
  color: #d6d0c2;
  position: relative;
  transition: all 0.15s ease;
}
.aw-prof-card:hover {
  border-color: rgba(219, 212, 180, 0.45);
}
.aw-prof-card.is-on {
  background: rgba(48, 46, 40, 0.92);
  border-color: rgba(226, 220, 194, 0.65);
  box-shadow: inset 0 0 0 3px rgba(20, 20, 18, 0.9), inset 0 0 0 4px rgba(226, 220, 194, 0.35);
}
.aw-prof-card__emblem {
  width: 54px;
  height: 54px;
  background: rgba(18, 18, 20, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: inset 0 0 0 2px rgba(10, 10, 12, 0.9), inset 0 0 0 3px rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  transition: all 0.15s ease;
}
.aw-prof-card__emblem img {
  width: 34px;
  height: 34px;
  object-fit: contain;
  opacity: 0.88;
}
.aw-prof-card.is-on .aw-prof-card__emblem {
  background: #e2dcc2;
  border-color: #f3eed8;
  box-shadow: 0 0 14px rgba(226, 220, 194, 0.35);
}
.aw-prof-card.is-on .aw-prof-card__emblem img {
  filter: invert(0.88) sepia(0.2);
  opacity: 0.95;
}
.aw-prof-card__name {
  font-size: 0.9rem;
  color: #e4dfd1;
  margin-bottom: 6px;
}
.aw-prof-card__lv {
  font-size: 0.8rem;
  color: #b8b3a6;
  position: relative;
  padding-bottom: 4px;
}
.aw-prof-card__lv--2 {
  color: #68c975;
  font-weight: 600;
}
.aw-prof-card__lv--2::after {
  content: "";
  position: absolute;
  left: -14px;
  right: -14px;
  bottom: -2px;
  height: 4px;
  background: radial-gradient(circle, rgba(94, 194, 105, 0.55) 0%, rgba(94, 194, 105, 0) 80%);
}
.aw-prof-card__lv--3 { color: #4ba3e3; }
.aw-prof-card__lv--4 { color: #a86add; }
.aw-prof-card__lv--5 { color: #d8a648; }

/* Right Panel: Level Benefits & Level-Up Item (Screenshots 2 & 3) */
.aw-prof-right {
  padding-top: 24px;
}
.aw-prof-rhead {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  font-size: 1.02rem;
  font-weight: 500;
  color: #b8b3a6;
}
.aw-prof-rhead svg {
  width: 22px;
  height: 22px;
  opacity: 0.65;
}
.aw-prof-benefits {
  list-style: none;
  padding: 0;
  margin: 0 0 38px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}
.aw-prof-bitem {
  display: grid;
  grid-template-columns: 165px 1fr;
  gap: 16px;
  padding: 11px 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.92rem;
  align-items: center;
}
.aw-prof-bitem.is-cur {
  background: rgba(255, 255, 255, 0.04);
}
.aw-prof-bitem__rk--1 { color: #e5e0d2; }
.aw-prof-bitem__rk--2 { color: #68c975; }
.aw-prof-bitem__rk--3 { color: #4ba3e3; }
.aw-prof-bitem__rk--4 { color: #a86add; }
.aw-prof-bitem__rk--5 { color: #d8a648; }
.aw-prof-bitem__ef {
  color: rgba(215, 210, 198, 0.72);
}

.aw-prof-manual {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
}
.aw-prof-manual__left {
  display: flex;
  align-items: center;
  gap: 16px;
}
.aw-prof-manual__slot {
  width: 58px;
  height: 58px;
  background: radial-gradient(circle at 50% 40%, #262523 0%, #111112 100%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.aw-prof-manual__slot img {
  width: 46px;
  height: 46px;
  object-fit: contain;
}
.aw-prof-manual__cnt {
  position: absolute;
  right: 4px;
  bottom: 2px;
  font-size: 0.76rem;
  font-weight: 700;
  color: #e5e0d2;
}
.aw-prof-manual__cnt b {
  color: #e06c58;
}
.aw-prof-manual__name {
  font-size: 0.95rem;
  color: #d8d3c5;
}
.aw-prof-manual__btn {
  background: none;
  border: 0;
  color: #c8c2b4;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.88rem;
  cursor: pointer;
}
.aw-prof-manual__btn:hover {
  color: #fff;
}

/* Bottom Game Command Bar */
.aw-craft-foot {
  max-width: 1440px;
  margin: 32px auto 0;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
}
.aw-craft-foot button,
.aw-craft-foot a {
  background: none;
  border: 0;
  color: #d6d0c2;
  font-size: 0.88rem;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  cursor: pointer;
  text-decoration: none;
  padding: 4px 0;
}
.aw-craft-foot button:hover,
.aw-craft-foot a:hover {
  color: #fff;
}

/* ============ 1:1 Game Sub-Category Tabs & PNG Icons (26/10/2026) ============ */
.cr-modebtn__png { width: 20px; height: 20px; object-fit: contain; display: block; opacity: .88; }
.cr-modebtn.is-on .cr-modebtn__png { filter: brightness(0) opacity(.85); }
.cr-st-tab { height: 48px; padding: 0 16px; flex-direction: row; gap: 0; }
.cr-st-tab__txt { font-size: 16.5px; letter-spacing: .2px; }
.cr-subbar { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 16px 4px; }
.cr-subtabs { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; justify-content: center; }
.cr-subtab { position: relative; width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid transparent; border-radius: 50%; opacity: .55; transition: opacity .15s, transform .15s; cursor: pointer; background: none; }
.cr-subtab img { width: 28px; height: 28px; object-fit: contain; display: block; position: relative; z-index: 1; }
.cr-subtab:hover { opacity: .9; }
.cr-subtab.is-on { opacity: 1; }
.cr-subtab.is-on::before { content: ""; position: absolute; width: 42px; height: 42px; border-radius: 50%; background: radial-gradient(circle, rgba(255,244,214,.38) 0%, rgba(255,244,214,.14) 52%, rgba(255,244,214,0) 74%); }
.cr-tt-wico { width: 15px; height: 15px; object-fit: contain; vertical-align: -2px; opacity: .85; }
.pr-subnav__icon img { width: 22px; height: 22px; object-fit: contain; display: block; }
.pr-cat-title { display: flex; align-items: center; gap: 9px; }
.pr-cat-ico { width: 22px; height: 22px; object-fit: contain; display: block; opacity: .9; }

.aw-craft-mode-btn { display: inline-flex; align-items: center; gap: 7px; }
.aw-craft-mode-btn.is-on .cr-modebtn__png { filter: brightness(0) opacity(.85); }
.aw-prof-sec-head .cr-modebtn__png { width: 22px; height: 22px; }

/* ============ @Dis 1:1 Visual Review Adjustments (26/10/2026) ============ */
.aw-craft-slot__qty,
.aw-craft-rcard__cnt,
.aw-prof-manual__cnt,
.aw-craft-cost-row,
.aw-craft-item-badge {
  font-family: Inter, system-ui, -apple-system, sans-serif;
}
.aw-craft-coin-img {
  width: 18px;
  height: 18px;
  object-fit: contain;
  display: inline-block;
  vertical-align: middle;
}
.aw-craft-item-card {
  background: linear-gradient(180deg, rgba(18, 22, 20, 0.94) 0%, rgba(13, 14, 16, 0.96) 100%);
  border: 1px solid rgba(200, 182, 138, 0.28);
  padding: 20px 22px;
}
.aw-craft-item-card__top {
  margin-bottom: 12px;
}
.aw-craft-res-card__title.aw-grade--grand { color: #68c975; }
.aw-craft-res-card__title.aw-grade--rare { color: #4ba3e3; }
.aw-craft-res-card__title.aw-grade--arcane { color: #a86add; }
.aw-craft-res-card__title.aw-grade--heroic { color: #d8a648; }
.aw-craft-item-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
}
.aw-craft-item-badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  font-size: 0.72rem;
  font-weight: 600;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.08);
  color: #cfcabc;
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.aw-craft-item-badge--grand {
  background: rgba(104, 201, 117, 0.18);
  color: #68c975;
  border-color: rgba(104, 201, 117, 0.42);
}
.aw-craft-item-badge--rare {
  background: rgba(75, 163, 227, 0.18);
  color: #4ba3e3;
  border-color: rgba(75, 163, 227, 0.42);
}
.aw-craft-item-badge--arcane {
  background: rgba(168, 106, 221, 0.18);
  color: #a86add;
  border-color: rgba(168, 106, 221, 0.42);
}
.aw-craft-item-hero {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.aw-craft-item-hero__meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 4px;
}
.aw-craft-item-type {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.cr-tt-typeico {
  width: 18px;
  height: 18px;
  object-fit: contain;
  opacity: 0.88;
}
.aw-craft-item-durbar {
  width: 44px;
  height: 4px;
  background: rgba(255, 255, 255, 0.16);
  display: inline-block;
  border-radius: 1px;
  overflow: hidden;
}
.aw-craft-item-durbar i {
  display: block;
  width: 100%;
  height: 100%;
  background: #d8d3c5;
}
.aw-craft-item-weight {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: Inter, system-ui, -apple-system, sans-serif;
  font-size: 0.84rem;
  color: #e5e0d2;
}
.aw-craft-item-hero__art {
  width: 96px;
  height: 96px;
  flex: 0 0 96px;
  margin-right: 12px;
  background: radial-gradient(circle at 50% 50%, rgba(104, 201, 117, 0.14) 0%, rgba(20, 20, 22, 0) 72%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.aw-craft-item-card__render {
  width: 84px;
  height: 84px;
  object-fit: contain;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.75));
}
.aw-craft-item-stats {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.aw-craft-item-stat {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.95rem;
  padding: 3px 0;
  color: #e5e0d2;
}
.aw-craft-item-stat__left {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.cr-tt-statico {
  width: 16px;
  height: 16px;
  object-fit: contain;
  opacity: 0.9;
}
.aw-craft-item-stat__val {
  font-family: Inter, system-ui, -apple-system, sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: #fff;
}
.pr-subnav {
  margin-bottom: 4px;
}
.pr-subnav__icon {
  position: relative;
  width: 36px;
  height: 36px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  opacity: 0.42;
  transition: opacity 0.15s ease;
  text-decoration: none;
}
.pr-subnav__icon:hover {
  opacity: 0.85;
}
.pr-subnav__icon.is-on {
  opacity: 1;
}
.pr-subnav__icon.is-on::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 244, 214, 0.38) 0%, rgba(255, 244, 214, 0.14) 52%, rgba(255, 244, 214, 0) 74%);
  pointer-events: none;
}
.pr-subnav__icon img {
  position: relative;
  z-index: 1;
  width: 22px;
  height: 22px;
  object-fit: contain;
}
.aw-prof-card__lv--2::after {
  display: none;
}
.aw-prof-card__bar {
  width: 76%;
  height: 4px;
  background: rgba(255, 255, 255, 0.14);
  border-radius: 1px;
  margin-top: 6px;
  overflow: hidden;
  display: block;
}
.aw-prof-card__bar i {
  display: block;
  height: 100%;
  background: #68c975;
  box-shadow: 0 0 6px rgba(104, 201, 117, 0.55);
  transition: width 0.2s ease;
}

/* ============ T568U 1:1 Crafting & Proficiencies Adjustments (26/10/2026) ============ */
/* 1. Same warm stone/charcoal background color as Traits (#1a1917) */
.aw-craft-screen {
  background: radial-gradient(ellipse at 55% 38%, #211f1b 0%, #171613 70%, #141311 100%) !important;
  color: #e5e0d2;
}

/* 2. Selected unlocked recipe in beige/olive #a5a795 with dark text #1a1917 */
.aw-craft-rcard {
  background: rgba(26, 25, 22, 0.88);
  border: 1px solid rgba(168, 162, 150, 0.16);
  color: #d0cab8;
}
.aw-craft-rcard.is-on {
  background: #a5a795 !important;
  border-color: #c4c6b4 !important;
  color: #1a1917 !important;
  font-weight: 600;
}
.aw-craft-rcard.is-on .aw-craft-rcard__name,
.aw-craft-rcard.is-on .aw-craft-rcard__cnt {
  color: #1a1917 !important;
}

/* 3. Locked recipes in dark reddish tone with red lock icon */
.aw-craft-rcard.is-locked {
  background: linear-gradient(90deg, rgba(64, 22, 22, 0.78) 0%, rgba(38, 16, 16, 0.65) 100%);
  border-color: rgba(168, 58, 54, 0.42);
  color: #b88a86;
}
.aw-craft-rcard.is-locked .aw-craft-rcard__ico {
  border-color: rgba(188, 64, 60, 0.55);
  background: radial-gradient(circle at 50% 40%, #3a1a1a 0%, #1a0d0d 100%);
}
.aw-craft-rcard.is-locked .aw-craft-rcard__ico > img {
  opacity: 0.48;
  filter: saturate(0.6);
}
.aw-craft-rcard__lock {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(28, 8, 8, 0.42);
  pointer-events: none;
}
.aw-craft-rcard__lock img {
  width: 22px !important;
  height: 22px !important;
  object-fit: contain;
  opacity: 0.95 !important;
  filter: sepia(1) saturate(6) hue-rotate(-45deg) brightness(1.05) drop-shadow(0 1px 3px rgba(0,0,0,0.85)) !important;
}

/* 4. Right Item/Material Card with Rarity Gradient Header & Acquired From */
.aw-craft-item-card {
  padding: 0 !important;
  overflow: hidden;
  background: linear-gradient(180deg, #1b1a17 0%, #141311 100%) !important;
  border: 1px solid rgba(168, 162, 150, 0.28) !important;
}
.aw-craft-item-card__header {
  padding: 18px 22px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(135deg, rgba(64, 62, 56, 0.45) 0%, rgba(24, 23, 20, 0.85) 100%);
}
.aw-craft-item-card__header--grand {
  background: linear-gradient(135deg, rgba(44, 104, 58, 0.62) 0%, rgba(22, 42, 28, 0.78) 60%, rgba(20, 22, 19, 0.95) 100%);
}
.aw-craft-item-card__header--rare {
  background: linear-gradient(135deg, rgba(42, 88, 148, 0.62) 0%, rgba(20, 38, 62, 0.78) 60%, rgba(18, 20, 24, 0.95) 100%);
}
.aw-craft-item-card__header--arcane,
.aw-craft-item-card__header--heroic {
  background: linear-gradient(135deg, rgba(112, 56, 156, 0.62) 0%, rgba(38, 22, 54, 0.78) 60%, rgba(20, 18, 24, 0.95) 100%);
}
.aw-craft-item-card__header--legendary,
.aw-craft-item-card__header--unique {
  background: linear-gradient(135deg, rgba(158, 112, 36, 0.62) 0%, rgba(52, 36, 16, 0.78) 60%, rgba(22, 19, 15, 0.95) 100%);
}
.aw-craft-item-card__header .aw-craft-item-hero {
  border-bottom: 0;
  padding-bottom: 2px;
}
.aw-craft-item-card__body {
  padding: 14px 22px 20px;
}
.aw-craft-item-card__body .aw-craft-item-stats {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.aw-craft-acquired {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.aw-craft-acquired h4 {
  margin: 0 0 6px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #c9b27f;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.aw-craft-acquired ul {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.9rem;
  color: #b8b2a3;
}
.aw-craft-acquired li b {
  color: #e5e0d2;
  font-weight: 500;
}

/* 5. Proficiencies 1:1 Real Game Frame Textures & Level Benefits Colors */
.aw-prof-card {
  background: url("../img/craft-icons/UI_Proficiency_BG_Normal.png") center / 100% 100% no-repeat !important;
  border: 0 !important;
  box-shadow: none !important;
  min-height: 138px;
  padding: 20px 12px 16px;
}
.aw-prof-card:hover {
  filter: brightness(1.08);
}
.aw-prof-card.is-on {
  background-image: url("../img/craft-icons/UI_Proficiency_BGLine_FocusIn.png"), url("../img/craft-icons/UI_Proficiency_BG_Pressed.png") !important;
  background-position: center, center !important;
  background-size: 100% 100%, 100% 100% !important;
  background-repeat: no-repeat, no-repeat !important;
}
.aw-prof-card__emblem {
  width: 58px;
  height: 58px;
  background: url("../img/craft-icons/UI_Proficiency_IconBG_Normal.png") center / contain no-repeat !important;
  border: 0 !important;
  box-shadow: none !important;
}
.aw-prof-card.is-on .aw-prof-card__emblem {
  background: url("../img/craft-icons/UI_Proficiency_IconBG_Pressed.png") center / contain no-repeat !important;
  box-shadow: none !important;
}
.aw-prof-card.is-on .aw-prof-card__emblem img {
  filter: brightness(0.18) sepia(0.3) !important;
  opacity: 0.95;
}

/* Exact Level Benefits rank colors */
.aw-prof-bitem__rk--1, .aw-prof-card__lv--1 { color: #e5e0d2 !important; }
.aw-prof-bitem__rk--2, .aw-prof-card__lv--2 { color: #68c975 !important; }
.aw-prof-bitem__rk--3, .aw-prof-card__lv--3 { color: #5ca3ff !important; }
.aw-prof-bitem__rk--4, .aw-prof-card__lv--4 { color: #b068ff !important; }
.aw-prof-bitem__rk--5, .aw-prof-card__lv--5 { color: #e5b84b !important; }

.aw-prof-manual__slot,
.aw-prof-manual__name-btn {
  cursor: pointer;
  background: none;
  border: 0;
  padding: 0;
  color: inherit;
}
.aw-prof-manual__slot {
  width: 58px;
  height: 58px;
  background: radial-gradient(circle at 50% 40%, #263829 0%, #121813 100%);
  border: 1px solid rgba(104, 201, 117, 0.45);
}
.aw-prof-manual__slot:hover {
  border-color: #68c975;
}

/* 6. 1:1 Production Manual Item Popup Overlay */
.aw-prof-popup-backdrop {
  position: fixed;
  inset: 0;
  z-index: 120;
  background: rgba(8, 8, 7, 0.76);
  backdrop-filter: blur(2px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.aw-prof-popup-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  width: min(420px, 94vw);
}
.aw-prof-item-popup {
  width: 100%;
  background: linear-gradient(180deg, #1b1a17 0%, #12110f 100%);
  border: 1px solid rgba(168, 162, 150, 0.38);
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.88);
  overflow: hidden;
}
.aw-prof-item-popup__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 20px 16px;
  background: linear-gradient(135deg, rgba(46, 108, 60, 0.74) 0%, rgba(24, 48, 30, 0.85) 58%, rgba(18, 20, 18, 0.96) 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.aw-prof-item-popup__titles {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 7px;
}
.aw-prof-item-popup__name {
  margin: 0;
  font-size: 1.22rem;
  font-weight: 500;
  color: #68c975;
}
.aw-prof-item-popup__tag {
  display: inline-block;
  padding: 2px 8px;
  font-family: Inter, system-ui, sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  color: #68c975;
  background: rgba(104, 201, 117, 0.16);
  border: 1px solid rgba(104, 201, 117, 0.42);
  border-radius: 2px;
}
.aw-prof-item-popup__weight {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  font-family: Inter, system-ui, sans-serif;
  font-size: 0.84rem;
  color: #e5e0d2;
}
.aw-prof-item-popup__art {
  width: 92px;
  height: 92px;
  flex: 0 0 92px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 50% 50%, rgba(104, 201, 117, 0.22) 0%, rgba(0, 0, 0, 0) 72%);
}
.aw-prof-item-popup__art img {
  width: 82px;
  height: 82px;
  object-fit: contain;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.75));
}
.aw-prof-item-popup__body {
  padding: 16px 20px 20px;
}
.aw-prof-item-popup__desc {
  margin: 0 0 16px;
  font-size: 0.94rem;
  line-height: 1.5;
  color: #ded8c8;
}
.aw-prof-item-popup__acq {
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.aw-prof-item-popup__acq h4 {
  margin: 0 0 4px;
  font-size: 0.84rem;
  color: #c9b27f;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.aw-prof-item-popup__acq p {
  margin: 0;
  font-size: 0.88rem;
  color: #b8b2a3;
}
.aw-prof-popup-foot {
  display: flex;
  align-items: center;
}
.aw-prof-popup-back {
  background: rgba(20, 19, 17, 0.92);
  border: 1px solid rgba(168, 162, 150, 0.32);
  color: #e5e0d2;
  padding: 6px 14px;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}
.aw-prof-popup-back:hover {
  border-color: #c9b27f;
  color: #fff;
}

/* ==========================================================================
   T584U: Proficiencies (`bg-proficiencies-candles.webp` over solid `#000`)
   vs Crafting Station (`#1a1917` dark flat color like Traits) + Unified Buttons
   ========================================================================== */
.aw-craft-screen {
  background-color: #1a1917;
  transition: background-color 0.2s ease;
}
.aw-craft-screen.is-prof-view,
.aw-craft.is-prof-view,
#char-prof-mount {
  background-color: #000000 !important;
  background-image:
    radial-gradient(ellipse 80% 75% at 50% 42%, rgba(0, 0, 0, 0.12) 0%, rgba(0, 0, 0, 0.72) 78%, #000000 100%),
    url("../img/bg-proficiencies-candles.webp") !important;
  background-repeat: no-repeat !important;
  background-position: center top !important;
  background-size: cover !important;
}
.aw-craft-screen.is-prof-view .aw-prof {
  background: transparent !important;
}
.aw-craft-screen.is-recipes-view {
  background-color: #1a1917 !important;
  background-image: none !important;
}

/* ==========================================================================
   T586U: Crafting Unlock («Desbloqueo de fabricación») & All Recipes Available
   ========================================================================== */
.aw-craft-sec-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}
.aw-craft-sec-head .aw-craft-mat-panel__title {
  margin: 0;
}
.aw-craft-sec-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 2px 8px;
  border-radius: 3px;
  font-family: Inter, system-ui, -apple-system, sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: #a9a292;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(168, 162, 150, 0.18);
}
.aw-craft-sec-badge--once {
  color: #dfc181;
  background: rgba(208, 168, 92, 0.11);
  border-color: rgba(208, 168, 92, 0.34);
}
.aw-craft-unlock-box {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px dashed rgba(208, 168, 92, 0.28);
  text-align: left;
}
.aw-craft-unlock-box__title {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 600;
  color: #e4c88b;
  letter-spacing: 0.03em;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.aw-craft-unlock-box__title svg {
  width: 15px;
  height: 15px;
  color: #d0a85c;
  flex-shrink: 0;
}
.aw-craft-unlock-box__desc {
  margin: 6px 0 10px;
  font-family: Inter, system-ui, -apple-system, sans-serif;
  font-size: 0.81rem;
  line-height: 1.45;
  color: #b8b1a1;
}
.aw-craft-unlock-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 11px;
  border-radius: 4px;
  background: linear-gradient(135deg, rgba(32, 30, 26, 0.92) 0%, rgba(20, 19, 17, 0.95) 100%);
  border: 1px solid rgba(208, 168, 92, 0.28);
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.12s ease;
}
.aw-craft-unlock-item:hover,
.aw-craft-unlock-item.is-selected {
  border-color: rgba(228, 192, 114, 0.72);
  background: linear-gradient(135deg, rgba(44, 39, 30, 0.95) 0%, rgba(26, 24, 20, 0.98) 100%);
}
.aw-craft-unlock-item__slot {
  position: relative;
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 50% 40%, #2a2822 0%, #141310 100%);
  border: 1px solid rgba(168, 162, 150, 0.35);
}
.aw-craft-unlock-item__slot.aw-craft-rarity--uncommon {
  background: radial-gradient(circle at 50% 40%, #1f3524 0%, #111813 100%);
  border-color: rgba(104, 201, 117, 0.55);
}
.aw-craft-unlock-item__slot.aw-craft-rarity--rare {
  background: radial-gradient(circle at 50% 40%, #1c2d42 0%, #10161e 100%);
  border-color: rgba(92, 163, 255, 0.55);
}
.aw-craft-unlock-item__slot.aw-craft-rarity--heroic {
  background: radial-gradient(circle at 50% 40%, #312042 0%, #16111c 100%);
  border-color: rgba(176, 104, 255, 0.55);
}
.aw-craft-unlock-item__slot img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}
.aw-craft-unlock-item__qty {
  position: absolute;
  right: 3px;
  bottom: 2px;
  font-family: Inter, system-ui, sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.95);
}
.aw-craft-unlock-item__info {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.aw-craft-unlock-item__name {
  font-size: 0.91rem;
  font-weight: 600;
  color: #efe9da;
  line-height: 1.25;
}
.aw-craft-unlock-item__meta {
  font-family: Inter, system-ui, -apple-system, sans-serif;
  font-size: 0.76rem;
  color: #b5ae9e;
  line-height: 1.35;
}
.aw-craft-unlock-item__links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 3px;
}
.aw-craft-unlock-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: Inter, system-ui, -apple-system, sans-serif;
  font-size: 0.74rem;
  font-weight: 500;
  color: #dfc181;
  text-decoration: none;
  padding: 1px 6px;
  border-radius: 2px;
  background: rgba(208, 168, 92, 0.12);
  border: 1px solid rgba(208, 168, 92, 0.28);
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.aw-craft-unlock-link:hover {
  color: #fff;
  background: rgba(208, 168, 92, 0.24);
  border-color: rgba(228, 192, 114, 0.65);
}
.aw-craft-unlock-default {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 8px 11px;
  border-radius: 4px;
  background: rgba(104, 201, 117, 0.07);
  border: 1px solid rgba(104, 201, 117, 0.24);
  font-family: Inter, system-ui, -apple-system, sans-serif;
  font-size: 0.8rem;
  line-height: 1.4;
  color: #c7d6c8;
}
.aw-craft-unlock-default svg {
  width: 16px;
  height: 16px;
  color: #68c975;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ============ T599U (David 27/10/2026):
   1) Fondo idéntico en proficiencies.html y crafting.html (#1a1917 sin imagen de velas).
   2) Uso del 100 % de la pantalla (ancho y alto completos sin topes de 932px/1360px/1440px) y misma tipografía y tamaños grandes de quests.html en characters.html, crafting.html y proficiencies.html.
   3) Selector de Personaje en Traits sin imágenes de personaje (solo en classes.html). ============ */

.cs:not(.cs--page) .cs__art { display: none !important; }
.cs:not(.cs--page) .cs__body { grid-template-columns: 280px minmax(0, 1fr) !important; }

/* 1. Unificar fondo de proficiencies.html con crafting.html (#1a1917) */
body.aw-page-crafteo,
body.aw-page-crafteo:has(.aw-craft-screen.is-prof-view),
body.aw-page-crafteo:has(.aw-craft-screen.is-recipes-view),
main.aw-craft-screen,
.aw-craft-screen.is-prof-view,
.aw-craft-screen.is-recipes-view,
#char-prof-mount,
main.aw-char--character[data-char-subview="proficiencies"],
main.aw-char--character[data-char-subview="recipes"] {
  background: #1a1917 !important;
  background-color: #1a1917 !important;
  background-image: none !important;
  color: #e9e6dc !important;
}

/* 2A. CHARACTERS.HTML — Uso del 100 % de la ventana y tipografía/tamaños estilo Quests */
main.aw-char,
main.aw-char--character {
  width: 100% !important;
  max-width: none !important;
  height: calc(100vh - var(--aw-topbar-h, 84px)) !important;
  height: calc(100dvh - var(--aw-topbar-h, 84px)) !important;
  min-height: 0 !important;
  font: 400 18px/1.25 'EB Garamond', 'Cormorant Garamond', Georgia, serif !important;
  color: #e9e6dc !important;
}
main.aw-char > #char-info-view {
  flex: 1 1 auto !important;
  min-height: 0 !important;
  width: 100% !important;
  max-width: none !important;
  display: flex !important;
  flex-direction: column !important;
}
.aw-char .cls {
  width: 100% !important;
  max-width: none !important;
  padding: 12px 56px !important;
  height: auto !important;
  min-height: 60px !important;
  gap: 12px !important;
}
.aw-char .cl {
  height: 44px !important;
  min-height: 44px !important;
  padding: 0 20px 0 14px !important;
  font-size: 18px !important;
  font-family: 'EB Garamond', 'Cormorant Garamond', Georgia, serif !important;
}
.aw-char .cl img {
  width: 24px !important;
  height: 24px !important;
}
.aw-char .cls__more,
.aw-char .char-scale-btn,
.aw-char .ch__classes-link,
.aw-char .ch__more-link {
  height: 42px !important;
  min-height: 42px !important;
  padding: 0 18px !important;
  font-size: 17px !important;
  font-family: 'EB Garamond', 'Cormorant Garamond', Georgia, serif !important;
}
.aw-char .main {
  flex: 1 1 auto !important;
  min-height: 0 !important;
  width: 100% !important;
  max-width: none !important;
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 28px 56px !important;
  justify-content: stretch !important;
  align-content: start !important;
  padding: 22px 56px 90px !important;
  overflow-y: auto !important;
}
.aw-char .subnav {
  gap: 14px !important;
  margin-bottom: 10px !important;
}
.aw-char .subnav-item {
  width: 38px !important;
  height: 38px !important;
}
.aw-char .subnav .ic {
  width: 24px !important;
  height: 24px !important;
}
.aw-char .cap {
  font-size: 18px !important;
  color: #cfcabc !important;
  margin-bottom: 14px !important;
  letter-spacing: 0.3px !important;
}
.aw-char .name {
  font-size: 32px !important;
  line-height: 1.15 !important;
  gap: 12px !important;
  margin-bottom: 12px !important;
}
.aw-char .name .ic {
  width: 32px !important;
  height: 32px !important;
}
.aw-char .lvl {
  font-size: 18px !important;
  margin-bottom: 8px !important;
}
.aw-char .lvl-sel-wrap select,
.aw-char #char-lvl-sel {
  font-size: 18px !important;
  padding: 3px 10px !important;
}
.aw-char .exp {
  height: 4px !important;
  margin-bottom: 18px !important;
}
.aw-char .qs {
  gap: 14px 24px !important;
  margin-bottom: 22px !important;
}
.aw-char .q {
  font-size: 20px !important;
  gap: 12px !important;
}
.aw-char .q .dm {
  width: 34px !important;
  height: 34px !important;
}
.aw-char .q .dm .ic {
  width: 19px !important;
  height: 19px !important;
}
.aw-char .q small {
  font-size: 16px !important;
  color: #b5b0a2 !important;
}
.aw-char .up {
  font-size: 16px !important;
}
.aw-char .sh {
  font-size: 18px !important;
  color: #c8b98d !important;
  margin-bottom: 8px !important;
}
.aw-char .sp {
  font-size: 20px !important;
  padding: 10px 14px !important;
}
.aw-char .ca {
  height: 56px !important;
  min-height: 56px !important;
  padding: 0 16px 0 18px !important;
  margin-bottom: 8px !important;
}
.aw-char .cic {
  width: 30px !important;
  height: 30px !important;
}
.aw-char .cic .ic {
  width: 18px !important;
  height: 18px !important;
}
.aw-char .ca .lb,
.aw-char .cv {
  font-size: 21px !important;
}
.aw-char .sec h2 {
  font-size: 22px !important;
  color: #c8b98d !important;
  margin-bottom: 10px !important;
  padding: 0 4px 8px !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09) !important;
}
.aw-char .sec h2 .h {
  width: 26px !important;
  height: 26px !important;
}
.aw-char .st {
  height: 40px !important;
  min-height: 40px !important;
  font-size: 19px !important;
  padding: 0 10px 0 6px !important;
}
.aw-char .st .vl {
  font-size: 19px !important;
}
.aw-char .foot {
  padding: 18px 64px 22px !important;
}
.aw-char .foot button,
.aw-char .foot a {
  font-size: 18px !important;
}
.aw-char .key {
  min-width: 26px !important;
  height: 26px !important;
  font-size: 14px !important;
  padding: 0 7px !important;
}

/* 2B. CRAFTING.HTML & PROFICIENCIES.HTML — Uso del 100 % de la ventana y tipografía/tamaños estilo Quests */
main.aw-craft-screen {
  width: 100% !important;
  max-width: none !important;
  min-height: calc(100vh - var(--aw-topbar-h, 84px)) !important;
  min-height: calc(100dvh - var(--aw-topbar-h, 84px)) !important;
  padding: 20px 56px 92px !important;
  box-sizing: border-box !important;
  font: 400 18px/1.25 'EB Garamond', 'Cormorant Garamond', Georgia, serif !important;
  color: #e9e6dc !important;
  display: flex !important;
  flex-direction: column !important;
}
#crafteo-app {
  width: 100% !important;
  max-width: none !important;
  flex: 1 1 auto !important;
  display: flex !important;
  flex-direction: column !important;
  font-family: 'EB Garamond', 'Cormorant Garamond', Georgia, serif !important;
}
.aw-craft-mode-bar,
.aw-craft-top,
.aw-craft-recipes-grid,
.aw-prof-layout,
.aw-craft-foot {
  width: 100% !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}
.aw-craft-top {
  margin-bottom: 18px !important;
}
.aw-craft-station-tabs {
  gap: 8px !important;
  padding-bottom: 12px !important;
}
.aw-craft-tab,
.cr-st-tab {
  height: 48px !important;
  padding: 10px 22px !important;
  font-size: 20px !important;
  font-family: 'EB Garamond', 'Cormorant Garamond', Georgia, serif !important;
}
.cr-st-tab__txt {
  font-size: 20px !important;
  font-family: 'EB Garamond', 'Cormorant Garamond', Georgia, serif !important;
}
.cr-subtab {
  width: 46px !important;
  height: 46px !important;
}
.cr-subtab img {
  width: 30px !important;
  height: 30px !important;
}
.aw-craft-sublabel,
.pr-subnav + .aw-craft-sublabel {
  font-size: 19px !important;
  color: #cfcabc !important;
  margin-top: 6px !important;
  font-family: 'EB Garamond', 'Cormorant Garamond', Georgia, serif !important;
}
.aw-craft-key {
  min-width: 26px !important;
  height: 26px !important;
  font-size: 14px !important;
  padding: 0 7px !important;
}

/* Crafting 3-Column Full-Screen Grid (matching Quests repeat(3, minmax(0, 1fr))) */
.aw-craft-recipes-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 48px !important;
  align-items: start !important;
  flex: 1 1 auto !important;
}
.aw-craft-rsearch {
  font-size: 18px !important;
  padding: 10px 14px !important;
  font-family: 'EB Garamond', 'Cormorant Garamond', Georgia, serif !important;
}
.aw-craft-rlist {
  max-height: calc(100vh - 290px) !important;
  gap: 8px !important;
  padding-right: 10px !important;
}
.aw-craft-rcard {
  min-height: 70px !important;
  padding: 10px 14px !important;
  gap: 14px !important;
}
.aw-craft-rcard__ico {
  width: 48px !important;
  height: 48px !important;
  flex: 0 0 48px !important;
}
.aw-craft-rcard__ico img {
  width: 40px !important;
  height: 40px !important;
}
.aw-craft-rcard__name {
  font-size: 20px !important;
  line-height: 1.2 !important;
  font-family: 'EB Garamond', 'Cormorant Garamond', Georgia, serif !important;
}
.aw-craft-rcard__cnt {
  font-size: 16px !important;
}
.aw-craft-rlist-foot,
.aw-craft-rlist-foot button {
  font-size: 17px !important;
  font-family: 'EB Garamond', 'Cormorant Garamond', Georgia, serif !important;
}

/* Center Column (Materials, Unlock, Cost) */
.aw-craft-center {
  padding-top: 8px !important;
  gap: 22px !important;
}
.aw-craft-glass-box {
  padding: 20px 24px !important;
}
.aw-craft-glass-box h3,
.aw-craft-unlock-box h4 {
  font-size: 21px !important;
  color: #c8b98d !important;
  margin-bottom: 14px !important;
  font-family: 'EB Garamond', 'Cormorant Garamond', Georgia, serif !important;
}
.aw-craft-slot {
  width: 68px !important;
  height: 68px !important;
}
.aw-craft-slot img {
  width: 52px !important;
  height: 52px !important;
}
.aw-craft-slot__qty {
  font-size: 15px !important;
}
.aw-craft-mat-names {
  font-size: 18px !important;
  line-height: 1.45 !important;
  font-family: 'EB Garamond', 'Cormorant Garamond', Georgia, serif !important;
}
.aw-craft-unlock-note {
  font-size: 18px !important;
  line-height: 1.4 !important;
}
.aw-craft-unlock-item__name {
  font-size: 19px !important;
}
.aw-craft-unlock-item__meta {
  font-size: 16px !important;
}
.aw-craft-cost-row {
  font-size: 22px !important;
}

/* Right Column (Item Preview Card) */
.aw-craft-res-card {
  margin-top: 8px !important;
}
.aw-craft-item-card__header {
  padding: 22px 26px 18px !important;
}
.aw-craft-item-card__body {
  padding: 18px 26px 24px !important;
}
.aw-craft-res-card__title {
  font-size: 28px !important;
  line-height: 1.15 !important;
  font-family: 'EB Garamond', 'Cormorant Garamond', Georgia, serif !important;
}
.aw-craft-item-badge {
  font-size: 14.5px !important;
  padding: 3px 10px !important;
}
.aw-craft-res-card__meta,
.aw-craft-item-type,
.aw-craft-item-weight {
  font-size: 17px !important;
}
.aw-craft-item-hero__art {
  width: 108px !important;
  height: 108px !important;
  flex: 0 0 108px !important;
}
.aw-craft-item-card__render {
  width: 94px !important;
  height: 94px !important;
}
.aw-craft-item-stat {
  font-size: 19px !important;
  padding: 6px 0 !important;
  font-family: 'EB Garamond', 'Cormorant Garamond', Georgia, serif !important;
}
.aw-craft-item-stat__val {
  font-size: 18.5px !important;
}
.aw-craft-res-card__desc {
  font-size: 18.5px !important;
  line-height: 1.5 !important;
  font-family: 'EB Garamond', 'Cormorant Garamond', Georgia, serif !important;
}
.aw-craft-acquired,
.aw-craft-acquired h4,
.aw-craft-acquired li {
  font-size: 18px !important;
  line-height: 1.45 !important;
  font-family: 'EB Garamond', 'Cormorant Garamond', Georgia, serif !important;
}

/* Proficiencies Full-Screen Layout & Larger Quests Typography */
.aw-prof-layout {
  display: grid !important;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr) !important;
  gap: 56px !important;
  align-items: start !important;
  flex: 1 1 auto !important;
}
.aw-prof-left {
  max-height: calc(100vh - 250px) !important;
  padding-right: 14px !important;
}
.aw-prof-sec-head {
  font-size: 22px !important;
  color: #c8b98d !important;
  margin: 16px 0 14px !important;
  padding-bottom: 10px !important;
  font-family: 'EB Garamond', 'Cormorant Garamond', Georgia, serif !important;
}
.aw-prof-sec-head svg,
.aw-prof-sec-head .cr-modebtn__png {
  width: 24px !important;
  height: 24px !important;
}
.aw-prof-cards {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 14px !important;
  margin-bottom: 26px !important;
}
.aw-prof-card {
  padding: 22px 16px 18px !important;
  min-height: 148px !important;
}
.aw-prof-card__emblem {
  width: 62px !important;
  height: 62px !important;
  margin-bottom: 14px !important;
}
.aw-prof-card__emblem img {
  width: 38px !important;
  height: 38px !important;
}
.aw-prof-card__name {
  font-size: 20px !important;
  line-height: 1.2 !important;
  margin-bottom: 8px !important;
  font-family: 'EB Garamond', 'Cormorant Garamond', Georgia, serif !important;
}
.aw-prof-card__lv {
  font-size: 17px !important;
  font-family: 'EB Garamond', 'Cormorant Garamond', Georgia, serif !important;
}
.aw-prof-right {
  padding-top: 16px !important;
}
.aw-prof-rhead {
  font-size: 23px !important;
  color: #c8b98d !important;
  margin: 0 0 18px !important;
  font-family: 'EB Garamond', 'Cormorant Garamond', Georgia, serif !important;
}
.aw-prof-rhead svg {
  width: 26px !important;
  height: 26px !important;
}
.aw-prof-bitem {
  grid-template-columns: 210px 1fr !important;
  gap: 20px !important;
  padding: 14px 10px !important;
  font-size: 19px !important;
  font-family: 'EB Garamond', 'Cormorant Garamond', Georgia, serif !important;
}
.aw-prof-manual__slot {
  width: 66px !important;
  height: 66px !important;
}
.aw-prof-manual__slot img {
  width: 52px !important;
  height: 52px !important;
}
.aw-prof-manual__name {
  font-size: 20px !important;
  font-family: 'EB Garamond', 'Cormorant Garamond', Georgia, serif !important;
}
.aw-prof-manual__btn {
  font-size: 18px !important;
  font-family: 'EB Garamond', 'Cormorant Garamond', Georgia, serif !important;
}
.aw-craft-foot {
  margin-top: auto !important;
  padding-top: 16px !important;
}
.aw-craft-foot button,
.aw-craft-foot a {
  font-size: 18px !important;
  font-family: 'EB Garamond', 'Cormorant Garamond', Georgia, serif !important;
}

@media (max-width: 1024px), (hover: none) and (pointer: coarse) and (max-height: 600px) {
  .aw-char .cls,
  .aw-char .main,
  main.aw-craft-screen {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }
  .aw-craft-recipes-grid,
  .aw-prof-layout {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }
  .aw-char .main {
    display: block !important;
  }
}


/* ==========================================================================
   t601u — Unified Top-Centered Z-C Bar (Personajes -> Oficios -> Artesanía),
   Left Column Class Selector + 4 Class Buttons in characters.html,
   and Q-E Station Bar Below Z-C + Mobile Dropdown in crafting.html
   ========================================================================== */
main.aw-char--character,
main.aw-craft-screen {
  padding: 0 !important;
  margin: 0 !important;
}
main.aw-char > #char-info-view,
#crafteo-app {
  padding: 0 !important;
  margin: 0 !important;
  width: 100% !important;
  max-width: none !important;
  display: flex !important;
  flex-direction: column !important;
  flex: 1 1 auto !important;
}

.aw-zc-topbar {
  width: 100% !important;
  min-height: 96px !important;
  padding: 14px 56px 12px !important;
  margin: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 42px !important;
  background: linear-gradient(180deg, rgba(14, 13, 12, 0.78) 0%, rgba(26, 25, 23, 0.35) 100%) !important;
  border-bottom: 1px solid rgba(200, 185, 141, 0.16) !important;
  box-sizing: border-box !important;
  flex-shrink: 0 !important;
}
.aw-zc-topbar__items {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 48px !important;
}
.aw-zc-topbar__key {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 34px !important;
  height: 34px !important;
  padding: 0 10px !important;
  border: 1px solid rgba(200, 185, 141, 0.38) !important;
  border-radius: 5px !important;
  background: rgba(255, 255, 255, 0.05) !important;
  color: #e9e6dc !important;
  font: 600 16px/1 'EB Garamond', 'Cormorant Garamond', Georgia, serif !important;
  text-decoration: none !important;
  transition: background 0.15s, border-color 0.15s, transform 0.15s !important;
}
.aw-zc-topbar__key:hover {
  background: rgba(200, 185, 141, 0.2) !important;
  border-color: #dfd2a7 !important;
  color: #fff !important;
}
.aw-zc-topbar__item {
  position: relative !important;
  display: inline-flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 7px !important;
  min-width: 118px !important;
  padding: 6px 18px !important;
  border-radius: 8px !important;
  text-decoration: none !important;
  color: #b5b0a2 !important;
  opacity: 0.62 !important;
  transition: opacity 0.16s, color 0.16s, background 0.16s !important;
}
.aw-zc-topbar__item:hover {
  opacity: 0.92 !important;
  color: #f0ece1 !important;
  background: rgba(255, 255, 255, 0.03) !important;
}
.aw-zc-topbar__item.is-on {
  opacity: 1 !important;
  color: #f5ebd0 !important;
}
.aw-zc-topbar__item.is-on::after {
  content: "" !important;
  position: absolute !important;
  left: 18px !important;
  right: 18px !important;
  bottom: -12px !important;
  height: 2px !important;
  background: linear-gradient(90deg, transparent, #dfd2a7, transparent) !important;
}
.aw-zc-topbar__icon {
  position: relative !important;
  width: 44px !important;
  height: 44px !important;
  display: inline-grid !important;
  place-items: center !important;
  border-radius: 50% !important;
  border: 1px solid rgba(200, 185, 141, 0.25) !important;
  background: rgba(255, 255, 255, 0.04) !important;
}
.aw-zc-topbar__item.is-on .aw-zc-topbar__icon {
  border-color: rgba(223, 210, 167, 0.75) !important;
  background: radial-gradient(circle, rgba(255, 244, 214, 0.32) 0%, rgba(255, 244, 214, 0.08) 65%, transparent 100%) !important;
  box-shadow: 0 0 16px rgba(223, 210, 167, 0.28) !important;
}
.aw-zc-topbar__icon img {
  width: 28px !important;
  height: 28px !important;
  object-fit: contain !important;
}
.aw-zc-topbar__lbl {
  font: 600 18px/1.15 'EB Garamond', 'Cormorant Garamond', Georgia, serif !important;
  letter-spacing: 0.3px !important;
  white-space: nowrap !important;
  text-align: center !important;
}

/* characters.html — Left column Class Selector button + 4 class buttons below it */
.char-left-cls-nav {
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
  margin-bottom: 18px !important;
  padding-bottom: 16px !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}
.char-left-cls-nav .ch__classes-link {
  width: 100% !important;
  justify-content: center !important;
  height: 44px !important;
  min-height: 44px !important;
  font-size: 18.5px !important;
  font-weight: 600 !important;
}
.char-left-cls-btns {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 8px !important;
  width: 100% !important;
}
.char-left-cls-btns .cl {
  width: 100% !important;
  justify-content: flex-start !important;
  height: 42px !important;
  min-height: 42px !important;
  padding: 0 14px !important;
  font-size: 17.5px !important;
}

/* crafting.html & proficiencies.html inner padding below .aw-zc-topbar */
.aw-craft-top {
  padding: 12px 56px !important;
  margin: 0 !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 14px !important;
}
.aw-craft-top__mobile-sel {
  display: none !important;
}
.aw-craft-recipes-grid,
.aw-prof-layout {
  padding: 20px 56px 24px !important;
  box-sizing: border-box !important;
}
.aw-craft-foot {
  padding: 14px 56px 20px !important;
  box-sizing: border-box !important;
}

@media (max-width: 899px), (hover: none) and (pointer: coarse) and (max-height: 600px) {
  .aw-zc-topbar {
    padding: 10px 14px !important;
    min-height: 76px !important;
    gap: 12px !important;
  }
  .aw-zc-topbar__items {
    gap: 14px !important;
  }
  .aw-zc-topbar__item {
    min-width: 82px !important;
    padding: 4px 8px !important;
  }
  .aw-zc-topbar__icon {
    width: 36px !important;
    height: 36px !important;
  }
  .aw-zc-topbar__icon img {
    width: 22px !important;
    height: 22px !important;
  }
  .aw-zc-topbar__lbl {
    font-size: 15px !important;
  }
  /* Mobile Q-E station selector as a dropdown in crafting.html */
  .aw-craft-top {
    padding: 10px 16px !important;
  }
  .aw-craft-top__tabs,
  .aw-craft-top__qekey {
    display: none !important;
  }
  .aw-craft-top__mobile-sel {
    display: block !important;
    width: 100% !important;
  }
  .aw-craft-station-select {
    width: 100% !important;
    height: 44px !important;
    padding: 0 38px 0 14px !important;
    border-radius: 6px !important;
    border: 1px solid rgba(200, 185, 141, 0.45) !important;
    background-color: #23211e !important;
    color: #f3efe4 !important;
    font: 600 18px/1.2 'EB Garamond', 'Cormorant Garamond', Georgia, serif !important;
    appearance: auto !important;
  }
  .aw-craft-recipes-grid,
  .aw-prof-layout,
  .aw-craft-foot {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
}
