/* BGM */
.kb-bgm-wrap {
  position: fixed;
  top: 16px;
  right: 16px;
  left: auto;
  z-index: 8000 !important;
}

.kb-bgm-controls {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.kb-bgm-arrows {
  transform: translateY(-3px); 
  display: flex;
  align-items: center;
  gap: 6px;
}

.kb-bgm-arrow {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  border: none;
  background: #0B525D;
  color: #fff;
  font-size: 12px;
  font-weight: 300;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, transform 0.2s ease;
}

.kb-bgm-arrow:hover {
  background: #0d6572;
  transform: scale(1.05);
}

.kb-bgm-arrow:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.kb-bgm-wrap #kb-bgm-player {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
  overflow: hidden;
}

.kb-bgm-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 10px;
  border: 1px solid #225861;
  background: #0B525D;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(11, 82, 93, 0.4);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.kb-bgm-icon:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(11, 82, 93, 0.5);
}

.kb-bgm-icon-text {
  font-size: 9px;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  letter-spacing: 0.02em;
}

/* Reset */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* 전체 페이지 바탕 (다른 CSS·캐시에 덮이지 않게 !important) */
html {
  background-color: #f3f5f7 !important;
}

body {
  font-family: "Noto Sans KR", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo",
    "맑은 고딕", "Malgun Gothic", sans-serif;
  font-size: 14px;
  line-height: 1.6;
  background-color: #f3f5f7 !important;
  min-height: 100vh;
  color: #1f2937;
  -webkit-font-smoothing: antialiased;
}

body.kb-modal-open {
  overflow: hidden;
}

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

/* Layout */
.page {
  max-width: 960px;
  margin: 40px auto;
  padding: 0 16px;
}

.kb-card {
  background-color: #ffffff;
  border-radius: 12px;
  overflow: hidden;
}

/* Header */
.kb-header {
  background: linear-gradient(
    180deg,
    #0b505c 0%,
    #0b5e64 45%,
    #17575E 100%
  );
  color: #fff;
  padding: 20px 24px 8px 24px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
}

.kb-header-left {
  flex: 1;
  min-width: 0;
}

.kb-header-right {
  flex-shrink: 0;
}

.kb-title {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}

.kb-subtitle {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.04em;
  opacity: 0.88;
}

.kb-header-channels {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  margin-top: 8px;
  margin-bottom: 2px;
}

.kb-header-channel-pill {
  display: inline-block;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 500;
  color: #fff;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.kb-header-channel-pill:hover {
  background: rgba(255, 255, 255, 0.35);
  color: #fff;
}

.kb-header-channels.kb-header-channels--text-hidden {
  margin: 0;
  padding: 0;
  height: 0;
  overflow: hidden;
  line-height: 0;
  font-size: 0;
  visibility: hidden;
  position: absolute;
  width: 1px;
  height: 1px;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.kb-header-channels.kb-header-channels--text-hidden .kb-header-channel-pill {
  color: transparent;
  background: transparent;
  user-select: none;
  pointer-events: none;
}

.kb-header-channels.kb-header-channels--text-hidden .kb-header-channel-pill:hover {
  background: transparent;
  color: transparent;
}

/* Tabs */
.kb-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.kb-tab {
  font-size: 12px;
  padding: 5px 11px;
  border-radius: 999px;
  border: 1px solid transparent;
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease,
    border-color 0.2s ease, box-shadow 0.2s ease;
}

.kb-tab.is-active {
  background-color: #ffffff;
  color: #3f6469;
  font-weight: 600;
  border: 1px solid rgba(0, 0, 0, 0.12);
}

.kb-tab.is-active:hover {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.kb-tab:not(.is-active) {
  background-color: #286872;
  border: 1px solid transparent;
  color: #ffffff;
}

.kb-tab:not(.is-active):hover {
  background-color: #ffffff;
  color: #2E8F97;
  border: 1px solid rgba(0, 0, 0, 0.12);
}

/* Live box */
.kb-live-bubble {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  padding: 6px 10px;
  font-size: 11px;
  color: #fff;
  background: #0B535E;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  white-space: nowrap;
  pointer-events: none;
  z-index: 100;
  opacity: 0;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.kb-live-bubble::before {
  content: "";
  position: absolute;
  bottom: 100%;
  left: 50%;
  margin-left: -6px;
  border: 6px solid transparent;
  border-bottom-color: #0B535E;
}

.kb-live-bubble::after {
  content: "";
  position: absolute;
  bottom: 100%;
  left: 50%;
  margin-left: -7px;
  border: 7px solid transparent;
  border-bottom-color: rgba(0, 0, 0, 0.15);
}

.kb-live-box:hover .kb-live-bubble {
  opacity: 1;
  transform: translateX(-50%) translateY(8px);
}

.kb-live-box.alarm-off {
  opacity: 0.85;
}

.kb-live-box {
  position: relative;
  background: radial-gradient(
    circle at 30% 0,
    rgba(255, 255, 255, 0.2),
    rgba(255, 255, 255, 0.06)
  );
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  padding: 6px 14px 8px;
  text-align: center;
  min-width: 120px;
}

.kb-live-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.kb-live-status .kb-live-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.9);
}

.kb-live-status .kb-live-sep {
  color: rgba(255, 255, 255, 0.5);
  font-size: 10px;
  line-height: 1;
}

.kb-live-status #chzzk-live-text {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: color 0.2s ease;
}

