         :root{--bg:#0b0b0b;--fg:#f2f2f2;--muted:#b9b9b9;--card:#121212;--accent:#d4af37}
    *{box-sizing:border-box}
    body{margin:0;font-family:system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,"Helvetica Neue",Arial;line-height:1.6;background:var(--bg);color:var(--fg)}
    a{color:#db0007;text-decoration:none}
    a:hover{text-decoration:underline}
    header,main,footer{max-width:1000px;margin:auto;padding:16px}
    header h1{font-size:clamp(1.25rem,2.5vw,1.75rem);margin:.25em 0}
    .card{background:var(--card);border-radius:1px;padding:16px;margin:16px 0}
    .muted{color:var(--muted)}
    .center{text-align:center}
    img{max-width:100%;height:auto;border-radius:1px;}
    table{width:100%;border-collapse:collapse;font-variant-numeric:tabular-nums}
    th,td{border:1px solid #222;padding:8px;text-align:center}
    th{background:#161616}
    iframe{width:100%;border:0;border-radius:12px}
    ul{padding-left:18px}
    blockquote{border-left:4px solid var(--accent);padding-left:12px;margin:16px 0;color:var(--muted)}
    .badge{display:inline-block;background:#1b1b1b;border:1px solid #222;border-radius:999px;padding:4px 10px;margin-right:6px}

   
    nav.card{padding:0;background:#db0007;overflow:hidden}
    nav.card a{
      display:block;
      width:100%;
      padding:14px 12px;
      margin:0;
      background:#db0007;
      color:#F5F5F5;
      font-weight:600;
      border-bottom:1px solid rgba(0,0,0,.15);
      border-radius:0;
      text-decoration:none
    }
    nav.card a:last-child{border-bottom:none}
    nav.card a:hover{background:red;color:#F5F5F5;text-decoration:none}
  

  
    table{background:#ffffff;color:#000000}
    table th{background:#db0007;color:#F5F5F5}
    table td{background:#ffffff;color:#000000}
    
  
.header-banner{
  display:flex;
  flex-direction:column;   
  align-items:center;      
  gap:1px;
  margin:16px 0;
}

.header-banner a{
  display:block;
  text-align:center;
}

.header-banner img{
  display:block;
  width:auto;
  max-width:100%;          
  height:auto;
  margin:0 auto;           
}
.floating-top,
.floating-bottom{
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  width: 728px;
  max-width: 728px;
  z-index: 2147483647;
}

.floating-top{ top: 0; }
.floating-bottom{ bottom: 0; }

.floating-top a,
.floating-bottom a{
  display:block;
}

.floating-top img,
.floating-bottom img{
  width: 728px;
  height: 90px;
  display: block;
}

  
.last-update {
  font-size: 13px;
  color: #666;
  margin-bottom: 10px;
}
 .t1 {
  width: 40%;
  padding: 5px 0px 5px 10px;
  border: 1px solid #989898;
  background: white;
  font-size: 16px;
}

.t2 {
  width: 30%;
  padding: 5px 0px 5px 10px;
  border: 1px solid #989898;
  background: white;
  font-size: 16px;
}

.t3 {
  width: 30%;
  padding: 5px 0px 5px 10px;
  border: 1px solid #989898;
  background: white;
  font-size: 16px;
}

.out-link {
  list-style-type: square;
  margin: 0px 35px;
  color: white;
}

.out-link a {
  text-decoration: none;
  color: white;
}

a:hover {
  color: #ffffff;
}

.table-container {
  width: 100%;
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
}

.cb,
.asu {
  color: #000 !important;
}

table td[colspan] {
  color: #000 !important;
  font-weight: bold;
}

tr.headd {
  background-color: #fff;
  color: #000; 
  font-weight: bold;
  text-align: center;
}

.asu {
  font-weight: 100;
}

.e1,
.e2,
.e3,
.e4,
.e5,
.e6,
.e7,
.e8,
.e9,
.e0 {
  background-color: #ff4d4d;
  border-radius: 0;
  color: #000;
}

.k1,
.k2,
.k3,
.k4,
.k5,
.k6,
.k7,
.k8,
.k9,
.k0 {
  background-color: green;
  border-radius: 0;
  color: #fff;
}

.c1,
.c2,
.c3,
.c4,
.c5,
.c6,
.c7,
.c8,
.c9,
.c0 {
  background-color: blue;
  border-radius: 0;
  color: #fff;
}

.a1,
.a2,
.a3,
.a4,
.a5,
.a6,
.a7,
.a8,
.a9,
.a0 {
  background-color: orange;
  border-radius: 0;
  color: #000;
}

.highlight {
  padding: 1px 4px;
  margin: 0 -4px;
}

input.cari {
  width: 50px;
  text-align: center;
  color: #333;
  font-weight: 700;
  background: #f0f7f2;
}

#rb {
  background: #20a53a;
}

#myForm {
  padding: 5px;
}

fieldset {
  border: none;
  margin: 0;
  padding: 0;
  list-style: none;
  vertical-align: baseline;
}

.head th {
  background: #20a53a;
  color: #fff;
  border: 1px solid #ddd;
  font-weight: normal;
  height: 20px;
}

.entry-content th,
.entry-content td,
.comment-content th,
.comment-content td {
  padding: 0 !important;
}

textarea {
  width: 100%;
}

.asux {
  background: none repeat scroll 0 0 #fff;
  color: #d7d1d1;
  font-weight: 400;
}

tr:nth-last-child(5n+1) {
  background: none repeat scroll 0 0 #e8e4e7 !important;
}

.colormenu {
  background: #022142;
  width: 738px;
  height: 30px;
  center: unset;
  z-index: 99999;
  padding: 0;
  max-width: 100%;
  margin-bottom: 10px;
}

.colormenu.fixed {
  position: fixed;
  height: 30px;
  center: unset;
  width: 738px !important;
  top: 0;
  left: 0 !important;
  margin: auto;
  right: 0;
}

.intro td {
  background: none repeat scroll 0 0 #ffffff !important;
}

table {
  background: #fff none repeat scroll 0 0;
  margin: 1px;
  min-width: 500px;
}

#drawing-table thead td {
  background: #dd9933 !important;
  width: 100%;
  background: #0000f4 !important;
  margin: 0;
  margin-top: 10px;
}

#drawing-table td {
  border: 1px solid #d9d9d9;
  text-align: center;
  padding: 0;
  font-family: 'Roboto', sans-serif;
  font-size: 13px;
  font-weight: bold;
  padding: 3px 0 3px 0;
}

#color-selector .color {
  float: left;
  height: 25px;
  position: relative;
  width: 11%;
  cursor: pointer;
}

#color-selector .color.eraser {
  background: none repeat scroll 0 0 #fff;
}

#color-selector .color.Blue {
  background: #43a2ff;
}

#color-selector .color.Aqua {
  background: #00F5FF;
}

#color-selector .color.Teal {
  background: #43CD80;
}

#color-selector .color.Lime {
  background: #01FF70;
}

