:root {
  --pdca-bg: #10141b;
  --pdca-bg-2: #161c25;
  --pdca-panel: rgba(28, 35, 46, 0.88);
  --pdca-panel-strong: rgba(35, 43, 56, 0.94);
  --pdca-panel-soft: rgba(255, 255, 255, 0.055);
  --pdca-card: #242c38;
  --pdca-card-2: #303946;
  --pdca-line: #ff4057;
  --pdca-line-2: #c9283d;
  --pdca-gold: #efb758;
  --pdca-gold-soft: #ffd27b;
  --pdca-blue: #5fd1ff;
  --pdca-green: #5de08c;
  --pdca-text: #f4f7fb;
  --pdca-muted: #b9c1cb;
  --pdca-dim: #7f8996;
  --pdca-ink: #131821;
  --pdca-white: #f7f8fb;
  --pdca-border: rgba(255, 255, 255, 0.12);
  --pdca-border-strong: rgba(255, 255, 255, 0.2);
  --pdca-shadow: 0 22px 54px rgba(0, 0, 0, 0.38);
  --pdca-shadow-soft: 0 12px 30px rgba(0, 0, 0, 0.26);
  --pdca-glow: 0 0 0 1px rgba(255, 64, 87, 0.34), 0 0 28px rgba(255, 64, 87, 0.12);
  --pdca-radius-lg: 22px;
  --pdca-radius-md: 16px;
  --pdca-radius-sm: 11px;
  --pdca-font-ui: "Pretendard", "Noto Sans KR", "Malgun Gothic", "Apple SD Gothic Neo", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --pdca-font-display: "Pretendard", "Noto Sans KR", "Malgun Gothic", "Arial Narrow", system-ui, sans-serif;

  --bg: var(--pdca-bg);
  --panel: var(--pdca-panel);
  --panel2: var(--pdca-panel-strong);
  --panel-dark: rgba(15, 19, 27, 0.88);
  --card: var(--pdca-card);
  --card-top: var(--pdca-card-2);
  --card-bottom: var(--pdca-card);
  --line: var(--pdca-line);
  --red: var(--pdca-line);
  --gold: var(--pdca-gold);
  --button: var(--pdca-white);
  --button-hover: #ffffff;
  --text: var(--pdca-text);
  --white: var(--pdca-text);
  --muted: var(--pdca-muted);
  --dark: var(--pdca-ink);
  --green: var(--pdca-green);
  --shadow: rgba(0, 0, 0, 0.34);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--pdca-bg);
  text-rendering: optimizeLegibility;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-height: 100%;
  background:
    radial-gradient(circle at 18% -8%, rgba(255, 64, 87, 0.18), transparent 32%),
    radial-gradient(circle at 88% 6%, rgba(239, 183, 88, 0.15), transparent 28%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px),
    linear-gradient(225deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px),
    linear-gradient(180deg, var(--pdca-bg-2), var(--pdca-bg)) !important;
  background-size: auto, auto, 28px 28px, 28px 28px, auto !important;
  color: var(--pdca-text) !important;
  font-family: var(--pdca-font-ui) !important;
  font-weight: 620;
  letter-spacing: -0.018em !important;
}

body::selection {
  background: rgba(255, 64, 87, 0.42);
  color: #ffffff;
}

main {
  position: relative;
}

h1,
.heroTitle,
.callsign,
.panel-title,
.title,
.summary,
.name {
  color: var(--pdca-text) !important;
  font-family: var(--pdca-font-display) !important;
  font-weight: 850 !important;
  letter-spacing: -0.055em !important;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.34) !important;
}

h1 {
  font-size: 78px !important;
  line-height: 0.96 !important;
}

h2,
h3,
label,
.fieldLabel,
.miniLabel,
.controlTitle,
.menuTitle {
  color: var(--pdca-gold-soft) !important;
  font-family: var(--pdca-font-ui) !important;
  font-weight: 820 !important;
  letter-spacing: -0.03em !important;
}

