Firekeeping: shared guild fires

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
rope 2026-10-21 12:16:22 +01:00
parent c64e28fc38
commit 54ae3ae641
6 changed files with 657 additions and 34 deletions

View file

@ -632,3 +632,80 @@ button.sheet-skill:hover { background: var(--panel-2); }
.pick-lvl { position: absolute; bottom: -5px; right: -5px; font-size: 10px; font-weight: 700; line-height: 1; padding: 2px 4px; border-radius: 6px; background: var(--panel); border: 1px solid var(--line); color: var(--muted); }
.doll-slot.pick.on .pick-lvl { border-color: var(--gold); }
.doll-slot.pick.on .pick-lvl { color: var(--gold); }
/* --- fires ------------------------------------------------------------ */
.nav .fdot, .pip, .logbtn .swatch {
width: 9px; height: 12px; flex: none; border-radius: 50% 50% 45% 45% / 65% 65% 35% 35%;
background: var(--c); box-shadow: 0 0 7px var(--c);
}
.fire-pips { gap: 5px; }
.pip { display: inline-block; background: var(--line); box-shadow: none; }
.pip.lit { background: radial-gradient(circle at 50% 75%, #fff 0 18%, var(--c) 55%); box-shadow: 0 0 8px var(--c); }
.pip.low { animation: fire-low 1.1s ease-in-out infinite; }
@keyframes fire-low { 50% { opacity: .35; } }
.item-chip.paid { color: var(--muted); }
.item-chip s { color: var(--muted); }
.tag.flame { color: var(--c); border-color: color-mix(in srgb, var(--c) 45%, transparent); }
.fire-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.fire-tools .logs { display: flex; flex-wrap: wrap; gap: 6px; flex: 1; min-width: 0; }
.logbtn {
display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 8px;
border: 1px solid var(--line); background: var(--panel-2); font-size: 13.5px; font-variant-numeric: tabular-nums;
}
.logbtn .swatch { width: 8px; height: 11px; }
.logbtn .gi { width: 1.25em; height: 1.25em; }
.logbtn.on { border-color: var(--c); box-shadow: 0 0 0 1px var(--c) inset; }
.logbtn:disabled { opacity: .35; cursor: not-allowed; }
.fire-tools .tag { display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; padding: 3px 9px; }
.fire-tools .tag .gi { width: 1.2em; height: 1.2em; }
.fire-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(200px, 100%), 1fr)); }
.fire-card {
background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
display: flex; flex-direction: column; transition: border-color .4s, box-shadow .4s;
}
.fire-card.lit { border-color: color-mix(in srgb, var(--c) 45%, var(--line)); box-shadow: 0 10px 40px -18px var(--c); }
.fire-card.active { border-color: var(--good); box-shadow: 0 0 0 1px var(--good) inset, 0 10px 40px -18px var(--c); }
.fire-stage {
position: relative; height: 130px;
background: radial-gradient(120% 90% at 50% 100%, color-mix(in srgb, var(--c) 22%, #0e0f14) 0%, #0e0f14 70%);
}
.fire-card.out .fire-stage { background: radial-gradient(120% 90% at 50% 100%, #1b1c22 0%, #0e0f14 70%); }
.fire-stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.fire-state {
position: absolute; top: 8px; right: 8px; font-size: 11.5px; font-weight: 700; padding: 1px 8px; border-radius: 99px;
background: rgba(14, 15, 20, .75); border: 1px solid var(--line);
}
.fire-state.low { color: var(--warn); border-color: rgba(227, 160, 67, .5); }
.fire-state.out { color: var(--muted); }
.fire-body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 9px; flex: 1; }
.fire-head { display: flex; align-items: center; gap: 8px; }
.fire-head .gi { width: 22px; height: 22px; flex: none; }
.fire-head b { flex: 1; }
.fuel { height: 10px; background: var(--bg); border-radius: 99px; overflow: hidden; display: flex; }
.fuel i { display: block; height: 100%; background: var(--c); }
.fire-line { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.fire-line b { color: var(--text); font-weight: 600; }
.fire-line .gi { width: 1.2em; height: 1.2em; vertical-align: -0.25em; }
.fire-body .foot { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: auto; }
.fire-body .why { font-size: 13px; color: var(--warn); }
.fire-band {
position: relative; overflow: hidden; display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
padding: 10px 16px; margin-bottom: 14px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--panel);
}
.fire-band > .gi { width: 26px; height: 26px; flex: none; }
.fire-band.lit { border-color: color-mix(in srgb, var(--c) 45%, var(--line)); }
.fire-band.lit::before {
content: ""; position: absolute; inset: 0; pointer-events: none;
background: radial-gradient(60% 140% at 0% 50%, color-mix(in srgb, var(--c) 22%, transparent), transparent 70%);
animation: fire-flicker 2.6s ease-in-out infinite;
}
.fire-band > * { position: relative; }
@keyframes fire-flicker { 0%, 100% { opacity: .95; } 30% { opacity: .7; } 55% { opacity: 1; } 75% { opacity: .8; } }
@media (prefers-reduced-motion: reduce) {
.pip.low, .fire-band.lit::before { animation: none; }
}