:root {
  --bg: #03090d;
  --panel: rgba(12, 18, 22, .86);
  --panel-2: rgba(17, 24, 29, .94);
  --line: rgba(255, 255, 255, .08);
  --line-strong: rgba(255, 255, 255, .13);
  --text: #f5f8f2;
  --muted: #a7b0a9;
  --green: #7cff28;
  --green-soft: rgba(124, 255, 40, .16);
  --yellow: #ffb41f;
  --red: #ff3838;
  --blue: #79d9ff;
  --shadow: 0 24px 80px rgba(0, 0, 0, .55);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  font-family: "Barlow", Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 68% 0%, rgba(124, 255, 40, .08), transparent 28%),
    radial-gradient(circle at 80% 22%, rgba(255, 113, 31, .13), transparent 24%),
    linear-gradient(135deg, rgba(2, 8, 12, .94), rgba(2, 8, 11, .74)),
    url("https://images.unsplash.com/photo-1534190760961-74e8c1c5c3da?auto=format&fit=crop&w=2200&q=88") center top / cover fixed;
  overflow-x: hidden;
}

body.characters-view-active {
  height: 100vh;
  overflow: hidden;
}

body.characters-view-active .app-shell {
  height: 100vh;
  min-height: 0;
  overflow: hidden;
}

body.characters-view-active .dashboard {
  height: 100vh;
  overflow: hidden;
}

body.characters-view-active .sidebar {
  overflow: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .025) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, .018) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, .7), transparent 75%);
  z-index: 0;
}

.login-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.login-card {
  width: min(420px, 100%);
  display: grid;
  gap: 18px;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 18px;
  background: rgba(9, 16, 28, .88);
  box-shadow: var(--shadow);
}

.login-card h1 {
  margin: 8px 0 0;
  color: #fff;
  font-size: 34px;
}

.login-card p {
  margin: 0;
  color: rgba(236, 242, 255, .72);
  line-height: 1.5;
}

.login-card label {
  display: grid;
  gap: 8px;
  color: rgba(236, 242, 255, .78);
  font-size: 14px;
  font-weight: 700;
}

.login-card input {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 12px;
  background: rgba(255, 255, 255, .06);
  color: #fff;
  padding: 14px 15px;
  font: inherit;
  outline: none;
}

.login-card input:focus {
  border-color: rgba(68, 155, 255, .75);
  box-shadow: 0 0 0 4px rgba(68, 155, 255, .12);
}

.login-card button {
  border: 0;
  border-radius: 13px;
  padding: 15px 18px;
  background: linear-gradient(135deg, #3285ff, #25d2ff);
  color: #fff;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.login-error {
  padding: 12px 14px;
  border: 1px solid rgba(255, 98, 98, .28);
  border-radius: 12px;
  background: rgba(255, 98, 98, .12);
  color: #ffb8b8;
  font-weight: 700;
}

.maintenance-card {
  text-align: center;
  justify-items: center;
}

.maintenance-card .server-name {
  justify-self: center;
  align-items: center;
  border-left: 0;
}

.maintenance-status {
  padding: 8px 13px;
  border-radius: 999px;
  color: #ffd8df;
  background: rgba(255, 8, 55, .16);
  border: 1px solid rgba(255, 8, 55, .28);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: 12px;
}

.maintenance-info {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border-radius: 12px;
  color: #d9e1dc;
  background: rgba(255, 255, 255, .045);
  border: 1px solid rgba(255, 255, 255, .09);
  text-align: left;
}

.maintenance-info i {
  width: 10px;
  height: 10px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--ayaz-red);
  box-shadow: 0 0 18px rgba(255, 8, 55, .8);
}

button,
a {
  font: inherit;
}

button {
  border: 0;
  color: inherit;
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

.app-shell {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 294px minmax(0, 1fr);
  min-height: 100vh;
  background: rgba(1, 5, 8, .48);
}

.sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 18px 18px 16px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: rgba(3, 10, 14, .88);
  border-right: 1px solid var(--line-strong);
  box-shadow: 14px 0 60px rgba(0, 0, 0, .34);
}

.brand {
  padding: 0 4px 26px;
  border-bottom: 1px solid var(--line);
}

.brand-logo {
  width: 144px;
  color: #fff;
  text-transform: lowercase;
  line-height: .72;
  letter-spacing: 0;
  font-weight: 900;
  font-size: 38px;
  text-shadow: 3px 3px 0 rgba(0, 0, 0, .8);
  filter: drop-shadow(0 12px 22px rgba(0, 0, 0, .6));
}

.brand-logo span {
  display: block;
}

.brand-logo b {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 28px;
  margin-left: 82px;
  margin-top: -12px;
  font-size: 22px;
  font-family: Georgia, serif;
  color: #e9f6e8;
  border: 2px solid #dfead9;
  background: linear-gradient(160deg, #133a17, #0c160f);
  transform: skewX(-12deg);
}

.server-name {
  margin-top: 28px;
  padding-left: 12px;
  border-left: 1px solid var(--green);
  display: grid;
  gap: 2px;
}

.server-name span {
  font-size: 14px;
  letter-spacing: 2px;
}

.server-name strong {
  font-size: 12px;
  letter-spacing: 3px;
  color: var(--green);
}

.server-name i {
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-top: 6px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 14px var(--green);
}

.nav-list {
  display: grid;
  gap: 6px;
  padding: 16px 0;
}

.nav-item {
  min-height: 42px;
  padding: 0 14px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 16px;
  color: #f4f7f1;
  background: transparent;
  text-align: left;
  font-weight: 500;
  border: 1px solid transparent;
  transition: .18s ease;
}

.nav-item svg {
  width: 19px;
  height: 19px;
}

.nav-item:hover,
.nav-item.active {
  color: var(--green);
  background: linear-gradient(90deg, rgba(124, 255, 40, .2), rgba(124, 255, 40, .08));
  border-color: rgba(124, 255, 40, .15);
  box-shadow: inset -3px 0 0 var(--green);
}

.sidebar-bottom {
  margin-top: auto;
  display: grid;
  gap: 12px;
}

.server-card {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 7px 12px;
  padding: 14px 16px;
  border-radius: 8px;
  background: rgba(16, 23, 28, .72);
  border: 1px solid rgba(255, 255, 255, .04);
}

.server-card div {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
}

.live-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 18px var(--green);
}

.server-card strong {
  color: var(--green);
  font-weight: 800;
}

.server-card small {
  color: #d9dfd8;
  font-size: 15px;
}

.play-button {
  min-height: 70px;
  border-radius: 9px;
  padding: 15px 18px;
  text-align: left;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  background: linear-gradient(135deg, rgba(124, 255, 40, .2), rgba(17, 64, 22, .72));
  border: 1px solid rgba(124, 255, 40, .12);
  box-shadow: 0 18px 42px rgba(0, 0, 0, .3);
}

.play-button span {
  font-size: 22px;
  font-weight: 900;
}

.play-button small {
  grid-column: 1;
  color: #eef7e8;
  font-size: 13px;
}

.play-button svg {
  grid-column: 2;
  grid-row: 1 / 3;
  width: 25px;
  height: 25px;
}

.copyright {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
  font-size: 13px;
}

.socials {
  display: flex;
  justify-content: space-between;
  color: rgba(255, 255, 255, .72);
  padding: 0 14px;
}

.socials svg {
  width: 19px;
  height: 19px;
}

.dashboard {
  padding: 22px 24px;
}

.page {
  display: none;
}

.page.active-page {
  display: block;
}

.hero {
  position: relative;
  min-height: 215px;
  padding: 26px 24px;
  border-radius: 12px;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  background:
    linear-gradient(90deg, rgba(4, 10, 14, .96) 0%, rgba(4, 10, 14, .73) 46%, rgba(4, 10, 14, .16) 100%),
    url("https://images.unsplash.com/photo-1534190760961-74e8c1c5c3da?auto=format&fit=crop&w=1700&q=90") center / cover;
  border: 1px solid rgba(255, 255, 255, .055);
  box-shadow: var(--shadow);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 42%;
  background: linear-gradient(to top, rgba(3, 9, 13, .92), transparent);
  pointer-events: none;
}

.hero-copy,
.top-actions,
.hero-stats {
  position: relative;
  z-index: 1;
}

.hero h1 {
  margin: 0;
  font-size: 30px;
  line-height: 1.05;
  font-weight: 900;
}

.hero p {
  margin: 14px 0 0;
  color: #f2f4ef;
  font-size: 18px;
}

.top-actions {
  display: flex;
  gap: 22px;
  align-items: center;
}

.icon-button,
.profile-menu {
  min-height: 66px;
  border-radius: 9px;
  background: rgba(7, 14, 19, .72);
  border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: 0 15px 36px rgba(0, 0, 0, .28);
}

.icon-button {
  width: 66px;
  display: grid;
  place-items: center;
  position: relative;
}

.icon-button svg {
  width: 25px;
  height: 25px;
}

.notification span {
  position: absolute;
  right: 16px;
  top: 14px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 14px var(--green);
}

.profile-menu-wrap {
  position: relative;
}

.profile-menu {
  min-width: 267px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 13px;
  text-align: left;
}

.profile-menu img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

.profile-menu img.skin-avatar {
  object-fit: cover;
  object-position: center top;
  background: linear-gradient(180deg, rgba(22, 29, 37, .95), rgba(6, 10, 15, .95));
}

.profile-menu span {
  display: grid;
  gap: 3px;
  margin-right: auto;
}

.profile-menu strong {
  font-size: 17px;
  font-weight: 800;
}

.profile-menu small {
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 7px;
}

.profile-menu small i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 12px var(--green);
}

.profile-dropdown {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  z-index: 30;
  min-width: 190px;
  padding: 8px;
  border-radius: 8px;
  background: rgba(8, 13, 18, .96);
  border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: 0 22px 50px rgba(0, 0, 0, .42);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity .18s ease, transform .18s ease;
}

.profile-menu-wrap.open .profile-dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.profile-dropdown a {
  min-height: 46px;
  padding: 0 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: 7px;
  color: #fff;
  font-weight: 800;
}

.profile-dropdown a:hover {
  background: rgba(255, 45, 91, .16);
  color: var(--green);
}

.profile-dropdown svg {
  width: 19px;
  height: 19px;
}

.hero-stats {
  grid-column: 1 / 2;
  align-self: end;
  margin-top: 31px;
  max-width: 940px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  background: rgba(6, 12, 16, .76);
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 9px;
  overflow: hidden;
}

.hero-stats div {
  position: relative;
  min-height: 82px;
  padding: 18px 18px 16px 58px;
}

.hero-stats div + div {
  border-left: 1px solid rgba(255, 255, 255, .06);
}

.hero-stats svg {
  position: absolute;
  left: 21px;
  top: 31px;
  width: 24px;
  height: 24px;
}

.hero-stats div:nth-child(2) svg,
.hero-stats div:nth-child(5) svg {
  color: var(--green);
}

.hero-stats span {
  display: block;
  color: var(--muted);
  font-size: 13px;
}

.hero-stats strong {
  display: block;
  margin-top: 7px;
  font-size: 16px;
}

.hero-stats em {
  font-style: normal;
}

.promo-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 430px;
  gap: 22px;
  margin-top: 22px;
}

.premium-card,
.news-card,
.panel,
.announcement {
  background: var(--panel);
  border: 1px solid var(--line-strong);
  border-radius: 9px;
  box-shadow: 0 18px 54px rgba(0, 0, 0, .29);
}

.premium-card {
  position: relative;
  overflow: hidden;
  min-height: 170px;
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr) minmax(240px, .7fr);
  align-items: center;
  gap: 28px;
  padding: 26px 34px;
  background:
    linear-gradient(120deg, rgba(9, 15, 21, .96), rgba(40, 5, 18, .8)),
    radial-gradient(circle at 86% 40%, rgba(255, 42, 87, .18), transparent 35%);
  border-color: rgba(255, 42, 87, .24);
}

.balance-badge {
  min-height: 116px;
  display: grid;
  place-items: center;
  gap: 12px;
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(255, 42, 87, .22), rgba(255, 255, 255, .035));
  border: 1px solid rgba(255, 255, 255, .1);
}

.balance-badge svg {
  width: 46px;
  height: 46px;
  color: var(--green);
}

.balance-badge span {
  color: #fff;
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.balance-copy {
  min-width: 0;
}

.balance-stats {
  display: grid;
  gap: 10px;
}

.balance-stats div {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 13px;
  border-radius: 7px;
  background: rgba(255, 255, 255, .045);
  border: 1px solid rgba(255, 255, 255, .08);
}

.balance-stats small {
  color: #c8d0cb;
  font-weight: 700;
}

.balance-stats strong {
  white-space: nowrap;
  color: #fff;
}

.premium-card span,
.news-card a {
  color: var(--green);
  font-weight: 800;
}

.premium-card h2 {
  margin: 8px 0 8px;
  font-size: 24px;
}

.premium-card p,
.news-card p {
  color: #c9d0cc;
  margin: 0;
}

.premium-card button {
  margin-top: 17px;
  height: 38px;
  padding: 0 17px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border-radius: 6px;
  color: #f2ffe8;
  background: rgba(124, 255, 40, .22);
  border: 1px solid rgba(124, 255, 40, .28);
  font-weight: 800;
}

.premium-card button svg {
  width: 18px;
}

.news-card {
  overflow: hidden;
  display: grid;
  grid-template-columns: 185px 1fr;
}

.news-card img {
  width: 100%;
  height: 100%;
  min-height: 170px;
  object-fit: cover;
}

.news-card > div {
  padding: 30px 25px;
}

.card-title,
.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.card-title h3,
.panel-head h3 {
  margin: 0;
  font-size: 19px;
  font-weight: 900;
}

.card-title b {
  background: rgba(124, 255, 40, .28);
  color: #e9ffe0;
  font-size: 13px;
  border-radius: 5px;
  padding: 7px 10px;
}

.news-card p {
  margin-top: 22px;
  line-height: 1.5;
}

.news-card a {
  margin-top: 28px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.news-card a svg {
  width: 18px;
}

.dots {
  display: flex;
  gap: 13px;
  margin-top: 28px;
}

.dots span,
.slider-bar span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .28);
}

.dots span.active,
.slider-bar span.active {
  background: var(--green);
  box-shadow: 0 0 12px var(--green);
}

.grid {
  display: grid;
  grid-template-columns: minmax(340px, 1.16fr) minmax(330px, 1fr) 430px;
  gap: 18px;
  margin-top: 18px;
}

.panel {
  padding: 22px;
}

