/* inline <style> —— 舊 WP 樣式加 .dgw 前綴(gen_dg66bet_th_legacy.py 產生,不要手改) */
.dgw.dgth{background: #000000;}
.dgw.dgth .hdr{position: sticky; top: 0; z-index: 30;
    background: linear-gradient(180deg, #000000 98.5%, #e6ac6a 100%);
    border-bottom: 0;}
.dgw.dgth .hdr .wrap{max-width: 1180px; margin: 0 auto; padding: 0 24px;
    display: flex; align-items: center; gap: 24px; height: 84px;}
.dgw.dgth .hdr .logo img{height: 54px; width: auto; display: block;}
.dgw.dgth .hdr nav{display: flex; gap: 22px; margin-left: 8px; flex: 1;}
.dgw.dgth .hdr nav a{color: #e8e8e8; text-decoration: none; font-size: 14.5px; font-weight: 600; padding: 4px 0;}
.dgw.dgth .hdr nav a:hover{color: #ffce3a;}
.dgw.dgth .hdr .cta{display: flex; gap: 10px; align-items: center;}
.dgw.dgth .hdr .cta a{display: inline-flex; align-items: center; justify-content: center;
    width: 96px; min-width: 96px; height: 34px;
    padding: 0 8px; border-radius: 8px;
    font-size: 12.5px; font-weight: 700; white-space: nowrap;
    text-decoration: none; transition: .2s;}
.dgw.dgth .hdr .cta a.login{background: transparent; border: 1px solid #ffc107; color: #ffce3a;}
.dgw.dgth .hdr .cta a.login:hover{background: rgba(255,193,7,.12); color: #ffdd66;}
.dgw.dgth .hdr .cta a.reg{background: linear-gradient(180deg, #e7c987, #c0983e); border: 0; color: #3a2c0a;}
.dgw.dgth .hdr .cta a.reg:hover{color: #3a2c0a; filter: brightness(1.05);}
.dgw.dgth .hdr .navchk{position: absolute; width: 1px; height: 1px; opacity: 0; margin: 0; pointer-events: none;}
.dgw.dgth .hdr .burger{display: none;}
@media (max-width: 900px){.dgw.dgth .hdr .wrap{gap: 12px; height: 64px;}
.dgw.dgth .hdr .logo img{height: 38px;}
.dgw.dgth .hdr .cta{margin-left: auto; gap: 8px;}
.dgw.dgth .hdr .cta a{width: auto; min-width: 0; height: auto; min-height: 44px;
        padding: 9px 14px; font-size: 13px; border-radius: 10px;}
.dgw.dgth .hdr .burger{display: flex; flex: 0 0 auto; flex-direction: column; justify-content: center; gap: 5px;
        width: 44px; height: 44px; padding: 0 11px;
        border: 1px solid rgba(255,193,7,.45); border-radius: 9px;
        background: transparent; cursor: pointer;}
.dgw.dgth .hdr .burger span{display: block; height: 2px; border-radius: 2px; background: #ffce3a; transition: transform .22s ease, opacity .18s ease;}
.dgw.dgth .hdr .navchk:checked ~ .burger span:nth-child(1){transform: translateY(7px) rotate(45deg);}
.dgw.dgth .hdr .navchk:checked ~ .burger span:nth-child(2){opacity: 0;}
.dgw.dgth .hdr .navchk:checked ~ .burger span:nth-child(3){transform: translateY(-7px) rotate(-45deg);}
.dgw.dgth .hdr .navchk:focus-visible ~ .burger{outline: 2px solid #ffdd66; outline-offset: 2px;}
.dgw.dgth .hdr nav{display: none; position: absolute; left: 0; right: 0; top: 100%;
        flex-direction: column; gap: 0; margin: 0; padding: 4px 24px 12px;
        background: #000000; border-top: 1px solid #2f2f2f; box-shadow: 0 14px 30px rgba(0,0,0,.6);}
.dgw.dgth .hdr .navchk:checked ~ nav{display: flex;}
.dgw.dgth .hdr nav a{display: flex; align-items: center; min-height: 46px; padding: 6px 2px; font-size: 15px; border-bottom: 1px solid rgba(255,255,255,.07);}
.dgw.dgth .hdr nav a:last-child{border-bottom: 0;}}
.dgw.dgth .dgfoot{background: #000000; border-top: 1px solid #2f2f2f; color: #9a9a9a; font-size: 13px;}
.dgw.dgth .dgfoot .wrap{max-width: 1180px; margin: 0 auto; padding: 18px 24px;
    display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 16px;}
.dgw.dgth .dgfoot a{color: #ffce3a; text-decoration: none; min-height: 32px; display: inline-flex; align-items: center;}
.dgw.dgth .dgfoot .age{border: 1px solid #6a6a6a; border-radius: 999px; padding: 1px 9px; font-size: 11.5px; color: #cfcfcf;}
@media (max-width: 900px){.dgw.dgth .dgfoot .wrap{padding-bottom: 84px;}}
.dgw.dgth .bnav{display: none;}
@media (max-width: 900px){.dgw.dgth .bnav{display: grid; grid-template-columns: repeat(5, 1fr);
        position: fixed; left: 0; right: 0; bottom: 0; z-index: 120;
        background: #0a0a0a; border-top: 1px solid #2f2f2f;
        padding-bottom: env(safe-area-inset-bottom);}
.dgw.dgth .bnav a{display: flex; flex-direction: column; align-items: center; justify-content: center;
        gap: 4px; min-height: 58px; text-decoration: none; color: #cfcfcf; font-size: 11.5px;}
.dgw.dgth .bnav a i{font-style: normal; font-size: 21px; line-height: 1;}
.dgw.dgth .bnav a:active{background: rgba(192,152,62,.12);}
.dgw.dgth .bnav a.reg{color: #ffdd66;}}
.dgw.dgth.error404 .elementor-location-header,.dgw.dgth.error404 .elementor-location-footer{display: none !important;}
.dgw.dgth.error404 .p404-wrap{display: none !important;}
.dgw.dgth .dgth404{padding: 70px 24px 80px; text-align: center; background: #000;}
.dgw.dgth .dgth404 .wrap{max-width: 720px; margin: 0 auto; padding: 0; display: block;}
.dgw.dgth .dgth404 .n{font-size: 118px; font-weight: 800; line-height: 1; letter-spacing: 4px; margin: 0 0 8px;
    background: linear-gradient(180deg, #e7c987, #c0983e);
    -webkit-background-clip: text; background-clip: text; color: transparent;}
.dgw.dgth .dgth404 h1{font-size: 28px; font-weight: 700; color: #fff; margin: 0 0 12px;}
.dgw.dgth .dgth404 .d{color: #bdbdbd; font-size: 15.5px; margin: 0 0 28px;}
.dgw.dgth .dgth404 .s{display: flex; max-width: 420px; margin: 0 auto 36px;
    border: 1px solid #2f2f2f; border-radius: 10px;}
.dgw.dgth .dgth404 .s input{flex: 1; border: 0; padding: 12px 16px; font-size: 15px; outline: none;
    background: rgba(255,255,255,.05); color: #fff; font-family: inherit;}
.dgw.dgth .dgth404 .s input::placeholder{color: #8a8a8a;}
.dgw.dgth .dgth404 .s button{border: 0; padding: 0 22px; cursor: pointer; font-size: 15px; font-weight: 700;
    background: linear-gradient(180deg, #e7c987, #c0983e); color: #3a2c0a; font-family: inherit;}
.dgw.dgth .dgth404 .l{display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; max-width: 560px; margin: 0 auto;}
.dgw.dgth .dgth404 .l a{display: flex; align-items: center; justify-content: center;
    min-height: 48px; padding: 12px 8px; border: 1px solid #2f2f2f; border-radius: 10px;
    color: #e8e8e8; text-decoration: none; font-size: 14.5px; font-weight: 600; transition: .2s;}
.dgw.dgth .dgth404 .l a:hover{border-color: #ffc107; color: #ffce3a; background: rgba(255,193,7,.08);}
@media (max-width: 600px){.dgw.dgth .dgth404{padding: 44px 20px 60px;}
.dgw.dgth .dgth404 .n{font-size: 84px;}
.dgw.dgth .dgth404 h1{font-size: 22px;}
.dgw.dgth .dgth404 .l{grid-template-columns: repeat(2, 1fr);}}