p,
.hint,
.sub,
.status,
.detailPanel,
.pool,
.row,
.summary,
.link-ok,
.user-line,
.meta,
.message {
  color: var(--pdca-muted) !important;
  font-family: var(--pdca-font-ui) !important;
  font-weight: 620 !important;
  letter-spacing: -0.02em !important;
  line-height: 1.55 !important;
}

.subtitle,
.hint,
.sub,
.muted,
.small {
  color: var(--pdca-muted) !important;
}

.user-line {
  color: var(--pdca-gold-soft) !important;
  font-weight: 850 !important;
}

.card,
.controlBox,
.heroBox,
.statusBox,
.panel,
.barcard,
.radar-card,
.rank-card,
.account,
.menuBox,
.authBox,
.googleDock,
.pool,
.outlook {
  border: 1px solid var(--pdca-border) !important;
  border-radius: var(--pdca-radius-lg) !important;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.028)),
    linear-gradient(135deg, rgba(255, 64, 87, 0.05), rgba(239, 183, 88, 0.035)),
    var(--pdca-panel) !important;
  box-shadow: var(--pdca-shadow) !important;
  backdrop-filter: blur(10px);
}

.card,
.controlBox,
.panel,
.barcard,
.radar-card,
.account,
.menuBox,
.authBox,
.googleDock {
  position: relative;
  overflow: hidden;
}

.card::before,
.controlBox::before,
.panel::before,
.menuBox::before,
.authBox::before,
.googleDock::before,
.account::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255, 64, 87, 0.8), rgba(239, 183, 88, 0.72), transparent);
  pointer-events: none;
}

.heroBox,
.statusBox {
  border-color: rgba(255, 64, 87, 0.42) !important;
  box-shadow: var(--pdca-shadow-soft), var(--pdca-glow) !important;
}

.status,
.detailPanel,
.pool,
.outlook,
.rank-line {
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: var(--pdca-radius-md) !important;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.20), rgba(0, 0, 0, 0.11)),
    rgba(12, 16, 23, 0.62) !important;
  color: var(--pdca-muted) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.055) !important;
}

button,
.menu a,
.back-btn,
.home,
.homeButton,
.home-btn,
.networkButton,
.gmButton {
  min-height: 58px;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  border-radius: 15px !important;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.035)),
    linear-gradient(135deg, var(--pdca-line), var(--pdca-line-2)) !important;
  color: #ffffff !important;
  box-shadow: 0 11px 24px rgba(201, 40, 61, 0.24), 0 8px 20px rgba(0, 0, 0, 0.26) !important;
  cursor: pointer;
  font-family: var(--pdca-font-ui) !important;
  font-weight: 850 !important;
  letter-spacing: -0.028em !important;
  text-decoration: none !important;
  text-shadow: none !important;
  transition: transform 130ms ease, box-shadow 130ms ease, filter 130ms ease, border-color 130ms ease;
}

button:not(:disabled):hover,
.menu a:hover,
.back-btn:hover,
.home:hover,
.homeButton:hover,
.home-btn:hover,
.networkButton:hover,
.gmButton:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.34) !important;
  box-shadow: 0 16px 30px rgba(255, 64, 87, 0.26), 0 12px 24px rgba(0, 0, 0, 0.3) !important;
  filter: brightness(1.05);
}

button:not(:disabled):active,
.menu a:active,
.back-btn:active,
.home:active,
.homeButton:active,
.home-btn:active {
  transform: translateY(0);
  filter: brightness(0.97);
}

button.secondary,
.secondary,
.home,
.homeButton,
.home-btn,
a[href="/"] {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.025)),
    rgba(19, 24, 33, 0.92) !important;
  color: var(--pdca-text) !important;
  border-color: rgba(239, 183, 88, 0.38) !important;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25) !important;
}

.home,
.homeButton,
.home-btn,
a[href="/"] {
  position: absolute !important;
  top: 0 !important;
  right: 0 !important;
  z-index: 9999 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 92px !important;
  min-width: 92px !important;
  height: 80px !important;
  min-height: 80px !important;
  padding: 0 !important;
  border-radius: 26px !important;
  font-size: 48px !important;
  line-height: 1 !important;
  letter-spacing: 0 !important;
}