.panel-head button {
  height: 32px;
  padding: 0 12px;
  border-radius: 5px;
  color: #dfe7dd;
  background: rgba(0, 0, 0, .16);
  border: 1px solid var(--line);
  font-weight: 700;
}

.character-panel {
  min-height: 306px;
}

.character-content {
  margin-top: 19px;
  display: grid;
  grid-template-columns: 162px 1fr;
  gap: 24px;
  align-items: center;
}

.character-content img {
  width: 150px;
  height: 190px;
  object-fit: cover;
  border-radius: 7px;
  background: #111;
  mask-image: linear-gradient(to bottom, #000 76%, transparent);
}

.character-content img.skin-home-portrait {
  object-fit: contain;
  object-position: center top;
  padding: 0 8px;
}

.name-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}

.name-line h4,
.vehicle-card h4,
.property-info h4 {
  margin: 0;
  font-size: 21px;
}

.name-line span {
  color: var(--green);
  background: rgba(124, 255, 40, .12);
  border-radius: 5px;
  padding: 5px 8px;
  font-size: 13px;
}

dl {
  margin: 14px 0 0;
  display: grid;
  gap: 12px;
}

dl div {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
}

dt {
  color: #d4dcd3;
  display: flex;
  align-items: center;
  gap: 10px;
}

dt svg {
  width: 16px;
  height: 16px;
  color: var(--yellow);
}

dd {
  margin: 0;
  font-weight: 700;
}

.wide-link {
  margin-top: 14px;
  width: 100%;
  height: 39px;
  border-radius: 6px;
  background: rgba(255, 255, 255, .03);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.wide-link svg {
  width: 18px;
}

.finance-list {
  margin-top: 18px;
  display: grid;
  gap: 6px;
}

.finance-list div {
  position: relative;
  min-height: 56px;
  display: grid;
  grid-template-columns: 46px 1fr auto;
  align-items: center;
  gap: 14px;
}

.finance-list svg {
  width: 42px;
  height: 42px;
  padding: 10px;
  border-radius: 50%;
  color: var(--green);
  background: rgba(124, 255, 40, .1);
}

.finance-list div:first-child svg {
  color: var(--yellow);
  background: rgba(255, 180, 31, .12);
}

.finance-list span {
  font-weight: 700;
}

.finance-list strong {
  font-size: 19px;
}

.finance-list b {
  position: absolute;
  left: 61px;
  bottom: 0;
  width: var(--w);
  height: 3px;
  border-radius: 20px;
  background: var(--green);
  box-shadow: 0 0 15px rgba(124, 255, 40, .4);
}

.finance-list b::after {
  content: "";
  position: absolute;
  left: 0;
  right: -118px;
  top: 0;
  height: 3px;
  background: rgba(255, 255, 255, .08);
  z-index: -1;
}

.inventory-grid {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.inventory-grid div {
  position: relative;
  min-height: 91px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .015));
  border: 1px solid rgba(255, 255, 255, .08);
}

.inventory-grid span {
  font-size: 40px;
  filter: drop-shadow(0 12px 14px rgba(0, 0, 0, .55));
}

.inventory-grid b {
  position: absolute;
  right: 12px;
  bottom: 10px;
}

.vehicle-panel,
.property-panel {
  min-height: 307px;
}

.vehicle-card {
  margin-top: 18px;
  overflow: hidden;
  min-height: 151px;
  display: grid;
  grid-template-columns: 58% 1fr;
  border-radius: 8px;
  background: rgba(0, 0, 0, .22);
  border: 1px solid var(--line);
}

.vehicle-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vehicle-card div {
  padding: 28px 20px;
}

.vehicle-card span {
  display: inline-block;
  margin-top: 12px;
  color: var(--green);
  background: rgba(124, 255, 40, .13);
  border-radius: 5px;
  padding: 5px 9px;
}

.vehicle-card p {
  display: flex;
  align-items: center;
  gap: 11px;
  color: #cbd4cc;
}

.vehicle-card p svg {
  width: 16px;
  height: 16px;
  color: var(--green);
}

.vehicle-card small {
  display: inline-block;
  padding: 6px 9px;
  border-radius: 5px;
  background: rgba(255, 255, 255, .06);
}

.slider-bar {
  margin-top: 12px;
  height: 35px;
  border-radius: 7px;
  background: rgba(255, 255, 255, .025);
  border: 1px solid rgba(255, 255, 255, .035);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  position: relative;
}

.slider-bar button {
  position: absolute;
  right: 8px;
  width: 36px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 5px;
  background: rgba(255, 255, 255, .04);
}

.slider-bar button svg {
  width: 18px;
}

.property-panel img {
  margin-top: 18px;
  width: 100%;
  height: 121px;
  object-fit: cover;
  border-radius: 8px;
}

.property-info {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: end;
  margin-top: 13px;
}

.property-info p {
  margin: 5px 0 0;
  color: #cad2cb;
}

.property-info span {
  color: var(--yellow);
  background: rgba(255, 180, 31, .12);
  padding: 6px 9px;
  border-radius: 5px;
  font-size: 13px;
  font-weight: 800;
}

.centered {
  justify-content: center;
  margin-top: 19px;
}

.transactions-panel {
  grid-row: span 2;
}

.transactions {
  margin-top: 13px;
  display: grid;
}

.transactions > div {
  min-height: 62px;
  display: grid;
  grid-template-columns: 36px 1fr auto;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}

.transactions > div:last-child {
  border-bottom: 0;
}

.transactions svg {
  width: 27px;
  height: 27px;
  padding: 5px;
  border-radius: 50%;
  color: var(--blue);
  background: rgba(121, 217, 255, .1);
}

.transactions div:nth-child(2) svg {
  color: var(--green);
  background: rgba(124, 255, 40, .1);
}

.transactions div:nth-child(3) svg {
  color: var(--red);
  background: rgba(255, 56, 56, .11);
}

.transactions span {
  display: grid;
  gap: 3px;
}

.transactions small {
  color: #b4bdb6;
}

.transactions strong {
  display: grid;
  text-align: right;
  font-size: 18px;
}

.transactions em {
  font-style: normal;
  font-size: 13px;
  margin-top: 3px;
}

.plus {
  color: var(--green);
}

.minus {
  color: var(--red);
}

.announcement {
  min-height: 94px;
  margin-top: 18px;
  padding: 20px 25px;
  display: grid;
  grid-template-columns: 56px 1fr 36px;
  gap: 18px;
  align-items: center;
}

.announcement > svg {
  width: 42px;
  height: 42px;
  padding: 10px;
  border-radius: 50%;
  color: var(--yellow);
  background: rgba(255, 180, 31, .08);
}

.announcement h3 {
  margin: 0;
  color: #ffe072;
}

.announcement p {
  margin: 8px 0 0;
  color: #c9d0cc;
}

.announcement button {
  background: transparent;
}

.announcement button svg {
  width: 24px;
  height: 24px;
}

.character-page {
  min-height: calc(100vh - 44px);
}

.character-hero {
  position: relative;
  min-height: 132px;
  padding: 38px 30px 22px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  border-radius: 0 0 10px 10px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(3, 8, 12, .97) 0%, rgba(3, 8, 12, .72) 44%, rgba(3, 8, 12, .28) 100%),
    url("https://images.unsplash.com/photo-1534190760961-74e8c1c5c3da?auto=format&fit=crop&w=1800&q=90") center 38% / cover;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.character-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(3, 8, 12, .12), rgba(3, 8, 12, .86));
  pointer-events: none;
}

.character-heading,
.character-actions,
.breadcrumb {
  position: relative;
  z-index: 1;
}

.character-heading h1 {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 30px;
  line-height: 1;
  font-weight: 900;
}

.character-heading h1 svg {
  width: 27px;
  height: 27px;
  color: var(--green);
}

.character-heading p {
  margin: 12px 0 0;
  color: #d4dad4;
  font-size: 18px;
}

.breadcrumb {
  grid-column: 2;
  align-self: end;
  display: flex;
  align-items: center;
  gap: 11px;
  color: #e8eee7;
  font-size: 16px;
}

.breadcrumb svg {
  width: 17px;
  height: 17px;
  color: rgba(255, 255, 255, .58);
}

.breadcrumb strong {
  color: var(--green);
}

.character-layout {
  display: grid;
  grid-template-columns: 390px minmax(0, 1fr);
  gap: 22px;
  padding: 0 30px;
  margin-top: -2px;
}

.char-card {
  background: linear-gradient(145deg, rgba(17, 24, 29, .92), rgba(8, 13, 18, .92));
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 9px;
  box-shadow: 0 22px 70px rgba(0, 0, 0, .36);
}

.char-portrait-card {
  min-height: 625px;
  padding: 22px 24px 20px;
}

.portrait-head h2 {
  margin: 0;
  font-size: 28px;
  line-height: 1;
}

.portrait-head p {
  margin: 8px 0 0;
  color: #c4cbc5;
  font-size: 16px;
}

.height-stage {
  position: relative;
  height: 365px;
  margin-top: 16px;
  display: grid;
  place-items: end center;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
  background:
    repeating-linear-gradient(to bottom, transparent 0 48px, rgba(255, 255, 255, .07) 49px 50px),
    radial-gradient(circle at 50% 56%, rgba(124, 255, 40, .08), transparent 43%);
}

.height-stage img {
  position: relative;
  z-index: 1;
  width: 205px;
  height: 330px;
  object-fit: cover;
  object-position: center top;
  border-radius: 8px;
  filter: drop-shadow(0 28px 24px rgba(0, 0, 0, .55));
  mask-image: linear-gradient(to bottom, #000 82%, transparent 100%);
}

.height-stage img.skin-portrait {
  object-fit: contain;
  object-position: center bottom;
  background: transparent;
  filter: drop-shadow(0 28px 24px rgba(0, 0, 0, .55));
}

.height-scale {
  position: absolute;
  inset: 13px auto 24px 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: rgba(255, 255, 255, .58);
  font-size: 13px;
}

.mini-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid rgba(255, 255, 255, .06);
  margin-top: 16px;
}

.mini-info-grid div {
  min-height: 64px;
  padding: 13px 14px;
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 4px 14px;
  align-items: center;
}

.mini-info-grid div:nth-child(odd) {
  border-right: 1px solid rgba(255, 255, 255, .1);
}

.mini-info-grid div:nth-child(n+3) {
  border-top: 1px solid rgba(255, 255, 255, .1);
}

.mini-info-grid svg {
  grid-row: span 2;
  width: 21px;
  height: 21px;
  color: rgba(255, 255, 255, .82);
}

.mini-info-grid span {
  color: #aeb7b0;
  font-size: 13px;
}

.mini-info-grid strong {
  font-size: 14px;
}

.char-right {
  display: grid;
  gap: 16px;
}

.general-card,
.other-card {
  padding: 22px 30px;
}

.general-card h3,
.other-card h3 {
  margin: 0;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
  font-size: 19px;
}

.general-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 32px;
}

.general-item {
  position: relative;
  min-height: 62px;
  display: grid;
  grid-template-columns: 42px 1fr auto;
  grid-template-rows: 18px 1fr;
  gap: 1px 14px;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.general-item > svg {
  grid-row: span 2;
  width: 38px;
  height: 38px;
  padding: 9px;
  border-radius: 9px;
  color: var(--green);
  background: rgba(124, 255, 40, .1);
}

.general-item span {
  color: #c6cec8;
  font-size: 13px;
}

.general-item strong {
  grid-column: 2 / 4;
  font-size: 15px;
}

.general-item .green,
.green {
  color: var(--green);
}

.level-item {
  grid-template-columns: 42px 70px 1fr 40px;
}

.level-item strong {
  grid-column: 2;
}

.level-item b {
  grid-column: 3;
  grid-row: 2;
  height: 8px;
  border-radius: 20px;
  background: rgba(255, 255, 255, .1);
  overflow: hidden;
}

.level-item b em {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--green);
  box-shadow: 0 0 16px rgba(124, 255, 40, .6);
}

.level-item small {
  grid-column: 4;
  grid-row: 2;
  font-size: 14px;
  font-weight: 800;
  color: #fff;
}

.other-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .92fr);
  gap: 32px;
  padding-top: 16px;
}

.status-list {
  display: grid;
  gap: 14px;
}

.status-row {
  display: grid;
  grid-template-columns: 38px 66px 1fr 48px;
  align-items: center;
  gap: 14px;
}

.status-row svg,
.license-list svg {
  width: 36px;
  height: 36px;
  padding: 8px;
  border-radius: 9px;
  background: rgba(124, 255, 40, .1);
}

.status-row span {
  font-size: 14px;
}

.status-row b {
  height: 8px;
  border-radius: 18px;
  background: rgba(255, 255, 255, .1);
  overflow: hidden;
}

.status-row b em {
  display: block;
  height: 100%;
  border-radius: inherit;
}

.status-row strong {
  font-size: 14px;
  text-align: right;
}

.status-row.red svg,
.status-row.red b em {
  color: var(--red);
  background: var(--red);
}

.status-row.blue svg,
.status-row.blue b em {
  color: #2ea8ff;
  background: #2ea8ff;
}

.status-row.yellow svg,
.status-row.yellow b em {
  color: #ffbe22;
  background: #ffbe22;
}

.status-row.cyan svg,
.status-row.cyan b em {
  color: #2bbdff;
  background: #2bbdff;
}

.status-row.red svg {
  background: rgba(255, 56, 56, .12);
}

.status-row.blue svg,
.status-row.cyan svg {
  background: rgba(43, 189, 255, .12);
}

.status-row.yellow svg {
  background: rgba(255, 190, 34, .12);
}

.license-list {
  display: grid;
  gap: 10px;
  padding-left: 28px;
  border-left: 1px solid rgba(255, 255, 255, .12);
}

.license-list div {
  display: grid;
  grid-template-columns: 36px 1fr 54px;
  gap: 12px;
  align-items: center;
}

.license-list svg {
  color: var(--green);
}

.license-list span {
  display: grid;
  gap: 3px;
}

.license-list b {
  font-size: 14px;
}

.license-list small {
  color: #b3bcb5;
  font-size: 13px;
}

.license-list strong {
  justify-self: end;
  min-width: 58px;
  padding: 8px 10px;
  text-align: center;
  border-radius: 9px;
  color: var(--green);
  background: rgba(124, 255, 40, .12);
  font-size: 13px;
}

.rules-banner {
  margin: 18px 30px 0;
  min-height: 78px;
  display: grid;
  grid-template-columns: 58px 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 17px 28px;
  border-radius: 10px;
  background: linear-gradient(90deg, rgba(255, 180, 31, .18), rgba(255, 180, 31, .08));
  border: 1px solid rgba(255, 180, 31, .34);
  box-shadow: 0 18px 54px rgba(0, 0, 0, .28);
}

