/*
 * Digital Oceon / Signal Interface
 * A focused dark UI layer over the existing PHP templates.
 */
:root {
  --do-bg: #080d12;
  --do-bg-soft: #0d151c;
  --do-surface: rgba(16, 25, 32, 0.88);
  --do-surface-solid: #111c24;
  --do-surface-raised: #17252d;
  --do-line: rgba(173, 207, 210, 0.16);
  --do-line-strong: rgba(120, 224, 202, 0.38);
  --do-text: #eff8f5;
  --do-muted: #8da0ad;
  --do-dim: #526470;
  --do-accent: #78f0d0;
  --do-accent-dark: #2db795;
  --do-danger: #ff7d8e;
  --do-warning: #f3c874;
  --do-radius: 20px;
  --do-radius-tight: 12px;
  --do-shadow: 0 18px 44px rgba(0, 7, 12, 0.3);
  --do-font: "Space Grotesk", "Segoe UI", sans-serif;
  --do-mono: "DM Mono", Consolas, monospace;
}

html {
  background: var(--do-bg) !important;
  font-size: 68.75% !important;
  scroll-behavior: smooth;
}

body {
  min-height: 100dvh;
  margin: 0;
  overflow-x: hidden;
  color: var(--do-text) !important;
  background-color: var(--do-bg) !important;
  background-image:
    radial-gradient(circle at 8% 0%, rgba(75, 190, 169, 0.1), transparent 28rem),
    radial-gradient(circle at 100% 100%, rgba(82, 119, 145, 0.08), transparent 30rem) !important;
  background-size: auto, auto !important;
  background-position: 0 0, 100% 100% !important;
  animation: do-ambient-drift 32s ease-in-out infinite alternate;
  font-family: var(--do-font) !important;
  font-size: 15px !important;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: -0.005em;
}

body::before {
  position: fixed;
  z-index: 0;
  inset: 0;
  pointer-events: none;
  content: "";
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.65'/%3E%3C/svg%3E");
  mix-blend-mode: screen;
}

body::after {
  display: none;
}

a,
button,
input,
select,
textarea {
  font-family: inherit;
}

a {
  color: var(--do-accent);
}

a:hover {
  color: #b0ffe9;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--do-accent) !important;
  outline-offset: 3px;
}

button {
  cursor: pointer;
}

.page,
.page--main {
  position: relative;
  z-index: 2;
  min-height: 100dvh;
  background: transparent !important;
}

.header,
.header--fixed {
  position: fixed !important;
  z-index: 1000;
  top: 0;
  right: 0;
  left: 0;
  height: auto !important;
  padding: 0 !important;
  background: rgba(8, 13, 18, 0.92) !important;
  border-bottom: 1px solid var(--do-line) !important;
  box-shadow: 0 10px 28px rgba(0, 7, 12, 0.2);
  backdrop-filter: blur(18px) saturate(115%);
  -webkit-backdrop-filter: blur(18px) saturate(115%);
}

.header__inner {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  width: min(100% - 48px, 1320px) !important;
  height: 72px !important;
  margin: 0 auto;
  padding: 0 !important;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--do-text) !important;
  text-decoration: none !important;
}

.brand-mark {
  display: inline-flex;
  align-items: flex-end;
  gap: 3px;
  width: 27px;
  height: 27px;
  padding: 5px;
  box-sizing: border-box;
  background: var(--do-accent);
  border-radius: 7px 7px 2px 7px;
  transform: rotate(-12deg);
  box-shadow: 0 0 22px rgba(120, 240, 208, 0.35);
}

.brand-mark span {
  display: block;
  width: 4px;
  background: var(--do-bg);
  border-radius: 2px;
}

