/* Farm Flow v0.9.1 – Champion-Profil, Abzeichen-Galerie, Spezialgebiete, Missionen und Privatsphäre */
.ff91-profile-card{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(240px,.55fr);gap:22px;padding:26px;border-radius:26px;background:linear-gradient(135deg,#503078 0%,#7151a0 48%,#173c58 100%);color:#fff;box-shadow:0 18px 48px rgba(45,31,75,.22);overflow:hidden;position:relative}
.ff91-profile-card:after{content:"";position:absolute;width:260px;height:260px;border-radius:50%;right:-100px;top:-125px;background:rgba(255,255,255,.08)}
.ff91-profile-identity{display:flex;gap:18px;align-items:flex-start;position:relative;z-index:1}.ff91-profile-avatar{display:grid;place-items:center;flex:0 0 78px;width:78px;height:78px;border-radius:24px;background:rgba(255,255,255,.18);border:1px solid rgba(255,255,255,.32);font-size:34px;font-weight:950;box-shadow:inset 0 1px 0 rgba(255,255,255,.25)}
.ff91-profile-identity .eyebrow{color:#e7dcf4}.ff91-profile-identity h1{margin:2px 0 6px;font-size:clamp(28px,4vw,42px);line-height:1.05}.ff91-profile-identity strong{display:block;font-size:18px}.ff91-profile-identity p:last-child{max-width:720px;margin:8px 0 0;color:#f0ebf7}
.ff91-profile-score{position:relative;z-index:1;display:flex;flex-direction:column;align-items:flex-end;justify-content:center;padding:18px;border-radius:20px;background:rgba(8,20,38,.24);border:1px solid rgba(255,255,255,.2)}.ff91-profile-score>span{font-size:30px}.ff91-profile-score>strong{font-size:31px;line-height:1.05}.ff91-profile-score>small{margin-top:5px;color:#e9edf4;text-align:right}.ff91-main-progress{width:100%;height:10px;margin-top:13px;border-radius:999px;background:rgba(255,255,255,.18);overflow:hidden}.ff91-main-progress i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#ffe17a,#fff0bd)}
.ff91-profile-stats{grid-column:1/-1;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;position:relative;z-index:1}.ff91-profile-stats>div{padding:13px 14px;border-radius:16px;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.16)}.ff91-profile-stats span{font-size:20px}.ff91-profile-stats strong,.ff91-profile-stats small{display:block}.ff91-profile-stats strong{margin-top:2px;font-size:15px}.ff91-profile-stats small{color:#ece7f2;font-size:11px}
.ff91-privacy{grid-column:1/-1;display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:13px;padding:14px 16px;border-radius:17px;background:rgba(5,17,33,.27);border:1px solid rgba(255,255,255,.17);position:relative;z-index:1;cursor:pointer}.ff91-privacy span strong,.ff91-privacy span small{display:block}.ff91-privacy span small{margin-top:2px;color:#e8e5ec}.ff91-privacy input{position:absolute;opacity:0;pointer-events:none}.ff91-privacy i{width:48px;height:27px;border-radius:999px;background:#7b7891;position:relative;transition:.22s}.ff91-privacy i:after{content:"";position:absolute;top:4px;left:4px;width:19px;height:19px;border-radius:50%;background:#fff;box-shadow:0 2px 8px rgba(0,0,0,.25);transition:.22s}.ff91-privacy input:checked+i{background:#62c584}.ff91-privacy input:checked+i:after{transform:translateX(21px)}.ff91-privacy b{min-width:58px;text-align:right}
.ff91-section{scroll-margin-top:90px}.ff91-skill-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.ff91-skill{display:grid;grid-template-columns:auto minmax(0,1fr);gap:15px;align-items:center;padding:17px;border:1px solid #dce6df;border-radius:19px;background:linear-gradient(145deg,#fff,#f7faf6)}.ff91-skill-ring{--progress:0;display:grid;place-items:center;width:78px;height:78px;border-radius:50%;background:conic-gradient(#6e4d96 calc(var(--progress)*1%),#e3e9e3 0);position:relative}.ff91-skill-ring:before{content:"";position:absolute;inset:7px;border-radius:50%;background:#fff}.ff91-skill-ring span,.ff91-skill-ring b{position:relative;z-index:1}.ff91-skill-ring span{font-size:25px;transform:translateY(-5px)}.ff91-skill-ring b{position:absolute;bottom:15px;font-size:11px;color:#563873}.ff91-skill>div:last-child>strong{font-size:16px}.ff91-skill p{margin:4px 0;color:var(--muted);font-size:12px}.ff91-skill-meta{display:flex;justify-content:space-between;gap:12px;font-size:11px;font-weight:800;color:#4e6657}.ff91-linear-progress{height:8px;border-radius:999px;background:#e3ebe4;overflow:hidden}.ff91-linear-progress i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#6e4d96,#b996d5);transition:width .35s ease}
.ff91-filter-row{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0}.ff91-filter-row button{border:1px solid #d7e0d8;background:#fff;color:#244c3b;border-radius:999px;padding:8px 13px;font:inherit;font-size:12px;font-weight:850;cursor:pointer}.ff91-filter-row button.active{background:#264f3e;color:#fff;border-color:#264f3e}.ff91-badge-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}.ff91-badge{border:1px solid #dae3dc;border-radius:17px;background:#fff;padding:13px 8px;min-height:132px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;text-align:center;color:#1d3e31;cursor:pointer;transition:transform .18s,box-shadow .18s,border-color .18s}.ff91-badge:hover{transform:translateY(-2px);box-shadow:0 10px 22px rgba(28,65,48,.12)}.ff91-badge>span{font-size:31px}.ff91-badge>strong{font-size:12px;line-height:1.25}.ff91-badge>small{font-size:10px;color:var(--muted)}.ff91-badge>div{width:100%;height:5px;border-radius:99px;background:#e5ebe6;overflow:hidden}.ff91-badge>div i{display:block;height:100%;background:#8a65af}.ff91-badge.is-earned{border-color:#d9b86c;background:linear-gradient(145deg,#fff8df,#fff);box-shadow:0 7px 17px rgba(136,103,31,.1)}.ff91-badge.is-locked{filter:grayscale(.35);opacity:.66}
.ff91-team-list{display:grid;gap:9px}.ff91-team-card{display:grid;grid-template-columns:48px 52px minmax(0,1fr) minmax(150px,.55fr) auto;gap:12px;align-items:center;padding:13px 15px;border:1px solid #dce4dd;border-radius:17px;background:#fff}.ff91-team-card.is-me{border-color:#9878b9;background:linear-gradient(90deg,#f8f2ff,#fff)}.ff91-team-rank{font-size:19px;font-weight:900;text-align:center}.ff91-team-avatar{display:grid;place-items:center;width:46px;height:46px;border-radius:15px;background:#edf4ee;font-size:18px;font-weight:950}.ff91-team-name strong,.ff91-team-name small,.ff91-team-skill strong,.ff91-team-skill small{display:block}.ff91-team-name small,.ff91-team-skill small{color:var(--muted);font-size:11px}.ff91-team-skill{display:grid;grid-template-columns:auto minmax(0,1fr);column-gap:8px;align-items:center}.ff91-team-skill>span{grid-row:1/3;font-size:25px}.ff91-team-score{text-align:right}.ff91-team-score strong,.ff91-team-score span{display:block}.ff91-team-score span{font-size:12px;color:#516b5d}.ff91-original-leaderboard{display:none!important}
.ff91-history-list{display:grid;gap:8px}.ff91-history-row{display:grid;grid-template-columns:42px minmax(0,1fr) auto;gap:12px;align-items:center;padding:12px 14px;border:1px solid #dce5dd;border-radius:15px;background:#fff}.ff91-history-row.positive{border-left:5px solid #4f9a68}.ff91-history-row.negative{border-left:5px solid #b24c4c}.ff91-history-icon{display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:#edf4ee}.ff91-history-row strong,.ff91-history-row small{display:block}.ff91-history-row small{margin-top:3px;color:var(--muted);font-size:11px}.ff91-history-row p{margin:5px 0 0;font-size:11px}.ff91-history-row>b{font-size:15px}.ff91-history-row.negative>b{color:#9a3131}.ff91-history-row.positive>b{color:#2d7f4d}.ff91-history-more{margin-top:12px}
.ff91-badge-detail{text-align:center;padding:12px}.ff91-badge-detail>div:first-child{font-size:68px}.ff91-badge-detail h2{margin:5px 0 15px}.ff91-badge-detail p{text-align:left}.ff91-badge-detail .ff91-linear-progress{height:12px;margin:16px 0}
.ff91-dashboard-game{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto;gap:12px;align-items:stretch;margin:17px 0;padding:15px;border:1px solid #d1ddd3;border-radius:21px;background:linear-gradient(135deg,#f8fbf7,#f1eef8);box-shadow:0 10px 26px rgba(35,64,48,.08)}.ff91-dashboard-level,.ff91-dashboard-mission{display:grid;grid-template-columns:auto minmax(0,1fr);gap:12px;align-items:center;padding:12px 14px;border-radius:16px;background:#fff}.ff91-dashboard-level>span,.ff91-dashboard-mission>span{font-size:29px}.ff91-dashboard-level small,.ff91-dashboard-level strong,.ff91-dashboard-mission small,.ff91-dashboard-mission strong{display:block}.ff91-dashboard-level small,.ff91-dashboard-mission small{color:#5b7465;font-size:10px;font-weight:900;letter-spacing:.05em;text-transform:uppercase}.ff91-dashboard-level p,.ff91-dashboard-mission p{margin:5px 0 0;font-size:10px;color:#607667}.ff91-dashboard-game>.btn{align-self:center;white-space:nowrap}.ff91-dashboard-mission.complete{background:#fff9df;border:1px solid #e5cb7b}
@media(max-width:1000px){.ff91-badge-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.ff91-team-card{grid-template-columns:44px 48px minmax(0,1fr) auto}.ff91-team-skill{display:none}.ff91-dashboard-game{grid-template-columns:1fr 1fr}.ff91-dashboard-game>.btn{grid-column:1/-1}}
@media(max-width:720px){.ff91-profile-card{grid-template-columns:1fr;padding:19px}.ff91-profile-score{align-items:flex-start}.ff91-profile-score>small{text-align:left}.ff91-profile-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.ff91-privacy{grid-template-columns:minmax(0,1fr) auto}.ff91-privacy>b{grid-column:2}.ff91-skill-grid{grid-template-columns:1fr}.ff91-badge-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.ff91-team-card{grid-template-columns:38px 44px minmax(0,1fr) auto;padding:11px}.ff91-team-avatar{width:42px;height:42px}.ff91-dashboard-game{grid-template-columns:1fr}.ff91-dashboard-game>.btn{grid-column:auto}.ff91-history-row{grid-template-columns:38px minmax(0,1fr)}.ff91-history-row>b{grid-column:2;text-align:left}}
@media(max-width:440px){.ff91-profile-identity{flex-direction:column}.ff91-profile-stats{grid-template-columns:1fr 1fr}.ff91-badge-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ff91-team-card{grid-template-columns:34px 40px minmax(0,1fr)}.ff91-team-score{grid-column:3;text-align:left;display:flex;gap:9px}.ff91-privacy{grid-template-columns:1fr auto}.ff91-privacy b{display:none}}

/* FF93 unified champion design */
.v8-progress-panel,
.ff90-farm-level,
.ff90-mission,
.ff91-section{
  background:linear-gradient(135deg,#244873 0%,#395d93 48%,#173c58 100%)!important;
  border:1px solid rgba(255,255,255,.12)!important;
  border-radius:24px!important;
  box-shadow:0 18px 42px rgba(19,54,85,.16)!important;
  color:#fff!important;
}
.v8-progress-panel .eyebrow,
.ff90-farm-level .eyebrow,
.ff90-mission .eyebrow,
.ff91-section .eyebrow{color:#d9e8f8!important}
.v8-progress-panel h2,
.v8-progress-panel h3,
.v8-progress-panel strong,
.ff90-farm-level h3,
.ff90-farm-level strong,
.ff90-mission h3,
.ff90-mission strong,
.ff91-section h3,
.ff91-section strong{color:#fff!important}
.v8-progress-panel p,
.v8-progress-panel small,
.ff90-farm-level p,
.ff90-farm-level small,
.ff90-mission p,
.ff90-mission small,
.ff90-mission span,
.ff91-section p,
.ff91-section small{color:rgba(238,244,250,.92)!important}
.v8-progress-panel .v8-progress,
.ff90-progress,
.ff91-linear-progress{background:rgba(255,255,255,.18)!important}
.v8-progress-panel .v8-progress i,
.ff90-progress i,
.ff91-linear-progress i{background:linear-gradient(90deg,#ffe17a,#fff0bd)!important}
.ff91-skill,
.ff91-badge,
.ff91-team-card,
.ff91-history-row{background:rgba(255,255,255,.11)!important;border:1px solid rgba(255,255,255,.17)!important;color:#fff!important;box-shadow:none!important}
.ff91-skill p,
.ff91-badge small,
.ff91-team-name small,
.ff91-team-skill small,
.ff91-team-score span,
.ff91-history-row small,
.ff91-history-row p{color:rgba(232,241,249,.85)!important}
.ff91-skill-meta{color:#e7eef6!important}
.ff91-skill-ring{background:conic-gradient(#ffe17a calc(var(--progress)*1%),rgba(255,255,255,.22) 0)!important}
.ff91-skill-ring:before{background:rgba(9,32,54,.88)!important}
.ff91-skill-ring b{color:#fff!important}
.ff91-filter-row button{background:rgba(255,255,255,.08)!important;border:1px solid rgba(255,255,255,.2)!important;color:#fff!important}
.ff91-filter-row button.active{background:#fff!important;border-color:#fff!important;color:#173c58!important}
.ff91-badge.is-earned{background:linear-gradient(145deg,rgba(255,248,223,.98),rgba(255,255,255,.92))!important;color:#173c58!important}
.ff91-badge.is-earned small,.ff91-badge.is-earned strong{color:#173c58!important}
.ff91-badge.is-earned>div{background:rgba(23,60,88,.12)!important}
.ff91-team-card.is-me{background:rgba(255,255,255,.16)!important;border-color:rgba(255,255,255,.32)!important}
.ff91-team-avatar,.ff91-history-icon{background:rgba(255,255,255,.16)!important;color:#fff!important}
.ff90-farm-level-icon,
.ff90-mission-value,
.ff90-mission-head>div:last-child{background:rgba(255,255,255,.12)!important;border-radius:18px!important}
.ff90-mission.empty{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:14px}
.ff90-farm-level .btn,
.ff90-mission .btn,
.ff91-section .btn{box-shadow:none}
@media(max-width:720px){
  .ff90-mission.empty{grid-template-columns:1fr}
}

/* FF95 champion cleanup */
.ff91-history + .v8-section{display:none!important;}

/* FF96 champion readability fix */
.ff90-farm-level,
.ff90-mission,
.ff91-section,
.ff91-history,
.ff91-badge,
.ff91-skill,
.ff91-team-card,
.ff91-history-row{
  color:#173c58!important;
}
.ff90-farm-level .eyebrow,
.ff90-mission .eyebrow,
.ff91-section .eyebrow,
.ff91-history .eyebrow,
.ff91-badge .eyebrow,
.ff91-team-card .eyebrow{
  color:#5b7891!important;
}
.ff90-farm-level h2,.ff90-farm-level h3,.ff90-farm-level strong,
.ff90-mission h2,.ff90-mission h3,.ff90-mission strong,
.ff91-section h2,.ff91-section h3,.ff91-section h4,.ff91-section strong,
.ff91-history h2,.ff91-history h3,.ff91-history strong,
.ff91-skill strong,.ff91-badge strong,.ff91-team-card strong,.ff91-history-row strong{
  color:#173c58!important;
}
.ff90-farm-level p,.ff90-farm-level small,.ff90-farm-level span,
.ff90-mission p,.ff90-mission small,.ff90-mission span,
.ff91-section p,.ff91-section small,.ff91-section span,
.ff91-history p,.ff91-history small,.ff91-history span,
.ff91-skill p,.ff91-skill small,.ff91-skill span,
.ff91-badge p,.ff91-badge small,.ff91-badge span,
.ff91-team-card p,.ff91-team-card small,.ff91-team-card span,
.ff91-history-row p,.ff91-history-row small,.ff91-history-row span{
  color:#617b8f!important;
  opacity:1!important;
}
.ff91-badge,
.ff91-skill,
.ff91-team-card,
.ff91-history-row{
  background:#f9fbfe!important;
  border:1px solid #d8e4ef!important;
}
.ff91-badge.is-earned{
  background:linear-gradient(145deg,#fff9ea,#ffffff)!important;
  border-color:#ecd27b!important;
}
.ff91-badge.is-earned strong,
.ff91-badge.is-earned small,
.ff91-badge.is-earned span{
  color:#173c58!important;
}
.ff91-filter-row button{
  background:#f6f9fd!important;
  color:#173c58!important;
  border:1px solid #d8e4ef!important;
}
.ff91-filter-row button.active{
  background:#173c58!important;
  color:#fff!important;
  border-color:#173c58!important;
}
.ff91-team-name,
.ff91-team-score,
.ff91-history-meta,
.ff91-skill-meta,
.ff91-skill-copy,
.ff91-badge-copy{
  color:#173c58!important;
}
.ff91-team-score span:last-child,
.ff91-history-row span:last-child{
  color:#1d8459!important;
  font-weight:800!important;
}
.ff91-history-row .neg,
.ff91-history-row .minus,
.ff91-history-row [data-negative="1"]{
  color:#c23c3c!important;
}

/* FF97 champion hero blue contrast fix */
.v8-hero,
.v8-champion-hero,
.ff90-hero,
.ff91-profile-card.is-hero,
.ff91-profile-card.hero,
.ff91-profile-card{
  background:linear-gradient(135deg,#173c58 0%,#244873 58%,#395d93 100%)!important;
  color:#ffffff!important;
  border:1px solid rgba(255,255,255,.10)!important;
  box-shadow:0 18px 42px rgba(23,60,88,.22)!important;
}
.v8-hero .eyebrow,
.v8-champion-hero .eyebrow,
.ff90-hero .eyebrow,
.ff91-profile-card .eyebrow,
.ff91-profile-card .ff91-kicker,
.ff91-profile-card small,
.ff91-profile-card .ff91-note{
  color:#dce8f6!important;
}
.v8-hero h1,.v8-hero h2,.v8-hero h3,.v8-hero strong,
.v8-champion-hero h1,.v8-champion-hero h2,.v8-champion-hero h3,.v8-champion-hero strong,
.ff90-hero h1,.ff90-hero h2,.ff90-hero h3,.ff90-hero strong,
.ff91-profile-card h1,.ff91-profile-card h2,.ff91-profile-card h3,.ff91-profile-card h4,
.ff91-profile-card strong,.ff91-profile-card b{
  color:#ffffff!important;
}
.v8-hero p,.v8-hero span,
.v8-champion-hero p,.v8-champion-hero span,
.ff90-hero p,.ff90-hero span,
.ff91-profile-card p,.ff91-profile-card span{
  color:rgba(243,248,253,.96)!important;
}
.ff91-profile-card .ff91-avatar,
.ff91-profile-card .ff91-stat,
.ff91-profile-card .ff91-privacy,
.ff91-profile-card .ff91-progress-box,
.ff91-profile-card .ff91-top-skill,
.ff91-profile-card .ff91-mission-box,
.ff91-profile-card .ff91-help-box{
  background:rgba(255,255,255,.10)!important;
  border:1px solid rgba(255,255,255,.16)!important;
  color:#ffffff!important;
}
.ff91-profile-card .ff91-stat small,
.ff91-profile-card .ff91-stat span,
.ff91-profile-card .ff91-progress-box small,
.ff91-profile-card .ff91-progress-box span,
.ff91-profile-card .ff91-privacy small,
.ff91-profile-card .ff91-privacy span{
  color:#dce8f6!important;
}
.ff91-profile-card .ff91-linear-progress,
.ff91-profile-card .v8-progress,
.ff91-profile-card .progress{
  background:rgba(255,255,255,.18)!important;
}
.ff91-profile-card .ff91-linear-progress i,
.ff91-profile-card .v8-progress i,
.ff91-profile-card .progress i{
  background:linear-gradient(90deg,#ffe17a,#fff0bd)!important;
}
.ff91-profile-card input[type="checkbox"] + b,
.ff91-profile-card label b{
  color:#ffffff!important;
}
.v8-progress-panel{
  background:#ffffff!important;
  color:#173c58!important;
}
.v8-progress-panel .eyebrow,
.v8-progress-panel small,
.v8-progress-panel span,
.v8-progress-panel p{color:#617b8f!important}
.v8-progress-panel h2,
.v8-progress-panel h3,
.v8-progress-panel strong{color:#173c58!important}