.rules-banner > svg {
  width: 31px;
  height: 31px;
  color: #ffbd22;
}

.rules-banner h3 {
  margin: 0;
  font-size: 18px;
}

.rules-banner p {
  margin: 5px 0 0;
  color: #c7beb0;
  font-size: 14px;
}

.rules-banner button {
  min-width: 210px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  border-radius: 8px;
  background: rgba(255, 180, 31, .1);
  border: 1px solid rgba(255, 180, 31, .24);
  font-weight: 900;
  font-size: 17px;
}

.support-page {
  min-height: calc(100vh - 58px);
}

.support-hero {
  position: relative;
  min-height: 205px;
  padding: 52px 34px 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(3, 8, 12, .98) 0%, rgba(3, 8, 12, .68) 42%, rgba(3, 8, 12, .2) 100%),
    url("https://images.unsplash.com/photo-1534190760961-74e8c1c5c3da?auto=format&fit=crop&w=1800&q=90") center 42% / cover;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.support-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(3, 8, 12, .12), rgba(3, 8, 12, .9));
  pointer-events: none;
}

.support-heading,
.support-actions,
.support-tabs {
  position: relative;
  z-index: 1;
}

.support-heading h1 {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 33px;
  line-height: 1;
  font-weight: 900;
}

.support-heading h1 svg {
  width: 28px;
  height: 28px;
  color: var(--green);
}

.support-heading p {
  margin: 18px 0 0;
  color: #d7ddd6;
  font-size: 18px;
}

.support-tabs {
  grid-column: 1 / -1;
  align-self: end;
  display: flex;
  gap: 35px;
  margin-top: 36px;
}

.support-tabs button {
  position: relative;
  height: 48px;
  padding: 0 16px;
  color: #dce4dc;
  background: transparent;
  font-weight: 700;
  font-size: 16px;
}

.support-tabs button.active {
  color: var(--green);
}

.support-tabs button.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  border-radius: 3px;
  background: var(--green);
  box-shadow: 0 0 14px rgba(124, 255, 40, .5);
}

.support-layout {
  display: grid;
  grid-template-columns: minmax(620px, 1.18fr) minmax(460px, .92fr);
  gap: 20px;
  padding: 22px 28px 0;
}

.support-card {
  background: linear-gradient(145deg, rgba(17, 24, 29, .92), rgba(8, 13, 18, .92));
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 9px;
  box-shadow: 0 22px 70px rgba(0, 0, 0, .31);
}

.ticket-form-card,
.ticket-list-card,
.faq-card {
  padding: 25px;
}

.ticket-form-card h2,
.support-card-head h2 {
  margin: 0;
  font-size: 22px;
}

.ticket-form-card > p {
  margin: 13px 0 27px;
  color: #c1cac2;
  font-size: 16px;
}

.ticket-form-card label {
  display: block;
  margin: 18px 0 9px;
  color: #edf3ec;
  font-weight: 800;
}

.select-box,
.field-wrap,
.upload-box {
  width: 100%;
  min-height: 48px;
  border-radius: 6px;
  background: rgba(3, 8, 12, .52);
  border: 1px solid rgba(255, 255, 255, .12);
}

.select-box {
  padding: 0 17px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #dce3dc;
  text-align: left;
}

.select-box svg {
  width: 18px;
}

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

.category-grid button {
  min-height: 72px;
  padding: 15px 17px;
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 13px;
  align-items: center;
  text-align: left;
  border-radius: 7px;
  background: linear-gradient(145deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .018));
  border: 1px solid rgba(255, 255, 255, .08);
}

.category-grid button.active {
  border-color: rgba(124, 255, 40, .75);
  background: rgba(124, 255, 40, .1);
  box-shadow: inset 0 0 0 1px rgba(124, 255, 40, .12);
}

.category-grid svg {
  width: 34px;
  height: 34px;
  padding: 8px;
  border-radius: 50%;
  color: #fff;
  background: rgba(255, 255, 255, .05);
}

.category-grid .active svg {
  color: var(--green);
  background: rgba(124, 255, 40, .12);
}

.category-grid span {
  display: grid;
  gap: 5px;
}

.category-grid b {
  font-size: 14px;
}

.category-grid small {
  color: #b3bdb5;
  font-size: 12px;
}

.field-wrap {
  position: relative;
}

.field-wrap input,
.field-wrap textarea {
  width: 100%;
  height: 100%;
  border: 0;
  outline: 0;
  color: #edf2ec;
  background: transparent;
  padding: 0 66px 0 16px;
  font: inherit;
}

.field-wrap input::placeholder,
.field-wrap textarea::placeholder {
  color: rgba(255, 255, 255, .54);
}

.field-wrap span {
  position: absolute;
  right: 13px;
  bottom: 11px;
  color: #c7cfc8;
  font-size: 14px;
}

.textarea-wrap {
  height: 119px;
}

.field-wrap textarea {
  resize: none;
  padding-top: 16px;
}

.upload-box {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: #dce4df;
}

.upload-box svg {
  width: 38px;
  height: 38px;
}

.upload-box span {
  display: grid;
  gap: 4px;
  text-align: left;
}

.upload-box small {
  color: #b5beb7;
}

.form-footer {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 15px;
}

.send-ticket {
  height: 39px;
  padding: 0 23px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-radius: 5px;
  background: linear-gradient(135deg, #7bdc45, #4ca329);
  color: #f5fff0;
  font-weight: 900;
}

.send-ticket svg {
  width: 17px;
}

.form-footer span {
  color: #bfc8c1;
}

.support-side {
  display: grid;
  gap: 20px;
}

.support-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.support-card-head button {
  height: 34px;
  padding: 0 13px;
  border-radius: 5px;
  background: rgba(0, 0, 0, .15);
  border: 1px solid rgba(255, 255, 255, .09);
  font-weight: 700;
}

.ticket-list {
  margin-top: 18px;
  display: grid;
}

.ticket-list > div {
  min-height: 72px;
  display: grid;
  grid-template-columns: 43px 1fr auto 28px;
  gap: 16px;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, .09);
}

.ticket-list > div:last-child {
  border-bottom: 0;
}

.ticket-list > div > svg {
  width: 43px;
  height: 43px;
  padding: 10px;
  border-radius: 50%;
  color: var(--green);
  background: rgba(124, 255, 40, .12);
}

.ticket-list > div:nth-child(2) > svg {
  color: #ffae16;
  background: rgba(255, 174, 22, .15);
}

.ticket-list > div:nth-child(3) > svg {
  color: #ff3838;
  background: rgba(255, 56, 56, .14);
}

.ticket-list > div:nth-child(5) > svg {
  color: #37b7ff;
  background: rgba(55, 183, 255, .13);
}

.ticket-list span {
  display: grid;
  gap: 4px;
}

.ticket-list b {
  font-size: 18px;
}

.ticket-list small {
  color: #adb7b0;
  font-size: 15px;
}

.ticket-list strong {
  padding: 7px 11px;
  border-radius: 5px;
  font-size: 14px;
}

.ticket-list .answered {
  color: var(--green);
  background: rgba(124, 255, 40, .12);
}

.ticket-list .waiting {
  color: #ffae16;
  background: rgba(255, 174, 22, .13);
}

.ticket-list .review {
  color: #37b7ff;
  background: rgba(55, 183, 255, .13);
}

.ticket-list .closed {
  color: #d4dbd5;
  background: rgba(255, 255, 255, .11);
}

.ticket-list button {
  background: transparent;
}

.ticket-list button svg {
  width: 20px;
}

.faq-list {
  display: grid;
  gap: 8px;
  margin-top: 18px;
}

.faq-list button,
.all-faq {
  width: 100%;
  min-height: 38px;
  padding: 0 18px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  background: rgba(2, 8, 12, .42);
  border: 1px solid rgba(255, 255, 255, .08);
  font-weight: 700;
}

.faq-list svg {
  width: 18px;
}

.all-faq {
  position: relative;
  margin-top: 9px;
  min-height: 40px;
  justify-content: center;
  gap: 14px;
  color: var(--green);
  border-color: rgba(124, 255, 40, .56);
  background: rgba(124, 255, 40, .06);
  font-size: 16px;
}

.all-faq svg {
  position: absolute;
  right: 20px;
  width: 19px;
}

.support-note {
  margin: 20px 28px 0;
  min-height: 78px;
  padding: 20px 28px;
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 24px;
  align-items: center;
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(17, 24, 29, .92), rgba(8, 13, 18, .92));
  border: 1px solid rgba(255, 255, 255, .09);
}

.support-note > svg {
  width: 29px;
  height: 29px;
  color: var(--green);
}

.support-note h3 {
  margin: 0;
  color: #f0d063;
  font-size: 17px;
}

.support-note p {
  margin: 7px 0 0;
  color: #c2cac3;
}

.finance-page {
  min-height: calc(100vh - 58px);
}

.finance-hero {
  position: relative;
  min-height: 180px;
  padding: 55px 34px 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(3, 8, 12, .98) 0%, rgba(3, 8, 12, .68) 42%, rgba(3, 8, 12, .2) 100%),
    url("https://images.unsplash.com/photo-1534190760961-74e8c1c5c3da?auto=format&fit=crop&w=1800&q=90") center 42% / cover;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.finance-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(3, 8, 12, .12), rgba(3, 8, 12, .9));
  pointer-events: none;
}

.finance-heading,
.finance-actions,
.finance-hero .breadcrumb {
  position: relative;
  z-index: 1;
}

.finance-heading h1 {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 34px;
  line-height: 1;
  font-weight: 900;
}

.finance-heading h1 svg {
  width: 31px;
  height: 31px;
  color: var(--green);
}

.finance-heading p {
  margin: 19px 0 0;
  color: #d7ddd6;
  font-size: 17px;
}

.finance-summary-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
  padding: 0 28px;
  margin-top: -15px;
  position: relative;
  z-index: 2;
}

.finance-summary-row article {
  min-height: 148px;
  padding: 22px 27px;
  display: grid;
  grid-template-columns: 67px 1fr;
  gap: 20px;
  align-items: center;
  border-radius: 9px;
  background: linear-gradient(145deg, rgba(17, 24, 29, .94), rgba(8, 13, 18, .94));
  border: 1px solid rgba(255, 255, 255, .1);
  box-shadow: 0 22px 70px rgba(0, 0, 0, .31);
}

.finance-summary-row svg {
  width: 67px;
  height: 67px;
  padding: 17px;
  border-radius: 9px;
  color: var(--green);
  background: rgba(124, 255, 40, .12);
}

.finance-summary-row div {
  display: grid;
  gap: 9px;
}

.finance-summary-row span {
  color: #dbe3dc;
  font-size: 16px;
}

.finance-summary-row strong {
  font-size: 29px;
  line-height: 1;
}

.finance-summary-row small {
  color: #c3cbc5;
  font-size: 15px;
}

.finance-summary-row b {
  height: 4px;
  max-width: 145px;
  border-radius: 20px;
  background: var(--green);
  box-shadow: 0 0 14px rgba(124, 255, 40, .45);
}

.finance-layout {
  display: grid;
  grid-template-columns: minmax(460px, 1.08fr) minmax(390px, 1fr) minmax(350px, .9fr);
  gap: 18px;
  padding: 18px 28px 0;
}

.finance-card {
  background: linear-gradient(145deg, rgba(17, 24, 29, .92), rgba(8, 13, 18, .92));
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 9px;
  box-shadow: 0 22px 70px rgba(0, 0, 0, .31);
}

.cashflow-card,
.recent-finance-card,
.bank-card-panel,
.debt-card {
  padding: 26px;
}

.finance-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.finance-card-head h2 {
  margin: 0;
  font-size: 22px;
}

.finance-card-head p {
  margin: 11px 0 0;
  color: #c2cac3;
  font-size: 16px;
}

.finance-card-head button {
  height: 38px;
  padding: 0 15px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border-radius: 5px;
  background: rgba(0, 0, 0, .15);
  border: 1px solid rgba(255, 255, 255, .09);
  font-weight: 700;
}

.cash-totals {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 35px 0 15px;
}

.cash-totals div + div {
  border-left: 1px solid rgba(255, 255, 255, .1);
  padding-left: 22px;
}

.cash-totals span {
  display: block;
  color: #c3cbc5;
  margin-bottom: 9px;
}

.cash-totals strong {
  font-size: 18px;
}

.income-dot::before,
.expense-dot::before {
  content: "";
  display: inline-block;
  width: 11px;
  height: 11px;
  margin-right: 8px;
  border-radius: 50%;
  border: 3px solid currentColor;
}

.income-dot {
  color: var(--green);
}

.expense-dot {
  color: #ff3d22;
}

.chart-wrap {
  position: relative;
  height: 285px;
  padding: 8px 0 30px 58px;
}

.chart-wrap svg {
  width: 100%;
  height: 230px;
  overflow: visible;
}

.chart-grid line {
  stroke: rgba(255, 255, 255, .08);
  stroke-width: 1;
}

