diff --git a/index.html b/index.html index 8365cf5..fe2e432 100644 --- a/index.html +++ b/index.html @@ -588,6 +588,21 @@ color: #888; } + .error-box { + padding: 15px 20px; + margin-bottom: 25px; + border-left: 3px solid #ff0011; + background-color: #1c1c1c; + border-radius: 0 8px 8px 0; + } + + .error-box p { + font-style: italic; + color: #e0e0e0; + margin: 0; + font-size: 1em; + } + /* Responsive adjustments */ @media (max-width: 768px) { #install-video { width: 260px; } @@ -678,11 +693,14 @@
← Back +
LEGO Island Shark and Brickster
-
+

Game

@@ -1059,6 +1077,10 @@ return await root.getFileHandle(this.filePath, { create: true }); } catch (e) { console.error("OPFS not available or permission denied.", e); + document.getElementById('opfs-disabled').style.display = ''; + document.getElementById('config-form').querySelectorAll('input, select').forEach(element => { + element.disabled = true; + }); return null; } },