body {
    margin: 0;
   
    font-family: sans-serif;
}
.viewer-box {
    position: relative;
    width: 100%;
    max-width: 600px;
    height: 500px; 
    margin: 20px auto;
    background-color: #ffffff;
    box-shadow: 2px 2px 15px grey;
    border-radius: 12px;
    overflow: hidden;
}

.canvas-wrapper { width: 100%; height: 100%; }

.ui-layer { 
    position: absolute; 
	bottom: 15px; 
	left: 50%; 
	transform: translateX(-50%);
    width: 80%; 
	background: rgba(255, 255, 255, 0.8);
    padding: 
	10px; 
	border-radius: 8px; 
	text-align: center;
    backdrop-filter: blur(5px); 
	border: 1px solid rgba(0,0,0,0.1);
}

.status-ready { 
    color: #00ffaa; 
    font-weight: bold; 
}

input[type=range] { 
    width: 100%; 
    margin-top: 10px; 
    cursor: pointer; 
    accent-color: #007bff;
}

#fullscreen-btn {
    position: absolute; 
    top: 15px; 
    right: 15px;
    background: rgba(255,255,255,0.1); 
    border: none; 
    color: black;
    padding: 8px 12px; 
    border-radius: 5px; 
    cursor: pointer;
    transition: background 0.2s;
}

#fullscreen-btn:hover { 
    background: rgba(255,255,255,0.2); 
}
input[type=range] {
  -webkit-appearance: none; /* Deaktiviert Standard-Look */
  width: 100%;
  height: 8px;
  border-radius: 5px;
  outline: none;
  transition: background 0.1s;
}

/* Der "Knopf" des Sliders */
input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  background: #333;
  border-radius: 50%;
  cursor: pointer;
}
input[type=range] {
  -webkit-appearance: none;
  width: 100%;
  height: 10px;
  background: #ddd; /* Sichtbarer Rahmen/Hintergrund während Loading */
  border-radius: 5px;
  border: 1px solid #ccc; /* Zusätzlicher Rahmen */
  outline: none;
}