/* Farm for the Future: game-specific styles (on top of wsf.css). */
.fff { gap: 14px; }
.fff-hero svg, .fff-scene svg { width: 100%; height: auto; display: block; border-radius: 16px; }
.fff-scene { background: var(--paper); border-radius: var(--radius); padding: 6px; box-shadow: var(--shadow); }
.fff-tag { display: inline-block; font-size: 13px; font-weight: 800; background: #e8f4e2; color: #2d6a2f; border-radius: 999px; padding: 2px 9px; margin-left: 6px; vertical-align: middle; }
/* campaigns */
.fff-camps { display: flex; flex-direction: column; gap: 10px; }
.fff-camp { display: flex; gap: 12px; align-items: center; text-align: left; width: 100%; min-height: 84px; padding: 12px 14px; border-radius: 18px; border: 3px solid var(--line); background: #fff; cursor: pointer; box-shadow: 0 4px 0 rgba(29,39,51,.1); }
.fff-camp:disabled { opacity: .62; cursor: default; }
.fff-camp.is-done { border-color: #9fd18f; background: #f3fbef; }
.fff-camp__e { font-size: 40px; flex: none; width: 52px; text-align: center; }
.fff-camp__body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.fff-camp__name { font-weight: 900; font-size: 20px; }
.fff-camp__desc { font-size: 15.5px; color: var(--ink-2); line-height: 1.35; }
.fff-camp__meta { font-size: 14px; font-weight: 800; color: #6a5a2a; }
/* header */
.fff-head { display: flex; flex-direction: column; gap: 6px; }
.fff-head__row { display: flex; align-items: center; gap: 10px; }
.fff-head__camp { font-weight: 900; flex: 1; min-width: 0; }
.fff-head__coins { font-weight: 900; background: var(--straw-2); border: 2px solid #ecd27a; border-radius: 999px; padding: 4px 12px; }
.fff-when { font-size: 26px; }
.fff-track { display: flex; flex-wrap: wrap; gap: 4px; list-style: none; margin: 0; padding: 0; }
.fff-track__dot { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.6); font-size: 16px; opacity: .6; }
.fff-track__dot.is-past { opacity: 1; background: #fff; }
.fff-track__dot.is-now { opacity: 1; background: var(--straw); box-shadow: 0 0 0 3px #fff; }
/* outlook */
.fff-outlook__t { font-size: 20px; font-weight: 900; }
/* meters */
.fff-meters-wrap { display: flex; flex-direction: column; gap: 8px; }
.fff-meters { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
@media (min-width: 700px) { .fff-meters { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.fff-meter { display: flex; flex-direction: column; gap: 4px; text-align: left; min-height: 64px; padding: 8px 10px; border-radius: 14px; border: 2px solid var(--line); background: var(--paper); cursor: pointer; min-width: 0; }
.fff-meter[aria-expanded="true"] { border-color: var(--focus); }
.fff-meter.is-low { border-color: #e7a36a; background: #fff4ea; }
.fff-meter__top { display: flex; gap: 6px; align-items: center; min-width: 0; }
.fff-meter__e { font-size: 20px; }
.fff-meter__name { font-weight: 800; font-size: 14.5px; line-height: 1.15; }
.fff-meter__row { display: flex; align-items: center; gap: 6px; }
.fff-meter__bar { flex: 1; height: 10px; background: #ece5d3; border-radius: 99px; overflow: hidden; min-width: 30px; }
.fff-meter__fill { display: block; height: 100%; background: var(--grass-2); border-radius: 99px; }
.fff-fill--water { background: #3f8fd6; } .fff-fill--cover, .fff-fill--pasture { background: #5aa84a; } .fff-fill--soil { background: #9a6b3e; }
.fff-fill--trees { background: #2f7a35; } .fff-fill--bio { background: #c46adf; } .fff-fill--welfare { background: #e07a3a; } .fff-fill--energy { background: #f2b705; } .fff-fill--money { background: #c9a227; }
.fff-meter__v { font-size: 15px; min-width: 34px; text-align: right; }
.fff-delta { font-size: 13px; font-weight: 900; border-radius: 99px; padding: 0 6px; }
.fff-delta.is-up { color: #1f6b2a; background: #dff3d8; } .fff-delta.is-down { color: #9b2c1f; background: #fde2dc; } .fff-delta.is-flat { color: var(--ink-2); background: #eee; }
.fff-meter-info { background: #eef6ff; border: 2px solid #b9d6f5; border-radius: 14px; padding: 10px 12px; font-size: 16px; display: flex; flex-direction: column; gap: 4px; }
.fff-meter-info__t { font-weight: 900; }
/* alert */
.fff-alert { background: #fff1e0; border: 3px solid #f0a95b; border-radius: var(--radius); padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.fff-alert.is-done { background: #eef8ea; border-color: #8cc97d; }
.fff-alert__t { font-size: 20px; }
.fff-alert__opts { display: flex; flex-direction: column; gap: 8px; }
.fff-alert__opt { display: flex; gap: 10px; align-items: center; text-align: left; min-height: 64px; padding: 10px 12px; border-radius: 14px; border: 3px solid #fff; background: #fff; cursor: pointer; box-shadow: 0 3px 0 rgba(29,39,51,.12); }
.fff-alert__opt.is-on { border-color: var(--green); background: #e6f6e1; }
.fff-alert__opt:disabled:not(.is-on) { opacity: .5; }
.fff-alert__ok { font-weight: 800; color: #1f6b2a; }
/* cards */
.fff-hand-wrap { display: flex; flex-direction: column; gap: 10px; }
.fff-hand { display: grid; grid-template-columns: 1fr; gap: 10px; }
@media (min-width: 700px) { .fff-hand { grid-template-columns: 1fr 1fr; } }
.fff-card { display: flex; flex-direction: column; gap: 6px; text-align: left; padding: 12px 14px; border-radius: 18px; border: 3px solid var(--line); background: #fff; cursor: pointer; box-shadow: 0 5px 0 rgba(29,39,51,.12); min-height: 120px; min-width: 0; }
.fff-card.is-on { border-color: var(--green); background: #effaeb; box-shadow: 0 0 0 3px #bfe6b3, 0 5px 0 rgba(29,39,51,.12); }
.fff-card.is-off { opacity: .55; cursor: default; }
.fff-card__top { display: flex; align-items: center; gap: 10px; }
.fff-card__e { font-size: 32px; flex: none; }
.fff-card__t { flex: 1; font-weight: 900; font-size: 18px; line-height: 1.2; min-width: 0; }
.fff-chip { flex: none; font-weight: 900; background: var(--straw-2); border: 2px solid #ecd27a; border-radius: 999px; padding: 2px 10px; font-size: 15px; }
.fff-chip.is-gain { background: #dff3d8; border-color: #9fd18f; }
.fff-card__d { font-size: 15.5px; line-height: 1.35; }
.fff-card__why { font-size: 14px; line-height: 1.35; color: var(--ink-2); }
.fff-card__fx { display: flex; flex-wrap: wrap; gap: 4px; align-items: center; }
.fff-card__fx .fff-tag { margin-left: 0; background: #eef2ff; color: #33408a; }
.fff-fx { font-size: 13px; font-weight: 800; background: #f4efe2; border-radius: 999px; padding: 2px 8px; }
.fff-card__tick { font-size: 14px; font-weight: 900; color: var(--green); }
.fff-card.is-off .fff-card__tick { color: var(--ink-2); }
/* sticky bar */
.fff-bar { position: sticky; bottom: 8px; z-index: 5; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: space-between; background: rgba(255,253,247,.97); border: 3px solid #fff; border-radius: 20px; padding: 10px 12px; box-shadow: 0 6px 20px rgba(29,39,51,.22); }
.fff-bar__info { font-weight: 800; font-size: 15.5px; flex: 1 1 160px; }
.fff-bar__go { flex: 1 1 180px; }
/* results */
.fff-event__row { display: flex; gap: 12px; align-items: center; }
.fff-event__e { font-size: 52px; flex: none; }
.fff-event__t { font-size: 22px; }
.fff-whys { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.fff-why__head { font-size: 17px; }
.fff-why__list { margin: 4px 0 0; padding-left: 4px; list-style: none; font-size: 15.5px; display: flex; flex-direction: column; gap: 3px; }
.fff-up { color: #1f6b2a; font-weight: 900; } .fff-down { color: #9b2c1f; font-weight: 900; } .fff-info { font-size: 13px; }
.fff-paid { background: #f0faeb; }
.fff-fact { background: #eef6ff; }
/* report */
.fff-report__top { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.fff-ring { width: 120px; height: 120px; flex: none; }
.fff-report__score { font-weight: 900; font-size: 20px; }
.fff-table { width: 100%; border-collapse: collapse; font-size: 15.5px; }
.fff-table th, .fff-table td { padding: 6px 4px; border-bottom: 1px solid var(--line); text-align: left; }
.fff-table td { white-space: nowrap; }
.fff-reflects { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 14px; }
.fff-reflect__q { font-weight: 800; margin-bottom: 6px; }
.fff-reflect__opts { display: flex; flex-direction: column; gap: 6px; }
.fff-reflect__opt { min-height: 48px; text-align: left; padding: 8px 12px; border-radius: 14px; border: 2px solid var(--line); background: #fff; cursor: pointer; font-weight: 700; }
.fff-reflect__opt.is-on { border-color: var(--green); background: #effaeb; }
.fff-reflect__say { margin-top: 6px; color: #1f6b2a; font-weight: 700; }
.w-small { font-size: 14.5px; color: var(--ink-2); }
@media (max-width: 400px) { .fff-table { font-size: 14px; } .fff-when { font-size: 23px; } }
