.cloud-panel { display: grid; gap: 10px; margin-bottom: 12px; }
.cloud-panel h2 { margin: 0; font-size: 22px; letter-spacing: -.03em; overflow-wrap: anywhere; }
.cloud-panel h3 { margin: 0; font-size: 16px; overflow-wrap: anywhere; }
.cloud-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; flex-wrap: wrap; }
.cloud-heading > div { min-width: 0; overflow-wrap: anywhere; }
.cloud-form { display: grid; gap: 10px; margin-top: 4px; }
.cloud-form .field { margin: 0; }
.cloud-buttons { display: flex; gap: 7px; flex-wrap: wrap; align-items: center; }
.cloud-metrics, .cloud-attributes { display: grid; grid-template-columns: repeat(auto-fit,minmax(76px,1fr)); gap: 6px; }
.cloud-metrics > div, .cloud-attributes > div { border: 1px solid var(--line,#373a58); border-radius: 9px; background: #20223a; padding: 8px; display: grid; gap: 2px; }
.cloud-metrics span, .cloud-attributes span { color: var(--muted,#c6c2d6); font-size: 11px; }
.cloud-metrics strong, .cloud-attributes strong { color: var(--ember,#ffc184); font-size: 19px; }
.cloud-attributes { grid-template-columns: repeat(auto-fit,minmax(72px,1fr)); }
.cloud-attributes strong { font-size: 15px; }
.cloud-friend-list { display: grid; gap: 8px; }
.cloud-friend { display: grid; gap: 6px; padding: 11px; background: #1c1d35; border: 1px solid var(--line,#373a58); border-radius: 10px; }
.cloud-checkbox { display: flex; gap: 7px; align-items: flex-start; font-size: 13px; line-height: 1.5; }
.cloud-checkbox input { accent-color: var(--ember,#ffc184); flex: 0 0 17px; width: 17px; height: 17px; }
.cloud-panel .button, .cloud-buttons .button { min-height: 44px; border: 1px solid #464968; border-radius: 10px; color: #f5efff; background: #282943; padding: 8px 12px; font-weight: 720; font-size: 13px; text-align: center; cursor: pointer; }
.cloud-panel .button.primary, .cloud-buttons .button.primary { border-color: #ffc28c; color: #201620; background: linear-gradient(105deg,#ffc987,#ffaa87); }
.cloud-panel .button:disabled, .cloud-buttons .button:disabled { opacity: .58; cursor: default; }
.cloud-status { border: 1px solid #6b598d; border-radius: 10px; padding: 10px; margin: 10px 0; background: #27243d; color: #f1e6fd; font-size: 13px; line-height: 1.45; }
.cloud-panel input[data-share-url] { font-size: 13px; }
.cloud-panel.cloud-auth {
  box-sizing: border-box;
  width: 100%;
  max-width: 33rem;
  margin-inline: auto;
  padding: clamp(14px, 4vw, 24px);
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
}
.cloud-auth .cloud-form { grid-template-columns: minmax(0, 1fr); gap: 12px; }
.cloud-auth .field { min-width: 0; font-size: 14px; }
.cloud-auth .field input {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  min-height: 48px;
  padding: 10px 12px;
  font-size: 16px;
}
.cloud-auth .button {
  min-width: 0;
  min-height: 48px;
  padding: 10px 12px;
  font-size: 15px;
  line-height: 1.35;
  white-space: normal;
  overflow-wrap: anywhere;
}
.cloud-auth .cloud-auth-actions { gap: 10px; }
.cloud-auth-actions .button { flex: 1 1 13rem; }
.cloud-auth-actions [data-cloud="local"] { flex-basis: 100%; }
@media (max-width: 360px) { .cloud-attributes { grid-template-columns: repeat(2,minmax(0,1fr)); } }

.feed-compose textarea { min-height: 95px; resize: vertical; width: 100%; max-width: 100%; box-sizing: border-box; font-size: 16px; }
.feed-compose input[type="file"] { max-width: 100%; min-width: 0; overflow: hidden; font-size: 14px; }
.feed-timeline { display: grid; gap: 12px; margin-bottom: 16px; }
.feed-post { margin-bottom: 0; }
.feed-caption { white-space: pre-wrap; overflow-wrap: anywhere; }
.feed-picture { margin: 0; min-width: 0; }
.feed-picture figcaption { padding: 12px 0; }
.feed-picture img, .feed-photo, .feed-preview { width: 100%; max-height: 540px; object-fit: contain; border-radius: 10px; background: #131528; }
.feed-preview { max-height: 270px; }
.feed-picture img[hidden], .feed-picture figcaption[hidden] { display: none; }
.access-badge { margin: 10px 0 14px; padding: 9px 12px; border: 1px solid #766044; border-radius: 10px; background: #2a2331; color: #ffd29b; font-size: 14px; overflow-wrap: anywhere; }
.plan-prices { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
.plan-prices > div { display: grid; gap: 6px; padding: 14px; }
.plan-prices strong { font-size: 28px; color: #ffcb8d; }
.access-gate { max-width: 620px; margin-inline: auto; }
.player-avatar { width: 62px; height: 62px; border-radius: 50%; object-fit: cover; background: #141525; flex: 0 0 auto; }
.ranking-player { display: grid; gap: 10px; }
.ranking-identity { display: flex; align-items: center; gap: 12px; min-width: 0; flex-wrap: wrap; }
.ranking-identity > div { min-width: 0; flex: 1; overflow-wrap: anywhere; }
.ranking-position { min-width: 34px; color: #ffd29b; font-size: 20px; }
.ranking-player.is-me { border: 2px solid #ffc183; }
.community-badges, .admin-users { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,240px),1fr)); gap: 12px; }
.community-badges .badge-card { display: grid; gap: 8px; align-content: start; border-top: 3px solid #c18a64; }
.community-badges [data-tier="silver"] { border-top-color: #c4cced; }
.community-badges [data-tier="gold"] { border-top-color: #ffca75; }
.admin-confirm { display: grid; gap: 10px; padding: 12px; border: 1px solid #bda070; border-radius: 10px; }
.admin-users .cloud-panel { margin-bottom: 0; align-content: start; }
.portal-tabs .button { min-height: 46px; }
.cloud-form select, .cloud-form textarea { min-width: 0; max-width: 100%; width: 100%; box-sizing: border-box; font-size: 16px; padding: 10px; border: 1px solid #575a77; border-radius: 8px; background: #111327; color: inherit; }
.cloud-form select { min-height: 46px; }
.cloud-column { min-width: 0; }
@media (max-width:360px) { .plan-prices { grid-template-columns: 1fr; } }

.cloud-panel.cloud-auth-sent h2 { font-size: clamp(27px, 6vw, 35px); }
.cloud-auth-sent > p { font-size: 16px; line-height: 1.6; }
.cloud-friend-link { display: flex; align-items: center; gap: 12px; color: inherit; text-decoration: none; overflow-wrap: anywhere; }
.cloud-friend-link:hover { border-color: var(--ember,#ffc184); }
.cloud-friend-link .player-avatar { width: 44px; height: 44px; }

.fyl-charts{display:grid;gap:1rem;margin-block:1rem;min-width:0}.fyl-charts h2{margin:0}
fyl-stat-view{display:grid;gap:.85rem;min-width:0}
.fyl-chart-controls,.fyl-chart-plots{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,14rem),1fr));gap:1rem}
.fyl-chart-controls label{display:grid;gap:.4rem;min-width:0}.fyl-chart-controls select{width:100%;max-width:100%;min-height:42px}
.fyl-chart-plots figure{border:1px solid #58546c;border-radius:.8rem;margin:0;padding:.85rem;min-width:0}
.fyl-chart-plots figcaption{font-weight:700}.fyl-chart-plots svg{width:100%;height:auto;display:block}
.fyl-chart-plots svg text{font:14px system-ui;fill:currentColor}.fyl-wire{fill:none;stroke:#797487;stroke-width:1}
.fyl-current{fill:#ffb47633;stroke:#ffc18c;stroke-width:2.8}.fyl-prior{fill:none;stroke:#9ddde8;stroke-width:2;stroke-dasharray:6 3}
.fyl-trend{fill:none;stroke:#ffc18c;stroke-width:3}.fyl-dot{fill:#ffc18c}
.fyl-table{overflow-x:auto}.fyl-table table{border-collapse:collapse;width:100%}.fyl-table th,.fyl-table td{padding:.5rem;text-align:left;border-bottom:1px solid #565264}
.fyl-chart-controls select:focus-visible,.fyl-charts summary:focus-visible{outline:2px solid #ffc18c;outline-offset:2px}
.visible-awards-list .cloud-checkbox{gap:.7rem;align-items:center;min-height:54px}.visible-awards-list .cloud-checkbox img{width:38px;height:38px;flex:0 0 38px}
.visible-awards-list .cloud-checkbox:has(:checked){border-color:#edb77d}
.fyl-weeklies{display:grid;gap:14px}.fyl-weeklies>.row-between{display:flex;align-items:center;gap:12px 24px;flex-wrap:wrap}
.fyl-weeklies>.row-between h2,.fyl-weeklies>.weekly-available{margin:0}.fyl-photo-field{margin-block:1.5rem .75rem;padding-block-start:1.1rem;border-top:1px solid #57516a;display:grid;gap:.6rem}.fyl-photo-field>*{margin:0}

.fyl-award-icon { display:inline-block; vertical-align:middle; flex:none; max-width:100%; }

.friends-page{display:grid;gap:1.5rem}.friends-main-layout{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(270px,.9fr);gap:1.25rem;align-items:start}.friends-add-column{display:grid;gap:1.1rem}.friend-directory,.friend-add,.friend-invitations{padding:1.4rem!important}.friend-directory header p,.friend-add>p{margin-top:.75rem;line-height:1.65}.friend-filter{margin:1.4rem 0}.friend-person-grid,.friend-request-list{display:grid;gap:1rem}.friend-person-card,.friend-request-card{padding:1.1rem;border:1px solid var(--line,#514962);border-radius:13px;background:var(--raised,#242238)}.friend-person-card{display:flex;justify-content:space-between;align-items:center;gap:1rem;flex-wrap:wrap}.friend-person-identity{display:flex;align-items:center;gap:1rem;min-width:0;text-decoration:none;color:inherit}.friend-person-identity h3{font-size:1.05rem;line-height:1.5;overflow-wrap:anywhere;margin:0}.friend-person-identity img{width:58px;height:58px;object-fit:cover;border-radius:13px;flex:none}.friend-person-actions{display:flex;gap:.75rem;flex-wrap:wrap}.friend-person-actions button{min-height:44px}.friend-challenge-cta{min-width:92px;border-color:#ffcc92!important;box-shadow:0 3px 0 #d6935f44}.friend-invitations{border-color:#bb926b!important}.friend-invitations>header{margin-bottom:1.2rem}.friend-request-card{display:flex;justify-content:space-between;align-items:center;gap:1.1rem;flex-wrap:wrap}.friend-request-card h3{margin:0 0 .5rem;font-size:1.05rem}.friend-request-card .cloud-buttons{gap:.75rem}.friend-sent{padding:1.1rem}.friend-sent summary{cursor:pointer;min-height:44px}.friend-sent .friend-request-list{margin-top:1rem}.friend-empty{padding:2rem 1rem;border:1px dashed #68617d;border-radius:12px;line-height:1.7}.friend-empty p{margin-top:1rem}.friend-total{color:var(--muted);font-size:1rem;margin-left:.4rem}.friend-person-card[hidden]{display:none}.social-count{display:inline-flex;align-items:center;justify-content:center;min-width:1.4rem;min-height:1.4rem;padding:0 .4rem;margin-left:.5rem;border-radius:99px;background:#ffbd85;color:#27162e;font-size:.8rem;font-weight:800;line-height:1.2}.social-count[hidden]{display:none!important}.friend-subnav{display:flex!important;flex-wrap:wrap;gap:.5rem;padding:.5rem!important;margin:1rem 0 1.5rem!important}.friend-subnav button{flex:0 1 auto;min-height:46px;padding:.75rem 1rem}.friend-profile-actions{display:flex;gap:.8rem;flex-wrap:wrap;margin-top:1.5rem}.panel :is(h2,h3,h4)+p{margin-top:.75rem}.panel p{line-height:1.65}.panel p+p{margin-top:.65rem}.panel p+button,.panel p+.button-row,.panel p+.cloud-buttons{margin-top:1rem}.panel .row-between{gap:1rem;flex-wrap:wrap}@media(max-width:760px){.friends-main-layout{grid-template-columns:1fr}.friends-add-column{grid-row:auto}.friend-person-actions{width:100%}.friend-person-actions button{flex:1}.friend-subnav button{flex:1 1 calc(50% - .5rem)}}

.fyl-chart-controls{display:flex;flex-wrap:wrap;gap:1rem;margin:1.25rem 0}.fyl-chart-controls label{display:grid;gap:.5rem;min-width:150px;flex:1}.fyl-chart-controls select{width:100%;min-height:44px}.fyl-history-note{margin-bottom:1.5rem;line-height:1.65}.fyl-single-stats{padding:1.25rem;border:1px solid var(--border,#49415e);border-radius:14px}.fyl-single-stats p{display:flex;justify-content:space-between;gap:2rem;margin:.8rem 0}

.friend-profile-actions{margin-bottom:1.5rem}.dm-privacy-link{display:inline-block;margin:1rem 0 1.5rem;font-size:.9rem}.training-food-note h3{line-height:1.4;margin-bottom:.85rem}.training-food-note p{line-height:1.65;margin-bottom:1.1rem}

/* 0.9.5 · gráficos contenidos y legibles en móvil. */
.fyl-charts,fyl-stat-view,.fyl-chart-plots,.fyl-chart-controls,.fyl-charts details,.fyl-table{min-width:0;max-width:100%;box-sizing:border-box}
.fyl-charts{width:100%;overflow-wrap:anywhere}fyl-stat-view{display:grid;width:100%;grid-template-columns:minmax(0,1fr)}
.fyl-chart-plots{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}.fyl-chart-plots>*{min-width:0;max-width:100%;box-sizing:border-box}.fyl-chart-plots svg{display:block;width:100%;max-width:100%;height:auto}.fyl-chart-plots figure{margin:0}
.fyl-chart-controls label{min-width:0;flex:1 1 160px}.fyl-chart-controls select{min-width:0;max-width:100%}.fyl-history-note{font-size:.875rem;white-space:normal}.fyl-single-stats h3{font-size:1.05rem}.fyl-single-stats p{gap:1rem;margin:.6rem 0}.fyl-table{display:block;overflow-x:auto;overscroll-behavior-x:contain}.fyl-table table{font-size:.875rem;min-width:540px}.fyl-charts summary{padding:.75rem 0;cursor:pointer}
.training-library-shortcuts{margin-block:1.5rem 1.75rem;gap:.75rem;flex-wrap:wrap}
.rank-metrics{display:flex;gap:.6rem;flex-wrap:wrap;margin:1.25rem 0}.rank-metrics button{min-height:44px}.rank-metrics button[aria-pressed=true]{background:#ffca91;color:#20172b;border-color:#ffca91;font-weight:700}.rank-selected-stat{border-color:#ffca91!important;color:#ffdbaf;background:#ffca9114}
@media(max-width:600px){.fyl-chart-plots{grid-template-columns:minmax(0,1fr)}.fyl-chart-plots figure{padding:.7rem}.fyl-chart-plots svg{max-height:245px}.fyl-single-stats{padding:1rem}.fyl-chart-controls{gap:.75rem;margin:.75rem 0}.fyl-chart-controls label{flex-basis:100%}.fyl-charts h2{font-size:1.2rem}.rank-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.rank-metrics button{padding:.65rem .5rem;min-width:0}}

img[src*="coll-world-common"],img[src*="pass-world-common"]{outline:2px solid #a5aeba;outline-offset:-2px}img[src*="coll-world-rare"],img[src*="pass-world-rare"]{outline:2px solid #76baff;outline-offset:-2px}img[src*="coll-world-epic"],img[src*="pass-world-epic"]{outline:2px solid #cda0ff;outline-offset:-2px}img[src*="coll-world-legendary"],img[src*="pass-world-legendary"]{outline:2px solid #efc66b;outline-offset:-2px}img[src*="pass-world-"][src*="-31.webp"],img[src*="pass-world-"][src*="-32.webp"],img[src*="pass-world-"][src*="-33.webp"],img[src*="pass-world-"][src*="-34.webp"],img[src*="pass-world-"][src*="-35.webp"]{outline:3px solid #efc66b;outline-offset:-3px;box-shadow:0 0 10px #efc66b55}

/* Frames also support remotely published seasons. */
img[src*="/retratos/coll-"][ src*="-common-"],img[src*="/retratos/pass-"][ src*="-common-"],img[data-rank-portrait*="/retratos/coll-"][ data-rank-portrait*="-common-"],img[data-rank-portrait*="/retratos/pass-"][ data-rank-portrait*="-common-"]{outline:2px solid #a5aeba;outline-offset:-2px}
img[src*="/retratos/coll-"][ src*="-rare-"],img[src*="/retratos/pass-"][ src*="-rare-"],img[data-rank-portrait*="/retratos/coll-"][ data-rank-portrait*="-rare-"],img[data-rank-portrait*="/retratos/pass-"][ data-rank-portrait*="-rare-"]{outline:2px solid #76baff;outline-offset:-2px}
img[src*="/retratos/coll-"][ src*="-epic-"],img[src*="/retratos/pass-"][ src*="-epic-"],img[data-rank-portrait*="/retratos/coll-"][ data-rank-portrait*="-epic-"],img[data-rank-portrait*="/retratos/pass-"][ data-rank-portrait*="-epic-"]{outline:2px solid #cda0ff;outline-offset:-2px}
img[src*="/retratos/coll-"][ src*="-legendary-"],img[src*="/retratos/pass-"][ src*="-legendary-"],img[data-rank-portrait*="/retratos/coll-"][ data-rank-portrait*="-legendary-"],img[data-rank-portrait*="/retratos/pass-"][ data-rank-portrait*="-legendary-"]{outline:2px solid #efc66b;outline-offset:-2px}
img[src*="/retratos/pass-"][src*="-31.webp"],img[src*="/retratos/pass-"][src*="-31-"],img[data-rank-portrait*="/retratos/pass-"][data-rank-portrait*="-31.webp"],img[data-rank-portrait*="/retratos/pass-"][data-rank-portrait*="-31-"],img[src*="/retratos/pass-"][src*="-32.webp"],img[src*="/retratos/pass-"][src*="-32-"],img[data-rank-portrait*="/retratos/pass-"][data-rank-portrait*="-32.webp"],img[data-rank-portrait*="/retratos/pass-"][data-rank-portrait*="-32-"],img[src*="/retratos/pass-"][src*="-33.webp"],img[src*="/retratos/pass-"][src*="-33-"],img[data-rank-portrait*="/retratos/pass-"][data-rank-portrait*="-33.webp"],img[data-rank-portrait*="/retratos/pass-"][data-rank-portrait*="-33-"],img[src*="/retratos/pass-"][src*="-34.webp"],img[src*="/retratos/pass-"][src*="-34-"],img[data-rank-portrait*="/retratos/pass-"][data-rank-portrait*="-34.webp"],img[data-rank-portrait*="/retratos/pass-"][data-rank-portrait*="-34-"],img[src*="/retratos/pass-"][src*="-35.webp"],img[src*="/retratos/pass-"][src*="-35-"],img[data-rank-portrait*="/retratos/pass-"][data-rank-portrait*="-35.webp"],img[data-rank-portrait*="/retratos/pass-"][data-rank-portrait*="-35-"]{outline:3px solid #efc66b;outline-offset:-3px;box-shadow:0 0 10px #efc66b55}
