/* Inner pages. Homepage keeps its own document and does not load this file. */

body.site-page h1 {
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 600;
  line-height: 1.25;
  margin: 4px 0 10px;
}

body.site-page h2 {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 600;
  line-height: 1.3;
  margin: 0 0 10px;
}

body.site-page .page {
  padding-top: 22px;
  padding-bottom: 8px;
}

body.site-page .sec-head h1 {
  margin: 0;
  font-size: 28px;
}

body.site-page .column-lead,
body.site-page .muted,
body.site-page .tip {
  color: var(--muted);
}

body.site-page .column-lead {
  margin: 0 0 18px;
  font-size: 15px;
}

body.site-page .tip {
  margin: 8px 0 0;
  font-size: 13px;
  min-height: 1.4em;
}

body.site-page .desk a[aria-current="page"],
body.site-page .foot-links a[aria-current="page"] {
  color: var(--ink);
  font-weight: 600;
}

body.site-page [hidden] {
  display: none !important;
}

body.site-page .find,
body.site-page .find-solo {
  margin: 8px 0 22px;
}

body.site-page .find-solo {
  display: block;
}

body.site-page a.btn,
body.site-page button.btn,
body.site-page span.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  line-height: 1;
  font-weight: 600;
}

body.site-page .btn-small {
  height: 36px;
  padding: 0 12px;
  font-size: 14px;
}

body.site-page a.btn.btn-ghost,
body.site-page button.btn.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}

body.site-page button.btn.btn-danger {
  background: transparent;
  color: #8a3418;
  border: 1px solid #e4c7b8;
  height: 36px;
  padding: 0 12px;
  font-size: 14px;
}

body.site-page .panel .actions,
body.site-page .auth-card .actions,
body.site-page .copy-actions,
body.site-page .mine-del {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 14px 0 0;
}

body.site-page .alert {
  margin: 0 0 16px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
  font-size: 14px;
}

body.site-page .alert.ok {
  color: #245c32;
  border-color: #c9ddc6;
  background: #f4f8f2;
}

body.site-page .alert.error,
body.site-page .copy-warn {
  color: #8a3418;
}

body.site-page .alert.error {
  border-color: #e4c7b8;
  background: #fff7f3;
}

body.site-page .crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px 16px;
  margin: 0 0 12px;
  font-size: 14px;
}

body.site-page .crumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  min-width: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

body.site-page .crumbs li + li::before {
  content: "/";
  margin: 0 8px;
  color: var(--muted);
}

body.site-page .crumbs a,
body.site-page .crumbs-side,
body.site-page .crumb a {
  color: inherit;
  text-decoration: none;
}

body.site-page .crumbs [aria-current="page"],
body.site-page .crumb {
  color: var(--muted);
}

body.site-page .crumb {
  margin: 0 0 14px;
  font-size: 14px;
}

body.site-page .pager {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin: 28px 0 8px;
}

body.site-page .pager a,
body.site-page .pager span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  text-decoration: none;
  font-size: 14px;
}

