.fornite-page {
  --fornite-touch-scale: 1;
  background:
    radial-gradient(circle at 18% 14%, rgba(154, 174, 137, 0.16), transparent 22%),
    radial-gradient(circle at 82% 18%, rgba(96, 121, 145, 0.2), transparent 24%),
    linear-gradient(135deg, #101614 0%, #20281f 48%, #111419 100%);
}

.fornite-page .arcade-logo {
  background: linear-gradient(135deg, #c4b28a, #66745a 58%, #293335);
  color: #f4efe2;
}

.fornite-layout {
  grid-template-columns: minmax(240px, 0.66fr) minmax(390px, 1.62fr) minmax(240px, 0.66fr);
}

.fornite-score-grid .arcade-stat {
  min-height: 66px;
}

.fornite-score-grid .arcade-stat strong {
  font-size: 22px;
}

.fornite-profile {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.fornite-profile div,
.fornite-board,
.fornite-armory {
  border: 1px solid rgba(240, 229, 200, 0.12);
  border-radius: 8px;
  background: rgba(8, 13, 14, 0.28);
}

.fornite-profile div {
  min-height: 48px;
  padding: 8px;
}

.fornite-profile span,
.fornite-board-head span {
  color: rgba(240, 229, 200, 0.6);
  display: block;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.fornite-profile strong {
  color: #f0e5c8;
  display: block;
  font-size: 18px;
  margin-top: 3px;
}

.fornite-profile-editor {
  display: grid;
  gap: 8px;
  grid-template-columns: minmax(0, 1.35fr) minmax(90px, 0.65fr);
}

.fornite-profile-editor label,
.fornite-profile-editor div {
  border: 1px solid rgba(240, 229, 200, 0.12);
  border-radius: 8px;
  background: rgba(8, 13, 14, 0.28);
  display: grid;
  gap: 4px;
  min-height: 48px;
  padding: 7px 8px;
}

.fornite-profile-editor span {
  color: rgba(240, 229, 200, 0.6);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.fornite-profile-editor input {
  background: transparent;
  border: 0;
  color: #f0e5c8;
  font: 900 16px system-ui, sans-serif;
  min-width: 0;
  outline: 0;
  width: 100%;
}

.fornite-profile-editor strong {
  color: #f0e5c8;
  font-size: 16px;
}

.fornite-rank-progress {
  border: 1px solid rgba(240, 229, 200, 0.12);
  border-radius: 8px;
  background: rgba(8, 13, 14, 0.28);
  display: grid;
  gap: 8px;
  padding: 9px 10px;
}

.fornite-rank-progress div {
  align-items: center;
  display: flex;
  gap: 8px;
  justify-content: space-between;
}

.fornite-rank-progress span,
.fornite-rank-progress strong {
  color: rgba(240, 229, 200, 0.78);
  font-size: 11px;
  font-weight: 900;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.fornite-rank-progress strong {
  color: #d5b06e;
}

.fornite-rank-progress i {
  background: rgba(240, 229, 200, 0.08);
  border-radius: 999px;
  display: block;
  height: 9px;
  overflow: hidden;
}

.fornite-rank-progress b {
  background: linear-gradient(90deg, #8da0ac, #d5b06e);
  display: block;
  height: 100%;
  width: 0%;
}

.fornite-mode-list {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.fornite-mode-list button {
  min-height: 38px;
  border: 1px solid rgba(240, 229, 200, 0.16);
  border-radius: 8px;
  background: rgba(8, 13, 14, 0.34);
  color: #f0e5c8;
  cursor: pointer;
  font-weight: 900;
  letter-spacing: 0;
}

.fornite-mode-list button.active {
  background: linear-gradient(180deg, #9f5c4f, #63342f);
  border-color: rgba(240, 229, 200, 0.38);
  color: #fff;
}

.fornite-mode-list button[data-mode="private"] {
  grid-column: 1 / -1;
}

.fornite-server-list {
  display: grid;
  gap: 7px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.fornite-server-list button {
  border: 1px solid rgba(240, 229, 200, 0.14);
  border-radius: 8px;
  background: rgba(240, 229, 200, 0.06);
  color: #f0e5c8;
  cursor: pointer;
  display: grid;
  font-size: 12px;
  font-weight: 900;
  min-height: 42px;
  place-items: center;
}

.fornite-server-list button span {
  color: rgba(240, 229, 200, 0.62);
  font-size: 10px;
}

.fornite-server-list button.active {
  background: linear-gradient(180deg, #6f8e58, #3e5638);
  border-color: rgba(240, 229, 200, 0.32);
}

.fornite-queue {
  border: 1px solid rgba(240, 229, 200, 0.12);
  border-radius: 8px;
  background: rgba(8, 13, 14, 0.28);
  color: rgba(240, 229, 200, 0.8);
  display: grid;
  gap: 7px;
  font-size: 12px;
  font-weight: 850;
  padding: 9px 10px;
}

.fornite-queue strong {
  color: #f0e5c8;
  font-size: 13px;
}

.fornite-queue div {
  background: rgba(240, 229, 200, 0.08);
  border-radius: 999px;
  height: 8px;
  overflow: hidden;
}

.fornite-queue div span {
  background: linear-gradient(90deg, #8da0ac, #d5b06e);
  display: block;
  height: 100%;
  width: 0%;
}

.fornite-roster li {
  gap: 8px;
}

.fornite-roster li span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fornite-roster li i {
  color: rgba(240, 229, 200, 0.56);
  flex: 0 0 auto;
  font-size: 10px;
  font-style: normal;
  font-weight: 900;
}

.fornite-roster li.ready i {
  color: #9fcf8b;
}

.fornite-roster li.searching i {
  color: #d5b06e;
}

.fornite-roster li.red {
  color: #efb4a8;
}

.fornite-room-tools,
.fornite-clan-tools {
  display: grid;
  gap: 7px;
  grid-template-columns: minmax(0, 1fr) auto auto auto;
}

.fornite-room-tools input,
.fornite-room-tools button,
.fornite-clan-tools input,
.fornite-clan-tools button,
.fornite-private-rules select {
  border: 1px solid rgba(240, 229, 200, 0.14);
  border-radius: 8px;
  background: rgba(8, 13, 14, 0.3);
  color: #f0e5c8;
  font-weight: 900;
  min-height: 36px;
}

.fornite-room-tools input,
.fornite-clan-tools input {
  min-width: 0;
  padding: 0 9px;
  text-transform: uppercase;
}

.fornite-room-tools button,
.fornite-clan-tools button {
  cursor: pointer;
  padding: 0 10px;
}

.fornite-clan-tools {
  grid-template-columns: minmax(0, 1fr) auto;
  margin-bottom: 8px;
}

.fornite-room-invite {
  background: rgba(213, 176, 110, 0.08);
  border: 1px solid rgba(213, 176, 110, 0.16);
  border-radius: 7px;
  color: rgba(240, 229, 200, 0.78);
  font-size: 11px;
  font-weight: 900;
  margin-top: -2px;
  min-height: 28px;
  overflow: hidden;
  padding: 7px 8px;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.fornite-clan-detail {
  background: rgba(114, 217, 255, 0.08);
  border: 1px solid rgba(114, 217, 255, 0.16);
  border-radius: 7px;
  color: rgba(240, 229, 200, 0.86);
  font-size: 11px;
  font-weight: 900;
  margin-bottom: 8px;
  min-height: 28px;
  overflow: hidden;
  padding: 7px 8px;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.fornite-clan-progress {
  display: grid;
  gap: 6px;
  margin-bottom: 8px;
}

.fornite-clan-progress span {
  color: rgba(240, 229, 200, 0.74);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.fornite-clan-progress i {
  background: rgba(240, 229, 200, 0.08);
  border-radius: 999px;
  display: block;
  height: 8px;
  overflow: hidden;
}

.fornite-clan-progress b {
  background: linear-gradient(90deg, #72aee8, #d5b06e);
  display: block;
  height: 100%;
  width: 0%;
}

.fornite-clan-members {
  border: 1px solid rgba(240, 229, 200, 0.1);
  border-radius: 8px;
  background: rgba(8, 13, 14, 0.2);
  display: grid;
  gap: 5px;
  margin: 0 0 8px;
  max-height: 134px;
  overflow: auto;
  padding: 6px;
}

.fornite-clan-members:empty {
  display: none;
}

.fornite-clan-members li {
  min-height: 24px;
}

.fornite-clan-members strong {
  color: rgba(240, 229, 200, 0.6);
  flex: 0 0 auto;
  font-size: 10px;
}

.fornite-private-rules {
  border: 1px solid rgba(240, 229, 200, 0.12);
  border-radius: 8px;
  background: rgba(8, 13, 14, 0.24);
  display: grid;
  gap: 7px;
  grid-template-columns: 1.2fr 0.8fr 0.9fr;
  padding: 8px;
}

.fornite-private-rules label {
  display: grid;
  gap: 4px;
}

.fornite-private-rules span {
  color: rgba(240, 229, 200, 0.6);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.fornite-private-rules select {
  cursor: pointer;
  font-size: 12px;
  min-width: 0;
  padding: 0 6px;
  width: 100%;
}

.fornite-chat-box {
  display: grid;
  gap: 7px;
  grid-template-columns: minmax(0, 1fr) auto;
  margin-top: 8px;
}

.fornite-chat-box input,
.fornite-chat-box button {
  border: 1px solid rgba(240, 229, 200, 0.14);
  border-radius: 8px;
  background: rgba(8, 13, 14, 0.3);
  color: #f0e5c8;
  font-weight: 900;
  min-height: 34px;
}

.fornite-chat-box input {
  min-width: 0;
  padding: 0 9px;
}

.fornite-chat-box button {
  cursor: pointer;
  padding: 0 10px;
}

.fornite-board,
.fornite-armory {
  padding: 10px;
}

.fornite-board-head {
  align-items: center;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.fornite-board-head strong {
  color: #f0e5c8;
  font-size: 14px;
}

.fornite-board ol,
.fornite-board ul {
  display: grid;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.fornite-board li {
  align-items: center;
  background: rgba(240, 229, 200, 0.06);
  border-radius: 6px;
  color: rgba(240, 229, 200, 0.86);
  display: flex;
  font-size: 12px;
  font-weight: 800;
  justify-content: space-between;
  min-height: 28px;
  padding: 5px 7px;
}

.fornite-board li:hover {
  background: rgba(240, 229, 200, 0.1);
}

.fornite-board li.player {
  background: rgba(141, 160, 172, 0.22);
}

.fornite-board li.ally {
  color: #b8d8f2;
}

.fornite-board li.done {
  background: rgba(111, 142, 88, 0.24);
  color: #eef5df;
}

.fornite-board li.task-action {
  border: 1px solid rgba(213, 176, 110, 0.2);
  cursor: pointer;
}

.fornite-board li.task-action:hover {
  background: rgba(213, 176, 110, 0.14);
}

.fornite-board li.task-action strong {
  color: #f0d36a;
}

.fornite-room-row {
  gap: 8px;
}

.fornite-room-meta {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.fornite-room-meta span,
.fornite-room-meta strong {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fornite-room-meta strong {
  color: rgba(240, 229, 200, 0.58);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.fornite-room-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 2px;
}

.fornite-room-badges i {
  background: rgba(240, 229, 200, 0.07);
  border: 1px solid rgba(240, 229, 200, 0.11);
  border-radius: 5px;
  color: rgba(240, 229, 200, 0.7);
  font-size: 9px;
  font-style: normal;
  font-weight: 900;
  line-height: 1;
  padding: 3px 5px;
  text-transform: uppercase;
}

.fornite-room-badges i.low {
  border-color: rgba(159, 207, 139, 0.34);
  color: #9fcf8b;
}

.fornite-room-badges i.mid {
  border-color: rgba(213, 176, 110, 0.34);
  color: #d5b06e;
}

.fornite-room-badges i.high {
  border-color: rgba(210, 98, 86, 0.34);
  color: #efb4a8;
}

.fornite-room-members {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 2px;
}

.fornite-room-members b {
  max-width: 92px;
  overflow: hidden;
  padding: 2px 5px;
  border: 1px solid rgba(240, 229, 200, 0.12);
  border-radius: 5px;
  background: rgba(240, 229, 200, 0.06);
  color: rgba(240, 229, 200, 0.72);
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 9px;
  font-weight: 900;
  text-transform: uppercase;
}

.fornite-shop li {
  align-items: center;
  gap: 8px;
}

.fornite-shop li span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fornite-shop-label {
  display: grid;
  gap: 2px;
}

.fornite-shop-label small {
  min-width: 0;
  overflow: hidden;
  color: rgba(240, 229, 200, 0.5);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.fornite-shop button,
.fornite-board li button {
  border: 1px solid rgba(240, 229, 200, 0.16);
  border-radius: 7px;
  background: rgba(213, 176, 110, 0.14);
  color: #f0e5c8;
  cursor: pointer;
  flex: 0 0 auto;
  font-size: 11px;
  font-weight: 900;
  min-height: 24px;
  padding: 0 8px;
}

.fornite-shop button:disabled,
.fornite-board li button:disabled {
  cursor: default;
  opacity: 0.5;
}

.fornite-friend-list li {
  gap: 8px;
}

.fornite-friend-list li span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fornite-friend-list button {
  border: 1px solid rgba(240, 229, 200, 0.16);
  border-radius: 7px;
  background: rgba(141, 160, 172, 0.18);
  color: #f0e5c8;
  cursor: pointer;
  flex: 0 0 auto;
  font-size: 11px;
  font-weight: 900;
  min-height: 24px;
  padding: 0 8px;
}

.fornite-friend-list button:disabled {
  cursor: default;
  opacity: 0.45;
}

.fornite-weapon-list,
.fornite-skin-list,
.fornite-camo-list,
.fornite-emote-list,
.fornite-loadout-list {
  display: grid;
  gap: 7px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.fornite-weapon-list,
.fornite-skin-list,
.fornite-camo-list,
.fornite-emote-list,
.fornite-loadout-list {
  max-height: 176px;
  overflow: auto;
  padding-right: 3px;
}

.fornite-weapon-collection {
  border: 1px solid rgba(240, 229, 200, 0.12);
  border-radius: 8px;
  background: rgba(8, 13, 14, 0.24);
  display: grid;
  gap: 7px;
  margin-bottom: 8px;
  padding: 8px;
}

.fornite-weapon-collection div {
  display: grid;
  gap: 6px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.fornite-weapon-collection span {
  color: rgba(240, 229, 200, 0.76);
  font-size: 10px;
  font-weight: 900;
  overflow: hidden;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.fornite-weapon-collection i {
  background: rgba(240, 229, 200, 0.08);
  border-radius: 999px;
  display: block;
  height: 7px;
  overflow: hidden;
}

.fornite-weapon-collection b {
  background: linear-gradient(90deg, #72aee8, #b891ff, #f0d36a);
  display: block;
  height: 100%;
}

.fornite-collection-meter {
  --collection-progress: 0%;
  background: rgba(8, 13, 14, 0.24);
  border: 1px solid rgba(240, 229, 200, 0.12);
  border-radius: 7px;
  color: rgba(240, 229, 200, 0.74);
  font-size: 10px;
  font-weight: 900;
  margin-bottom: 8px;
  min-height: 31px;
  overflow: hidden;
  padding: 7px 8px 11px;
  position: relative;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.fornite-collection-meter::after {
  background: linear-gradient(90deg, #8da0ac, #72d9ff, #b891ff, #f0d36a);
  bottom: 0;
  content: "";
  height: 4px;
  left: 0;
  position: absolute;
  width: var(--collection-progress);
}

.fornite-weapon-filters {
  display: grid;
  gap: 6px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 8px;
}

.fornite-weapon-filters button {
  border: 1px solid rgba(240, 229, 200, 0.13);
  border-radius: 7px;
  background: rgba(8, 13, 14, 0.24);
  color: rgba(240, 229, 200, 0.76);
  cursor: pointer;
  font-size: 11px;
  font-weight: 900;
  min-height: 28px;
}

.fornite-weapon-filters button.active {
  background: linear-gradient(180deg, #9f5c4f, #63342f);
  border-color: rgba(240, 229, 200, 0.34);
  color: #fff;
}

.fornite-weapon-list button,
.fornite-skin-list button,
.fornite-camo-list button,
.fornite-emote-list button,
.fornite-loadout-list button {
  border: 1px solid rgba(240, 229, 200, 0.14);
  border-radius: 8px;
  background: rgba(240, 229, 200, 0.07);
  color: #f0e5c8;
  cursor: pointer;
  font-weight: 900;
  min-height: 34px;
}

.fornite-weapon-list button[data-rarity],
.fornite-skin-list button[data-rarity],
.fornite-camo-list button[data-rarity],
.fornite-shop li[data-rarity] {
  position: relative;
}

.fornite-weapon-list button[data-rarity]::before,
.fornite-skin-list button[data-rarity]::before,
.fornite-camo-list button[data-rarity]::before,
.fornite-shop li[data-rarity]::before {
  border-radius: 999px;
  content: "";
  height: 70%;
  left: 5px;
  position: absolute;
  top: 15%;
  width: 3px;
}

[data-rarity="common"]::before {
  background: #8da0ac;
}

[data-rarity="rare"]::before {
  background: #72aee8;
}

[data-rarity="epic"]::before {
  background: #b891ff;
}

[data-rarity="ultra"]::before {
  background: #f0d36a;
}

.fornite-shop li span::after {
  border: 1px solid rgba(240, 229, 200, 0.14);
  border-radius: 999px;
  color: rgba(240, 229, 200, 0.72);
  content: attr(data-rarity-label);
  font-size: 9px;
  margin-left: 6px;
  padding: 1px 5px;
}

.fornite-loadout-list {
  grid-template-columns: 1fr;
  max-height: 190px;
}

.fornite-loadout-save {
  border: 1px solid rgba(213, 176, 110, 0.24);
  border-radius: 8px;
  background: rgba(213, 176, 110, 0.1);
  color: #f0e5c8;
  cursor: pointer;
  font-weight: 900;
  margin-bottom: 8px;
  min-height: 34px;
  width: 100%;
}

.fornite-loadout-list button {
  align-items: center;
  display: grid;
  gap: 3px;
  grid-template-columns: minmax(0, 1fr) auto;
  justify-items: start;
  min-height: 50px;
  padding: 7px 9px;
  text-align: left;
}

.fornite-loadout-list button span {
  color: rgba(240, 229, 200, 0.58);
  font-size: 11px;
  font-weight: 800;
}

.fornite-loadout-list button strong {
  color: #f0e5c8;
  font-size: 13px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fornite-loadout-list button i {
  color: #d5b06e;
  font-size: 10px;
  font-style: normal;
  font-weight: 900;
  grid-row: 1 / span 2;
}

.fornite-loadout-list button i {
  justify-self: end;
}

.fornite-skin-list button,
.fornite-camo-list button {
  align-items: center;
  display: flex;
  gap: 8px;
  justify-content: flex-start;
  padding: 6px 8px;
}

.fornite-skin-list button span,
.fornite-camo-list button span {
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  box-shadow: inset 0 0 0 2px rgba(0, 0, 0, 0.18);
  flex: 0 0 18px;
  height: 18px;
}

.fornite-skin-list button strong,
.fornite-camo-list button strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

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

.fornite-emote-list button {
  min-height: 32px;
}

.fornite-weapon-list button.active,
.fornite-skin-list button.active,
.fornite-camo-list button.active,
.fornite-emote-list button.active,
.fornite-loadout-list button.active {
  background: linear-gradient(180deg, #8da0ac, #465864);
  border-color: rgba(240, 229, 200, 0.36);
  color: #fff;
}

.fornite-weapon-list button.locked {
  background: rgba(8, 13, 14, 0.34);
  border-color: rgba(213, 176, 110, 0.28);
  color: rgba(240, 229, 200, 0.62);
}

.fornite-unlock {
  border: 1px solid rgba(213, 176, 110, 0.38);
  border-radius: 8px;
  background: linear-gradient(180deg, #9f8440, #5f4824);
  color: #fff7d8;
  cursor: pointer;
  font-weight: 900;
  min-height: 34px;
}

.fornite-weapon-list button[data-family="explosive"] {
  border-color: rgba(213, 155, 90, 0.36);
}

.fornite-weapon-list button[data-family="blade"] {
  border-color: rgba(114, 217, 255, 0.32);
}

.fornite-weapon-list button[data-family="heavy"] {
  border-color: rgba(185, 164, 127, 0.4);
}

.fornite-weapon-list button[data-family="throwable"] {
  border-color: rgba(143, 186, 120, 0.38);
}

.fornite-weapon-detail {
  border-top: 1px solid rgba(240, 229, 200, 0.12);
  display: grid;
  gap: 8px;
  margin-top: 9px;
  padding-top: 9px;
}

.fornite-weapon-detail > div:first-child {
  align-items: center;
  display: flex;
  gap: 8px;
  justify-content: space-between;
}

.fornite-weapon-detail strong {
  color: #f0e5c8;
  font-size: 15px;
}

.fornite-weapon-detail span {
  color: rgba(240, 229, 200, 0.62);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.fornite-weapon-traits {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.fornite-weapon-traits span {
  border: 1px solid rgba(240, 229, 200, 0.14);
  border-radius: 999px;
  background: rgba(240, 229, 200, 0.07);
  color: rgba(240, 229, 200, 0.8);
  font-size: 9px;
  line-height: 1;
  padding: 5px 7px;
}

.fornite-weapon-traits span[data-tone="rare"] {
  border-color: rgba(114, 174, 232, 0.34);
  color: #b8d8f2;
}

.fornite-weapon-traits span[data-tone="epic"] {
  border-color: rgba(184, 145, 255, 0.38);
  color: #d7c4ff;
}

.fornite-weapon-traits span[data-tone="ultra"] {
  border-color: rgba(240, 211, 106, 0.42);
  color: #f0d36a;
}

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

.fornite-stat-bars label {
  align-items: center;
  display: grid;
  gap: 8px;
  grid-template-columns: 68px minmax(0, 1fr);
}

.fornite-stat-bars i {
  background: rgba(240, 229, 200, 0.1);
  border-radius: 999px;
  display: block;
  height: 7px;
  overflow: hidden;
}

.fornite-stat-bars b {
  background: linear-gradient(90deg, #8da0ac, #d5b06e);
  display: block;
  height: 100%;
}

.fornite-mastery {
  align-items: center;
  background: rgba(114, 217, 255, 0.08);
  border: 1px solid rgba(114, 217, 255, 0.16);
  border-radius: 7px;
  display: grid;
  gap: 7px;
  grid-template-columns: 86px minmax(0, 1fr) auto;
  min-height: 34px;
  padding: 7px 8px;
}

.fornite-mastery span {
  color: #cbeeff;
  font-size: 10px;
}

.fornite-mastery i {
  background: rgba(240, 229, 200, 0.1);
  border-radius: 999px;
  display: block;
  height: 7px;
  overflow: hidden;
}

.fornite-mastery b {
  background: linear-gradient(90deg, #72d9ff, #d5b06e);
  display: block;
  height: 100%;
}

.fornite-mastery strong {
  color: #f0e5c8;
  font-size: 11px;
}

.fornite-pass-track {
  background: rgba(240, 229, 200, 0.08);
  border-radius: 999px;
  height: 10px;
  overflow: hidden;
}

.fornite-pass-track span {
  background: linear-gradient(90deg, #6f8e58, #d5b06e);
  display: block;
  height: 100%;
  width: 0%;
}

.fornite-pass-rewards {
  display: grid;
  gap: 6px;
  list-style: none;
  margin: 10px 0 0;
  max-height: 138px;
  overflow: auto;
  padding: 0 3px 0 0;
}

.fornite-pass-rewards li {
  align-items: center;
  background: rgba(240, 229, 200, 0.06);
  border: 1px solid rgba(240, 229, 200, 0.1);
  border-radius: 7px;
  color: rgba(240, 229, 200, 0.74);
  display: flex;
  font-size: 11px;
  font-weight: 800;
  gap: 8px;
  justify-content: space-between;
  min-height: 28px;
  padding: 0 8px;
}

.fornite-pass-rewards li.done {
  background: rgba(111, 142, 88, 0.18);
  border-color: rgba(111, 142, 88, 0.32);
  color: #f0e5c8;
}

.fornite-pass-rewards span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fornite-pass-rewards strong {
  color: #d5b06e;
  flex: 0 0 auto;
  font-size: 10px;
}

.fornite-settings {
  display: grid;
  gap: 8px;
}

.fornite-settings label {
  align-items: center;
  display: grid;
  gap: 8px;
  grid-template-columns: 42px minmax(0, 1fr);
}

.fornite-settings label span {
  color: rgba(240, 229, 200, 0.72);
  font-size: 12px;
  font-weight: 900;
}

.fornite-settings input,
.fornite-settings select {
  accent-color: #9f5c4f;
  width: 100%;
}

.fornite-settings select {
  appearance: none;
  background: rgba(240, 229, 200, 0.08);
  border: 1px solid rgba(240, 229, 200, 0.16);
  border-radius: 8px;
  color: #f0e5c8;
  cursor: pointer;
  font: 900 12px system-ui, sans-serif;
  min-height: 34px;
  padding: 0 10px;
}

.fornite-settings .fornite-toggle {
  border: 1px solid rgba(240, 229, 200, 0.14);
  border-radius: 8px;
  background: rgba(240, 229, 200, 0.07);
  color: #f0e5c8;
  cursor: pointer;
  font-weight: 900;
  min-height: 36px;
}

.fornite-wrap {
  background:
    radial-gradient(circle at 48% 46%, rgba(110, 132, 93, 0.2), transparent 42%),
    linear-gradient(180deg, #17212a, #0b1114);
  min-height: 620px;
  scroll-margin-top: 12px;
}

.fornite-wrap canvas {
  min-height: 620px;
  touch-action: none;
}

.fornite-pad,
.fornite-actions {
  touch-action: none;
}

.fornite-pad {
  --fornite-stick-x: 0px;
  --fornite-stick-y: 0px;
  overflow: hidden;
  position: relative;
}

.fornite-pad::before,
.fornite-pad::after {
  content: "";
  left: 50%;
  pointer-events: none;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 0;
}

.fornite-pad::before {
  border: 1px solid rgba(240, 229, 200, 0.18);
  border-radius: 999px;
  height: calc(72px * var(--fornite-touch-scale));
  width: calc(72px * var(--fornite-touch-scale));
}

.fornite-pad::after {
  background: radial-gradient(circle, rgba(114, 217, 255, 0.34), rgba(141, 160, 172, 0.12));
  border: 1px solid rgba(114, 217, 255, 0.36);
  border-radius: 999px;
  height: calc(28px * var(--fornite-touch-scale));
  transform: translate(calc(-50% + var(--fornite-stick-x)), calc(-50% + var(--fornite-stick-y)));
  transition: transform 90ms ease, opacity 120ms ease;
  width: calc(28px * var(--fornite-touch-scale));
  opacity: 0.62;
}

.fornite-pad.active::after {
  opacity: 1;
  transition: none;
}

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

.fornite-pad .fire {
  background: linear-gradient(180deg, #8f4a3c, #5b2a24);
  color: #f6ead7;
  font-size: 22px;
}

.fornite-pad button {
  min-height: calc(44px * var(--fornite-touch-scale));
  position: relative;
  z-index: 1;
}

.fornite-actions .arcade-choice {
  min-height: calc(44px * var(--fornite-touch-scale));
}

.fornite-actions.hud-editing .arcade-choice {
  border-color: rgba(114, 217, 255, 0.48);
  box-shadow: inset 0 0 0 1px rgba(114, 217, 255, 0.28);
}

.fornite-actions .arcade-choice.hud-selected {
  background: linear-gradient(180deg, #72aee8, #375a73);
  color: #fff;
}

.fornite-actions .arcade-choice.ready {
  background: linear-gradient(180deg, #8da0ac, #465864);
  color: #fff;
}

.fornite-actions .arcade-choice.danger {
  background: linear-gradient(180deg, #9f5c4f, #69352e);
  color: #fff;
}

.fornite-actions .arcade-choice.weapon-swap {
  background: linear-gradient(180deg, #52616a, #25343b);
  border-color: rgba(213, 176, 110, 0.28);
  color: #f0e5c8;
}

.fornite-actions .arcade-choice.inspect {
  background: linear-gradient(180deg, #607989, #334b56);
  color: #fff;
}

.fornite-actions .arcade-choice.chat {
  background: linear-gradient(180deg, #5f7765, #314538);
  border-color: rgba(133, 198, 146, 0.28);
  color: #f0e5c8;
}

.fornite-actions .arcade-choice.build {
  background: linear-gradient(180deg, #b9a47f, #786043);
  color: #181511;
}

.fornite-actions .arcade-choice.build.active {
  background: linear-gradient(180deg, #f0d36a, #9f7d35);
  box-shadow: 0 0 0 2px rgba(240, 211, 106, 0.18);
  color: #181511;
}

.fornite-daily-preview {
  border: 1px solid rgba(213, 176, 110, 0.2);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(213, 176, 110, 0.12), rgba(13, 18, 20, 0.82));
  color: rgba(240, 229, 200, 0.84);
  display: grid;
  gap: 3px;
  min-height: 92px;
  overflow: hidden;
  padding: 11px 12px;
  position: relative;
}

.fornite-daily-preview::before {
  background: linear-gradient(180deg, rgba(213, 176, 110, 0.9), rgba(213, 176, 110, 0.12));
  content: "";
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  width: 4px;
}

.fornite-daily-preview[data-rarity="rare"]::before {
  background: linear-gradient(180deg, #72d9ff, rgba(114, 217, 255, 0.12));
}

.fornite-daily-preview[data-rarity="epic"]::before {
  background: linear-gradient(180deg, #d995ff, rgba(217, 149, 255, 0.12));
}

.fornite-daily-preview[data-rarity="ultra"]::before {
  background: linear-gradient(180deg, #f0d36a, rgba(240, 211, 106, 0.12));
}

.fornite-daily-preview[data-claimed="1"] {
  opacity: 0.82;
}

.fornite-daily-preview span,
.fornite-daily-preview strong,
.fornite-daily-preview small,
.fornite-daily-preview em {
  position: relative;
  z-index: 1;
}

.fornite-daily-preview span {
  color: rgba(240, 229, 200, 0.62);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0;
}

.fornite-daily-preview strong {
  color: #f0e5c8;
  font-size: 16px;
  font-weight: 950;
  line-height: 1.1;
}

.fornite-daily-preview small,
.fornite-daily-preview em {
  color: rgba(240, 229, 200, 0.68);
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
  line-height: 1.25;
}

.fornite-page .arcade-title h1 {
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.02;
}

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

  .fornite-layout .arcade-panel {
    order: 2;
  }

  .fornite-layout .arcade-stage {
    order: 1;
  }

  .fornite-wrap,
  .fornite-wrap canvas {
    min-height: min(72vh, 620px);
  }
}

@media (max-width: 620px) {
  .fornite-score-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .fornite-server-list {
    grid-template-columns: 1fr;
  }

  .fornite-private-rules {
    grid-template-columns: 1fr;
  }

  .fornite-wrap,
  .fornite-wrap canvas {
    min-height: 520px;
  }
}