.brand-mark span:nth-child(1) { height: 7px; }
.brand-mark span:nth-child(2) { height: 12px; }
.brand-mark span:nth-child(3) { height: 17px; }

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-kicker,
.header__telemetry,
.system-status,
.section-kicker,
.eyebrow,
.account-info__title {
  color: var(--do-muted) !important;
  font-family: var(--do-mono) !important;
  font-size: 0.72rem !important;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.brand-name {
  margin-top: 5px;
  color: var(--do-text);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.brand-name strong {
  color: var(--do-accent) !important;
  font-weight: 700;
}

.header__telemetry {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  margin-right: 22px;
}

.status-light {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--do-accent);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(120, 240, 208, 0.12), 0 0 14px var(--do-accent);
  animation: do-pulse 2.2s ease-in-out infinite;
}

.header__actions {
  display: flex;
  align-items: center;
}

.header__icon {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 40px !important;
  height: 40px !important;
  padding: 0 !important;
  box-sizing: border-box;
  background: rgba(120, 240, 208, 0.07) !important;
  border: 1px solid var(--do-line) !important;
  border-radius: 11px;
  transition: 220ms ease;
}

.header__icon:hover {
  background: rgba(120, 240, 208, 0.16) !important;
  border-color: var(--do-line-strong) !important;
  transform: translateY(-1px);
}

.header__icon img {
  width: 19px !important;
  height: 19px !important;
  opacity: 0.9;
  filter: brightness(0) saturate(100%) invert(83%) sepia(28%) saturate(698%) hue-rotate(112deg) brightness(104%) contrast(91%);
}

.page__content,
.page__content--full {
  position: relative;
  z-index: 2;
  width: min(100% - 48px, 1440px) !important;
  min-height: 100dvh;
  margin: 0 auto !important;
  padding: 96px 0 148px !important;
  box-sizing: border-box;
  background: transparent !important;
}

.account-info {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(190px, 27%);
  align-items: stretch;
  gap: 24px;
  min-height: 156px;
  margin: 8px auto 32px !important;
  padding: 26px 30px 30px !important;
  overflow: hidden;
  box-sizing: border-box;
  text-align: left !important;
  background: rgba(16, 27, 34, 0.9) !important;
  border: 1px solid var(--do-line) !important;
  border-radius: var(--do-radius) !important;
  box-shadow: var(--do-shadow), inset 0 1px 0 rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(18px) saturate(115%);
  -webkit-backdrop-filter: blur(18px) saturate(115%);
}

.account-info::before {
  position: absolute;
  top: 0;
  right: 0;
  width: 28%;
  height: 100%;
  content: "";
  pointer-events: none;
  background: linear-gradient(180deg, rgba(120, 240, 208, 0.09), transparent 76%);
  mask-image: linear-gradient(90deg, transparent, #000);
}

.account-info::after {
  display: none;
}

.account-info__body {
  position: relative;
  z-index: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.account-info__visual {
  position: relative;
  z-index: 1;
  min-width: 0;
  min-height: 104px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 13px 14px 11px;
  overflow: hidden;
  box-sizing: border-box;
  border-left: 1px solid rgba(173, 207, 210, 0.18);
  border-radius: 10px;
  background: rgba(6, 14, 20, 0.42);
}

.account-info__visual::before {
  position: absolute;
  right: -18%;
  bottom: -52%;
  width: 72%;
  height: 140%;
  content: "";
  pointer-events: none;
  background: radial-gradient(circle, rgba(120, 240, 208, 0.13), transparent 68%);
}

.account-info__visual-head,
.account-info__visual-foot {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: var(--do-muted);
  font-family: var(--do-mono);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  line-height: 1;
  text-transform: uppercase;
}

.account-info__visual-live {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--do-accent);
}

.account-info__visual-live .status-light {
  width: 5px;
  height: 5px;
  flex: 0 0 5px;
  box-shadow: 0 0 0 3px rgba(120, 240, 208, 0.1);
}

.account-info__bars {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  gap: 5px;
  height: 46px;
  padding: 0 2px;
}

.account-info__bars span {
  flex: 1 1 0;
  min-width: 4px;
  height: var(--bar-height);
  transform-origin: bottom;
  border-radius: 3px 3px 1px 1px;
  background: linear-gradient(180deg, rgba(120, 240, 208, 0.92), rgba(120, 240, 208, 0.18));
  opacity: 0.78;
  animation: do-signal-bar 4.8s ease-in-out infinite alternate;
}

.account-info__bars span:nth-child(2) { animation-delay: -0.7s; }
.account-info__bars span:nth-child(3) { animation-delay: -1.5s; }
.account-info__bars span:nth-child(4) { animation-delay: -2.1s; }
.account-info__bars span:nth-child(5) { animation-delay: -1.1s; }
.account-info__bars span:nth-child(6) { animation-delay: -2.8s; }
.account-info__bars span:nth-child(7) { animation-delay: -0.3s; }

.account-info__title {
  position: relative;
  z-index: 1;
  margin-bottom: 12px !important;
}

.account-info__total {
  position: relative;
  z-index: 1;
  max-width: 780px;
  color: var(--do-text) !important;
  font-size: clamp(2rem, 5vw, 4.6rem) !important;
  font-weight: 600 !important;
  letter-spacing: -0.065em;
  line-height: 0.98;
  text-wrap: balance;
}

.account-info__stats {
  position: relative;
  z-index: 1;
  margin-top: 20px;
  color: var(--do-accent) !important;
  font-family: var(--do-mono);
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.account-info__stats a {
  color: var(--do-accent) !important;
}

.account-info__svg {
  display: none;
}

.account-info__svg path {
  fill: var(--do-bg) !important;
}

.page-inner {
  width: min(100%, 1280px);
  margin: 0 auto;
}

.page__title-bar {
  display: flex !important;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin: 30px 0 16px !important;
  padding: 0 0 12px !important;
  border-top: 0 !important;
  border-bottom: 1px solid var(--do-line) !important;
}

.page__title-bar h3 {
  margin: 0 !important;
  color: var(--do-text) !important;
  font-size: clamp(1.65rem, 3.5vw, 2.25rem) !important;
  font-weight: 600 !important;
  letter-spacing: -0.045em;
  line-height: 1.05;
  text-transform: none !important;
}

.page__title-bar h3::before {
  display: none;
}

.page__title-right a,
.button,
.button--main,
.button--more,
.btn-primary,
.btn-blue {
  color: var(--do-bg) !important;
  background: var(--do-accent) !important;
  border: 1px solid var(--do-accent) !important;
  border-radius: 9px !important;
  box-shadow: 0 8px 24px rgba(120, 240, 208, 0.12);
  font-family: var(--do-mono) !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: 220ms ease;
}

.page__title-right a:hover,
.button:hover,
.button--main:hover,
.button--more:hover,
.btn-primary:hover,
.btn-blue:hover {
  color: var(--do-bg) !important;
  background: #b4ffeb !important;
  box-shadow: 0 10px 30px rgba(120, 240, 208, 0.24);
  transform: translateY(-2px);
}

.page__title-right a:active,
.button:active,
.button--main:active,
.btn-primary:active,
.btn-blue:active {
  transform: translateY(1px) scale(0.98);
}

.row {
  margin-right: 0 !important;
  margin-left: 0 !important;
}

.tradingview-widget-container {
  min-height: 420px;
  overflow: hidden;
  background: rgba(8, 14, 20, 0.72);
  border: 1px solid var(--do-line);
  border-radius: var(--do-radius);
  box-shadow: var(--do-shadow);
}

.tradingview-widget-container__widget {
  min-height: 420px;
}

ul.home-quick-navigation {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  width: 100%;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none;
}

ul.home-quick-navigation li {
  float: none !important;
  width: auto !important;
  min-height: 122px;
  margin: 0 !important;
  padding: 14px !important;
  box-sizing: border-box;
  text-align: left !important;
  background: rgba(16, 25, 32, 0.9) !important;
  border: 1px solid var(--do-line) !important;
  border-radius: var(--do-radius-tight) !important;
  animation: do-surface-reveal 420ms cubic-bezier(0.16, 1, 0.3, 1) both;
  transition: 240ms ease;
}

ul.home-quick-navigation li:nth-child(3n) {
  animation-delay: 80ms;
}

ul.home-quick-navigation li:nth-child(2n) {
  transform: none;
}

ul.home-quick-navigation li:hover {
  background: rgba(22, 36, 44, 0.96) !important;
  border-color: var(--do-line-strong) !important;
  box-shadow: 0 16px 32px rgba(0, 10, 17, 0.28);
  transform: translateY(-3px);
}

ul.home-quick-navigation li:nth-child(2n):hover {
  transform: translateY(-3px);
}

ul.home-quick-navigation li a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  height: 100%;
  color: var(--do-text) !important;
  text-align: center;
  text-decoration: none !important;
}

ul.home-quick-navigation li i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: 0;
  color: var(--do-accent) !important;
  background: rgba(120, 240, 208, 0.09);
  border: 1px solid rgba(120, 240, 208, 0.2);
  border-radius: 14px;
  font-size: 23px !important;
  box-shadow: 0 8px 20px rgba(120, 240, 208, 0.08), inset 0 0 18px rgba(120, 240, 208, 0.06);
  transition: transform 220ms ease, background 220ms ease, box-shadow 220ms ease;
}

ul.home-quick-navigation li:hover i {
  background: rgba(120, 240, 208, 0.16);
  box-shadow: 0 12px 26px rgba(120, 240, 208, 0.16), inset 0 0 22px rgba(120, 240, 208, 0.1);
  transform: translateY(-2px) scale(1.04);
}

ul.home-quick-navigation li h6 {
  margin: 0 !important;
  color: var(--do-text) !important;
  font-size: 1rem !important;
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1.2;
}

.cards.cards--11 {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  width: 100%;
  margin: 0 !important;
  padding: 0 !important;
}

.card-coin {
  position: relative;
  display: flex !important;
  flex-direction: column;
  justify-content: space-between;
  min-height: 142px;
  margin-bottom: 0 !important;
  padding: 15px !important;
  overflow: hidden;
  box-sizing: border-box;
  color: var(--do-text) !important;
  background: rgba(16, 25, 32, 0.92) !important;
  border: 1px solid var(--do-line) !important;
  border-radius: var(--do-radius-tight) !important;
  animation: do-surface-reveal 460ms cubic-bezier(0.16, 1, 0.3, 1) both;
  text-decoration: none !important;
  transition: 240ms ease;
}

.card-coin:nth-child(2n) {
  animation-delay: 100ms;
}

.card-coin::before,
.card-coin::after {
  display: none;
}

.card-coin::before {
  top: 0;
  right: 0;
  width: 34px;
  height: 1px;
  background: var(--do-accent);
  box-shadow: 0 0 12px var(--do-accent);
}

.card-coin::after {
  right: 0;
  bottom: 0;
  width: 34px;
  height: 1px;
  background: var(--do-line-strong);
}

.card-coin:hover {
  color: var(--do-text) !important;
  background: rgba(22, 36, 44, 0.96) !important;
  border-color: var(--do-line-strong) !important;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.28), 0 0 28px rgba(120, 240, 208, 0.06);
  transform: translateY(-3px);
}

.card-coin__logo {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 8px;
  justify-content: center;
  min-height: 72px;
  text-align: center;
}

.card-coin__logo img {
  width: 50px !important;
  height: 50px !important;
  margin-right: 0 !important;
  padding: 7px;
  box-sizing: border-box;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 10px !important;
}

