/* Coins and GF Points (ui/moneyView.js) */
.money { display: inline-flex; align-items: center; gap: 4px; vertical-align: middle; }
.money .coin { display: inline-flex; align-items: center; gap: 3px; padding: 1px 6px 1px 7px; border-radius: 10px; background: rgba(60, 40, 18, 0.18); box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.3); font-size: 12px; line-height: 16px; }
.money .coin b { font-weight: 700; color: #3b2a14; font-variant-numeric: tabular-nums; }
.money .coin i { width: 11px; height: 11px; border-radius: 50%; border: 1px solid rgba(0, 0, 0, 0.45); }
.money .coin.au i { background: radial-gradient(circle at 35% 30%, #fff3b0, #f0b92a 55%, #a8740c); }
.money .coin.ag i { background: radial-gradient(circle at 35% 30%, #ffffff, #c4ccd4 55%, #7d8791); }
.money .coin.cu i { background: radial-gradient(circle at 35% 30%, #ffd7b0, #cf8346 55%, #86481a); }
.money.warn .coin b { color: #b3261e; }
.gfpts { display: inline-flex; align-items: center; gap: 4px; padding: 1px 7px; border-radius: 10px; background: rgba(79, 52, 140, 0.18); box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.3); font-size: 12px; line-height: 16px; vertical-align: middle; }
.gfpts b { font-weight: 700; color: #3a2569; font-variant-numeric: tabular-nums; }
.gfpts i { font-style: normal; font-size: 9px; font-weight: 800; padding: 0 4px; border-radius: 8px; color: #fff; background: linear-gradient(#b48cff, #6a3fd0); }
.gfpts.warn b { color: #b3261e; }
.appts { display: inline-flex; align-items: center; gap: 4px; padding: 1px 7px; border-radius: 10px; background: rgba(194, 65, 12, 0.14); box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.3); font-size: 12px; line-height: 16px; vertical-align: middle; }
.appts b { font-weight: 700; color: #7c2d12; font-variant-numeric: tabular-nums; }
.appts i { font-style: normal; font-size: 9px; font-weight: 800; padding: 0 4px; border-radius: 8px; color: #fff; background: linear-gradient(#fb923c, #c2410c); }
.appts.warn b { color: #b3261e; }
.pk-wallet { display: flex; align-items: center; gap: 8px; }
.hud-wallet { position: absolute; right: 12px; bottom: 12px; pointer-events: none; }
/* Forgeron: wear and needs */
.fg-wear { margin: 6px 0; display: flex; flex-direction: column; gap: 4px; }
.fg-dur { position: relative; height: 16px; border-radius: 8px; background: rgba(60, 40, 18, 0.25); overflow: hidden; }
.fg-dur i { position: absolute; left: 0; top: 0; bottom: 0; background: linear-gradient(#8fd45a, #4c9a2a); }
.fg-dur.broken i { background: #a02a22; }
.fg-dur span { position: relative; display: block; text-align: center; font-size: 11px; line-height: 16px; color: #1f1608; font-weight: 700; }
.fg-odds, .fg-need { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin: 3px 0; }
.fg-need .red, .red { color: #b3261e; }
.fg-step { display: inline-flex; align-items: center; gap: 4px; }
.fg-step b { min-width: 22px; text-align: center; font-variant-numeric: tabular-nums; }
.fg-warn { margin: 4px 0; font-size: 12px; font-weight: 700; color: #b3261e; }
.gf-btn.danger { background: linear-gradient(#f08a82, #c2343a 55%, #8c1f26); color: #fff3e0; }
.fg-scroll { display: block; margin: 6px 0; font-size: 12px; }
.vd-price { margin-right: 8px; }
.vd-packs { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0; }
.vd-pack { display: inline-flex; flex-direction: column; align-items: center; gap: 3px; }
.vd-tabs { margin-bottom: 6px; }
.tal-card.unlearned { opacity: 0.88; }
.tal-price { display: flex; align-items: center; gap: 4px; font-size: 11px; }
.ah-pending { display: flex; align-items: center; gap: 8px; padding: 6px; margin-bottom: 6px; background: rgba(240, 185, 42, 0.18); border-radius: 8px; }
.ah-filter { width: 100%; margin-bottom: 6px; }
.ah-form { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 8px; }
/* Tooltip prices: light digits on the dark tooltip, a ruled block of two lines */
.tip-prices { margin-top: 8px; padding-top: 6px; border-top: 1px solid rgba(240, 220, 170, 0.35); display: flex; flex-direction: column; gap: 4px; }
.tip-prices .tp-line { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.tip-prices .tp-label { color: #e8d9b0; font-size: 12px; }
.tip-prices .tp-none { color: #a99c7c; font-size: 12px; font-style: italic; }
#tooltip .money .coin, #tooltip .gfpts, #tooltip .appts, .link-card .money .coin, .link-card .gfpts, .link-card .appts { background: rgba(255, 255, 255, 0.12); box-shadow: none; font-size: 13px; }
#tooltip .money .coin b, .link-card .money .coin b { color: #fff; }
#tooltip .gfpts b, .link-card .gfpts b { color: #e4d6ff; }
.dbg-wallet { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; padding: 8px 10px; margin-bottom: 8px; background: rgba(60, 40, 18, 0.2); border-radius: 8px; }
.dbg-w { display: flex; align-items: center; gap: 6px; }
.dbg-eur { font-size: 15px; color: #1d6b2f; }
/* Forgeron, fenêtre Fortifier : cases à glisser-déposer (objet, inscription, parchemin), niveau suivant, taux, coût, autel, bonus */
.fg-cols { display: flex; gap: 10px; align-items: stretch; }
.fg-left, .fg-right { display: flex; flex-direction: column; gap: 8px; padding: 8px; background: var(--gf-paper-dark); border: 1px solid #a88a58; border-radius: 6px; }
.fg-left { align-items: center; justify-content: space-around; width: 96px; flex: none; }
.fg-right { flex: 1; min-width: 0; align-items: stretch; }
.fg-right .fg-slot { align-self: center; }
.fg-slot { display: flex; flex-direction: column; align-items: center; gap: 3px; }
.fg-lbl { font-size: 12px; color: #7c4a06; text-shadow: 0 1px 0 rgba(255, 255, 255, 0.6); }
.gf-tile.fg-tile { width: 54px; height: 54px; cursor: pointer; }
.gf-tile.fg-tile.big { width: 64px; height: 64px; }
.gf-tile.fg-tile.none { opacity: 0.55; }
.gf-tile.fg-tile.over { outline: 2px solid #d98f1f; box-shadow: 0 0 10px rgba(246, 196, 83, 0.9); }
.fg-q { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; font-size: 22px; font-weight: 800; color: rgba(60, 40, 18, 0.45); }
.fg-row { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 2px 6px; min-height: 24px; background: rgba(60, 40, 18, 0.12); border-radius: 4px; }
.fg-val { font-variant-numeric: tabular-nums; }
.fg-val.green { color: #2c7a1f; }
.fg-actions { display: flex; align-items: center; justify-content: flex-end; gap: 6px; margin: 8px 0 4px; flex-wrap: wrap; }
.fg-hammer { font-size: 30px; margin-right: auto; }
.fg-hint { margin: 8px 0; font-size: 12px; }
.fg-pick { margin-top: 8px; font-size: 12px; }
.fg-pick summary { cursor: pointer; color: #7c4a06; }
.fg-sub { padding: 6px 8px; background: var(--gf-paper-dark); border: 1px solid #a88a58; border-radius: 6px; }
.fg-sub[hidden], .fg-main[hidden] { display: none; }
.fg-sub h4 { margin: 0 0 4px; font-size: 15px; }
.fg-log { min-height: 16px; }
.fg-bonus-scroll { max-height: 330px; overflow-y: auto; border: 1px solid #a88a58; border-radius: 4px; }
.fg-table { width: 100%; border-collapse: collapse; font-size: 12px; font-variant-numeric: tabular-nums; }
.fg-table th { position: sticky; top: 0; background: #8a7340; color: #fdf3c6; padding: 3px 6px; text-align: center; font-weight: 700; }
.fg-table td { padding: 2px 6px; text-align: center; border-bottom: 1px solid rgba(60, 40, 18, 0.18); }
.fg-table tr.cur td { background: rgba(246, 196, 83, 0.55); font-weight: 700; }
