body {
    background-color: #C47AFF;
    color: red;
    font-weight: bold;
}
        
        a {
            color: #000;
            text-decoration: none
        }
        
        .header {
            background-color: white;
            text-align: center;
            text-shadow: 1px 1px red;
            font-size: 50px;
            border-radius: 20px;
        }
        
        .app {
            color: yellow;
            font-size: 30px;
            text-align: left;
        }
        
        .time {
            color: yellow;
            font-size: 30px;
            text-align: center;
        }
        
        .user {
            color: yellow;
            font-size: 30px;
            text-align: center;
        }
        
        .h1 {
            color: blue;
            font-size: 25px;
            text-align: center;
            font-weight: bold;
        }
        
        .h2 {
            color: black;
            font-size: 25px;
            text-align: center;
            font-weight: bold;
        }
.round {
    text-align: center;
    width: 100px;
    height: 100px;

    color: red;
    font-size: 90px;
    font-weight: bold;
    text-shadow: 1px 1px blue;
    line-height: 100px;
    border-radius: 20px;
}
font{color:#000;}
        .box {
            background: #062d67;
            border: solid;
            border-color: red;
            font-size: 35px;
            padding: 1px;
            text-align: center;
        }
     .style1{padding-bottom:20px;padding-top:20px;}   
        .disc {
            background-color: white;
            text-align: center;
            font-size: 20px;
            border-radius: 20px;
            padding: 10px;
        }
        
        .checked {
            color: orange;
        }
        
        .mail {
            background-color: green;
            text-align: center;
            font-size: 20px;
            color: #F0F3F4;
        }

#chartlink {
    color: #c47aff;
}
            .ads {
                background-color: white;
                border-color: red;
                border-style: dotted;
                font-weight: bold;
            }
            
            .line1 {
                color: brown;
                font-size: 20px;
                font-weight: bold;
            }
            
            .line2 {
                color: red;
                font-size: 20px;
                font-weight: bold;
            }
            
            .line3 {
                color: #A04000;
                font-size: 20px;
                font-weight: bold;
            }
            
            .line4 {
                color: #0E6655;
                font-size: 40px;
                font-weight: bold;
            }
            
            .line5 {
                color: #34495E;
                font-size: 25px;
                font-weight: bold;
                padding-top: 10px;
            }
            
            .line6 {
                color: blue;
                font-size: 20px;
                font-weight: bold;
                padding-top: 20px;
            }
            
            .line6 {
                color: red;
                font-size: 30px;
                font-weight: bold;
                padding-top: 10px;
            }
            
            .line7 {
                color: blue;
                font-size: 40px;
                font-weight: bold;
            }
            
            .line8 {
                color: #B9770E;
                font-size: 30px;
                font-weight: bold;
            }
            
            .line9 {
                color: #0E6655;
                font-size: 40px;
                font-weight: bold;
            }

                    .postname {
                background: #40ff02;
    font-size: 25px;
    padding: 1px;
    text-align: center;
    border-radius: 20px;
    border: 10px double #000;
        }
        
        .post {
            background: white;
            font-size: 10px;
            text-align: center;
            border: solid;
            border-color: red;
            padding: 1px;
        }






        #postlink {
         color: #FFffff; 
         }
         .header{
         background-color: white;
         text-align: center;
         text-shadow: 1px 1px red;
         font-size: 50px;
         border-radius: 20px;
         
         }
         .postmsg{
         background-color: #17202A;
         color:yellow;
         text-align: center;
         text-shadow: 1px 1px red;
         font-size: 30px;
         border-radius: 20px;
         }
         .disclaimer{
         background-color: white;
         text-align: center;
         text-shadow: 1px 1px red;
         font-size: 50px;
         border-radius: 20px;
         a:blue;
         }
         a:link disclaimer{
             color:blue;
         }
         .app{
         color:yellow;
         font-size: 30px;
         text-align: left;
         }
         .time{
         color:yellow;
         font-size: 30px;
         text-align: center;
         }
         .user{
         color:yellow;
         font-size: 30px;
         text-align: center;
         }
         .h1{
         color:blue;
         font-size: 25px;
         text-align: center;
         font-weight:bold;
         }
         .h2{
         color:black;
         font-size: 15px;
         text-align: center;
         font-weight:bold;
         }
         .box {
         background: #062d67;
         border: solid;
         border-color:red;
         font-size: 35px;
         padding: 1px;
         text-align: center;
         }
         .disc {
         background-color: white;
         color: blue;
         text-align: center;
         font-size: 20px;
         border-radius: 20px;
         padding: 16px;
         
         }
         a:link .disc{
             color:blue;
         }
         .mail {
         background-color: green;
         text-align: center;
         font-size: 20px;
         color:#F0F3F4;
         }
         .visit img {
         max-width:50px;
         max-height:50px;
         }
         .first{
         background-color: white; 
         color:white; 
         font-weight: bold;
         text-decoration: none; 
         border-width: 5px; 
         border-color:green; 
         border-style: outset; 
         margin: 10px; 
         padding: 10px; 
         border-radius: 10px; 
         text-align: center;
         }
         .a{
         color:black; 
         font-weight: bold;
         font-size: 20px;
         }
         .b{
         color:blue; 
         font-weight: bold;
         font-size: 17px;
         padding: 5px;
         }
         .c{
         color:red; 
         font-weight: bold;
         font-size: 25px;
         padding: 5px;
         }
         .d{
         color:brown; 
         font-weight: bold;
         font-size: 25px;
         padding: 5px;
         }
         .e{
         color:blue; 
         font-weight: bold;
         font-size: 30px;
         padding: 5px;
         }
         .cont{
         background-color: #fff; 
         color:#000; 
         font-weight: bold; 
         font-style: italic; 
         text-decoration: none; 
         border-width: 3px; 
         border-color:#f50915; 
         border-style: outset; 
         margin: 10px; 
         padding: 10px; 
         border-radius: 10px;
         text-align: center;
         }
         .fast{
         color:white; 
         font-weight: bold;
         font-size: 30px;
         text-align:center;
         }
         .gname{
         color:#2BFEB1; 
         font-weight: bold;
         font-size: 80px;
         text-align:center;
         }
         .show{
         text-align:center;
         }
         .a{
         color:black; 
         font-weight: bold;
         font-size: 20px;
         }
         .open{
         color:yellow; 
         font-weight: bold;
         font-size: 100px;
         }
         .website{
        color:white;
        font-size: 25px;
        font-weight:italic;
        font-weight:bold;
         }
         a.rc{
        color:yellow;
        font-size: 30px;
        font-weight:italic;
        font-weight:bold;
         }
         .postname{
             background: #40ff02;
    font-size: 25px;
    padding: 1px;
    text-align: center;
    border-radius: 20px;
    border: 10px double #000;
    }
    
         table.chart {
  background-color: #FFFFFF;
  width: 100%;
  text-align: center;
}
         table.gamechart 
         {
         background-color:#000000; 
         color:red;
         width:100%;
         text-align: center;
             
         }
         table.gamechart td {text-align:center; width:10%; border-color:red;  border:1;padding:5px;background-color:transparent;}
         

