body {
  margin: 0;
  color: #1d2a3f;
  font-family: 'Pretendard Variable', 'Inter', 'Noto Sans KR', 'Roboto', Arial, sans-serif;
  background: #eef2f7;
}

/* ?�?�?� shell & tabs ?�?�?� */
.mypage-shell {
  width: min(980px, calc(100% - 36px));
  margin: 20px auto 72px;
}

.mypage-top-tabs {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 6px;
  padding: 4px;
  border: 1px solid #d9e1ed;
  border-radius: 10px;
  background: #f7f9fc;
}

.mypage-top-tabs a {
  text-align: center;
  text-decoration: none;
  color: #52617a;
  border-radius: 8px;
  min-height: 32px;
  line-height: 32px;
  font-size: 12px;
  font-weight: 600;
}

.mypage-top-tabs a.is-active {
  color: #ffffff;
  background: #1f67c7;
}

.mypage-panel {
  margin-top: 16px;
  border: 1px solid #dbe3ef;
  border-radius: 12px;
  background: #ffffff;
}

.notice-banner-panel {
  position: relative;
  aspect-ratio: 16 / 3;
  overflow: hidden;
}

.notice-banner-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.notice-banner-overlay {
  position: absolute;
  left: 24px;
  top: 50%;
  transform: translateY(-42%);
  right: 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}

.notice-banner-title {
  margin: 0;
  color: #ffffff;
  font-size: 36px;
  font-weight: 800;
  line-height: 1.2;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

.notice-banner-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 16px;
  border-radius: 8px;
  background: #ffffff;
  color: #1d2a3f;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
}

.notice-banner-cta:hover {
  background: #f2f5fb;
}

/* ?�?�?� 공�? 목록 ?�널 ?�?�?� */
.notice-list-panel {
  overflow: hidden;
}

.notice-list-head {
  padding: 16px 20px 12px;
  font-size: 15px;
  font-weight: 700;
  color: #17263d;
  border-bottom: 1px solid #edf1f8;
}

.notice-list-wrap {
  padding: 4px 0;
}

.notice-row {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 20px;
  border: 0;
  border-bottom: 1px solid #edf1f8;
  background: transparent;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  transition: background 0.12s;
}

.notice-row:last-child {
  border-bottom: none;
}

.notice-row:hover {
  background: #f7faff;
}

.notice-row-num {
  width: 22px;
  font-size: 13px;
  color: #8a9bb8;
  font-weight: 500;
  flex-shrink: 0;
  text-align: right;
}

.notice-row-title {
  flex: 1;
  font-size: 14px;
  font-weight: 500;
  color: #1f3660;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.notice-row-arrow {
  font-size: 18px;
  color: #b0bdd1;
  flex-shrink: 0;
}

.notice-empty {
  padding: 28px 20px;
  text-align: center;
  color: #8a9bb8;
  font-size: 14px;
}

/* ?�?�?� 빠른 ?�동 카드 ?�?�?� */
.notice-shortcut-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.notice-shortcut-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 22px 16px 18px;
  border: 1px solid #dbe3ef;
  border-radius: 12px;
  background: #ffffff;
  text-decoration: none;
  color: #17263d;
  transition: box-shadow 0.15s, transform 0.15s;
}

.notice-shortcut-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(30, 60, 120, 0.10);
}

.notice-shortcut-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.notice-shortcut-icon svg {
  width: 22px;
  height: 22px;
}

