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

body {
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: #fff;
  color: #1a1a1a;
  min-height: 100vh;
  overflow-x: hidden;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid #ebebeb;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 50px;
}

.site-header-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: inherit;
}

.site-header-title {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.3px;
}

.site-header-right {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.font-size-controls {
  display: none;
  align-items: center;
  gap: 2px;
  padding-right: 12px;
}
body.in-article .font-size-controls { display: flex; }

.font-size-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: #bbb;
  padding: 4px 7px;
  border-radius: 6px;
  font-weight: 700;
  line-height: 1;
  transition: color 0.15s, background 0.15s;
}
.font-size-btn:hover { color: #555; background: #f0f0f0; }
.font-size-btn:disabled { opacity: 0.3; cursor: default; }
.font-size-btn:disabled:hover { color: #bbb; background: none; }
#font-smaller { font-size: 13px; }
#font-larger { font-size: 17px; }