.nextshow{
text-align:center;
background-color:transparent;
width:100%;
border-radius:10px;}
         table.example5 {background-color:#F5ECCE;border:1px dotted red;width:100%;}
table.example5 th, 
table.example5 td {text-align:center;  border:1;padding:5px;background-color:transparent;}
table.example5 th {background-color:#17202A;}
table.example5 th:first-child {width:30%; border:1px dotted blue;}

         table.dp {background-color:transparent;border:1px dotted red;width:100%;border-radius: 10px;}
         table.dp td {text-align:center;  border:1;padding:2px;background-color:transparent;width:50%;}

                  .header{
         background-color: white;
         text-align: center;
         text-shadow: 1px 1px red;
         font-size: 50px;
         border-radius: 20px;
         border: 10px double #000;
         }
         .app{
         color:yellow;
         font-size: 30px;
         text-align: left;
         }
         .time{
         color:yellow;
         font-size: 30px;
         text-align: center;
         }
         .user{
         color:yellow;
         font-size: 30px;
         text-align: center;
         }
         .h1{
         color:blue;
         font-size: 25px;
         text-align: center;
         font-weight:bold;
         }
         .h2{
         color:black;
         font-size: 25px;
         text-align: center;
         font-weight:bold;
         }
         .box {
         background: #062d67;
         border:10px double #000;
         border-radius:20px;
         font-size: 35px;
         padding-top:10px;
         padding-bottom:10px;
         text-align: center;
         margin-bottom:10px;
         }
         .disc {
         background-color: white;
         text-align: center;
         font-size: 20px;
         padding: 5px;
         }
         .mail {
         background-color: green;
         text-align: center;
         font-size: 20px;
         color:#F0F3F4;
         }
         .postname{
            background: #40ff02;
    font-size: 25px;
    padding: 1px;
    text-align: center;
    border-radius: 20px;
    border: 10px double #000;
    }
    
    .post{
        background: #062d67;
         font-size: 10px;
         text-align: center;
         border: 10px double #000;
         border-radius:20px;
         margin-top:10px;
         margin-bottom:10px;
         padding-top:10px;
         padding-bottom:10px;
    }


           .ads {
                /* background-color: white; */
    /* border-color: red; */
    /* border-style: dotted; */
    font-weight: bold;
    background: #062d67;
    padding-top: 10px;
    padding-bottom: 10px;
    border: 10px double #000;
    border-radius: 20px;
        }
        
        .line1 {
            color: #fbff00;
            font-size: 20px;
            font-weight: bold;
        }
        
        .line2 {
            color: #fff;
            font-size: 20px;
            font-weight: bold;
        }
        
        .line3 {
            color: #fbff00;
            font-size: 20px;
            font-weight: bold;
        }
        
        .line4 {
            color: #fff;
            font-size: 40px;
            font-weight: bold;
        }
        
        .line5 {
            color: #fff;
            font-size: 25px;
            font-weight: bold;
            padding-top: 10px;
        }
        
        .line6 {
            color: blue;
            font-size: 20px;
            font-weight: bold;
            padding-top: 20px;
        }
        
        .line6 {
            color: #fff;
            font-size: 30px;
            font-weight: bold;
            padding-top: 10px;
        }
        
        .line7 {
            color: blue;
            font-size: 40px;
            font-weight: bold;
        }
        
        .line8 {
            color: #B9770E;
            font-size: 30px;
            font-weight: bold;
        }
        
        .line9 {
            color: #0E6655;
            font-size: 40px;
            font-weight: bold;
        }
/* ============================================================
   Modern UI refresh (appended overrides - last rules win)
   ============================================================ */

html {
    -webkit-text-size-adjust: 100%;
}

body {
    background: linear-gradient(160deg, #1a1040 0%, #3b1a78 45%, #6d28d9 100%) fixed;
    background-color: #3b1a78;
    color: #f5f3ff;
    font-family: "Segoe UI", Roboto, Arial, sans-serif;
    font-weight: 600;
    margin: 0;
    padding: 0 6px;
}

/* ---------- typography / links ---------- */
a {
    color: #fde047;
    text-decoration: none;
    transition: color .15s ease;
}

a:hover {
    color: #fbbf24;
    text-decoration: underline;
}

font {
    color: inherit;
}

/* ---------- hero header ---------- */
.header,
.disclaimer {
    background: linear-gradient(135deg, #ffffff 0%, #fef3c7 100%);
    color: #7c2d12;
    text-align: center;
    text-shadow: none;
    font-size: 44px;
    font-weight: 800;
    letter-spacing: 1px;
    border: none;
    border-radius: 16px;
    padding: 14px 10px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .35);
    margin: 10px 0;
}

.header a,
.disclaimer a {
    color: #b45309;
}

/* ---------- content cards ---------- */
.box {
    background: linear-gradient(135deg, #0f2a63 0%, #123a8c 100%);
    border: 2px solid #f59e0b;
    border-radius: 16px;
    font-size: 30px;
    padding: 14px 10px;
    text-align: center;
    margin: 12px 0;
    box-shadow: 0 6px 16px rgba(0, 0, 0, .35);
}

.postname {
    background: linear-gradient(135deg, #16a34a 0%, #22c55e 100%);
    color: #052e16;
    font-size: 24px;
    padding: 12px 8px;
    text-align: center;
    border-radius: 16px;
    border: 3px solid #052e16;
    box-shadow: 0 6px 16px rgba(0, 0, 0, .35);
    margin: 12px 0;
}

.post {
    background: linear-gradient(135deg, #0f2a63 0%, #123a8c 100%);
    font-size: 14px;
    text-align: center;
    border: 2px solid #f59e0b;
    border-radius: 16px;
    margin: 12px 0;
    padding: 14px 10px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, .35);
}

.postmsg {
    background: linear-gradient(135deg, #111827 0%, #1f2937 100%);
    color: #fde047;
    text-align: center;
    text-shadow: none;
    font-size: 26px;
    border-radius: 16px;
    padding: 12px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, .35);
}

.disc {
    background-color: #ffffff;
    color: #1e3a8a;
    text-align: center;
    font-size: 20px;
    border-radius: 16px;
    padding: 16px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, .25);
    margin: 10px 0;
}

.ads {
    font-weight: bold;
    background: linear-gradient(135deg, #0f2a63 0%, #123a8c 100%);
    padding: 12px;
    border: 2px solid #f59e0b;
    border-radius: 16px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, .35);
}

.first {
    background: linear-gradient(135deg, #16a34a 0%, #22c55e 100%);
    color: #052e16;
    font-weight: bold;
    text-decoration: none;
    border: 3px solid #052e16;
    margin: 10px;
    padding: 12px;
    border-radius: 14px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .3);
}

.cont {
    background-color: #ffffff;
    color: #111827;
    font-weight: bold;
    font-style: normal;
    border: 2px solid #f59e0b;
    margin: 10px;
    padding: 12px;
    border-radius: 14px;
    text-align: center;
}

/* ---------- tables ---------- */
table.chart {
    background-color: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .3);
}

table.tab {
    border-collapse: collapse;
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .3);
}

table.tab tr.tr0 td,
table.tab td.td0 {
    background: #0f172a !important;
    color: #f8fafc;
    font-weight: 700;
    padding: 8px;
}

table.tab tr.tr2 td {
    padding: 6px;
    border: 1px solid #e2e8f0;
    color: #1f2937;
}

table.tab tr:nth-child(even) td {
    background-color: #f8fafc;
}

table.gamechart {
    background-color: transparent;
    color: #fde047;
}

table.gamechart td {
    border: 1px solid rgba(253, 224, 71, .4) !important;
    padding: 8px;
    background-color: rgba(255, 255, 255, .04);
    border-radius: 4px;
}

/* ---------- buttons & inputs ---------- */
input[type="submit"],
input[type="button"],
button {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #1c1007;
    border: none;
    border-radius: 10px;
    padding: 10px 22px;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, .3);
    transition: transform .12s ease, box-shadow .12s ease;
}

input[type="submit"]:hover,
input[type="button"]:hover,
button:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(0, 0, 0, .35);
}

