/* gay2004.com 回家门户（v1.2 Phase 42）。墙面上一排蓝底白字搪瓷门牌：品牌名是街名，H 子域是下面那行拼音。
 * 只用系统黑体（CSP 不许外部字体），不做入场动画；唯一的视觉重点是门牌。 */
:root {
  color-scheme: light;
  --wall: #e9edf1;
  --plate: #1b4b8f;
  --plate-press: #163f7a;
  --plate-sub: #c8d6ea;
  --ink: #18212e;
  --muted: #556173;
  --paper: #ffffff;
  --rule: #c9d2dc;
  font-family: "PingFang SC", "Hiragino Sans GB", "Noto Sans CJK SC", "Source Han Sans SC", "Microsoft YaHei", sans-serif;
  background: var(--wall);
  color: var(--ink);
}
* { box-sizing: border-box; }
body { margin: 0; line-height: 1.75; }
main { max-width: 760px; margin: 0 auto; padding: 40px 20px 56px; }
[hidden] { display: none !important; }
a { color: var(--plate); text-underline-offset: 3px; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }

.masthead { margin: 0 0 28px; }
.masthead h1 { margin: 0; font-size: 34px; line-height: 1.25; font-weight: 800; letter-spacing: 0.06em; }
.masthead p { margin: 8px 0 0; color: var(--muted); font-size: 16px; }

/* 门牌：蓝底、白色内框线、圆角小，字重拉满，和街边门牌一个气质。 */
.plates { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.plate {
  position: relative; display: flex; flex-direction: column; justify-content: center; min-height: 104px;
  padding: 18px 16px; border-radius: 8px; background: var(--plate); color: #fff; text-decoration: none;
  box-shadow: 0 2px 0 var(--plate-press);
}
.plate::before { content: ""; position: absolute; inset: 6px; border: 2px solid #fff; border-radius: 4px; pointer-events: none; }
.plate:hover { background: var(--plate-press); }
.plate:active { transform: translateY(1px); box-shadow: none; }
.plate__name { font-size: 24px; line-height: 1.3; font-weight: 800; letter-spacing: 0.08em; overflow-wrap: anywhere; }
.plate__host { margin-top: 4px; font-size: 13px; line-height: 1.4; color: var(--plate-sub); }

.usage { margin: 36px 0 0; }
.usage h2, .notice h2 { margin: 0 0 8px; font-size: 18px; line-height: 1.4; font-weight: 700; }
.usage ol, .notice ol { margin: 0; padding-left: 1.4em; }
.usage li, .notice li { margin: 6px 0; }
.usage { color: var(--ink); font-size: 15px; }

/* 旧 VG 会员领回：墙上唯一一张白纸告示，只在本机检测到有效 VG 会员时出现。 */
.notice { margin: 0 0 28px; padding: 18px 18px 14px; background: var(--paper); border: 1px solid var(--rule); border-radius: 8px; font-size: 15px; }
.notice p { margin: 0 0 10px; }
.notice button {
  font: inherit; font-weight: 700; margin: 2px 0; padding: 10px 16px; border: 0; border-radius: 6px;
  background: var(--plate); color: #fff; cursor: pointer;
}
.notice button:hover { background: var(--plate-press); }
.notice__status { margin: 10px 0 0; color: var(--muted); font-size: 14px; min-height: 1em; }

.lost { padding-top: 12vh; }
.lost h1 { margin: 0 0 12px; font-size: 26px; line-height: 1.35; }
.lost p { margin: 0 0 10px; color: var(--muted); }

@media (min-width: 640px) {
  main { padding-top: 64px; }
  .masthead h1 { font-size: 40px; }
  .plates { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .plate { min-height: 116px; }
}
@media (prefers-reduced-motion: reduce) { .plate:active { transform: none; } }
