/* wikifc1 (25 Nov 2026): the Field Calls section - the intro, call tiles and the call page. Same build as the Augstones
   section (wiki-augstones.css); medal colours bronze / silver / gold, gear rarity in the game's tier colours
   (green Rare, blue Extra rare, purple Epic). */
.wiki-page[data-wiki-section=fieldcalls] { --wiki-accent: #a1461b; --wiki-tint: #fbf1ea; --wiki-line: #f0dccd; --wiki-ink: #5c2608; }
:root[data-theme="dark"] .wiki-page[data-wiki-section=fieldcalls] { --wiki-accent: #f3a77c; --wiki-tint: rgba(243, 167, 124, 0.10); --wiki-line: rgba(243, 167, 124, 0.22); --wiki-ink: #fde3d2; }

/* Medals and rarity: words on a soft chip. */
.wiki-fc-bronze { --c: #7c3d12; --c-bg: #f6dfcc; }
.wiki-fc-silver { --c: #374151; --c-bg: #e5e7eb; }
.wiki-fc-gold { --c: #854d0e; --c-bg: #fcefc2; }
.wiki-fc-rare { --c: #166534; --c-bg: #dcf5e4; }
.wiki-fc-extra-rare { --c: #1e40af; --c-bg: #dde8fd; }
.wiki-fc-epic { --c: #6b21a8; --c-bg: #f1e6fd; }
.wiki-fc-legendary, .wiki-fc-normal { --c: #4b5563; --c-bg: #eceef2; }
:root[data-theme="dark"] .wiki-fc-bronze { --c: #f0b48a; --c-bg: rgba(240, 180, 138, 0.14); }
:root[data-theme="dark"] .wiki-fc-silver { --c: #e5e7eb; --c-bg: rgba(229, 231, 235, 0.13); }
:root[data-theme="dark"] .wiki-fc-gold { --c: #fbbf24; --c-bg: rgba(251, 191, 36, 0.13); }
:root[data-theme="dark"] .wiki-fc-rare { --c: #4ade80; --c-bg: rgba(74, 222, 128, 0.12); }
:root[data-theme="dark"] .wiki-fc-extra-rare { --c: #7cb4fb; --c-bg: rgba(96, 165, 250, 0.14); }
:root[data-theme="dark"] .wiki-fc-epic { --c: #cfa2fb; --c-bg: rgba(192, 132, 252, 0.14); }
.wiki-fc-medal, .wiki-fc-tier { display: inline-flex; align-items: center; padding: 2px 10px; border-radius: 999px; font-size: .84rem; font-weight: 700; line-height: 1.6; color: var(--c); background: var(--c-bg); white-space: nowrap; }
.wiki-fc-medal { min-width: 4.6em; justify-content: center; }

/* The intro under the heading: short lines and the medal box. */
.wiki-fc-intro { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 16px; margin-top: 16px; }
.wiki-fc-howto { margin: 0; padding: 14px 18px 14px 34px; border-radius: 16px; background: var(--wiki-tint); }
.wiki-fc-howto li { margin: 5px 0; font-size: .98rem; line-height: 1.5; color: var(--text-strong); }
.wiki-fc-howto li::marker { color: var(--wiki-accent); }
.wiki-fc-medals { padding: 14px 18px; border-radius: 16px; border: 1px solid var(--wiki-line); background: var(--surface); }
.wiki-fc-medals-title { margin: 0 0 8px; font-weight: 700; color: var(--wiki-ink); }
.wiki-fc-medal-row { display: flex; gap: 8px; align-items: center; margin: 6px 0; }
.wiki-fc-medals-note { margin: 10px 0 0; font-size: .85rem; line-height: 1.45; color: var(--text-3); }

/* The list. */
.wiki-fc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; padding: 0; margin: 20px 0 0; list-style: none; }
.wiki-fc-grid > li { min-width: 0; }
.wiki-catalog .wiki-fc-tile {
  display: flex; align-items: flex-start; gap: 14px; height: 100%; min-width: 0; padding: 14px 16px;
  border: 1px solid var(--wiki-line); border-radius: 16px; background: var(--surface); color: var(--text-main); text-decoration: none; overflow-wrap: anywhere;
}
.wiki-catalog .wiki-fc-tile:hover { border-color: var(--wiki-accent); background: var(--surface); box-shadow: 0 2px 10px rgba(0, 0, 0, .06); }
.wiki-fc-pic, .wiki-fc-big-pic { position: relative; flex: none; display: grid; place-items: center; overflow: hidden; border-radius: 14px; background: var(--wiki-tint); }
.wiki-fc-pic { width: 64px; height: 64px; }
.wiki-fc-big-pic { width: 112px; height: 112px; border-radius: 20px; background: var(--surface); box-shadow: 0 1px 3px rgba(0, 0, 0, .08); }
.wiki-fc-pic img, .wiki-fc-big-pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.wiki-fc-badge { position: absolute; left: 4px; right: 4px; bottom: 4px; padding: 1px 4px; border-radius: 8px; font-size: .72rem; font-weight: 800; text-align: center; color: #fff; background: rgba(92, 38, 8, .82); }
.wiki-fc-big-pic .wiki-fc-badge { font-size: .9rem; left: 8px; right: 8px; bottom: 8px; }
.wiki-fc-copy { flex: 1; min-width: 0; }
.wiki-fc-heading { display: flex; align-items: start; justify-content: space-between; gap: 6px 8px; flex-wrap: wrap; }
.wiki-fc-heading h3 { margin: 0; font-size: 1rem; line-height: 1.35; color: var(--wiki-ink); min-width: 0; }
.wiki-fc-kind { flex: none; padding: 2px 9px; border-radius: 999px; font-size: .72rem; font-weight: 700; line-height: 1.6; color: var(--wiki-accent); background: var(--wiki-tint); }
.wiki-fc-where { margin: 4px 0 0; font-size: .84rem; font-weight: 600; color: var(--text-2); }
.wiki-fc-goal { margin: 6px 0 0; font-size: .88rem; line-height: 1.4; color: var(--text-strong); }
.wiki-fc-medal-line { display: flex; flex-wrap: wrap; gap: 5px 10px; margin: 8px 0 0; }
.wiki-fc-pair { display: inline-flex; gap: 3px; white-space: nowrap; }
.wiki-fc-medal-line .wiki-fc-medal { min-width: 0; }
.wiki-fc-medal-line .wiki-fc-medal, .wiki-fc-medal-line .wiki-fc-tier { padding: 1px 7px; font-size: .72rem; }
.wiki-fc-count { margin: 6px 0 0; font-size: .8rem; color: var(--text-2); }

/* The call page. */
.wiki-detail.wiki-fc-page { border-top: 0; padding-top: 0; }
.wiki-fc-page > .wiki-entry-meta { display: none; }
.wiki-fc-hero { display: flex; gap: 22px; align-items: flex-start; padding: 26px 28px; border-radius: 22px; background: var(--wiki-tint); }
.wiki-fc-intro-copy { flex: 1; min-width: 0; }
.wiki-fc-page .wiki-fc-title { margin: 0 0 10px; font-size: 2.1rem; line-height: 1.15; color: var(--wiki-ink); overflow-wrap: anywhere; }
.wiki-fc-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.wiki-fc-chip { padding: 6px 12px; border-radius: 999px; border: 1px solid var(--wiki-line); background: var(--surface); font-size: .875rem; color: var(--text-strong); text-decoration: none; max-width: 100%; overflow-wrap: anywhere; }
a.wiki-fc-chip:hover { border-color: var(--wiki-accent); }
.wiki-fc-chip-kind { font-weight: 700; color: var(--wiki-accent); }
.wiki-fc-goal-big { margin: 14px 0 0; font-size: 1.05rem; line-height: 1.5; font-weight: 600; color: var(--text-strong); }
.wiki-fc-note { margin: 8px 0 0; font-size: .86rem; line-height: 1.5; color: var(--text-3); }
.wiki-fc-quote { margin: 14px 0 0; padding: 10px 14px; border-left: 3px solid var(--wiki-accent); border-radius: 0 12px 12px 0; background: var(--surface); }
.wiki-fc-quote p { margin: 0; font-size: .95rem; line-height: 1.5; color: var(--text-strong); }
.wiki-fc-quote span { display: block; margin-top: 4px; font-size: .75rem; color: var(--text-3); }
.wiki-fc-box { min-width: 0; margin-top: 18px; padding: 16px 20px; border: 1px solid var(--wiki-line); border-radius: 16px; background: var(--surface); }
.wiki-fc-page .wiki-fc-section-title { margin: 0 0 10px; font-size: 1.1rem; color: var(--wiki-ink); }
.wiki-fc-lead { margin: 0 0 10px; font-size: .98rem; color: var(--text-strong); }
.wiki-fc-medal-list { list-style: none; margin: 0; padding: 0; }
.wiki-fc-medal-item { display: grid; grid-template-columns: 5.4em 8.2em minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 9px 0; border-bottom: 1px solid var(--wiki-line); }
.wiki-fc-medal-item:last-child { border-bottom: 0; }
.wiki-fc-medal-item .wiki-fc-tier { justify-content: center; }
.wiki-fc-amounts { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: .95rem; font-weight: 600; color: var(--text-strong); font-variant-numeric: tabular-nums; }
.wiki-fc-points { font-size: .82rem; color: var(--text-3); white-space: nowrap; }
.wiki-fc-levels { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 12px; }
.wiki-fc-slot { margin: 0; border-bottom: 1px solid var(--wiki-line); }
.wiki-fc-slot:last-child { border-bottom: 0; }
.wiki-fc-slot > summary { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 6px 2px; cursor: pointer; list-style: none; }
.wiki-fc-slot > summary::-webkit-details-marker { display: none; }
.wiki-fc-slot > summary::before { content: '▸'; color: var(--wiki-accent); transition: transform .15s; }
.wiki-fc-slot[open] > summary::before { transform: rotate(90deg); }
.wiki-fc-slot > summary strong { min-width: 5.5em; color: var(--wiki-ink); }
.wiki-fc-slot-count { font-size: .85rem; color: var(--text-2); white-space: nowrap; }
.wiki-fc-slot-icons { display: flex; gap: 4px; margin-left: auto; overflow: hidden; }
.wiki-fc-mini { display: grid; place-items: center; width: 28px; height: 28px; overflow: hidden; border-radius: 7px; background: var(--wiki-tint); }
.wiki-fc-mini .wiki-icon { transform: scale(.85); }
.wiki-fc-items { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px 14px; list-style: none; margin: 0; padding: 4px 0 12px; }
.wiki-fc-items li { min-width: 0; }
.wiki-fc-item { display: flex; align-items: center; gap: 8px; min-height: 40px; color: var(--text-strong); text-decoration: none; }
.wiki-fc-page a.wiki-fc-item { color: var(--text-strong); text-decoration: none; }
.wiki-fc-item:hover .wiki-fc-item-name { text-decoration: underline; }
.wiki-fc-item-icon { flex: none; display: grid; place-items: center; width: 36px; height: 36px; overflow: hidden; border-radius: 8px; background: var(--wiki-tint); }
.wiki-fc-item-name { min-width: 0; font-size: .92rem; line-height: 1.3; overflow-wrap: anywhere; }
.wiki-fc-item-level { flex: none; margin-left: auto; font-size: .78rem; color: var(--text-3); }
.wiki-fc-item-jobs { display: block; margin-left: 44px; font-size: .75rem; color: var(--text-3); }
.wiki-fc-steps { margin: 0; padding-left: 20px; }
.wiki-fc-steps li { margin: 6px 0; font-size: .95rem; line-height: 1.5; color: var(--text-strong); }
.wiki-fc-page a:not(.wiki-fc-chip):not(.wiki-fc-item) { color: var(--wiki-accent); text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 960px) {
  .wiki-fc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wiki-fc-intro { grid-template-columns: minmax(0, 1fr); }
  .wiki-fc-items { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .wiki-fc-grid { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .wiki-catalog .wiki-fc-tile { padding: 12px 14px; gap: 12px; }
  .wiki-fc-howto { padding: 12px 14px 12px 30px; }
  .wiki-fc-howto li { margin: 3px 0; font-size: .94rem; }
  .wiki-fc-medals { padding: 12px 14px; }
  .wiki-fc-hero { flex-direction: column; gap: 14px; padding: 18px; }
  .wiki-fc-big-pic { width: 84px; height: 84px; }
  .wiki-fc-page .wiki-fc-title { font-size: 1.6rem; }
  .wiki-fc-box { padding: 14px 16px; }
  .wiki-fc-medal-item { grid-template-columns: auto minmax(0, 1fr); gap: 6px 10px; }
  .wiki-fc-medal-item .wiki-fc-tier { justify-self: start; }
  .wiki-fc-medal-item .wiki-fc-amounts, .wiki-fc-medal-item .wiki-fc-points { grid-column: 1 / -1; }
  .wiki-fc-items { grid-template-columns: minmax(0, 1fr); }
  .wiki-fc-slot-icons { display: none; }
}