.kb-live-status #chzzk-live-text.is-on {
  color: #22c55e;
  font-size: 20px;
  font-weight: 800;
}

.kb-live-status #chzzk-live-text.is-off {
  color: rgba(255, 255, 255, 0.5);
}

.kb-live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

.kb-live-dot.on {
  background: #22c55e;
  box-shadow: 0 0 6px rgba(34, 197, 94, 0.9);
  animation: kb-live-pulse 1.2s ease-in-out infinite;
}

.kb-live-dot.off {
  background: #6b7280;
}

@keyframes kb-live-pulse {
  0%, 100% {
    opacity: 0.6;
    box-shadow: 0 0 4px rgba(34, 197, 94, 0.5);
  }
  50% {
    opacity: 1;
    box-shadow: 0 0 12px rgba(34, 197, 94, 1),
      0 0 20px rgba(34, 197, 94, 0.6);
  }
}

/* Banner */
.kb-banner {
  padding: 14px 24px;
  background: linear-gradient(
    90deg,
    #17575E 0%,
    #17575E 30%,
    #16575E 65%,
    #16575E 90%
  );
  color: #f5f9ff;
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.kb-banner-pill {
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  font-size: 11px;
  opacity: 0.9;
}

.kb-notice-trigger {
  cursor: pointer;
}

.kb-notice-trigger:hover {
  opacity: 0.95;
}

/* Notice modal */
.kb-notice-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s, visibility 0.25s;
  padding: 16px;
  box-sizing: border-box;
}

.kb-notice-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.kb-notice-box {
  background: #0B5860;
  border-radius: 12px;
  width: 90%;
  max-width: 480px;
  max-height: 80vh;
  min-width: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}

.kb-notice-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.kb-notice-title {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: #ffffff;
}

.kb-notice-close {
  width: 32px;
  height: 32px;
  border: none;
  background: none;
  font-size: 24px;
  color: rgba(255, 255, 255, 0.9);
  cursor: pointer;
  line-height: 1;
  padding: 0;
}

.kb-notice-close:hover {
  color: #ffffff;
}

.kb-notice-list-area {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.kb-notice-list {
  flex: 1;
  overflow-y: auto;
  padding: 12px;
}
.kb-notice-pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 12px 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  justify-content: center;
}
.kb-notice-page-num {
  min-width: 32px;
  height: 32px;
  padding: 0 10px;
  font-size: 13px;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}
.kb-notice-page-num:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.6);
}
.kb-notice-page-num.is-current {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.8);
}

.kb-notice-item {
  padding: 12px 14px;
  border-radius: 8px;
  cursor: pointer;
  margin-bottom: 6px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: background 0.2s;
}

.kb-notice-item:hover {
  background: rgba(255, 255, 255, 0.1);
}

.kb-notice-item-title {
  font-size: 13px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 4px;
}

.kb-notice-item-date {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.85);
}

.kb-notice-view {
  flex: 1;
  overflow-y: auto;
  padding: 16px 20px;
}

.kb-notice-view-title {
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 600;
  color: #ffffff;
}

.kb-notice-view-date {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 12px;
}

.kb-notice-view-content {
  font-size: 13px;
  line-height: 1.6;
  color: #ffffff;
  white-space: pre-wrap;
}
.kb-notice-view-content img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 8px 0;
  border-radius: 8px;
}

.kb-notice-back {
  margin-top: 16px;
  padding: 8px 14px;
  font-size: 12px;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  border-radius: 6px;
  cursor: pointer;
  color: #ffffff;
}

.kb-notice-back:hover {
  background: rgba(255, 255, 255, 0.3);
}

.kb-notice-form {
  padding: 16px 20px;
  border-top: 1px solid #e5e7eb;
}

.kb-notice-input {
  width: 100%;
  padding: 10px 12px;
  font-size: 13px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  margin-bottom: 8px;
  box-sizing: border-box;
}