input[type="text"],
input[type="password"],
select,
textarea {
    border: 2px solid #c4b5fd;
    border-radius: 10px;
    padding: 8px 12px;
    font-size: 15px;
    background: #ffffff;
    color: #111827;
}

input[type="text"]:focus,
input[type="password"]:focus,
select:focus,
textarea:focus {
    border-color: #f59e0b;
    outline: none;
    box-shadow: 0 0 0 3px rgba(245, 158, 11, .25);
}

/* ---------- misc ---------- */
.mail {
    background: linear-gradient(135deg, #15803d 0%, #22c55e 100%);
    color: #f0fdf4;
    text-align: center;
    font-size: 20px;
    border-radius: 14px;
    padding: 10px;
}

img {
    max-width: 100%;
}

table {
    max-width: 100%;
}

/* ---------- responsive ---------- */
@media only screen and (max-width: 640px) {
    .header, .disclaimer { font-size: 30px; }
    .box { font-size: 22px; padding: 10px 6px; }
    .postname { font-size: 19px; }
    .postmsg { font-size: 20px; }
    .gname { font-size: 44px; }
    .open { font-size: 60px; }
    .line4, .line7, .line9 { font-size: 28px; }
    .time, .user, .app { font-size: 20px; }
    body { padding: 0 4px; }
}

/* ============================================================
   Competitor-style refresh: live result cards & gold theme
   ============================================================ */

/* ---------- live result card ---------- */
.live-card {
    background: linear-gradient(180deg, #0b1226 0%, #1a1145 100%);
    border: 3px solid #f59e0b;
    border-radius: 20px;
    margin: 12px 4px;
    padding: 0 0 18px 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .5), inset 0 0 40px rgba(245, 158, 11, .06);
    overflow: hidden;
}

.live-card-header {
    background: linear-gradient(90deg, #b91c1c, #ef4444, #b91c1c);
    color: #fef08a;
    font-size: 26px;
    font-weight: 900;
    letter-spacing: 2px;
    text-align: center;
    padding: 14px 8px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, .6);
}

.live-dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    background: #fef08a;
    border-radius: 50%;
    margin: 0 8px;
    vertical-align: middle;
    animation: livepulse 1.2s ease-in-out infinite;
}