.income-line,
.expense-line {
  fill: none;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.income-line {
  stroke: var(--green);
  filter: drop-shadow(0 0 4px rgba(124, 255, 40, .5));
}

.expense-line {
  stroke: #ff3d22;
}

.chart-y {
  position: absolute;
  left: 0;
  top: 0;
  height: 242px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #d2d9d2;
  font-size: 15px;
}

.chart-x {
  position: absolute;
  left: 58px;
  right: 0;
  bottom: 0;
  display: flex;
  justify-content: space-between;
  color: #d2d9d2;
  font-size: 15px;
}

.cash-gains {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.cash-gains div {
  min-height: 91px;
  padding: 18px;
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 2px 18px;
  align-items: center;
  border-radius: 8px;
  background: rgba(255, 255, 255, .025);
  border: 1px solid rgba(255, 255, 255, .08);
}

.cash-gains svg {
  grid-row: span 3;
  width: 54px;
  height: 54px;
  padding: 12px;
  border-radius: 50%;
  color: var(--green);
  background: rgba(124, 255, 40, .1);
}

.cash-gains div:nth-child(2) svg {
  color: #ffbd22;
  background: rgba(255, 189, 34, .12);
}

.cash-gains span,
.cash-gains small {
  color: #c5cdc7;
}

.cash-gains strong {
  font-size: 22px;
}

.chart-note {
  margin: 19px 0 0;
  color: #b7c0b9;
}

.recent-finance-card {
  display: flex;
  flex-direction: column;
}

.finance-transactions {
  margin-top: 20px;
  display: grid;
}

.finance-transactions > div {
  min-height: 78px;
  display: grid;
  grid-template-columns: 50px 1fr auto;
  align-items: center;
  gap: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.finance-transactions svg {
  width: 46px;
  height: 46px;
  padding: 11px;
  border-radius: 9px;
  color: #e9f1ea;
  background: rgba(255, 255, 255, .06);
}

.finance-transactions span,
.finance-transactions strong {
  display: grid;
  gap: 5px;
}

.finance-transactions small,
.finance-transactions em {
  color: #c2cac3;
  font-style: normal;
}

.finance-transactions strong {
  text-align: right;
  font-size: 20px;
}

.finance-transactions .plus {
  color: var(--green);
}

.finance-transactions .minus {
  color: #ff3838;
}

.all-transactions {
  margin-top: auto;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  border-radius: 7px;
  background: rgba(255, 255, 255, .025);
  border: 1px solid rgba(255, 255, 255, .09);
  font-weight: 800;
}

.finance-side {
  display: grid;
  gap: 18px;
}

.bank-card {
  position: relative;
  min-height: 193px;
  margin-top: 22px;
  padding: 29px 25px;
  display: grid;
  align-content: space-between;
  overflow: hidden;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .015)),
    radial-gradient(circle at 88% 56%, rgba(255, 255, 255, .08), transparent 35%);
  border: 1px solid rgba(255, 255, 255, .08);
}

.bank-card::after {
  content: "V";
  position: absolute;
  right: 34px;
  top: 38px;
  font-family: Georgia, serif;
  font-size: 150px;
  line-height: 1;
  color: rgba(255, 255, 255, .04);
}

.bank-card span,
.bank-card strong,
.bank-card div {
  position: relative;
  z-index: 1;
}

.bank-card span {
  font-size: 18px;
  font-weight: 800;
}

.bank-card strong {
  font-size: 21px;
  letter-spacing: 1px;
}

.bank-card div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.bank-card em {
  font-style: normal;
}

.bank-card small {
  position: absolute;
  right: 16px;
  top: 21px;
  z-index: 2;
  color: #dfffce;
  background: rgba(124, 255, 40, .35);
  border-radius: 20px;
  padding: 7px 10px;
  font-weight: 900;
}

.card-dots {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  gap: 14px;
}

.card-dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .25);
}

.card-dots .active {
  background: var(--green);
  box-shadow: 0 0 12px var(--green);
}

.debt-list {
  margin-top: 18px;
  display: grid;
}

.debt-list > div {
  min-height: 88px;
  display: grid;
  grid-template-columns: 44px 1fr auto;
  gap: 15px;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.debt-list svg {
  width: 42px;
  height: 42px;
  padding: 10px;
  border-radius: 9px;
  color: #ff3838;
  background: rgba(255, 56, 56, .12);
}

.debt-list span {
  display: grid;
  gap: 3px;
}

.debt-list small,
.debt-list em {
  color: #b9c2bc;
  font-style: normal;
}

.debt-list strong {
  color: #ff4838;
  font-size: 20px;
  text-align: right;
}

.debt-list button {
  grid-column: 3;
  justify-self: end;
  width: 57px;
  height: 35px;
  border-radius: 6px;
  color: #fff0ea;
  background: rgba(255, 75, 50, .24);
  border: 1px solid rgba(255, 75, 50, .56);
  font-weight: 800;
}

.debt-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 18px;
  font-size: 17px;
  font-weight: 900;
}

.debt-total strong {
  color: #ff4838;
  font-size: 21px;
}

.finance-security {
  margin: 18px 28px 0;
  min-height: 102px;
  padding: 22px 29px;
  display: grid;
  grid-template-columns: 67px 1fr auto;
  align-items: center;
  gap: 22px;
  border-radius: 9px;
  background: linear-gradient(90deg, rgba(124, 255, 40, .13), rgba(124, 255, 40, .05));
  border: 1px solid rgba(124, 255, 40, .22);
}

.finance-security > svg {
  width: 67px;
  height: 67px;
  padding: 17px;
  border-radius: 9px;
  color: var(--green);
  background: rgba(124, 255, 40, .12);
}

.finance-security h3 {
  margin: 0;
  font-size: 19px;
}

.finance-security p {
  margin: 8px 0 0;
  color: #c6cec8;
}

.finance-security button {
  min-width: 268px;
  height: 53px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  border-radius: 7px;
  color: #f4ffef;
  background: rgba(124, 255, 40, .06);
  border: 1px solid rgba(124, 255, 40, .36);
  font-weight: 900;
  font-size: 16px;
}

@media (min-width: 1200px) {
  .finance-page {
    min-height: 0;
  }

  .finance-hero {
    min-height: 128px;
    padding: 34px 26px 0;
  }

  .finance-heading h1 {
    font-size: 30px;
  }

  .finance-heading p {
    margin-top: 10px;
    font-size: 14px;
  }

  .finance-summary-row {
    gap: 12px;
    padding: 0 22px;
    margin-top: -12px;
  }

  .finance-summary-row article {
    min-height: 104px;
    padding: 13px 14px;
    grid-template-columns: 46px 1fr;
    gap: 11px;
  }

  .finance-summary-row svg {
    width: 46px;
    height: 46px;
    padding: 11px;
  }

  .finance-summary-row div {
    gap: 5px;
  }

  .finance-summary-row span,
  .finance-summary-row small {
    font-size: 12px;
  }

  .finance-summary-row strong {
    font-size: 21px;
  }

  .finance-layout {
    grid-template-columns: minmax(390px, .98fr) minmax(360px, 1fr) minmax(320px, .86fr);
    gap: 14px;
    padding: 14px 22px 0;
  }

  .cashflow-card,
  .recent-finance-card,
  .bank-card-panel,
  .debt-card {
    padding: 18px;
  }

  .finance-card-head h2 {
    font-size: 18px;
  }

  .finance-card-head p {
    margin-top: 7px;
    font-size: 13px;
  }

  .finance-card-head button {
    height: 32px;
    padding: 0 12px;
    font-size: 12px;
  }

  .cash-totals {
    margin: 20px 0 10px;
  }

  .cash-totals span {
    margin-bottom: 6px;
    font-size: 13px;
  }

  .cash-totals strong {
    font-size: 15px;
  }

  .chart-wrap {
    height: 210px;
    padding: 4px 0 26px 48px;
  }

  .chart-wrap svg {
    height: 168px;
  }

  .chart-y {
    height: 178px;
    font-size: 12px;
  }

  .chart-x {
    left: 48px;
    font-size: 12px;
  }

  .cash-gains {
    gap: 10px;
  }

  .cash-gains div {
    min-height: 66px;
    padding: 12px;
    grid-template-columns: 38px 1fr;
    gap: 1px 10px;
  }

  .cash-gains svg {
    width: 38px;
    height: 38px;
    padding: 8px;
  }

  .cash-gains strong {
    font-size: 17px;
  }

  .cash-gains span,
  .cash-gains small,
  .chart-note {
    font-size: 12px;
  }

  .chart-note {
    margin-top: 10px;
  }

  .finance-transactions {
    margin-top: 12px;
  }

  .finance-transactions > div {
    min-height: 58px;
    grid-template-columns: 38px 1fr auto;
    gap: 10px;
  }

  .finance-transactions svg {
    width: 36px;
    height: 36px;
    padding: 8px;
  }

  .finance-transactions strong {
    font-size: 15px;
  }

  .finance-transactions b,
  .finance-transactions small,
  .finance-transactions em {
    font-size: 12px;
  }

  .all-transactions {
    height: 38px;
    margin-top: 12px;
    font-size: 13px;
  }

  .finance-side {
    gap: 14px;
  }

  .bank-card {
    min-height: 126px;
    margin-top: 14px;
    padding: 19px;
  }

  .bank-card::after {
    right: 26px;
    top: 18px;
    font-size: 112px;
  }

  .bank-card span,
  .bank-card strong {
    font-size: 15px;
  }

  .bank-card small {
    top: 14px;
    right: 14px;
    padding: 5px 8px;
    font-size: 11px;
  }

  .card-dots {
    margin-top: 11px;
  }

  .debt-list {
    margin-top: 12px;
  }

  .debt-list > div {
    min-height: 61px;
    grid-template-columns: 36px 1fr auto;
    gap: 10px;
  }

  .debt-list svg {
    width: 34px;
    height: 34px;
    padding: 8px;
  }

  .debt-list b,
  .debt-list small,
  .debt-list em,
  .debt-list button {
    font-size: 12px;
  }

  .debt-list strong {
    font-size: 15px;
  }

  .debt-list button {
    width: 46px;
    height: 28px;
  }

  .debt-total {
    padding-top: 10px;
    font-size: 14px;
  }

  .debt-total strong {
    font-size: 16px;
  }

  .finance-security {
    min-height: 70px;
    margin: 14px 22px 0;
    padding: 14px 20px;
    grid-template-columns: 46px 1fr auto;
    gap: 14px;
  }

  .finance-security > svg {
    width: 46px;
    height: 46px;
    padding: 11px;
  }

  .finance-security h3 {
    font-size: 15px;
  }

  .finance-security p {
    margin-top: 4px;
    font-size: 12px;
  }

  .finance-security button {
    min-width: 210px;
    height: 40px;
    font-size: 13px;
  }
}

.vehicles-page {
  min-height: calc(100vh - 58px);
}

.vehicles-hero {
  position: relative;
  min-height: 205px;
  padding: 60px 34px 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(3, 8, 12, .98) 0%, rgba(3, 8, 12, .66) 42%, rgba(3, 8, 12, .2) 100%),
    url("https://images.unsplash.com/photo-1534190760961-74e8c1c5c3da?auto=format&fit=crop&w=1800&q=90") center 42% / cover;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.vehicles-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(3, 8, 12, .12), rgba(3, 8, 12, .9));
  pointer-events: none;
}

.vehicles-heading,
.vehicles-actions,
.vehicle-tabs,
.vehicles-hero .breadcrumb {
  position: relative;
  z-index: 1;
}

.vehicles-heading h1 {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 34px;
  line-height: 1;
  font-weight: 900;
}

.vehicles-heading h1 svg {
  width: 31px;
  height: 31px;
  color: var(--green);
}

.vehicles-heading p {
  margin: 19px 0 0;
  color: #d7ddd6;
  font-size: 17px;
}

.vehicle-tabs {
  grid-column: 1 / -1;
  display: flex;
  gap: 34px;
  margin-top: 35px;
}

.vehicle-tabs button {
  position: relative;
  height: 47px;
  padding: 0 16px;
  color: #dce4dc;
  background: transparent;
  font-weight: 700;
  font-size: 16px;
}

.vehicle-tabs .active {
  color: var(--green);
}

.vehicle-tabs .active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: var(--green);
  box-shadow: 0 0 14px rgba(124, 255, 40, .5);
}

.vehicle-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 24px 28px 18px;
}

.vehicle-toolbar strong {
  color: var(--green);
  font-size: 18px;
}

.vehicle-toolbar strong span {
  color: #fff;
}

.vehicle-toolbar > div {
  display: flex;
  align-items: center;
  gap: 12px;
}

.vehicle-toolbar input {
  width: 330px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 6px;
  outline: 0;
  color: #edf2ec;
  background: rgba(8, 13, 18, .72);
  padding: 0 17px;
  font: inherit;
}

.vehicle-toolbar button {
  height: 44px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border-radius: 6px;
  background: rgba(8, 13, 18, .72);
  border: 1px solid rgba(255, 255, 255, .12);
  font-weight: 800;
}

.vehicle-toolbar .view-btn {
  width: 46px;
  padding: 0;
  justify-content: center;
}

.vehicle-toolbar .view-btn.active {
  color: var(--green);
  background: rgba(124, 255, 40, .12);
}

.vehicles-layout {
  display: grid;
  grid-template-columns: minmax(620px, 1fr) 500px;
  gap: 26px;
  padding: 0 28px;
}

.garage-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-content: start;
}

.garage-card {
  position: relative;
  min-height: 261px;
  overflow: hidden;
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(17, 24, 29, .92), rgba(8, 13, 18, .92));
  border: 1px solid rgba(255, 255, 255, .1);
  box-shadow: 0 18px 54px rgba(0, 0, 0, .26);
}

.garage-card.active {
  border-color: rgba(124, 255, 40, .75);
  box-shadow: 0 0 0 1px rgba(124, 255, 40, .22), 0 22px 70px rgba(0, 0, 0, .34);
}

.garage-card img {
  width: 100%;
  height: 155px;
  object-fit: cover;
  display: block;
}

.garage-card::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 88px;
  height: 90px;
  background: linear-gradient(to bottom, transparent, rgba(8, 13, 18, .96));
}

.garage-card h2,
.garage-card p,
.garage-card div {
  position: relative;
  z-index: 1;
}

.garage-card h2 {
  margin: 14px 18px 2px;
  font-size: 18px;
}

.garage-card p {
  margin: 0 18px 13px;
  color: var(--green);
  font-weight: 800;
}

.garage-card > div {
  margin: 0 18px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 15px;
  align-items: center;
}

.garage-card b {
  padding: 5px 8px;
  border-radius: 4px;
  background: rgba(0, 0, 0, .34);
}

.garage-card small {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #c8d1ca;
}

.garage-card small svg {
  width: 15px;
  color: var(--green);
}

.garage-card em {
  min-width: 78px;
  display: flex;
  align-items: center;
  gap: 7px;
  color: #dce5dc;
  font-style: normal;
}

.garage-card u {
  width: 45px;
  height: 7px;
  border-radius: 10px;
  background: var(--green);
  text-decoration: none;
  box-shadow: 0 0 10px rgba(124, 255, 40, .45);
}

.in-use {
  position: absolute;
  right: 14px;
  top: 14px;
  z-index: 2;
  padding: 7px 10px;
  border-radius: 5px;
  color: var(--green);
  background: rgba(124, 255, 40, .17);
  font-size: 12px;
  font-weight: 900;
}

.new-vehicle {
  grid-column: 1 / -1;
  height: 45px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  color: var(--green);
  background: rgba(255, 255, 255, .025);
  border: 1px solid rgba(255, 255, 255, .08);
  font-weight: 800;
}

.vehicle-detail-panel {
  position: sticky;
  top: 22px;
  align-self: start;
  padding: 26px 21px 30px;
  border-radius: 9px;
  background: linear-gradient(145deg, rgba(17, 24, 29, .96), rgba(8, 13, 18, .96));
  border: 1px solid rgba(255, 255, 255, .1);
  box-shadow: 0 22px 70px rgba(0, 0, 0, .36);
}

.detail-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  margin-bottom: 21px;
}

.detail-head h2 {
  margin: 0;
  font-size: 23px;
}