.home:hover,
.homeButton:hover,
.home-btn:hover,
a[href="/"]:hover {
  transform: translateY(-2px) scale(1.02) !important;
}

button.green,
.green {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.04)),
    linear-gradient(135deg, #22b96c, #167b4d) !important;
  color: #ffffff !important;
}

button.danger,
.danger {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.04)),
    linear-gradient(135deg, #ff4057, #8f1d2c) !important;
  color: #ffffff !important;
}

button:disabled,
.request:disabled {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03)),
    rgba(56, 62, 72, 0.92) !important;
  color: rgba(255, 255, 255, 0.42) !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
  box-shadow: none !important;
  cursor: not-allowed !important;
  filter: grayscale(0.35);
  opacity: 1 !important;
}

.request.ready,
button.active,
[data-team].active,
[data-type].active {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.05)),
    linear-gradient(135deg, var(--pdca-gold), #c47a21) !important;
  color: #1b1110 !important;
  box-shadow: 0 12px 28px rgba(239, 183, 88, 0.25), 0 9px 22px rgba(0, 0, 0, 0.26) !important;
}

input,
select,
textarea {
  border: 1px solid rgba(239, 183, 88, 0.38) !important;
  border-radius: 14px !important;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(236, 240, 246, 0.98)) !important;
  color: #151923 !important;
  outline: none;
  font-family: var(--pdca-font-ui) !important;
  font-weight: 760 !important;
  letter-spacing: -0.028em !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75), 0 9px 20px rgba(0, 0, 0, 0.13) !important;
  touch-action: manipulation;
}

.group-actions input {
  font-size: 16px !important;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--pdca-gold-soft) !important;
  box-shadow: 0 0 0 4px rgba(239, 183, 88, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.75) !important;
}

input::placeholder,
textarea::placeholder {
  color: rgba(21, 25, 35, 0.46);
  font-weight: 650;
}

select {
  min-height: 66px;
  cursor: pointer;
}

.menuBox,
.authBox,
.googleDock {
  border-color: rgba(239, 183, 88, 0.28) !important;
}

.menuTitle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px !important;
  font-size: 18px !important;
}

.menuTitle::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--pdca-line);
  box-shadow: 0 0 18px rgba(255, 64, 87, 0.7);
}

.authBox h2 {
  color: var(--pdca-text) !important;
  font-size: 28px !important;
}

.googleDockTitle {
  color: var(--pdca-gold-soft) !important;
}

.row,
.stat,
.stats,
.eval div,
.editGrid,
.actions {
  font-family: var(--pdca-font-ui) !important;
  font-weight: 720 !important;
  letter-spacing: -0.026em !important;
  text-shadow: none !important;
}

.row {
  border-color: rgba(255, 255, 255, 0.08) !important;
  background: rgba(255, 255, 255, 0.035) !important;
  border-radius: 12px !important;
}

.stats {
  font-size: 15px !important;
  line-height: 1.25 !important;
}

.stat,
.eval div {
  background: rgba(255, 255, 255, 0.045) !important;
  border: 1px solid rgba(255, 255, 255, 0.07) !important;
  border-radius: 12px !important;
}

.stat .label,
.stat span:first-child {
  color: rgba(255, 255, 255, 0.86) !important;
}

.stat .value,
.stat b,
.value,
.tier-number,
.eval b {
  color: var(--pdca-gold-soft) !important;
  font-weight: 850 !important;
}

.rank-card {
  border-radius: 18px !important;
  border-color: rgba(255, 255, 255, 0.10) !important;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.028)),
    linear-gradient(180deg, #323b48, #242c38) !important;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.32) !important;
  transition: transform 130ms ease, box-shadow 130ms ease, border-color 130ms ease;
}

.rank-card:hover {
  transform: translateY(-3px);
  border-color: rgba(239, 183, 88, 0.38) !important;
  box-shadow: 0 24px 54px rgba(0, 0, 0, 0.38), 0 0 32px rgba(239, 183, 88, 0.09) !important;
}

.name {
  font-size: 25px !important;
  line-height: 1.08 !important;
}

.name-row {
  border-bottom-color: rgba(255, 255, 255, 0.08) !important;
}

