.hub-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(345px, .85fr);
  grid-template-rows: auto minmax(0, 1fr);
  gap: 18px;
  align-items: stretch;
  margin-top: 18px;
}

.hub-progress,
.hub-roles,
.hub-calendar {
  min-width: 0;
}

.hub-progress { grid-column: 1; grid-row: 1; }
.hub-roles { grid-column: 1; grid-row: 2; }
.hub-calendar { grid-column: 2; grid-row: 1 / span 2; }
.hub-grid:not(:has(.hub-progress)) .hub-roles { grid-row: 1; }
.hub-grid:not(:has(.hub-roles)) .hub-calendar { grid-row: 1; }
.hub-grid:not(:has(.hub-progress)):not(:has(.hub-roles)) .hub-calendar,
.hub-grid:not(:has(.hub-calendar)) .hub-progress,
.hub-grid:not(:has(.hub-calendar)) .hub-roles { grid-column: 1 / -1; }
.hub-roles .card,
.hub-calendar .card { height: 100%; }
.hub-roles .card { display: flex; flex-direction: column; }
.hub-roles .card-body { display: flex; flex: 1; min-height: 0; flex-direction: column; }
.hub-calendar .card-head h2 { display: inline-flex; align-items: center; gap: 9px; }
.hub-calendar .card-head { flex-wrap: wrap; gap: 10px; }
.hub-calendar-actions { display: flex; align-items: center; gap: 7px; margin-left: auto; }
.brand.selected { border-color: #8de1e8; box-shadow: 0 0 0 2px #8de1e855; }
.brand { padding: 0; overflow: hidden; background: #0b1e2a; }
.brand img { display: block; width: 100%; height: 100%; object-fit: cover; }
.launch-overlay { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 24px; background: radial-gradient(ellipse at 50% 43%, #1e4854 0, #102936 38%, #081622 75%); color: #defbff; transition: opacity .28s ease; }
.launch-overlay.is-complete { opacity: 0; pointer-events: none; }
.launch-overlay-content { width: min(100%, 450px); display: grid; justify-items: center; gap: 20px; }
.launch-overlay-logo { width: clamp(112px, 30vw, 150px); aspect-ratio: 1; object-fit: contain; }
.launch-overlay-title { text-align: center; color: #a5d9e5; font-size: 11px; font-weight: 800; letter-spacing: .18em; }
.launch-progress { position: relative; display: flex; align-items: center; width: min(100%, 260px); height: 13px; padding: 1px; border: 1px solid #9efaff; border-radius: 999px; background: #163340; box-shadow: 0 0 5px #a5faff, 0 0 14px #67d9ec99, inset 0 0 6px #5ec9dc88; }
.launch-progress-track { height: 100%; width: calc(100% - 38px); overflow: hidden; border-radius: inherit; }
.launch-progress-fill { width: 0; height: 100%; border-radius: inherit; background: repeating-linear-gradient(110deg, #d5ffff 0 8px, #84e8f1 8px 12px, #267e8f 12px 15px); box-shadow: 0 0 12px #c5fdff; }
.launch-progress-value { flex: 1; min-width: 34px; text-align: center; color: #e4ffff; font-size: 9px; font-weight: 700; font-variant-numeric: tabular-nums; text-shadow: 0 0 8px #a7faff; }
@media (prefers-reduced-motion: reduce) { .launch-overlay { transition: none; } }
.launch-state { min-height: min(55vh, 420px); display: grid; align-content: center; justify-items: center; gap: 13px; padding: 30px; text-align: center; }
.launch-state img { width: 96px; height: 96px; border-radius: 25px; box-shadow: 0 16px 35px #0005; }
.launch-state span { color: #a9cbd0; font-size: 13px; }
.player-hub > .card { margin: 16px 0 18px; }
.player-hub-profile { display: flex; align-items: center; gap: 20px; min-height: 118px; }
.player-hub-profile .profile-mark { flex: none; width: 96px; height: 96px; border-radius: 22px; overflow: hidden; }
.player-hub-profile-details { flex: 1; min-width: 0; }
.player-hub-profile h1 { margin: 0 0 7px; }
.player-hub-profile p { margin: 4px 0; color: #b7ced7; font-size: 13px; }
.player-hub-profile .ghost { margin-top: 9px; }
.player-hub-representation { display: grid; grid-template-columns: minmax(0,1fr); gap: 8px; flex: 0 1 320px; min-width: 0; max-width: 320px; }
.player-hub-representation .field { font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.player-hub-representation-choice { display: grid; grid-template-columns: 40px minmax(0,1fr); align-items: center; gap: 8px; min-width: 0; }
.player-hub-representation-choice select { width: 100%; min-width: 0; overflow: hidden; text-overflow: ellipsis; padding: 9px; border: 1px solid #507180; border-radius: 9px; background: #1e3543; color: #e8f5f7; }
.profile-representation { display: grid; gap: 7px; margin: 15px 0; }
.profile-representation-org { display: inline-flex; align-items: center; gap: 9px; }
.player-hub-grid .card-head h2 { display: inline-flex; align-items: center; gap: 9px; }
.player-hub-grid { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(345px,.9fr); align-items: start; gap: 18px; }
.player-hub-grid > div { display: grid; gap: 18px; min-width: 0; }
.player-org-entry { display: flex; align-items: center; gap: 8px; border-bottom: 1px solid #304655; }
.player-org-entry:last-of-type { border-bottom: 0; }
.player-org-row, .org-search-row, .player-invite-row, .request-row { display: flex; align-items: center; gap: 11px; width: 100%; padding: 10px 0; border: 0; border-bottom: 1px solid #304655; background: transparent; color: #e9f6f7; text-align: left; }
.player-org-entry .player-org-row { flex: 1; min-width: 0; border-bottom: 0; }
.player-org-leave { flex: none; padding: 7px 9px; font-size: 11px; }
.player-org-row:last-of-type, .org-search-row:last-child, .player-invite-row:last-child, .request-row:last-child { border-bottom: 0; }
.player-org-row:hover { color: #a6eaf0; }
.player-org-logo { display: grid; place-items: center; flex: none; width: 40px; height: 40px; overflow: hidden; border: 1px solid #547181; border-radius: 50%; background: #284557; font-size: 11px; font-weight: 800; }
.player-org-logo img, .player-day-logo img { width: 100%; height: 100%; object-fit: cover; }
.player-org-text { display: grid; gap: 3px; min-width: 0; flex: 1; }
.player-org-text strong, .player-org-text small { overflow-wrap: anywhere; }
.player-org-text small { color: #a6c1ca; font-size: 11px; }
.player-org-rank { display: grid; justify-items: center; flex: none; width: 42px; }
.player-org-rank small { color: #9fc4cd; font-size: 9px; font-weight: 800; text-transform: uppercase; }
.player-org-rank strong { color: #9be1e9; font-size: 27px; line-height: 1; }
.player-org-row .rank-insignia { width: 42px; height: 42px; }
.player-find-button { width: 100%; margin-top: 12px; }
.player-invite-row strong, .request-row strong { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.org-search-row .badge { flex: none; }
.org-search-results { margin-top: 11px; }
#org-search-panel { margin-top: 18px; }
.player-calendar-bar { display: flex; align-items: center; gap: 6px; margin-bottom: 12px; }
.player-calendar-bar strong { flex: 1; min-width: 0; text-align: center; font-size: 12px; }
.player-calendar-bar .ghost { min-width: 36px; min-height: 36px; padding: 5px 8px; }
.player-calendar-day .player-day-logos { display: flex; align-items: center; justify-content: center; gap: 2px; max-width: 100%; }
.player-day-logo { display: grid; place-items: center; flex: none; width: 18px; height: 18px; overflow: hidden; border-radius: 50%; background: #47728a; color: #fff; font-size: 7px; font-weight: 800; }
.player-day-more { font-size: 11px; color: #9be1e9; }
.player-day-event .player-day-logo { width: 20px; height: 20px; }
.org-hero-actions { position: absolute; top: 18px; right: 18px; display: flex; gap: 8px; }
.org-hero:has(.org-hero-actions [data-action="invite-player"]) { padding-right: 220px; }
.enlistment-requests { display: grid; grid-template-columns: repeat(auto-fit,minmax(280px,1fr)); gap: 18px; margin-top: 18px; }
.request-row .avatar { width: 32px; height: 32px; font-size: 12px; }
.calendar-icon {
  width: 18px;
  height: 18px;
  flex: none;
  display: inline-block;
  background-color: currentColor;
  -webkit-mask: url('./calendar-icon.png') center / contain no-repeat;
  mask: url('./calendar-icon.png') center / contain no-repeat;
}
.org-hero .org-founded { margin-top: 9px; color: #d4e7eb; font-size: 12px; }
.org-hero-role { position: absolute; right: 18px; bottom: 15px; display: flex; align-items: center; justify-content: flex-end; gap: 10px; color: #e9f6f7; text-align: right; }
.org-hero-role small { display: block; color: #a9cbd0; font-size: 10px; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.org-hero-role strong { display: block; font-size: 17px; overflow-wrap: anywhere; }
.org-hero-role .rank-insignia { width: 48px; height: 48px; }
.hub-progress .card-body { display: flex; align-items: center; min-height: 132px; }
.hub-progress .statline { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); align-items: center; gap: 9px; width: 100%; }
.hub-progress .stat { min-width: 0; min-height: 96px; display: grid; align-content: center; justify-items: center; text-align: center; }
.hub-progress .stat small { display: block; }
.hub-progress .progress-rank { min-width: 0; min-height: 96px; display: grid; place-content: center; justify-items: center; gap: 0; }
.hub-progress .progress-rank small { color: #9fc4cd; font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.hub-progress .progress-rank strong { color: #9be1e9; font-size: 68px; line-height: .93; }

.carousel-controls {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 14px;
}

.carousel-controls .ghost {
  width: 36px;
  height: 36px;
  padding: 0;
  font-size: 19px;
  line-height: 1;
}

.carousel-track {
  display: flex;
  width: 100%;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.carousel-track::-webkit-scrollbar {
  display: none;
}

.carousel-page {
  flex: 0 0 100%;
  min-width: 0;
  min-height: 260px;
  scroll-snap-align: start;
}

.rank-insignia {
  width: 40px;
  height: 40px;
  flex: none;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: inherit;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .04em;
  overflow: visible;
}

.rank-insignia img { width: 100%; height: 100%; object-fit: contain; }
.rank-permission { display: flex; align-items: center; gap: 5px; margin-top: 5px; color: #9fc8d1; font-size: 11px; }
.rank-permission input { accent-color: #75d5df; }
.profile-rank { display: flex; align-items: center; gap: 9px; }
.profile-rank strong { font-size: 17px; }
.profile-rank small { display: block; }
.profile-xp-rank { display: grid; align-content: center; justify-items: center; gap: 2px; }
.profile-xp-rank small { order: -1; text-transform: uppercase; font-size: 10px; font-weight: 800; letter-spacing: .08em; }
.profile-xp-rank strong { font-size: 32px; color: #9be1e9; line-height: 1; }
.avatar-button { padding: 0; border: 0; overflow: hidden; }
.player-name-button { display: inline; padding: 0; border: 0; background: transparent; color: inherit; font: inherit; font-weight: inherit; text-align: left; overflow-wrap: anywhere; }
.player-name-button:hover { color: #9be1e9; text-decoration: underline; }
.avatar-button:hover { outline: 2px solid #9be1e9; outline-offset: 2px; }
.insignia-editor { min-width: 0; margin: 18px 0 0; padding: 15px; border: 1px solid #42606e; border-radius: 12px; }
.org-details-fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.org-details-fieldset:disabled { opacity: .56; }
.insignia-editor legend { padding: 0 5px; color: #bfe2e7; font-weight: 700; }
.insignia-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.insignia-edit-row { display: flex; align-items: start; gap: 10px; padding: 10px; border: 1px solid #344f5d; border-radius: 10px; }
.insignia-edit-row > div { flex: 1; min-width: 0; }
.insignia-edit-row strong { display: block; margin-bottom: 6px; }
.insignia-edit-row .field input { padding: 7px; font-size: 11px; }
.insignia-edit-row .field + .field { margin-top: 9px; }
.org-danger-zone { display: flex; justify-content: flex-end; margin-top: 22px; padding-top: 18px; border-top: 1px solid #42606e; }
.org-danger-zone .btn.danger { background: #71313c; border-color: #c96976; color: #ffe2e5; }
.org-danger-zone .btn.danger:hover { background: #8a3a47; }

.member-rank { display: flex; align-items: center; justify-content: flex-end; gap: 8px; flex: none; }
.member-main { min-width: 0; }
.member-main strong { overflow-wrap: anywhere; }
.role-name { color: #d6eef1; font-size: 12px; font-weight: 700; max-width: 170px; overflow-wrap: anywhere; text-align: right; }
.roster-member { display: grid; grid-template-columns: 40px minmax(0,1fr) 88px minmax(0,1fr) 40px; align-items: center; gap: 12px; min-height: 90px; padding: 14px 0; }
.roster-rank { display: grid; justify-items: center; align-content: center; gap: 0; }
.roster-rank small { color: #9fc4cd; font-size: 10px; line-height: 1; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.roster-rank strong { color: #9be1e9; font-size: 42px; line-height: .95; font-weight: 800; }
.roster-member .member-rank { grid-column: 4 / 6; justify-self: end; min-width: 0; max-width: 100%; }
.roster-member .member-rank .rank-insignia { width: 58px; height: 58px; }
.event-banner-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.event-banner-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.event-delete-button { border-color: #ad5a63; background: #522932; color: #ffd1d6; font-weight: 750; }
.event-delete-button:hover { background: #69303c; border-color: #dc7881; }
.event-edit-contract { min-width: 0; margin: 6px 0; padding: 14px; border: 1px solid #42606e; border-radius: 12px; }
.event-edit-contract legend { color: #bfe2e7; font-weight: 700; padding: 0 5px; }
.hub-roles .carousel-page:first-child .member:first-child { padding-top: 0; }

.rank-place {
  width: 25px;
  flex: none;
  color: #a5e7ec;
  font-size: 17px;
  font-weight: 800;
  text-align: center;
}

.role-select {
  max-width: 115px;
  min-height: 40px;
  padding: 7px 8px;
  border: 1px solid #507180;
  border-radius: 9px;
  color: #e8f5f7;
  background: #1e3543;
  font-size: 12px;
}

.next-event-card {
  width: 100%;
  display: grid;
  gap: 4px;
  padding: 10px 12px;
  margin-bottom: 14px;
  text-align: left;
  border: 1px solid #5b94a1;
  border-radius: 12px;
  color: #e9f6f7;
  background: linear-gradient(110deg, #25485a, #1b3445);
}

.next-event-card:not(.empty-next) { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.next-event-open { display: flex; flex: 1; min-width: 0; align-items: center; justify-content: space-between; gap: 8px; padding: 0; border: 0; background: transparent; color: inherit; text-align: left; }
.next-event-pledge { display: grid; place-items: center; flex: none; width: 38px; height: 38px; border: 1px solid #83dce4; border-radius: 50%; background: #215466; color: #e8fbfc; font-size: 23px; font-weight: 800; }
.next-event-pledge:hover { background: #337487; }
.next-event-text { display: grid; flex: 1; gap: 3px; min-width: 0; }
.next-event-title-row { display: flex; align-items: baseline; flex-wrap: wrap; gap: 3px 12px; min-width: 0; }
.next-event-title-row strong { font-size: 15px; }
.next-event-type { color: #b6e2eb; font-size: 11px; font-weight: 700; }
.next-event-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 10px; color: #afcbd3; font-size: 11px; }
.next-event-creator { display: inline-flex; align-items: center; gap: 5px; }
.next-event-creator-avatar { display: grid; place-items: center; flex: none; width: 20px; height: 20px; overflow: hidden; border-radius: 50%; background: #37566a; color: #eaffff; font-size: 9px; font-weight: 800; }
.next-event-creator-avatar img { width: 100%; height: 100%; object-fit: cover; }
.contract-icon { width: 20px; height: 20px; flex: none; display: block; object-fit: contain; }
.next-event-icon { width: 48px; height: 48px; }
.mini-contract-icon { width: 17px; height: 17px; }
.month-contract-icon { width: 21px; height: 21px; }
.month-date-line { display: flex; width: 100%; align-items: center; justify-content: space-between; }
.contract-type { display: inline-flex; align-items: center; gap: 7px; }
.current-contract { border-color: #83dce4; }
.contract .current-activity-note { color: #9ee5e9; font-size: 12px; font-weight: 700; }
.contract [data-current-contract] { margin-top: 10px; }

.next-event-card strong {
  font-size: 16px;
}

.empty-next span:last-child {
  color: #afcbd3;
  font-size: 12px;
}

.next-event-card:not(.empty-next):hover {
  border-color: #8ce1e8;
}

.empty-next {
  cursor: default;
}

.day-calendar-bar { display: flex; align-items: center; gap: 7px; margin-bottom: 12px; }
.day-calendar-bar strong { flex: 1; min-width: 0; text-align: center; font-size: 12px; line-height: 1.25; }
.day-calendar-bar .ghost { min-width: 34px; min-height: 34px; padding: 6px 9px; }
.day-timeline-scroll { max-height: min(64vh, 560px); overflow-y: auto; border: 1px solid #355261; border-radius: 10px; background: #132633; scrollbar-color: #4d7180 #132633; }
.day-timeline { position: relative; height: 1440px; }
.day-hour { position: absolute; left: 0; right: 0; height: 60px; border-top: 1px solid #38515f; color: #99b8c2; font-size: 10px; }
.day-hour span { display: block; width: 48px; padding: 4px 4px 0 7px; }
.day-event-layer { position: absolute; top: 0; bottom: 0; left: 48px; right: 6px; }
.day-event { position: absolute; z-index: 1; display: flex; align-items: flex-start; gap: 6px; overflow: hidden; min-width: 0; padding: 5px 6px; text-align: left; border: 1px solid #79c9d4; border-radius: 6px; color: #e7f7f8; background: #2a5666; }
.day-event:hover,.day-event:focus-visible { z-index: 2; border-color: #b9f5f9; background: #386e7c; }
.day-event .contract-icon { width: 17px; height: 17px; }
.day-event-text { display: grid; gap: 2px; min-width: 0; }
.day-event-text strong,.day-event-text small { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.day-event-text strong { font-size: 11px; }
.day-event-text small { color: #c4e4e9; font-size: 10px; }
.day-event.compact { align-items: center; padding-top: 1px; padding-bottom: 1px; }
.day-event.compact .day-event-text small { display: none; }

.mini-calendar-bar {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) 40px;
  align-items: center;
  gap: 5px;
  margin-bottom: 10px;
}

.mini-calendar-bar strong {
  font-size: 13px;
  letter-spacing: .04em;
  text-align: center;
}

.mini-calendar-bar .ghost {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  padding: 0;
  font-size: 20px;
}

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

.mini-weekday {
  padding: 4px 0;
  color: #97aeb9;
  font-size: 10px;
  text-align: center;
}

.mini-day {
  min-width: 0;
  min-height: 0;
  width: 100%;
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  border: 1px solid #354b59;
  border-radius: 6px;
  color: #e0edf0;
  background: #1b2d39;
  font-size: 12px;
  overflow: hidden;
}

.mini-day.outside {
  opacity: .38;
}

.mini-day.selected {
  border-color: #8ddfe6;
  background: #315362;
}

.mini-day.today span {
  color: #88e1e7;
  font-weight: 800;
}

.job-picker {
  min-width: 0;
  margin: 0;
  padding: 11px 12px 12px;
  border: 1px solid #3a5262;
  border-radius: 10px;
}

.job-picker legend {
  padding: 0 5px;
  color: #bbd0d8;
  font-size: 13px;
}

.job-options,
.job-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.job-choice {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 40px;
  padding: 9px 11px;
  border: 1px solid #405a69;
  border-radius: 8px;
  color: #d9eaee;
  background: #203644;
  font-size: 12px;
}

.job-choice input {
  accent-color: #75d5df;
}

.favorite-summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 14px 0;
}

@media (max-width: 980px) {
  .hub-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .hub-progress,.hub-roles,.hub-calendar { grid-column: auto; grid-row: auto; }
  .hub-calendar {
    order: 0;
  }
}

@media (max-width: 520px) {
  .player-org-entry { display: grid; gap: 0; grid-template-columns: minmax(0,1fr); }
  .player-org-entry .player-org-row { padding-bottom: 3px; }
  .player-org-leave { justify-self: end; margin-bottom: 8px; }
  .hub-progress .statline { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .hub-progress .stat { min-height: 92px; padding: 8px 5px; }
  .hub-progress .stat small { font-size: 11px; line-height: 1.25; }
  .hub-progress .progress-rank { grid-column: auto; min-height: 92px; }
  .hub-progress .progress-rank strong { font-size: 56px; }
  .participant-row { display: grid; grid-template-columns: 39px minmax(0,1fr); gap: 6px 9px; }
  .participant-row .member-rank { grid-column: 2; justify-content: flex-start; }
  .next-event-icon { width: 42px; height: 42px; }
  .player-hub-profile { gap: 12px; }
  .player-hub-profile .profile-mark { width: 64px; height: 64px; border-radius: 16px; font-size: 30px; }
  .player-hub-profile h1 { font-size: 20px; }
  .org-hero:has(.org-hero-actions:not(:empty)) { padding-top: 68px; padding-right: 17px; }
  .org-hero-actions { top: 12px; right: 12px; }
  .org-hero-actions .ghost { padding: 8px; font-size: 11px; }
  .day-calendar-bar { gap: 4px; }
  .day-calendar-bar strong { font-size: 11px; }
  .day-calendar-bar .ghost { min-width: 30px; padding: 5px 7px; }
  .day-hour span { width: 41px; padding-left: 4px; }
  .day-event-layer { left: 41px; right: 3px; }
  .day-event { gap: 3px; padding-left: 3px; padding-right: 3px; }
  .day-event .contract-icon { width: 14px; height: 14px; }
  .member-rank { gap: 5px; }
  .member-rank .rank-insignia { width: 34px; height: 34px; font-size: 9px; }
  .roster-member { grid-template-columns: 39px minmax(0,1fr) 48px; gap: 8px; }
  .roster-member .member-rank { grid-column: 2 / 4; justify-self: end; justify-content: flex-end; }
  .roster-member .member-rank .rank-insignia { width: 50px; height: 50px; }
  .roster-rank strong { font-size: 36px; }
  .next-event-open { gap: 6px; }
  .next-event-pledge { width: 34px; height: 34px; font-size: 20px; }
  .org-hero-role { right: 12px; bottom: 10px; }
  .member-rank .role-name { font-size: 10px; }
  .member-rank .role-select { max-width: 96px; font-size: 11px; }
  .mini-grid {
    gap: 3px;
  }

  .mini-day {
    min-height: 0;
    padding: 1px;
    gap: 2px;
    font-size: 10px;
  }
  .mini-contract-icon { width: 14px; height: 14px; }

  .carousel-page {
    min-height: 0;
  }

  .insignia-grid { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .player-hub-grid { grid-template-columns: 1fr; }
}
@media (max-width: 800px) {
  .player-hub-profile { flex-wrap: wrap; }
  .player-hub-representation { flex: 0 0 100%; max-width: none; }
}

html.org-unlawful body { background: radial-gradient(circle at 85% 0%, #47202d 0, transparent 37%), #130e15; }
.org-unlawful .rail { background: #1b131c; border-color: #54313d; }
.org-unlawful .brand { background: linear-gradient(145deg, #a64e63, #3a1e2b); }
.org-unlawful .rail-add, .org-unlawful .org-dot { background: #3b2430; border-color: #774452; color: #ffe2e6; }
.org-unlawful .bottom-nav { background: #20151eea; border-color: #54313d; }
.org-unlawful .topbar { border-color: #54313d; }
.org-unlawful .card { border-color: #6b3d4a; background: linear-gradient(145deg, #35202c, #231923); }
.org-unlawful .org-hero { background: radial-gradient(circle at 85% 30%, #9f425677, transparent 38%), linear-gradient(120deg, #572c3b, #241923 72%); }
.org-unlawful .card-head { border-color: #69404b; }
.org-unlawful .card-head h2, .org-unlawful .kicker, .org-unlawful .eyebrow { color: #f0acb5; }
.org-unlawful .org-hero p, .org-unlawful .member-main small, .org-unlawful .month-weekday, .org-unlawful .mini-weekday { color: #dfb7c0; }
.org-unlawful .link, .org-unlawful .bottom-nav button.active, .org-unlawful .org-hero-role small { color: #f0acb5; }
.org-unlawful .stat, .org-unlawful .avatar, .org-unlawful .profile-mark { background: #58313e; }
.org-unlawful .ghost, .org-unlawful .icon-button, .org-unlawful .role-select { border-color: #824755; background: #3c2530; color: #ffe3e6; }
.org-unlawful .btn:not(.danger) { border-color: #e18b98; background: #e996a1; color: #2c111a; }
.org-unlawful .btn.secondary { background: #59313f; color: #ffe2e6; border-color: #9f5968; }
.org-unlawful .field input, .org-unlawful .field select, .org-unlawful .field textarea { border-color: #80505d; background: #211620; }
.org-unlawful .badge, .org-unlawful .time-pill, .org-unlawful .month-event { background: #673844; color: #ffe2e6; }
.org-unlawful .next-event-card, .org-unlawful .event-banner { border-color: #af6876; background: linear-gradient(110deg, #643345, #32212c); }
.org-unlawful .event-card { border-color: #744553; background: #3b2631; }
.org-unlawful .event-card:hover { border-color: #eca1ad; }
.org-unlawful .member { border-color: #62404a; }
.org-unlawful .player-name-button:hover, .org-unlawful .rank-permission { color: #ffb3be; }
.org-unlawful .next-event-type, .org-unlawful .progress-rank strong, .org-unlawful .roster-rank strong, .org-unlawful .profile-xp-rank strong, .org-unlawful .rank-place { color: #ffb3be; }
.org-unlawful .next-event-pledge { border-color: #f0a4ae; background: #853e50; }
.org-unlawful .month-day, .org-unlawful .mini-day { border-color: #734653; background: #34212d; }
.org-unlawful .month-day.selected, .org-unlawful .mini-day.selected { border-color: #eca1ad; background: #673b49; box-shadow: inset 0 0 0 1px #eca1ad; }
.org-unlawful .month-day.today .date-number { background: #e996a1; color: #2c111a; }
.org-unlawful .mini-day.today span, .org-unlawful .month-more { color: #ffb3be; }
.org-unlawful .day-timeline-scroll { border-color: #774a57; background: #291c26; scrollbar-color: #9a6471 #291c26; }
.org-unlawful .day-hour { border-color: #5b3b47; }
.org-unlawful .day-event { border-color: #e69aa5; background: #814457; }
.org-unlawful .day-event:hover, .org-unlawful .day-event:focus-visible { border-color: #ffd5da; background: #9a5265; }
.org-unlawful .contract { border-color: #774b58; background: #392532; }
.org-unlawful .message { border-color: #d38190; }
.org-unlawful .current-contract { border-color: #f0a4ae; }
.org-unlawful .contract-icon { filter: brightness(0) saturate(100%) invert(79%) sepia(18%) saturate(1483%) hue-rotate(297deg) brightness(102%) contrast(99%); }
.org-unlawful .insignia-editor, .org-unlawful .insignia-edit-row, .org-unlawful .org-danger-zone { border-color: #774b58; }
.org-unlawful dialog { border-color: #9a5d6b; background: #2b1c28; }

html.has-custom-background body,
html.org-unlawful.has-custom-background body {
  background-color: #090f1c;
  background-image: linear-gradient(rgba(4, 10, 18, var(--background-dim, .65)), rgba(4, 10, 18, var(--background-dim, .65))), var(--app-background-image);
  background-position: center;
  background-size: cover;
  background-attachment: fixed;
}
.settings-sections { display: grid; gap: 18px; }
.settings-stack { display: grid; gap: 16px; }
.settings-stack > p { margin: 0; }
.settings-install-button { justify-self: start; }
.install-guides { display: grid; gap: 8px; }
.install-guides p { margin: 0; color: #c2d5dc; font-size: 13px; line-height: 1.4; }
.settings-stack > div > strong { display: block; margin-bottom: 10px; }
.settings-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px 18px; }
.settings-check { min-height: 28px; }
.settings-stack details { padding: 12px; border: 1px solid #3a5262; border-radius: 10px; }
.settings-stack details summary { cursor: pointer; color: #d7eef1; font-weight: 700; }
.settings-stack details .settings-stack { margin-top: 14px; }
.settings-fieldset { min-width: 0; padding: 12px; border: 1px solid #3a5262; border-radius: 10px; }
.settings-fieldset legend { padding: 0 5px; color: #c7e7eb; font-weight: 700; }
.background-picker { display: grid; grid-template-columns: repeat(auto-fill,minmax(145px,1fr)); gap: 10px; }
.background-choice { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; padding: 0; border: 2px solid #48606e; border-radius: 11px; background: #0b1622; }
.background-choice img, .plain-background-preview { display: block; width: 100%; height: 100%; object-fit: cover; }
.plain-background-preview { background: radial-gradient(circle at 85% 0%, #1a3a55 0, transparent 42%), #090f1c; }
.background-choice.selected { border-color: #99e8ec; box-shadow: 0 0 0 2px #99e8ec66; }
.background-choice.selected::after { content: '✓'; position: absolute; right: 7px; top: 7px; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: #9be1e9; color: #102b37; font-size: 14px; font-weight: 900; }
.settings-page input[type="range"] { width: 100%; accent-color: #7bd9e2; }
.settings-page output { font-size: 12px; color: #b6d8de; }
.settings-page button:disabled { opacity: .48; cursor: not-allowed; }
html.text-large .card-body, html.text-large .page-head p, html.text-large .field, html.text-large .checkline { font-size: 1.1rem; }
html.text-small .card-body, html.text-small .page-head p, html.text-small .field, html.text-small .checkline { font-size: .85rem; }
html.reduced-motion *, html.reduced-motion *::before, html.reduced-motion *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
@media (max-width: 520px) { .settings-grid { grid-template-columns: 1fr; } .background-picker { grid-template-columns: repeat(2,minmax(0,1fr)); } }

/* The profile portrait anchors the navigation bar at the edge of the rail. */
.bottom-nav {
  left: 0;
  right: 0;
  max-width: 1440px;
  height: calc(78px + env(safe-area-inset-bottom));
  padding: 5px max(8px, env(safe-area-inset-right)) calc(5px + env(safe-area-inset-bottom)) max(8px, env(safe-area-inset-left));
  align-items: center;
  justify-content: flex-start;
  background: transparent;
  border: 0;
  backdrop-filter: none;
  pointer-events: none;
}
.bottom-nav .nav-profile {
  position: absolute;
  top: 8px;
  left: max(8px, env(safe-area-inset-left));
  z-index: 1;
  width: 62px;
  height: 62px;
  min-width: 0;
  padding: 0;
  overflow: hidden;
  display: grid;
  place-items: center;
  border: 2px solid #344e60;
  border-radius: 50%;
  background: #31415f;
  color: #eaffff;
  font-size: 21px;
  font-weight: 800;
  box-shadow: 0 5px 20px #0007;
  pointer-events: auto;
}
.bottom-nav .nav-profile.active {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px #0e1925, 0 5px 20px #0009;
}
.bottom-nav .nav-profile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}
.bottom-nav .nav-links {
  flex: 1;
  min-width: 0;
  margin-left: 31px;
  height: 59px;
  display: flex;
  align-items: stretch;
  padding-left: 38px;
  overflow: hidden;
  border: 1px solid #34495a;
  border-radius: 19px;
  background: #0e1925f2;
  backdrop-filter: blur(18px);
  box-shadow: 0 5px 20px #0005;
  pointer-events: auto;
}
.bottom-nav .nav-links button {
  flex: 1;
  min-width: 0;
  padding: 6px 2px;
}
.profile-head-actions { display: flex; align-items: center; gap: 8px; }
.profile-settings-button { min-width: 43px; font-size: 21px; line-height: 1; }
.org-unlawful .bottom-nav { background: transparent; border: 0; }
.org-unlawful .bottom-nav .nav-links { background: #20151ef2; border-color: #54313d; }
.org-unlawful .bottom-nav .nav-profile { border-color: #774452; }
.org-unlawful .bottom-nav .nav-profile.active { border-color: var(--accent); }

@media (max-width: 520px) {
  .bottom-nav { left: 0; right: 0; }
  .bottom-nav .nav-links { justify-content: center; gap: 0; padding-left: 23px; padding-right: 0; }
  .bottom-nav .nav-links button { flex: 0 1 calc(25vw - 6px); font-size: 11px; }
  .profile-head-actions .btn { white-space: nowrap; }
}

.notice-phone, .stat-label-phone { display: none; }
.agenda-section-gap { height: 18px; }

@media (max-width: 520px) {
  .rail { width: 54px; padding: 14px 5px; }
  .main { padding-left: 10px; padding-right: 10px; }
  .page { padding-top: 14px; }
  .page .card { border-radius: 16px; }
  .page .card-head { padding: 12px 14px; }
  .page .card-head h2 { font-size: 12px; }
  .page .card-body { padding: 13px 14px; }
  .notice { margin-bottom: 12px; padding: 9px 11px; line-height: 1.35; }
  .notice-desktop, .stat-label-desktop { display: none; }
  .notice-phone, .stat-label-phone { display: inline; }

  .org-hero:not(.editing),
  .org-hero:not(.editing):has(.org-hero-actions:not(:empty)) {
    min-height: 0;
    grid-template-columns: 44px minmax(0, 1fr);
    align-items: start;
    column-gap: 11px;
    row-gap: 9px;
    padding: 13px;
  }
  .org-hero:not(.editing) .org-hero-actions {
    position: static;
    grid-column: 1 / -1;
    display: flex;
    justify-self: end;
    gap: 6px;
  }
  .org-hero:not(.editing) .org-hero-actions:empty { display: none; }
  .org-hero:not(.editing) .org-hero-actions .ghost { padding: 7px 9px; font-size: 11px; }
  .org-hero:not(.editing) > .hero-logo { width: 44px; height: 44px; }
  .org-hero:not(.editing) .kicker { display: none; }
  .org-hero:not(.editing) h1 { margin: 0 0 4px; font-size: 18px; line-height: 1.15; }
  .org-hero:not(.editing) p { margin: 4px 0 0; font-size: 11px; line-height: 1.3; }
  .org-hero:not(.editing) .org-hero-summary { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
  .org-hero:not(.editing) .org-founded { font-size: 10px; }
  .org-hero:not(.editing) .org-hero-role {
    grid-column: 1 / -1;
    justify-self: stretch;
    justify-content: flex-end;
    gap: 7px;
    padding-top: 8px;
    border-top: 1px solid #ffffff26;
  }
  .org-hero:not(.editing) .org-hero-role small { font-size: 9px; }
  .org-hero:not(.editing) .org-hero-role strong { font-size: 14px; }
  .org-hero:not(.editing) .org-hero-role .rank-insignia { width: 36px; height: 36px; }

  .hub-grid { gap: 12px; margin-top: 12px; }
  .hub-progress .card-body { min-height: 0; padding: 10px 12px; }
  .hub-progress .statline { grid-template-columns: 1fr 1fr .85fr; gap: 7px; }
  .hub-progress .stat { min-height: 67px; padding: 6px 3px; }
  .hub-progress .stat strong { font-size: 19px; }
  .hub-progress .stat small { font-size: 10px; line-height: 1.15; white-space: nowrap; }
  .hub-progress .progress-rank { min-height: 67px; }
  .hub-progress .progress-rank strong { font-size: 46px; }
  .hub-roles .member { padding: 8px 0; }
  .hub-roles .member .avatar { width: 34px; height: 34px; }
  .hub-roles .member-main small { font-size: 11px; }
  .hub-roles .member-rank .rank-insignia { width: 36px; height: 36px; }
  .hub-roles .carousel-page:nth-child(2) > p { display: none; }
  .hub-roles .carousel-page:nth-child(2) .member { padding: 6px 0; }
  .hub-roles .carousel-page:nth-child(2) .rank-place { width: 20px; font-size: 15px; }
  .hub-roles .carousel-page:nth-child(2) .rank-insignia { width: 32px; height: 32px; }
  .hub-roles .carousel-controls { padding-top: 7px; }
  .hub-roles .carousel-controls .ghost { width: 32px; height: 32px; }
}

@media (max-width: 520px) {
  .agenda-page .page-head,
  .members-page .page-head,
  .player-hub .page-head,
  .profile-page .page-head,
  .player-profile-page .page-head,
  .settings-page .page-head { align-items: center; margin-bottom: 13px; }
  .agenda-page .page-head p,
  .members-page .page-head p,
  .player-hub .page-head p { display: none; }
  .agenda-page .page-head h1 { font-size: 22px; }
  .agenda-page .page-head .btn { flex: none; white-space: nowrap; padding: 9px 10px; }
  .agenda-page .month-toolbar { gap: 5px; margin-bottom: 10px; }
  .agenda-page .month-toolbar .ghost { min-height: 34px; padding: 6px 2px; font-size: 10px; }
  .agenda-page .month-weekday { padding-bottom: 5px; }
  .agenda-page .event-card { gap: 9px; padding: 10px; }
  .agenda-page .time-pill { min-width: 52px; padding: 7px 5px; }
  .agenda-section-gap { height: 12px; }

  .members-page .card-head .ghost { padding: 8px 10px; font-size: 12px; }
  .members-page .roster-member {
    grid-template-columns: 36px minmax(0, 1fr) 62px;
    grid-template-rows: auto 30px;
    gap: 3px 9px;
    min-height: 0;
    padding: 8px 0;
  }
  .members-page .roster-member > .avatar { grid-column: 1; grid-row: 1 / 3; align-self: center; width: 36px; height: 36px; }
  .members-page .roster-member .member-main { grid-column: 2; grid-row: 1; align-self: end; }
  .members-page .roster-member .member-main strong { font-size: 14px; }
  .members-page .roster-member .member-main small { font-size: 11px; line-height: 1.25; }
  .members-page .roster-member .roster-rank {
    grid-column: 2;
    grid-row: 2;
    display: flex;
    align-items: center;
    justify-self: start;
    gap: 6px;
  }
  .members-page .roster-member .roster-rank strong { font-size: 30px; }
  .members-page .roster-member .member-rank {
    grid-column: 3;
    grid-row: 1 / 3;
    justify-self: stretch;
    align-self: stretch;
    display: grid;
    justify-items: center;
    align-content: center;
    gap: 2px;
    padding-left: 6px;
    border-left: 1px solid #ffffff25;
  }
  .members-page .roster-member .member-rank .rank-insignia { width: 32px; height: 32px; }
  .members-page .roster-member .role-name {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-align: center;
    font-size: 10px;
  }

  .profile-page .profile-layout,
  .player-profile-page .profile-layout { gap: 11px; }
  .profile-page .profile-mark,
  .player-profile-page .profile-mark { width: 70px; height: 70px; border-radius: 19px; font-size: 34px; }
  .profile-page .profile-layout .statline,
  .player-profile-page .profile-layout .statline { grid-template-columns: repeat(3, minmax(0,1fr)); gap: 6px; }
  .profile-page .profile-layout .stat,
  .player-profile-page .profile-layout .stat { min-width: 0; min-height: 83px; padding: 7px 4px; display: grid; align-content: center; justify-items: center; text-align: center; }
  .profile-page .profile-layout .profile-rank,
  .player-profile-page .profile-layout .profile-rank { gap: 3px; }
  .profile-page .profile-layout .profile-rank .rank-insignia,
  .player-profile-page .profile-layout .profile-rank .rank-insignia { width: 30px; height: 30px; }
  .profile-page .profile-layout .profile-rank strong,
  .player-profile-page .profile-layout .profile-rank strong { font-size: 12px; }
  .profile-page .profile-layout .profile-rank small,
  .player-profile-page .profile-layout .profile-rank small { display: none; }
  .profile-page .profile-layout .stat > small,
  .player-profile-page .profile-layout .stat > small { font-size: 10px; line-height: 1.1; }
  .profile-page .profile-layout .profile-xp-rank strong,
  .player-profile-page .profile-layout .profile-xp-rank strong { font-size: 34px; }
  .profile-page .profile-layout p,
  .player-profile-page .profile-layout p { margin: 10px 0; font-size: 13px; line-height: 1.35; }
  .profile-page .profile-representation,
  .player-profile-page .profile-representation { margin: 10px 0; }
  .profile-page .favorite-summary,
  .player-profile-page .favorite-summary { margin: 10px 0; gap: 6px; font-size: 13px; }
  .profile-page .favorite-summary .badge,
  .player-profile-page .favorite-summary .badge { padding: 4px 7px; }

  .player-hub > .card { margin: 0 0 12px; }
  .player-hub-grid,
  .player-hub-grid > div { gap: 12px; }
  .player-hub-profile { display: grid; grid-template-columns: 56px minmax(0,1fr); align-items: start; gap: 10px; min-height: 0; }
  .player-hub-profile .profile-mark { width: 56px; height: 56px; border-radius: 16px; }
  .player-hub-profile-details { grid-column: 2; }
  .player-hub-profile-details h1 { margin: 0 0 3px; font-size: 18px; }
  .player-hub-profile-details p { margin: 2px 0; font-size: 11px; }
  .player-hub-profile-details p:nth-of-type(2) { display: none; }
  .player-hub-profile-details .ghost { display: none; }
  .player-hub-representation { grid-column: 1 / -1; padding-top: 9px; border-top: 1px solid #ffffff24; gap: 5px; }
  .player-hub-representation .player-org-logo { width: 32px; height: 32px; }
  .player-hub-representation-choice { grid-template-columns: 32px minmax(0,1fr); }
  .player-org-entry .player-org-row { gap: 7px; padding: 8px 0; }
  .player-org-entry .player-org-logo { width: 34px; height: 34px; }
  .player-org-entry .player-org-text strong { font-size: 13px; line-height: 1.2; }
  .player-org-entry .player-org-rank { width: 32px; }
  .player-org-entry .player-org-rank strong { font-size: 24px; }
  .player-org-entry .rank-insignia { width: 34px; height: 34px; }
  .player-find-button { margin-top: 8px; padding: 9px; }

  .event-page .event-banner { padding: 13px; margin: 11px 0 12px !important; }
  .event-page .event-banner-top { flex-wrap: wrap; gap: 7px; }
  .event-page .event-banner-actions { gap: 5px; }
  .event-page .event-banner-actions .ghost { padding: 7px 9px; font-size: 11px; }
  .event-page .event-banner h1 { margin: 8px 0 5px; font-size: 22px; }
  .event-page .event-banner .muted { font-size: 12px; line-height: 1.35; }
  .event-page .event-banner p { margin: 10px 0; font-size: 13px; }
  .event-page .event-banner .row { gap: 6px; }
  .event-page .event-banner .row .btn { padding: 8px 10px; font-size: 12px; }
  .event-page .stack,
  .event-page .grid { gap: 12px; }
  .event-page .contract { padding: 10px; margin-bottom: 8px; }

  .settings-page .settings-sections { gap: 12px; }
  .settings-page .settings-stack { gap: 12px; }
  .settings-page .settings-grid { gap: 5px; }
  .settings-page .settings-check { min-height: 26px; }
  .settings-page .background-picker {
    display: flex;
    gap: 8px;
    margin: 0 -2px;
    padding: 2px 2px 8px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: x proximity;
    scrollbar-width: thin;
  }
  .settings-page .background-choice { flex: 0 0 112px; scroll-snap-align: start; }
}

@media (max-width: 360px) {
  .members-page .roster-member { grid-template-columns: 32px minmax(0, 1fr) 52px; column-gap: 6px; }
  .members-page .roster-member > .avatar { width: 32px; height: 32px; }
  .members-page .roster-member .member-main small { font-size: 9.5px; }
  .members-page .roster-member .member-rank { padding-left: 4px; }
  .members-page .roster-member .member-rank .rank-insignia { width: 30px; height: 30px; }
  .profile-page .page-head,
  .player-profile-page .page-head { display: grid; grid-template-columns: minmax(0,1fr); gap: 8px; }
  .profile-page .page-head h1,
  .player-profile-page .page-head h1 { overflow-wrap: anywhere; }
  .profile-head-actions { justify-content: flex-start; }
}

@media (max-width: 520px) {
  .profile-page .profile-view-layout,
  .player-profile-page .profile-view-layout {
    grid-template-columns: 70px minmax(0, 1fr);
    gap: 0;
  }
  .profile-page .profile-view-layout > .profile-mark,
  .player-profile-page .profile-view-layout > .profile-mark {
    grid-column: 1;
    grid-row: 1;
    align-self: center;
    z-index: 1;
  }
  .profile-view-layout > div:last-child { display: contents; }
  .profile-page .profile-view-layout > div:last-child > .statline,
  .player-profile-page .profile-view-layout > div:last-child > .statline {
    grid-column: 1 / -1;
    grid-row: 1;
    height: 70px;
    margin-left: 35px;
    padding: 5px 5px 5px 40px;
    gap: 0;
    background: #203847;
    border: 1px solid #3b5663;
    border-radius: 0 15px 15px 0;
  }
  .profile-view-layout > div:last-child > :not(.statline) { grid-column: 1 / -1; }
  .profile-page .profile-view-layout .stat,
  .player-profile-page .profile-view-layout .stat {
    min-height: 0;
    height: 100%;
    padding: 0 2px;
    border-radius: 0;
    background: transparent;
  }
  .profile-view-layout .stat + .stat { border-left: 1px solid #ffffff24; }
  .profile-page .profile-view-layout .profile-rank .rank-insignia,
  .player-profile-page .profile-view-layout .profile-rank .rank-insignia { width: 20px; height: 20px; }
  .profile-page .profile-view-layout .profile-rank strong,
  .player-profile-page .profile-view-layout .profile-rank strong {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 10px;
  }
  .profile-page .profile-view-layout .stat:not(.profile-xp-rank):not(.profile-rank) strong,
  .player-profile-page .profile-view-layout .stat:not(.profile-xp-rank):not(.profile-rank) strong { font-size: 18px; }
  .profile-page .profile-view-layout .stat > small,
  .player-profile-page .profile-view-layout .stat > small { font-size: 9px; }
  .profile-page .profile-view-layout .profile-xp-rank strong,
  .player-profile-page .profile-view-layout .profile-xp-rank strong { font-size: 29px; line-height: 1; }
  .profile-page .profile-view-layout .profile-representation,
  .player-profile-page .profile-view-layout .profile-representation { margin: 10px 0 4px; }
  .profile-page .profile-view-layout p,
  .player-profile-page .profile-view-layout p { margin: 7px 0; }
  .profile-page .profile-view-layout .favorite-summary,
  .player-profile-page .profile-view-layout .favorite-summary { margin: 7px 0; }
  .org-unlawful .profile-view-layout .statline { background: #58313e; border-color: #774b58; }
}
