html { zoom: 1.2; } html, body { width: 100%; height: 100%; margin: 0; background-color: #222222; font-family: sans-serif; border-radius: 15px; overflow: hidden; } #loginOverlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: black; z-index: 9999; display: flex; justify-content: center; align-items: center; color: white; font-size: 14px; font-family: 'Press Start 2P', monospace; } #mainContent { display: none; } #loginOverlay .spinner-text { display: flex; align-items: center; gap: 10px; font-family: 'Press Start 2P', monospace; font-size: 10px; } .spinner { width: 18px; height: 18px; border: 3px solid white; border-top: 3px solid #555; border-radius: 50%; animation: spin 1s linear infinite; } @keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } } #titleBar { padding: 9px 10px; background-color: #000; color: white; font-size: 7px; font-weight: bold; text-align: center; border-top-left-radius: 10px; border-top-right-radius: 10px; font-family: 'Press Start 2P', monospace; } .line { height: 2px; width: 100%; display: white; background: linear-gradient( 90deg, #5F00FF, /* 紫 */ #FF0000, /* 赤 */ #FF5F00, /* オレンジ */ #FFFF00, /* 黄色 */ #5FFF00, /* 黄緑 */ #00FF00, /* 緑 */ #00FFFF, /* 水色 */ #0000FF, /* 青 */ #5F00FF, /* 紫 */ #FF0000, #FF5F00, #FFFF00, #5FFF00, #00FF00, #00FFFF, #0000FF, #5F00FF ); background-size: 200% 100%; animation: rainbow-scroll 5s linear infinite; } @keyframes rainbow-scroll { 0% { background-position: 0% 0%; } 100% { background-position: 100% 0%; } } #welcomeMessage { text-align: center; color: white; font-family: 'Press Start 2P', monospace; font-size: 8px; /* フォント大きく */ line-height: 1.8; /* 行間調整で2行表示を見やすく */ margin-top: 30px; /* 位置を下げる */ } .tab-bar { display: flex; justify-content: space-around; margin: 5px 10px 10px 10px; } .tab-btn { flex: 1; margin: 0 2px; padding: 4px 0; font-size: 6px; background-color: #333; color: #00FFFF; /* 水色 */ border: none; border-radius: 4px; font-family: 'Press Start 2P', monospace; cursor: pointer; } .tab-btn.active { background-color: white; color: black; } .tab-content { display: none; font-size: 10px; color: white; font-family: 'Press Start 2P', monospace; text-align: center; margin-top: 10px; /* Welcome に近い位置に */ } .tab-content.active { display: block; } .button-row { display: flex; justify-content: space-between; align-items: center; padding: 5px 0; } .menu-button { font-family: 'Press Start 2P', monospace; font-size: 8px; padding: 7px 10px; border: none; border-radius: 4px; background-color: #444; color: white; cursor: pointer; } .menu-button:active { background-color: #ccc; } .menu-title { text-align: center; font-size: 12px; color: cyan; margin: 8px 0; font-family: 'Press Start 2P', monospace; } .button-column { display: flex; flex-direction: column; gap: 10px; align-items: center; } .input-row { display: flex; align-items: center; gap: 10px; justify-content: center; } .input-field { width: 80px; /* 幅を広げた */ padding: 4px 10px; /* 高さを調整 */ font-size: 8px; /* フォントサイズを少し大きく */ font-family: 'Press Start 2P', monospace; border-radius: 4px; border: none; } .coin-container { display: flex; justify-content: space-between; align-items: center; background-color: #444; padding: 3px 8px; border-radius: 4px; } .coin-container label { color: white; font-family: 'Press Start 2P', monospace; font-size: 8px; margin-right: 10px; width: 70px; /* Adjust width if needed */ text-align: left; } .coin-container input { background-color: #222; color: white; border: none; border-radius: 4px; padding: 4px; margin-right: 5px; font-family: 'Press Start 2P', monospace; font-size: 8px; width: 80px; /* Adjust width if needed */ } .coin-row-inline { display: flex; align-items: center; background-color: #444; padding: 3px 10px; border-radius: 4px; gap: 10px; } .coin-row-inline label { color: white; font-family: 'Press Start 2P', monospace; font-size: 8px; } .coin-row-inline input { background-color: #222; color: white; border: none; border-radius: 4px; padding: 4px; font-family: 'Press Start 2P', monospace; font-size: 8px; width: 80px; } .coin-row-inline .submit-button-inline { font-family: 'Press Start 2P', monospace; font-size: 6px; padding: 4px 8px; border: none; border-radius: 4px; background-color: white; color: black; cursor: pointer; } .coin-row-inline .submit-button-inline:active { background-color: #ccc; } .mc-freeze-container { display: flex; align-items: center; justify-content: space-between; background-color: #444; /* 背景色 */ padding: 4px 10px; border-radius: 4px; } .mc-freeze-label { font-family: 'Press Start 2P', monospace; color: white; font-size: 8px; margin-right: 10px; } .engine-layout { display: flex; justify-content: space-between; align-items: center; } .engine-label { flex-shrink: 0; font-weight: bold; } .engine-input-group { display: flex; gap: 8px; align-items: center; } .input-row-with-submit { display: flex; align-items: center; justify-content: center; margin: 6px 0; gap: 10px; } .submit-button-inline { font-family: 'Press Start 2P', monospace; font-size: 6px; padding: 4px 8px; border: none; border-radius: 4px; background-color: white; color: black; cursor: pointer; } .submit-button-inline:active { background-color: #ccc; } .submit-container { margin-top: 10px; text-align: center; } .submit-button { padding: 8px 15px; background-color: #444; color: white; border: none; border-radius: 5px; cursor: pointer; } .submit-button:hover { background-color: #666; } .slider-checkbox { margin-left: 10px; } /* スライドスイッチ */ .switch { position: relative; display: inline-block; width: 30px; height: 15px; } .switch input { opacity: 0; width: 0; height: 0; } .slider { position: absolute; cursor: pointer; background-color: #ccc; border-radius: 15px; top: 0; left: 0; right: 0; bottom: 0; transition: 0.4s; } .slider:before { position: absolute; content: ""; height: 13px; width: 13px; left: 2px; bottom: 1.1px; background-color: white; border-radius: 50%; transition: 0.4s; } .switch input:checked + .slider { background-color: #4cd944; } .switch input:checked + .slider:before { transform: translateX(14px); } .custom-alert { font-family: 'Press Start 2P', monospace; position: fixed; bottom: 5px; left: 50%; transform: translateX(-50%) scale(0.8); background: purple; color: lightgreen; padding: 10px 20px; border-radius: 8px; border: 3px solid #D8B98A; z-index: 9999; text-align: center; opacity: 0; transition: opacity 0.4s ease, transform 0.4s ease; pointer-events: none; box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4); } .custom-alert.show { opacity: 1; transform: translateX(-50%) scale(1); pointer-events: auto; }