:root {
  --bg: #ffffff;
  --card: #12151a;
  --text: #e6edf3;
  --subtext: #9aa4b2;
  --brand: #2dd4bf;
  --brand-pressed: #14b8a6;
  --border: #1f242c;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* 已移除底部白色区域样式 */

.app-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: saturate(120%) blur(6px);
  background: color-mix(in oklab, var(--bg) 80%, black 20%);
  border-bottom: 1px solid var(--border);
}
.app-header h1 {
  margin: 0;
  padding: 14px 16px;
  font-size: 18px;
}

.app-main { padding: 0; }

.gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}

.thumb {
  width: 100%;
  height: auto;
  display: block;
  background: #0f172a;
}

.link { display: block; text-decoration: none; color: inherit; }

.card-body { display: none; }

.actions { display: flex; gap: 8px; }

.btn {
  -webkit-tap-highlight-color: transparent;
  flex: 1;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #0f1217;
  color: var(--text);
  font-size: 14px;
}
.btn:active { transform: translateY(1px); }

.btn-primary { background: var(--brand); color: #051b17; border: none; }
.btn-primary:active { background: var(--brand-pressed); }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}


