step 4.5: done

This commit is contained in:
bepis
2026-10-20 21:31:12 +11:00
parent 9a308b697d
commit f26ca88d1e
11 changed files with 742 additions and 27 deletions
+144
View File
@@ -174,3 +174,147 @@ button:hover { background: #c73650; }
margin-top: 0.25rem;
text-align: right;
}
/* ===== Zone cards ===== */
.zone-list {
display: flex;
flex-direction: column;
gap: 0.75rem;
}
.zone-card {
background: #0f3460;
border: 1px solid #333;
border-radius: 6px;
padding: 0.75rem 1rem;
display: flex;
flex-direction: column;
gap: 0.25rem;
}
.zone-card .zone-name {
font-weight: bold;
color: #e94560;
font-size: 0.95rem;
}
.zone-card .zone-desc {
font-size: 0.8rem;
color: #a0a0a0;
line-height: 1.3;
}
.zone-card .zone-meta {
font-size: 0.75rem;
color: #666;
}
.zone-card .zone-locked-msg {
font-size: 0.8rem;
color: #666;
font-style: italic;
}
.btn-hunt {
margin-top: 0.5rem;
background: #e94560;
color: #fff;
border: none;
border-radius: 4px;
padding: 0.5rem 1rem;
font-size: 0.875rem;
cursor: pointer;
align-self: flex-start;
}
.btn-hunt:hover:not(:disabled) {
background: #c73650;
}
.btn-hunt:disabled {
background: #444;
color: #888;
cursor: not-allowed;
}
/* ===== Combat log ===== */
.combat-log-list {
display: flex;
flex-direction: column;
gap: 0.35rem;
max-height: 300px;
overflow-y: auto;
}
.log-entry {
display: flex;
align-items: center;
gap: 0.5rem;
padding: 0.35rem 0.5rem;
background: #0f3460;
border-radius: 4px;
font-size: 0.8rem;
}
.log-result {
font-weight: bold;
font-size: 0.9rem;
min-width: 1.2em;
text-align: center;
}
.log-result.win {
color: #4f9d69;
}
.log-result.loss {
color: #c0392b;
}
.log-text {
color: #eadfce;
}
/* ===== Result panel ===== */
.result-panel {
grid-column: 1 / -1;
}
.result-panel h3 {
margin-bottom: 0.5rem;
}
.result-panel p {
font-size: 0.875rem;
padding: 0.2rem 0;
color: #eadfce;
}
/* ===== Toast notifications ===== */
.toast {
position: fixed;
bottom: 1.5rem;
left: 50%;
transform: translateX(-50%);
padding: 0.75rem 1.25rem;
border-radius: 6px;
font-size: 0.875rem;
color: #fff;
z-index: 1000;
animation: toastIn 0.3s ease;
max-width: 90vw;
text-align: center;
}
.toast-error {
background: #c0392b;
}
.toast-info {
background: #4a7fb0;
}
@keyframes toastIn {
from { opacity: 0; transform: translateX(-50%) translateY(1rem); }
to { opacity: 1; transform: translateX(-50%) translateY(0); }
}