.kb-notice-textarea {
  width: 100%;
  min-height: 80px;
  padding: 10px 12px;
  font-size: 13px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  margin-bottom: 10px;
  resize: vertical;
  box-sizing: border-box;
}

.kb-notice-submit {
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 600;
  background: #274b50;
  color: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}

.kb-notice-submit:hover {
  background: #2b5c62;
}

/* Admin login modal */
.kb-admin-login-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10002;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s, visibility 0.2s;
}
.kb-admin-login-overlay.is-open {
  opacity: 1;
  visibility: visible;
}
.kb-admin-login-box {
  background: #fff;
  padding: 32px;
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15);
  width: 100%;
  max-width: 320px;
}
.kb-admin-login-title {
  margin: 0 0 24px;
  font-size: 18px;
  font-weight: 600;
  color: #111;
  text-align: center;
}
.kb-admin-login-form {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.kb-admin-login-input {
  width: 100%;
  padding: 12px 14px;
  font-size: 14px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  margin-bottom: 16px;
  box-sizing: border-box;
}
.kb-admin-login-input:focus {
  outline: none;
  border-color: #274b50;
}
.kb-admin-login-remember {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  font-size: 13px;
  color: #374151;
  cursor: pointer;
}
.kb-admin-login-remember input {
  width: 16px;
  height: 16px;
  cursor: pointer;
}
.kb-admin-login-btn {
  width: 100%;
  padding: 12px;
  font-size: 14px;
  font-weight: 600;
  background: #274b50;
  color: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s;
}
.kb-admin-login-btn:hover {
  background: #2b5c62;
}
.kb-admin-login-err {
  margin: 12px 0 0;
  padding: 10px 14px;
  background: #fee2e2;
  color: #991b1b;
  font-size: 13px;
  border-radius: 8px;
  display: none;
}

/* Admin mark (in notice modal) */
.kb-admin-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  margin-left: 6px;
  padding: 0;
  vertical-align: middle;
  background: rgba(255, 255, 255, 0.25);
  color: #ffffff;
  font-size: 14px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.kb-admin-mark:hover {
  background: rgba(255, 255, 255, 0.4);
  color: #ffffff;
}

/* Media / Carousel */
.kb-media {
  position: relative;
  min-height: 400px;
  height: 400px;
  background: radial-gradient(circle at 20% 0%, #246871, #246871);
  padding: 24px 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: background 0.5s ease, min-height 0.55s ease, height 0.55s ease;
}

.kb-media-carousel {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  width: 100%;
  max-width: 740px;
  margin: 0 auto;
  position: relative;
}

.kb-media-nav {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: transparent;
  color: rgba(255, 255, 255, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
  z-index: 2;
}

.kb-media-nav:hover:not(:disabled) {
  background: #fff;
  color: #374151;
  border-color: #fff;
}

.kb-media-nav:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.kb-media-nav-arrow {
  font-size: 24px;
  font-weight: 300;
  line-height: 1;
}

.kb-media-viewport {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  position: relative;
  padding: 0 4px;
}

.kb-media-indicators {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-bottom: 12px;
}

.kb-media-dot {
  width: 24px;
  height: 4px;
  border-radius: 2px;
  border: none;
  padding: 0;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: background 0.2s;
}

.kb-media-dot:hover {
  background: rgba(255, 255, 255, 0.5);
}

.kb-media-dot.is-active {
  background: #fff;
}

.kb-media-dot-skeleton {
  background: rgba(255, 255, 255, 0.25);
  cursor: default;
}

.kb-media-track {
  display: flex;
  gap: 20px;
  transition: transform 0.3s ease;
  will-change: transform;
}

.kb-media-slide {
  flex: 0 0 374px;
  width: 374px;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  display: block;
  background: radial-gradient(circle at 20% 0%, #246871, #246871);
}

.kb-media-slide-thumb {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.kb-media-slide-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.kb-media-slide-play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.65);
  border: 2px solid rgba(255, 255, 255, 0.85);
  z-index: 1;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.kb-media-slide-play::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-40%, -50%);
  border-width: 12px 0 12px 20px;
  border-style: solid;
  border-color: transparent transparent transparent #fff;
}

.kb-media-slide:hover .kb-media-slide-play {
  background: rgba(220, 38, 38, 0.85);
  border-color: #fff;
}

.kb-media-slide-iframe {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

.kb-media-skeleton {
  background: radial-gradient(circle at 20% 0%, #246871, #246871);
  background-size: 200% 100%;
  animation: kb-skeleton-shimmer 1.2s ease-in-out infinite;
}

@keyframes kb-skeleton-shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.kb-media-title-wrap {
  width: 100%;
  max-width: 740px;
  margin: 0 auto;
  margin-top: -10px;
  padding: 16px 24px 24px;
  text-align: center;
}

.kb-media-yt-label {
  display: inline-block;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: underline;
  margin-bottom: 16px;
}

.kb-media-yt-label:hover {
  color: #fff;
}

.kb-media-platform-youtube,
.kb-media-yt-label {
  color: #fff;
}
.kb-media-platform-youtube:hover,
.kb-media-yt-label:hover {
  color: rgba(255, 255, 255, 0.9);
}
.kb-media-platform-chzzk {
  color: #fff;
}
.kb-media-platform-chzzk:hover {
  color: rgba(255, 255, 255, 0.9);
}
.kb-media-platform-tiktok {
  color: rgba(255, 255, 255, 0.95);
}
.kb-media-platform-tiktok:hover {
  color: #fff;
}

.kb-media-title {
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  line-height: 1.2;
}

.kb-media-title-text {
  display: block;
  line-height: 1.2;
  white-space: pre-line;
}

.kb-media-meta {
  display: block;
  font-size: 12px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.2;
  margin-top: 10px;
}

/* 프로필 탭일 때 미디어 영역 최소 높이 확보 */
.kb-media.kb-media--profile {
  min-height: 400px;
  height: 400px;
  overflow: hidden;
}

/* 프로필 클릭 시 상단 프레임이 아래로 확장되어 하단 콘텐츠를 함께 밀어냄 */
.kb-media.kb-media--profile.kb-media--profile-expanded {
  min-height: 72vh;
  height: 72vh;
}
/* 프로필 탭 전용 패널 (400px 안에서 위아래 스크롤) */
.kb-profile-panel {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  height: 100%;
  /* padding: 20px 30px;    위/아래 20, 좌/우 30 */
  padding: 30px 30px 30px 30px;  /* 위 20, 오른 30, 아래 40, 왼 10 */
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, #16565E, #14737A, #1d565a );
  z-index: 2;
  box-sizing: border-box;
}
.kb-profile-panel-inner {
  flex: 1 1 0%;
  min-height: 0;
  max-height: 360px;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  touch-action: pan-y;
  padding-right: 0px;
  box-sizing: border-box;
  transition: max-height 0.55s ease;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.45) rgba(255, 255, 255, 0.12);
}

.kb-media.kb-media--profile.kb-media--profile-expanded .kb-profile-panel-inner {
  max-height: calc(72vh - 80px);
}
.kb-profile-panel-inner::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
.kb-profile-panel-inner::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.12);
  border-radius: 999px;
}
.kb-profile-panel-inner::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.45);
  border-radius: 999px;
}
.kb-profile-panel-inner::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.6);
}
/* 프로필 본문 타이포·섹션 스타일은 css/profile2.css 에 통합 (index 패널 삽입 시에도 동일 적용) */
.kb-profile-panel-source {
  margin-top: 20px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 11px;
}
.kb-profile-panel-source a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: underline;
}
.kb-profile-panel-source a:hover {
  color: #fff;
}

