diff --git a/index.html b/index.html
index b6b7b6d..5ebd6fb 100644
--- a/index.html
+++ b/index.html
@@ -1294,15 +1294,19 @@
margin-top: 4px;
}
- .turn-info {
- font-size: 12px;
- margin-bottom: 2px;
- }
-
- /* HIDE NON-ESSENTIALS TO SAVE VERTICAL SPACE */
+ /* HIDE DIRECTIVES COMPLETELY ON MOBILE */
+ .turn-info,
.turn-info-message {
display: none !important;
}
+
+ /* PULL REINFORCEMENTS UP TO FILL THE GAP */
+ .metric-box[style*="margin-top: 20px;"] {
+ margin-top: 0 !important;
+ }
+
+ /* HIDE NON-ESSENTIALS TO SAVE VERTICAL SPACE */
+
.player-panel>div:first-child>div:nth-of-type(3) {
display: none !important;
@@ -4825,11 +4829,21 @@
// --- MOBILE GHOST LOG FADE IN/OUT ---
let logContainer = document.querySelector('.combat-log-container');
if (logContainer && window.innerWidth <= 950) {
- logContainer.classList.add('active-log');
- if (Gamestate.logFadeTimeout) clearTimeout(Gamestate.logFadeTimeout);
- Gamestate.logFadeTimeout = setTimeout(() => {
- logContainer.classList.remove('active-log');
- }, 4000);
+ // ONLY popup and show text if it is a DIRECTIVE
+ if (logData.message.includes('[ DIRECTIVE ]')) {
+ combatLog.innerHTML = ""; // Clear old text so it's perfectly clean
+ logContainer.classList.add('active-log');
+ if (Gamestate.logFadeTimeout) clearTimeout(Gamestate.logFadeTimeout);
+ Gamestate.logFadeTimeout = setTimeout(() => {
+ logContainer.classList.remove('active-log');
+ }, 4000);
+ } else {
+ // Instantly skip and hide all non-directive messages on mobile
+ this.isLogging = false;
+ logData.resolve();
+ this.processLogQueue();
+ return;
+ }
}
let entry = document.createElement('div');