@keyframes livepulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: .4; transform: scale(1.35); }
}

.live-card-sub {
    color: #e2e8f0;
    font-size: 17px;
    font-weight: 600;
    text-align: center;
    padding: 10px 12px 4px 12px;
}

/* ---------- per-game result rows ---------- */
.result-row {
    margin: 14px 14px 0 14px;
    padding: 12px 10px;
    background: linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.02));
    border: 1px solid rgba(245, 158, 11, .35);
    border-radius: 14px;
    text-align: center;
}

.result-name {
    color: #60a5fa;
    font-size: 30px;
    font-weight: 900;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-shadow: 0 2px 4px rgba(0, 0, 0, .5);
}

.result-num {
    display: inline-block;
    margin-top: 4px;
    min-width: 140px;
    padding: 4px 34px;
    background: linear-gradient(180deg, #fde047 0%, #f59e0b 100%);
    border-radius: 14px;
    border: 3px solid #92400e;
    color: #7c2d12;
    font-size: 58px;
    font-weight: 900;
    line-height: 1.15;
    text-shadow: 0 1px 0 rgba(255, 255, 255, .5);
    box-shadow: 0 6px 16px rgba(0, 0, 0, .4);
}

.result-num strong { font-weight: 900; }

.result-time {
    margin-top: 6px;
    color: #94a3b8;
    font-size: 15px;
    font-weight: 600;
}

/* ---------- legacy .round number (any leftover) ---------- */
.round {
    display: inline-block;
    width: auto;
    min-width: 140px;
    height: auto;
    padding: 4px 34px;
    background: linear-gradient(180deg, #fde047 0%, #f59e0b 100%);
    border: 3px solid #92400e;
    border-radius: 14px;
    color: #7c2d12;
    font-size: 58px;
    font-weight: 900;
    line-height: 1.15;
    text-shadow: 0 1px 0 rgba(255, 255, 255, .5);
    box-shadow: 0 6px 16px rgba(0, 0, 0, .4);
}

/* ---------- month result chart (rtable) ---------- */
.rtable {
    border-collapse: collapse !important;
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .35);
}

.rtable td {
    border: 1px solid #cbd5e1 !important;
}

.rtable tr:first-child td,
.rtable tr:first-child th {
    background: linear-gradient(180deg, #991b1b, #b91c1c) !important;
    color: #fef9c3 !important;
}

/* ---------- guessing / promo section ---------- */
#z table th,
#divGusserResult table th {
    background: linear-gradient(180deg, #7f1d1d, #b91c1c) !important;
    border-radius: 14px;
    border: 2px solid #f59e0b;
}

/* ---------- month/year selector bar ---------- */
#oldchart select,
#oldchart input[type=submit],
.enter select,
.enter button {
    font-size: 18px !important;
    padding: 8px 16px !important;
    border-radius: 10px !important;
    border: 2px solid #f59e0b !important;
    background: #fff !important;
    color: #111 !important;
    font-weight: 700;
    margin: 4px;
}

#oldchart {
    background: rgba(255, 255, 255, .06);
    border-radius: 14px;
    padding: 10px;
    margin: 8px 4px;
    border: 1px solid rgba(245, 158, 11, .3);
}

/* ---------- dashed container (login/signup cards) ---------- */
.dashed {
    background: rgba(255, 255, 255, .06);
    border: 1px dashed rgba(253, 224, 71, .5) !important;
    border-radius: 16px;
    padding: 14px;
    margin: 10px 4px;
}

/* ---------- game-name links ---------- */
.gname a, .gname {
    color: #fde047 !important;
    text-shadow: 0 3px 6px rgba(0, 0, 0, .6);
}

/* ---------- footer link tables ---------- */
table[border="1"] td.ONLINE,
table td.ONLINE {
    border-radius: 10px;
}

/* ---------- scrollbar ---------- */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: #1a1040; }
::-webkit-scrollbar-thumb { background: #f59e0b; border-radius: 6px; }

@media only screen and (max-width: 640px) {
    .live-card-header { font-size: 19px; letter-spacing: 1px; }
    .result-name { font-size: 22px; }
    .result-num { font-size: 42px; min-width: 110px; padding: 4px 24px; }
    .live-card-sub { font-size: 14px; }
}

/* ============================================================
   Game result cards + nav polish
   ============================================================ */

/* ---------- site title / top links ---------- */
#enter1 .mylink.sitnme,
.mylink.sitnme {
    display: inline-block;
    font-size: 34px !important;
    font-weight: 900;
    letter-spacing: 2px;
    background: linear-gradient(180deg, #fef9c3, #f59e0b);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent !important;
    text-shadow: none;
    padding: 6px 10px;
}

#enter1 + table td a,
#enter1 ~ table td a {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 8px;
    font-weight: 700;
}

#enter1 + table td a:hover,
#enter1 ~ table td a:hover {
    background: rgba(245, 158, 11, .25);
    color: #fef08a !important;
    text-decoration: none;
}

/* ---------- game card grid ---------- */
.game-card-wrap {
    width: 50%;
    float: left;
    padding: 6px;
    box-sizing: border-box;
}

.game-card {
    background: linear-gradient(180deg, #132a5e 0%, #0d1c40 100%);
    border: 2px solid #f59e0b;
    border-radius: 16px;
    text-align: center;
    padding: 14px 8px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .45);
    transition: transform .15s ease, box-shadow .15s ease;
}

.game-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 28px rgba(0, 0, 0, .55);
    border-color: #fde047;
}

