/* Shared editorial system for the reading and administration areas. */
:root {
  --ink: #111211;
  --paper: #f5f1e8;
  --paper-deep: #e8e1d3;
  --surface: #fffdf8;
  --line: rgba(17, 18, 17, .16);
  --muted: #67645e;
  --blue: #2447d8;
  --signal: #d5ff52;
  --danger: #b2261b;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  background-color: var(--paper);
  background-image:
    linear-gradient(rgba(36,71,216,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(36,71,216,.035) 1px, transparent 1px);
  background-size: 40px 40px;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.65;
}
a { color: inherit; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }

.site-frame { min-height: 100vh; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 0 max(20px, calc((100vw - 1180px) / 2));
  border-bottom: 1px solid var(--line);
  box-shadow: inset 0 -2px 0 rgba(36,71,216,.12);
  background: color-mix(in srgb, var(--paper) 94%, transparent);
  backdrop-filter: blur(12px);
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -.02em;
  text-decoration: none;
  white-space: nowrap;
}
.logo-mark {
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  background: var(--ink);
  color: var(--paper);
  font-size: 10px;
  letter-spacing: .04em;
}
.site-nav { display: flex; align-self: stretch; align-items: stretch; }
.site-nav a {
  display: grid;
  place-items: center;
  padding: 0 16px;
  border-left: 1px solid var(--line);
  color: var(--ink);
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
}
.site-nav a:last-child { border-right: 1px solid var(--line); }
.site-nav a:hover, .site-nav a:focus-visible { background: var(--ink); color: var(--paper); outline: none; }
.site-nav a.is-current { background: var(--blue); color: white; }
.site-nav .who { align-self: center; margin: 0 12px; color: var(--muted); font-size: 12px; white-space: nowrap; }

.wrap { width: min(920px, calc(100% - 40px)); margin: 0 auto; padding: 70px 0 56px; }
.page-head { margin-bottom: 38px; }
.page-kicker, .section-kicker {
  margin: 0 0 10px;
  color: var(--blue);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.page-head h1 { margin: 0; font-family: ui-serif, Georgia, "Noto Serif SC", "Songti SC", serif; font-size: clamp(42px, 7vw, 76px); line-height: .95; letter-spacing: -.075em; }
.page-head .subtitle { max-width: 560px; margin: 20px 0 0; color: var(--muted); font-size: 17px; line-height: 1.75; }

.search-box { display: flex; gap: 8px; align-items: center; margin: 0 0 30px; }
.search-box input, .title-input, .auth-box input, .user-create input, .user-create select, #content, .comment-form textarea {
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--surface);
  color: var(--ink);
  outline: none;
}
.search-box input { flex: 1; }
.search-box input:focus, .title-input:focus, .auth-box input:focus, .user-create input:focus, .user-create select:focus, #content:focus, .comment-form textarea:focus { border-color: var(--blue); box-shadow: 3px 3px 0 var(--blue); }

.article-list { border-top: 1px solid var(--line); }
.article-card { display: block; padding: 24px 0; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.article-card:hover, .article-card:focus-visible { outline: none; }
.article-card:hover h2, .article-card:focus-visible h2 { color: var(--blue); transform: translateX(7px); }
.article-card h2 { margin: 0; font-size: clamp(23px, 3.2vw, 34px); line-height: 1.16; letter-spacing: -.045em; transition: color .16s ease, transform .16s ease; }
.article-card .date { display: block; margin-top: 9px; color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.empty { padding: 38px; border: 1px solid var(--line); background: var(--paper-deep); color: var(--muted); text-align: center; }

.article-view { max-width: 760px; }
.article-view h1 { margin: 0; font-family: ui-serif, Georgia, "Noto Serif SC", "Songti SC", serif; font-size: clamp(34px, 5.4vw, 60px); line-height: 1.02; letter-spacing: -.065em; }
.article-view .meta { margin: 20px 0 34px; color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.article-body { font-family: ui-serif, Georgia, "Noto Serif SC", "Songti SC", "STSong", serif; font-size: 18px; line-height: 1.95; }
.article-body h1, .article-body h2, .article-body h3 { margin: 1.7em 0 .6em; font-family: Inter, ui-sans-serif, system-ui, sans-serif; line-height: 1.16; letter-spacing: -.04em; }
.article-body h1 { font-size: 32px; }
.article-body h2 { font-size: 26px; }
.article-body h3 { font-size: 21px; }
.article-body p { margin: 0 0 1.1em; }
.article-body ul, .article-body ol { padding-left: 1.35em; margin: 0 0 1.1em; }
.article-body blockquote { margin: 1.5em 0; padding: 4px 0 4px 18px; border-left: 3px solid var(--blue); color: var(--muted); }
.article-body img { display: block; max-width: 100%; margin: 1.6em auto; }
.article-body a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 3px; word-break: break-word; }
.article-body .article-img { margin: 1.5em 0; }
.article-body .article-img img { margin: 0; }
.back-link { margin-top: 42px; font-size: 14px; font-weight: 750; }
.back-link a { color: var(--blue); text-decoration: none; }
.gallery-title { margin-top: 2.2em; }
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; }
.gallery .gallery-img { width: 100%; max-width: none; margin: 0; }

.comments { max-width: 760px; margin-top: 64px; padding-top: 28px; border-top: 1px solid var(--line); }
.comments h2 { margin: 0 0 20px; font-size: 24px; letter-spacing: -.04em; }
.comment { padding: 18px 0; border-bottom: 1px solid var(--line); }
.comment-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 8px; }
.comment-meta strong { font-size: 14px; }
.comment-meta span { color: var(--muted); font-size: 12px; }
.comment-body { white-space: pre-wrap; word-break: break-word; }
.comment-form { display: flex; flex-direction: column; gap: 10px; margin-top: 24px; }
.comment-form textarea { min-height: 116px; resize: vertical; }
.inline-form { display: inline; }

