/* Dplay 공통 스타일 */
* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Pretendard', 'Apple SD Gothic Neo', sans-serif;
  background: #f5f5f7;
  color: #0a0a0a;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

/* 모바일 화면 프레임 (데스크톱에서 가운데 정렬, 모바일은 풀스크린) */
.app-frame {
  max-width: 420px;
  min-height: 100vh;
  margin: 0 auto;
  background: #fff;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: 0 0 40px rgba(0,0,0,.06);
}

/* 상단 네비 */
.topnav {
  padding: 14px 20px;
  border-bottom: 0.5px solid #eee;
  font-size: 15px;
  font-weight: 600;
  color: #0a0a0a;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.topnav .back {
  font-size: 18px;
  cursor: pointer;
  color: #0a0a0a;
  text-decoration: none;
  width: 24px;
  display: inline-block;
}
.topnav .back:hover { color: #555; }

/* 본문 */
.body {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* 하단 네비 */
.bottomnav {
  margin-top: auto;
  border-top: 0.5px solid #eee;
  display: flex;
  flex-shrink: 0;
  background: #fff;
}
.bnav-item {
  flex: 1;
  text-align: center;
  padding: 12px 0 14px;
  font-size: 11px;
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}
.bnav-item.on { color: #0a0a0a; font-weight: 600; }
.bnav-item:hover { color: #555; }
.bnav-item.on:hover { color: #0a0a0a; }

/* 인풋 */
.input {
  width: 100%;
  height: 44px;
  border: 1px solid #e0e0e0;
  border-radius: 9px;
  padding: 0 14px;
  font-size: 14px;
  background: #fafafa;
  margin-bottom: 10px;
  font-family: inherit;
  color: #0a0a0a;
}
.input:focus { outline: none; border-color: #0a0a0a; background: #fff; }

/* 버튼 */
.btn {
  width: 100%;
  height: 46px;
  background: #0a0a0a;
  color: #fff;
  border: none;
  border-radius: 9px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  font-family: inherit;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
}
.btn:hover { background: #2a2a2a; }
.btn-ghost {
  width: 100%;
  height: 42px;
  background: transparent;
  color: #888;
  border: 1px solid #e0e0e0;
  border-radius: 9px;
  font-size: 13px;
  cursor: pointer;
  font-family: inherit;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
}
.btn-ghost:hover { background: #fafafa; color: #0a0a0a; }

.link {
  font-size: 12px;
  color: #888;
  text-align: center;
  margin-top: 12px;
  text-decoration: none;
  cursor: pointer;
  display: block;
}
.link:hover { color: #0a0a0a; }

/* 뱃지 */
.badge {
  display: inline-block;
  padding: 3px 9px;
  border-radius: 5px;
  font-size: 11px;
  font-weight: 600;
}
.badge-on { background: #E1F5EE; color: #085041; }
.badge-soft { background: #FAEEDA; color: #854F0B; }
.badge-mute { background: #f0f0f0; color: #666; }