.game-name {
    display: block;
    color: #fde047 !important;
    font-size: 26px;
    font-weight: 900;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-shadow: 0 2px 5px rgba(0, 0, 0, .6);
    text-decoration: none;
}

.game-name:hover {
    color: #fbbf24 !important;
    text-decoration: none;
}

.game-time {
    color: #93c5fd;
    font-size: 15px;
    font-weight: 700;
    margin-top: 2px;
}

.game-nums {
    margin-top: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.game-old {
    color: #cbd5e1;
    font-size: 30px;
    font-weight: 800;
}

.game-old::before { content: "{"; }
.game-old::after { content: "}"; }

.game-arrow {
    color: #f59e0b;
    font-size: 26px;
    font-weight: 900;
}

.game-new {
    display: inline-block;
    min-width: 74px;
    padding: 2px 14px;
    background: linear-gradient(180deg, #22c55e, #15803d);
    border: 2px solid #14532d;
    border-radius: 10px;
    color: #f0fdf4;
    font-size: 34px;
    font-weight: 900;
    text-shadow: 0 1px 2px rgba(0, 0, 0, .4);
}

.game-new.game-wait {
    background: linear-gradient(180deg, #64748b, #475569);
    border-color: #334155;
    color: #fef08a;
}

.game-chart {
    display: inline-block;
    margin-top: 10px;
    padding: 4px 18px;
    border-radius: 999px;
    background: rgba(56, 189, 248, .15);
    border: 1px solid #38bdf8;
    color: #7dd3fc !important;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
}

.game-chart:hover {
    background: #38bdf8;
    color: #082f49 !important;
    text-decoration: none;
}

/* keep the outer divGame table invisible */
#divGame > table {
    border: none !important;
    background: transparent !important;
}

#divGame > table > tbody > tr > td {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
}

/* ---------- date/time strip ---------- */
#div1.time {
    color: #fef08a;
    font-size: 22px;
    text-align: center;
    padding: 6px;
    letter-spacing: 1px;
}