/* Body */
.kb-body {
  padding: 20px 24px 24px;
}

/* Profile */
.kb-profile {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  padding-bottom: 20px;
  border-bottom: 1px solid #e5e7eb;
}

.kb-profile-meta {
  font-size: 13px;
  line-height: 1.6;
  position: relative;
  z-index: 1;
}

.kb-meta-row {
  display: flex;
  margin-bottom: 2px;
}

.kb-meta-label {
  width: 64px;
  flex-shrink: 0;
  color: #6b7280;
}

.kb-meta-value {
  color: #111;
}

.kb-meta-value a {
  color: #2563eb;
}

.kb-pastel-rainbow {
  background: linear-gradient(
    90deg,
    #ffb3ba 0%,
    #ffdfba 18%,
    #ffffba 36%,
    #baffc9 54%,
    #bae1ff 72%,
    #e0c3fc 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: 13px;
  font-family: inherit;
}

.kb-profile-thumb {
  width: 70px;
  height: 100px;
  border-radius: 10px;
  background: linear-gradient(135deg, #ff8fa3, #7c3aed);
  overflow: hidden;
}

.kb-profile-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Profile card spread on hover - 70x100, stays in container */
.kb-profile {
  overflow: visible;
}

.kb-profile-thumb-wrap {
  position: relative;
  width: 70px;
  margin-left: auto;
  overflow: visible;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.kb-profile-thumb-wrap::before {
  content: "";
  position: absolute;
  top: 0;
  right: 70px;
  width: 0;
  height: 100px;
  transition: width 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  pointer-events: none;
}

.kb-profile-thumb-wrap:hover::before {
  width: 375px;
  pointer-events: auto;
}

.kb-profile-cards {
  position: relative;
  width: 70px;
  height: 100px;
}

.kb-profile-card {
  position: absolute;
  top: 0;
  right: 0;
  width: 70px;
  height: 100px;
  border-radius: 10px;
  overflow: hidden;
  background: transparent;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94), z-index 0.2s;
}

.kb-profile-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.kb-profile-card-like {
  font-size: 10px;
  font-weight: 600;
  color: #FF89A6;
}

.kb-profile-cards .kb-profile-card:nth-child(1) { z-index: 1; }
.kb-profile-cards .kb-profile-card:nth-child(2) { z-index: 2; }
.kb-profile-cards .kb-profile-card:nth-child(3) { z-index: 3; }
.kb-profile-cards .kb-profile-card:nth-child(4) { z-index: 4; }
.kb-profile-cards .kb-profile-card:nth-child(5) { z-index: 5; }
.kb-profile-cards .kb-profile-card:nth-child(6) { z-index: 6; }
.kb-heart-burst {
  position: absolute;
  top: 0;
  right: 0;
  width: 70px;
  height: 100px;
  pointer-events: none;
  overflow: visible;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 20;
}
.kb-heart-particle {
  position: absolute;
  font-size: 14px;
  color: #ff6b8a;
  text-shadow: 0 0 4px rgba(255, 107, 138, 0.8);
  animation: kb-heart-burst 0.8s ease-out forwards;
  opacity: 0;
}
@keyframes kb-heart-burst {
  0% {
    opacity: 1;
    transform: translate(0, 0) scale(0.5);
  }
  30% {
    opacity: 1;
    transform: var(--burst-mid);
  }
  100% {
    opacity: 0;
    transform: var(--burst-end);
  }
}

/* 70px 카드 + 5px 간격, 모두 보이게 나열 */
.kb-profile-thumb-wrap:hover .kb-profile-card:nth-child(1) {
  transform: translateX(-375px);
}
.kb-profile-thumb-wrap:hover .kb-profile-card:nth-child(2) {
  transform: translateX(-300px);
}
.kb-profile-thumb-wrap:hover .kb-profile-card:nth-child(3) {
  transform: translateX(-225px);
}
.kb-profile-thumb-wrap:hover .kb-profile-card:nth-child(4) {
  transform: translateX(-150px);
}
.kb-profile-thumb-wrap:hover .kb-profile-card:nth-child(5) {
  transform: translateX(-75px);
}
.kb-profile-thumb-wrap:hover .kb-profile-card:nth-child(6) {
  transform: translateX(0);
}

/* Profile lightbox */
.kb-profile-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0, 0, 0, 0.9);
  align-items: center;
  justify-content: center;
  padding: 20px;
  cursor: pointer;
}

