/* css/explore.css - Unified Exploration Styles for Magnus Insula */

.portal-container {
    padding: 6rem 1.5rem 4rem;
    max-width: 1560px;
    width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
    overflow-x: hidden;
}

.portal-header {
    text-align: center;
    position: relative;
    width: 100%;
}

.portal-title {
    font-size: clamp(1.8rem, 4.5vw, 2.75rem);
    color: var(--gold, #d4af37);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    word-break: break-word;
}

.portal-subtitle {
    color: var(--text-soft, #94a3b8);
    font-size: 1.05rem;
    max-width: 600px;
    margin: 0 auto 1.5rem;
    line-height: 1.5;
    word-break: break-word;
}

.portal-layout {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    align-items: flex-start;
    margin-top: 1.5rem;
    flex-wrap: wrap;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

/* ========================================================
   BIOME AMBIENT THEMES
   ======================================================== */
.theme-meadows .portal-title { color: #34d399; text-shadow: 0 0 16px rgba(16, 185, 129, 0.4); }
.theme-meadows .portal-box { border-color: rgba(16, 185, 129, 0.35); box-shadow: 0 8px 32px rgba(16, 185, 129, 0.15); }

.theme-woods .portal-title { color: #22c55e; text-shadow: 0 0 16px rgba(34, 197, 94, 0.4); }
.theme-woods .portal-box { border-color: rgba(34, 197, 94, 0.35); box-shadow: 0 8px 32px rgba(34, 197, 94, 0.15); }

.theme-stream .portal-title { color: #38bdf8; text-shadow: 0 0 16px rgba(56, 189, 248, 0.4); }
.theme-stream .portal-box { border-color: rgba(56, 189, 248, 0.35); box-shadow: 0 8px 32px rgba(56, 189, 248, 0.15); }

.theme-swamp .portal-title { color: #a3e635; text-shadow: 0 0 16px rgba(163, 230, 53, 0.4); }
.theme-swamp .portal-box { border-color: rgba(163, 230, 53, 0.35); box-shadow: 0 8px 32px rgba(163, 230, 53, 0.15); }

.theme-shores .portal-title { color: #fbbf24; text-shadow: 0 0 16px rgba(251, 191, 36, 0.4); }
.theme-shores .portal-box { border-color: rgba(251, 191, 36, 0.35); box-shadow: 0 8px 32px rgba(251, 191, 36, 0.15); }

.theme-peaks .portal-title { color: #93c5fd; text-shadow: 0 0 16px rgba(147, 197, 253, 0.4); }
.theme-peaks .portal-box { border-color: rgba(147, 197, 253, 0.35); box-shadow: 0 8px 32px rgba(147, 197, 253, 0.15); }

.theme-caverns .portal-title { color: #c084fc; text-shadow: 0 0 16px rgba(192, 132, 252, 0.4); }
.theme-caverns .portal-box { border-color: rgba(192, 132, 252, 0.35); box-shadow: 0 8px 32px rgba(192, 132, 252, 0.15); }

.theme-ashlands .portal-title { color: #f87171; text-shadow: 0 0 16px rgba(248, 113, 113, 0.4); }
.theme-ashlands .portal-box { border-color: rgba(248, 113, 113, 0.35); box-shadow: 0 8px 32px rgba(248, 113, 113, 0.15); }

/* ========================================================
   SIDEBAR & TEAM STAT SHEET
   ======================================================== */
.portal-team-sidebar {
    background: var(--bg-panel, #1e1b2e);
    border: 2px solid var(--border, #332d4a);
    border-radius: 14px;
    padding: 1.25rem;
    width: 340px;
    max-width: 100%;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.35);
    flex-shrink: 0;
    box-sizing: border-box;
}

.portal-team-sidebar h3 {
    color: var(--gold, #d4af37);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    text-align: center;
    border-bottom: 1px dashed var(--border, #332d4a);
    padding-bottom: 0.5rem;
}

.portal-quests-sidebar {
    background: var(--bg-panel, #1e1b2e);
    border: 2px solid var(--border, #332d4a);
    border-radius: 14px;
    padding: 1.25rem;
    width: 340px;
    max-width: 100%;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.35);
    flex-shrink: 0;
    box-sizing: border-box;
    align-self: flex-start;
    display: flex;
    flex-direction: column;
}

.portal-quests-sidebar h3 {
    color: var(--gold, #d4af37);
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    text-align: center;
    border-bottom: 1px dashed var(--border, #332d4a);
    padding-bottom: 0.5rem;
}

.portal-quests-sidebar .hud-zone-wrap {
    text-align: center;
    margin-bottom: 0.85rem;
    font-size: 0.85rem;
    color: #94a3b8;
}

.portal-quests-sidebar .explore-quest-hud {
    border: none;
    background: transparent;
    box-shadow: none;
    padding: 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.portal-quests-sidebar .hud-chips-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    max-height: 75vh;
    overflow-y: auto;
    padding-right: 2px;
}

.portal-quests-sidebar .hud-chips-container::-webkit-scrollbar,
.quest-card-desc::-webkit-scrollbar {
    width: 5px;
}

.portal-quests-sidebar .hud-chips-container::-webkit-scrollbar-track,
.quest-card-desc::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 4px;
}

.portal-quests-sidebar .hud-chips-container::-webkit-scrollbar-thumb,
.quest-card-desc::-webkit-scrollbar-thumb {
    background: rgba(245, 158, 11, 0.4);
    border-radius: 4px;
}

.stat-label {
    text-align: center;
    color: var(--text-soft, #94a3b8);
    margin-bottom: 0.3rem;
    font-size: 0.85rem;
}

.bar-container {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid var(--border, #332d4a);
    border-radius: 8px;
    height: 24px;
    position: relative;
    margin-bottom: 0.8rem;
    overflow: hidden;
}

.energy-bar {
    background: linear-gradient(90deg, #10b981, #34d399);
    height: 100%;
    width: 100%;
    transition: width 0.3s ease;
}

.hunger-bar {
    background: linear-gradient(90deg, #f59e0b, #fbbf24);
    height: 100%;
    width: 100%;
    transition: width 0.3s ease;
}

.thirst-bar {
    background: linear-gradient(90deg, #3b82f6, #60a5fa);
    height: 100%;
    width: 100%;
    transition: width 0.3s ease;
}

.weight-bar {
    background: linear-gradient(90deg, #6b7280, #9ca3af);
    height: 100%;
    width: 100%;
    transition: width 0.3s ease;
}

.energy-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-weight: bold;
    font-size: 0.85rem;
    text-shadow: 1px 1px 2px #000;
    white-space: nowrap;
}

/* Team Stat Overview Card */
.team-stat-overview-card {
    background: rgba(15, 23, 42, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 0.9rem;
    margin-bottom: 0.9rem;
}

.team-stat-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    font-weight: 700;
    color: #cbd5e1;
    margin-bottom: 0.6rem;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.08);
    padding-bottom: 0.35rem;
}

.team-stat-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
}

.team-stat-pill {
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 6px;
    padding: 0.4rem 0.55rem;
    display: flex;
    flex-direction: column;
}

.team-stat-pill .label {
    font-size: 0.68rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.team-stat-pill .value {
    font-size: 0.9rem;
    font-weight: 700;
    margin-top: 2px;
}

/* Leader Synergy Card */
.leader-synergy-card {
    background: linear-gradient(135deg, rgba(234, 179, 8, 0.12), rgba(15, 23, 42, 0.6));
    border: 1px solid rgba(234, 179, 8, 0.35);
    border-radius: 10px;
    padding: 0.75rem 0.9rem;
    margin-bottom: 0.9rem;
}

.leader-synergy-title {
    font-size: 0.8rem;
    font-weight: 700;
    color: #facc15;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    margin-bottom: 0.4rem;
}

.leader-bonus-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.leader-bonus-tag {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(234, 179, 8, 0.3);
    border-radius: 4px;
    padding: 2px 6px;
    font-size: 0.72rem;
    color: #fef08a;
    font-weight: 600;
}

/* Team List & Companion Cards */
.team-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.creature-team-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border, #332d4a);
    border-radius: 10px;
    padding: 0.85rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    transition: transform 0.2s, border-color 0.2s;
}

.creature-team-card:hover {
    transform: translateY(-2px);
    border-color: rgba(16, 185, 129, 0.4);
}

.creature-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.creature-card-identity {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.creature-card-avatar {
    font-size: 1.8rem;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.35);
    border-radius: 8px;
    border: 1px solid var(--border, #332d4a);
    flex-shrink: 0;
}

.creature-card-name-block {
    display: flex;
    flex-direction: column;
}

.creature-card-name {
    font-weight: 700;
    color: var(--text, #f8fafc);
    font-size: 0.95rem;
}

.creature-card-sub {
    font-size: 0.74rem;
    color: var(--text-soft, #94a3b8);
}

.creature-def-badge {
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.35);
    border-radius: 6px;
    padding: 2px 7px;
    font-size: 0.75rem;
    color: #6ee7b7;
    font-weight: 700;
}

/* HP Meter */
.creature-hp-meter {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.creature-hp-bar-bg {
    background: rgba(0, 0, 0, 0.5);
    border-radius: 4px;
    height: 6px;
    overflow: hidden;
}

.creature-hp-bar-fill {
    background: linear-gradient(90deg, #ef4444, #22c55e);
    height: 100%;
    transition: width 0.3s ease;
}

.creature-hp-text {
    display: flex;
    justify-content: space-between;
    font-size: 0.7rem;
    color: #94a3b8;
}

/* Stat Modifiers Strip */
.creature-mod-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.3rem;
    text-align: center;
}

.mod-cell {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    padding: 2px 4px;
    display: flex;
    flex-direction: column;
}

.mod-cell span {
    font-size: 0.62rem;
    color: #94a3b8;
    text-transform: uppercase;
}

.mod-cell strong {
    font-size: 0.76rem;
    color: #e2e8f0;
}

/* Gear & Personality Badges */
.creature-gear-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
}

.creature-gear-badge {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    padding: 2px 5px;
    font-size: 0.68rem;
    color: #cbd5e1;
}

.creature-pers-badge {
    background: rgba(147, 51, 234, 0.15);
    border: 1px solid rgba(147, 51, 234, 0.3);
    border-radius: 6px;
    padding: 3px 6px;
    font-size: 0.72rem;
    color: #d8b4fe;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

/* Taming Meter */
.creature-tame-meter {
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.25);
    border-radius: 6px;
    padding: 4px 7px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.creature-tame-top {
    display: flex;
    justify-content: space-between;
    font-size: 0.7rem;
    color: #6ee7b7;
}

.creature-tame-bar-bg {
    background: rgba(0, 0, 0, 0.4);
    border-radius: 3px;
    height: 5px;
    overflow: hidden;
}

.creature-tame-bar-fill {
    background: linear-gradient(90deg, #10b981, #34d399);
    height: 100%;
    transition: width 0.4s ease;
}

/* ========================================================
   MAIN EXPLORATION AREA
   ======================================================== */
.portal-main {
    flex-grow: 1;
    max-width: 1080px;
    width: 100%;
}

.portal-box {
    background: var(--bg-panel, #1e1b2e);
    border: 2px solid var(--border, #332d4a);
    border-radius: 14px;
    padding: 2rem 2.5rem;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.35);
    text-align: center;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.btn-explore {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    font-size: 1.25rem;
    font-weight: bold;
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.4);
    transition: all 0.2s ease;
    margin-bottom: 1.8rem;
    width: 100%;
    max-width: 460px;
}

.btn-explore:hover:not(:disabled) {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.6);
}

.btn-explore:disabled {
    background: #374151;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
    color: #9ca3af;
}

.explore-log {
    width: 100%;
    min-height: 120px;
    background: rgba(0, 0, 0, 0.5);
    border: 1px inset var(--border, #332d4a);
    border-radius: 10px;
    padding: 1.2rem;
    margin-bottom: 1.2rem;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    box-sizing: border-box;
}

.log-entry {
    margin-bottom: 0;
    padding: 0.9rem;
    background: rgba(255, 255, 255, 0.04);
    border-left: 4px solid var(--gold, #d4af37);
    border-radius: 6px;
    animation: slideDownFade 0.35s ease-out;
    text-align: left;
    line-height: 1.55;
    font-size: 0.95rem;
}

@keyframes slideDownFade {
    from { opacity: 0; transform: translateY(-12px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideIn {
    from { opacity: 0; transform: translateX(-10px); }
    to { opacity: 1; transform: translateX(0); }
}

.log-error {
    border-left-color: #ef4444;
    color: #fca5a5;
    background: rgba(239, 68, 68, 0.08);
}

.btn-back {
    display: inline-block;
    margin-top: 1rem;
    color: var(--text-soft, #94a3b8);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.btn-back:hover {
    color: var(--gold, #d4af37);
}

/* ========================================================
   DND ENCOUNTER CARDS & CHOICES
   ======================================================== */
.encounter-card {
    background: rgba(15, 23, 42, 0.85) !important;
    border-left: 4px solid #facc15 !important;
    padding: 1.1rem !important;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

.encounter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.6rem;
}

.encounter-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #facc15;
}

.encounter-prompt {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #e2e8f0;
    margin-bottom: 0.9rem;
}

.encounter-creature-bar {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 0.75rem;
    margin-bottom: 0.9rem;
}

.creature-picker-header {
    font-size: 0.82rem;
    color: #cbd5e1;
    margin-bottom: 0.4rem;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.creature-select-input {
    width: 100%;
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(250, 204, 21, 0.4);
    border-radius: 6px;
    padding: 0.45rem 0.65rem;
    color: #f8fafc;
    font-size: 0.85rem;
    cursor: pointer;
}

.encounter-choices {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.btn-choice {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    color: #f8fafc;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    text-align: left;
    transition: all 0.2s;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.btn-choice:hover:not(:disabled) {
    background: rgba(250, 204, 21, 0.15);
    border-color: #facc15;
    transform: translateX(4px);
}

.btn-choice:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.encounter-dice-box {
    text-align: center;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.45);
    border-radius: 8px;
    margin-top: 0.75rem;
}

.encounter-result {
    font-size: 0.95rem;
    line-height: 1.6;
}

.dice-faces {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 64px;
    gap: 8px;
}

.rpg-dice-svg {
    transition: transform 0.2s ease, filter 0.2s ease;
}

.rpg-dual-dice-wrapper,
.rpg-triple-dice-wrapper {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    vertical-align: middle;
}

.rpg-dice-plus {
    font-size: 1.35rem;
    font-weight: 900;
    line-height: 1;
    display: inline-block;
    user-select: none;
}

/* ========================================================
   UNIVERSAL DICE ROLLER ANIMATIONS
   ======================================================== */
@keyframes diceRoll {
    0% { transform: rotate(0deg) scale(1); }
    25% { transform: rotate(90deg) scale(1.15); }
    50% { transform: rotate(180deg) scale(0.95); }
    75% { transform: rotate(270deg) scale(1.15); }
    100% { transform: rotate(360deg) scale(1); }
}

@keyframes sparkle {
    0%, 100% { opacity: 0.2; transform: scale(0.8) rotate(0deg); }
    50% { opacity: 1; transform: scale(1.3) rotate(20deg); }
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-18px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes successPulse {
    0% { box-shadow: 0 0 0 rgba(34, 197, 94, 0); }
    50% { box-shadow: 0 0 25px rgba(34, 197, 94, 0.4); }
    100% { box-shadow: 0 0 0 rgba(34, 197, 94, 0); }
}

@keyframes failPulse {
    0% { box-shadow: 0 0 0 rgba(239, 68, 68, 0); }
    50% { box-shadow: 0 0 25px rgba(239, 68, 68, 0.4); }
    100% { box-shadow: 0 0 0 rgba(239, 68, 68, 0); }
}

/* ========================================================
   CINEMATIC FULL-SCREEN D&D TAMING MODAL
   ======================================================== */
@keyframes tamingFadeIn {
    from { opacity: 0; transform: scale(0.96); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes tamingGlow {
    0%, 100% { box-shadow: 0 0 30px 6px rgba(16, 185, 129, 0.2); border-color: rgba(16, 185, 129, 0.45); }
    50% { box-shadow: 0 0 60px 16px rgba(16, 185, 129, 0.4); border-color: rgba(16, 185, 129, 0.75); }
}

@keyframes tamingFailGlow {
    0%, 100% { box-shadow: 0 0 35px 8px rgba(239, 68, 68, 0.35); border-color: rgba(239, 68, 68, 0.65); }
    50% { box-shadow: 0 0 75px 22px rgba(239, 68, 68, 0.7); border-color: rgba(239, 68, 68, 0.95); }
}

#tamingModalOverlay {
    position: fixed;
    inset: 0;
    z-index: 99998;
    background: radial-gradient(ellipse at 50% 40%, rgba(16, 40, 30, 0.97) 0%, rgba(5, 8, 18, 0.99) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    animation: tamingFadeIn 0.38s ease both;
    transition: background 0.8s ease;
}

#tamingModalOverlay.taming-failed {
    background: radial-gradient(ellipse at 50% 40%, rgba(55, 10, 14, 0.98) 0%, rgba(20, 4, 8, 0.99) 100%) !important;
}

#tamingModalInner {
    background: linear-gradient(160deg, #0f1a14 0%, #101726 100%);
    border: 2px solid rgba(16, 185, 129, 0.45);
    border-radius: 18px;
    max-width: 900px;
    width: 100%;
    max-height: 92vh;
    overflow-y: auto;
    overflow-x: hidden;
    position: relative;
    animation: tamingGlow 3s ease-in-out infinite;
    scrollbar-width: thin;
    scrollbar-color: rgba(16, 185, 129, 0.3) transparent;
    transition: border-color 0.6s ease, background 0.6s ease;
}

#tamingModalInner.taming-failed {
    background: linear-gradient(160deg, #240c10 0%, #170a12 100%) !important;
    border-color: rgba(239, 68, 68, 0.75) !important;
    animation: tamingFailGlow 2.2s ease-in-out infinite !important;
    scrollbar-color: rgba(239, 68, 68, 0.3) transparent !important;
}

.taming-header {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.22) 0%, rgba(10, 40, 30, 0.6) 100%);
    border-bottom: 1px solid rgba(16, 185, 129, 0.25);
    padding: 1.4rem 1.6rem 1rem;
    text-align: center;
    transition: background 0.6s ease, border-color 0.6s ease;
}

.taming-header.taming-failed {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.28) 0%, rgba(60, 10, 16, 0.7) 100%) !important;
    border-bottom-color: rgba(239, 68, 68, 0.35) !important;
}

.taming-creature-icon {
    font-size: 3rem;
    display: inline-block;
    margin-bottom: 0.3rem;
    filter: drop-shadow(0 0 12px rgba(16, 185, 129, 0.5));
}

.taming-title {
    font-size: 1.4rem;
    font-weight: 800;
    color: #6ee7b7;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.taming-header.taming-failed .taming-title {
    color: #fca5a5 !important;
}

.taming-subtitle {
    font-size: 0.85rem;
    color: #94a3b8;
    font-style: italic;
    margin-top: 2px;
}

.taming-narrative {
    padding: 1rem 1.6rem;
    font-size: 0.92rem;
    line-height: 1.7;
    color: #cbd5e1;
    font-style: italic;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    background: rgba(0, 0, 0, 0.25);
}

.taming-body {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 0;
}

@media (max-width: 640px) {
    .taming-body { grid-template-columns: 1fr; }
}

.taming-statblock {
    padding: 1.2rem 1.4rem;
    border-right: 1px solid rgba(255, 255, 255, 0.07);
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    background: rgba(0, 0, 0, 0.15);
}

.statblock-title {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #10b981;
    margin-bottom: 0.2rem;
    font-weight: 700;
}

.statblock-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.82rem;
    color: #cbd5e1;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.07);
    padding-bottom: 0.3rem;
}

.statblock-row span:first-child { color: #94a3b8; }
.statblock-row span:last-child { color: #f1f5f9; font-weight: 600; }

.mood-bar-wrap {
    background: rgba(0, 0, 0, 0.4);
    border-radius: 6px;
    height: 10px;
    overflow: hidden;
    margin-top: 4px;
}

.mood-bar-fill {
    height: 100%;
    border-radius: 6px;
    transition: width 0.6s ease;
}

.hint-box {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    padding: 0.6rem 0.8rem;
    font-size: 0.78rem;
    line-height: 1.5;
}

.hint-like { color: #4ade80; }
.hint-dislike { color: #f87171; }

.taming-actions {
    padding: 1.2rem 1.4rem;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.taming-actions-title {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #64748b;
    margin-bottom: 0.3rem;
}

.taming-creature-select {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 8px;
    color: #e2e8f0;
    padding: 0.5rem 0.75rem;
    font-size: 0.82rem;
    width: 100%;
    margin-bottom: 0.5rem;
    cursor: pointer;
}

.btn-taming-action {
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 0.75rem 1rem;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s, transform 0.15s;
    text-align: left;
    width: 100%;
    color: #e2e8f0;
}

.btn-taming-action:hover:not(:disabled) {
    background: rgba(16, 185, 129, 0.12);
    transform: translateX(3px);
}

.btn-taming-action:disabled { opacity: 0.45; cursor: not-allowed; }

.btn-taming-action .action-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.25rem;
}

.btn-taming-action .action-name {
    font-weight: 700;
    font-size: 0.95rem;
}

.btn-taming-action .action-roll {
    font-size: 0.78rem;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 5px;
    padding: 2px 7px;
    white-space: nowrap;
}

.btn-taming-action .action-flavor {
    font-size: 0.76rem;
    color: #94a3b8;
    font-style: italic;
    line-height: 1.4;
}

.btn-taming-leave {
    background: none;
    border: none;
    color: #64748b;
    font-size: 0.82rem;
    cursor: pointer;
    text-align: center;
    width: 100%;
    padding: 0.5rem;
    text-decoration: underline;
    transition: color 0.2s;
}

.btn-taming-leave:hover { color: #94a3b8; }

.taming-dice-area {
    padding: 1.2rem 1.6rem;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    text-align: center;
    display: none;
}

.taming-dice-face {
    font-size: 4rem;
    display: inline-block;
    animation: diceRoll 0.12s linear infinite;
    filter: drop-shadow(0 0 8px rgba(250, 204, 21, 0.6));
}

.taming-dice-face.landed {
    animation: none;
    filter: none;
}

.dice-faces { 
    font-size: 3.5rem; 
    line-height: 1; 
    display: flex;
    justify-content: center;
    align-items: center;
}

.rpg-dice-svg {
    transition: transform 0.18s cubic-bezier(0.34, 1.56, 0.64, 1);
    user-select: none;
}

.rpg-dice-svg:hover {
    transform: scale(1.05);
}

.taming-result-area {
    padding: 1.4rem 1.6rem;
    display: none;
    animation: slideDown 0.4s ease both;
}

.result-check-banner {
    font-size: 0.8rem;
    text-align: center;
    margin-bottom: 0.75rem;
    color: #94a3b8;
}

.result-outcome-badge {
    font-size: 2rem;
    font-weight: 900;
    text-align: center;
    letter-spacing: 0.06em;
    margin-bottom: 0.5rem;
}

.result-narration {
    font-size: 0.95rem;
    line-height: 1.75;
    color: #e2e8f0;
    font-style: italic;
    text-align: center;
    margin-bottom: 1rem;
}

.result-companion-card {
    background: linear-gradient(135deg, rgba(22, 163, 74, 0.2), rgba(16, 185, 129, 0.12));
    border: 1px solid #22c55e;
    border-radius: 10px;
    padding: 1rem 1.2rem;
    animation: successPulse 1s ease;
    margin-bottom: 0.75rem;
}

.result-fail-card {
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 10px;
    padding: 0.75rem 1rem;
    animation: failPulse 1s ease;
    margin-bottom: 0.75rem;
}

.sparkle-row {
    text-align: center;
    font-size: 1.6rem;
    margin-bottom: 0.5rem;
}

.sparkle-row span {
    display: inline-block;
    animation: sparkle 1.2s ease-in-out infinite;
}

.sparkle-row span:nth-child(2) { animation-delay: 0.3s; }
.sparkle-row span:nth-child(3) { animation-delay: 0.6s; }

/* ========================================================
   MODAL FOR BACKPACK IFRAME
   ======================================================== */
.explore-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 99999;
    justify-content: center;
    align-items: center;
}

.explore-modal-content {
    background: var(--bg-panel, #1e1b2e);
    border: 2px solid var(--gold, #f59e0b);
    border-radius: 14px;
    width: 95%;
    max-width: 1360px;
    height: 90vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
}

.explore-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    background: rgba(0, 0, 0, 0.35);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* ========================================================
   EXPLORATION INTERACTION PAUSE / LOCK
   ======================================================== */
body.page-exploring-locked .portal-main,
body.page-exploring-locked .portal-team-sidebar button,
body.page-exploring-locked .taming-choices-grid button {
    pointer-events: none !important;
    user-select: none !important;
}

/* Exempt the continue action buttons from being blocked */
body.page-exploring-locked .encounter-card button,
body.page-exploring-locked .encounter-result button,
body.page-exploring-locked .taming-result-area button,
body.page-exploring-locked #tamingDiceArea button,
body.page-exploring-locked #tamingModalInner button {
    pointer-events: auto !important;
    cursor: pointer !important;
    user-select: auto !important;
}

body.page-exploring-locked #btnExplore {
    opacity: 0.75;
    cursor: wait !important;
}

body.page-exploring-locked .taming-choices-grid button {
    opacity: 0.5;
    cursor: wait !important;
}

.taming-item-panel {
    transition: all 0.2s ease;
}
.taming-item-panel select:focus {
    outline: none;
    border-color: #ec4899 !important;
    box-shadow: 0 0 0 2px rgba(236,72,153,0.3);
}

/* ========================================================
   EXPLORATION QUEST TRACKER & OBJECTIVE HUD
   ======================================================== */
.explore-quest-hud {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.9), rgba(30, 27, 46, 0.95));
    border: 1px solid rgba(245, 158, 11, 0.35);
    border-radius: 12px;
    padding: 0.85rem 1.1rem;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.45);
    text-align: left;
    transition: all 0.3s ease;
}

.explore-quest-hud .hud-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.6rem;
    font-size: 0.82rem;
    font-weight: 700;
}

.explore-quest-hud .hud-title {
    color: #fbbf24;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
}

.explore-quest-hud .hud-zone-indicator {
    color: #cbd5e1;
    font-size: 0.76rem;
    background: rgba(0, 0, 0, 0.4);
    padding: 2px 10px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.explore-quest-hud .hud-chips-container {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.hud-chip {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 7px 11px;
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 0.84rem;
    color: #f1f5f9;
    flex: 1;
    min-width: 190px;
    transition: all 0.2s ease;
}

.hud-chip:hover {
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-1px);
}

.hud-chip.current-zone {
    border-color: rgba(245, 158, 11, 0.7);
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.18), rgba(0, 0, 0, 0.5));
    box-shadow: 0 0 12px rgba(245, 158, 11, 0.2);
}

.hud-chip.ready {
    border-color: rgba(16, 185, 129, 0.7);
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.18), rgba(0, 0, 0, 0.5));
    box-shadow: 0 0 12px rgba(16, 185, 129, 0.2);
}

.hud-chip-info {
    flex: 1;
    min-width: 0;
}

.hud-chip-title {
    font-weight: 700;
    font-size: 0.82rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 6px;
}

.hud-chip-prog-bar {
    height: 5px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    margin-top: 5px;
    overflow: hidden;
}

.hud-chip-prog-fill {
    height: 100%;
    background: linear-gradient(90deg, #38bdf8, #818cf8);
    transition: width 0.3s ease;
}

.hud-chip.ready .hud-chip-prog-fill {
    background: linear-gradient(90deg, #10b981, #4ade80);
}

/* Sidebar Quest Card Styles */
.quest-card-item {
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-left: 3px solid #38bdf8;
    border-radius: 8px;
    padding: 0.85rem;
    text-align: left;
    transition: all 0.2s ease;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
    word-break: break-word;
}

.quest-card-item:hover {
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
}

.quest-card-item.current-zone {
    border-left-color: #f59e0b;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.15), transparent), rgba(15, 23, 42, 0.9);
}

.quest-card-item.completed {
    border-left-color: #10b981;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), transparent), rgba(15, 23, 42, 0.9);
}

.quest-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 6px;
    margin-bottom: 6px;
    flex-wrap: wrap;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.quest-card-title {
    font-weight: 700;
    font-size: 0.86rem;
    color: #f8fafc;
    display: flex;
    align-items: center;
    gap: 6px;
    flex: 1 1 auto;
    min-width: 0;
    line-height: 1.35;
    word-break: break-word;
}

.quest-badge-zone {
    font-size: 0.7rem;
    padding: 2px 7px;
    border-radius: 4px;
    background: rgba(245, 158, 11, 0.15);
    color: #fbbf24;
    border: 1px solid rgba(245, 158, 11, 0.3);
    white-space: nowrap;
    flex-shrink: 0;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
}

.quest-card-desc {
    font-size: 0.78rem;
    color: #94a3b8;
    line-height: 1.45;
    margin: 4px 0 8px 0;
    white-space: pre-line;
    word-break: break-word;
    overflow-wrap: break-word;
    max-height: 160px;
    overflow-y: auto;
    padding-right: 4px;
}

.quest-card-progress-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.76rem;
    color: #cbd5e1;
    margin-top: 6px;
    gap: 8px;
    width: 100%;
    box-sizing: border-box;
}

.quest-card-progress-bar {
    flex: 1;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    margin-right: 0;
    overflow: hidden;
    min-width: 60px;
}

.quest-card-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #38bdf8, #818cf8);
    transition: width 0.3s ease;
}

.quest-card-item.completed .quest-card-progress-fill {
    background: linear-gradient(90deg, #10b981, #4ade80);
}

.quest-card-rewards {
    display: flex;
    gap: 8px;
    font-size: 0.73rem;
    color: #94a3b8;
    margin-top: 6px;
    padding-top: 5px;
    border-top: 1px dashed rgba(255, 255, 255, 0.08);
    align-items: center;
    flex-wrap: wrap;
    width: 100%;
    box-sizing: border-box;
}

.btn-claim-bounty {
    background: linear-gradient(135deg, #16a34a, #15803d);
    color: #ffffff;
    border: none;
    border-radius: 6px;
    padding: 5px 10px;
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    margin-top: 8px;
    width: 100%;
    transition: all 0.2s ease;
    box-shadow: 0 2px 6px rgba(22, 163, 74, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.btn-claim-bounty:hover {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(34, 197, 94, 0.4);
}

/* ========================================================
   LOCKPICKING MINIGAME SYSTEM (Illegal Snare Trapper Rescue)
   ======================================================== */
#lockpickModalOverlay {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: radial-gradient(ellipse at 50% 40%, rgba(15, 23, 42, 0.96) 0%, rgba(3, 7, 18, 0.99) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    animation: lockpickFadeIn 0.35s ease both;
    backdrop-filter: blur(8px);
}

@keyframes lockpickFadeIn {
    from { opacity: 0; transform: scale(0.96); }
    to { opacity: 1; transform: scale(1); }
}

#lockpickModalInner {
    background: linear-gradient(165deg, #1e1b4b 0%, #0f172a 60%, #020617 100%);
    border: 2px solid rgba(139, 92, 246, 0.45);
    border-radius: 20px;
    max-width: 580px;
    width: 100%;
    max-height: 94vh;
    overflow-y: auto;
    padding: 1.5rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7), 0 0 30px rgba(139, 92, 246, 0.2);
    text-align: center;
    position: relative;
    user-select: none;
}

.lockpick-header {
    margin-bottom: 1.25rem;
}

.lockpick-header h3 {
    margin: 0 0 6px 0;
    font-size: 1.4rem;
    color: #f1f5f9;
    font-family: 'Cinzel', serif;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.lockpick-header p {
    margin: 0;
    color: #94a3b8;
    font-size: 0.85rem;
    line-height: 1.5;
}

.lockpick-stage {
    position: relative;
    width: 220px;
    height: 220px;
    margin: 0 auto 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: radial-gradient(circle, #1e293b 20%, #090d16 85%);
    border: 6px solid #334155;
    box-shadow: inset 0 0 25px rgba(0, 0, 0, 0.8), 0 8px 24px rgba(0, 0, 0, 0.5);
    touch-action: none;
    cursor: grab;
}

.lockpick-stage:active {
    cursor: grabbing;
}

.lockpick-outer-ring {
    position: absolute;
    inset: 6px;
    border: 2px dashed rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    pointer-events: none;
}

.lockpick-cylinder {
    position: relative;
    width: 130px;
    height: 130px;
    border-radius: 50%;
    background: radial-gradient(circle, #475569 0%, #1e293b 80%, #0f172a 100%);
    border: 4px solid #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.08s ease-out, border-color 0.2s, box-shadow 0.2s;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.6);
}

.lockpick-cylinder.sweet-spot {
    border-color: #4ade80 !important;
    box-shadow: 0 0 25px rgba(74, 222, 128, 0.7), inset 0 0 15px rgba(74, 222, 128, 0.4) !important;
    animation: lockClickPulse 0.4s infinite alternate ease-in-out;
}

.lockpick-cylinder.near-sweet-spot {
    border-color: #facc15;
    box-shadow: 0 0 18px rgba(250, 204, 21, 0.4);
}

@keyframes lockClickPulse {
    from { transform: scale(1); filter: brightness(1); }
    to { transform: scale(1.03); filter: brightness(1.25); }
}

.lockpick-keyhole {
    width: 14px;
    height: 38px;
    background: #020617;
    border-radius: 7px 7px 3px 3px;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.lockpick-pick-indicator {
    position: absolute;
    top: -24px;
    left: 50%;
    width: 4px;
    height: 34px;
    background: linear-gradient(to bottom, #38bdf8, #818cf8);
    transform: translateX(-50%);
    border-radius: 2px;
    box-shadow: 0 0 8px #38bdf8;
}

.lockpick-status-box {
    margin-bottom: 1.25rem;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lockpick-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: 9999px;
    font-size: 0.92rem;
    font-weight: 700;
    letter-spacing: 0.3px;
    transition: all 0.2s ease;
}

.lockpick-badge.searching,
.lockpick-badge.freezing {
    background: rgba(56, 189, 248, 0.15);
    color: #bae6fd;
    border: 1px solid rgba(56, 189, 248, 0.35);
    box-shadow: 0 0 8px rgba(56, 189, 248, 0.15);
}

.lockpick-badge.cold {
    background: rgba(96, 165, 250, 0.15);
    color: #bfdbfe;
    border: 1px solid rgba(96, 165, 250, 0.35);
}

.lockpick-badge.near,
.lockpick-badge.warm {
    background: rgba(234, 179, 8, 0.2);
    color: #fde047;
    border: 1px solid rgba(234, 179, 8, 0.45);
    box-shadow: 0 0 10px rgba(234, 179, 8, 0.2);
}

.lockpick-badge.hot {
    background: rgba(249, 115, 22, 0.25);
    color: #fdba74;
    border: 1.5px solid #fb923c;
    box-shadow: 0 0 16px rgba(249, 115, 22, 0.45);
    animation: lockBadgePulse 0.4s infinite alternate ease-in-out;
}

.lockpick-badge.clicked {
    background: rgba(34, 197, 94, 0.25);
    color: #4ade80;
    border: 2px solid #22c55e;
    box-shadow: 0 0 20px rgba(34, 197, 94, 0.5);
    font-size: 1.05rem;
    animation: lockBadgeGlow 0.6s infinite alternate ease-in-out;
}

.lockpick-cylinder.near-sweet-spot.hot-cylinder {
    box-shadow: 0 0 18px rgba(249, 115, 22, 0.55) !important;
    border-color: #fb923c !important;
}

.lockpick-temp-bar-wrap {
    width: 100%;
    max-width: 280px;
    height: 8px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 9999px;
    margin: 8px auto 14px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.lockpick-temp-fill {
    height: 100%;
    border-radius: 9999px;
    transition: width 0.12s ease, background 0.2s ease, box-shadow 0.2s ease;
}

@keyframes lockBadgePulse {
    from { transform: scale(1); filter: brightness(1); }
    to { transform: scale(1.03); filter: brightness(1.2); }
}

@keyframes lockBadgeGlow {
    from { transform: scale(1); }
    to { transform: scale(1.06); }
}

.lockpick-slider-wrap {
    margin-bottom: 1.25rem;
    padding: 0 1rem;
}

.lockpick-slider {
    width: 100%;
    -webkit-appearance: none;
    appearance: none;
    height: 10px;
    border-radius: 5px;
    background: #1e293b;
    outline: none;
    cursor: pointer;
    border: 1px solid #475569;
}

.lockpick-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: linear-gradient(135deg, #818cf8, #6366f1);
    cursor: pointer;
    border: 2px solid #fff;
    box-shadow: 0 0 10px rgba(99, 102, 241, 0.6);
}

.lockpick-controls-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 1.25rem;
}

.btn-lockpick-turn {
    background: rgba(30, 41, 59, 0.9);
    border: 1px solid rgba(148, 163, 184, 0.25);
    color: #f8fafc;
    padding: 0.85rem 1rem;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.15s;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.btn-lockpick-turn:hover {
    background: rgba(51, 65, 85, 0.95);
    border-color: rgba(148, 163, 184, 0.5);
    transform: translateY(-1px);
}

.btn-lockpick-turn:active {
    transform: translateY(1px) scale(0.98);
    background: rgba(71, 85, 105, 1);
}

.btn-lockpick-unlock {
    width: 100%;
    padding: 0.95rem;
    font-size: 1.05rem;
    font-weight: 700;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s;
    background: #334155;
    color: #94a3b8;
    opacity: 0.6;
    pointer-events: none;
}

.btn-lockpick-unlock.active {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: #fff;
    opacity: 1;
    pointer-events: auto;
    box-shadow: 0 0 25px rgba(34, 197, 94, 0.55);
    animation: lockUnlockPulse 1s infinite alternate;
}

@keyframes lockUnlockPulse {
    from { box-shadow: 0 0 15px rgba(34, 197, 94, 0.4); }
    to { box-shadow: 0 0 30px rgba(34, 197, 94, 0.8); }
}

.lockpick-hints-footer {
    margin-top: 1rem;
    font-size: 0.78rem;
    color: #64748b;
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