.card-coin__logo span {
  overflow: hidden;
  color: var(--do-text) !important;
  font-size: 1rem;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.card-coin__price {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-top: 8px;
  text-align: center;
}

.card-coin__price strong {
  color: var(--do-text) !important;
  font-family: var(--do-mono) !important;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: -0.06em;
}

.card-coin__price span,
.positive-green,
.negative-red {
  font-family: var(--do-mono) !important;
  font-size: 0.8rem !important;
  font-weight: 500;
}

.positive-green { color: var(--do-accent) !important; }
.negative-red { color: var(--do-danger) !important; }

.content-box,
.deposit-content,
.crypto-content,
.about-content,
.transaction-item,
#summary-table,
.amount-content {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: var(--do-text) !important;
  background: var(--do-surface) !important;
  border: 1px solid var(--do-line) !important;
  border-radius: var(--do-radius-tight) !important;
  box-shadow: 0 14px 32px rgba(0, 7, 12, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.045);
  backdrop-filter: blur(20px) saturate(125%);
  -webkit-backdrop-filter: blur(20px) saturate(125%);
  transition: transform 240ms ease, border-color 240ms ease, box-shadow 240ms ease, background 240ms ease;
}

.content-box::before,
.deposit-content::before,
.crypto-content::before,
.about-content::before,
.transaction-item::before,
#summary-table::before,
.amount-content::before {
  position: absolute;
  z-index: 0;
  top: 0;
  left: -35%;
  width: 45%;
  height: 100%;
  content: "";
  pointer-events: none;
  background: linear-gradient(105deg, transparent, rgba(120, 240, 208, 0.1), transparent);
  transform: skewX(-18deg) translateX(-140%);
  opacity: 0;
  transition: opacity 240ms ease, transform 520ms cubic-bezier(0.16, 1, 0.3, 1);
}

.content-box::after,
.deposit-content::after,
.crypto-content::after,
.about-content::after,
.transaction-item::after,
#summary-table::after,
.amount-content::after {
  position: absolute;
  z-index: 0;
  top: 0;
  right: 12%;
  width: 34%;
  height: 1px;
  content: "";
  pointer-events: none;
  background: linear-gradient(90deg, transparent, var(--do-accent), transparent);
  opacity: 0.7;
  box-shadow: 0 0 14px rgba(120, 240, 208, 0.42);
}

.content-box,
.deposit-content,
.crypto-content,
.about-content,
.amount-content {
  animation: do-surface-reveal 420ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.content-box:nth-child(2n),
.deposit-content:nth-child(2n),
.crypto-content:nth-child(2n),
.about-content:nth-child(2n),
.amount-content:nth-child(2n) {
  animation-delay: 100ms;
}

.content-box:hover,
.deposit-content:hover,
.crypto-content:hover,
.about-content:hover,
.amount-content:hover {
  border-color: rgba(120, 240, 208, 0.42) !important;
  box-shadow: 0 20px 40px rgba(0, 12, 20, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.07);
  transform: translateY(-3px);
}

.content-box:hover::before,
.deposit-content:hover::before,
.crypto-content:hover::before,
.about-content:hover::before,
.transaction-item:hover::before,
#summary-table:hover::before,
.amount-content:hover::before {
  opacity: 1;
  transform: skewX(-18deg) translateX(360%);
}

.content-box,
.deposit-content,
.crypto-content,
.about-content {
  padding: 18px !important;
}

.amount-content {
  padding: 18px !important;
}

.content-box > *,
.deposit-content > *,
.crypto-content > *,
.about-content > *,
.transaction-item > *,
.amount-content > * {
  position: relative;
  z-index: 1;
}

.content-box > .page-header-title {
  margin: 0 !important;
  padding: 4px 0 !important;
  text-align: center;
}

.content-box > .page-header-title span {
  font-size: clamp(1.35rem, 3vw, 1.8rem);
  letter-spacing: -0.02em;
}

.content-box > i,
.deposit-content > i,
.crypto-content > i,
.about-content > i,
.amount-content > i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  color: var(--do-accent) !important;
  background: rgba(120, 240, 208, 0.1);
  border: 1px solid rgba(120, 240, 208, 0.22);
  border-radius: 16px;
  font-size: 2.8rem !important;
  box-shadow: 0 10px 24px rgba(0, 16, 26, 0.2), inset 0 0 18px rgba(120, 240, 208, 0.06);
}

#profile-action .ba-add-balance-btn {
  min-height: 92px;
  gap: 7px;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

#profile-action .ba-add-balance-btn i {
  font-size: 42px !important;
  line-height: 1;
}

#function-menu li img,
#setting-menu li img {
  width: 42px !important;
  height: 42px !important;
  object-fit: contain;
  vertical-align: middle;
}

.deposit-content .deposit-option {
  width: min(100%, 520px);
  margin: 0 auto;
}

.deposit-content .deposit-option td {
  padding: 8px 10px;
  text-align: center;
  vertical-align: middle;
}

.deposit-content .deposit-option td:first-child img {
  width: 64px !important;
  height: 64px !important;
  object-fit: contain;
  padding: 8px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(120, 240, 208, 0.18);
  border-radius: 16px;
}

.deposit-content .deposit-option td:nth-child(2) {
  color: var(--do-text) !important;
  font-size: 1.1rem;
  font-weight: 600;
}

.deposit-content .deposit-option td:last-child i {
  color: var(--do-accent) !important;
  font-size: 1.4rem;
}

.about-content p,
.about-content ul li,
.content-box p,
.transaction-item,
.announcement-information {
  color: var(--do-muted) !important;
  line-height: 1.7;
}

table,
.transaction-table,
.deposit-option,
#amount-option-table {
  color: var(--do-text);
}

table tr,
table td,
table th {
  border-color: var(--do-line) !important;
}

input,
select,
textarea,
.form-control {
  min-height: 44px;
  box-sizing: border-box;
  color: var(--do-text) !important;
  background: rgba(5, 11, 16, 0.72) !important;
  border: 1px solid var(--do-line) !important;
  border-radius: 9px !important;
}

input::placeholder,
textarea::placeholder {
  color: var(--do-dim) !important;
}

input:focus,
select:focus,
textarea:focus,
.form-control:focus {
  background: rgba(7, 17, 22, 0.9) !important;
  border-color: var(--do-accent) !important;
  box-shadow: 0 0 0 3px rgba(120, 240, 208, 0.1) !important;
}

input[readonly] {
  color: var(--do-muted) !important;
  background: rgba(18, 28, 37, 0.76) !important;
}

.account-header {
  padding: 0 0 12px;
  color: var(--do-text) !important;
  border-bottom: 1px solid var(--do-line);
}

.account-header h3 {
  color: var(--do-text) !important;
  border: 0 !important;
  font-size: 1.8rem;
  font-weight: 600;
}

.account-header i {
  color: var(--do-accent) !important;
}

#all-functions,
#all-settings,
#profile-info,
#ticketing-details,
#ticketing-rules,
#order-page-header {
  color: var(--do-text) !important;
}

#profile-info.profile-dashboard {
  position: relative;
  width: min(100%, 920px);
  margin: 8px auto 0 !important;
  padding: 22px !important;
  overflow: hidden;
  box-sizing: border-box;
  text-align: left !important;
  background: rgba(14, 24, 31, 0.92) !important;
  border: 1px solid var(--do-line) !important;
  border-radius: var(--do-radius) !important;
  box-shadow: var(--do-shadow), inset 0 1px 0 rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(18px) saturate(120%);
  -webkit-backdrop-filter: blur(18px) saturate(120%);
  animation: do-surface-reveal 420ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

