@font-face{font-family:PWRO Bitter;src:url("./fontes/bitter-700-portal.woff2") format("woff2");font-weight:700;font-display:swap}
@font-face{font-family:PWRO Plex;src:url("./fontes/ibm-plex-sans-400-portal.woff2") format("woff2");font-weight:400;font-display:swap}
@font-face{font-family:PWRO Plex;src:url("./fontes/ibm-plex-sans-600-portal.woff2") format("woff2");font-weight:600;font-display:swap}
#pwro-crystal-preview {
  --ink: #18374e;
  --muted: #536574;
  --blue: #225f91;
  --gold: #765019;
  font: 400 15px/1.35 'PWRO Plex', Arial, sans-serif;
  color: var(--ink);
}
#pwro-crystal-preview *, #pwro-crystal-preview *::before, #pwro-crystal-preview *::after { box-sizing: border-box; }
#pwro-crystal-preview [hidden] { display: none !important; }
#pwro-crystal-preview .preview-tools { display: flex; gap: 7px; justify-content: center; flex-wrap: wrap; margin: 0 0 9px; }
#pwro-crystal-preview button { font: inherit; cursor: pointer; }
#pwro-crystal-preview button:focus-visible { outline: 3px solid #2075ad; outline-offset: 2px; }
#pwro-crystal-preview .preview-tab {
  min-height: 40px; padding: 7px 16px; border: 1px solid #a8b7bc; border-radius: 7px;
  color: var(--ink); background: #f2f1ea; font-weight: 600;
}
#pwro-crystal-preview .preview-tab[aria-pressed='true'] { border-color: #243e50; color: #fffaf0; background: #263f50; }
#pwro-crystal-preview .arena { display: grid; justify-items: center; }
#pwro-crystal-preview .window {
  --accent-color: var(--blue); --accent-edge: #9eb7ca; --accent-surface: #e7f0f7;
  position: relative; width: min(100%, 650px); border: 1px solid #aa987a; border-radius: 11px;
  padding: 17px 20px 20px; background: linear-gradient(150deg, #fffaf0, #f2e9d9 160%);
  box-shadow: 0 4px 14px #503c2124, inset 0 0 0 3px #fffaf2, inset 0 0 0 4px #d9c9ac;
}
#pwro-crystal-preview .window[data-kind='attribute'] {
  --accent-color: var(--gold); --accent-edge: #c4a472; --accent-surface: #faebc8;
  width: min(100%, 556px);
}
#pwro-crystal-preview .window-header { text-align: center; margin: 0 0 13px; }
#pwro-crystal-preview h2 {
  margin: 0; color: var(--ink); font: 700 clamp(23px, 4vw, 33px)/1.13 'PWRO Bitter', Georgia, serif;
  letter-spacing: -.025em;
}
#pwro-crystal-preview .window-header p { margin: 5px 0 0; color: var(--muted); }
#pwro-crystal-preview .skill-group + .skill-group { margin-top: 10px; }
#pwro-crystal-preview .skill-group h3 {
  display: flex; align-items: center; gap: 9px; margin: 0 0 5px; color: #66553a;
  font: 700 12px/1.25 'PWRO Bitter', Georgia, serif;
}
#pwro-crystal-preview .skill-group h3::after { content: ''; height: 1px; flex: 1; background: #d3c2a6; }
#pwro-crystal-preview .skill-row, #pwro-crystal-preview .attribute-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px;
}
#pwro-crystal-preview .choice {
  position: relative; min-width: 0; width: 100%; color: var(--ink); text-align: left;
  border: 1px solid #cfc5b3; border-radius: 7px; background: #fffdf7;
  box-shadow: 0 2px 3px #503c2112; transition: background .12s, border-color .12s, box-shadow .12s;
}
#pwro-crystal-preview .choice:hover, #pwro-crystal-preview .choice:focus-visible, #pwro-crystal-preview .choice.is-picked {
  background: var(--accent-surface); border-color: var(--accent-color);
  box-shadow: inset 0 0 0 1px var(--accent-edge), 0 3px 8px #372c231c;
}
#pwro-crystal-preview .choice:disabled { cursor: default; }
#pwro-crystal-preview .skill-choice {
  display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-rows: 1fr auto;
  align-items: center; gap: 6px 9px; min-height: 91px; padding: 9px;
}
#pwro-crystal-preview .empty-slot {
  min-height: 91px; border-radius: 7px; border: 1px dashed #cfc6b5; background: #e8dfd34d;
}
#pwro-crystal-preview .skill-icon {
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 6px;
  background: #eae8e2; box-shadow: inset 0 0 0 1px #cfc9be;
}
#pwro-crystal-preview .skill-icon img { display: block; width: 32px; height: 32px; image-rendering: pixelated; }
#pwro-crystal-preview .choice-name { display: block; font-weight: 600; font-size: 15px; line-height: 1.1; overflow-wrap: anywhere; }
#pwro-crystal-preview .levels { display: block; margin-top: 4px; color: var(--accent-color); font-size: 12px; font-weight: 600; font-variant-numeric: tabular-nums; }
#pwro-crystal-preview .choice-note { grid-column: 1 / -1; color: var(--muted); font-size: 11px; line-height: 1.2; }
#pwro-crystal-preview .attribute-grid { gap: 9px; }
#pwro-crystal-preview .attribute-choice { min-height: 122px; padding: 10px 5px 8px; text-align: center; }
#pwro-crystal-preview .attribute-choice img { display: block; width: 54px; height: 54px; margin: 0 auto 4px; image-rendering: auto; }
#pwro-crystal-preview .attribute-gain { display: block; color: var(--accent-color); font: 700 19px/1.25 'PWRO Bitter', Georgia, serif; }
#pwro-crystal-preview .attribute-name { display: block; font-size: 13px; color: var(--muted); }
#pwro-crystal-preview .attribute-values {
  display: block; margin: 6px 4px 0; border-top: 1px solid #d9c9ad; padding-top: 5px;
  font-weight: 600; font-size: 15px; font-variant-numeric: tabular-nums;
}
#pwro-crystal-preview .feedback {
  max-width: 100%; text-align: center; color: #fff8e8; font-weight: 600;
}
#pwro-crystal-preview .feedback:not(:empty) { margin-top: 9px; padding: 7px 14px; border-radius: 6px; background: #1c322a; box-shadow: 0 3px 16px #091b1780; }
@media (max-width: 520px) {
  #pwro-crystal-preview .window { padding: 14px 12px; }
  #pwro-crystal-preview .skill-row, #pwro-crystal-preview .attribute-grid { gap: 5px; }
  #pwro-crystal-preview .skill-choice { grid-template-columns: 1fr; grid-template-rows: auto 1fr auto; gap: 4px; padding: 6px; min-height: 120px; }
  #pwro-crystal-preview .skill-icon { width: 32px; height: 32px; }
  #pwro-crystal-preview .skill-icon img { width: 28px; height: 28px; }
  #pwro-crystal-preview .choice-name { font-size: 13px; }
  #pwro-crystal-preview .levels { font-size: 11px; }
  #pwro-crystal-preview .attribute-gain { font-size: 16px; }
  #pwro-crystal-preview .attribute-name { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) { #pwro-crystal-preview .choice { transition: none; } }



    #pwro-equip-compare{color-scheme:light;--paper:#f7f2e7;--bright:#fffdf8;--ink:#21415a;--muted:#566875;--line:#d8cbb5;--blue:#225b85;--soft-blue:#edf5fb;--blue-edge:#a8c2d6;--gold:#86602c;--green:#236441;--rust:#8c4828;--heading:"PWRO Bitter",Georgia,serif;--body:"PWRO Plex",system-ui,sans-serif;font:400 14px/1.4 var(--body);color:var(--ink)}
    #pwro-equip-compare *{box-sizing:border-box}
    #pwro-equip-compare [hidden]{display:none!important}
    #pwro-equip-compare .preview{padding:20px clamp(8px,3vw,24px) 24px}
    #pwro-equip-compare .preview-bar{display:flex;align-items:center;justify-content:space-between;gap:8px 16px;flex-wrap:wrap;max-width:646px;margin:0 auto 12px;color:light-dark(#384c5a,#dce6ec);color-scheme:light dark}
    #pwro-equip-compare .examples{display:flex;gap:6px}
    #pwro-equip-compare button{font:600 14px/1.25 var(--body);color:var(--ink);background:var(--bright);border:1px solid var(--line);border-radius:6px;min-height:36px;padding:8px 13px}
    #pwro-equip-compare button:focus-visible{outline:2px solid #287bb7;outline-offset:3px}
    #pwro-equip-compare button:hover{background:#e8f2fa;border-color:var(--blue-edge)}
    #pwro-equip-compare .examples button{min-height:34px;font-size:13px;padding:6px 12px}
    #pwro-equip-compare .examples button[aria-pressed=true]{background:#e3eef8;border-color:#8dabc3;color:#1d5279}
    #pwro-equip-compare .frame{max-width:646px;margin:auto;padding:19px clamp(12px,3vw,23px) 16px;position:relative;border:1px solid #ac987a;border-radius:12px;background:linear-gradient(150deg,#fffaf0,var(--paper));box-shadow:0 9px 28px #18273530,0 2px 5px #18273520,inset 0 0 0 3px #fffaf2,inset 0 0 0 4px #d9c9ac}
    #pwro-equip-compare h2,#pwro-equip-compare h3,#pwro-equip-compare p{margin:0}
    #pwro-equip-compare h2{font:700 clamp(20px,4vw,27px)/1.16 var(--heading)}
    #pwro-equip-compare .header{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;margin-bottom:15px}
    #pwro-equip-compare .subtitle{color:var(--muted);margin-top:4px}
    #pwro-equip-compare .dismiss{min-width:32px;min-height:32px;padding:2px 8px;font-size:19px;line-height:1;flex:none}
    #pwro-equip-compare .grid{display:grid;grid-template-columns:minmax(0,1fr) 24px minmax(0,1fr);gap:6px}
    #pwro-equip-compare [data-item]{display:contents}
    #pwro-equip-compare .swap-arrow{display:grid;place-items:center;align-self:center;color:var(--ink);pointer-events:none}
    #pwro-equip-compare .swap-arrow svg{width:22px;height:22px;stroke-width:1.75}
    #pwro-equip-compare .swap-arrow i{position:relative;display:block;width:16px;height:14px}
    #pwro-equip-compare .swap-arrow i::before{content:"";position:absolute;top:6px;left:0;width:15px;border-top:1.5px solid currentColor}
    #pwro-equip-compare .swap-arrow i::after{content:"";position:absolute;top:3px;right:1px;width:7px;height:7px;border-top:1.5px solid currentColor;border-right:1.5px solid currentColor;transform:rotate(45deg)}
    #pwro-equip-compare .item{position:relative;background:var(--bright);border:1px solid var(--line);border-radius:8px;min-width:0;padding:12px;box-shadow:0 2px 3px #4b382011}
    #pwro-equip-compare .item.incoming{border-color:var(--blue-edge);background:#f9fcfe}
    #pwro-equip-compare .item:hover,#pwro-equip-compare .item:focus-within{border-color:var(--blue);background:var(--soft-blue);box-shadow:0 2px 6px #225b8522}
    #pwro-equip-compare button.pick{position:absolute;inset:0;width:100%;height:100%;padding:0;border:0;border-radius:7px;opacity:0}
    #pwro-equip-compare .item:focus-within{outline:2px solid var(--blue);outline-offset:2px}
    #pwro-equip-compare .side-label{color:var(--gold);font:600 12px/1.25 var(--body);text-transform:uppercase;letter-spacing:.055em}
    #pwro-equip-compare .incoming .side-label{color:var(--blue)}
    #pwro-equip-compare .identity{display:grid;grid-template-columns:40px minmax(0,1fr);align-items:center;gap:9px;min-height:58px;margin:5px 0 7px}
    #pwro-equip-compare .icon{display:grid;place-items:center;width:40px;height:40px;border-radius:6px;background:#f0e8d8;box-shadow:inset 0 0 0 1px #deceb2}
    #pwro-equip-compare .incoming .icon{background:#e6f1f9;box-shadow:inset 0 0 0 1px #c7dcea}
    #pwro-equip-compare .icon img{width:30px;height:30px;object-fit:contain;image-rendering:pixelated}
    #pwro-equip-compare h3{font:700 15px/1.22 var(--heading);overflow-wrap:anywhere}
    #pwro-equip-compare .category{margin-top:3px;font-size:12px;color:var(--muted)}
    #pwro-equip-compare .stats{border-top:1px solid var(--line);margin:0;padding:5px 0 7px;font-variant-numeric:tabular-nums}
    #pwro-equip-compare .stat{display:flex;align-items:baseline;justify-content:space-between;gap:6px;padding:4px 0}
    #pwro-equip-compare dd{margin:0;text-align:right;font-weight:600}
    #pwro-equip-compare .stat dt{color:var(--muted)}
    #pwro-equip-compare .cards{padding-top:8px;border-top:1px solid var(--line);min-height:100px}
    #pwro-equip-compare .cards-label{font-weight:600;font-size:13px;margin-bottom:5px}
    #pwro-equip-compare .card-line{display:flex;align-items:flex-start;gap:7px}
    #pwro-equip-compare .card-line img{width:23px;height:23px;object-fit:contain;image-rendering:pixelated;flex:none}
    #pwro-equip-compare .card-name{font-weight:600;font-size:13px}
    #pwro-equip-compare .card-effect,#pwro-equip-compare .empty{font-size:12px;color:var(--muted)}
    #pwro-equip-compare .delta{margin-top:13px}
    #pwro-equip-compare .delta h3{margin-bottom:7px;font-size:14px}
    #pwro-equip-compare .delta-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
    #pwro-equip-compare .delta-group{min-width:0;padding:9px 11px;border:1px solid var(--delta-edge);border-radius:7px;background:var(--delta-fill);font-size:13px}
    #pwro-equip-compare .gain{--delta-edge:#cbded1;--delta-fill:#edf5ef;--delta-ink:var(--green)}
    #pwro-equip-compare .loss{--delta-edge:#e6d4c5;--delta-fill:#faf1e9;--delta-ink:var(--rust)}
    #pwro-equip-compare .delta-group h4{margin:0 0 4px;color:var(--delta-ink);font-size:13px;font-weight:600}
    #pwro-equip-compare .delta-row{display:flex;align-items:baseline;justify-content:space-between;gap:4px 8px;flex-wrap:wrap;font-weight:600}
    #pwro-equip-compare .delta-value{color:var(--delta-ink);font-variant-numeric:tabular-nums;white-space:nowrap}
    #pwro-equip-compare .delta-detail{margin-top:2px;color:var(--muted);font-size:12px;font-variant-numeric:tabular-nums}
    #pwro-equip-compare .footer{margin-top:10px}
    #pwro-equip-compare .footer p{color:var(--muted);font-size:12px}
    #pwro-equip-compare .notice{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:5px 0}
    #pwro-equip-compare .notice strong{font-size:15px}
    #pwro-equip-compare .notice p{color:var(--muted);margin-top:4px}
    @media(max-width:440px){
      #pwro-equip-compare .grid{grid-template-columns:minmax(0,1fr) 20px minmax(0,1fr);gap:3px}
      #pwro-equip-compare .swap-arrow svg{width:19px;height:19px}
      #pwro-equip-compare .identity{grid-template-columns:1fr;align-content:start;min-height:102px}
      #pwro-equip-compare .item{padding:9px}
      #pwro-equip-compare h3{font-size:14px}
      #pwro-equip-compare .cards{min-height:112px}
      #pwro-equip-compare .delta-group{padding-inline:8px}
    }
    @media(pointer:coarse){#pwro-equip-compare button,#pwro-equip-compare .examples button{min-height:44px}#pwro-equip-compare .dismiss{min-width:44px}}
  
#br-guide #pwro-equip-compare { max-width: 720px; margin-inline: auto; }
#br-guide #pwro-equip-compare .preview { padding: 0; }
#br-guide #pwro-equip-compare .preview-bar { color: #384c5a; }
#br-guide #pwro-equip-compare .header { margin-bottom: 15px; }
#br-guide #pwro-equip-compare .header p, #br-guide #pwro-equip-compare .footer p { font-size: 13px; }
