html, body {
    margin: 0; padding: 0; width: 100%; height: 100%;
    background-color: #ffffff; color: #0f172a;
    font-family: monospace; box-sizing: border-box;
}
#clocks-area { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
.clock-display { position: absolute !important; display: flex !important; font-weight: 700; line-height: 1; }
.colon { animation: blink 1s infinite; }
#control-panel {
    position: fixed; top: 60px; right: 20px; width: 320px; background: #ffffff;
    border: 2px solid #cbd5e1; border-radius: 8px; padding: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15); z-index: 9999; max-height: 80vh; overflow-y: auto;
}
#control-panel h3 { margin: 0 0 15px 0; font-size: 1.1rem; border-bottom: 2px solid #e2e8f0; padding-bottom: 5px; }
#control-panel h4 { margin: 10px 0 5px 0; color: #1e293b; font-size: 0.9rem; }
.global-control { margin-bottom: 15px; font-weight: bold; font-size: 0.85rem; display: flex; flex-direction: column; gap: 10px; }
.color-row { display: flex; justify-content: space-between; align-items: center; width: 100%; }
.get-btn { width: 100%; padding: 8px; background: #16a34a; color: white; border: none; border-radius: 4px; cursor: pointer; font-family: monospace; font-weight: bold; margin-top: 5px; }
.get-btn:hover { background: #15803d; }
#url-output { width: 100%; padding: 5px; margin-top: 8px; font-family: monospace; font-size: 0.75rem; box-sizing: border-box; background: #f1f5f9; border: 1px solid #cbd5e1; border-radius: 4px; }
.clocks-column { display: flex; flex-direction: column; gap: 10px; margin-bottom: 15px; }
.clock-control-box { background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 6px; padding: 10px; }
.form-item { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 5px; }
label { font-size: 0.8rem; color: #475569; }
input[type="number"] { width: 70px; padding: 3px; font-family: monospace; }
.color-picker-group { display: flex; align-items: center; gap: 5px; }
input[type="text"] { width: 75px; padding: 3px; font-family: monospace; text-transform: uppercase; }
input[type="color"] { width: 30px; height: 24px; cursor: pointer; border: 1px solid #ccc; padding: 0; }
#toggle-panel-btn { position: fixed; top: 20px; right: 20px; z-index: 10000; padding: 8px 12px; background: #0f172a; color: #ffffff; border: none; border-radius: 6px; cursor: pointer; font-family: monospace; font-weight: bold; box-shadow: 0 2px 10px rgba(0,0,0,0.2); }
#toggle-panel-btn:hover { background: #1e293b; }
table { width: 100%; border-collapse: collapse; font-size: 0.75rem; margin-top: 10px; }
th, td { text-align: left; padding: 4px; border-bottom: 1px solid #e2e8f0; }
th { color: #64748b; }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }
