/* Dosa Tycoon — follow502.css (5.0.2, DESIGN502, ?proto=follow): the follow nudges (js/follow502.js).
 * In the game (stage px, like screens.css: small text reads max(its size, --fl): never under 12 real px) and on the Hall
 * and profile pages (css/public.css's palette and buttons). Nothing here shows unless ?proto=follow put it in the page. */

/* ---- the game: under a duel's result ---- */
.fl5-duel { margin: 14px 0 6px; padding-top: 12px; border-top: 2px dashed rgba(58, 31, 18, .2); text-align: center; }
.fl5-duel__text { margin: 0 0 10px; font-size: max(19px, var(--fl-deep, 0px)); font-weight: 700; line-height: 1.25; color: #5A4636; }
.fl5-duel__row { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.fl5-duel__row > .dt-btn { min-width: 0; max-width: 100%; }
.fl5-follow.is-done { opacity: .75; }
.fl5-follow.is-bad { animation: fl5-no .3s ease-in-out 2; }
@keyframes fl5-no { 0%, 100% { transform: none; } 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }
@media (prefers-reduced-motion: reduce) { .fl5-follow.is-bad { animation: none; outline: 3px solid #C8102E; } }

/* ---- the Hall: a Follow button on each row, one line above the board ---- */
.hof-row.has-fl5 { grid-template-columns: 30px 36px minmax(0, 1fr) auto auto; }
.fl5-pill { min-height: 36px; padding: 2px 12px 4px; font-size: 15px; font-weight: 700; white-space: nowrap; border-width: 2px; box-shadow: 0 2px 0 var(--c-ink); }
span.fl5-pill { display: inline-flex; align-items: center; border: 0; box-shadow: none; color: var(--c-leaf); }
.fl5-pill.is-done { color: var(--c-leaf); }
.hof-pod > .fl5-pill { position: absolute; top: 8px; right: 8px; z-index: 1; }
.fl5-line { grid-column: 1 / -1; margin: 0 0 10px; padding: 10px 14px; font-size: 16px; font-weight: 600; line-height: 1.3; color: var(--c-coffee); background: rgba(255, 244, 220, .9); border: 2px dashed rgba(58, 31, 18, .3); border-radius: 14px; }
@media (max-width: 560px) {
  .hof-row.has-fl5 { grid-template-columns: 26px 32px minmax(0, 1fr) auto auto; column-gap: 6px; }
  .fl5-pill { padding: 2px 10px 4px; font-size: 14px; }
}
@media (max-width: 359px) {
  .hof-row.has-fl5 { grid-template-columns: 26px minmax(0, 1fr) auto auto; }          /* (the emblem is hidden here: css/public.css) */
}
@media (any-pointer: coarse) { .fl5-pill { min-height: 44px; } }
/* (INT502) from 620 px a row has five cells (css/public.css: place, emblem, name, value, its line): the Follow button is a sixth,
 * not wrapped into the next row's 44 px place cell (it was drawn 30 px wide, its word cut); and the Hall's targets there are
 * 48 px (dev/hall/lib.js audit), as its other buttons */
@media (min-width: 620px) {
  .hof-row.has-fl5 { grid-template-columns: 44px 44px minmax(0, 1fr) auto minmax(110px, auto) auto; }
  .fl5-pill { min-height: 48px; padding-left: 14px; padding-right: 14px; }
}

/* ---- the empty Friends view, and a profile ---- */
.fl5-empty__go { margin-top: 12px; }
.fl5-prof { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-top: 10px; }
.fl5-prof__text { flex: 1 1 200px; margin: 0; font-size: 16px; font-weight: 600; line-height: 1.3; color: var(--c-coffee); }
