/* Shared styles for the blog pages (Tailwind CDN handles the rest) */
body { margin: 0; font-family: Inter, system-ui, sans-serif; background: #0e0c2b; color: #fff; -webkit-font-smoothing: antialiased; }
.page-glow { background: radial-gradient(55% 40% at 15% 0%, rgba(122,92,255,.35), transparent 70%), radial-gradient(50% 40% at 90% 5%, rgba(59,139,255,.3), transparent 70%), #0e0c2b; }
/* Motion and phone basics (Emil Kowalski's rules): no tap flash, press feedback, mouse-only hover */
html { -webkit-tap-highlight-color: transparent; }
a, button { touch-action: manipulation; } button { -webkit-user-select: none; user-select: none; }
.btn-vivid { background: linear-gradient(135deg, #3b8bff 0%, #7a5cff 100%); box-shadow: 0 10px 28px -10px rgba(110,96,255,.85), inset 0 1px 0 rgba(255,255,255,.28); transition: filter .2s ease, transform 160ms cubic-bezier(0.23, 1, 0.32, 1); }
@media (hover: hover) and (pointer: fine) { .btn-vivid:hover { filter: brightness(1.12); } }
.btn-vivid:active, .store-badge:active, .tabs button:active { transform: scale(0.97); }
.store-badge, .tabs button { transition: transform 160ms cubic-bezier(0.23, 1, 0.32, 1), background-color .2s ease, color .2s ease; }

/* Cover art (no photos yet) */
.cover { display: grid; place-items: center; aspect-ratio: 16 / 10; border-radius: 20px; border: 1px solid rgba(255,255,255,.12); font-size: 72px; }
.cover-1 { background: linear-gradient(135deg, #3b8bff 0%, #7a5cff 60%, #a855f7 100%); }
.cover-2 { background: linear-gradient(135deg, #fde3b0, #f6b5c8 60%, #c9b7f5); }
.cover-3 { background: linear-gradient(135deg, #bfe6c9, #9fd3f2 55%, #c4b5fd); }

.tag { display: inline-block; padding: 2px 10px; border-radius: 999px; background: rgba(59,139,255,.15); color: #9cc4ff; font-size: 13px; font-weight: 600; }
.byline { display: flex; align-items: center; gap: 10px; color: rgba(255,255,255,.6); font-size: 14px; }
.byline img { width: 28px; height: 28px; border-radius: 50%; }

/* Category tabs */
.tabs { display: flex; gap: 4px; padding: 4px; border-radius: 999px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); }
.tabs button { border: 0; background: none; color: rgba(255,255,255,.65); font: 600 14px Inter, sans-serif; padding: 8px 18px; border-radius: 999px; cursor: pointer; }
.tabs button.on { background: rgba(255,255,255,.14); color: #fff; }

/* Post body */
.prose-vw { font-size: 18px; line-height: 1.75; color: rgba(255,255,255,.82); }
.prose-vw h2 { margin: 2.2em 0 .6em; font-size: 26px; line-height: 1.3; font-weight: 700; color: #fff; }
.prose-vw p, .prose-vw ul, .prose-vw ol { margin: 0 0 1.2em; }
.prose-vw ul, .prose-vw ol { padding-left: 1.3em; }
.prose-vw ul { list-style: disc; } .prose-vw ol { list-style: decimal; }
.prose-vw li::marker { color: #7a9cff; }
.prose-vw li { margin-bottom: .5em; }
.prose-vw strong { color: #fff; }
.prose-vw a { color: #9cc4ff; text-decoration: underline; text-underline-offset: 3px; }
.prose-vw blockquote { margin: 0 0 1.4em; padding: 18px 22px; border-radius: 16px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); color: #fff; }
.prose-vw blockquote p { margin: 0 0 .8em; } .prose-vw blockquote p:last-child { margin: 0; }

.foot-h { font-weight: 600; margin-bottom: 20px; }
.foot-a { display: block; margin-bottom: 12px; color: rgba(255,255,255,.55); text-decoration: none; }
@media (hover: hover) and (pointer: fine) { .foot-a:hover { color: #fff; } }

/* Store badges in the phone header (same as the homepage) */
.store-badge { display: inline-flex; align-items: center; gap: 5px; height: 38px; padding: 0 8px; border-radius: 9px; background: #000; border: 1px solid rgba(255,255,255,.35); color: #fff; line-height: 1.05; text-decoration: none; }
.store-badge span { display: flex; flex-direction: column; font-size: 11.5px; font-weight: 600; white-space: nowrap; }
.store-badge small { font-size: 7.5px; font-weight: 500; letter-spacing: .01em; }
