/* daily.worldokay.com — shared styles */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 15px;
  line-height: 1.65;
  color: #1a1a1a;
  background: #fafafa;
}
header {
  background: #fff;
  border-bottom: 1px solid #eaeaea;
  padding: 16px 24px;
  position: sticky;
  top: 0;
  z-index: 10;
}
header h1 {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
}
header h1 small {
  font-size: 13px;
  color: #888;
  font-weight: 400;
  margin-left: 8px;
}
nav.tabs {
  background: #fff;
  border-bottom: 1px solid #eaeaea;
  display: flex;
  padding: 0 24px;
  position: sticky;
  top: 53px;
  z-index: 10;
}
.tab {
  background: none;
  border: none;
  padding: 12px 20px;
  font-size: 15px;
  cursor: pointer;
  color: #666;
  border-bottom: 2px solid transparent;
  font-family: inherit;
}
.tab:hover { color: #1a1a1a; }
.tab.active {
  color: #1a1a1a;
  border-bottom-color: #1a1a1a;
  font-weight: 600;
}
.panel { display: none; }
.panel.active { display: block; }
.panel iframe {
  width: 100%;
  border: none;
  display: block;
  min-height: calc(100vh - 100px);
}
.content {
  max-width: 880px;
  margin: 0 auto;
  padding: 24px;
}
.content h1, .content h2, .content h3 { margin-top: 1.5em; }
.content h1 { font-size: 24px; border-bottom: 1px solid #eaeaea; padding-bottom: 0.3em; }
.content h2 { font-size: 20px; }
.content h3 { font-size: 17px; }
.content code {
  background: #f0f0f0;
  padding: 2px 5px;
  border-radius: 3px;
  font-size: 0.9em;
}
.content pre {
  background: #f6f6f6;
  padding: 12px 16px;
  border-radius: 4px;
  overflow-x: auto;
}
.content blockquote {
  border-left: 3px solid #ddd;
  margin: 0;
  padding-left: 16px;
  color: #555;
}
.content a { color: #0366d6; text-decoration: none; }
.content a:hover { text-decoration: underline; }
.content table { border-collapse: collapse; margin: 1em 0; }
.content th, .content td { border: 1px solid #eaeaea; padding: 6px 12px; }
.content th { background: #f6f6f6; }
footer {
  text-align: center;
  color: #999;
  font-size: 13px;
  padding: 24px;
  border-top: 1px solid #eaeaea;
  background: #fff;
}
