/* Static 关于/玩法 text on the public pages (platform/seo/build.mjs) and the
   standalone /about/ and 玩法 pages. Real, visible content: below the game on
   比个大小 and the home, below the fold of 挖冷门's home screen (hidden only while
   a round is running there). System fonts, no external assets. */
.site-about {
  position: relative; z-index: 15; box-sizing: border-box; margin: 0; padding: 28px 16px calc(32px + env(safe-area-inset-bottom));
  background: #140d09; color: #f4ead5; border-top: 3px solid #5a4330; text-align: left;
  font: 15px/1.75 system-ui, -apple-system, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
}
.site-about-in { max-width: 640px; margin: 0 auto; }
.site-about h1, .site-about h2 { margin: 0 0 12px; font-size: 20px; line-height: 1.4; letter-spacing: .02em; color: #f4c04e; }
.site-about h2.sub { margin-top: 26px; font-size: 17px; }
.site-about h3 { margin: 22px 0 6px; font-size: 15px; line-height: 1.5; color: #e9bc67; }
.site-about p, .site-about li, .site-about dd { color: #d8c9ae; }
.site-about p { margin: 0 0 12px; }
.site-about ol, .site-about ul { margin: 0 0 12px; padding-left: 1.4em; }
.site-about li { margin: 0 0 6px; }
.site-about dl { margin: 0 0 12px; }
.site-about dt { margin: 14px 0 2px; font-weight: 700; color: #f4ead5; }
.site-about dd { margin: 0; }
.site-about .site-en { font-size: 13px; line-height: 1.65; color: #a8977c; }
.site-about a { color: #e9bc67; text-underline-offset: 3px; }
.site-about a:focus-visible { outline: 2px solid #f4c04e; outline-offset: 2px; }
.site-about .site-links { margin-top: 18px; }
.site-about .site-credit { margin: 22px 0 0; padding-top: 12px; border-top: 1px dashed #5a4330; font-size: 12px; color: #a8977c; }
.site-about table { width: 100%; border-collapse: collapse; margin: 0 0 12px; font-size: 14px; }
.site-about th, .site-about td { padding: 6px 8px; border: 1px solid #3a2a1a; text-align: left; color: #d8c9ae; }
.site-about th { color: #f4ead5; background: #1c120c; }
.site-about .site-play { display: inline-block; margin: 6px 0 14px; padding: 10px 16px; color: #211408; background: #e9bc67; border: 2px solid #f4d396; font-weight: 800; text-decoration: none; box-shadow: 3px 3px 0 #6f4e23; }

/* 挖冷门: its screens are fixed layers, so the home screen scrolls to reveal the text
   below the fold; during a round the text is not shown and the page cannot scroll. */
html[data-about="rare-dig"] body.is-home { overflow-y: auto; }
html[data-about="rare-dig"] .site-about { margin-top: 100vh; margin-top: 100dvh; padding-top: calc(max(10px, env(safe-area-inset-top)) + 64px); }
html[data-about="rare-dig"] body:not(.is-home) .site-about { display: none; }
.about-cue {
  display: block; width: max-content; max-width: 100%; margin: 10px auto 0; padding: 4px 6px;
  font: 600 12px/1.4 ui-monospace, "SF Mono", Menlo, monospace; letter-spacing: .08em; color: #c2b293; text-decoration: none; text-shadow: 0 1px 0 #000;
}
.about-cue:hover { color: #f4c04e; }

/* Standalone /about/ and 玩法 pages. */
body.info-page { margin: 0; min-height: 100vh; background: #140d09; color: #f4ead5; }
.info-top {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; max-width: 672px; margin: 0 auto; padding: max(14px, env(safe-area-inset-top)) 16px 4px;
  font: 700 13px/1.4 ui-monospace, "SF Mono", Menlo, "PingFang SC", "Microsoft YaHei", monospace;
}
.info-top a { color: #e9bc67; text-decoration: none; }
.info-brand { letter-spacing: .14em; }
.info-nav { display: flex; flex-wrap: wrap; gap: 4px 14px; }
.info-nav a[aria-current="page"] { color: #f4ead5; }
.info-page .site-about { border-top: 0; padding-top: 12px; }
.info-page .crumbs { font-size: 12px; color: #a8977c; }