.notice-shortcut-card--blue .notice-shortcut-icon  { background: #e8f2ff; color: #1f67c7; }
.notice-shortcut-card--red  .notice-shortcut-icon  { background: #ffeef0; color: #c7263c; }
.notice-shortcut-card--green .notice-shortcut-icon { background: #eaf7f0; color: #1e8a57; }
.notice-shortcut-card--purple .notice-shortcut-icon{ background: #f2eeff; color: #6741d9; }

.notice-shortcut-card strong {
  font-size: 14px;
  font-weight: 700;
  color: #17263d;
}

.notice-shortcut-card span {
  font-size: 12px;
  color: #8a9bb8;
}

/* ?�?�?� ?�단 2??그리???�?�?� */
.notice-bottom-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.notice-asset-panel,
.notice-history-panel {
  padding: 18px 20px;
}

.notice-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  font-size: 14px;
  font-weight: 700;
  color: #17263d;
}

.notice-panel-link {
  font-size: 13px;
  font-weight: 600;
  color: #1f67c7;
  text-decoration: none;
}

.notice-panel-link:hover {
  text-decoration: underline;
}

/* ?�?�?� ???�산 ???�?�?� */
.notice-asset-rows {
  display: grid;
  gap: 10px;
}

.notice-asset-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
}

.notice-asset-row span {
  color: #6d7f9b;
}

.notice-asset-row strong {
  font-size: 13px;
  font-weight: 700;
  color: #17263d;
}

.notice-asset-highlight {
  font-size: 15px !important;
  color: #1f67c7 !important;
}

/* ?�?�?� 최근 ??출금 ?�?�?� */
.notice-history-list {
  display: grid;
  gap: 8px;
}

.notice-history-empty {
  padding: 16px 0;
  text-align: center;
  color: #8a9bb8;
  font-size: 13px;
}

.notice-history-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
}

.notice-type-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 22px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
}