body.site-page .pager .on {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

body.site-page .pager .is-off {
  opacity: 0.38;
}

body.site-page .pager .pager-gap {
  min-width: 24px;
  padding: 0;
  border: 0;
  background: transparent;
}

body.site-page .poster-board {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 12px;
  margin: 8px 0 28px;
}

body.site-page .poster-board .shot {
  flex: none;
  max-width: none;
  width: auto;
}

body.site-page .shot-blurb {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

body.site-page .image-cat {
  margin: 28px 0 12px;
  font-size: 26px;
}

body.site-page .panel {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px 16px;
  margin-bottom: 14px;
}

body.site-page .panel h2 {
  font-size: 22px;
}

body.site-page .article.panel {
  background: transparent;
  border: 0;
  padding: 0;
  border-radius: 0;
}

body.site-page .article h1 {
  font-size: 32px;
  line-height: 1.35;
}

body.site-page .article .meta,
body.site-page .card .meta {
  color: var(--muted);
  font-size: 13px;
}

body.site-page .article .meta {
  margin-bottom: 18px;
}

body.site-page .article .body {
  font-size: 17px;
  line-height: 1.8;
  white-space: pre-wrap;
}

body.site-page .article .body.rich {
  white-space: normal;
}

body.site-page .article .body.rich p {
  margin: 0 0 0.9em;
}

body.site-page .article .body.rich h2 {
  font-size: 22px;
  margin: 1.15em 0 0.4em;
}

body.site-page .article .body.rich h3 {
  font-family: var(--sans);
  font-size: 18px;
  font-weight: 600;
  margin: 1em 0 0.35em;
}

body.site-page .article .body.rich ul,
body.site-page .article .body.rich ol {
  margin: 0 0 0.9em;
  padding-left: 1.4em;
}

body.site-page .article .body.rich blockquote {
  margin: 0 0 0.9em;
  padding: 0 0 0 14px;
  border-left: 3px solid var(--line);
  color: var(--muted);
}

body.site-page .article .body.rich a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

body.site-page .article .body.rich img,
body.site-page .article img.cover {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
}

body.site-page .article img.cover {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  margin-bottom: 16px;
}

body.site-page .article .cover + .cover {
  margin-top: 12px;
}

body.site-page .article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 4px;
}

body.site-page .article-tags a {
  color: var(--ink);
  text-decoration: none;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 14px;
  font-size: 14px;
}

body.site-page .article-tags a.on {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

body.site-page .related-block {
  margin-top: 28px;
}

body.site-page .related-kind {
  margin: 18px 0 10px;
  font-family: var(--sans);
  font-size: 15px;
  color: var(--muted);
  font-weight: 600;
}

body.site-page .related-block .grid {
  display: block;
}

body.site-page .card {
  display: block;
  padding: 14px 16px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  color: inherit;
  text-decoration: none;
}

body.site-page .card h3 {
  margin: 0 0 6px;
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 600;
}

body.site-page .card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

body.site-page .card .meta {
  margin-top: 8px;
}

body.site-page .related-block .card {
  background: transparent;
  border: 0;
  border-radius: 0;
  border-top: 1px solid var(--line);
  padding: 12px 0;
}

body.site-page .copy-list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

body.site-page .mine-item > a {
  display: block;
  color: inherit;
  text-decoration: none;
}

body.site-page label {
  display: block;
  margin: 14px 0 6px;
  font-size: 14px;
  font-weight: 600;
}

body.site-page input[type="text"],
body.site-page input[type="password"],
body.site-page input[type="email"],
body.site-page input[type="tel"],
body.site-page input[type="number"],
body.site-page input[type="search"],
body.site-page textarea,
body.site-page select {
  width: 100%;
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  font: inherit;
}

body.site-page textarea {
  min-height: 140px;
  resize: vertical;
  line-height: 1.55;
}

body.site-page input:focus,
body.site-page textarea:focus,
body.site-page select:focus {
  outline: none;
  border-color: var(--ink);
}

body.site-page .find-box input {
  width: auto;
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 0;
}

body.site-page .form-row {
  display: flex;
  gap: 10px;
  align-items: center;
}

body.site-page .form-row input {
  flex: 1 1 0;
  min-width: 0;
}

body.site-page .form-row .btn {
  flex: 0 0 auto;
}

body.site-page .tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

body.site-page .tabs a,
body.site-page .tabs button {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  text-decoration: none;
  font: inherit;
  cursor: pointer;
}

body.site-page .tabs a.on,
body.site-page .tabs button.on {
  color: var(--paper);
  background: var(--ink);
  border-color: var(--ink);
}

body.site-page .auth-card {
  width: min(480px, 100%);
  margin: 12px auto;
}

body.site-page .auth-card button.btn.wechat-go {
  width: 100%;
  background: #07c160;
  color: #fff;
  border: 0;
}

body.site-page .wechat-qr {
  display: flex;
  justify-content: center;
  min-height: 280px;
  margin-top: 8px;
}

body.site-page .wechat-qr iframe {
  max-width: 100%;
}

body.site-page table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

body.site-page th,
body.site-page td {
  text-align: left;
  padding: 10px 8px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

body.site-page th {
  color: var(--muted);
  font-weight: 600;
}

body.site-page .badge {
  display: inline-block;
  border-radius: 999px;
  padding: 2px 8px;
  font-size: 12px;
  border: 1px solid var(--line);
  color: var(--muted);
}

body.site-page .badge.published {
  color: #245c32;
  border-color: #c9ddc6;
}

body.site-page .coin-in {
  color: #245c32;
  font-weight: 600;
}

body.site-page .coin-out {
  color: #8a3418;
  font-weight: 600;
}

body.site-page .me-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

body.site-page .me-who {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

body.site-page .me-who b {
  display: block;
}

body.site-page .me-who span {
  color: var(--muted);
  font-size: 13px;
}

body.site-page .me-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid var(--line);
}

body.site-page .me-avatar.big {
  width: 84px;
  height: 84px;
  font-size: 32px;
}

body.site-page .me-avatar-letter {
  background: var(--ink);
  color: var(--paper);
  font-weight: 600;
  border: 0;
}

body.site-page .me-menu {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

body.site-page .me-menu a {
  color: var(--ink);
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 10px;
  min-height: 40px;
  display: flex;
  align-items: center;
}

body.site-page .me-menu a.on {
  background: var(--paper);
  font-weight: 600;
}

body.site-page .me-avatar-form {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

body.site-page .me-file {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

body.site-page .me-file input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

body.site-page .invite-code {
  margin: 0;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 28px;
  font-weight: 650;
  letter-spacing: 0.08em;
  word-break: break-all;
}

body.site-page .invite-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
}

body.site-page .invite-link {
  flex: 1 1 220px;
  margin: 0;
  word-break: break-all;
}

body.site-page .invite-qr {
  display: block;
  width: 220px;
  max-width: 100%;
  height: auto;
  margin-top: 12px;
  background: #fff;
  padding: 10px;
  border-radius: 12px;
  border: 1px solid var(--line);
}

body.site-page .invite-list {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
}

body.site-page .invite-list li {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  justify-content: space-between;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}

body.site-page .copy-form,
body.site-page .copy-piece,
body.site-page .copy-wait,
body.site-page .copy-result,
body.site-page .image-form {
  max-width: 860px;
}

body.site-page .copy-style-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  margin: 18px 0 10px;
}

body.site-page .style-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

body.site-page .style-chip {
  position: relative;
  margin: 0;
}

body.site-page .style-chip input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

body.site-page .style-chip span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--paper);
  cursor: pointer;
}

body.site-page .style-chip input:checked + span {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

body.site-page .style-chip input:focus-visible + span {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}

body.site-page .copy-form textarea,
body.site-page .image-form textarea {
  width: 100%;
  min-height: 160px;
}

body.site-page .copy-form select,
body.site-page .image-form input[type="text"],
body.site-page .image-form input[type="number"],
body.site-page .image-form select,
body.site-page .image-form textarea {
  width: min(520px, 100%);
}

body.site-page .copy-form select {
  height: 46px;
}

body.site-page .copy-wait,
body.site-page .copy-piece {
  margin-top: 22px;
  padding: 22px;
  border-radius: 16px;
  background: var(--paper);
  border: 1px solid var(--line);
}

body.site-page .copy-piece pre,
body.site-page .panel pre {
  white-space: pre-wrap;
  word-break: break-word;
  margin: 0 0 12px;
  font-family: inherit;
  line-height: 1.7;
}

body.site-page .copy-hint {
  font-size: 16px;
}

body.site-page .photo-pick {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 520px;
  min-height: 72px;
  margin-top: 4px;
  border-radius: 14px;
  border: 1px dashed var(--ink);
  background: var(--paper);
  overflow: hidden;
}

body.site-page .photo-pick-text {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  padding: 0 16px;
  background: var(--paper);
  color: var(--ink);
  font-size: 16px;
  font-weight: 600;
  text-align: center;
}

body.site-page .photo-pick input[type="file"] {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: transparent;
  opacity: 0.02;
  font-size: 48px;
  cursor: pointer;
}

body.site-page .photo-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

body.site-page .photo-preview img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 12px;
  background: var(--soft);
}

body.site-page .image-form input[type="color"] {
  width: 72px;
  height: 42px;
  padding: 4px;
}

body.site-page .image-form .image-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  max-width: 520px;
}

body.site-page .image-form label.image-check {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  font-weight: 500;
  cursor: pointer;
}

body.site-page .image-form label.image-check input {
  width: auto;
}

body.site-page .portrait-samples {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  max-width: 640px;
  margin: 8px 0 18px;
}

body.site-page .portrait-samples figure {
  margin: 0;
}

body.site-page .portrait-samples img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 14px;
  background: var(--soft);
}

