/* ==========================================================
   Dojo NodachiLab — Gerador de Nickname
   Página isolada, sem dependências externas.
   ========================================================== */

.nickname-page {
  --nick-line: rgba(255, 159, 26, .22);
  --nick-line-strong: rgba(255, 159, 26, .48);
  --nick-purple: #7a3cff;
  --nick-orange: #ff9f1a;
  --nick-gold: #ffd166;
}

.nickname-hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 18% 10%, rgba(255, 159, 26, .16), transparent 31rem),
    radial-gradient(circle at 82% 8%, rgba(122, 60, 255, .16), transparent 34rem),
    linear-gradient(180deg, rgba(8, 7, 6, .70), rgba(8, 7, 6, .96));
}

.nickname-hero::after {
  content: "NICK";
  position: absolute;
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, .025);
  font-size: clamp(6rem, 16vw, 14rem);
  font-weight: 1000;
  line-height: .8;
  letter-spacing: -.08em;
  pointer-events: none;
}

.nickname-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 920px;
  text-align: center;
  padding: 72px 0 66px;
}

.nickname-title-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 12px;
}

.nickname-title-row h1 {
  margin: 0;
  font-size: clamp(2.45rem, 6vw, 5.1rem);
  line-height: .98;
  letter-spacing: -.055em;
}

.nickname-title-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 18px;
  color: #130b03;
  background: linear-gradient(135deg, var(--nick-gold), var(--nick-orange));
  border: 1px solid rgba(255, 255, 255, .25);
  box-shadow: 0 14px 36px rgba(255, 159, 26, .28);
  font-size: 1.55rem;
  font-weight: 1000;
}

.nickname-hero p {
  max-width: 760px;
  margin: 24px auto 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.nickname-hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 30px;
}

.nickname-tool {
  padding-top: 58px;
  padding-bottom: 38px;
}

.nickname-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 20px;
  align-items: start;
}

.generator-panel,
.side-card,
.results-section .container {
  border: 1px solid var(--nick-line);
  background:
    linear-gradient(140deg, rgba(255, 159, 26, .05), rgba(122, 60, 255, .03) 48%, transparent 75%),
    rgba(20, 18, 16, .90);
  box-shadow: 0 24px 65px rgba(0, 0, 0, .30);
}

.generator-panel {
  border-radius: 24px;
  padding: 24px;
}

.panel-heading,
.results-heading,
.side-card-title-row,
.section-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.panel-heading {
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.panel-heading h2,
.results-heading h2 {
  margin: 5px 0 0;
  font-size: clamp(1.65rem, 3vw, 2.45rem);
  line-height: 1.08;
  letter-spacing: -.035em;
}

.generator-status {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 11px;
  border-radius: 999px;
  border: 1px solid rgba(25, 217, 130, .28);
  background: rgba(25, 217, 130, .09);
  color: #70efb1;
  font-size: .72rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.generator-status::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #19d982;
  box-shadow: 0 0 12px rgba(25, 217, 130, .75);
}

.generator-section {
  padding-top: 22px;
}

.section-label-row label,
.field-group label {
  color: var(--text);
  font-size: .82rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.section-label-row span {
  color: var(--muted-2);
  font-size: .78rem;
}

.style-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 9px;
  margin-top: 12px;
}

.style-option {
  min-height: 76px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 16px;
  color: var(--muted);
  background: rgba(255, 255, 255, .025);
  cursor: pointer;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 5px;
  transition: transform .18s ease, border-color .18s ease, background .18s ease, color .18s ease;
}

.style-option span {
  font-size: 1.28rem;
  color: var(--nick-gold);
}

.style-option strong {
  font-size: .75rem;
}

.style-option:hover,
.style-option:focus-visible {
  transform: translateY(-2px);
  border-color: var(--nick-line-strong);
  color: var(--text);
}

.style-option.active {
  color: #fff8ed;
  border-color: rgba(255, 159, 26, .65);
  background:
    linear-gradient(135deg, rgba(255, 159, 26, .18), rgba(122, 60, 255, .16)),
    rgba(255, 255, 255, .035);
  box-shadow: inset 0 0 0 1px rgba(255, 209, 102, .08), 0 12px 28px rgba(0, 0, 0, .20);
}

.generator-fields-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}

.field-group {
  display: grid;
  gap: 8px;
}

.field-group input,
.field-group select {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(255, 159, 26, .22);
  border-radius: 13px;
  outline: 0;
  color: var(--text);
  background: rgba(7, 7, 7, .48);
  padding: 0 14px;
  transition: border-color .18s ease, box-shadow .18s ease;
}