.tier-line,
.trend,
.badge {
  color: var(--pdca-text) !important;
  font-family: var(--pdca-font-ui) !important;
  font-weight: 820 !important;
  letter-spacing: -0.03em !important;
  text-shadow: none !important;
}

.badge.admin {
  color: #1b1110 !important;
  background: linear-gradient(135deg, var(--pdca-gold-soft), var(--pdca-gold)) !important;
}

.badge.blocked {
  background: linear-gradient(135deg, var(--pdca-line), var(--pdca-line-2)) !important;
}

.portrait img,
.avatar img,
.placeholder,
.avatar {
  filter: drop-shadow(0 14px 18px rgba(0, 0, 0, 0.28)) !important;
}

.placeholder,
.avatar {
  background:
    radial-gradient(circle at 50% 24%, rgba(239, 183, 88, 0.16), transparent 34%),
    rgba(12, 16, 23, 0.58) !important;
  border: 1px solid rgba(255, 255, 255, 0.10) !important;
}

.detail-link {
  color: var(--pdca-gold-soft) !important;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.28)) !important;
  transition: transform 130ms ease, color 130ms ease;
}

.detail-link:hover,
.detail-link:focus {
  color: #ffffff !important;
  transform: scale(1.08);
}

.search {
  gap: 12px !important;
}

.search button,
.tools button,
.top-actions button,
.bottom-actions button {
  min-height: 58px !important;
}

.action-grid button {
  min-height: 150px !important;
  font-size: 30px !important;
}

.request {
  min-height: 76px !important;
}

.rank-line {
  color: var(--pdca-gold-soft) !important;
  font-weight: 850 !important;
}

.openLine,
.tempoLine,
.bettingLine {
  color: var(--pdca-muted) !important;
  font-family: var(--pdca-font-ui) !important;
  font-weight: 750 !important;
}

.lamp {
  box-shadow: 0 0 18px rgba(255, 64, 87, 0.48);
}

.bars {
  background: rgba(255, 255, 255, 0.045) !important;
  border-radius: 12px !important;
  padding: 8px !important;
}

.barcard {
  border-color: rgba(239, 183, 88, 0.28) !important;
}

.eval {
  border-color: rgba(239, 183, 88, 0.26) !important;
  background: rgba(0, 0, 0, 0.12) !important;
  border-radius: var(--pdca-radius-lg) !important;
}

.grid,
.buttonGrid,
.actions,
.editGrid {
  gap: 12px !important;
}

.top,
.homeRow {
  gap: 12px !important;
}

.hidden {
  display: none !important;
}

/* PDCA Battlelog visual refresh */
:root {
  --pdca-bg: #0b1018;
  --pdca-bg-2: #121925;
  --pdca-panel: rgba(22, 29, 41, 0.92);
  --pdca-panel-strong: rgba(28, 36, 50, 0.96);
  --pdca-card: #1c2532;
  --pdca-card-2: #2b3543;
  --pdca-line: #ff465d;
  --pdca-line-2: #b92538;
  --pdca-gold: #e7ad52;
  --pdca-gold-soft: #ffd37d;
  --pdca-blue: #66d9ff;
  --pdca-green: #58e08a;
  --pdca-text: #f6f8fb;
  --pdca-muted: #b8c2cf;
  --pdca-dim: #7b8796;
  --pdca-ink: #101620;
  --pdca-border: rgba(255, 255, 255, 0.115);
  --pdca-border-strong: rgba(255, 255, 255, 0.22);
  --pdca-shadow: 0 24px 60px rgba(0, 0, 0, 0.42);
  --pdca-shadow-soft: 0 14px 32px rgba(0, 0, 0, 0.30);
  --pdca-glow: 0 0 0 1px rgba(255, 70, 93, 0.30), 0 0 34px rgba(255, 70, 93, 0.11);
}

html {
  color-scheme: dark;
}