#profile-info.profile-dashboard::before {
  position: absolute;
  top: 0;
  right: 0;
  width: 46%;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(120, 240, 208, 0.72));
}

.profile-dashboard__head {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--do-line);
}

.profile-avatar,
.profile-avatar__link {
  display: block;
}

.profile-avatar__link {
  position: relative;
  width: 82px;
  height: 82px;
  overflow: visible;
}

.profile-avatar__image {
  display: block;
  width: 82px !important;
  height: 82px !important;
  object-fit: cover;
  border: 2px solid rgba(120, 240, 208, 0.72);
  border-radius: 22px !important;
  box-shadow: 0 10px 24px rgba(0, 10, 16, 0.32);
}

.profile-avatar__edit {
  position: absolute;
  right: -6px;
  bottom: -5px;
  display: grid;
  width: 27px;
  height: 27px;
  place-items: center;
  box-sizing: border-box;
  background: var(--do-accent);
  border: 3px solid var(--do-surface-solid);
  border-radius: 9px;
  box-shadow: 0 5px 12px rgba(0, 12, 20, 0.28);
}

.profile-avatar__edit img {
  width: 13px !important;
  height: 13px !important;
  object-fit: contain;
  filter: brightness(0) saturate(100%);
}

.profile-identity {
  min-width: 0;
}

.profile-eyebrow {
  display: block;
  color: var(--do-muted);
  font-family: var(--do-mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  line-height: 1.2;
  text-transform: uppercase;
}

.profile-identity h1 {
  max-width: 100%;
  margin: 5px 0 6px !important;
  overflow-wrap: anywhere;
  color: var(--do-text) !important;
  font-size: clamp(1.9rem, 4vw, 2.8rem) !important;
  font-weight: 600 !important;
  letter-spacing: -0.055em;
  line-height: 1;
}

.profile-identity p {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0 !important;
  color: var(--do-accent) !important;
  font-family: var(--do-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.profile-identity p .status-light {
  width: 6px;
  height: 6px;
  flex: 0 0 6px;
}

.profile-edit-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 12px;
  color: var(--do-accent) !important;
  background: rgba(120, 240, 208, 0.08);
  border: 1px solid rgba(120, 240, 208, 0.24);
  border-radius: 9px;
  font-family: var(--do-mono);
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  text-decoration: none !important;
  text-transform: uppercase;
  transition: 200ms ease;
}

.profile-edit-link:hover {
  color: var(--do-bg) !important;
  background: var(--do-accent);
  border-color: var(--do-accent);
  transform: translateY(-2px);
}

.profile-dashboard__body {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(190px, 0.82fr) minmax(0, 1.18fr);
  gap: 12px;
  padding-top: 16px;
}

.profile-balance {
  display: flex;
  min-height: 148px;
  flex-direction: column;
  justify-content: space-between;
  padding: 18px;
  box-sizing: border-box;
  background: linear-gradient(145deg, rgba(25, 53, 55, 0.9), rgba(11, 23, 29, 0.92));
  border: 1px solid rgba(120, 240, 208, 0.2);
  border-radius: 13px;
}

.profile-balance strong {
  display: block;
  margin: 12px 0;
  color: var(--do-text);
  font-family: var(--do-mono);
  font-size: clamp(1.8rem, 4vw, 2.7rem);
  font-variant-numeric: tabular-nums;
  font-weight: 500;
  letter-spacing: -0.06em;
  line-height: 1;
  overflow-wrap: anywhere;
}

.profile-balance__note {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--do-muted);
  font-family: var(--do-mono);
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.profile-balance__note i {
  color: var(--do-accent);
}

.profile-data-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  min-width: 0;
  margin: 0;
}

.profile-data-item {
  min-width: 0;
  min-height: 68px;
  padding: 12px 13px;
  box-sizing: border-box;
  background: rgba(7, 15, 21, 0.48);
  border: 1px solid rgba(173, 207, 210, 0.12);
  border-radius: 10px;
}

.profile-data-item--wide {
  grid-column: 1 / -1;
}

.profile-data-item dt {
  margin-bottom: 8px;
  color: var(--do-muted);
  font-family: var(--do-mono);
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
}

.profile-data-item dd {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
  color: var(--do-text);
  font-family: var(--do-mono);
  font-size: 0.98rem;
  font-variant-numeric: tabular-nums;
  font-weight: 500;
}

.profile-data-value--code {
  display: flex;
  align-items: center;
  gap: 7px;
}

.profile-data-value--code > span:first-child {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.copy-code {
  display: inline-grid;
  width: 26px;
  height: 26px;
  flex: 0 0 26px;
  padding: 0;
  place-items: center;
  background: rgba(120, 240, 208, 0.08);
  border: 1px solid rgba(120, 240, 208, 0.2);
  border-radius: 6px;
  cursor: pointer;
  transition: 180ms ease;
}

.copy-code:hover {
  background: var(--do-accent);
  transform: translateY(-1px);
}

.copy-code img {
  width: 13px !important;
  height: 13px !important;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.copy-code:hover img {
  filter: brightness(0) saturate(100%);
}

#copiednotice {
  color: var(--do-accent);
  font-family: var(--do-mono);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

#profile-action.profile-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  width: min(100%, 920px);
  max-width: none !important;
  margin: 16px auto 0 !important;
}

.profile-action-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  min-height: 86px;
  padding: 13px 15px;
  box-sizing: border-box;
  color: var(--do-text) !important;
  background: rgba(14, 25, 32, 0.86);
  border: 1px solid var(--do-line);
  border-radius: 13px;
  text-decoration: none !important;
  transition: 200ms ease;
}

.profile-action-card:hover {
  color: var(--do-text) !important;
  background: rgba(23, 41, 47, 0.96);
  border-color: var(--do-line-strong);
  box-shadow: 0 14px 28px rgba(0, 10, 17, 0.26);
  transform: translateY(-3px);
}

.profile-action-card:active {
  transform: translateY(1px) scale(0.99);
}

.profile-action-card__icon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  color: var(--do-bg);
  background: var(--do-accent);
  border-radius: 11px;
  font-size: 1.35rem;
}

.profile-action-card__copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 4px;
}

.profile-action-card__copy small {
  color: var(--do-muted);
  font-family: var(--do-mono);
  font-size: 0.63rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.profile-action-card__copy strong {
  color: var(--do-text);
  font-size: 1.18rem;
  font-weight: 600;
  letter-spacing: -0.025em;
}

.profile-action-card__arrow {
  color: var(--do-accent);
  font-size: 1.05rem;
}

.profile-action-card--withdrawal .profile-action-card__icon {
  color: var(--do-accent);
  background: rgba(120, 240, 208, 0.1);
  border: 1px solid rgba(120, 240, 208, 0.24);
}

.profile-shortcuts {
  width: min(100%, 920px);
  margin: 28px auto 0;
}

.profile-section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--do-line);
}

.profile-section-heading h2 {
  margin: 5px 0 0 !important;
  color: var(--do-text) !important;
  font-size: 1.45rem !important;
  font-weight: 600 !important;
  letter-spacing: -0.04em;
  line-height: 1;
}

.profile-section-heading__count {
  padding: 5px 7px;
  color: var(--do-accent);
  background: rgba(120, 240, 208, 0.08);
  border: 1px solid rgba(120, 240, 208, 0.2);
  border-radius: 6px;
  font-family: var(--do-mono);
  font-size: 0.66rem;
  letter-spacing: 0.08em;
}

.profile-shortcuts ul.home-quick-navigation {
  width: 100% !important;
  margin: 0 !important;
}

