* {
  margin: 0;
  padding: 0;
  outline: 0;
  box-sizing: border-box;
}

body, html {
  width: 100vw;
  height: 100vh;
}

body {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #000;
}

.container {
  display: flex;
  flex-wrap: wrap;
  width: 90%;
}
.container {
  display: flex;
  flex-wrap: wrap;
  width: 90%;
  gap: 12px; /* spacing between frames so borders are visible */
}
.container .tv-view {
  display: flex;
  position: relative;
  width: calc(33.3333333333% - 12px);
  border: 5px solid #fff; /* white frame */
  border-radius: 6px;
  overflow: hidden; /* keep inner media clipped to rounded frame */
  background: #000; /* dark inner background for contrast */
}
.container .tv-view.drag-over { outline: 3px dashed #fff; }
.container .tv-view.dragging { opacity: 0.6; transform: scale(0.98); }

/* drag handle */
.container .tv-view .drag-handle{
  position: absolute;
  top: 6px;
  left: 6px;
  width: 28px;
  height: 28px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 4px;
  z-index: 50;
  cursor: grab;
}
.container .tv-view .drag-handle:active{ cursor: grabbing; }
.container .tv-view .tv-cont {
  display: flex;
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  background-color: #000; /* dark background to avoid visible gaps */
}
.container .tv-view .tv-cont {
  display: flex;
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  background-color: #000; /* dark background to avoid visible gaps */
  overflow: hidden; /* ensure children don't overflow the framed area */
}
.container .tv-view .tv-cont iframe,
.container .tv-view .tv-cont video,
.container .tv-view .tv-cont .buyuk-ekran{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
  object-fit: cover; /* works for video; iframes will still fill their box */
}

/* ensure media elements have dark background to hide container gaps */
.container .tv-view .tv-cont iframe,
.container .tv-view .tv-cont video { background: #000; }
.container .tv-view .tv-cont iframe:hover ~ .reset-btn {
  display: flex;
}
.container .tv-view .tv-cont .reset-btn {
  display: none;
  position: absolute;
  top: 50%;
  z-index: 999;
  background-color: rgba(255, 255, 0, 0.589);
  width: 8rem;
  font-size: 2rem;
  border: none;
}
.container .tv-view .tv-cont .inp {
  display: flex;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%); /* center the input nicely */
  z-index: 10;
}
.container .tv-view .tv-cont .inp input {
  background-color: transparent;
  border: none;
  border-bottom: 2px solid #fff;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  color: #fff;
  font-size: 1.5rem;
}
.container .tv-view .tv-cont .inp button {
  width: 4rem;
  background-color: #fff;
  border: none;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  font-size: 1.5rem;
  color: red;
}
/* make iframe fill nicely and avoid stretched pixels */
.container .tv-view .tv-cont .buyuk-ekran{
  width:100%;
  height:100%;
  display:block;
}

/* show reset button when hovering the container (works on mobile if tapped) */
.container .tv-view .tv-cont:hover .reset-btn{ display:flex; }
/*# sourceMappingURL=style.css.map */