body {
  position: relative;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 12% -10%, rgba(255, 70, 93, 0.20), transparent 31%),
    radial-gradient(circle at 90% 0%, rgba(231, 173, 82, 0.16), transparent 29%),
    radial-gradient(circle at 50% 105%, rgba(102, 217, 255, 0.07), transparent 35%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.030) 0 1px, transparent 1px),
    linear-gradient(225deg, rgba(255, 255, 255, 0.020) 0 1px, transparent 1px),
    linear-gradient(180deg, #151d2a, #0b1018 54%, #080d14) !important;
  background-size: auto, auto, auto, 30px 30px, 30px 30px, auto !important;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.025), transparent 18%, transparent 82%, rgba(255, 255, 255, 0.025)),
    radial-gradient(circle at 50% 0%, transparent 0 35%, rgba(0, 0, 0, 0.34) 100%);
}

main {
  isolation: isolate;
}

h1,
.heroTitle,
.title {
  font-weight: 780 !important;
  letter-spacing: -0.07em !important;
}

h2,
h3,
label,
.fieldLabel,
.miniLabel,
.controlTitle,
.menuTitle {
  font-weight: 760 !important;
}

p,
.hint,
.sub,
.status,
.detailPanel,
.pool,
.row,
.summary,
.link-ok,
.meta,
.message {
  font-weight: 560 !important;
}

.card,
.controlBox,
.heroBox,
.statusBox,
.panel,
.barcard,
.radar-card,
.rank-card,
.account,
.menuBox,
.authBox,
.googleDock,
.profileBox,
.pool,
.outlook {
  border: 1px solid rgba(255, 255, 255, 0.105) !important;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.088), rgba(255, 255, 255, 0.030)),
    linear-gradient(135deg, rgba(255, 70, 93, 0.040), rgba(231, 173, 82, 0.030)),
    rgba(22, 29, 41, 0.91) !important;
  box-shadow:
    0 22px 58px rgba(0, 0, 0, 0.40),
    inset 0 1px 0 rgba(255, 255, 255, 0.055) !important;
}

.card::before,
.controlBox::before,
.panel::before,
.menuBox::before,
.authBox::before,
.googleDock::before,
.account::before,
.profileBox::before {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 70, 93, 0.70), rgba(255, 211, 125, 0.58), transparent);
}

.heroBox,
.statusBox,
.profileBox {
  border-color: rgba(255, 70, 93, 0.34) !important;
}

.status,
.detailPanel,
.pool,
.outlook,
.rank-line {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.012)),
    rgba(8, 12, 18, 0.62) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.055),
    0 10px 22px rgba(0, 0, 0, 0.18) !important;
}

button,
.menu a,
.back-btn,
.networkButton,
.gmButton {
  border-radius: 16px !important;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.035)),
    linear-gradient(135deg, #ff4d64, #b92538) !important;
  box-shadow:
    0 13px 28px rgba(185, 37, 56, 0.24),
    0 9px 22px rgba(0, 0, 0, 0.30) !important;
  font-weight: 760 !important;
}

.menu a {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

button.secondary,
.secondary {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.095), rgba(255, 255, 255, 0.025)),
    rgba(18, 24, 34, 0.94) !important;
  color: var(--pdca-text) !important;
}

.top .home,
.top .homeButton,
.top .home-btn,
.top a[href="/"],
.homeRow .home,
.homeRow .homeButton,
.homeRow .home-btn,
.homeRow a[href="/"],
header .home,
header .homeButton,
header .home-btn,
header a[href="/"],
.top-actions .home,
.top-actions .homeButton,
.top-actions .home-btn,
.top-actions a[href="/"] {
  position: static !important;
  margin-left: auto !important;
  flex: 0 0 auto !important;
}

.home,
.homeButton,
.home-btn,
a[href="/"] {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.105), rgba(255, 255, 255, 0.03)),
    rgba(15, 20, 29, 0.96) !important;
  border-color: rgba(255, 211, 125, 0.34) !important;
  box-shadow:
    0 16px 34px rgba(0, 0, 0, 0.30),
    inset 0 1px 0 rgba(255, 255, 255, 0.05) !important;
}

input,
select,
textarea {
  border-color: rgba(255, 211, 125, 0.32) !important;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(228, 234, 243, 0.98)) !important;
  font-weight: 690 !important;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(255, 211, 125, 0.90) !important;
  box-shadow:
    0 0 0 4px rgba(255, 211, 125, 0.16),
    0 12px 24px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.74) !important;
}