.profile-signout {
  display: flex;
  justify-content: center;
  margin: 26px auto 0;
}

.profit-page {
  width: min(100%, 920px);
  margin: 8px auto 0;
}

.profit-overview {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px;
  min-height: 138px;
  padding: 24px 26px;
  overflow: hidden;
  box-sizing: border-box;
  background: rgba(14, 24, 31, 0.92);
  border: 1px solid var(--do-line);
  border-radius: var(--do-radius);
  box-shadow: var(--do-shadow), inset 0 1px 0 rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(18px) saturate(120%);
  -webkit-backdrop-filter: blur(18px) saturate(120%);
  animation: do-surface-reveal 420ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.profit-overview::before {
  position: absolute;
  top: 0;
  right: 0;
  width: 40%;
  height: 100%;
  content: "";
  pointer-events: none;
  background: radial-gradient(circle at 100% 20%, rgba(120, 240, 208, 0.12), transparent 68%);
}

.profit-overview__copy {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.profit-overview__copy h1 {
  margin: 6px 0 6px !important;
  color: var(--do-text) !important;
  font-size: clamp(2.2rem, 6vw, 3.7rem) !important;
  font-weight: 600 !important;
  letter-spacing: -0.07em;
  line-height: 0.95;
}

.profit-overview__copy p {
  margin: 0 !important;
  color: var(--do-muted) !important;
  font-size: 0.86rem;
  line-height: 1.35;
}

.profit-overview__status {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 9px;
  color: var(--do-accent);
  background: rgba(120, 240, 208, 0.07);
  border: 1px solid rgba(120, 240, 208, 0.2);
  border-radius: 7px;
  font-family: var(--do-mono);
  font-size: 0.64rem;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.profit-overview__status .status-light {
  width: 6px;
  height: 6px;
  flex: 0 0 6px;
}

.profit-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.statistic-box {
  position: relative;
  display: flex;
  min-height: 154px;
  flex-direction: column;
  justify-content: flex-end;
  padding: 16px;
  overflow: hidden;
  box-sizing: border-box;
  text-align: left;
  background: rgba(14, 24, 31, 0.9);
  border: 1px solid var(--do-line);
  border-radius: 13px;
  box-shadow: 0 12px 28px rgba(0, 8, 14, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.035);
  animation: do-surface-reveal 420ms cubic-bezier(0.16, 1, 0.3, 1) both;
  transition: 220ms ease;
}

.statistic-box:nth-child(2) { animation-delay: 50ms; }
.statistic-box:nth-child(3) { animation-delay: 100ms; }
.statistic-box:nth-child(4) { animation-delay: 150ms; }
.statistic-box:nth-child(5) { animation-delay: 200ms; }
.statistic-box:nth-child(6) { animation-delay: 250ms; }
.statistic-box:nth-child(7) { animation-delay: 300ms; }
.statistic-box:nth-child(8) { animation-delay: 350ms; }

.statistic-box::before {
  position: absolute;
  top: 15px;
  left: 16px;
  color: var(--do-accent);
  content: "\f017";
  font-family: FontAwesome;
  font-size: 1.15rem;
  opacity: 0.9;
}

.statistic-box::after {
  position: absolute;
  top: 16px;
  right: 16px;
  color: var(--do-muted);
  content: "24H";
  font-family: var(--do-mono);
  font-size: 0.6rem;
  letter-spacing: 0.08em;
}

.statistic-box:nth-child(2)::before { content: "\f201"; }
.statistic-box:nth-child(2)::after { content: "ALL TIME"; }
.statistic-box:nth-child(3)::before { content: "\f0e7"; }
.statistic-box:nth-child(3)::after { content: "NET"; }
.statistic-box:nth-child(4)::before { content: "\f080"; }
.statistic-box:nth-child(4)::after { content: "LIFETIME"; }
.statistic-box:nth-child(5)::before { content: "\f023"; }
.statistic-box:nth-child(5)::after { content: "HELD"; }
.statistic-box:nth-child(6)::before { content: "\f09d"; }
.statistic-box:nth-child(6)::after { content: "AVAILABLE"; }
.statistic-box:nth-child(7)::before { content: "\f063"; }
.statistic-box:nth-child(7)::after { content: "CASH IN"; }
.statistic-box:nth-child(8)::before { content: "\f062"; }
.statistic-box:nth-child(8)::after { content: "CASH OUT"; }

.statistic-box:hover {
  background: rgba(22, 37, 44, 0.96);
  border-color: var(--do-line-strong);
  box-shadow: 0 18px 34px rgba(0, 10, 17, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.055);
  transform: translateY(-3px);
}

.statistic-box:nth-child(3),
.statistic-box:nth-child(4),
.statistic-box:nth-child(6) {
  background: linear-gradient(145deg, rgba(23, 48, 50, 0.94), rgba(12, 25, 31, 0.94));
  border-color: rgba(120, 240, 208, 0.2);
}

.statistic-box:nth-child(3) .box-value,
.statistic-box:nth-child(4) .box-value,
.statistic-box:nth-child(6) .box-value {
  color: var(--do-accent) !important;
}

.statistic-box .box-value {
  margin: 0 0 8px !important;
  color: var(--do-text) !important;
  font-family: var(--do-mono);
  font-size: clamp(1.65rem, 2.2vw, 2.35rem) !important;
  font-variant-numeric: tabular-nums;
  font-weight: 500 !important;
  letter-spacing: -0.07em;
  line-height: 1;
  overflow-wrap: anywhere;
}

.statistic-box .box-desc {
  max-width: 18ch;
  margin: 0 !important;
  color: var(--do-muted) !important;
  font-size: 0.82rem !important;
  font-weight: 500;
  line-height: 1.35;
  text-wrap: balance;
}

#func-cat-title,
#setting-cat-title,
#rank-title,
.transaction-movie-name {
  color: var(--do-accent) !important;
}

ul#function-menu li,
ul#setting-menu li {
  background: rgba(14, 23, 31, 0.84) !important;
  border: 1px solid var(--do-line) !important;
  border-radius: 10px !important;
}

ul#function-menu li a,
ul#setting-menu li a,
ul#function-menu li a:visited,
ul#setting-menu li a:visited {
  color: var(--do-text) !important;
}

.panel--left {
  background: rgba(8, 14, 20, 0.97) !important;
  border-right: 1px solid var(--do-line);
  box-shadow: 20px 0 60px rgba(0, 0, 0, 0.3);
}

.user-details {
  margin: 12px 14px 20px;
  padding: 18px;
  background: linear-gradient(145deg, rgba(20, 42, 47, 0.96), rgba(10, 19, 25, 0.96));
  border: 1px solid var(--do-line);
  border-radius: var(--do-radius-tight);
}

.user-details__thumb img {
  border: 2px solid var(--do-accent);
  border-radius: 12px !important;
}

.user-details__title {
  color: var(--do-text) !important;
  font-family: var(--do-mono);
}

.user-details__title span {
  color: var(--do-accent) !important;
}

.main-nav ul li a {
  margin: 3px 12px;
  padding: 12px 14px !important;
  color: var(--do-muted) !important;
  border-radius: 9px;
  transition: 180ms ease;
}

.main-nav ul li a:hover {
  color: var(--do-text) !important;
  background: rgba(120, 240, 208, 0.08);
}

.main-nav ul li a i {
  color: var(--do-accent) !important;
}

.panel--left .button {
  margin: 16px;
}

#footer-navigator {
  position: fixed !important;
  z-index: 900;
  right: 0;
  bottom: 16px !important;
  left: 0;
  pointer-events: none;
}

