/* FarmLink hub, cards and chat (website). Brand: slate #213341, lime #A0C213; colors come from the --fsg-* tokens in style.css. */
/* Banner: the app home screen's looping field video over its poster frame (hub.php starts it). */
.farmlink-hero {
  position: relative; overflow: hidden; isolation: isolate;
  min-height: 260px; display: flex; align-items: flex-end; padding: 1.75rem;
  background: url('../images/farmlink-hero-poster.jpg') center/cover no-repeat, var(--fsg-surface);
  border: 1px solid var(--fsg-border); border-radius: var(--fsg-radius);
}
.farmlink-hero-video { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.farmlink-hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(7,17,23,.05) 20%, rgba(7,17,23,.85)); }
.farmlink-hero-text { max-width: 640px; text-shadow: 0 2px 8px rgba(0,0,0,.6); }
.farmlink-hero h1 { font-size: clamp(1.8rem, 1.3rem + 2vw, 2.6rem); font-weight: 800; letter-spacing: -.025em; color: var(--fsg-text-strong); margin-bottom: .35rem; }
.farmlink-hero p { font-size: 1.1rem; color: #eef3f5; }
.farmlink-hero .fsg-kicker { color: #d3ec6a; }
@media (max-width: 575.98px) { .farmlink-hero { min-height: 220px; padding: 1.25rem; } }
.farmlink-tile {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .5rem;
  min-height: 140px; height: 100%; padding: 1rem; text-align: center; text-decoration: none;
  color: #fff; background: var(--fsg-surface); border: 1px solid var(--fsg-border); border-radius: var(--fsg-radius);
  transition: border-color .15s, background .15s;
}
.farmlink-tile:hover, .farmlink-tile:focus-visible { color: #fff; border-color: var(--fsg-accent-border); background: #1f303b; }
.farmlink-tile i { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: var(--fsg-radius); background: var(--fsg-accent-subtle); color: var(--fsg-accent-soft); font-size: 1.4rem; }
.farmlink-tile-title { font-weight: 700; font-size: 1.1rem; }
.farmlink-tile-text { color: var(--fsg-text-muted); font-size: .9rem; }
/* FarmLink tabs on every FarmLink page; scrolls sideways on phones instead of wrapping. */
.farmlink-nav { display: flex; gap: .25rem; overflow-x: auto; padding: .35rem; background: var(--fsg-surface); border: 1px solid var(--fsg-border); border-radius: var(--fsg-radius); scrollbar-width: thin; }
.farmlink-nav a { display: inline-flex; align-items: center; gap: .4rem; flex-shrink: 0; padding: .45rem .8rem; border-radius: .7rem; color: var(--fsg-text-muted); font-weight: 600; text-decoration: none; white-space: nowrap; }
.farmlink-nav a:hover, .farmlink-nav a:focus-visible { color: #fff; background: rgba(255,255,255,.06); }
.farmlink-nav a.active { color: var(--fsg-on-accent); background: var(--fsg-accent); }
.farmlink-nav-gap { flex: 1 0 .75rem; }
.farmlink-jump .nav-link { color: var(--fsg-text-muted); padding: .3rem .7rem; }
.farmlink-jump .nav-link:hover { color: #fff; background: rgba(255,255,255,.06); }
.farmlink-step { display: flex; align-items: center; gap: .9rem; padding: .6rem 0; border-bottom: 1px solid rgba(255,255,255,.08); }
.farmlink-step:last-child { border-bottom: 0; padding-bottom: 0; }
.farmlink-step-num { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; width: 2rem; height: 2rem; border-radius: 50%; border: 2px solid var(--fsg-accent); color: var(--fsg-accent); font-weight: 700; }
.farmlink-step.done .farmlink-step-num { background: var(--fsg-accent); color: var(--fsg-on-accent); }
.farmlink-step.done .fw-bold { color: var(--fsg-text-muted); text-decoration: line-through; }
.farmlink-card { background: var(--fsg-surface); border: 1px solid var(--fsg-border); border-radius: var(--fsg-radius); padding: 1rem; height: 100%; }
.farmlink-looking { color: var(--fsg-accent); font-weight: 700; }
/* Bootstrap 5 has no min-width utility; without it long names push the avatar narrower instead of truncating. */
.min-w-0 { min-width: 0; }

/* Chat: Discord-style rows (like TFC chat), not bubbles. */
/* The chat page is an app-style screen: no site footer or social bar, and the page itself never
   scrolls (only the conversation list, messages and member list do). farmlink-chat.js adds the class. */
body.fl-chat-page { margin-bottom: 0; overflow: hidden; }
body.fl-chat-page .main-footer, body.fl-chat-page .icon-bar { display: none !important; }
/* Fills the window below the fixed navbar; farmlink-chat.js sets the exact height (TFC chat does the same). */
.fl-chat { display: flex; position: relative; height: calc(100dvh - 4rem); min-height: 420px; background: #16232c; border-top: 1px solid rgba(255,255,255,.12); overflow: hidden; }
.fl-chat-list { width: 320px; flex-shrink: 0; border-right: 1px solid rgba(255,255,255,.12); overflow-y: auto; background: #1b2a34; }
.fl-chat-list a { display: flex; gap: .75rem; align-items: center; padding: .75rem 1rem; color: #EDF3F5; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.05); }
.fl-chat-list a.active, .fl-chat-list a:hover { background: #24394a; }
.fl-chat-list .fl-preview { color: #ACBBC2; font-size: .85rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fl-chat-main { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.fl-chat-header { padding: .75rem 1rem; border-bottom: 1px solid rgba(255,255,255,.12); display: flex; align-items: center; gap: .75rem; }
/* Soft fades at the scroll edges so messages and images slide out of view instead of being cut off.
   farmlink-chat.js toggles fl-more-above/below; right: 12px keeps the scrollbar clear of the fade. */
.fl-messages-wrap { flex: 1; min-height: 0; position: relative; display: flex; flex-direction: column; }
.fl-messages-wrap::before, .fl-messages-wrap::after { content: ''; position: absolute; left: 0; right: 12px; height: 2rem; pointer-events: none; z-index: 1; opacity: 0; transition: opacity .2s; }
.fl-messages-wrap::before { top: 0; background: linear-gradient(#16232c, rgba(22,35,44,0)); }
.fl-messages-wrap::after { bottom: 0; background: linear-gradient(rgba(22,35,44,0), #16232c); }
.fl-messages-wrap.fl-more-above::before, .fl-messages-wrap.fl-more-below::after { opacity: 1; }
/* Bottom padding leaves room for the typing bubble so it never covers the newest message. */
.fl-messages { flex: 1; overflow-y: auto; padding: 1rem 0 2.5rem; }
.fl-msg { display: flex; gap: .75rem; padding: .15rem 1rem; position: relative; }
.fl-msg:hover { background: rgba(255,255,255,.03); }
.fl-msg.fl-grouped .fl-msg-avatar { visibility: hidden; height: 0; }
.fl-msg-avatar { width: 40px; flex-shrink: 0; }
.fl-msg-avatar img, .fl-msg-avatar span { width: 40px; height: 40px; border-radius: 50%; }
.fl-msg-head { display: flex; gap: .5rem; align-items: baseline; }
.fl-msg-name { font-weight: 700; color: #fff; }
.fl-supporter { display: inline-flex; align-items: center; gap: .25rem; margin-left: .35rem; padding: 0 .4rem; border: 1px solid; border-radius: 999px; font-size: .68rem; font-weight: 700; color: #fff; line-height: 1.5; vertical-align: middle; }
.fl-supporter-img { width: 1.1em; height: 1.1em; border-radius: 4px; object-fit: cover; }
.fl-msg-time, .fl-msg-edited { color: #8C9FA8; font-size: .75rem; }
.fl-msg-source { font-size: .65rem; padding: 0 .35rem; border-radius: .3rem; background: rgba(160,194,19,.2); color: #DCEB9A; }
.fl-msg-body { white-space: pre-wrap; word-break: break-word; color: #EDF3F5; }
.fl-msg-deleted { color: #8C9FA8; font-style: italic; }
/* Like Discord: keep the uploaded aspect ratio, scale down into a max box, never crop or enlarge.
   The width/height attributes reserve the right-shaped space before the image loads. */
.fl-msg-images { display: flex; flex-direction: column; align-items: flex-start; gap: .35rem; margin-top: .3rem; }
.fl-msg-images a { display: block; max-width: 100%; }
.fl-msg-images img { display: block; width: auto; height: auto; max-width: min(100%, 400px); max-height: 350px; border-radius: .5rem; background: rgba(255,255,255,.05); cursor: zoom-in; }
.fl-reactions { display: flex; flex-wrap: wrap; gap: .25rem; margin-top: .25rem; }
.fl-reaction { min-height: 1.75rem; padding: 0 .5rem; border-radius: .5rem; background: rgba(255,255,255,.07); border: 1px solid transparent; color: #EDF3F5; font-size: .85rem; }
.fl-reaction.mine { background: rgba(160,194,19,.18); border-color: #A0C213; }
.fl-msg-actions { position: absolute; right: 1rem; top: -.75rem; display: none; gap: .25rem; background: #21313D; border: 1px solid rgba(255,255,255,.15); border-radius: .5rem; padding: .15rem; }
.fl-msg:hover .fl-msg-actions, .fl-msg:focus-within .fl-msg-actions { display: flex; }
.fl-msg-actions button { background: none; border: 0; color: #EDF3F5; padding: .15rem .4rem; border-radius: .3rem; }
.fl-msg-actions button:hover { background: rgba(255,255,255,.1); }
.fl-day { display: flex; align-items: center; gap: .75rem; color: #8C9FA8; font-size: .75rem; margin: .75rem 1rem; }
.fl-day::before, .fl-day::after { content: ''; flex: 1; height: 1px; background: rgba(255,255,255,.12); }
.fl-new { color: #f23f43; }
.fl-new::before, .fl-new::after { background: #f23f43; }
.fl-typing { position: absolute; left: 1rem; bottom: .4rem; z-index: 2; display: flex; align-items: center; gap: .5rem; max-width: calc(100% - 2rem - 12px); padding: .3rem .75rem; border-radius: 1rem; background: #21313D; border: 1px solid rgba(255,255,255,.12); box-shadow: 0 4px 12px rgba(0,0,0,.3); color: #ACBBC2; font-size: .8rem; opacity: 0; transform: translateY(.4rem); pointer-events: none; transition: opacity .2s, transform .2s; }
.fl-typing.show { opacity: 1; transform: none; }
.fl-typing > span:last-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fl-typing-dots { display: flex; gap: 3px; flex-shrink: 0; }
.fl-typing-dots i { width: 6px; height: 6px; border-radius: 50%; background: #A0C213; animation: fl-typing-dot 1.2s infinite ease-in-out; }
.fl-typing-dots i:nth-child(2) { animation-delay: .15s; }
.fl-typing-dots i:nth-child(3) { animation-delay: .3s; }
@keyframes fl-typing-dot { 0%, 60%, 100% { opacity: .35; transform: none; } 30% { opacity: 1; transform: translateY(-3px); } }
@media (prefers-reduced-motion: reduce) { .fl-typing-dots i { animation: none; opacity: .8; } .fl-typing, .fl-messages-wrap::before, .fl-messages-wrap::after { transition: none; } }
.fl-chat-members { width: 220px; flex-shrink: 0; display: flex; flex-direction: column; background: #1b2a34; border-left: 1px solid rgba(255,255,255,.12); overflow: hidden; }
.fl-chat-members[hidden] { display: none !important; }
.fl-members-search { padding: .6rem .5rem .2rem; }
.fl-members-search input { width: 100%; background: rgba(0,0,0,.25); border: 1px solid rgba(255,255,255,.12); border-radius: .3rem; color: #EDF3F5; font-size: .8rem; padding: .3rem .5rem; }
.fl-members-list { flex: 1; overflow-y: auto; padding: 0 .5rem .5rem; scrollbar-width: thin; }
.fl-members-section { padding: .75rem .4rem .2rem; font-size: .66rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #8C9FA8; }
.fl-member { display: flex; align-items: center; gap: .5rem; width: 100%; padding: .3rem .4rem; border: 0; border-radius: .3rem; background: none; color: #EDF3F5; text-align: left; }
.fl-member:hover, .fl-member:focus-visible { background: rgba(255,255,255,.06); }
.fl-member.offline { opacity: .5; }
.fl-member.offline:hover { opacity: .85; }
.fl-member-avatar { position: relative; flex-shrink: 0; }
/* avatar() already sizes the picture to 28px; only the letter fallback needs a smaller font. */
.fl-member-avatar > img, .fl-member-avatar > span:not(.fl-presence) { display: block; font-size: .7rem; }
.fl-presence { position: absolute; right: -2px; bottom: -2px; box-sizing: border-box; width: 12px; height: 12px; border-radius: 50%; background: #3ba55c; border: 2px solid #1b2a34; }
.fl-member.offline .fl-presence { background: #8C9FA8; }
.fl-member-name { flex: 1; min-width: 0; font-size: .85rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fl-role { font-size: .62rem; font-weight: 800; padding: 0 .3rem; border-radius: .25rem; background: rgba(160,194,19,.2); color: #DCEB9A; text-transform: uppercase; }
.fl-member-menu { min-width: 190px; }
.fl-member-menu button { display: block; width: 100%; text-align: left; background: none; border: 0; color: #EDF3F5; padding: .35rem .6rem; border-radius: .3rem; font-size: .88rem; }
.fl-member-menu button:hover { background: rgba(255,255,255,.08); }
.fl-member-menu button.danger { color: #e05555; }
.fl-member-menu .fl-menu-sep { border-top: 1px solid rgba(255,255,255,.12); margin: .25rem 0; }
.fl-online { color: #3ba55c; }
.fl-composer { padding: .75rem 1rem 1rem; }
.fl-composer-box { display: flex; align-items: flex-end; gap: .5rem; background: #21313D; border: 1px solid rgba(255,255,255,.15); border-radius: .9rem; padding: .4rem .5rem; }
.fl-composer textarea { flex: 1; background: transparent; border: 0; color: #fff; resize: none; max-height: 200px; outline: none; padding: .35rem; }
.fl-composer button.fl-icon { background: none; border: 0; color: #ACBBC2; font-size: 1.25rem; padding: .2rem .4rem; }
.fl-pending { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: .5rem; }
.fl-pending div { position: relative; }
.fl-pending img { width: 64px; height: 64px; object-fit: cover; border-radius: .4rem; }
.fl-pending .fl-upload-busy { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.fl-pending .fl-upload-done { position: absolute; right: 3px; bottom: 3px; width: 20px; height: 20px; border-radius: 50%; background: #3ba55c; color: #fff; display: flex; align-items: center; justify-content: center; font-size: .8rem; }
.fl-pending button { position: absolute; top: -6px; right: -6px; border-radius: 50%; border: 0; width: 20px; height: 20px; line-height: 18px; padding: 0; background: #A33131; color: #fff; }
.fl-emoji-picker { display: flex; gap: .25rem; flex-wrap: wrap; max-width: 260px; }
.fl-emoji-picker button { background: none; border: 0; font-size: 1.3rem; border-radius: .3rem; }
.fl-emoji-picker button:hover { background: rgba(255,255,255,.1); }
/* Pinned messages (community chats): marked in the log, listed from the header's pin button. */
.fl-msg-pin { color: #A0C213; font-size: .75rem; }
.fl-msg.fl-pinned { box-shadow: inset 2px 0 0 rgba(160,194,19,.6); }
.fl-msg.fl-flash { background: rgba(160,194,19,.16); }
.fl-pins { width: min(360px, calc(100vw - 16px)); max-height: 60vh; overflow-y: auto; background: #21313D; color: #EDF3F5; border: 1px solid rgba(255,255,255,.15); }
.fl-pins-head { position: sticky; top: 0; padding: .6rem .75rem; font-weight: 700; background: inherit; border-bottom: 1px solid rgba(255,255,255,.12); }
.fl-pin { padding: .6rem .75rem; border-bottom: 1px solid rgba(255,255,255,.06); }
.fl-pin .fl-msg-body { max-height: 6.5em; overflow: hidden; font-size: .9rem; }
/* A modder page's channel in the chat header, and the note in channels only the team posts in. */
.fl-channel-icon { width: 36px; height: 36px; flex-shrink: 0; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.07); font-size: 1.15rem; }
.fl-readonly { padding: .25rem .25rem .5rem; }
/* Narrow screens: the member list opens over the chat from the header's members button. */
@media (max-width: 991px) {
  .fl-chat-members { display: none; }
  .fl-chat.fl-members-open .fl-chat-members { display: flex; position: absolute; top: 0; right: 0; bottom: 0; z-index: 5; box-shadow: -8px 0 24px rgba(0,0,0,.45); }
}
@media (max-width: 700px) {
  .fl-chat-list { width: 100%; }
  .fl-chat.fl-open .fl-chat-list { display: none; }
  .fl-chat:not(.fl-open) .fl-chat-main { display: none; }
}
/* My Farm (FarmLink/MyFarm, farmlink-myfarm.js): tiles, bars, rows, sortable tables, money chart. */
.fl-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: .75rem; }
.fl-tile { display: flex; flex-direction: column; gap: .1rem; padding: .85rem 1rem; text-align: left; color: var(--fsg-text); background: var(--fsg-surface); border: 1px solid var(--fsg-border); border-radius: var(--fsg-radius); }
button.fl-tile:hover, button.fl-tile:focus-visible { border-color: var(--fsg-accent-border); background: #1f303b; }
.fl-tile-value { font-size: 1.25rem; font-weight: 800; color: var(--fsg-text-strong); line-height: 1.2; }
.fl-tile-label { font-size: .85rem; color: var(--fsg-text-muted); }
.fl-bar { height: 8px; border-radius: 4px; background: rgba(255,255,255,.1); overflow: hidden; min-width: 60px; }
.fl-bar span { display: block; height: 100%; background: var(--fsg-accent); }
.fl-bar span.bad { background: var(--fsg-danger); }
.fl-bar-cell { display: flex; align-items: center; justify-content: flex-end; gap: .5rem; }
.fl-bar-cell .fl-bar { flex: 1 1 60px; max-width: 120px; }
.fl-row { display: flex; align-items: center; gap: .75rem; padding: .6rem 0; border-bottom: 1px solid var(--fsg-border); }
.fl-row:last-of-type { border-bottom: 0; }
.fl-row-main { flex: 1; text-align: left; background: none; border: 0; padding: 0; color: inherit; }
.fl-row-main:hover .fw-bold { color: var(--fsg-accent-soft); }
.fl-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--fsg-danger); flex-shrink: 0; align-self: flex-start; margin-top: .45rem; }
.fl-insight { display: flex; gap: .75rem; align-items: flex-start; padding: .75rem 1rem; margin-bottom: .5rem; border-radius: var(--fsg-radius); color: var(--fsg-text); text-decoration: none; }
a.fl-insight:hover { color: var(--fsg-text-strong); filter: brightness(1.15); }
.fl-insight-warn { background: var(--fsg-danger-subtle); } .fl-insight-warn i { color: var(--fsg-danger); }
.fl-insight-good { background: var(--fsg-success-subtle); } .fl-insight-good i { color: var(--fsg-success); }
.fl-insight-info { background: var(--fsg-surface-alt); } .fl-insight-info i { color: var(--fsg-text-muted); }
.fl-weather { min-width: 76px; }
.fl-table th.fl-sortable { cursor: pointer; user-select: none; white-space: nowrap; }
.fl-table th.fl-sortable:hover { color: var(--fsg-accent-soft); }
.fl-table tr.fl-clickable { cursor: pointer; }
.fl-details dt, .fl-details dd { border-bottom: 1px solid rgba(255,255,255,.06); padding-bottom: .25rem; }
.fl-pre { white-space: pre-wrap; overflow-wrap: anywhere; }
.fl-note { display: block; width: 100%; height: 100%; text-align: left; padding: 1rem; color: var(--fsg-text); background: var(--fsg-surface-alt); border: 1px solid var(--fsg-border); border-radius: var(--fsg-radius); }
.fl-note:hover { border-color: var(--fsg-accent-border); }
.fl-note .fl-pre { max-height: 9rem; overflow: hidden; }
.fl-avatar { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; background: var(--fsg-surface-alt); font-weight: 700; }
.fl-farm-color { width: 18px; height: 18px; border-radius: 50%; border: 1px solid var(--fsg-border-strong); }
.fl-key.in { background: var(--fsg-accent); }
.fl-key.out { background: var(--fsg-danger); }
.fl-key { display: inline-block; width: 12px; height: 12px; border-radius: 3px; vertical-align: middle; }
.fl-price-box { padding: .85rem 1rem; background: var(--fsg-surface-alt); border: 1px solid var(--fsg-border); border-radius: var(--fsg-radius); }
/* Cards side by side in a row share the row's height (the row's own margin spaces it from the next). */
#fl-myfarm .row > [class*="col"] > .shadow { height: 100%; margin-bottom: 0 !important; }
.fl-money-chart { width: 100%; height: auto; max-height: 300px; display: block; }
.fl-money-chart .axis { stroke: var(--fsg-border-strong); }
.fl-money-chart .in { fill: var(--fsg-accent); }
.fl-money-chart .out { fill: var(--fsg-danger); }
.fl-money-chart .balance { fill: none; stroke: #6cc4ff; stroke-width: 3; stroke-linejoin: round; }
.fl-money-chart .tick { fill: var(--fsg-text-muted); font-size: 13px; }
.fl-key.balance { background: #6cc4ff; }
/* My Farm › Placeables: one page per kind, and every placeable as its own boxed card with a coloured edge for its kind. */
.fl-subnav { display: flex; flex-wrap: wrap; gap: .5rem; }
.fl-subnav-item { display: inline-flex; align-items: center; gap: .45rem; padding: .5rem .9rem; border-radius: 999px; border: 1px solid var(--fsg-border-strong); background: var(--fsg-surface); color: var(--fsg-text); font-weight: 600; }
.fl-subnav-item:hover, .fl-subnav-item:focus-visible { border-color: var(--fsg-accent-border); color: var(--fsg-text-strong); }
.fl-subnav-item.active { background: var(--fsg-accent); border-color: var(--fsg-accent); color: var(--fsg-on-accent); }
.fl-count { display: inline-block; min-width: 1.6rem; padding: 0 .45rem; border-radius: 999px; background: rgba(255,255,255,.12); font-size: .8rem; text-align: center; margin-left: .35rem; }
.fl-subnav-item.active .fl-count { background: rgba(0,0,0,.18); }
.fl-group-title { display: flex; align-items: center; padding-bottom: .4rem; margin-bottom: .75rem; border-bottom: 1px solid var(--fsg-border); color: var(--fsg-text-strong); }
.fl-item { --fl-edge: var(--fsg-accent); display: block; width: 100%; padding: 1rem 1rem 1rem 1.15rem; text-align: left; color: var(--fsg-text); background: var(--fsg-surface);
  border: 1px solid var(--fsg-border-strong); border-left: 5px solid var(--fl-edge); border-radius: var(--fsg-radius); box-shadow: 0 2px 6px rgba(0,0,0,.25); }
.fl-item-button { height: 100%; transition: transform .1s, border-color .15s, background .15s; }
.fl-item-button:hover, .fl-item-button:focus-visible { background: #22323d; border-color: var(--fl-edge); transform: translateY(-1px); }
.fl-item-head { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem; margin-bottom: .6rem; padding-bottom: .5rem; border-bottom: 1px solid var(--fsg-border); }
.fl-item-head > i { color: var(--fl-edge); font-size: 1.1rem; }
.fl-item-name { flex: 1 1 auto; font-weight: 700; color: var(--fsg-text-strong); overflow-wrap: anywhere; }
.fl-item-note { color: #ACBBC2; margin-top: .25rem; overflow-wrap: anywhere; }
.fl-item-head .badge { margin: 0 !important; }
.fl-item-list { list-style: none; padding: 0; margin: .6rem 0 0; font-size: .9rem; }
.fl-item-list li { display: flex; justify-content: space-between; gap: .75rem; padding: .2rem 0; border-top: 1px dashed rgba(255,255,255,.08); }
.fl-item-list li:first-child { border-top: 0; }
.fl-accent-productions { --fl-edge: var(--fsg-accent); }
.fl-accent-storage { --fl-edge: #6cc4ff; }
.fl-accent-goods { --fl-edge: var(--fsg-warning); }
.fl-accent-pens { --fl-edge: #f28fb3; }
.fl-accent-income { --fl-edge: #ffd84d; }
.fl-accent-buildings { --fl-edge: #9aa9b2; }

/* Game server feed messages (community page feed channels): the server is the author, the bot's card is the body. */
.fl-msg-bot { font-size: .62rem; font-weight: 700; letter-spacing: .04em; padding: 0 .35rem; border-radius: .3rem; background: #5865f2; color: #fff; }
.fl-feed { display: flex; flex-direction: column; gap: .1rem; margin-top: .2rem; padding: .45rem .7rem; border-left: 4px solid var(--feed, #8d99a6); border-radius: .35rem; background: rgba(127,127,127,.12); max-width: 34rem; }
.fl-feed-title { font-weight: 700; }
.fl-feed-line { font-size: .88rem; opacity: .85; overflow-wrap: anywhere; }
.fl-feed-link { align-self: flex-start; font-size: .85rem; margin-top: .15rem; }
