:root { --ink: #171717; --mute: #737373; --line: #ebebeb; --bg: #f7f7f7; --card: #fff; --accent: #d97757; font-family: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", sans-serif; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; }
* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
.layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); max-width: 1080px; margin: 0 auto; gap: 40px; padding: 0 24px; }
.side { position: sticky; top: 0; height: 100dvh; padding: 22px 0; overflow-y: auto; }
.brand { display: flex; align-items: center; gap: 9px; font-weight: 600; font-size: 17px; text-decoration: none; margin: 0 0 26px 8px; }
.mark { width: 18px; height: 18px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #f3b79d, var(--accent) 60%, #b5583b); box-shadow: 0 1px 3px #0002; }
#topics button { display: flex; width: 100%; justify-content: space-between; padding: 9px 12px; border-radius: 10px; font-size: 13.5px; text-align: left; color: #333; }
#topics button[aria-pressed="true"] { background: #fff; box-shadow: 0 1px 2px #0000000d, inset 0 0 0 1px #0000000a; font-weight: 500; }
#topics small { color: var(--mute); font-variant-numeric: tabular-nums; }
main { padding: 28px 0 80px; min-width: 0; }
.top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.top h1 { font-size: 30px; letter-spacing: -.8px; margin: 0; font-weight: 600; }
.top p { margin: 0; color: var(--mute); font-size: 13px; }
.chips { display: none; }
.day { font-size: 13px; color: var(--mute); margin: 26px 2px 10px; }
.card { background: var(--card); border-radius: 18px; padding: 18px 20px 16px; margin-bottom: 12px; box-shadow: 0 1px 2px #0000000a, inset 0 0 0 1px #0000000a; scroll-margin-top: 20px; }
.card:target { box-shadow: 0 0 0 2px var(--accent); }
.meta { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--mute); }
.tag { padding: 2px 8px; border-radius: 6px; background: #f2f2f2; color: #333; }
.status { padding: 2px 8px; border-radius: 6px; }
.status[data-s="Preview"] { background: #eaf2ff; color: #2563c9; }
.status[data-s="Published"] { background: #e9f7ee; color: #1f7a45; }
.status[data-s="Note"] { background: #fbf1ea; color: #a4532f; }
.status[data-s="Local"] { background: #f2f2f2; color: #555; }
.meta time { margin-left: auto; }
.card h2 { font-size: 19px; letter-spacing: -.35px; margin: 10px 0 6px; font-weight: 600; }
.card p { margin: 0; font-size: 14.5px; line-height: 21px; color: #3a3a3a; max-width: 680px; }
.shots { display: flex; gap: 10px; overflow-x: auto; margin: 14px -20px 2px; padding: 2px 20px 6px; scrollbar-width: none; }
.shots::-webkit-scrollbar { display: none; }
.shots button { flex: 0 0 auto; border-radius: 14px; overflow: hidden; box-shadow: inset 0 0 0 1px #0000000d; background: #f4f4f4; }
.shots img { display: block; height: 260px; width: auto; }
.shots img.sq { height: 120px; }
.links { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 12px; font-size: 13px; }
.links a, .links button { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: #0003; }
.lightbox { position: fixed; inset: 0; background: #000d; display: grid; place-items: center; z-index: 10; padding: 20px; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 100%; max-height: 92dvh; border-radius: 16px; }
.lightbox button { position: absolute; top: 14px; right: 18px; width: 44px; height: 44px; color: #fff; font-size: 30px; }
@media (max-width: 760px) {
  .layout { display: block; padding: 0; }
  .side { position: static; height: auto; padding: 18px 16px 0; }
  .side nav { display: none; }
  .brand { margin: 0; }
  main { padding: 12px 0 60px; }
  .top { padding: 0 16px; }
  .chips { display: flex; gap: 6px; overflow-x: auto; padding: 0 16px 4px; scrollbar-width: none; }
  .chips button { flex-shrink: 0; min-height: 36px; padding: 0 13px; border-radius: 18px; background: #ececec; font-size: 13px; }
  .chips button[aria-pressed="true"] { background: var(--ink); color: #fff; }
  .day { margin-left: 18px; }
  .card { border-radius: 0; margin-bottom: 8px; padding: 16px; }
  .shots { margin: 12px -16px 0; padding: 2px 16px 6px; }
  .shots img { height: 220px; }
}