.bottom-navigation {
  position: relative !important;
  right: auto !important;
  bottom: auto !important;
  left: auto !important;
  width: min(calc(100% - 32px), 680px) !important;
  margin: 0 auto;
  padding: 8px 10px !important;
  box-sizing: border-box;
  background: rgba(10, 17, 24, 0.86) !important;
  border: 1px solid var(--do-line) !important;
  border-radius: 19px !important;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  pointer-events: auto;
}

.bottom-navigation__icons {
  display: grid !important;
  grid-template-columns: repeat(5, 1fr);
  width: 100% !important;
  align-items: center;
  margin: 0 !important;
  padding: 0 !important;
}

.bottom-navigation__icons li,
.bottom-navigation__icons li.centered {
  float: none !important;
  width: auto !important;
  height: 52px;
  margin: 0 !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 12px !important;
}

.bottom-navigation__icons li a {
  display: flex !important;
  position: relative;
  align-items: center;
  flex-direction: column;
  gap: 4px;
  justify-content: center;
  height: 100%;
  width: 100%;
  min-width: 0;
}

.bottom-navigation__icons li a small {
  color: var(--do-muted) !important;
  font-family: var(--do-mono);
  font-size: 0.75rem !important;
  letter-spacing: 0.05em;
  line-height: 1;
}

.bottom-navigation__icons li.nav-active:not(.centered) a small {
  color: var(--do-accent) !important;
}

.bottom-navigation__icons li img {
  width: 22px !important;
  height: 22px !important;
  opacity: 0.56;
  filter: brightness(0) saturate(100%) invert(83%) sepia(28%) saturate(698%) hue-rotate(112deg) brightness(104%) contrast(91%);
  transition: 180ms ease;
}

.bottom-navigation__icons li:hover img,
.bottom-navigation__icons li.centered img {
  opacity: 1;
  transform: translateY(-2px);
}

.bottom-navigation__icons li.centered {
  position: relative;
  background: var(--do-accent) !important;
  box-shadow: 0 0 0 5px rgba(120, 240, 208, 0.1), 0 8px 22px rgba(120, 240, 208, 0.22);
  transform: translateY(-14px);
}

.bottom-navigation__icons li.centered img {
  filter: brightness(0) saturate(100%) invert(7%) sepia(15%) saturate(898%) hue-rotate(171deg) brightness(95%) contrast(96%);
}

.bottom-navigation__icons li.centered small {
  position: absolute;
  right: 0;
  bottom: -14px;
  left: 0;
  color: var(--do-accent) !important;
  font-family: var(--do-mono);
  font-size: 0.78rem !important;
  letter-spacing: 0.08em;
}

.footer-area {
  padding: 18px 0 12px !important;
  background: transparent !important;
}

.footer-area p {
  color: var(--do-dim) !important;
  font-family: var(--do-mono);
  font-size: 0.75rem;
  letter-spacing: 0.05em;
}

#basic-modal .modal-content,
.modal-content {
  color: var(--do-text) !important;
  background: var(--do-surface-solid) !important;
  border: 1px solid var(--do-line-strong) !important;
  border-radius: var(--do-radius) !important;
  box-shadow: var(--do-shadow);
}

#basic-modal .modal-header,
#basic-modal .modal-footer,
.modal-header,
.modal-footer {
  border-color: var(--do-line) !important;
}

#timer {
  color: var(--do-accent) !important;
  background: var(--do-bg) !important;
  border: 1px solid var(--do-line);
  border-radius: 10px;
  font-family: var(--do-mono) !important;
  text-align: center !important;
}

/* Authentication surfaces use the same system, without the dashboard chrome. */
body.do-auth {
  display: block !important;
  min-height: 100dvh !important;
  height: auto !important;
  padding: 0 0 96px;
  background-color: var(--do-bg) !important;
  background-image:
    radial-gradient(circle at 80% 8%, rgba(120, 240, 208, 0.16), transparent 28rem),
    radial-gradient(circle at 0% 100%, rgba(54, 113, 126, 0.12), transparent 24rem),
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px) !important;
  background-size: auto, auto, 56px 56px, 56px 56px !important;
}

body.do-auth .preloader {
  display: none !important;
}

body.do-auth .page-header {
  position: relative;
  z-index: 2;
  width: min(calc(100% - 48px), 860px) !important;
  margin: 0 auto !important;
  padding: 24px 0 8px;
}

body.do-auth .page-header a {
  color: var(--do-muted) !important;
}

body.do-auth .page-header a:hover,
body.do-auth .page-header a:hover span {
  color: var(--do-accent) !important;
}

body.do-auth .page-header span {
  padding: 5px 8px !important;
  color: var(--do-muted) !important;
  background: rgba(120, 240, 208, 0.05);
  border: 1px solid var(--do-line) !important;
  border-radius: 6px !important;
  font-family: var(--do-mono);
}

body.do-auth .mg-top-30 {
  width: min(calc(100% - 48px), 860px) !important;
  margin: 24px auto 0 !important;
}

body.do-auth .login-page-navigation-item {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 0 !important;
}

