/* 新系统补充样式（在 guide.css / style.css 之后加载） */
.unofficial { background: #fef3c7; color: #78350f; border-bottom: 1px solid #f59e0b; text-align: center; font-size: 13px; padding: 6px 12px; font-weight: 600; }
.hero .unofficial-tag { display: inline-block; margin-left: 8px; background: #f59e0b; color: #0b1f3a; border-radius: 4px; padding: 0 8px; font-size: 14px; vertical-align: middle; }
#msg { margin: 10px auto; max-width: 1000px; padding: 8px 12px; border-radius: 6px; background: #e3f8ff; color: #035388; }
#msg.error { background: #ffe3e3; color: #8a1c1c; }
.hidden { display: none !important; }
button { padding: 6px 12px; border: 1px solid #cbd2d9; border-radius: 6px; background: #fff; cursor: pointer; font-size: 14px; }
button.primary { background: #1a56db; color: #fff; border-color: #1a56db; }
button.big, a.btn.big { padding: 10px 22px; font-size: 15px; }
a.btn { display: inline-block; background: #1a56db; color: #fff; border-radius: 6px; padding: 6px 14px; text-decoration: none; font-weight: 600; }
a.btn.ghost { background: #fff; color: #1a56db; border: 1px solid #1a56db; }
.userbar { display: flex; align-items: center; gap: 10px; justify-content: flex-end; margin: 10px 0 0; color: #616e7c; font-size: 13px; }
.today-card { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; }
.today-card .qr { width: 220px; height: 220px; }
.today-card .info { flex: 1; min-width: 240px; }
.today-card .day { color: #1a56db; font-weight: 700; }
.today-card .title { font-size: 20px; font-weight: 700; margin: 4px 0 8px; }
.today-card .actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 10px; }
img.qr { display: block; object-fit: contain; background: #fff; border: 1px solid #e4e7eb; border-radius: 6px; }
.qr-empty { display: flex; align-items: center; justify-content: center; color: #9aa5b1; font-size: 13px; background: #f9fafb; border: 1px dashed #cbd2d9; border-radius: 6px; text-align: center; }
.today-card .qr-empty { width: 220px; height: 220px; }
.past { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.past .item { background: #fff; border: 1px solid #e4e7eb; border-top: 3px solid #1a56db; border-radius: 6px; padding: 10px 12px; font-size: 13px; }
.past .item.final { border-top-color: #ff8a4c; }
.past .item .d { color: #1a56db; font-weight: 700; }
.past .item .t { font-weight: 700; margin: 2px 0 8px; }
.past .item img.qr, .past .item .qr-empty { width: 160px; height: 160px; margin: 0 auto 8px; }
.past .item .links { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.none { color: #9aa5b1; }
/* 后台 */
.pw { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 10px; }
.pw .card { margin: 0; }
.pw .val { font: 700 24px/1.4 ui-monospace, Menlo, Consolas, monospace; letter-spacing: 1px; }
td input[type=url] { width: 100%; min-width: 220px; padding: 4px 6px; border: 1px solid #cbd2d9; border-radius: 4px; font: inherit; }
td img.qr { width: 72px; height: 72px; }
td .qr-empty { width: 72px; height: 72px; font-size: 11px; }
td.qrcell { white-space: nowrap; }
tr.today td { background: #eef4fd; }
footer.unofficial-foot { text-align: center; color: #616e7c; font-size: 13px; padding: 30px 20px 40px; }
.admin-nav { display: flex; gap: 4px; }
.admin-nav a { padding: 8px 14px; border-radius: 6px; text-decoration: none; color: #1f2933; font-size: 14px; }
.admin-nav a.active { background: #e3ecfa; color: #1a56db; font-weight: 600; }
.link-text { word-break: break-all; margin-top: 8px; }
h4 { font-size: 15px; margin: 14px 0 4px; }