.profileBox {
  position: relative !important;
  overflow: hidden !important;
  padding: 18px !important;
  margin-bottom: 20px !important;
}

.accountSummary {
  align-items: center !important;
  gap: 18px !important;
}

.summaryAvatar {
  width: 112px !important;
  height: 126px !important;
  border-radius: 20px !important;
  background:
    radial-gradient(circle at 50% 22%, rgba(255, 211, 125, 0.18), transparent 35%),
    rgba(8, 12, 18, 0.74) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    0 14px 30px rgba(0, 0, 0, 0.30) !important;
}

.summaryName {
  font-weight: 820 !important;
  letter-spacing: -0.055em !important;
}

.summaryMeta {
  color: var(--pdca-muted) !important;
  font-weight: 620 !important;
}

.walletPill {
  background:
    linear-gradient(135deg, var(--pdca-gold-soft), var(--pdca-gold)) !important;
  color: #20140b !important;
  border: 0 !important;
  box-shadow: 0 10px 24px rgba(231, 173, 82, 0.18) !important;
}

.summaryStat,
.stat,
.eval div {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.060), rgba(255, 255, 255, 0.026)),
    rgba(8, 12, 18, 0.44) !important;
}

.rank-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.090), rgba(255, 255, 255, 0.030)),
    linear-gradient(180deg, #2e3949, #202936) !important;
}

.rank-card .stats {
  background: rgba(8, 12, 18, 0.20) !important;
  border-radius: 14px !important;
  padding: 6px !important;
}

.rank-card .stat {
  min-height: 22px !important;
  padding: 3px 6px !important;
}

.avatar,
.placeholder,
.portrait {
  background:
    radial-gradient(circle at 50% 20%, rgba(255, 211, 125, 0.12), transparent 35%),
    rgba(8, 12, 18, 0.46) !important;
}

.request-controls {
  align-items: stretch !important;
}

.request-toggle {
  position: relative !important;
}

.request-badge {
  box-shadow: 0 0 0 3px rgba(11, 16, 24, 0.92) !important;
}

@media (max-width: 780px) {
  h1 {
    font-size: 64px !important;
  }

  .home,
  .homeButton,
  .home-btn,
  a[href="/"] {
    width: 82px !important;
    min-width: 82px !important;
    height: 72px !important;
    min-height: 72px !important;
    border-radius: 22px !important;
    font-size: 42px !important;
  }
}

/* PDCA Battlelog visual refresh v2: gunmetal command deck */
:root {
  --pdca-bg: #080d13;
  --pdca-bg-2: #111822;
  --pdca-panel: rgba(20, 26, 36, 0.93);
  --pdca-panel-strong: rgba(27, 34, 46, 0.97);
  --pdca-card: #1b2430;
  --pdca-card-2: #283242;
  --pdca-line: #b95c64;
  --pdca-line-2: #81343e;
  --pdca-gold: #c99a55;
  --pdca-gold-soft: #e8c17a;
  --pdca-blue: #78b7d9;
  --pdca-green: #6cc58a;
  --pdca-text: #f2f4f7;
  --pdca-muted: #aeb8c5;
  --pdca-dim: #788596;
  --pdca-ink: #0c121b;
  --pdca-border: rgba(235, 241, 248, 0.105);
  --pdca-border-strong: rgba(235, 241, 248, 0.18);
  --pdca-shadow: 0 24px 64px rgba(0, 0, 0, 0.46);
  --pdca-shadow-soft: 0 14px 34px rgba(0, 0, 0, 0.32);
  --line: var(--pdca-line);
  --red: var(--pdca-line);
  --gold: var(--pdca-gold);
}

body {
  background:
    radial-gradient(circle at 16% -8%, rgba(120, 183, 217, 0.105), transparent 31%),
    radial-gradient(circle at 88% 0%, rgba(201, 154, 85, 0.105), transparent 30%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.022) 0 1px, transparent 1px),
    linear-gradient(225deg, rgba(255, 255, 255, 0.016) 0 1px, transparent 1px),
    linear-gradient(180deg, #121926, #080d13 58%, #060a10) !important;
  background-size: auto, auto, 32px 32px, 32px 32px, auto !important;
}