.detail-head span {
  color: var(--green);
  background: rgba(124, 255, 40, .16);
  padding: 7px 10px;
  border-radius: 5px;
  font-size: 12px;
  font-weight: 900;
}

.vehicle-detail-panel > img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 17px;
}

.vehicle-details {
  display: grid;
}

.vehicle-details > div {
  min-height: 34px;
  display: grid;
  grid-template-columns: 28px 1fr auto;
  gap: 12px;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}

.vehicle-details svg {
  width: 18px;
  color: #dbe4dd;
}

.vehicle-details span {
  color: #c6cec8;
}

.vehicle-details strong {
  justify-self: end;
  font-size: 16px;
}

.vehicle-details strong em {
  display: inline-block;
  width: 13px;
  height: 13px;
  margin-right: 8px;
  border-radius: 50%;
  background: #000;
  vertical-align: -1px;
}

.vehicle-details .meter {
  grid-template-columns: 28px 1fr minmax(120px, 1fr) 45px;
}

.meter b {
  height: 8px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .1);
  overflow: hidden;
}

.meter u {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--green);
  text-decoration: none;
}

.vehicle-detail-panel > button {
  width: 100%;
  height: 49px;
  margin-top: 13px;
  border-radius: 6px;
  font-weight: 900;
  font-size: 16px;
}

.use-car {
  background: linear-gradient(135deg, #76d946, #4da62a);
  color: #f4fff0;
}

.park-car {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, .16);
}

.sell-car {
  color: #ff4940;
  background: transparent;
  border: 1px solid rgba(255, 56, 56, .7);
}

.inventory-page {
  min-height: calc(100vh - 58px);
}

.inventory-hero {
  position: relative;
  min-height: 185px;
  padding: 60px 34px 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(3, 8, 12, .98) 0%, rgba(3, 8, 12, .66) 42%, rgba(3, 8, 12, .2) 100%),
    url("https://images.unsplash.com/photo-1534190760961-74e8c1c5c3da?auto=format&fit=crop&w=1800&q=90") center 42% / cover;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.inventory-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(3, 8, 12, .12), rgba(3, 8, 12, .9));
  pointer-events: none;
}

.inventory-heading,
.inventory-actions,
.inventory-hero .breadcrumb {
  position: relative;
  z-index: 1;
}

.inventory-heading h1 {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 34px;
  line-height: 1;
  font-weight: 900;
}

.inventory-heading h1 svg {
  width: 31px;
  height: 31px;
  color: var(--green);
}

.inventory-heading p {
  margin: 19px 0 0;
  color: #d7ddd6;
  font-size: 17px;
}

.inventory-toolbar {
  min-height: 72px;
  padding: 0 28px;
  display: grid;
  grid-template-columns: 1fr auto auto 46px 46px;
  align-items: center;
  gap: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.inventory-tabs {
  display: flex;
  gap: 34px;
  align-self: stretch;
}

.inventory-tabs button {
  position: relative;
  padding: 0 16px;
  color: #dce4dc;
  background: transparent;
  font-weight: 700;
  font-size: 16px;
}

.inventory-tabs button.active {
  color: var(--green);
}

.inventory-tabs button.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: var(--green);
  box-shadow: 0 0 14px rgba(124, 255, 40, .5);
}

.weight-info {
  display: grid;
  grid-template-columns: auto 240px auto;
  gap: 14px;
  align-items: center;
  color: #d8e0da;
}

.weight-info b {
  height: 9px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .12);
  overflow: hidden;
}

.weight-info u {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--green);
  text-decoration: none;
  box-shadow: 0 0 13px rgba(124, 255, 40, .45);
}

.sort-button,
.inventory-toolbar .view-btn {
  height: 48px;
  border-radius: 7px;
  background: rgba(8, 13, 18, .72);
  border: 1px solid rgba(255, 255, 255, .12);
}

.sort-button {
  min-width: 290px;
  padding: 0 19px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 16px;
}

.inventory-toolbar .view-btn {
  width: 46px;
  display: grid;
  place-items: center;
}

.inventory-toolbar .view-btn.active {
  color: var(--green);
  background: rgba(124, 255, 40, .12);
}

.inventory-layout {
  display: grid;
  grid-template-columns: minmax(760px, 1fr) 490px;
  gap: 0;
  padding: 22px 28px 20px;
}

.items-panel {
  min-width: 0;
  padding-right: 22px;
}

.items-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.item-card {
  position: relative;
  min-height: 178px;
  padding: 15px 16px 14px;
  display: grid;
  grid-template-rows: 86px auto auto;
  border-radius: 7px;
  background: linear-gradient(145deg, rgba(17, 24, 29, .92), rgba(8, 13, 18, .92));
  border: 1px solid rgba(255, 255, 255, .09);
  box-shadow: 0 16px 45px rgba(0, 0, 0, .22);
  cursor: pointer;
}

.garage-grid.list-view {
  grid-template-columns: 1fr;
}

.garage-grid.list-view .garage-card {
  min-height: 128px;
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  align-items: center;
}

.garage-grid.list-view .garage-card img {
  height: 100%;
  min-height: 128px;
}

.garage-grid.list-view .garage-card h2,
.garage-grid.list-view .garage-card p,
.garage-grid.list-view .garage-card > div {
  margin-left: 0;
  margin-right: 22px;
}

.item-card.active {
  border-color: rgba(124, 255, 40, .75);
  box-shadow: inset 0 0 0 1px rgba(124, 255, 40, .12), 0 18px 55px rgba(0, 0, 0, .3);
}

.item-card img {
  max-width: 100%;
  max-height: 86px;
  object-fit: contain;
  justify-self: center;
  align-self: center;
  filter: drop-shadow(0 14px 14px rgba(0, 0, 0, .55));
}

.item-card h2 {
  margin: 10px 0 0;
  align-self: end;
  font-size: 17px;
}

.item-card p {
  margin: 4px 0 0;
  color: var(--green);
  font-weight: 800;
}

.item-card span {
  position: absolute;
  right: 15px;
  bottom: 16px;
  color: #c9d2cb;
}

.item-card b {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 11px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  align-items: center;
  color: #dce5dc;
  font-weight: 500;
}

.item-card b u {
  height: 7px;
  border-radius: 10px;
  background: var(--green);
  text-decoration: none;
}

.item-card.durability p {
  margin-bottom: 17px;
}

.inventory-warning {
  min-height: 51px;
  margin-top: 18px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  border-radius: 7px;
  background: rgba(255, 255, 255, .025);
  border: 1px solid rgba(255, 255, 255, .08);
  color: #c7d0c9;
}

.inventory-warning svg {
  width: 24px;
  height: 24px;
  color: #ffd322;
}

.selected-item-panel {
  padding: 25px 25px 30px;
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(17, 24, 29, .96), rgba(8, 13, 18, .96));
  border: 1px solid rgba(255, 255, 255, .1);
  box-shadow: 0 22px 70px rgba(0, 0, 0, .36);
}

.selected-item-panel h2 {
  margin: 0 0 20px;
  font-size: 22px;
}

.selected-preview {
  height: 250px;
  display: grid;
  place-items: center;
  border-radius: 7px;
  background: radial-gradient(circle at 50% 44%, rgba(255, 255, 255, .07), rgba(8, 13, 18, .72));
  border: 1px solid rgba(255, 255, 255, .12);
}

.selected-preview img {
  max-width: 78%;
  max-height: 190px;
  object-fit: contain;
  filter: drop-shadow(0 24px 20px rgba(0, 0, 0, .55));
}

.selected-item-panel h3 {
  margin: 22px 0 8px;
  font-size: 22px;
}

.selected-item-panel p {
  margin: 0 0 22px;
  color: #c4cdc6;
}

.selected-stats {
  display: grid;
  gap: 14px;
  padding: 19px 0;
  border-top: 1px solid rgba(255, 255, 255, .08);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.selected-stats div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: #c9d2cb;
  font-size: 17px;
}

.selected-stats strong {
  color: #fff;
}

.selected-item-panel button {
  width: 100%;
  height: 53px;
  margin-top: 14px;
  border-radius: 7px;
  font-weight: 900;
  font-size: 18px;
}

.use-item {
  color: #f4fff0;
  background: linear-gradient(135deg, #76d946, #4da62a);
}

.deposit-item,
.give-item {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, .14);
}

.drop-item {
  color: #fff0ed;
  background: linear-gradient(135deg, rgba(213, 43, 31, .9), rgba(138, 27, 23, .9));
  border: 1px solid rgba(255, 56, 56, .55);
}

.properties-page {
  min-height: calc(100vh - 58px);
}

.properties-hero {
  position: relative;
  min-height: 205px;
  padding: 58px 34px 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(3, 8, 12, .98) 0%, rgba(3, 8, 12, .68) 42%, rgba(3, 8, 12, .24) 100%),
    url("https://images.unsplash.com/photo-1534190760961-74e8c1c5c3da?auto=format&fit=crop&w=1800&q=90") center 42% / cover;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.properties-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(3, 8, 12, .12), rgba(3, 8, 12, .9));
  pointer-events: none;
}

.properties-heading,
.properties-actions,
.property-tabs,
.properties-hero .breadcrumb {
  position: relative;
  z-index: 1;
}

.properties-heading h1 {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 34px;
  line-height: 1;
  font-weight: 900;
}

.properties-heading h1 svg {
  width: 31px;
  height: 31px;
  color: var(--green);
}

.properties-heading p {
  margin: 19px 0 0;
  color: #d7ddd6;
  font-size: 17px;
}

.property-tabs {
  grid-column: 1 / -1;
  display: flex;
  gap: 34px;
  margin-top: 35px;
}

.property-tabs button {
  position: relative;
  height: 47px;
  padding: 0 16px;
  color: #dce4dc;
  background: transparent;
  font-weight: 700;
  font-size: 16px;
}

.property-tabs .active {
  color: var(--green);
}

.property-tabs .active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: var(--green);
  box-shadow: 0 0 14px rgba(124, 255, 40, .5);
}

.property-toolbar {
  display: grid;
  grid-template-columns: 330px 235px 1fr 46px 46px;
  align-items: center;
  gap: 12px;
  padding: 22px 28px 19px;
}

.property-toolbar label {
  position: relative;
}

.property-toolbar input,
.property-filter,
.property-toolbar .view-btn {
  height: 44px;
  border-radius: 6px;
  background: rgba(8, 13, 18, .72);
  border: 1px solid rgba(255, 255, 255, .12);
  color: #edf2ec;
}

.property-toolbar input {
  width: 100%;
  outline: 0;
  padding: 0 45px 0 16px;
  font: inherit;
}

.property-toolbar label svg {
  position: absolute;
  right: 14px;
  top: 12px;
  width: 20px;
  color: #d6ded8;
}

.property-filter {
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 16px;
}

.property-toolbar .view-btn {
  display: grid;
  place-items: center;
}

.property-toolbar .view-btn.active {
  color: var(--green);
  background: rgba(124, 255, 40, .12);
}

.properties-layout {
  display: grid;
  grid-template-columns: minmax(700px, 1fr) 420px;
  gap: 26px;
  padding: 0 28px;
}

.properties-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.property-card,
.add-property-card,
.property-detail-panel {
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(17, 24, 29, .94), rgba(8, 13, 18, .94));
  border: 1px solid rgba(255, 255, 255, .1);
  box-shadow: 0 18px 54px rgba(0, 0, 0, .26);
}

.property-card {
  position: relative;
  min-height: 385px;
  overflow: hidden;
  padding-bottom: 14px;
}

.property-card.active {
  border-color: rgba(124, 255, 40, .42);
}

.property-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
}

.property-card::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 86px;
  height: 94px;
  background: linear-gradient(to bottom, transparent, rgba(8, 13, 18, .95));
}

.property-card > b,
.property-detail-panel > b {
  position: absolute;
  right: 16px;
  top: 16px;
  z-index: 2;
  padding: 7px 10px;
  border-radius: 5px;
  color: var(--green);
  background: rgba(124, 255, 40, .18);
  font-size: 13px;
}

.property-card > b.business {
  color: #ffbd22;
  background: rgba(255, 189, 34, .16);
}

.property-card > b.garage {
  color: #50bfff;
  background: rgba(80, 191, 255, .16);
}

.property-card small,
.property-card h2,
.property-card p,
.property-card div,
.property-card button {
  position: relative;
  z-index: 1;
}

.property-card small {
  margin: -18px 18px 12px;
  display: flex;
  align-items: center;
  gap: 5px;
  color: #cfd8d0;
}

.property-card small svg {
  width: 15px;
  color: var(--green);
}

.property-card h2 {
  margin: 0 18px 8px;
  font-size: 19px;
}

.property-card p {
  margin: 0 18px 18px;
  color: #c7d0c8;
}

.property-card div {
  margin: 0 18px 17px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.property-card div span {
  display: grid;
  gap: 6px;
  color: #b9c2bc;
  border-right: 1px solid rgba(255, 255, 255, .08);
}

.property-card div span:last-child {
  border-right: 0;
}

.property-card div strong {
  color: #fff;
}

.property-card div span:last-child strong {
  color: var(--green);
}

.property-card button {
  width: calc(100% - 36px);
  height: 40px;
  margin: 0 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 6px;
  background: rgba(255, 255, 255, .025);
  border: 1px solid rgba(255, 255, 255, .08);
  font-weight: 800;
}

.properties-grid.list-view {
  grid-template-columns: 1fr;
}

.properties-grid.list-view .property-card {
  min-height: 172px;
  display: grid;
  grid-template-columns: 220px 92px minmax(0, 1fr);
  grid-template-rows: auto auto 1fr auto;
  align-items: start;
  gap: 0 18px;
  padding: 0 18px 16px 0;
}

.properties-grid.list-view .property-card img {
  grid-row: 1 / 5;
  width: 220px;
  height: 100%;
  min-height: 172px;
}

.properties-grid.list-view .property-card::after {
  display: none;
}

.properties-grid.list-view .property-card > b {
  position: static;
  grid-column: 2;
  align-self: start;
  justify-self: start;
  margin-top: 18px;
}

.properties-grid.list-view .property-card small {
  grid-column: 3;
  margin: 18px 0 8px;
}

.properties-grid.list-view .property-card h2 {
  grid-column: 3;
  margin: 0 0 7px;
}

.properties-grid.list-view .property-card p {
  grid-column: 3;
  margin: 0 0 12px;
}

.properties-grid.list-view .property-card div {
  grid-column: 3;
  margin: 0 0 13px;
}

.properties-grid.list-view .property-card button {
  grid-column: 3;
  width: 180px;
  margin: 0;
}

.properties-grid.list-view .add-property-card {
  min-height: 190px;
}

.add-property-card {
  min-height: 385px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 18px;
  padding: 24px;
  text-align: center;
  border-style: dashed;
}

.add-property-card > svg {
  width: 73px;
  height: 73px;
  padding: 20px;
  border-radius: 50%;
  color: var(--green);
  background: rgba(124, 255, 40, .08);
  border: 1px solid rgba(124, 255, 40, .26);
}

.add-property-card h2 {
  margin: 0;
  font-size: 18px;
}

.add-property-card p {
  max-width: 260px;
  margin: 0;
  color: #c3ccc5;
  line-height: 1.5;
}

.add-property-card button {
  height: 44px;
  padding: 0 30px;
  border-radius: 6px;
  color: var(--green);
  background: rgba(124, 255, 40, .12);
  font-weight: 900;
}

.property-detail-panel {
  position: sticky;
  top: 22px;
  align-self: start;
  padding: 20px;
}

.property-detail-panel {
  position: sticky;
}

.property-detail-panel > img {
  width: 100%;
  height: 184px;
  object-fit: cover;
  border-radius: 7px;
  display: block;
}

.property-detail-panel h2 {
  margin: 22px 0 9px;
  font-size: 21px;
}

.property-detail-panel > p {
  margin: 0 0 24px;
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--green);
}