body.site-page .portrait-samples figcaption {
  margin-top: 6px;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
}

body.site-page .image-examples {
  display: flex;
  gap: 10px;
  overflow: auto;
  margin: 8px 0 16px;
}

body.site-page .image-examples img {
  height: 160px;
  border-radius: 14px;
}

body.site-page .image-shots {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 12px;
}

body.site-page .image-shots img {
  width: 100%;
  border-radius: 14px;
}

body.site-page .field-box {
  margin-top: 12px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}

body.site-page .effect-note {
  margin: 16px 0 8px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #fff7f3;
  border: 1px solid #e4c7b8;
  color: #8a3418;
  line-height: 1.65;
}

body.site-page .script-meter {
  margin: 8px 0 0;
  font-size: 15px;
}

body.site-page .script-meter.is-near {
  color: #8a5a12;
}

body.site-page .script-meter.is-over {
  color: #8a3418;
}

body.site-page .speech-dialog {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(22, 21, 19, 0.46);
}

body.site-page .speech-dialog-card {
  width: min(460px, 100%);
  padding: 22px;
  border-radius: 18px;
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--line);
}

body.site-page .speech-dialog-card h2 {
  margin: 0 0 10px;
  font-size: 26px;
}

body.site-page .speech-dialog-card p {
  margin: 0 0 16px;
  line-height: 1.7;
}