.field-group input:focus,
.field-group select:focus {
  border-color: rgba(255, 159, 26, .75);
  box-shadow: 0 0 0 3px rgba(255, 159, 26, .10);
}

.field-group input::placeholder {
  color: #756d63;
}

.generator-toggles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.toggle-row {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 12px;
  min-height: 64px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, .07);
  border-radius: 14px;
  background: rgba(255, 255, 255, .025);
  cursor: pointer;
}

.toggle-row input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.toggle-control {
  width: 42px;
  height: 24px;
  padding: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .12);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .07);
  transition: background .18s ease;
}

.toggle-control::after {
  content: "";
  display: block;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #b8afa1;
  transition: transform .18s ease, background .18s ease;
}

.toggle-row input:checked + .toggle-control {
  background: rgba(255, 159, 26, .35);
}

.toggle-row input:checked + .toggle-control::after {
  transform: translateX(18px);
  background: var(--nick-gold);
}

.toggle-row strong,
.toggle-row small {
  display: block;
}

.toggle-row strong {
  font-size: .86rem;
}

.toggle-row small {
  margin-top: 2px;
  color: var(--muted-2);
  font-size: .73rem;
}

.generator-actions {
  display: flex;
  gap: 10px;
  margin-top: 22px;
}

.generate-button,
.secondary-button {
  min-height: 49px;
  border-radius: 14px;
  cursor: pointer;
  font-weight: 900;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.generate-button {
  flex: 1 1 auto;
  border: 1px solid rgba(255, 255, 255, .2);
  color: #160c03;
  background: linear-gradient(135deg, var(--nick-orange), var(--nick-gold));
  box-shadow: 0 14px 30px rgba(255, 159, 26, .20);
}

.generate-button span:first-child {
  margin-right: 7px;
}

.secondary-button {
  border: 1px solid var(--nick-line);
  color: var(--text);
  background: rgba(255, 255, 255, .035);
  padding: 0 18px;
}

.generate-button:hover,
.secondary-button:hover,
.generate-button:focus-visible,
.secondary-button:focus-visible {
  transform: translateY(-2px);
}

.secondary-button:hover,
.secondary-button:focus-visible {
  border-color: var(--nick-line-strong);
  background: rgba(255, 159, 26, .07);
}

.secondary-button.compact {
  min-height: 40px;
  padding: 0 13px;
  font-size: .78rem;
}

.nickname-side-panel {
  display: grid;
  gap: 14px;
  position: sticky;
  top: 98px;
}

.side-card {
  border-radius: 19px;
  padding: 18px;
}

.side-card-accent {
  border-color: rgba(122, 60, 255, .34);
  background:
    radial-gradient(circle at 100% 0%, rgba(122, 60, 255, .23), transparent 15rem),
    linear-gradient(140deg, rgba(255, 159, 26, .08), rgba(122, 60, 255, .08)),
    rgba(20, 18, 16, .94);
}

.side-card-kicker {
  display: inline-flex;
  color: var(--nick-orange);
  font-size: .71rem;
  font-weight: 1000;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.side-card h3 {
  margin: 7px 0 0;
  font-size: 1.03rem;
  line-height: 1.28;
}

.side-card p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: .84rem;
}

.side-card-title-row h3 {
  margin: 0;
}

.text-button {
  border: 0;
  color: var(--muted-2);
  background: transparent;
  cursor: pointer;
  padding: 5px;
  font-size: .73rem;
  font-weight: 800;
}

.text-button:hover {
  color: var(--nick-gold);
}

.saved-names {
  display: grid;
  gap: 7px;
  margin-top: 12px;
}

.saved-name-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 9px 10px;
  border: 1px solid rgba(255, 255, 255, .06);
  border-radius: 11px;
  background: rgba(255, 255, 255, .025);
}

.saved-name-row span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #e9dfd2;
  font-size: .82rem;
  font-weight: 800;
}

.saved-name-row button {
  border: 0;
  cursor: pointer;
  color: var(--nick-gold);
  background: transparent;
  padding: 3px;
  font-size: .75rem;
}

.empty-state {
  color: var(--muted-2) !important;
  font-size: .78rem !important;
}

.results-section {
  padding-top: 22px;
}

.results-section .container {
  border-radius: 24px;
  padding: 24px;
}

.results-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.nickname-results {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 11px;
  margin-top: 20px;
}