.property-detail-panel > p svg {
  width: 16px;
}

.property-detail-list,
.property-actions {
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .08);
}

.property-detail-list h3,
.property-actions h3 {
  margin: 0 0 18px;
}

.property-detail-list div {
  min-height: 30px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: #c9d2cb;
}

.property-detail-list strong {
  color: #fff;
  text-align: right;
}

.property-actions {
  margin-top: 17px;
}

.property-actions button {
  width: 100%;
  height: 45px;
  margin-top: 10px;
  border-radius: 6px;
  font-weight: 900;
}

.manage-property {
  color: #f5fff0;
  background: linear-gradient(135deg, #76d946, #4da62a);
}

.pay-tax {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 17px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, .12);
}

.pay-tax span {
  color: var(--green);
}

.sell-property {
  color: #ff645c;
  background: rgba(255, 56, 56, .16);
  border: 1px solid rgba(255, 56, 56, .45);
}

.property-tax-note {
  margin: 22px 28px 0;
  min-height: 88px;
  padding: 20px 30px;
  display: grid;
  grid-template-columns: 40px 1fr auto;
  gap: 20px;
  align-items: center;
  border-radius: 8px;
  background: linear-gradient(90deg, rgba(255, 180, 31, .16), rgba(255, 180, 31, .06));
  border: 1px solid rgba(255, 180, 31, .3);
}

.property-tax-note > svg {
  width: 27px;
  color: #ffd322;
}

.property-tax-note h3 {
  margin: 0;
  color: #f0d063;
  font-size: 17px;
}

.property-tax-note p {
  margin: 8px 0 0;
  color: #c8c0b1;
}

.property-tax-note button {
  min-width: 275px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border-radius: 7px;
  background: rgba(255, 180, 31, .06);
  border: 1px solid rgba(255, 180, 31, .25);
  font-weight: 800;
}

.settings-page {
  min-height: calc(100vh - 58px);
}

.settings-hero {
  position: relative;
  min-height: 205px;
  padding: 45px 34px 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(3, 8, 12, .98) 0%, rgba(3, 8, 12, .68) 42%, rgba(3, 8, 12, .24) 100%),
    url("https://images.unsplash.com/photo-1534190760961-74e8c1c5c3da?auto=format&fit=crop&w=1800&q=90") center 42% / cover;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.settings-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(3, 8, 12, .12), rgba(3, 8, 12, .9));
  pointer-events: none;
}

.settings-heading,
.settings-actions,
.settings-tabs,
.settings-hero .breadcrumb {
  position: relative;
  z-index: 1;
}

.settings-heading h1 {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 34px;
  line-height: 1;
  font-weight: 900;
}

.settings-heading h1 svg {
  width: 31px;
  height: 31px;
  color: var(--green);
}

.settings-heading p {
  margin: 19px 0 0;
  color: #d7ddd6;
  font-size: 17px;
}

.settings-tabs {
  grid-column: 1 / -1;
  display: flex;
  gap: 34px;
  margin-top: 35px;
}

.settings-tabs button {
  position: relative;
  height: 47px;
  padding: 0 16px;
  color: #dce4dc;
  background: transparent;
  font-weight: 700;
  font-size: 16px;
}

.settings-tabs .active {
  color: var(--green);
}

.settings-tabs .active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: var(--green);
  box-shadow: 0 0 14px rgba(124, 255, 40, .5);
}

.settings-page .settings-tabs,
.settings-page .twofa-card,
.settings-page .email-card,
.settings-page .phone-card,
.settings-page .delete-card,
.settings-page .security-history-card {
  display: none;
}

.settings-grid {
  display: grid;
  grid-template-columns: 1.02fr 1.08fr 1.08fr;
  gap: 18px;
  padding: 22px 28px 28px;
}

.settings-card {
  padding: 22px;
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(17, 24, 29, .94), rgba(8, 13, 18, .94));
  border: 1px solid rgba(255, 255, 255, .1);
  box-shadow: 0 18px 54px rgba(0, 0, 0, .26);
}

.settings-card h2 {
  margin: 0 0 10px;
  font-size: 21px;
}

.settings-card > p {
  margin: 0 0 22px;
  color: #c3ccc5;
  font-size: 14px;
}

.settings-card label {
  display: block;
  margin: 14px 0 8px;
  color: #dce4dc;
  font-weight: 800;
  font-size: 14px;
}

.settings-card input,
.password-field,
.code-row input {
  width: 100%;
  height: 38px;
  border-radius: 5px;
  color: #eaf1eb;
  background: rgba(4, 9, 13, .5);
  border: 1px solid rgba(255, 255, 255, .1);
  outline: 0;
  padding: 0 14px;
  font: inherit;
}

.password-field {
  display: grid;
  grid-template-columns: 1fr 28px;
  align-items: center;
  padding: 0 10px 0 0;
}

.password-field input {
  border: 0;
  background: transparent;
}

.password-field svg {
  width: 18px;
  color: #c3ccc5;
}

.password-rules {
  margin: 18px 0 14px;
  display: grid;
  gap: 7px;
}

.password-rules span {
  color: #cbd4cc;
}

.password-rules b {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #cbd4cc;
  font-size: 13px;
  font-weight: 500;
}

.password-rules svg {
  width: 16px;
  color: var(--green);
}

.green-action {
  width: 100%;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-radius: 5px;
  color: #f4fff0;
  background: linear-gradient(135deg, #76d946, #4da62a);
  font-weight: 900;
}

.twofa-card {
  padding-left: 0;
  padding-right: 0;
}

.twofa-card h2,
.twofa-card > p,
.twofa-card h3,
.backup-codes,
.twofa-buttons {
  margin-left: 22px;
  margin-right: 22px;
}

.twofa-status {
  min-height: 96px;
  padding: 20px 22px;
  display: grid;
  grid-template-columns: 52px 1fr auto;
  align-items: center;
  gap: 15px;
  border-top: 1px solid rgba(255, 255, 255, .08);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.twofa-status > svg {
  width: 47px;
  height: 47px;
  padding: 12px;
  border-radius: 50%;
  color: var(--green);
  background: rgba(124, 255, 40, .13);
}

.twofa-status span {
  display: grid;
  gap: 3px;
}

.twofa-status strong {
  color: var(--green);
}

.twofa-status small {
  color: #c3ccc5;
}

.twofa-status button,
.twofa-buttons button,
.code-row button,
.security-history-card > button {
  height: 38px;
  padding: 0 16px;
  border-radius: 5px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .08);
  font-weight: 800;
}

.twofa-card h3 {
  margin-top: 20px;
  margin-bottom: 8px;
}

.backup-codes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.backup-codes span {
  height: 35px;
  display: grid;
  place-items: center;
  border-radius: 5px;
  background: rgba(4, 9, 13, .5);
  border: 1px solid rgba(255, 255, 255, .1);
  color: #dce4dc;
}

.twofa-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 22px;
}

.twofa-buttons button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.sessions-card {
  padding-bottom: 30px;
}

.session-list {
  display: grid;
  gap: 10px;
}

.session-list div {
  min-height: 66px;
  display: grid;
  grid-template-columns: 42px 1fr auto auto 24px;
  gap: 12px;
  align-items: center;
  padding: 0 13px;
  border-radius: 6px;
  background: rgba(4, 9, 13, .42);
  border: 1px solid rgba(255, 255, 255, .08);
}

.session-list svg {
  width: 31px;
  height: 31px;
  padding: 7px;
  border-radius: 50%;
  color: #e5ece6;
  border: 1px solid rgba(255, 255, 255, .28);
}

.session-list span {
  display: grid;
  gap: 3px;
}

.session-list small,
.session-list em {
  color: #c2cbc4;
  font-style: normal;
}

.session-list strong {
  color: var(--green);
  background: rgba(124, 255, 40, .14);
  border-radius: 5px;
  padding: 5px 8px;
  font-size: 12px;
}

.session-list button {
  background: transparent;
}

.close-sessions {
  width: 100%;
  height: 48px;
  margin-top: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  color: #ff4740;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 6px;
  font-weight: 900;
}

.code-row {
  display: grid;
  grid-template-columns: 1fr 108px;
  gap: 12px;
}

.delete-card h2 {
  color: #ff4740;
}

.danger-box {
  min-height: 80px;
  margin: 18px 0 38px;
  padding: 18px;
  display: grid;
  grid-template-columns: 48px 1fr;
  align-items: center;
  gap: 14px;
  border-radius: 6px;
  color: #ff665f;
  background: rgba(255, 56, 56, .14);
  border: 1px solid rgba(255, 56, 56, .26);
}

.danger-box svg {
  width: 38px;
  height: 38px;
}

.danger-box span {
  display: grid;
  gap: 4px;
}

.danger-box small {
  color: #f0c1bd;
}

.delete-account {
  width: 100%;
  height: 40px;
  margin-top: 55px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  color: #fff0ed;
  background: linear-gradient(135deg, rgba(213, 43, 31, .9), rgba(138, 27, 23, .9));
  border-radius: 5px;
  font-weight: 900;
}

.history-list {
  display: grid;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 6px;
  overflow: hidden;
}

.history-list div {
  min-height: 48px;
  display: grid;
  grid-template-columns: 29px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 0 13px;
  background: rgba(4, 9, 13, .35);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}

.history-list div:last-child {
  border-bottom: 0;
}

.history-list svg {
  width: 18px;
  color: var(--green);
}

.history-list span {
  display: grid;
  gap: 2px;
}

.history-list small,
.history-list time {
  color: #c2cbc4;
  font-size: 13px;
}

.security-history-card > button {
  width: 100%;
  margin-top: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
}

.characters-page {
  height: 100vh;
  min-height: 0;
  margin: -30px -31px -28px;
  padding: 16px 34px 20px 0;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(1, 5, 9, .96) 0%, rgba(1, 5, 9, .78) 41%, rgba(1, 5, 9, .92) 100%),
    url("https://images.unsplash.com/photo-1534190760961-74e8c1c5c3da?auto=format&fit=crop&w=2200&q=90") center top / cover;
}

.characters-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 38px;
  align-items: start;
  min-height: 118px;
  padding-left: 64px;
}

.characters-brand {
  min-height: 150px;
  display: grid;
  place-items: start center;
  border-right: 1px solid rgba(255, 255, 255, .12);
}

.characters-logo {
  margin-top: 9px;
  color: #fff;
  text-transform: lowercase;
  line-height: .72;
  font-weight: 900;
  font-size: 43px;
  text-shadow: 3px 3px 0 rgba(0, 0, 0, .8);
}

.characters-logo span {
  display: block;
}

.characters-logo b {
  display: inline-grid;
  place-items: center;
  width: 54px;
  height: 32px;
  margin-left: 96px;
  margin-top: -14px;
  font-size: 24px;
  font-family: Georgia, serif;
  border: 2px solid #dfead9;
  background: linear-gradient(160deg, #133a17, #0c160f);
  transform: skewX(-12deg);
}

.characters-heading {
  padding-top: 34px;
}

.characters-heading h1 {
  margin: 0;
  font-size: 38px;
  line-height: 1;
  font-weight: 900;
}

.characters-heading p {
  margin: 14px 0 0;
  font-size: 17px;
  color: #eef4ef;
}

.characters-heading strong {
  color: var(--green);
}

.characters-actions {
  padding-top: 0;
  margin-right: 0;
}

.character-select-layout {
  display: grid;
  grid-template-columns: minmax(760px, 1fr) 370px;
  gap: 38px;
  padding-left: 220px;
}

.character-select-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.select-character-card {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(19, 25, 31, .7), rgba(5, 10, 15, .96));
  border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .45);
  cursor: pointer;
}

.select-character-card.active {
  border-color: var(--green);
  box-shadow: 0 0 0 1px rgba(124, 255, 40, .45), 0 0 32px rgba(124, 255, 40, .18), 0 30px 80px rgba(0, 0, 0, .5);
}

.selected-badge {
  position: absolute;
  right: 12px;
  top: 12px;
  z-index: 3;
  padding: 8px 10px;
  border-radius: 6px;
  color: #edffe7;
  background: rgba(124, 255, 40, .65);
  font-weight: 900;
}

.select-art {
  position: relative;
  height: 220px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}

.select-art::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 132px;
  height: 190px;
  z-index: 2;
  background: linear-gradient(to bottom, transparent, rgba(5, 10, 15, .98));
}

.select-art img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.select-art.skin-art {
  background:
    radial-gradient(circle at 50% 16%, rgba(255, 45, 91, .16), transparent 36%),
    linear-gradient(180deg, rgba(14, 20, 27, .92), rgba(4, 9, 13, .98));
}

.select-art.skin-art img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
  padding: 8px 18px 0;
  filter: drop-shadow(0 22px 28px rgba(0, 0, 0, .55));
}

.select-art.franklin {
  background-image:
    linear-gradient(180deg, rgba(4, 9, 13, .1), rgba(4, 9, 13, .05)),
    url("https://images.unsplash.com/photo-1500648767791-00dcc994a43e?auto=format&fit=crop&w=720&q=90");
}

.select-art.michael {
  background-image:
    linear-gradient(180deg, rgba(4, 9, 13, .05), rgba(4, 9, 13, .08)),
    url("https://images.unsplash.com/photo-1560250097-0b93528c311a?auto=format&fit=crop&w=720&q=90");
}

.select-art.trevor {
  background-image:
    linear-gradient(180deg, rgba(4, 9, 13, .02), rgba(4, 9, 13, .08)),
    url("https://images.unsplash.com/photo-1506794778202-cad84cf45f1d?auto=format&fit=crop&w=720&q=90");
}