.kb-profile-lightbox.is-open {
  display: flex;
}

.kb-profile-lightbox-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 100%;
  max-width: 420px;
  max-height: 80vh;
}

.kb-profile-lightbox-img-wrap {
  position: relative;
  display: inline-block;
}
.kb-profile-lightbox-heart-burst {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 10;
}
.kb-profile-lightbox-heart-burst .kb-heart-burst-origin {
  position: absolute;
  width: 0;
  height: 0;
  transform: translate(-50%, -50%);
  top: 0;
  left: 0;
}

.kb-profile-lightbox-actions {
  position: absolute;
  bottom: 16px;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px;
}
.kb-profile-lightbox-like {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border: none;
  background: rgba(255, 255, 255, 0.25);
  color: #fff;
  font-size: 16px;
  border-radius: 20px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.kb-profile-lightbox-like:hover {
  background: rgba(255, 147, 188);
}
.kb-profile-lightbox-like.is-liked {
  color: #ffffff;
}
.kb-profile-lightbox-like.is-liked .kb-profile-lightbox-like-icon {
  color: #ff6b9d;
}
.kb-profile-lightbox-like-icon {
  font-size: 20px;
  line-height: 1;
}
.kb-profile-lightbox-like-count {
  font-size: 14px;
  font-weight: 600;
}
.kb-profile-lightbox-nav {
  display: flex;
  gap: 24px;
  align-items: center;
  margin-top: -2px;
}

.kb-profile-lightbox-prev,
.kb-profile-lightbox-next {
  width: 45px;
  height: 45px;
  border: none;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 32px;
  line-height: 1;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.kb-profile-lightbox-prev:hover,
.kb-profile-lightbox-next:hover {
  background: rgba(255, 255, 255, 0.25);
}

.kb-profile-lightbox-img {
  max-width: 600px;
  max-height: 600px;
  width: auto;
  height: auto;
  object-fit: contain;
  cursor: pointer;
}

@media (max-width: 767px) {
  .kb-profile-lightbox-content {
    max-width: 80vw;
    max-height: 70vh;
  }
  .kb-profile-lightbox-img-wrap {
    max-width: 80vw;
    max-height: 80vh;
  }
  .kb-profile-lightbox-img {
    max-width: 80vw;
    max-height: 80vh;
  }
}

@media (min-width: 768px) {
  .kb-profile-lightbox-content {
    max-width: 600px;
    max-height: 600px;
  }
  .kb-profile-lightbox-img {
    max-width: 600px;
    max-height: 600px;
  }
}

/* Profile slide panel (left) */
.kb-profile-slide {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  visibility: hidden;
  transition: visibility 0.25s ease;
}

.kb-profile-slide.is-open {
  pointer-events: auto;
  visibility: visible;
}

.kb-profile-slide-backdrop {
  position: absolute;
  inset: 0;
  background: transparent;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.kb-profile-slide.is-open .kb-profile-slide-backdrop {
  opacity: 1;
}

.kb-profile-slide-panel {
  position: absolute;
  left: 0;
  top: 10px;
  bottom: 0;
  width: min(320px, 85vw);
  max-width: 320px;
  background: transparent;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  overflow: hidden;
}

.kb-profile-slide.is-open .kb-profile-slide-panel {
  transform: translateX(0);
}

.kb-profile-slide-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border: none;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  border-radius: 50%;
  z-index: 2;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: background 0.2s;
}

.kb-profile-slide-close:hover {
  background: rgba(255, 255, 255, 0.2);
}

.kb-profile-slide-title {
  padding: 20px 16px 12px;
  font-size: 15px;
  font-weight: 600;
  color: #e2e8f0;
  flex-shrink: 0;
  display: none !important;
}

.kb-profile-slide-cards {
  flex: 1;
  overflow-y: auto;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  -ms-overflow-style: none; /* IE/Edge */
  scrollbar-width: none; /* Firefox */
}

.kb-profile-slide-cards::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none; /* Chrome/Safari */
}

.kb-profile-slide-card {
  flex-shrink: 0;
  cursor: pointer;
  border-radius: 0;
  overflow: hidden;
  background: transparent;
  border: none;
  transition: transform 0.2s;
}

.kb-profile-slide-card:hover {
  transform: scale(1.02);
}

.kb-profile-slide-card img {
  width: 100%;
  height: auto;
  display: block;
  vertical-align: top;
}

.kb-profile-slide-card-count {
  display: block;
  width: 100%;
  box-sizing: border-box;
  padding: 10px 12px;
  font-size: 14px;
  color: #FF89A6;
  text-align: center;
  background: #ffffff;
}

/* Sites */
.kb-section-title {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-top: 20px;
  margin-bottom: 10px;
  color: #374151;
}

.kb-sites {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  font-size: 13px;
  align-items: center;
}

.kb-site-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.kb-site-pill .kb-site-icon {
  display: inline-block;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 50%;
  margin-right: 4px;
}

.kb-site-pill .kb-site-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.kb-site-pill .kb-site-icon:has(.kb-site-icon--instagram) {
  border-radius: 5px;
}

/* Note */
.kb-note {
  font-size: 12px;
  color: #9ca3af;
  margin-top: 12px;
  line-height: 1.5;
}

.kb-note-inquiry {
  font-size: 12px;
  color: #9ca3af;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  text-decoration: underline;
  font-family: inherit;
}

.kb-note-inquiry:hover {
  color: #0b5e64;
}

/* Works tabs */
.kb-works-tabs {
  display: flex;
  gap: 12px;
  font-size: 13px;
  margin-top: 24px;
  margin-bottom: 12px;
}

.kb-works-tab {
  position: relative;
  padding-bottom: 6px;
  cursor: pointer;
  color: #6b7280;
  text-decoration: none;
  transition: color 0.15s ease;
}

.kb-works-tab::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  border-radius: 999px;
  background-color: #03c75a;
  transform: scaleX(0.4);
  transform-origin: left;
  opacity: 0;
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.kb-works-tab.is-active {
  font-weight: 600;
  color: #111827;
}

.kb-works-tab.is-active::after {
  opacity: 1;
  transform: scaleX(0.6);
}

.kb-works-tab:hover {
  color: #111827;
}

.kb-works-tab:hover::after {
  opacity: 1;
}

/* Tracks */
.kb-tracks {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(160px, 1fr);
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 6px;
}

.kb-track-card {
  background-color: #f9fafb;
  border-radius: 12px;
  padding: 10px 10px 12px;
  border: 1px solid #e5e7eb;
}

.kb-track-link {
  color: inherit;
  text-decoration: none;
  display: block;
}

.kb-track-thumb {
  width: 100%;
  border-radius: 10px;
  aspect-ratio: 1 / 1;
  background: linear-gradient(135deg, #1e293b, #0ea5e9);
  margin-bottom: 8px;
  position: relative;
  overflow: hidden;
}

.kb-track-thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
  z-index: 0;
}

.kb-track-thumb::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  border: 2px solid rgba(255, 255, 255, 0.7);
  z-index: 1;
}