@media only screen and (max-width: 640px) {
    .game-card-wrap { width: 100%; float: none; }
    .game-name { font-size: 22px; }
    .game-old { font-size: 24px; }
    .game-new { font-size: 28px; min-width: 60px; }
    .mylink.sitnme, #enter1 .mylink.sitnme { font-size: 24px !important; }
}

/* ---------- chart cell readability fix ---------- */
.rtable td {
    color: #111827 !important;
}

.rtable td .fon,
.rtable td font.fon {
    color: #1e293b !important;
    font-weight: 800;
}

.rtable tr:first-child td,
.rtable tr:first-child th {
    color: #fef9c3 !important;
}

.rtable td:first-child .fon {
    color: #800000 !important;
}

/* ---------- kill page-level horizontal scroll ---------- */
html, body {
    overflow-x: hidden;
}

*, *::before, *::after {
    box-sizing: border-box;
}

/* keep generated 100%-width tables inside the viewport */
table[width="100%"], table[width="100%"], table[border] {
    max-width: 100%;
}

/* wide sections scroll internally instead of pushing the page */
.chart, .enter, #divGusserResult, #z, .post, .disc {
    max-width: 100%;
    overflow-x: auto;
}

.post, .disc {
    overflow-x: hidden;
    word-wrap: break-word;
}

/* ---------- compact the record chart so it fits desktop width ---------- */
.rtable th,
.rtable td {
    font-size: 22px !important;
    padding: 4px 6px !important;
    white-space: nowrap;
}

.rtable th {
    font-size: 18px !important;
}

.rtable td .fon,
.rtable td font.fon {
    font-size: 26px !important;
}

.rtable td span.fon {
    font-size: 17px !important;
}

.rtable td { font-size: 20px !important; padding: 3px 4px !important; }
.rtable th { font-size: 15px !important; padding: 4px 3px !important; }
.rtable td .fon, .rtable td font.fon { font-size: 22px !important; }
.rtable td span.fon { font-size: 14px !important; }
