/* links.getbottle.app: the page in the Instagram bio. The posts as the feed
   shows them, newest first, so a reader taps the picture they saw. */
body.links { background: var(--paper); margin: 0; }
.links__page { max-width: 600px; min-height: 100vh; box-sizing: border-box; margin: 0 auto; padding: 48px 16px 32px; display: flex; flex-direction: column; }
.links__head { text-align: center; margin-bottom: 24px; }
.links__avatar { width: 88px; height: 88px; margin: 0 auto 14px; border-radius: 50%; background: var(--flame); display: grid; place-items: center; }
.links__avatar svg { height: 48px; width: auto; }
.links__name { margin: 0; font-family: var(--display); font-size: 24px; font-weight: 800; letter-spacing: -.02em; color: var(--ink); }
.links__tagline { margin: 6px 0 0; color: var(--ink-2); }
.links__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.links__btn { display: block; padding: 16px 12px; border-radius: var(--r-md); background: var(--ink); color: #fff; text-align: center; font: 600 15px/1.3 var(--body); text-decoration: none; transition: background .15s ease; }
.links__btn:hover, .links__btn:focus-visible { background: var(--ink-2); }
.links__btn--main { background: var(--flame); }
.links__btn--main:hover, .links__btn--main:focus-visible { background: var(--flame-deep); }
.links__label { margin: 32px 0 12px; text-align: center; font: 600 13px var(--body); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.links__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 10px; }
@media (min-width: 560px) { .links__grid { grid-template-columns: repeat(3, 1fr); } }
.links__grid a { display: block; color: var(--ink); text-decoration: none; }
.links__grid img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r-sm); box-shadow: 0 0 0 1px var(--line); transition: transform .15s ease, box-shadow .15s ease; }
.links__grid a:hover img, .links__grid a:focus-visible img { transform: translateY(-2px); box-shadow: var(--shadow-float); }
.links__caption { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-top: 8px; font-size: 13px; font-weight: 600; line-height: 1.35; }
[data-links-post][hidden], .links__more[hidden] { display: none; }
.links__more { display: block; width: 100%; margin-top: 18px; padding: 14px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--paper); color: var(--ink); font: 600 15px var(--body); cursor: pointer; }
.links__more:hover { border-color: var(--ink); }
.links__all { display: block; margin-top: 18px; text-align: center; color: var(--muted); font-size: 14px; }
.links__foot { margin: auto auto 0; padding-top: 48px; display: inline-flex; align-items: center; gap: .25em; font-family: var(--display); font-weight: 800; font-size: 22px; letter-spacing: -.04em; color: var(--ink); text-decoration: none; }
.links__foot svg { height: 1.1em; width: auto; }
@media (prefers-reduced-motion: reduce) { .links__btn, .links__grid img { transition: none; } }
