:root {
  --ink: #07163d;
  --muted: #63708a;
  --line: #dce5f4;
  --blue: #126bff;
  --cyan: #18c8ff;
  --surface: #ffffff;
  --soft: #f3f7ff;
  --shadow: 0 18px 44px rgba(5, 19, 52, 0.12);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Inter", "Pretendard", "Noto Sans KR", "Segoe UI", Arial, sans-serif;
  background: linear-gradient(180deg, #f4f8ff, #ffffff 45%, #f7faff);
}

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

button {
  font: inherit;
}

.my-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px clamp(18px, 4vw, 56px);
  color: #fff;
  background: rgba(2, 8, 23, 0.94);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  display: grid;
  grid-template-columns: repeat(5, 5px);
  align-items: end;
  gap: 5px;
  width: 40px;
  height: 40px;
}

.brand-mark span {
  border-radius: 6px;
  background: linear-gradient(180deg, var(--cyan), var(--blue));
}

.brand-mark span:nth-child(1) { height: 16px; }
.brand-mark span:nth-child(2) { height: 26px; }
.brand-mark span:nth-child(3) { height: 34px; }
.brand-mark span:nth-child(4) { height: 23px; }
.brand-mark span:nth-child(5) { height: 18px; }

.brand strong {
  display: block;
  font-size: 24px;
  line-height: 1;
}

.brand em {
  display: block;
  margin-top: 4px;
  color: #58c7ff;
  font-size: 10px;
  font-style: normal;
  font-weight: 900;
  letter-spacing: 2.7px;
}

.my-header nav {
  display: flex;
  gap: 12px;
}

.my-header nav a {
  min-height: 40px;
  padding: 0 13px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(195, 211, 255, 0.26);
  border-radius: 10px;
  font-weight: 900;
  white-space: nowrap;
}

.my-shell {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 22px;
  width: min(1280px, calc(100% - 40px));
  margin: 24px auto 60px;
}

.my-sidebar,
.my-content {
  border: 1px solid rgba(209, 220, 240, 0.9);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow);
}

.my-sidebar {
  position: sticky;
  top: 94px;
  height: fit-content;
  padding: 18px;
}

.profile-card {
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 16px;
  border-radius: 16px;
  background: linear-gradient(135deg, #eff7ff, #ffffff);
  text-align: center;
}

.profile-card span {
  display: grid;
  place-items: center;
  width: 66px;
  height: 66px;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, #18c8ff, #126bff, #743cff);
  font-size: 26px;
  font-weight: 950;
}

.profile-card strong {
  font-size: 20px;
}

.profile-card em {
  max-width: 180px;
  overflow: hidden;
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.my-sidebar nav {
  display: grid;
  gap: 6px;
  margin-top: 16px;
}

.my-sidebar nav a {
  min-height: 44px;
  padding: 0 12px;
  display: flex;
  align-items: center;
  border-radius: 11px;
  color: #33425f;
  font-weight: 900;
}

.my-sidebar nav a.is-active,
.my-sidebar nav a:hover {
  color: #fff;
  background: #126bff;
}

.my-content {
  min-height: 620px;
  padding: 26px;
}

.page-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 20px;
}

.page-head h1 {
  margin: 0 0 8px;
  font-size: clamp(28px, 4vw, 42px);
}

.page-head p {
  margin: 0;
  color: var(--muted);
  font-weight: 800;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 22px;
}

.stat-card,
.info-card,
.list-row,
.state-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}

.stat-card {
  padding: 18px;
}

.stat-card span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.stat-card strong {
  display: block;
  margin-top: 8px;
  color: var(--blue);
  font-size: 28px;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.info-card {
  padding: 18px;
}

.info-card h3 {
  margin: 0 0 10px;
}

.info-card p {
  margin: 0;
  color: var(--muted);
  font-weight: 800;
}

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

.list-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: center;
  min-height: 72px;
  padding: 14px;
}

.list-row strong {
  display: block;
  margin-bottom: 5px;
}

.list-row span,
.state-card {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.list-row a,
.list-row button {
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--blue);
  background: #fff;
  font-weight: 900;
  cursor: pointer;
}

.state-card {
  padding: 24px;
}

@media (max-width: 860px) {
  .my-shell {
    grid-template-columns: 1fr;
    width: min(100% - 24px, 1280px);
  }

  .my-sidebar {
    position: static;
  }

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

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

@media (max-width: 520px) {
  .my-header {
    padding: 12px 16px;
  }

  .my-header nav {
    display: none;
  }

  .brand strong {
    font-size: 21px;
  }

  .brand em {
    font-size: 9px;
  }

  .my-content {
    padding: 18px;
  }

  .stat-grid,
  .info-grid,
  .list-row {
    grid-template-columns: 1fr;
  }
}