.select-content {
  position: relative;
  z-index: 2;
  padding: 16px 26px 20px;
}

.select-content h2 {
  margin: 0;
  color: #fff;
  font-size: 24px;
  line-height: 1.05;
}

.select-character-card.active .select-content h2 {
  color: var(--green);
}

.select-content h3 {
  margin: 8px 0 14px;
  font-size: 16px;
}

.select-content p {
  min-height: 48px;
  margin: 0 0 14px;
  color: #d2dbd5;
  font-size: 15px;
  line-height: 1.45;
}

.character-card-stats {
  display: grid;
  gap: 7px;
}

.character-card-stats div {
  min-height: 38px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 11px;
  border-radius: 8px;
  background: rgba(255, 255, 255, .045);
  border: 1px solid rgba(255, 255, 255, .09);
}

.character-card-stats svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  color: var(--green);
}

.character-card-stats span {
  margin-right: auto;
  color: rgba(255, 255, 255, .58);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.character-card-stats strong {
  max-width: 58%;
  text-align: right;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #fff;
  font-size: 13px;
  line-height: 1;
}

.skill-list {
  display: grid;
  gap: 12px;
}

.skill-list div {
  display: grid;
  grid-template-columns: 92px 1fr 22px;
  gap: 12px;
  align-items: center;
  color: #fff;
}

.skill-list b {
  height: 9px;
  border-radius: 18px;
  background: rgba(255, 255, 255, .12);
  overflow: hidden;
}

.skill-list u {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--green);
  text-decoration: none;
  box-shadow: 0 0 12px rgba(124, 255, 40, .45);
}

.skill-list svg {
  width: 20px;
  height: 20px;
  color: #fff;
}

.select-content button {
  width: 100%;
  height: 48px;
  margin-top: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  border-radius: 8px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, .14);
  font-size: 17px;
  font-weight: 800;
}

.select-character-card.active .select-content button {
  color: #f4fff0;
  background: linear-gradient(135deg, rgba(124, 255, 40, .38), rgba(55, 119, 35, .7));
  border-color: rgba(124, 255, 40, .28);
}

.character-info-panel {
  align-self: center;
  min-height: 310px;
  padding: 28px 32px;
  border-radius: 12px;
  background: rgba(11, 17, 23, .84);
  border: 1px solid rgba(255, 255, 255, .1);
  box-shadow: 0 25px 70px rgba(0, 0, 0, .42);
}

.character-info-panel h2 {
  margin: 0 0 24px;
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 23px;
}

.character-info-panel h2 svg,
.character-info-panel div svg {
  color: var(--green);
}

.character-info-panel div {
  min-height: 66px;
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 18px;
  align-items: center;
  color: #c8d1ca;
  line-height: 1.5;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}

.character-info-panel div:last-child {
  border-bottom: 0;
}

.character-select-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 38px;
  align-items: center;
  padding: 20px 34px 0 220px;
}

.character-tip {
  min-height: 58px;
  padding: 0 27px;
  display: flex;
  align-items: center;
  gap: 18px;
  border-radius: 10px;
  color: #c9d2cb;
  background: rgba(11, 17, 23, .78);
  border: 1px solid rgba(255, 255, 255, .08);
}

.character-tip svg {
  width: 27px;
  color: var(--green);
}

.character-actions-row {
  display: flex;
  gap: 13px;
}

.character-actions-row button {
  height: 66px;
  padding: 0 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border-radius: 8px;
  background: rgba(11, 17, 23, .78);
  border: 1px solid rgba(255, 255, 255, .1);
  font-weight: 900;
  font-size: 16px;
}

.character-actions-row button:last-child {
  width: 82px;
  padding: 0;
}

@media (max-width: 1420px) {
  .grid,
  .promo-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .transactions-panel {
    grid-row: auto;
  }

  .inventory-panel,
  .transactions-panel {
    grid-column: span 2;
  }

  .support-layout {
    grid-template-columns: 1fr;
  }

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

  .finance-layout {
    grid-template-columns: 1fr;
  }

  .vehicles-layout {
    grid-template-columns: 1fr;
  }

  .inventory-layout {
    grid-template-columns: 1fr;
  }

  .properties-layout {
    grid-template-columns: 1fr;
  }

  .items-panel {
    padding-right: 0;
  }

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

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

  .settings-grid {
    grid-template-columns: 1fr 1fr;
  }

  .characters-page {
    padding-right: 24px;
  }

  .character-select-layout,
  .character-select-footer {
    padding-left: 24px;
  }

  .character-select-layout {
    grid-template-columns: 1fr;
  }

  .character-info-panel {
    align-self: auto;
  }

  .vehicle-detail-panel,
  .property-detail-panel {
    position: relative;
    top: 0;
  }
}