.notice-type-badge--deposit  { background: #e8f2ff; color: #1f67c7; }
.notice-type-badge--withdraw { background: #ffeef0; color: #c7263c; }

.notice-history-date {
  color: #8a9bb8;
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.notice-history-amount {
  font-weight: 600;
  color: #17263d;
  white-space: nowrap;
}

.notice-status-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 52px;
  height: 22px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
}

.notice-badge--pending { background: #fff8e6; color: #9b6311; }
.notice-badge--done    { background: #e4f7ea; color: #1f7b45; }
.notice-badge--reject  { background: #ffeef0; color: #c0392b; }

/* notice detail */
.notice-detail-page .notice-detail-shell {
  margin-top: 16px;
  padding: 18px 26px 20px;
}

.notice-detail-page .notice-detail-topbar {
  margin-bottom: 8px;
}

.notice-detail-page .notice-detail-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #657894;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
}

.notice-detail-page .notice-detail-back::before {
  content: '\2039';
  font-size: 16px;
  line-height: 1;
}

.notice-detail-page .notice-detail-head {
  margin-top: 8px;
}

.notice-detail-page .notice-detail-category {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 22px;
  padding: 0 10px;
  border-radius: 999px;
  background: #eef4ff;
  color: #3d5f9a;
  font-size: 12px;
  font-weight: 700;
}

.notice-detail-page #noticeDetailTitle {
  margin: 10px 0 0;
  font-size: 34px;
  line-height: 1.25;
  letter-spacing: -0.03em;
  color: #17263d;
}

.notice-detail-page .notice-detail-meta {
  margin-top: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #8a9bb8;
  font-size: 13px;
  font-weight: 600;
}

.notice-detail-page .notice-detail-divider {
  margin: 16px 0;
  border-top: 1px solid #e6edf7;
}

.notice-detail-page .notice-detail-content {
  color: #3a4d69;
  font-size: 14px;
  line-height: 1.95;
  white-space: normal;
  word-break: break-word;
}

.notice-detail-page .notice-detail-empty {
  padding: 14px;
  border-radius: 10px;
  border: 1px dashed #d4deed;
  background: #f8fbff;
  color: #7f91ad;
  font-size: 13px;
}

.notice-detail-page .notice-detail-actions {
  display: flex;
  justify-content: flex-start;
}

.notice-detail-page .notice-detail-list-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0 16px;
  border-radius: 8px;
  border: 1px solid #d6e0ef;
  background: #f5f8fd;
  color: #3f526f;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
}

.notice-detail-page .notice-detail-list-btn:hover {
  background: #ebf2fb;
}

@media (max-width: 768px) {
  .mypage-shell {
    width: calc(100% - 16px);
    margin: 12px auto 56px;
  }

  .notice-banner-panel {
    aspect-ratio: 16 / 6;
  }

  .notice-banner-overlay {
    left: 12px;
    right: 12px;
    gap: 10px;
    transform: translateY(-44%);
  }

  .notice-banner-title {
    font-size: 24px;
    line-height: 1.25;
  }

  .notice-banner-cta {
    min-height: 34px;
    padding: 0 14px;
    font-size: 12px;
  }

  .mypage-top-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 5px;
    padding: 5px;
    border-radius: 12px;
  }

  .mypage-top-tabs a {
    min-height: 36px;
    line-height: 36px;
    font-size: 13px;
  }

  .mypage-panel {
    margin-top: 12px;
  }

  .notice-list-head {
    padding: 14px 12px 10px;
    font-size: 14px;
  }

  .notice-row {
    padding: 12px;
    gap: 10px;
  }

  .notice-row-num {
    width: auto;
    min-width: 18px;
    text-align: left;
    font-size: 12px;
  }

  .notice-row-title {
    white-space: normal;
    line-height: 1.45;
    font-size: 13px;
  }

  .notice-row-arrow {
    margin-left: auto;
    line-height: 1;
  }

  .notice-empty {
    padding: 22px 14px;
    font-size: 13px;
  }

  .notice-shortcut-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 12px;
  }

  .notice-shortcut-card {
    padding: 16px 10px 14px;
    gap: 8px;
  }

  .notice-shortcut-icon {
    width: 42px;
    height: 42px;
  }

  .notice-shortcut-icon svg {
    width: 20px;
    height: 20px;
  }

  .notice-shortcut-card strong {
    font-size: 13px;
  }

  .notice-shortcut-card span {
    font-size: 11px;
  }

  .notice-bottom-grid {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 12px;
  }

  .notice-asset-panel,
  .notice-history-panel {
    padding: 14px 12px;
  }

  .notice-panel-head {
    font-size: 13px;
    margin-bottom: 10px;
  }

  .notice-panel-link {
    font-size: 12px;
  }

  .notice-asset-row,
  .notice-history-row {
    font-size: 12px;
  }

  .notice-asset-highlight {
    font-size: 14px !important;
  }

  .notice-history-row {
    gap: 8px;
    flex-wrap: wrap;
  }

  .notice-history-date {
    order: 3;
    flex: 1 1 100%;
    font-size: 11px;
  }

  .notice-status-badge {
    margin-left: auto;
  }

  .notice-detail-page .notice-detail-shell {
    padding: 14px 12px;
  }

  .notice-detail-page #noticeDetailTitle {
    font-size: 26px;
    line-height: 1.3;
  }

  .notice-detail-page .notice-detail-meta {
    font-size: 12px;
    flex-wrap: wrap;
    gap: 8px;
  }

  .notice-detail-page .notice-detail-content {
    font-size: 13px;
    line-height: 1.8;
  }

  .notice-detail-page .notice-detail-actions {
    width: 100%;
  }

  .notice-detail-page .notice-detail-list-btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .mypage-shell {
    width: calc(100% - 12px);
    margin-top: 10px;
  }

  .notice-banner-panel {
    aspect-ratio: 16 / 7;
  }

  .notice-banner-overlay {
    left: 10px;
    right: 10px;
    gap: 8px;
  }

  .notice-banner-title {
    font-size: 18px;
  }

  .notice-banner-cta {
    min-height: 30px;
    padding: 0 12px;
    font-size: 11px;
  }

  .mypage-top-tabs a {
    font-size: 12px;
  }

  .notice-row {
    padding: 11px 10px;
    gap: 8px;
  }

  .notice-row-title {
    font-size: 12px;
  }

  .notice-shortcut-grid {
    gap: 8px;
  }

  .notice-shortcut-card {
    padding: 14px 8px 12px;
  }

  .notice-shortcut-icon {
    width: 38px;
    height: 38px;
  }

  .notice-shortcut-card strong {
    font-size: 12px;
  }

  .notice-shortcut-card span {
    font-size: 10px;
  }

  .notice-panel-head {
    font-size: 12px;
  }

  .notice-type-badge,
  .notice-status-badge {
    height: 20px;
    font-size: 10px;
  }

  .notice-history-amount {
    font-size: 12px;
  }
}