body::before {
  background:
    radial-gradient(circle at 50% -10%, rgba(255, 255, 255, 0.035), transparent 34%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018), transparent 19%, transparent 81%, rgba(255, 255, 255, 0.018)),
    radial-gradient(circle at 50% 60%, transparent 0 44%, rgba(0, 0, 0, 0.42) 100%);
}

h1,
.heroTitle,
.title,
.callsign,
.name,
.summaryName {
  color: #f7f8fb !important;
  font-weight: 760 !important;
  text-shadow: 0 8px 28px rgba(0, 0, 0, 0.36) !important;
}

h2,
h3,
label,
.fieldLabel,
.miniLabel,
.controlTitle,
.menuTitle {
  color: var(--pdca-gold-soft) !important;
  font-weight: 720 !important;
}

p,
.hint,
.sub,
.status,
.detailPanel,
.pool,
.row,
.summary,
.meta,
.message {
  color: var(--pdca-muted) !important;
  font-weight: 540 !important;
}

.card,
.controlBox,
.heroBox,
.statusBox,
.panel,
.barcard,
.radar-card,
.rank-card,
.account,
.menuBox,
.authBox,
.googleDock,
.profileBox,
.pool,
.outlook {
  border-color: rgba(235, 241, 248, 0.10) !important;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.070), rgba(255, 255, 255, 0.024)),
    linear-gradient(135deg, rgba(120, 183, 217, 0.030), rgba(201, 154, 85, 0.026)),
    rgba(20, 26, 36, 0.93) !important;
  box-shadow:
    0 24px 64px rgba(0, 0, 0, 0.44),
    inset 0 1px 0 rgba(255, 255, 255, 0.052) !important;
}

.card::before,
.controlBox::before,
.panel::before,
.menuBox::before,
.authBox::before,
.googleDock::before,
.account::before,
.profileBox::before {
  height: 1px !important;
  background: linear-gradient(90deg, transparent, rgba(120, 183, 217, 0.46), rgba(201, 154, 85, 0.42), transparent) !important;
}

.heroBox,
.statusBox,
.profileBox {
  border-color: rgba(201, 154, 85, 0.24) !important;
  box-shadow:
    0 24px 64px rgba(0, 0, 0, 0.44),
    0 0 0 1px rgba(201, 154, 85, 0.045),
    inset 0 1px 0 rgba(255, 255, 255, 0.052) !important;
}

.status,
.detailPanel,
.pool,
.outlook,
.rank-line {
  border-color: rgba(235, 241, 248, 0.085) !important;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.034), rgba(255, 255, 255, 0.012)),
    rgba(7, 11, 17, 0.66) !important;
}

button,
.menu a,
.back-btn,
.networkButton,
.gmButton {
  border-radius: 17px !important;
  border-color: rgba(235, 241, 248, 0.13) !important;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.088), rgba(255, 255, 255, 0.030)),
    linear-gradient(135deg, #263241, #151d28) !important;
  color: #f3f6fa !important;
  box-shadow:
    0 15px 34px rgba(0, 0, 0, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.050) !important;
  font-weight: 730 !important;
}

button:not(:disabled):hover,
.menu a:hover,
.back-btn:hover,
.networkButton:hover,
.gmButton:hover {
  border-color: rgba(232, 193, 122, 0.36) !important;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.105), rgba(255, 255, 255, 0.040)),
    linear-gradient(135deg, #2d3a4b, #182331) !important;
  box-shadow:
    0 18px 38px rgba(0, 0, 0, 0.36),
    0 0 28px rgba(201, 154, 85, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.060) !important;
}

.menu a::after,
#receiptBtn::after,
#loginModeBtn::after,
#signupModeBtn::after {
  content: "";
  position: absolute;
  inset: auto 18px 12px 18px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(120, 183, 217, 0.58), transparent);
  opacity: 0.70;
  pointer-events: none;
}

.menu a,
#receiptBtn,
#loginModeBtn,
#signupModeBtn {
  position: relative !important;
  overflow: hidden !important;
}

