/* Home — the old home.blade.php styles, copied value for value (owner instruction 9 Nov 2026: every size as on
   the old site). The old picture buttons were <div>s; here they are <button>s with the same look (button defaults
   removed). Additions only for elements the old page did not have: the ⓘ rules link (U-2), the empty state, the
   VOID badge/reason (U-V) and the recording date/play spans inside the recording buttons. */

.div-live {
  padding: 40px !important;
  float: left;
  display: inline-block !important;
}

.div-live .div-live-content {
  width: 100%;
  height: auto;
  position: relative;
}

.div-live .div-live-content img {
  width: 100%;
  height: auto;
  position: absolute;
  outline: solid;
  outline-width: 4px;
  outline-color: rgb(248, 63, 6);
  display: inline-block;
}

.div-live .div-live-content .frame-live {
  width: 100%;
  height: 400px;
  position: absolute;
  outline: solid;
  outline-width: 4px;
  outline-color: rgb(248, 63, 6);
  display: inline-block;
  border: 0;
}

.div-live .div-live-content .frame-live[hidden] {
  display: none;
}

.button-live {
  position: absolute;
  width: 100%;
  height: 400px;
  z-index: 9999;
  pointer-events: none;
}

.button-live button {
  pointer-events: auto;
  padding: 0;
  border: 0;
  background-color: transparent;
  cursor: pointer;
}

.button-live .button-fullscreen-live {
  background-image: url('/image/fullscreen.png');
  width: 100px;
  height: 35px;
  position: absolute;
  z-index: 99999;
  background-size: contain;
  background-repeat: no-repeat;
}

.button-live .button-unmute-live {
  background-image: url('/image/unmute.png');
  width: 100px;
  height: 35px;
  position: absolute;
  z-index: 99999;
  margin-left: 100px;
  background-size: contain;
}

.button-live .button-unmute-live.alone {
  margin-left: 0;
}

.button-live button[hidden] {
  display: none;
}

.div-live-div-time {
  position: absolute;
  width: 100%;
  text-align: center;
}

.div-live-header-time {
  margin-top: 13%;
  margin-bottom: 5px;
}

.div-live-header-time span {
  font-size: 1.3em;
  color: rgb(250, 96, 5);
}

.div-live-content-time {
  text-align: center;
}

.div-live-content-time div {
  background-color: rgba(254, 195, 61, 0.3);
  width: 100%;
  text-align: center;
  padding-top: 10px;
  padding-bottom: 20px;
}

.div-live-content-time table {
  text-align: center;
  display: inline-block;
  margin: 0 auto;
  line-height: normal; /* old quirks mode: tables do not inherit the page line height */
  vertical-align: top; /* old quirks mode: no text descender gap under the table */
}

.div-live-content-time table .header-time {
  color: rgb(179, 68, 4);
  font-size: 0.9em;
  padding-bottom: 5px;
}

.div-live-content-time table .number-time {
  background-color: rgb(252, 115, 5);
  color: white;
  font-size: 2.6em;
  font-family: "Square";
  border-radius: 15px;
  outline: solid;
  outline-width: 4px;
  outline-color: rgb(179, 68, 4);
  width: 65px;
  height: 70px;
}

.div-live-content-time table .number-time span {
  text-shadow: 2px 2px rgba(0, 0, 0, 0.3);
}

.div-live-content-time table .time-semi span {
  font-size: 3em;
  color: rgb(179, 68, 4);
  padding-left: 10px;
  padding-right: 10px;
}

.div-time-result-right {
  float: left;
  padding-top: 40px;
  padding-right: 150px !important;
}

.button-video-late {
  z-index: 9999999;
  position: absolute;
  width: 100%;
  margin-top: 5px;
}

.button-video-late[hidden] {
  display: none;
}

.button-video-late .button-close-video {
  background-image: url('/image/btn_close.png');
  width: 90px;
  height: 25px;
  position: absolute;
  z-index: 99999;
  margin-left: 5px;
  background-size: contain;
  padding: 0;
  border: 0;
  background-color: transparent;
  cursor: pointer;
}

.button-video-late .div-date-video {
  background-image: url('/image/img_date.png');
  width: 90px;
  height: 25px;
  position: absolute;
  z-index: 99999;
  margin-left: 100px;
  background-size: contain;
  padding-top: 4px;
  padding-left: 35px;
}