.nickname-card {
  position: relative;
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, .075);
  border-radius: 15px;
  background:
    linear-gradient(135deg, rgba(255, 159, 26, .045), rgba(122, 60, 255, .035)),
    rgba(8, 8, 8, .38);
  overflow: hidden;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.nickname-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 159, 26, .38);
  background:
    linear-gradient(135deg, rgba(255, 159, 26, .09), rgba(122, 60, 255, .06)),
    rgba(8, 8, 8, .48);
}

.nickname-card-main {
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 13px 13px 13px 15px;
}

.nickname-card-index {
  width: 31px;
  height: 31px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: var(--nick-gold);
  background: rgba(255, 159, 26, .09);
  border: 1px solid rgba(255, 159, 26, .19);
  font-size: .67rem;
  font-weight: 1000;
}

.nickname-card-name {
  min-width: 0;
  flex: 1 1 auto;
}

.nickname-card-name strong {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #fff6e9;
  font-size: 1rem;
  letter-spacing: .01em;
}

.nickname-card-name small {
  display: block;
  margin-top: 2px;
  color: var(--muted-2);
  font-size: .66rem;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.nickname-card-actions {
  display: flex;
  gap: 5px;
  flex: 0 0 auto;
}

.nickname-icon-button {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 10px;
  cursor: pointer;
  color: var(--muted);
  background: rgba(255, 255, 255, .025);
  transition: color .18s ease, border-color .18s ease, background .18s ease;
}

.nickname-icon-button:hover,
.nickname-icon-button:focus-visible {
  color: var(--nick-gold);
  border-color: rgba(255, 159, 26, .40);
  background: rgba(255, 159, 26, .07);
}

.nickname-icon-button.favorite.active {
  color: var(--nick-gold);
  border-color: rgba(255, 209, 102, .45);
  background: rgba(255, 209, 102, .09);
}

.copy-toast {
  position: fixed;
  z-index: 100;
  left: 50%;
  bottom: 24px;
  transform: translate(-50%, 130%);
  opacity: 0;
  pointer-events: none;
  border: 1px solid rgba(25, 217, 130, .34);
  border-radius: 999px;
  color: #d8ffec;
  background: rgba(11, 38, 27, .96);
  box-shadow: 0 16px 40px rgba(0, 0, 0, .42);
  padding: 10px 16px;
  font-size: .82rem;
  font-weight: 900;
  transition: transform .22s ease, opacity .22s ease;
}

.copy-toast.show {
  transform: translate(-50%, 0);
  opacity: 1;
}

@media (max-width: 1050px) {
  .nickname-layout {
    grid-template-columns: minmax(0, 1fr) 285px;
  }

  .style-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .nickname-results {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .nickname-layout {
    grid-template-columns: 1fr;
  }

  .nickname-side-panel {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .side-card-accent {
    grid-column: 1 / -1;
  }
}

@media (max-width: 620px) {
  .nickname-hero-inner {
    padding: 50px 0 48px;
  }

  .nickname-title-row {
    gap: 11px;
  }

  .nickname-title-icon {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    font-size: 1.2rem;
  }

  .nickname-title-row h1 {
    font-size: clamp(2.15rem, 11vw, 3.1rem);
  }

  .nickname-hero p {
    font-size: .96rem;
  }

  .generator-panel,
  .results-section .container {
    padding: 17px;
    border-radius: 19px;
  }

  .panel-heading,
  .results-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .generator-status {
    align-self: flex-start;
  }

  .style-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .generator-fields-grid,
  .generator-toggles,
  .nickname-side-panel,
  .nickname-results {
    grid-template-columns: 1fr;
  }

  .generator-actions {
    flex-direction: column;
  }

  .generate-button,
  .secondary-button {
    width: 100%;
  }

  .results-actions {
    width: 100%;
  }

  .results-actions .secondary-button {
    flex: 1 1 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .style-option,
  .generate-button,
  .secondary-button,
  .nickname-card,
  .copy-toast {
    transition: none;
  }
}

/* ==========================================================
   Evolução v1.1 — modo compatível com Guild Wars 2
   ========================================================== */

.gw2-mode-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 22px;
  padding: 16px;
  border: 1px solid rgba(255, 159, 26, .20);
  border-radius: 17px;
  background:
    radial-gradient(circle at 8% 50%, rgba(255, 159, 26, .10), transparent 16rem),
    rgba(255, 255, 255, .024);
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}

.gw2-mode-card.active {
  border-color: rgba(255, 159, 26, .58);
  background:
    radial-gradient(circle at 8% 50%, rgba(255, 159, 26, .18), transparent 18rem),
    linear-gradient(135deg, rgba(255, 159, 26, .08), rgba(122, 60, 255, .055)),
    rgba(255, 255, 255, .03);
  box-shadow: inset 0 0 0 1px rgba(255, 209, 102, .055), 0 14px 34px rgba(0, 0, 0, .20);
}

.gw2-mode-copy {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 13px;
}

.gw2-mode-icon {
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 14px;
  border: 1px solid rgba(255, 159, 26, .36);
  color: #190d03;
  background: linear-gradient(135deg, var(--nick-gold), var(--nick-orange));
  box-shadow: 0 10px 24px rgba(255, 159, 26, .18);
  font-size: .76rem;
  font-weight: 1000;
  letter-spacing: -.02em;
}

.gw2-mode-kicker {
  display: block;
  color: var(--nick-orange);
  font-size: .64rem;
  font-weight: 1000;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.gw2-mode-copy h3 {
  margin: 3px 0 0;
  color: #fff5e7;
  font-size: 1rem;
  line-height: 1.2;
}

.gw2-mode-copy p {
  max-width: 575px;
  margin: 4px 0 0;
  color: var(--muted-2);
  font-size: .78rem;
  line-height: 1.55;
}

.gw2-mode-switch {
  position: relative;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 42px;
  padding: 8px 11px;
  border: 1px solid rgba(255, 159, 26, .24);
  border-radius: 12px;
  color: #f1e7da;
  background: rgba(6, 6, 6, .38);
  cursor: pointer;
  font-size: .75rem;
  font-weight: 900;
  user-select: none;
}

.gw2-mode-switch input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.gw2-mode-switch-track {
  width: 38px;
  height: 22px;
  flex: 0 0 auto;
  padding: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .13);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .07);
  transition: background .18s ease;
}

.gw2-mode-switch-track::after {
  content: "";
  display: block;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #aaa196;
  transition: transform .18s ease, background .18s ease;
}

.gw2-mode-switch input:checked + .gw2-mode-switch-track {
  background: rgba(255, 159, 26, .42);
}

.gw2-mode-switch input:checked + .gw2-mode-switch-track::after {
  transform: translateX(16px);
  background: var(--nick-gold);
}

.gw2-mode-switch:focus-within {
  outline: 2px solid rgba(255, 209, 102, .68);
  outline-offset: 3px;
}

.gw2-options {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(220px, .55fr);
  gap: 14px;
  margin-top: 12px;
  padding: 14px;
  border: 1px solid rgba(25, 217, 130, .17);
  border-radius: 15px;
  background: rgba(25, 217, 130, .035);
}

.gw2-options[hidden] {
  display: none;
}

.gw2-rules {
  min-width: 0;
  align-self: center;
}

.gw2-rules-title {
  display: block;
  margin-bottom: 8px;
  color: #86f3bc;
  font-size: .68rem;
  font-weight: 1000;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.gw2-rule-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.gw2-rule-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 27px;
  padding: 5px 8px;
  border: 1px solid rgba(25, 217, 130, .16);
  border-radius: 999px;
  color: #d9f9e9;
  background: rgba(25, 217, 130, .055);
  font-size: .65rem;
  font-weight: 800;
}

.gw2-rule-chip::before {
  content: "✓";
  color: #5fe3a0;
  font-weight: 1000;
}

.gw2-lore-field {
  align-self: center;
}

.gw2-lore-field select {
  min-height: 42px;
}

.gw2-lore-field small {
  color: var(--muted-2);
  font-size: .68rem;
  line-height: 1.35;
}

.toggle-row.is-disabled {
  opacity: .45;
  cursor: not-allowed;
}

.toggle-row.is-disabled .toggle-control,
.toggle-row.is-disabled strong,
.toggle-row.is-disabled small {
  pointer-events: none;
}

.nickname-card.gw2-compatible {
  border-color: rgba(25, 217, 130, .14);
}

.nickname-card.gw2-compatible .nickname-card-index {
  color: #9af2c4;
  border-color: rgba(25, 217, 130, .18);
  background: rgba(25, 217, 130, .075);
}

.nickname-card.gw2-compatible .nickname-card-name small {
  color: #75dba6;
}

@media (max-width: 820px) {
  .gw2-mode-card {
    align-items: flex-start;
    flex-direction: column;
  }

  .gw2-mode-switch {
    align-self: stretch;
    justify-content: center;
  }

  .gw2-options {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .gw2-mode-card {
    padding: 13px;
  }

  .gw2-mode-copy {
    align-items: flex-start;
  }

  .gw2-mode-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
  }
}


/* ==========================================================
   Evolução v1.3 — BR (huehue) com variedade ampliada
   ========================================================== */

.br-options {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(230px, .55fr);
  gap: 14px;
  margin-top: 12px;
  padding: 14px;
  border: 1px solid rgba(255, 209, 62, .22);
  border-radius: 15px;
  background:
    radial-gradient(circle at 6% 45%, rgba(36, 180, 95, .12), transparent 17rem),
    linear-gradient(135deg, rgba(36, 180, 95, .045), rgba(255, 209, 62, .035)),
    rgba(255, 255, 255, .022);
}

.br-options[hidden] {
  display: none;
}

.br-options-copy {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 13px;
}

.br-options-icon {
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 14px;
  border: 1px solid rgba(255, 209, 62, .30);
  color: #07190e;
  background: linear-gradient(135deg, #28c76f, #f6d33b);
  box-shadow: 0 10px 25px rgba(28, 168, 85, .14);
  font-size: .76rem;
  font-weight: 1000;
  letter-spacing: .03em;
}

.br-options-kicker {
  display: block;
  color: #59df91;
  font-size: .64rem;
  font-weight: 1000;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.br-options-copy h3 {
  margin: 3px 0 0;
  color: #fff7df;
  font-size: 1rem;
  line-height: 1.2;
}

.br-options-copy p {
  max-width: 590px;
  margin: 4px 0 0;
  color: var(--muted-2);
  font-size: .78rem;
  line-height: 1.55;
}

.br-safety-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 9px;
}

.br-safety-chips span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 26px;
  padding: 4px 8px;
  border: 1px solid rgba(62, 210, 125, .16);
  border-radius: 999px;
  color: #d9f8e7;
  background: rgba(36, 180, 95, .055);
  font-size: .64rem;
  font-weight: 850;
}

.br-safety-chips span::before {
  content: "✓";
  color: #62e29a;
  font-weight: 1000;
}

.br-theme-field {
  align-self: center;
}

.br-theme-field select {
  min-height: 42px;
  border-color: rgba(255, 209, 62, .24);
}

.br-theme-field select:focus {
  border-color: rgba(255, 209, 62, .68);
  box-shadow: 0 0 0 3px rgba(36, 180, 95, .09);
}

.br-theme-field small {
  color: var(--muted-2);
  font-size: .68rem;
  line-height: 1.35;
}

.nickname-card.br-style {
  border-color: rgba(255, 209, 62, .13);
}

.nickname-card.br-style .nickname-card-index {
  color: #ffe27d;
  border-color: rgba(255, 209, 62, .18);
  background: rgba(36, 180, 95, .07);
}

.nickname-card.br-style .nickname-card-name small {
  color: #d8c66f;
}

@media (max-width: 820px) {
  .br-options {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .br-options {
    padding: 13px;
  }

  .br-options-copy {
    align-items: flex-start;
  }

  .br-options-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
  }
}


/* Destaque especial do modo BR (huehue) */
.style-option[data-style="brazil"] {
  position: relative;
  overflow: hidden;
  border-color: rgba(255, 214, 58, .42);
  background:
    linear-gradient(135deg, rgba(31, 174, 91, .13), rgba(255, 212, 49, .08)),
    rgba(255, 255, 255, .025);
  box-shadow: inset 0 0 0 1px rgba(39, 191, 99, .07);
}

.style-option[data-style="brazil"]::after {
  content: "BR";
  position: absolute;
  right: -5px;
  bottom: -13px;
  color: rgba(255, 228, 95, .055);
  font-size: 2.75rem;
  font-weight: 1000;
  line-height: 1;
  pointer-events: none;
}

.style-option[data-style="brazil"] > span,
.style-option[data-style="brazil"] > strong {
  position: relative;
  z-index: 1;
}

.style-option[data-style="brazil"] strong {
  color: #fff1a7;
}

.style-option[data-style="brazil"]:hover,
.style-option[data-style="brazil"].active {
  border-color: rgba(255, 219, 71, .82);
  background:
    linear-gradient(135deg, rgba(27, 184, 91, .24), rgba(255, 203, 32, .15)),
    rgba(255, 255, 255, .035);
  box-shadow:
    0 12px 28px rgba(18, 122, 62, .13),
    inset 0 0 0 1px rgba(255, 232, 118, .11);
}

.br-options-icon {
  width: auto;
  min-width: 92px;
  padding: 0 11px;
  white-space: nowrap;
  font-size: .66rem;
  letter-spacing: .025em;
}

@media (max-width: 620px) {
  .br-options-icon {
    width: auto;
    min-width: 86px;
    padding-inline: 9px;
  }
}
