/* Refinements on top of site.css. One new colour, taken from the green rim of the R&B mug in the hero
   photo, used only as a fill with black text on it (14:1), never as text on white. */
:root { --lime: #a3d63a; }

/* Corners: a small, firm radius everywhere (pictures, buttons, labels, panels). */
:root { --round: 6px; --control-round: 6px; --tk-round: 6px; --tk-control-round: 6px; }
.round { border-radius: var(--control-round); }
.picture-dialog-content > img { border-radius: 4px; }

/* The running line takes the mug's green; the dots stay black. */
.ticker { background: var(--lime); color: #000000; }
.ticker :focus-visible { outline-color: #000000; }

/* Hover and current states: lime fill, black text. */
.btn:not(.quiet):hover, .btn.quiet:hover { background: var(--lime); color: #000000; border-color: #000000; }
.band .btn:hover, .band .btn.quiet:hover { background: var(--lime); color: #000000; border-color: var(--lime); }
.links a:hover { background: var(--lime); }
.index a:hover, .filters a:hover { background: var(--lime); color: #000000; }
.round:hover { background: var(--lime); color: #000000; }
.ribbon, .items .pick { background: var(--lime); color: #000000; }
.foot a:hover { color: var(--lime); text-decoration: none; }

/* Titles under pictures get a thick lime underline instead of a thin black one. */
.card a:hover :is(h2, h3), .post-cards a:hover h3, .post-grid a:hover h2 {
  text-decoration-color: var(--lime); text-decoration-thickness: 6px; text-underline-offset: 6px; }

/* Dish names on the front page: let them wrap instead of cutting off ("Ristretto / espresso / lun…"). */
.chip { border-radius: var(--control-round); }
.chip b { white-space: normal; overflow: visible; text-overflow: clip; }

/* Hero: the picture is sized to the window so the cup is in the first screen on a laptop. */
@media (min-width: 901px) {
  .hero-picture img { aspect-ratio: auto; height: clamp(320px, 62vh, 680px); object-position: 50% 68%; }
}

/* Menu: a visible lime mark under the section you jump to. */
.part-head h2 { text-decoration: underline; text-decoration-color: var(--lime); text-decoration-thickness: .09em; text-underline-offset: .08em; }

/* Quiet touches */
::selection { background: var(--lime); color: #000000; }
.items > li { transition: opacity .2s; }