.div-date-video span {
  font-size: 0.7em;
  color: rgb(243, 220, 54);
}

.frame-video-late {
  z-index: 999999;
}

.div-header-content-video {
  position: absolute;
  color: rgb(250, 96, 5);
}

.div-content-video {
  position: absolute;
  width: 100%;
  height: auto;
  overflow: auto;
  white-space: nowrap;
  z-index: 9999;
  background-color: rgba(0, 0, 0, 0.3);
}

/* old: <img class="click-list-video"> 180 x 105 with the video_tamplet.png frame */
.div-content-video .video-item {
  position: relative;
  display: inline-block;
  vertical-align: top;
  width: 180px;
  height: 105px;
  background-image: url('/image/video_tamplet.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-color: transparent;
  padding: 5px;
  border: none;
  margin-left: 2px;
  margin-right: 2px;
  cursor: pointer;
}

.div-content-video .video-item .video-date {
  position: absolute;
  left: 47px;
  top: 82px;
  color: white;
  font-size: 0.6em;
  padding: 3px;
  border-radius: 5px;
  z-index: 999;
}

.div-content-video .video-item .tombol-play {
  position: absolute;
  left: 72px;
  top: 30px;
  background-image: url('/image/btn_play_video.png');
  background-size: contain;
  background-repeat: no-repeat;
  z-index: 99999;
  width: 30px;
  height: 30px;
}

.div-last-result {
  width: 100%;
}

/* vertical-align: top on the old inline-blocks below: the old quirks mode left no text descender gap under them */
.div-last-result .div-time-result-header {
  vertical-align: top;
  display: inline-block;
  color: rgb(250, 96, 5);
  font-size: 1.2em;
  padding-left: 10px;
  padding-right: 10px;
  padding-bottom: 5px;
  width: 100%;
}

.div-last-result .div-time-result-header .header-last-result {
  float: left;
}

.div-last-result .div-time-result-header .header-time-last-result {
  float: right;
}

.div-last-result .div-result .div-result-content {
  border-radius: 20px;
  background-color: rgba(254, 195, 61, 0.3);
  text-align: center;
  padding-top: 20px;
  padding-bottom: 25px;
}

.div-result-4d-result-header {
  font-size: 1.4em;
  color: rgb(250, 96, 5);
}

/* U-2: ⓘ link to the rules page after the title: a 40 x 40 px touch target (§9.6) whose negative margins cancel
   its size in the line, so the title wraps exactly where the old title did and the box keeps the old height. */
.div-result-4d-result-header .rule-info {
  display: inline-block;
  vertical-align: top;
  width: 40px;
  height: 40px;
  margin: -3px -40px -37px 0;
  line-height: 40px;
  text-align: center;
  color: rgb(250, 96, 5);
  font-size: 0.7em;
  text-decoration: none;
}

.div-result-4d-result-4D {
  margin-top: 10px;
}

.div-result-4d-result-4D div {
  display: inline-block;
  background-color: rgb(252, 115, 5);
  color: white;
  font-size: 2.6em;
  font-family: "Square";
  border-radius: 50%;
  outline: solid;
  outline-width: 4px;
  outline-color: rgb(179, 68, 4);
  width: 65px;
  height: 65px;
  margin-left: 10px;
  margin-right: 10px;
}

.div-result-4d-result-4D div span {
  text-shadow: 2px 2px rgba(0, 0, 0, 0.3);
}

.div-result-4d-result-7Ball {
  display: inline-block;
  margin-top: 25px;
}

.div-result-4d-result-7ball-header {
  font-size: 0.9em;
  color: white;
  background-color: rgb(252, 115, 5);
  border-radius: 5px;
  outline: solid;
  outline-width: 2px;
  outline-color: rgb(179, 68, 4);
  padding-top: 3px;
  padding-bottom: 3px;
  display: block;
}

.div-result-4d-result-7ball-content {
  width: 100%;
}

.div-result-4d-result-7ball-content div {
  display: block;
  margin-left: 2px;
  margin-right: 2px;
  float: left;
  color: rgb(252, 115, 5);
  background-color: white;
  border-radius: 3px;
  outline: solid;
  outline-width: 2px;
  outline-color: rgb(179, 68, 4);
  width: 50px;
  height: 50px;
  margin-top: 3px;
}

.div-result-4d-result-7ball-content div span {
  font-size: 1.9em;
  text-shadow: 1px 1px rgba(0, 0, 0, 0.6);
  font-family: 'Square';
}

.sponsor {
  width: 100%;
  margin-top: 25px;
}

.sponsor img {
  width: 100%;
  height: auto;
}

.div-other-last-result {
  border-radius: 20px;
  background-color: rgba(254, 195, 61, 0.3);
  text-align: center;
  margin-top: 20px;
  display: inline-block;
  vertical-align: top;
  width: 100%;
}

.div-other-last-result .list-other-last-result {
  vertical-align: top;
  display: inline-block;
  width: 100%;
  padding-top: 12px;
  padding-bottom: 12px;
  color: rgb(252, 115, 5);
}

.div-other-last-result .active-list {
  background-color: rgba(255, 155, 5, 0.3);
  width: 100%;
}

.list-other-last-result .day-other-last-result {
  float: left;
  width: 50%;
}

.result-other-last-result {
  float: left;
  width: 50%;
}

.result-other-last-result .number-result-other-last-result {
  display: inline-block;
  background-color: rgb(252, 115, 5);
  color: white;
  font-size: 1.5em;
  font-family: "Square";
  border-radius: 50%;
  outline: solid;
  outline-width: 2px;
  outline-color: rgb(179, 68, 4);
  width: 35px;
  height: 35px;
  margin-left: 4px;
  margin-right: 4px;
}

.result-other-last-result .number-result-other-last-result span {
  text-shadow: 1px 1px rgba(0, 0, 0, 0.6);
}

.div-content {
  padding-top: 70px;
  padding-bottom: 250px;
  display: inline-block;
  color: white;
  margin: 0 auto;
  text-align: left;
}

.div-content-icon {
  display: block;
  float: left;
}

.div-content-icon-text {
  display: block;
  float: left;
  padding-left: 20px;
}

.div-content-icon-vp img {
  width: 50px;
  height: auto;
}

.div-content-icon-vp span {
  padding-left: 10px;
  color: rgb(252, 115, 5);
}

.div-content-text {
  margin-top: 30px;
}

.div-content-icon-text-div {
  border-radius: 10px;
  background-color: rgb(252, 115, 5);
  padding: 15px;
  padding-left: 30px;
  padding-right: 30px;
  text-align: left;
}

.div-content-icon-text-div-header {
  font-size: 1.2em;
}

.div-content-icon-text-div-text {
  font-family: 'VERDANA';
  font-size: 0.8em;
  margin-top: 5px;
}

.add-margin {
  margin-top: 25px;
}

.last-7ball {
  background-color: rgb(255, 163, 87) !important;
  color: white !important;
}

/* ---------- additions (not on the old page) ---------- */
.div-result-content .neutral {
  margin: 0;
  color: rgb(179, 68, 4);
  font-family: 'VERDANA';
}

.void-badge {
  display: inline-block;
  padding: 1px 8px;
  border-radius: 4px;
  background-color: #6c757d;
  color: white;
  font-size: 0.8rem;
}

.list-other-last-result .void-reason {
  clear: both;
  padding: 4px 15px 0;
  font-family: 'VERDANA';
  font-size: 0.8rem;
  color: #495057;
  overflow-wrap: anywhere;
}

@media (max-width: 1000px) and (orientation: landscape) {
  .div-live {
    margin: 0px !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
  }

  .div-live-header-time {
    margin-top: 5% !important;
    font-size: 0.8em;
  }

  .div-time-result-right {
    padding: 0px !important;
    padding-left: 10% !important;
    padding-right: 10% !important;
    margin-top: 400px !important;
    font-size: 0.8em;
  }

  .div-live-content-time table .number-time {
    font-size: 2em !important;
    border-radius: 15px;
    outline-width: 3px !important;
    width: 55px !important;
    height: 50px !important;
  }

  .div-live-content-time table .time-semi span {
    font-size: 1.9em !important;
    color: rgb(179, 68, 4);
    padding-left: 10px;
    padding-right: 10px;
  }

  .div-resresultult-4d- {
    padding-left: 25px !important;
    padding-right: 25px !important;
  }

  .div-result-4d-result-4D div {
    font-size: 2.3em !important;
    outline-width: 3px !important;
    width: 45px !important;
    height: 45px !important;
    margin-left: 5px !important;
    margin-right: 5px !important;
  }

  .div-result-4d-result-7Ball {
    margin-top: 20px !important;
  }

  .div-result-4d-result-7ball-content div {
    border-radius: 3px;
    outline: solid;
    width: 34px !important;
    height: 34px !important;
    padding-top: 3px !important;
    margin-top: 3px !important;
  }

  .div-result-4d-result-7ball-content div span {
    padding: 0;
    margin: 0;
    font-size: 1.5em !important;
  }

  .list-other-last-result .day-other-last-result {
    width: 30%;
    font-size: 1.2em;
  }

  .result-other-last-result {
    width: 70%;
  }

  .result-other-last-result .number-result-other-last-result {
    font-size: 1.9em;
  }

  .div-last-result .div-time-result-header {
    margin-top: 20px;
  }

  .div-content {
    padding-left: 5% !important;
    padding-right: 5% !important;
    padding-bottom: 50px !important;
  }

  .div-content .div-content-icon-vp {
    text-align: center;
  }

  .div-content-icon {
    width: 100% !important;
    text-align: center;
  }

  .div-content-icon img {
    width: 300px !important;
    height: auto !important;
  }

  .div-content-icon-text {
    padding-left: 0px;
  }

  .div-content-icon-text-div-text {
    text-align: justify;
  }

  .last-7ball {
    outline-color: rgb(179, 68, 4) !important;
    outline-width: 2px !important;
  }
}

@media (max-width: 450px) {
  .div-live {
    margin: 0px !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
  }

  .div-live .div-live-content .frame-live {
    height: 230px;
  }

  .div-live-header-time {
    margin-top: 5% !important;
    font-size: 0.8em;
  }

  .div-time-result-right {
    padding: 0px !important;
    padding-left: 10% !important;
    padding-right: 10% !important;
    margin-top: 330px !important;
    font-size: 0.8em;
  }

  .div-live-content-time table .number-time {
    font-size: 2em !important;
    border-radius: 15px;
    outline-width: 3px !important;
    width: 55px !important;
    height: 50px !important;
  }

  .div-live-content-time table .time-semi span {
    font-size: 1.9em !important;
    color: rgb(179, 68, 4);
    padding-left: 10px;
    padding-right: 10px;
  }

  .div-resresultult-4d- {
    padding-left: 25px !important;
    padding-right: 25px !important;
  }

  .div-result-4d-result-4D div {
    font-size: 2.3em !important;
    outline-width: 3px !important;
    width: 45px !important;
    height: 45px !important;
    margin-left: 5px !important;
    margin-right: 5px !important;
  }

  .div-result-4d-result-7Ball {
    margin-top: 20px !important;
  }

  .div-result-4d-result-7ball-content div {
    border-radius: 3px;
    outline: solid;
    width: 34px !important;
    height: 34px !important;
    padding-top: 3px !important;
    margin-top: 3px !important;
  }

  .div-result-4d-result-7ball-content div span {
    padding: 0;
    margin: 0;
    font-size: 1.5em !important;
  }

  .list-other-last-result .day-other-last-result {
    width: 30%;
    font-size: 1.2em;
  }

  .result-other-last-result {
    width: 70%;
  }

  .result-other-last-result .number-result-other-last-result {
    font-size: 1.9em;
  }

  .div-last-result .div-time-result-header {
    margin-top: 20px;
  }

  .div-content {
    padding-left: 5% !important;
    padding-right: 5% !important;
    padding-bottom: 60px; /* old master.blade.php rule, which came after the page styles and won */
  }

  .div-content .div-content-icon-vp {
    text-align: center;
  }

  .div-content-icon img {
    width: 100% !important;
    height: auto !important;
  }

  .div-content-icon-text {
    padding-left: 0px;
  }

  .div-content-icon-text-div-text {
    text-align: justify;
  }

  .last-7ball {
    outline-color: rgb(179, 68, 4) !important;
    outline-width: 2px !important;
  }
}

.frame-live-fullscreen {
  height: 100% !important;
}