body.do-auth .login-page-navigation-item a {
  float: none !important;
  margin: 0 !important;
  padding-bottom: 8px;
  color: var(--do-muted) !important;
  border-bottom: 1px solid transparent !important;
  font-family: var(--do-mono);
  font-size: 0.84rem !important;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

body.do-auth .login-page-navigation-item a.active,
body.do-auth .login-page-navigation-item a:hover {
  color: var(--do-accent) !important;
  border-bottom-color: var(--do-accent) !important;
}

body.do-auth .signin-area {
  display: block !important;
  min-height: 0 !important;
  margin: 22px auto 0;
  padding: 0 24px;
}

body.do-auth .signin-area > .container {
  width: min(100%, 560px) !important;
  margin: 0 auto !important;
  padding: 34px !important;
  box-sizing: border-box;
  background: linear-gradient(145deg, rgba(18, 31, 40, 0.94), rgba(9, 16, 23, 0.96));
  border: 1px solid var(--do-line) !important;
  border-radius: var(--do-radius) !important;
  box-shadow: var(--do-shadow), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

body.do-auth .signin-area > .container::before {
  display: block;
  margin-bottom: 24px;
  color: var(--do-accent);
  content: "SECURE ACCESS / 01";
  font-family: var(--do-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
}

body.do-auth .single-input-wrap,
body.do-auth .input-group,
body.do-auth .input-group.mb-3 {
  display: block;
  width: 100% !important;
  min-height: 0;
  margin: 0 0 12px !important;
  padding: 0 !important;
}

body.do-auth .input-group-prepend {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 44px;
  margin: 0 8px 0 0 !important;
  padding: 0 !important;
  box-sizing: border-box;
  color: var(--do-accent) !important;
  background: rgba(120, 240, 208, 0.08) !important;
  border: 1px solid var(--do-line) !important;
  border-radius: 9px !important;
}

body.do-auth .input-group-prepend span {
  color: var(--do-accent) !important;
  font-family: var(--do-mono);
  font-size: 0.82rem;
}

body.do-auth .form-control {
  display: block;
  width: 100% !important;
  min-height: 46px;
  margin: 0 0 2px !important;
  padding: 0 14px !important;
  color: var(--do-text) !important;
  font-size: 15px !important;
  background: rgba(5, 11, 16, 0.72) !important;
  border: 1px solid var(--do-line) !important;
  border-radius: 9px !important;
}

body.do-auth label:has(.input-group-prepend) .form-control {
  display: inline-block;
  width: calc(100% - 48px) !important;
  vertical-align: top;
}

body.do-auth .btn,
body.do-auth button[type="submit"] {
  width: 100% !important;
  min-height: 48px;
  margin: 12px 0 0 !important;
  color: var(--do-bg) !important;
  background: var(--do-accent) !important;
  border: 1px solid var(--do-accent) !important;
  border-radius: 9px !important;
  font-family: var(--do-mono) !important;
  font-size: 13px !important;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body.do-auth .btn:hover,
body.do-auth button[type="submit"]:hover {
  background: #b4ffeb !important;
  box-shadow: 0 12px 28px rgba(120, 240, 208, 0.18);
  transform: translateY(-2px);
}

body.do-auth .signin-area a:not(.btn),
body.do-auth .functional-links a {
  color: var(--do-muted) !important;
  font-size: 0.84rem;
}

body.do-auth .signin-area a:not(.btn):hover,
body.do-auth .functional-links a:hover {
  color: var(--do-accent) !important;
}

body.do-auth #phoneError {
  display: block;
  margin: 4px 0 0 46px;
  color: var(--do-danger) !important;
  font-family: var(--do-mono);
  font-size: 0.72rem;
}

body.do-auth .footer-area {
  position: relative !important;
  right: auto !important;
  bottom: auto !important;
  left: auto !important;
  margin: 28px auto 0 !important;
  background: transparent !important;
}

body.do-auth .footer-area .footer-top {
  background: transparent !important;
}

body.do-auth #footer-navigator {
  display: none !important;
}

body.do-auth .page__content {
  min-height: 0;
  padding-top: 18px !important;
}

body.do-auth .page__content .account-info {
  display: none;
}

body.do-auth .page__content .page-inner {
  width: min(100%, 560px);
  margin: 24px auto 0;
  padding: 34px;
  box-sizing: border-box;
  background: linear-gradient(145deg, rgba(18, 31, 40, 0.94), rgba(9, 16, 23, 0.96));
  border: 1px solid var(--do-line);
  border-radius: var(--do-radius);
  box-shadow: var(--do-shadow);
}

body.do-auth .page__content .login-box-msg {
  margin: 0 0 12px;
  color: var(--do-text) !important;
  font-size: 1.7rem;
  font-weight: 600;
  text-decoration: none;
}

body.do-auth .page__content .support-icon img {
  width: 78px;
  height: 78px;
  object-fit: contain;
  padding: 10px;
  background: rgba(120, 240, 208, 0.08);
  border: 1px solid var(--do-line);
  border-radius: 12px;
}

/* Live order view */
body.do-order {
  display: flex !important;
  align-items: flex-start !important;
  justify-content: center !important;
  min-height: 100dvh !important;
  padding: 32px 16px 48px !important;
  box-sizing: border-box;
  text-align: center;
}

body.do-order .current-price {
  width: min(100%, 540px) !important;
  margin: 42px auto 26px !important;
  padding: 28px 22px 24px !important;
  box-sizing: border-box;
  background: linear-gradient(145deg, rgba(20, 42, 47, 0.96), rgba(10, 19, 25, 0.96));
  border: 1px solid var(--do-line-strong);
  border-radius: var(--do-radius);
  box-shadow: var(--do-shadow), 0 0 36px rgba(120, 240, 208, 0.08);
}

body.do-order .current-price h1 {
  color: var(--do-text);
  font-family: var(--do-mono);
  font-size: clamp(2.2rem, 9vw, 4rem);
  font-weight: 500;
  letter-spacing: -0.08em;
}

body.do-order .current-price small {
  color: var(--do-accent);
  font-family: var(--do-mono);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
}

body.do-order #countdown {
  width: 150px;
  min-width: 0;
  min-height: 150px;
  margin: 20px auto;
  padding: 24px;
  box-sizing: border-box;
  color: var(--do-accent) !important;
  background: rgba(8, 14, 20, 0.72) !important;
  border: 1px solid var(--do-line-strong) !important;
  border-radius: 50%;
  box-shadow: inset 0 0 24px rgba(120, 240, 208, 0.08), 0 0 0 7px rgba(120, 240, 208, 0.045);
  font-family: var(--do-mono) !important;
  font-size: 2.4rem;
  line-height: 1;
}

body.do-order > div[style*="color:#fff"] {
  color: var(--do-muted) !important;
  font-family: var(--do-mono);
  font-size: 0.82rem;
  line-height: 2;
  letter-spacing: 0.05em;
}

body.do-order .btn-primary {
  padding: 13px 24px !important;
}

/* Status / redirect view */
body.do-redirect {
  display: flex !important;
  align-items: center;
  justify-content: center;
  min-height: 100dvh;
  background-color: var(--do-bg) !important;
  background-image:
    radial-gradient(circle at 50% 0, rgba(120, 240, 208, 0.15), transparent 28rem),
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px) !important;
  background-size: auto, 56px 56px, 56px 56px !important;
}

body.do-redirect .content {
  width: min(calc(100% - 32px), 500px);
  padding: 0;
}

body.do-redirect .content > .card {
  color: var(--do-text) !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

body.do-redirect #return-box {
  padding: 34px 28px !important;
  color: var(--do-text) !important;
  background: linear-gradient(145deg, rgba(18, 31, 40, 0.94), rgba(9, 16, 23, 0.96)) !important;
  border: 1px solid var(--do-line) !important;
  border-top: 2px solid var(--do-accent) !important;
  border-radius: var(--do-radius) !important;
  box-shadow: var(--do-shadow);
}

body.do-redirect #returntitle {
  color: var(--do-text) !important;
  font-size: 1.7rem;
  font-weight: 600;
}

body.do-redirect #returnmessage {
  color: var(--do-muted) !important;
  line-height: 1.7;
}

body.do-redirect #returnlink {
  color: var(--do-accent) !important;
  font-family: var(--do-mono);
  font-size: 0.82rem;
}

body.do-redirect .status-icon {
  font-size: 58px !important;
}

body.do-redirect #status-success { color: var(--do-accent) !important; }
.do-redirect #status-fail { color: var(--do-danger) !important; }

@keyframes do-pulse {
  0%, 100% { opacity: 0.58; transform: scale(0.92); }
  50% { opacity: 1; transform: scale(1.08); }
}

@keyframes do-ambient-drift {
  0% {
    background-position: 0% 0%, 100% 100%;
  }
  50% {
    background-position: 4% 5%, 96% 94%;
  }
  100% {
    background-position: 9% 0%, 91% 100%;
  }
}