#color-selector .color.Yellow {
  background: #FFDC00;
}

#color-selector .color.Orange {
  background: #FF851B;
}

#color-selector .color.Red {
  background: #FF4136;
}

#color-selector .color.Pink {
  background: #F012BE;
}

#color-selector .color.Purple {
  background: #A23BEC;
}

#color-selector .color.Silver {
  background: #a9a9a9;
}

#color-selector .selected {
  box-shadow: inset 0 0 0 2px #000;
}

#btnSubmit {
  float: left;
  margin-top: 0;
  font-size: 9px;
  background: #333;
  color: #FFF;
  font-weight: 600;
  border: none;
  height: 25px;
  line-height: 25px;
  width: 10%;
  cursor: pointer;
  text-transform: uppercase;
}

#table-wrap {
  font-weight: 700;
  position: relative;
}

#table-wrap table {
  position: relative;
  z-index: 10;
}

#toggle-tracing-mode {
  display: none;
}

#html-wrap textarea {
  height: 50px;
  margin: 0 0 10px;
  overflow: auto;
  width: 100%;
}
 @media (max-width:1000px){
  .floating-top img,
  .floating-bottom img{
    width:100%;
    height:auto;
  }
   header,main,footer{
    max-width:100%;
    padding:5px;
  }

  .card{
    padding:5px;
  }
}
    @media (max-width:768px) {
       table th, table td{padding:6px;font-size:13.5px}
    }
      .floating-top,
  .floating-bottom{
    width: 100%;
    padding: 0 6px;
  }

  .floating-top a,
  .floating-bottom a,
  .floating-top img,
  .floating-bottom img{
    width: 100%;
    height: auto;
  }
   #drawing-table {
    min-width: 100%;
    margin-right: -10px;
    margin-left: -10px;
  }
    

   
/* container */

.floating-top,
.floating-bottom{
  position:fixed;
  left:50%;
  transform:translateX(-50%);
  z-index:9999;
  display:flex;
  flex-direction:column;
  gap:0px;
  pointer-events:auto;
}

/* posisi */
.floating-top{ top:0; }
.floating-bottom{ bottom:0; }

/* link & gambar */
.floating-top a,
.floating-bottom a{
  display:block;
}

.floating-top img,
.floating-bottom img{
  width:728px;
  height:80px;
  max-width:100%;
  object-fit:contain;
  display:block;
}




.contact-box {
  max-width: 420px;
  margin: 10px auto;
  padding: 10px 16px;
  background: #ffffff;
  border: 1px solid #ddd;
  border-left: 4px solid #c80000;
  text-align: center;
  color: #000;
}

.contact-box p {
  margin: 0;
  font-size: 14px;
  color: #000;
}

.contact-box a {
  color: #000;
  font-weight: 600;
}
#popup-overlay {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0,0,0,.7);
  z-index: 9999;
}

.popup-box {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 2px;
  background: transparent;
  border-radius: 5px;
  width: auto;
  max-width: 420px; /* KUNCI DI SINI */
}

/* === IMAGE === */
.popup-box img {
  width: 100%;
  height: auto;
  display: block;
}

.popup-close {
  position: absolute;
  top: -12px;
  right: -12px;
  background: #FFD700; /* kuning */
  color: #000; /* X hitam */
  border: none;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  font-size: 22px;
  font-weight: bold;
  cursor: pointer;
  line-height: 1;
  box-shadow: 0 0 5px rgba(0,0,0,0.3);
  transition: transform 0.2s, background 0.2s;
}

.popup-close:hover {
  transform: scale(1.1);
  background: #ffeb3b;
}

/* === MOBILE === */
@media screen and (max-width: 700px) {
  .popup-box {
    width: 65%;
  }
}