body.site-page .video-stage {
  margin-top: 12px;
  max-width: 860px;
}

body.site-page .video-stage video {
  width: 100%;
  border-radius: 14px;
  background: #111;
}

body.site-page .about-story {
  padding: 8px 0 28px;
}

body.site-page .about-kicker {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.16em;
}

body.site-page .about-open h1 {
  max-width: 12em;
  margin: 0;
  font-size: 40px;
  line-height: 1.25;
}

body.site-page .about-beat {
  margin-top: 48px;
}

body.site-page .about-copy p {
  margin: 0 0 16px;
  font-size: 17px;
  line-height: 1.9;
}

body.site-page .about-copy h2 {
  margin: 28px 0 12px;
  font-size: 28px;
}

body.site-page .about-copy h2:first-child {
  margin-top: 0;
}

body.site-page .about-story figure {
  margin: 28px 0 0;
}

body.site-page .about-story img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;
}

body.site-page .about-wide {
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}

body.site-page .about-wide figcaption {
  max-width: 40em;
  margin: 12px auto 0;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

body.site-page .about-pair {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
}

body.site-page .about-pair figure {
  margin: 0;
}

body.site-page .about-portrait img {
  max-height: 540px;
  width: auto;
  max-width: 100%;
  margin: 0 auto;
}

body.site-page .about-story figure.about-vision {
  display: flex;
  justify-content: center;
  margin: 28px 0;
}

body.site-page .about-story figure.about-vision img {
  width: auto;
  max-width: min(440px, 78%);
  max-height: 68vh;
}

body.site-page .about-values {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
}

body.site-page .about-values li {
  margin: 0 0 16px;
}

body.site-page .about-values b {
  display: block;
  font-size: 17px;
}

body.site-page .about-values span {
  color: var(--muted);
}

body.site-page .school-sheet {
  max-width: 40em;
  padding: 12px 0 24px;
}

body.site-page .school-sheet h1 {
  margin: 0 0 18px;
  font-size: 40px;
}

body.site-page .school-sheet p {
  margin: 0 0 18px;
  font-size: 17px;
  line-height: 1.9;
}

body.site-page .school-scan {
  margin-top: 28px;
  text-align: center;
}

body.site-page .school-scan p {
  margin: 0 0 16px;
  font-family: var(--serif);
  font-size: 22px;
}

body.site-page .school-scan img {
  width: 220px;
  height: 220px;
  margin: 0 auto;
  border-radius: 16px;
  background: #fff;
}

body.site-page .ask {
  margin-top: 28px;
}

@media (min-width: 720px) {
  body.site-page .poster-board {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px 16px;
  }

  body.site-page h1,
  body.site-page .article h1,
  body.site-page .about-open h1,
  body.site-page .school-sheet h1 {
    font-size: 40px;
  }

  body.site-page .about-open h1 {
    font-size: 52px;
  }
}

@media (min-width: 960px) {
  body.site-page .sec-head h1 {
    font-size: 34px;
  }

  body.site-page .poster-board {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  body.site-page h1 {
    font-size: 40px;
  }
}

@media (max-width: 800px) {
  body.site-page .me-layout,
  body.site-page .about-pair,
  body.site-page .image-shots,
  body.site-page .portrait-samples {
    grid-template-columns: 1fr;
  }

  body.site-page .me-menu {
    flex-direction: row;
    flex-wrap: wrap;
  }

  body.site-page .about-open h1,
  body.site-page .school-sheet h1 {
    font-size: 34px;
  }
}

@media (hover: hover) {
  body.site-page .crumbs a:hover,
  body.site-page .crumb a:hover,
  body.site-page .me-menu a:hover,
  body.site-page .article-tags a:hover {
    color: var(--ink);
  }

  body.site-page .pager a:hover {
    border-color: var(--ink);
  }
}