.kb-track-thumb.is-playing::after {
  display: none;
}

.kb-track-iframe {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 10px;
}

.kb-track-badge {
  font-size: 10px;
  font-weight: 500;
  color: #6b7280;
}

.kb-track-title {
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 2px;
}

.kb-track-meta {
  font-size: 10px;
  color: #6b7280;
  line-height: 1.5;
}

/* Inquiry modal */
.kb-inquiry-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s, visibility 0.25s;
}

.kb-inquiry-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

/* 자동 닫힘 시 가벼운 모래 흩날림 느낌 */
.kb-inquiry-overlay.kb-fade-out {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0) 100%);
  opacity: 0;
}

.kb-inquiry-box {
  background: #025B58;
  color: #fff;
  border-radius: 12px;
  padding: 24px 32px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
  width: auto;
  max-width: 90%;
  max-width: 400px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  overflow: hidden;
  opacity: 1;
  transform: translateY(0) scale(1);
  transition: opacity 0.45s ease, transform 0.45s ease, filter 0.45s ease;
}

.kb-inquiry-overlay.kb-fade-out .kb-inquiry-box {
  animation: kb-dust-box 0.62s ease forwards;
}

.kb-inquiry-overlay.kb-fade-out .kb-inquiry-box::after {
  content: "";
  position: absolute;
  inset: -8px;
  pointer-events: none;
  background:
    radial-gradient(circle at 20% 40%, rgba(255, 255, 255, 0.55) 0 1px, transparent 1.5px),
    radial-gradient(circle at 34% 62%, rgba(255, 255, 255, 0.45) 0 1px, transparent 1.5px),
    radial-gradient(circle at 48% 35%, rgba(255, 255, 255, 0.5) 0 1.2px, transparent 1.8px),
    radial-gradient(circle at 58% 58%, rgba(255, 255, 255, 0.42) 0 1px, transparent 1.5px),
    radial-gradient(circle at 72% 42%, rgba(255, 255, 255, 0.5) 0 1.1px, transparent 1.7px),
    radial-gradient(circle at 82% 66%, rgba(255, 255, 255, 0.4) 0 1px, transparent 1.5px);
  opacity: 0;
  animation: kb-dust-particles 0.62s ease forwards;
}