.auth-box { max-width: 450px; margin: 30px auto; padding: 28px; border: 1px solid var(--line); background: var(--surface); }
.auth-box h1 { margin: 0 0 24px; font-size: 34px; letter-spacing: -.05em; }
.auth-box form { display: flex; flex-direction: column; gap: 15px; }
.auth-box label, .editor-layout form > label, .game-upload label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 700; }
.auth-box input { width: 100%; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid var(--ink);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
}
.btn:hover, .btn:focus-visible { background: var(--signal); color: var(--ink); outline: none; }
.btn.primary { background: var(--ink); color: var(--paper); }
.btn.primary:hover, .btn.primary:focus-visible { background: var(--blue); color: white; }
.btn.danger { border-color: var(--danger); color: var(--danger); }
.btn.danger:hover, .btn.danger:focus-visible { background: var(--danger); color: white; }
.btn.small { min-height: 31px; padding: 0 9px; font-size: 12px; }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.error, .ok { margin: 0 0 18px; padding: 12px 14px; border-left: 4px solid; font-size: 14px; }
.error { border-color: var(--danger); background: #f8e5e1; color: #751b14; }
.ok { border-color: #377229; background: #e3f0d9; color: #24561b; }
.hint { color: var(--muted); font-size: 13px; }

.admin-toolbar { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 38px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.admin-toolbar h1 { margin: 0; font-size: clamp(32px, 5vw, 50px); letter-spacing: -.065em; line-height: 1; }
.admin-toolbar .actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.admin-table { width: 100%; border-collapse: collapse; background: var(--surface); font-size: 14px; }
.admin-table th, .admin-table td { padding: 13px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.admin-table th { color: var(--muted); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.admin-table tr:hover td { background: #f0ece2; }
.admin-table a { color: var(--blue); }
.admin-table .ops { white-space: nowrap; }
.admin-table .ops .btn, .admin-table .ops form { margin: 0 4px 4px 0; }
.admin-table form { display: inline; }

.editor-layout { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 28px; }
.editor-box { margin-top: 16px; }
.editor-box .toolbar { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.editor-box .toolbar button { min-height: 33px; padding: 0 10px; border: 1px solid var(--line); background: transparent; color: var(--ink); font-size: 12px; font-weight: 750; }
.editor-box .toolbar button:hover, .editor-box .toolbar button:focus-visible { background: var(--ink); color: var(--paper); outline: none; }
.title-input, #content { width: 100%; }
#content { min-height: 390px; resize: vertical; line-height: 1.7; }
.editor-actions { display: flex; gap: 8px; margin-top: 12px; }
.editor-side { padding: 18px; background: var(--paper-deep); }
.editor-side h3, .preview-panel h3 { margin: 0 0 10px; font-size: 17px; letter-spacing: -.03em; }
.upload-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; }
.upload-row input[type=file] { width: 100%; }
.image-list { display: flex; flex-direction: column; gap: 8px; margin: 12px 0 0; padding: 0; list-style: none; }
.image-list li { padding: 10px; background: var(--surface); }
.image-list img { display: block; max-width: 100%; margin-bottom: 7px; }
.image-list code { font-size: 12px; color: var(--blue); }
.img-ops { display: flex; gap: 6px; margin-top: 8px; }
.preview-panel { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); }

.visibility-row { display: flex; flex-direction: column; gap: 8px; margin-top: 15px; }
.visibility-row .radio { display: flex; align-items: center; gap: 7px; font-size: 14px; }
.group-checks { display: flex; flex-wrap: wrap; gap: 8px 14px; padding-left: 4px; }
.group-checks .check { font-size: 13px; }
.group-checks input, .visibility-row input[type=radio] { accent-color: var(--blue); }
.user-create { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 28px; }
.user-create input, .user-create select { min-height: 40px; }
.game-upload { display: flex; flex-direction: column; gap: 12px; max-width: 680px; }
.dropzone { padding: 32px 18px; border: 1px dashed var(--ink); background: var(--paper-deep); text-align: center; }
.dropzone.drag { background: var(--signal); border-style: solid; }
.dropzone input[type=file] { display: none; }
.grp-edit { margin-top: 8px; }
.grp-edit summary { color: var(--blue); font-size: 12px; font-weight: 700; cursor: pointer; }
.grp-edit form { margin-top: 8px; padding: 10px; background: var(--paper-deep); }

.site-footer { display: grid; gap: 10px; width: min(920px, calc(100% - 40px)); margin: 0 auto; padding: 22px 0 36px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.site-footer .footer-note { display: flex; justify-content: space-between; gap: 20px; }
.record-link { justify-self: center; color: var(--muted); text-decoration: none; letter-spacing: .02em; }
.record-link:hover { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 760px) {
  .site-header { min-height: 110px; padding: 0; align-items: stretch; flex-direction: column; }
  .logo { min-height: 56px; padding: 0 14px; }
  .site-nav { min-height: 48px; width: 100%; }
  .site-nav a { flex: 1; padding: 0 8px; font-size: 13px; }
  .site-nav .who { display: none; }
  .wrap { width: min(100% - 28px, 920px); padding: 48px 0 40px; }
  .page-head { margin-bottom: 30px; }
  .search-box { align-items: stretch; flex-direction: column; }
  .admin-toolbar { flex-direction: column; }
  .admin-toolbar .actions { justify-content: flex-start; }
  .editor-layout { grid-template-columns: 1fr; }
  .editor-side { order: -1; }
  .site-footer { width: min(100% - 28px, 920px); }
  .site-footer .footer-note { flex-direction: column; }
  .admin-table { display: block; overflow-x: auto; white-space: nowrap; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .article-card h2 { transition: none; } }

/* =====================================================================
   视觉精修层 · 2026-09-05 —— 纹理 / 动效 / 微交互（仅叠加，不改布局与逻辑）
   ===================================================================== */
:root { --ease-out: cubic-bezier(.22, 1, .36, 1); }

body {
  background-image:
    linear-gradient(rgba(36,71,216,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(36,71,216,.035) 1px, transparent 1px),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='.045'/%3E%3C/svg%3E");
  background-size: 40px 40px, 40px 40px, 160px 160px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
::selection { background: var(--signal); color: var(--ink); }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--paper); }
::-webkit-scrollbar-thumb { background: #d9d3c5; border: 2px solid var(--paper); }
::-webkit-scrollbar-thumb:hover { background: var(--muted); }
h1, h2, h3 { text-wrap: balance; }

@keyframes rise-in {
  from { opacity: 0; translate: 0 22px; }
  to { opacity: 1; translate: 0 0; }
}
/* —— 加载入场（时间驱动） —— */
@media (prefers-reduced-motion: no-preference) {
  .page-kicker { animation: rise-in .6s var(--ease-out) both; }
  .page-head h1 { animation: rise-in .7s .07s var(--ease-out) both; }
  .page-head .subtitle { animation: rise-in .7s .14s var(--ease-out) both; }
  .search-box { animation: rise-in .7s .2s var(--ease-out) both; }
  .auth-box { animation: rise-in .7s .05s var(--ease-out) both; }
  .admin-toolbar { animation: rise-in .6s var(--ease-out) both; }
}
/* —— 滚动渐入（滚动驱动，渐进增强） —— */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .article-card, .empty {
      animation: rise-in auto linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 40%;
    }
  }
}

/* —— 导航与交互微动效 —— */
.site-nav a { transition: background-color .18s var(--ease-out), color .18s var(--ease-out); }
.logo-mark { transition: background-color .2s var(--ease-out), rotate .3s var(--ease-out); }
.logo:hover .logo-mark { background: var(--blue); rotate: -4deg; }
.search-box input { transition: border-color .18s var(--ease-out), box-shadow .18s var(--ease-out); }

.btn { transition: background-color .16s var(--ease-out), color .16s var(--ease-out), translate .16s var(--ease-out), box-shadow .16s var(--ease-out); }
.btn:hover, .btn:focus-visible { translate: -1px -1px; box-shadow: 3px 3px 0 var(--ink); }
.btn:active { translate: 0 0; box-shadow: 0 0 0 var(--ink); }
.btn.primary:hover, .btn.primary:focus-visible { box-shadow: 3px 3px 0 var(--signal); }
.btn[disabled] { translate: none; box-shadow: none; }

/* —— 文章列表：序号 + 悬停箭头 —— */
.article-list { counter-reset: entry; }
.article-card { position: relative; padding-right: 42px; }
.article-card::before {
  counter-increment: entry;
  content: counter(entry, decimal-leading-zero);
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .11em;
  font-variant-numeric: tabular-nums;
}
.article-card::after {
  content: '→';
  position: absolute;
  right: 8px;
  bottom: 26px;
  color: var(--blue);
  font-weight: 800;
  opacity: 0;
  translate: -8px 0;
  transition: opacity .18s var(--ease-out), translate .18s var(--ease-out);
}
.article-card:hover::after, .article-card:focus-visible::after { opacity: 1; translate: 0 0; }

.date, .article-view .meta, .comment-meta span { font-variant-numeric: tabular-nums; }
.article-body img { transition: translate .25s var(--ease-out); }
.article-body img:hover { translate: 0 -2px; }

/* —— 后台细节 —— */
.admin-table th, .admin-table td { transition: background-color .15s ease; }
.dropzone { transition: border-color .2s var(--ease-out), background-color .2s var(--ease-out); }
.grp-edit summary { transition: color .15s ease; }

/* —— 社区系统：等级 / 签到 / 反馈 —— */
.level-badge, .vip-badge {
  display: inline-flex;
  align-items: center;
  min-height: 20px;
  padding: 0 6px;
  border: 1px solid var(--blue);
  color: var(--blue) !important;
  font: 800 10px/1 ui-monospace, SFMono-Regular, Consolas, monospace !important;
  letter-spacing: .08em;
  white-space: nowrap;
}
.vip-badge { border-color: var(--ink); background: var(--signal); color: var(--ink) !important; }
.comment { position: relative; }
.comment::before { content: ''; position: absolute; left: -9px; top: 19px; width: 3px; height: 18px; background: var(--blue); opacity: .45; }
.credit-editor { display: grid !important; grid-template-columns: auto minmax(84px, 110px) auto auto; align-items: center; gap: 6px; white-space: nowrap; }
.credit-editor input[type=number] { width: 100%; min-height: 31px; padding: 4px 6px; border: 1px solid var(--line); background: var(--surface); }
.vip-switch { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 800; }
.vip-switch input { accent-color: var(--blue); }

.checkin-hero { display: flex; align-items: end; justify-content: space-between; gap: 28px; padding: 38px 0 30px; border-bottom: 1px solid var(--ink); }
.checkin-label { margin: 0 0 8px; color: var(--blue); font: 800 11px/1.4 ui-monospace, SFMono-Regular, Consolas, monospace; letter-spacing: .13em; }
.checkin-hero h1 { margin: 0; font-family: ui-serif, Georgia, "Noto Serif SC", "Songti SC", serif; font-size: clamp(48px, 8vw, 86px); line-height: .9; letter-spacing: -.075em; }
.checkin-hero p:last-child { max-width: 520px; margin: 20px 0 0; color: var(--muted); }
.level-seal { display: grid; place-items: center; flex: 0 0 126px; aspect-ratio: 1; border: 1px solid var(--ink); outline: 1px solid var(--ink); outline-offset: -8px; background: var(--signal); transform: rotate(2deg); }
.level-seal span { font: 800 10px/1 ui-monospace, SFMono-Regular, Consolas, monospace; letter-spacing: .13em; }
.level-seal strong { font-size: 55px; line-height: .8; letter-spacing: -.08em; }
.checkin-page > .ok, .checkin-page > .error { margin-top: 22px; }
.checkin-grid { display: grid; grid-template-columns: 1.35fr .65fr; gap: 18px; margin-top: 24px; }
.credit-card, .checkin-action { position: relative; min-height: 250px; padding: 25px; border: 1px solid var(--ink); background: var(--surface); }
.credit-card > span, .checkin-action > span { color: var(--blue); font: 800 10px/1.4 ui-monospace, SFMono-Regular, Consolas, monospace; letter-spacing: .12em; }
.credit-card > strong { display: block; margin: 25px 0 14px; font-size: clamp(64px, 10vw, 105px); line-height: .75; letter-spacing: -.08em; }
.credit-card > small { display: block; margin-top: 10px; color: var(--muted); }
.credit-card .vip-badge { position: absolute; top: 22px; right: 22px; }
.credit-track { height: 7px; overflow: hidden; background: var(--paper-deep); }
.credit-track i { display: block; height: 100%; background: var(--blue); }
.checkin-action { display: flex; align-items: stretch; flex-direction: column; justify-content: space-between; background: var(--ink); color: var(--paper); box-shadow: 7px 7px 0 var(--blue); }
.checkin-action > span { color: var(--signal); }
.checkin-action > strong { font-size: 64px; line-height: 1; letter-spacing: -.07em; }
.checkin-action .btn { border-color: var(--paper); color: var(--paper); }
.checkin-action .btn:not([disabled]):hover { border-color: var(--signal); color: var(--ink); }
.checkin-history { margin-top: 44px; }
.section-title { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; padding-bottom: 10px; border-bottom: 1px solid var(--ink); }
.section-title h2 { margin: 0; font-family: ui-serif, Georgia, "Noto Serif SC", "Songti SC", serif; font-size: 29px; }
.section-title span { color: var(--muted); font-size: 12px; }
.checkin-history ol { margin: 0; padding: 0; list-style: none; counter-reset: days; }
.checkin-history li { counter-increment: days; display: flex; justify-content: space-between; gap: 20px; padding: 13px 2px; border-bottom: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.checkin-history li::before { content: counter(days, decimal-leading-zero); color: var(--blue); font: 800 11px/1.7 ui-monospace, SFMono-Regular, Consolas, monospace; }
.checkin-history li time { margin-right: auto; }

.admin-stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--ink); border-left: 1px solid var(--ink); margin: -16px 0 30px; }
.admin-stats article { min-height: 125px; padding: 16px; border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink); background: var(--surface); }
.admin-stats article.has-alert { background: var(--signal); }
.admin-stats span { display: block; color: var(--muted); font: 800 10px/1.4 ui-monospace, SFMono-Regular, Consolas, monospace; letter-spacing: .08em; }
.admin-stats strong { display: block; margin-top: 21px; font-size: 38px; line-height: 1; letter-spacing: -.055em; }
.recent-checkins { margin: 0 0 30px; border-bottom: 1px solid var(--line); }
.recent-checkins summary { padding: 10px 0; color: var(--blue); font-size: 13px; font-weight: 800; cursor: pointer; }
.checkin-strip { display: flex; flex-wrap: wrap; gap: 7px; padding: 4px 0 15px; }
.checkin-strip span { padding: 6px 8px; background: var(--paper-deep); font-size: 11px; }

.feedback-inbox { display: grid; gap: 14px; }
.feedback-item { border: 1px solid var(--line); background: var(--surface); box-shadow: 4px 4px 0 var(--paper-deep); }
.feedback-item.is-new { border-color: var(--blue); box-shadow: 5px 5px 0 var(--blue); }
.feedback-item > header { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.feedback-item > header div { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.feedback-item > header time, .feedback-item > header small { color: var(--muted); font-size: 11px; }
.feedback-status { display: inline-flex; padding: 3px 6px; background: var(--paper-deep); color: var(--muted); font: 800 10px/1.2 ui-monospace, SFMono-Regular, Consolas, monospace; letter-spacing: .08em; }
.is-new .feedback-status { background: var(--blue); color: white; }
.feedback-content { padding: 22px 18px; white-space: normal; word-break: break-word; }
.feedback-contact { margin: 0; padding: 10px 18px; border-top: 1px dashed var(--line); color: var(--muted); font-size: 12px; }
.feedback-item > footer { display: flex; justify-content: space-between; gap: 10px; padding: 12px 18px; border-top: 1px solid var(--line); }

@media (max-width: 760px) {
  .checkin-hero { align-items: flex-start; flex-direction: column; }
  .level-seal { flex-basis: 104px; width: 104px; align-self: flex-end; margin-top: -34px; }
  .level-seal strong { font-size: 46px; }
  .checkin-grid { grid-template-columns: 1fr; }
  .admin-stats { grid-template-columns: repeat(2, 1fr); }
  .credit-editor { grid-template-columns: auto 92px auto auto; }
  .feedback-item > header, .feedback-item > footer { flex-direction: column; }
}
