body {
  font-family: 'Noto Sans KR', sans-serif;
  background: #fdfdfd;
  color: #222;
  font-size: 16px;
  margin: 0;
  padding: 2em 1em 6em;
  line-height: 1.7;
}
.novel-container {
  max-width: 720px;
  margin: auto;
  padding: 0 1em;
}
h1 {
  text-align: center;
  margin-bottom: 1em;
}
.content {
  white-space: pre-wrap;
  word-wrap: break-word;
}
.fixed-toolbar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(255,255,255,0.95);
  border-top: 1px solid #ccc;
  padding: 8px 0;
  text-align: center;
  font-size: 14px;
  z-index: 999;
}
.fixed-toolbar button, .fixed-toolbar a {
  margin: 0 6px;
  padding: 6px 10px;
  font-size: 14px;
  background: #eee;
  border: 1px solid #ccc;
  border-radius: 4px;
  cursor: pointer;
  text-decoration: none;
  color: #000;
}
.fixed-toolbar button:hover, .fixed-toolbar a:hover {
  background: #ddd;
}

/* 상단 바 스타일 */
.hover-bar {
  position: fixed;
  left: 0;
  right: 0;
  height: 50px;
  background-color: #fff;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 0 20px;
  z-index: 1000;
  transition: top 0.3s ease, bottom 0.3s ease;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* 버튼 스타일 */
.custom-btn {
  background-color: #1E90FF;
  color: white;
  border: none;
  padding: 8px 14px;
  border-radius: 4px;
  cursor: pointer;
  font-family: inherit;
  font-size: 14px;
  line-height: 1.5;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  text-align: center;
  vertical-align: middle;
  white-space: nowrap;
}

.custom-btn:hover {
  background-color: #1976D2;
}

/* 로딩 오버레이 스타일 */
#loadingOverlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2000;
}

.spinner {
  border: 4px solid rgba(0, 0, 0, 0.1);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border-left: 4px solid #1E90FF;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* 컨텐츠 영역 스타일 */
.content {
  margin-top: 70px;
  line-height: 1.8;
  word-break: keep-all;
  overflow-wrap: break-word;
}