@media (max-width: 1040px) {
  .app-shell {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: relative;
    height: auto;
  }

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

  .hero,
  .promo-row,
  .grid {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .inventory-panel,
  .transactions-panel {
    grid-column: auto;
  }

  .support-hero {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .support-layout,
  .character-layout {
    grid-template-columns: 1fr;
  }

  .finance-hero {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .finance-summary-row {
    grid-template-columns: 1fr;
  }

  .vehicles-hero {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .vehicle-toolbar,
  .vehicle-toolbar > div {
    align-items: stretch;
    flex-direction: column;
  }

  .vehicle-toolbar input {
    width: 100%;
  }

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

  .inventory-hero {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .properties-hero {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .settings-hero {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .inventory-toolbar {
    grid-template-columns: 1fr;
    padding-top: 16px;
    padding-bottom: 16px;
  }

  .weight-info {
    grid-template-columns: auto minmax(120px, 1fr) auto;
  }

  .sort-button {
    min-width: 0;
    width: 100%;
  }

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

  .property-toolbar {
    grid-template-columns: 1fr;
  }

  .settings-grid {
    grid-template-columns: 1fr;
  }

  .characters-hero {
    grid-template-columns: 1fr;
    padding-left: 24px;
  }

  .characters-brand {
    display: none;
  }

  .character-select-cards {
    grid-template-columns: 1fr;
  }

  .character-select-footer {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .session-list div {
    grid-template-columns: 42px 1fr;
  }

  .session-list strong,
  .session-list em,
  .session-list button {
    grid-column: 2;
    justify-self: start;
  }

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

@media (max-width: 680px) {
  .dashboard,
  .sidebar {
    padding: 18px;
  }

  .nav-list,
  .character-content,
  .vehicle-card,
  .news-card,
  .premium-card {
    grid-template-columns: 1fr;
  }

  .top-actions,
  .profile-menu,
  .property-info {
    width: 100%;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .top-actions {
    justify-content: space-between;
  }

  .hero-stats {
    grid-column: auto;
    grid-template-columns: 1fr;
  }

  .hero-stats div + div {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, .06);
  }

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

  .support-layout,
  .support-note,
  .finance-summary-row,
  .finance-layout,
  .finance-security {
    padding-left: 18px;
    padding-right: 18px;
    margin-left: 0;
    margin-right: 0;
  }

  .category-grid,
  .general-grid,
  .other-grid {
    grid-template-columns: 1fr;
  }

  .ticket-list > div {
    grid-template-columns: 43px 1fr;
  }

  .ticket-list strong,
  .ticket-list button {
    justify-self: start;
    grid-column: 2;
  }

  .cash-totals,
  .cash-gains,
  .finance-security {
    grid-template-columns: 1fr;
  }

  .finance-transactions > div,
  .debt-list > div {
    grid-template-columns: 44px 1fr;
  }

  .finance-transactions strong,
  .debt-list strong,
  .debt-list button {
    grid-column: 2;
    justify-self: start;
    text-align: left;
  }

  .finance-security button {
    min-width: 0;
    width: 100%;
  }

  .vehicles-layout,
  .vehicle-toolbar {
    padding-left: 18px;
    padding-right: 18px;
  }

  .garage-grid {
    grid-template-columns: 1fr;
  }

  .vehicle-details .meter,
  .vehicle-details > div {
    grid-template-columns: 28px 1fr;
  }

  .vehicle-details strong,
  .meter b {
    grid-column: 2;
    justify-self: start;
  }

  .inventory-layout,
  .inventory-toolbar {
    padding-left: 18px;
    padding-right: 18px;
  }

  .properties-layout,
  .property-toolbar,
  .property-tax-note {
    padding-left: 18px;
    padding-right: 18px;
    margin-left: 0;
    margin-right: 0;
  }

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

  .properties-grid {
    grid-template-columns: 1fr;
  }

  .selected-preview {
    height: 210px;
  }

  .property-tax-note {
    grid-template-columns: 1fr;
  }

  .property-tax-note button {
    min-width: 0;
    width: 100%;
  }

  .settings-grid {
    padding-left: 18px;
    padding-right: 18px;
  }

  .settings-tabs {
    overflow-x: auto;
    gap: 18px;
  }

  .backup-codes,
  .twofa-buttons,
  .code-row {
    grid-template-columns: 1fr;
  }

  .twofa-status {
    grid-template-columns: 52px 1fr;
  }

  .twofa-status button {
    grid-column: 2;
    justify-self: start;
  }

  .characters-page {
    margin: -18px;
    padding: 18px;
  }

  .characters-hero,
  .character-select-layout,
  .character-select-footer {
    padding-left: 0;
    padding-right: 0;
  }

  .characters-heading h1 {
    font-size: 34px;
  }

  .select-character-card {
    min-height: 690px;
  }

  .skill-list div {
    grid-template-columns: 82px 1fr 24px;
  }

  .character-actions-row {
    flex-direction: column;
  }

  .character-actions-row button,
  .character-actions-row button:last-child {
    width: 100%;
  }
}

/* Ayaz theme overrides */
:root {
  --ayaz-red: #ff0837;
  --ayaz-red-dark: #8f001b;
  --ayaz-red-soft: rgba(255, 8, 55, .16);
  --ayaz-line: rgba(255, 255, 255, .14);
  --green: var(--ayaz-red);
  --green-soft: var(--ayaz-red-soft);
  --blue: #d7dce5;
  --red: #ff3348;
}

body {
  background:
    radial-gradient(circle at 20% 0%, rgba(255, 8, 55, .22), transparent 30%),
    radial-gradient(circle at 82% 18%, rgba(255, 255, 255, .08), transparent 24%),
    linear-gradient(135deg, rgba(5, 7, 11, .96), rgba(20, 3, 8, .84)),
    url("../images/ayaz.png") center top / cover fixed;
}

body::before {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .03) 1px, transparent 1px),
    linear-gradient(rgba(255, 8, 55, .045) 1px, transparent 1px);
}

.sidebar,
.login-card {
  border-color: rgba(255, 8, 55, .18);
  background: linear-gradient(180deg, rgba(13, 15, 20, .94), rgba(13, 2, 7, .94));
  box-shadow: 0 28px 90px rgba(0, 0, 0, .58), inset 1px 0 0 rgba(255, 255, 255, .04);
}

.brand {
  align-items: flex-start;
}

.ayaz-brand-logo {
  width: 172px;
  min-height: 106px;
  display: grid;
  place-items: center;
  padding: 8px;
  border: 1px solid rgba(255, 8, 55, .22);
  border-radius: 16px;
  background:
    radial-gradient(circle at 72% 24%, rgba(255, 255, 255, .18), transparent 26%),
    linear-gradient(145deg, rgba(255, 8, 55, .22), rgba(80, 0, 14, .28));
  box-shadow: 0 18px 46px rgba(255, 8, 55, .16);
}

.ayaz-brand-logo img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 12px 18px rgba(0, 0, 0, .35));
}

.server-name {
  margin-top: 18px;
  border-left: 3px solid var(--ayaz-red);
}

.server-name span,
.premium-card span,
.news-card a,
.card-title b {
  color: var(--ayaz-red);
}

.balance-badge span {
  color: #fff;
}

.server-name strong {
  color: #fff;
}

.server-name i,
.live-dot,
.dots span.active,
.slider-bar span.active {
  background: var(--ayaz-red);
  box-shadow: 0 0 16px rgba(255, 8, 55, .65);
}

.nav-item.active {
  color: #fff;
  background: linear-gradient(90deg, rgba(255, 8, 55, .22), rgba(255, 8, 55, .07));
  border-color: rgba(255, 8, 55, .22);
  box-shadow: inset -3px 0 0 var(--ayaz-red);
}

.nav-item:hover,
.icon-button:hover,
.profile-menu:hover {
  border-color: rgba(255, 8, 55, .32);
}

.nav-item:hover {
  color: #fff;
  background: rgba(255, 8, 55, .09);
}

.play-button,
.login-card button,
.premium-card button,
.wide-link,
.character-actions-row button:first-child,
.close-sessions,
.support-card button,
.settings-save,
.select-content button {
  background: linear-gradient(135deg, var(--ayaz-red), var(--ayaz-red-dark));
  border-color: rgba(255, 8, 55, .32);
  box-shadow: 0 18px 42px rgba(255, 8, 55, .18);
}

.login-card input:focus {
  border-color: rgba(255, 8, 55, .75);
  box-shadow: 0 0 0 4px rgba(255, 8, 55, .13);
}

.login-logo {
  width: 190px;
  max-width: 72%;
  justify-self: center;
  border-radius: 16px;
  box-shadow: 0 18px 50px rgba(255, 8, 55, .2);
}

.hero,
.character-hero,
.support-hero,
.finance-hero,
.inventory-hero,
.vehicles-hero,
.properties-hero,
.settings-hero,
.characters-hero {
  background:
    linear-gradient(90deg, rgba(6, 7, 12, .98) 0%, rgba(34, 2, 10, .76) 45%, rgba(255, 8, 55, .14) 100%),
    url("../images/ayaz.png") center / cover;
  border-bottom-color: rgba(255, 8, 55, .2);
}

.premium-card {
  background:
    linear-gradient(90deg, rgba(15, 14, 18, .94), rgba(100, 0, 18, .46)),
    radial-gradient(circle at 84% 48%, rgba(255, 8, 55, .18), transparent 34%);
  border-color: rgba(255, 8, 55, .28);
}

.panel,
.premium-card,
.news-card,
.server-card,
.profile-menu,
.icon-button {
  border-color: rgba(255, 255, 255, .09);
}

.panel:hover,
.premium-card:hover,
.news-card:hover {
  border-color: rgba(255, 8, 55, .26);
  box-shadow: 0 22px 70px rgba(0, 0, 0, .36), 0 0 0 1px rgba(255, 8, 55, .05);
}

.green,
.plus {
  color: #43f0aa !important;
}

.general-item > svg,
.license-list svg,
.status-row svg,
.item-card > svg,
.finance-stat svg,
.property-stat svg,
.vehicle-specs svg,
.session-list svg,
.activity-list svg {
  color: #fff !important;
  background: rgba(255, 8, 55, .14) !important;
}

.level-item b em,
.skill-list b u,
.progress-fill,
.view-btn.active,
.garage-card.active::before {
  background: linear-gradient(90deg, var(--ayaz-red), #ff6b7f) !important;
  box-shadow: 0 0 14px rgba(255, 8, 55, .34) !important;
}

.status-row.red svg,
.status-row.red b em,
.status-row.blue svg,
.status-row.blue b em,
.status-row.yellow svg,
.status-row.yellow b em,
.status-row.cyan svg,
.status-row.cyan b em {
  color: #fff !important;
  background: var(--ayaz-red) !important;
}

.status-row.blue b em {
  background: #d8dde7 !important;
}

.status-row.yellow b em {
  background: #ffb84d !important;
}

.status-row.cyan b em {
  background: #b9c0cc !important;
}

.status-row b {
  background: rgba(255, 255, 255, .10) !important;
}

.license-list strong,
.selected-badge,
.vehicle-status,
.property-badge,
.garage-card.active,
.item-card.active,
.property-card.active,
.select-character-card.active {
  color: #fff !important;
  border-color: rgba(255, 8, 55, .52) !important;
  background: rgba(255, 8, 55, .12) !important;
  box-shadow: inset 0 0 0 1px rgba(255, 8, 55, .12) !important;
}

.top-actions .notification span,
.profile-menu small i,
.server-card .live-dot {
  background: var(--ayaz-red) !important;
  box-shadow: 0 0 16px rgba(255, 8, 55, .62) !important;
}

.character-heading h1 svg,
.support-heading h1 svg,
.finance-heading h1 svg,
.inventory-heading h1 svg,
.vehicles-heading h1 svg,
.properties-heading h1 svg,
.settings-heading h1 svg {
  color: var(--ayaz-red);
  stroke: var(--ayaz-red);
  filter: drop-shadow(0 0 8px rgba(255, 8, 55, .34));
}

.hero,
.character-hero,
.support-hero,
.finance-hero,
.inventory-hero,
.vehicles-hero,
.properties-hero,
.settings-hero,
.characters-hero {
  box-shadow: inset 0 -1px 0 rgba(255, 8, 55, .18);
}

.ayaz-brand-logo {
  border-radius: 10px;
}

.brand {
  padding-bottom: 24px;
  border-bottom-color: rgba(255, 8, 55, .18);
}

.ayaz-brand-logo {
  width: 172px !important;
  height: 138px;
  min-height: 0;
  overflow: hidden;
  padding: 0;
  border-radius: 14px;
  background: rgba(255, 8, 55, .10);
}

.ayaz-brand-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.char-card,
.panel,
.support-card,
.finance-card,
.inventory-card,
.vehicle-detail-card,
.property-detail-card,
.settings-card {
  background: linear-gradient(145deg, rgba(13, 18, 23, .96), rgba(8, 10, 15, .94)) !important;
  border-color: rgba(255, 255, 255, .095) !important;
}

.char-card h3,
.panel-head h3,
.support-card h2,
.finance-card h2,
.inventory-card h2,
.settings-card h2 {
  color: #f8f9fb;
}

.breadcrumb strong,
.profile-menu small,
.server-card strong,
.nav-item.active span,
.nav-item.active svg {
  color: #fff !important;
}

.hero-copy h1,
.character-heading h1,
.support-heading h1,
.finance-heading h1,
.inventory-heading h1,
.vehicles-heading h1,
.properties-heading h1,
.settings-heading h1 {
  text-shadow: 0 12px 30px rgba(0, 0, 0, .42);
}

.hero-copy h1 span {
  filter: drop-shadow(0 0 10px rgba(255, 8, 55, .45));
}

.live-dot,
.server-name i,
.dots span.active,
.slider-bar span.active,
.top-actions .notification span,
.profile-menu small i {
  background: #ff224b !important;
}

.general-item .green,
.finance-stat .green,
.transactions .plus,
.finance-transactions .plus {
  color: #35e8a2 !important;
}

.license-list strong {
  color: #fff !important;
  background: rgba(255, 8, 55, .18) !important;
}

.status-row strong {
  color: #f3f5f8;
}

.status-row.red b em {
  background: linear-gradient(90deg, #ff244c, #ff5d71) !important;
}

.status-row.blue b em,
.status-row.cyan b em {
  background: linear-gradient(90deg, #cfd6e2, #ffffff) !important;
}

.status-row.yellow b em {
  background: linear-gradient(90deg, #ffad3d, #ffd07a) !important;
}

.select-character-card.active,
.garage-card.active,
.item-card.active,
.property-card.active {
  border-color: rgba(255, 8, 55, .52) !important;
  box-shadow: 0 22px 70px rgba(0, 0, 0, .34), 0 0 0 1px rgba(255, 8, 55, .16) !important;
}

.select-content button,
.support-card button,
.settings-save,
.close-sessions {
  color: #fff !important;
}

.sidebar .brand {
  position: relative;
  padding: 0 4px 18px;
  display: grid;
  justify-items: center;
  gap: 10px;
}

.sidebar .brand::after {
  content: "";
  position: absolute;
  left: 6px;
  right: 6px;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 8, 55, .46), rgba(255, 255, 255, .16), transparent);
}

.sidebar .ayaz-brand-logo {
  position: relative;
  width: 122px !important;
  height: 98px;
  border-radius: 18px;
  border: 1px solid rgba(255, 8, 55, .36);
  background:
    radial-gradient(circle at 50% 18%, rgba(255, 255, 255, .13), transparent 34%),
    linear-gradient(145deg, rgba(255, 8, 55, .18), rgba(30, 2, 10, .82));
  box-shadow:
    0 22px 55px rgba(0, 0, 0, .38),
    0 0 42px rgba(255, 8, 55, .16),
    inset 0 1px 0 rgba(255, 255, 255, .12);
}

.sidebar .ayaz-brand-logo::before {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 13px;
  border: 1px solid rgba(255, 255, 255, .08);
  pointer-events: none;
  z-index: 2;
}

.sidebar .ayaz-brand-logo img {
  transform: scale(1.06);
  filter: drop-shadow(0 14px 18px rgba(0, 0, 0, .45));
}

.brand-shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 0 36%, rgba(255, 255, 255, .18) 48%, transparent 61%);
  transform: translateX(-65%);
  opacity: .75;
  pointer-events: none;
}

.sidebar .server-name {
  width: 122px;
  margin-top: 0;
  padding: 10px 11px 10px 13px;
  border-left: 3px solid var(--ayaz-red);
  border-radius: 0 12px 12px 0;
  background:
    linear-gradient(90deg, rgba(255, 8, 55, .13), rgba(255, 255, 255, .025)),
    rgba(255, 255, 255, .018);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .035);
}

.sidebar .server-name span {
  display: block;
  font-size: 11px;
  letter-spacing: 2.2px;
  line-height: 1;
}

.sidebar .server-name strong {
  display: block;
  margin-top: 6px;
  font-size: 11px;
  letter-spacing: 3px;
  line-height: 1;
}

.sidebar .server-name small {
  display: inline-flex;
  margin-top: 8px;
  padding: 4px 7px;
  border-radius: 999px;
  background: rgba(255, 8, 55, .16);
  color: rgba(255, 255, 255, .76);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 1.4px;
}

.instagram-nav svg,
.instagram-heading h1 svg {
  color: var(--ayaz-red) !important;
  stroke: var(--ayaz-red) !important;
}

.instagram-nav.active svg,
.instagram-nav:hover svg {
  color: #fff !important;
  stroke: #fff !important;
}

.instagram-glyph {
  position: relative;
  width: 21px;
  height: 21px;
  flex: 0 0 21px;
  border: 2px solid currentColor;
  border-radius: 7px;
  color: var(--ayaz-red);
}

.instagram-glyph::before {
  content: "";
  position: absolute;
  inset: 5px;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.instagram-glyph::after {
  content: "";
  position: absolute;
  top: 4px;
  right: 4px;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: currentColor;
}

.instagram-nav.active .instagram-glyph,
.instagram-nav:hover .instagram-glyph {
  color: #fff;
}

.instagram-page {
  min-height: calc(100vh - 58px);
}

.instagram-hero {
  min-height: 176px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: 28px 34px;
  border-radius: 0 0 10px 10px;
  background:
    linear-gradient(90deg, rgba(6, 7, 12, .98) 0%, rgba(34, 2, 10, .78) 48%, rgba(255, 8, 55, .16) 100%),
    url("../images/ayaz.png") center 42% / cover;
  border-bottom: 1px solid rgba(255, 8, 55, .2);
  box-shadow: inset 0 -1px 0 rgba(255, 8, 55, .18);
}

.instagram-heading h1 {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 34px;
  line-height: 1;
  font-weight: 900;
}

.instagram-heading h1 svg {
  width: 28px;
  height: 28px;
  color: var(--ayaz-red);
  filter: drop-shadow(0 0 8px rgba(255, 8, 55, .34));
}

.instagram-heading p {
  margin: 18px 0 0;
  color: #d4d8df;
  font-size: 17px;
}

.instagram-heading strong,
.instagram-card a,
.instagram-stats small {
  color: var(--ayaz-red);
}

.instagram-actions {
  display: flex;
  gap: 16px;
}

.instagram-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(360px, .82fr);
  gap: 22px;
  padding: 26px 34px 0;
}

.instagram-feed,
.instagram-side {
  display: grid;
  gap: 18px;
  align-content: start;
}

.instagram-card {
  border: 1px solid rgba(255, 255, 255, .095);
  border-radius: 10px;
  background: linear-gradient(145deg, rgba(13, 18, 23, .96), rgba(8, 10, 15, .94));
  box-shadow: 0 22px 70px rgba(0, 0, 0, .32);
}

.instagram-create-card,
.instagram-post,
.instagram-side .instagram-card {
  padding: 22px;
}

.instagram-card h2 {
  margin: 0;
  font-size: 20px;
}

.instagram-compose {
  display: grid;
  grid-template-columns: 50px 1fr;
  gap: 14px;
  margin-top: 16px;
}

.instagram-compose img,
.post-head img,
.post-comment img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

.instagram-compose textarea {
  min-height: 96px;
  resize: vertical;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 9px;
  background: rgba(255, 255, 255, .025);
  color: #fff;
  padding: 16px;
  font: inherit;
  outline: none;
}

.instagram-compose textarea:focus,
.post-comment input:focus {
  border-color: rgba(255, 8, 55, .48);
  box-shadow: 0 0 0 4px rgba(255, 8, 55, .08);
}

.instagram-tools {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(130px, auto);
  gap: 10px;
  margin-top: 16px;
}

.instagram-tools button,
.side-head button,
.suggest-list button {
  min-height: 40px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 8px;
  background: rgba(255, 255, 255, .025);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-weight: 700;
}

.instagram-tools button svg,
.side-head button svg,
.suggest-list button svg {
  width: 18px;
  height: 18px;
}

.instagram-tools .instagram-share,
.suggest-list button {
  background: linear-gradient(135deg, var(--ayaz-red), var(--ayaz-red-dark));
  border-color: rgba(255, 8, 55, .34);
  color: #fff;
}

.post-head {
  display: grid;
  grid-template-columns: 50px 1fr auto;
  gap: 12px;
  align-items: center;
}

.post-head b {
  display: block;
  font-size: 16px;
}

.post-head small {
  display: block;
  margin-top: 4px;
  color: rgba(236, 242, 255, .58);
}

.post-head button,
.post-comment button {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: transparent;
  color: rgba(236, 242, 255, .78);
}

.instagram-post p {
  color: #e7ebf0;
  line-height: 1.48;
  margin: 18px 0 14px;
}

.post-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 9px;
  border: 1px solid rgba(255, 255, 255, .08);
}

.post-actions {
  display: grid;
  grid-template-columns: repeat(3, auto) 1fr;
  align-items: center;
  gap: 18px;
  padding: 16px 0 12px;
}

.post-actions button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #f7f8fb;
  background: transparent;
  font-weight: 700;
}

.post-actions button:first-child svg {
  color: var(--ayaz-red);
  fill: var(--ayaz-red);
}

.post-actions button:last-child {
  justify-self: end;
}

.post-comment {
  display: grid;
  grid-template-columns: 38px 1fr 38px;
  gap: 10px;
  align-items: center;
}

.post-comment img {
  width: 38px;
  height: 38px;
}

.post-comment input {
  height: 42px;
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 9px;
  background: rgba(255, 255, 255, .025);
  color: #fff;
  padding: 0 14px;
  font: inherit;
  outline: none;
}

.side-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.side-head a {
  font-weight: 800;
}

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

.story-list button {
  display: grid;
  justify-items: center;
  gap: 9px;
  background: transparent;
  font-weight: 700;
}

.story-list img {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--ayaz-red);
  box-shadow: 0 0 18px rgba(255, 8, 55, .24);
}

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

.instagram-stats div {
  min-height: 104px;
  border: 1px solid rgba(255, 255, 255, .075);
  border-radius: 9px;
  background: rgba(255, 255, 255, .022);
  padding: 14px;
  display: grid;
  gap: 4px;
}

.instagram-stats svg {
  color: var(--ayaz-red);
}

.instagram-stats span,
.instagram-stats small {
  font-size: 13px;
  font-weight: 700;
}

.instagram-stats b {
  font-size: 24px;
}

.popular-list,
.suggest-list {
  display: grid;
  gap: 13px;
}

.popular-list div,
.suggest-list div {
  display: grid;
  grid-template-columns: 68px 1fr auto;
  gap: 12px;
  align-items: center;
}

.popular-list img,
.suggest-list img {
  width: 68px;
  height: 54px;
  border-radius: 7px;
  object-fit: cover;
}

.suggest-list img {
  height: 68px;
  border-radius: 50%;
}

.popular-list b,
.suggest-list b {
  display: block;
  font-size: 14px;
}

.popular-list small,
.suggest-list small {
  display: block;
  margin-top: 4px;
  color: rgba(236, 242, 255, .58);
}

.popular-list em {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #f7f8fb;
  font-style: normal;
}

.popular-list em svg {
  width: 17px;
  height: 17px;
  color: var(--ayaz-red);
}

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

@media (max-width: 760px) {
  .instagram-hero,
  .instagram-layout {
    padding-left: 18px;
    padding-right: 18px;
  }

  .instagram-hero,
  .instagram-tools,
  .instagram-stats,
  .story-list {
    grid-template-columns: 1fr;
  }

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