#gmMenuBox .menu a,
#trainingMasterMenuBox .menu a,
#adminMenuBox .menu a,
.top-actions button,
.make-row button,
.group-button-row button {
  border-color: rgba(232, 193, 122, 0.24) !important;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.095), rgba(255, 255, 255, 0.032)),
    linear-gradient(135deg, #3a3024, #1f1a16) !important;
}

#gmMenuBox .menu a::after,
#trainingMasterMenuBox .menu a::after,
#adminMenuBox .menu a::after,
.top-actions button::after,
.make-row button::after,
.group-button-row button::after {
  background: linear-gradient(90deg, transparent, rgba(232, 193, 122, 0.64), transparent);
}

button.secondary,
.secondary,
#logoutBtn {
  border-color: rgba(232, 193, 122, 0.20) !important;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018)),
    rgba(9, 14, 21, 0.86) !important;
  color: #dce3ec !important;
}

button.danger,
.danger {
  border-color: rgba(255, 99, 115, 0.34) !important;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.090), rgba(255, 255, 255, 0.028)),
    linear-gradient(135deg, #9e3542, #551c25) !important;
  color: #fff4f5 !important;
}

button.green,
.green {
  border-color: rgba(108, 197, 138, 0.30) !important;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.090), rgba(255, 255, 255, 0.028)),
    linear-gradient(135deg, #2f6f4b, #193b2b) !important;
  color: #effff4 !important;
}

.request.ready,
button.active,
[data-team].active,
[data-type].active {
  border-color: rgba(232, 193, 122, 0.55) !important;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.120), rgba(255, 255, 255, 0.040)),
    linear-gradient(135deg, #c99a55, #866232) !important;
  color: #17120b !important;
  box-shadow:
    0 16px 34px rgba(201, 154, 85, 0.20),
    0 12px 30px rgba(0, 0, 0, 0.32) !important;
}

.home,
.homeButton,
.home-btn,
a[href="/"] {
  border-color: rgba(120, 183, 217, 0.24) !important;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.070), rgba(255, 255, 255, 0.022)),
    rgba(10, 15, 23, 0.94) !important;
}

.captureIcon {
  width: 68px !important;
  min-width: 68px !important;
  height: 58px !important;
  min-height: 58px !important;
  padding: 0 !important;
  border-radius: 18px !important;
  font-size: 30px !important;
  letter-spacing: 0 !important;
}

input,
select,
textarea {
  border-color: rgba(120, 183, 217, 0.28) !important;
  background:
    linear-gradient(180deg, rgba(247, 249, 252, 0.99), rgba(226, 232, 240, 0.99)) !important;
  color: #111827 !important;
  font-weight: 650 !important;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(232, 193, 122, 0.82) !important;
  box-shadow:
    0 0 0 4px rgba(232, 193, 122, 0.13),
    0 14px 26px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.74) !important;
}

.menuTitle::before {
  width: 7px !important;
  height: 7px !important;
  background: var(--pdca-blue) !important;
  box-shadow: 0 0 16px rgba(120, 183, 217, 0.46) !important;
}

#gmMenuBox .menuTitle::before,
#trainingMasterMenuBox .menuTitle::before,
#adminMenuBox .menuTitle::before {
  background: var(--pdca-gold-soft) !important;
  box-shadow: 0 0 16px rgba(232, 193, 122, 0.40) !important;
}

.walletPill {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.04)),
    linear-gradient(135deg, #d7ad63, #a67836) !important;
  color: #17120b !important;
  box-shadow: 0 12px 26px rgba(201, 154, 85, 0.18) !important;
}

.summaryStat,
.stat,
.eval div {
  border-color: rgba(235, 241, 248, 0.08) !important;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.052), rgba(255, 255, 255, 0.020)),
    rgba(6, 10, 16, 0.42) !important;
}

.rank-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.078), rgba(255, 255, 255, 0.026)),
    linear-gradient(180deg, #2a3443, #1c2531) !important;
}

.receiptPaper {
  background:
    linear-gradient(180deg, #f8f4e8, #eee3cf) !important;
  color: #241c14 !important;
}