@keyframes kb-dust-box {
  0% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0) saturate(1);
    clip-path: inset(0 0 0 0 round 12px);
  }
  45% {
    opacity: 0.78;
    transform: translateY(-4px) scale(0.992);
    filter: blur(0.6px) saturate(0.95);
  }
  100% {
    opacity: 0;
    transform: translateY(-10px) scale(0.985);
    filter: blur(2.2px) saturate(0.8);
    clip-path: inset(0 36% 0 0 round 12px);
  }
}

@keyframes kb-dust-particles {
  0% {
    opacity: 0;
    transform: translateX(0) translateY(0);
  }
  35% {
    opacity: 0.75;
  }
  100% {
    opacity: 0;
    transform: translateX(22px) translateY(-6px);
  }
}

.kb-inquiry-text {
  color: #fff;
  margin: 0;
  text-align: center;
}

.kb-inquiry-line {
  display: block;
  text-align: center;
}

.kb-inquiry-line + .kb-inquiry-line {
  margin-top: 8px;
}

.kb-inquiry-title {
  margin: 0 0 20px;
  font-size: 16px;
  font-weight: 600;
  color: #111;
}

.kb-inquiry-form {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.kb-inquiry-label {
  font-size: 12px;
  color: #6b7280;
  margin-top: 8px;
}

.kb-inquiry-label:first-of-type {
  margin-top: 0;
}

.kb-inquiry-input {
  padding: 10px 12px;
  font-size: 14px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
}

.kb-inquiry-textarea {
  min-height: 100px;
  padding: 10px 12px;
  font-size: 14px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  resize: vertical;
}

.kb-inquiry-actions {
  display: flex;
  gap: 8px;
  margin-top: 16px;
}

.kb-inquiry-submit {
  padding: 10px 20px;
  border: none;
  border-radius: 8px;
  background: #0b5e64;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.kb-inquiry-submit:hover {
  background: #094a50;
}

.kb-inquiry-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.kb-inquiry-close {
  padding: 4px 12px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 6px;
  background: transparent;
  color: #fff;
  font-size: 11px;
  cursor: pointer;
  margin-top: 16px;
}

.kb-inquiry-close:hover {
  background: rgba(255, 255, 255, 0.15);
}

.kb-inquiry-msg {
  margin: 12px 0 0;
  font-size: 13px;
}

/* 프로필 본문 안 우측 스크롤 화살표 (마우스 오버 시 자동 스크롤, 위/아래로 움직이면 속도·위치 반영) */
.kb-profile-panel .kb-scroll-arrows--in-panel {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  z-index: 3;
  pointer-events: none;
}
.kb-profile-panel .kb-scroll-arrows--in-panel .kb-scroll-arrow {
  pointer-events: auto;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: rgba(11, 83, 88, 0.9);
  color: #fff;
  font-size: 14px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}
.kb-profile-panel .kb-scroll-arrows--in-panel .kb-scroll-arrow:hover {
  background: rgba(11, 83, 88, 1);
  border-color: #fff;
  transform: scale(1.08);
}
.kb-profile-panel .kb-scroll-arrows--in-panel .kb-scroll-arrow:active {
  transform: scale(0.98);
}

/* 프로필 패널 하단 스크롤 화살표 (위/아래) */
.kb-profile-panel .kb-profile-scroll-hint {
  display: none;
  flex-shrink: 0;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 10px 0 6px;
  pointer-events: none;
}
.kb-profile-panel .kb-profile-scroll-hint.is-visible {
  display: flex;
}
.kb-profile-panel .kb-profile-scroll-arrow {
  pointer-events: auto;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: rgba(11, 83, 88, 0.9);
  color: #fff;
  font-size: 18px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}
.kb-profile-panel .kb-profile-scroll-arrow:hover {
  background: rgba(11, 83, 88, 1);
  border-color: #fff;
  transform: scale(1.08);
}
.kb-profile-panel .kb-profile-scroll-arrow:active {
  transform: scale(0.98);
}
.kb-profile-panel .kb-profile-scroll-arrow-icon {
  display: block;
  width: 12px;
  height: 12px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  box-sizing: border-box;
}
.kb-profile-scroll-arrow--up .kb-profile-scroll-arrow-icon {
  transform: rotate(-135deg);
  margin-bottom: 2px;
}
.kb-profile-scroll-arrow--down .kb-profile-scroll-arrow-icon {
  transform: rotate(45deg);
  margin-top: 2px;
}

/* Media query */
@media (max-width: 640px) {
  .page {
    margin: 16px auto 32px;
  }
  .kb-header {
    padding: 16px 16px 4px 16px;
    flex-wrap: wrap;
  }
  .kb-banner {
    padding: 8px 16px 12px 16px;
  }
  .kb-media {
    padding: 20px 16px 16px 16px;
  }
  .kb-media-carousel {
    max-width: 100%;
  }
  .kb-media-viewport {
    padding: 0 4px;
  }
  .kb-media-slide {
    flex: 0 0 294px;
    width: 294px;
  }
  .kb-media-nav {
    width: 38px;
    height: 38px;
  }
  .kb-media-nav-arrow {
    font-size: 20px;
  }
  .kb-media-title-wrap {
    margin-top: 0;
    padding: 12px 16px 20px;
  }
  .kb-media-title {
    font-size: 14px;
  }
  .kb-body {
    padding: 16px;
  }
  .kb-profile {
    grid-template-columns: 1fr auto;
    grid-template-rows: auto;
    align-items: start;
  }
  .kb-profile-thumb,
  .kb-profile-thumb-wrap {
    justify-self: end;
    align-self: start;
  }
  .kb-notice-overlay {
    padding: 12px;
  }
  .kb-notice-box {
    width: 100%;
    max-height: 85vh;
  }
  .kb-notice-header {
    padding: 12px 16px;
  }
  .kb-notice-title {
    font-size: 14px;
  }
  .kb-notice-list {
    padding: 10px 12px;
  }
  .kb-notice-pagination {
    padding: 10px 12px;
  }
  .kb-notice-page-num {
    min-width: 28px;
    height: 28px;
    font-size: 12px;
  }
  .kb-notice-item {
    padding: 10px 12px;
  }
  .kb-notice-item-title {
    font-size: 12px;
  }
  .kb-notice-view {
    padding: 12px 16px;
  }
  .kb-notice-view-title {
    font-size: 14px;
  }
  .kb-notice-view-content {
    font-size: 12px;
  }
}