/* The reveal animation gives structure to the first viewport without keeping every card in motion. */
@keyframes do-surface-reveal {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes do-signal-bar {
  from {
    opacity: 0.58;
    transform: scaleY(0.82);
  }
  to {
    opacity: 0.92;
    transform: scaleY(1);
  }
}

@media (max-width: 900px) {
  .header__inner,
  .page__content {
    width: min(100% - 32px, 720px) !important;
  }

  .header__telemetry {
    display: none;
  }

  .cards.cards--11,
  ul.home-quick-navigation {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .account-info {
    grid-template-columns: minmax(0, 1fr) minmax(150px, 28%);
    gap: 18px;
    padding: 22px 24px 26px !important;
  }
}

@media (max-width: 700px) {
  .profile-dashboard__body {
    grid-template-columns: 1fr;
  }

  .profile-balance {
    min-height: 132px;
  }

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

@media (max-width: 560px) {
  .header__inner,
  .page__content {
    width: min(100% - 24px, 480px) !important;
  }

  .header__inner {
    height: 60px !important;
  }

  .brand-kicker {
    font-size: 0.62rem !important;
  }

  .brand-name {
    font-size: 1.05rem;
  }

  .page__content {
    padding-top: 68px !important;
    padding-bottom: 132px !important;
  }

  .account-info {
    grid-template-columns: minmax(0, 1fr) 112px;
    gap: 12px;
    min-height: 132px;
    margin-top: 4px !important;
    margin-bottom: 18px !important;
    padding: 16px 18px 18px !important;
  }

  #profile-info.profile-dashboard {
    margin-top: 4px !important;
    padding: 14px !important;
    border-radius: 16px !important;
  }

  .profile-dashboard__head {
    grid-template-columns: 64px minmax(0, 1fr) 38px;
    gap: 11px;
    padding-bottom: 15px;
  }

  .profile-avatar__link,
  .profile-avatar__image {
    width: 64px !important;
    height: 64px !important;
  }

  .profile-avatar__image {
    border-radius: 18px !important;
  }

  .profile-avatar__edit {
    right: -5px;
    bottom: -5px;
    width: 24px;
    height: 24px;
    border-radius: 8px;
  }

  .profile-avatar__edit img {
    width: 11px !important;
    height: 11px !important;
  }

  .profile-eyebrow {
    font-size: 0.58rem;
    letter-spacing: 0.1em;
  }

  .profile-identity h1 {
    margin-top: 4px !important;
    margin-bottom: 5px !important;
    font-size: clamp(1.65rem, 7vw, 2.35rem) !important;
  }

  .profile-identity p {
    gap: 5px;
    font-size: 0.6rem;
    letter-spacing: 0.05em;
  }

  .profile-edit-link {
    width: 38px;
    height: 38px;
    min-height: 38px;
    padding: 0;
    border-radius: 9px;
  }

  .profile-edit-link span {
    display: none;
  }

  .profile-dashboard__body {
    gap: 10px;
    padding-top: 14px;
  }

  .profile-balance {
    min-height: 122px;
    padding: 15px;
  }

  .profile-balance strong {
    margin: 10px 0;
    font-size: clamp(1.7rem, 8vw, 2.45rem);
  }

  .profile-balance__note {
    font-size: 0.62rem;
  }

  .profile-data-grid {
    gap: 7px;
  }

  .profile-data-item {
    min-height: 62px;
    padding: 10px;
  }

  .profile-data-item dt {
    margin-bottom: 6px;
    font-size: 0.58rem;
  }

  .profile-data-item dd {
    font-size: 0.82rem;
  }

  #profile-action.profile-actions {
    gap: 8px;
    margin-top: 14px !important;
  }

  .profile-action-card {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 9px;
    min-height: 76px;
    padding: 10px;
    border-radius: 11px;
  }

  .profile-action-card__icon {
    width: 36px;
    height: 36px;
    border-radius: 9px;
    font-size: 1rem;
  }

  .profile-action-card__copy small {
    font-size: 0.52rem;
    letter-spacing: 0.04em;
  }

  .profile-action-card__copy strong {
    font-size: 0.98rem;
  }

  .profile-action-card__arrow {
    display: none;
  }

  .profile-shortcuts {
    margin-top: 22px;
  }

  .profile-section-heading h2 {
    font-size: 1.25rem !important;
  }

  .profile-signout {
    margin-top: 20px;
  }

  .profit-page {
    margin-top: 4px;
  }

  .profit-overview {
    min-height: 112px;
    padding: 18px;
    border-radius: 16px;
  }

  .profit-overview__copy h1 {
    margin-top: 5px !important;
    margin-bottom: 5px !important;
    font-size: clamp(2rem, 9vw, 2.9rem) !important;
  }

  .profit-overview__copy p {
    max-width: 24ch;
    font-size: 0.72rem;
  }

  .profit-overview__status {
    gap: 5px;
    padding: 7px;
    font-size: 0.54rem;
  }

  .profit-kpi-grid {
    gap: 8px;
    margin-top: 10px;
  }

  .statistic-box {
    min-height: 128px;
    padding: 12px;
    border-radius: 11px;
  }

  .statistic-box::before {
    top: 12px;
    left: 12px;
    font-size: 1rem;
  }

  .statistic-box::after {
    top: 13px;
    right: 12px;
    font-size: 0.52rem;
  }

  .statistic-box .box-value {
    margin-bottom: 7px !important;
    font-size: clamp(1.45rem, 7.4vw, 2.1rem) !important;
  }

  .statistic-box .box-desc {
    font-size: 0.75rem !important;
  }

  .account-info::after {
    display: none;
  }

  .account-info__visual {
    min-height: 90px;
    padding: 11px 10px 9px;
  }

  .account-info__visual-head,
  .account-info__visual-foot {
    font-size: 0.5rem;
    letter-spacing: 0.03em;
  }

  .account-info__visual-head > span:first-child {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .account-info__bars {
    gap: 3px;
    height: 38px;
  }

  .account-info__bars span {
    min-width: 3px;
  }

  .account-info__title {
    margin-bottom: 8px !important;
  }

  .account-info__total {
    max-width: 100%;
    overflow-wrap: anywhere;
    font-size: clamp(1.7rem, 7.4vw, 3.2rem) !important;
  }

  .account-info__stats {
    margin-top: 12px;
  }

  .page__title-bar {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px !important;
  }

  .page__title-right {
    align-self: flex-start;
  }

  .cards.cards--11,
  ul.home-quick-navigation {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .card-coin,
  ul.home-quick-navigation li {
    min-height: 122px;
    padding: 12px !important;
  }

  ul.home-quick-navigation li:nth-child(2n) {
    transform: none;
  }

  .card-coin__logo img {
    width: 46px !important;
    height: 46px !important;
  }

  .card-coin__logo {
    min-height: 70px;
    gap: 8px;
  }

  .card-coin__logo span {
    font-size: 1rem;
  }

  .card-coin__price {
    display: block;
    margin-top: 8px;
  }

  .card-coin__price strong,
  .card-coin__price span {
    display: block;
  }

  .tradingview-widget-container,
  .tradingview-widget-container__widget {
    min-height: 320px;
  }

  #footer-navigator {
    right: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    max-width: 100vw !important;
  }

  .bottom-navigation {
    width: calc(100vw - 24px) !important;
    max-width: none !important;
    padding-right: 6px !important;
    padding-left: 6px !important;
  }

  .bottom-navigation__icons {
    width: 100% !important;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    min-width: 0;
  }

  .bottom-navigation__icons li {
    min-width: 0;
  }

  .bottom-navigation__icons li a small {
    white-space: nowrap;
  }
}

@media (max-width: 360px) {
  .profit-overview {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 9px;
    padding: 15px;
  }

  .profit-overview__copy p {
    display: none;
  }

  .profit-overview__status {
    font-size: 0.5rem;
  }

  .statistic-box {
    min-height: 122px;
    padding: 10px;
  }

  .statistic-box::before {
    top: 10px;
    left: 10px;
  }

  .statistic-box::after {
    top: 11px;
    right: 10px;
    font-size: 0.48rem;
  }

  .statistic-box .box-value {
    font-size: clamp(1.3rem, 5.7vw, 1.85rem) !important;
  }

  .statistic-box .box-desc {
    font-size: 0.7rem !important;
  }

  .account-info {
    grid-template-columns: minmax(0, 1fr) 96px;
    gap: 10px;
    padding-right: 14px !important;
    padding-left: 14px !important;
  }

  .account-info__visual {
    padding-right: 8px;
    padding-left: 8px;
  }

  .account-info__bars {
    gap: 2px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media (prefers-reduced-transparency: reduce) {
  .header,
  .content-box,
  .deposit-content,
  .crypto-content,
  .about-content,
  .transaction-item,
  #summary-table,
  .amount-content {
    background: var(--do-surface-solid) !important;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}
