/* Reset and base styles */
body {
    margin: 0;
    padding: 10px;
    background: #ddd;
    font-family: Arial, sans-serif;
}

/* Layout */
.container {
    text-align: center;
}

.controls {
    margin-bottom: 10px;
}

.controls select,
.controls button {
    margin: 0 5px;
    padding: 5px 10px;
}

/* Game frame */
.game-frame {
    width: 960px;
    height: 600px;
    border: 1px solid #000;
}

/* Fullscreen styles */
.tab-fullscreen-iframe {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    z-index: 9999 !important;
    border: none !important;
}

.tab-fullscreen-body {
    overflow: hidden !important;
}

.hide-controls {
    display: none !important;
}

.exit-overlay {
    display: none;
    position: fixed;
    top: 10px;
    right: 10px;
    z-index: 10000;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 10px;
    border-radius: 5px;
}

.exit-button {
    background: #ff4444;
    color: white;
    border: none;
    padding: 5px 10px;
    border-radius: 3px;
    cursor: pointer;
}

/* Save editor */
.save-editor {
    display: none;
    margin-bottom: 10px;
    padding: 15px;
    background: #fff;
    border: 1px solid #000;
    border-radius: 5px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.save-editor-title {
    margin: 0 0 10px 0;
}

.save-status {
    margin-bottom: 10px;
    color: #666;
    font-size: 14px;
}

.save-values {
    margin-bottom: 10px;
}

.save-entry {
    margin: 5px auto;
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 400px;
}

.save-entry label {
    flex: 1;
    text-align: right;
    font-weight: bold;
}

.save-entry input {
    width: 100px;
    padding: 3px;
}

.save-editor button {
    margin: 0 5px;
    padding: 8px 15px;
}
