/* forever.dogdog.org: shared bits the mocks didn't need (real sign-in, account pill, links, empty states). */
.logo a, .logo img { display: block; }
.logo img { height: 32px; width: auto; }
form.search-form { flex: 1; max-width: 520px; display: flex; }
form.search-form .search { width: 100%; max-width: none; }
.header-icons .acct { cursor: pointer; font: inherit; font-weight: 700; color: var(--ink-soft); font-size: 14px; text-decoration: none; position: relative; }
.header-icons .acct:hover { border-color: var(--gold-soft); color: var(--ink); }
.acct-wrap { position: relative; }
.acct-wrap .pop { right: 0; left: auto; top: 46px; min-width: 190px; }
.pop a.item, .pop button { text-decoration: none; }
@media (max-width: 700px) {
  .header-icons { display: flex !important; }
  .header-icons .acct { min-width: 0; padding: 0 12px; height: 38px; font-size: 13px; }
  .header-icons .acct .nm { display: none; }
}
/* sign-in modal: email code */
.dialog form { margin-top: 18px; display: flex; flex-direction: column; gap: 10px; text-align: left; }
.dialog form label { font-size: 11.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-mute); }
.dialog form input { width: 100%; border-radius: 14px; border: 1.5px solid var(--card-border); background: var(--warm-white); font: 700 16px Nunito, sans-serif; color: var(--ink); padding: 12px 14px; outline: none; }
.dialog form input:focus { border-color: var(--gold-soft); box-shadow: 0 0 0 3px #D4A84B22; }
.dialog form input.code { letter-spacing: .35em; text-align: center; font-size: 22px; font-weight: 900; }
.dialog form .btn-candle, .dialog form .btn-note { width: 100%; justify-content: center; margin-top: 4px; }
.dialog .err { color: #A0533F; font-size: 13px; font-weight: 700; min-height: 0; }
.dialog .err:empty { display: none; }
.dialog .linkish { background: none; border: 0; color: var(--sage-deep); font: 800 12.5px Nunito, sans-serif; cursor: pointer; text-decoration: underline; text-underline-offset: 2px; padding: 0; }
.dialog .step { display: none; }
.dialog .step.on { display: block; }
.dialog .preview-note { margin-top: 12px; font-size: 11.5px; color: var(--ink-mute); font-weight: 600; line-height: 1.45; }
/* toast also on the grid */
.toast { z-index: 60; }
.toast.err { background: #8A3B2E; }
/* links styled like mock buttons */
a.card { text-decoration: none; }
a.card.memo { color: inherit; display: block; }
.pager a, .pager span { width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--warm-white); color: var(--ink-soft); font-size: 13px; font-weight: 700; border: 1.5px solid var(--card-border); text-decoration: none; }
.pager a:hover { border-color: var(--gold-soft); color: var(--ink); }
.pager .on { background: linear-gradient(135deg, var(--gold-soft), var(--gold)); color: #3D3429; border-color: transparent; box-shadow: 0 2px 10px #D4A84B44; }
.pager .gap { border: 0; background: none; }
select.sort { appearance: none; -webkit-appearance: none; cursor: pointer; font-family: Nunito, system-ui, sans-serif; outline: none; padding-right: 18px; }
.controls form { display: contents; }
.empty-grid { grid-column: span 5; display: flex; align-items: center; justify-content: center; text-align: center; color: var(--ink-mute); font-weight: 700; font-size: 14px; padding: 20px; border-radius: 18px; border: 1.5px dashed var(--card-border); }
@media (max-width: 900px) { .empty-grid { grid-column: span 2; } }
@media (max-width: 560px) { .empty-grid { grid-column: span 1; } }
.notes .empty { display: block; padding: 14px 6px; color: var(--ink-mute); font-weight: 700; font-size: 14px; list-style: none; }
.thumb { cursor: zoom-in; }
.thumb.on { outline: 3px solid var(--gold-soft); outline-offset: 1px; }
.mine-head { text-align: center; margin: 14px 0 0; color: var(--ink-soft); font-weight: 700; }
.mine-head a { color: var(--sage-deep); }
.card .hidden-flag { position: absolute; top: 8px; right: 8px; z-index: 4; background: #3D3429cc; color: #fff; border-radius: 999px; padding: 3px 8px; font-size: 10.5px; font-weight: 800; }
.leave .counter.low { color: #A0533F; }
.btn-note[disabled], .btn-candle[disabled] { opacity: .6; cursor: wait; }
.sample-banner { position: relative; z-index: 3; text-align: center; font-size: 12.5px; font-weight: 700; color: var(--ink-soft); background: #FFF4DE; border-bottom: 1.5px solid #F0DDBA; padding: 7px 12px; }
