:root{--number-size:24px;--success-color:#c9a96e;--danger-color:#A0B0C0;--dc-kn-ball-gap:8px;}.lottery-orders{max-width:1240px;margin:32px auto 44px !important;padding:0 16px 28px !important;background:transparent !important;border:none !important;box-shadow:none !important;color:#0f172a;font-family:Inter,"Segoe UI",Arial,"PingFang SC","Hiragino Sans GB","Microsoft YaHei",sans-serif !important;}.lottery-orders *{box-sizing:border-box;}.lottery-orders h2{margin:0 0 12px !important;color:#0f172a !important;font-size:clamp(28px,3.2vw,40px) !important;line-height:1.15 !important;font-weight:700 !important;letter-spacing:-0.02em !important;}.lottery-orders > p{margin:0 0 24px !important;color:#52637a !important;font-size:16px !important;line-height:1.7 !important;font-weight:500 !important;}.modules-wrapper{display:flex;flex-wrap:wrap;gap:24px !important;justify-content:space-between;align-items:stretch;}.lottery-card{flex:1 1 30%;min-width:280px;padding:24px !important;border:1px solid #dbe4ef !important;border-radius:24px !important;background:#ffffff !important;box-shadow:0 18px 44px rgba(15,23,42,.06) !important;transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease;}.lottery-card:hover{border-color:#c7d8ee !important;box-shadow:0 22px 52px rgba(15,23,42,.08) !important;}.lottery-card h3,.lottery-orders .line-title,.lottery-orders .module-title,.lottery-orders .section-title{margin:0 0 16px !important;color:#0f172a !important;font-size:24px !important;line-height:1.2 !important;font-weight:700 !important;letter-spacing:-0.02em !important;text-align:center;}.placeholder{flex:1 1 30%;min-width:280px;height:20px;background:transparent;}.balls-container,.lottery-orders--cart .digits-container,.lottery-orders--cart .keno-numbers-container,.lottery-orders--cart .double-color-balls{display:flex;flex-wrap:wrap;align-items:center;}.lottery-ball{display:inline-flex !important;align-items:center;justify-content:center;width:var(--number-size) !important;height:var(--number-size) !important;line-height:var(--number-size) !important;border-radius:50% !important;text-align:center !important;font-size:14px !important;font-weight:700 !important;margin:0 !important;vertical-align:middle !important;position:relative;box-sizing:border-box;border:2px solid transparent;color:#fff;}.lottery-ball.orange-ball{background-color:#FFA500;border-color:#FFA500;}.lottery-ball.green-ball,.lottery-ball.keno-number{background-color:#00B08C;border-color:#00B08C;}.lottery-ball.red-ball{background-color:#FF2752;border-color:#FF2752;}.lottery-ball.blue-ball{background-color:#267aff;border-color:#267aff;}.lottery-ball.hx-ball-miss,.lottery-ball.orange-ball.hx-ball-miss,.lottery-ball.green-ball.hx-ball-miss,.lottery-ball.keno-number.hx-ball-miss,.lottery-ball.red-ball.hx-ball-miss,.lottery-ball.blue-ball.hx-ball-miss{background:#fff !important;border-color:#cfcfcf !important;color:#9a9a9a !important;box-shadow:none !important;}.lottery-orders--cart[data-lottery-type="3d"] .lottery-ball:not(.hx-ball-miss),.lottery-orders--cart[data-lottery-type="3D"] .lottery-ball:not(.hx-ball-miss),.modal-body[data-lottery-type="3d"] .lottery-ball:not(.hx-ball-miss),.modal-body[data-lottery-type="3D"] .lottery-ball:not(.hx-ball-miss){background-color:#FFA500;border-color:#FFA500;color:#fff;}.lottery-orders--cart[data-lottery-type="keno8"] .lottery-ball:not(.hx-ball-miss),.modal-body[data-lottery-type="keno8"] .lottery-ball:not(.hx-ball-miss){background-color:#00B08C;border-color:#00B08C;color:#fff;}.lottery-orders--cart[data-lottery-type="doublecolor"] .lottery-ball.red-ball:not(.hx-ball-miss),.modal-body[data-lottery-type="doublecolor"] .lottery-ball.red-ball:not(.hx-ball-miss){background-color:#FF2752;border-color:#FF2752;color:#fff;}.lottery-orders--cart[data-lottery-type="doublecolor"] .lottery-ball.blue-ball:not(.hx-ball-miss),.modal-body[data-lottery-type="doublecolor"] .lottery-ball.blue-ball:not(.hx-ball-miss){background-color:#267aff;border-color:#267aff;color:#fff;}.lottery-orders--cart[data-lottery-type="3d"] .digits-container .lottery-ball:nth-child(1)::before,.lottery-orders--cart[data-lottery-type="3D"] .digits-container .lottery-ball:nth-child(1)::before,.modal-body[data-lottery-type="3d"] .digits-container .lottery-ball:nth-child(1)::before,.modal-body[data-lottery-type="3D"] .digits-container .lottery-ball:nth-child(1)::before{content:'hundreds: ';color:#000;font-size:14px;font-weight:400;margin-right:2px;display:inline-block;vertical-align:middle;}.lottery-orders--cart[data-lottery-type="3d"] .digits-container .lottery-ball:nth-child(2)::before,.lottery-orders--cart[data-lottery-type="3D"] .digits-container .lottery-ball:nth-child(2)::before,.modal-body[data-lottery-type="3d"] .digits-container .lottery-ball:nth-child(2)::before,.modal-body[data-lottery-type="3D"] .digits-container .lottery-ball:nth-child(2)::before{content:'tens: ';color:#000;font-size:14px;font-weight:400;margin-right:2px;display:inline-block;vertical-align:middle;}.lottery-orders--cart[data-lottery-type="3d"] .digits-container .lottery-ball:nth-child(3)::before,.lottery-orders--cart[data-lottery-type="3D"] .digits-container .lottery-ball:nth-child(3)::before,.modal-body[data-lottery-type="3d"] .digits-container .lottery-ball:nth-child(3)::before,.modal-body[data-lottery-type="3D"] .digits-container .lottery-ball:nth-child(3)::before{content:'units: ';color:#000;font-size:14px;font-weight:400;margin-right:2px;display:inline-block;vertical-align:middle;}.lottery-modal{display:none;position:fixed;inset:0;background:rgba(15,23,42,.48) !important;z-index:99999;align-items:center;justify-content:center;backdrop-filter:blur(6px);}.modal-content{width:min(92vw,540px) !important;max-width:540px !important;margin:0 auto !important;padding:28px 0 24px !important;overflow:hidden !important;background:#ffffff !important;border:1px solid #dbe4ef !important;border-radius:24px !important;box-shadow:0 24px 60px rgba(15,23,42,.18) !important;animation:modalFadeIn .22s ease-out;}@keyframes modalFadeIn{from{opacity:0;transform:translateY(-20px);}to{opacity:1;transform:translateY(0);}}.modal-close:hover{color:#000;}.modal-title{margin:0 !important;padding:0 24px 16px !important;color:#0f172a !important;text-align:center;font-size:24px !important;line-height:1.2 !important;font-weight:700 !important;letter-spacing:-0.02em !important;}.modal-subtitle{margin:12px 0 8px !important;text-align:center;font-size:15px !important;line-height:1.6 !important;color:#52637a !important;font-weight:500 !important;}.modal-body{text-align:left;margin:0 16px !important;padding:18px 20px !important;line-height:1.7 !important;color:#52637a !important;font-size:14px !important;font-weight:500 !important;border-top:1px solid #dbe5f2 !important;border-bottom:1px solid #dbe5f2 !important;}.centered-content,.lottery-modal .modal-body.centered-content{text-align:center !important;text-indent:0;padding:16px 20px 18px !important;}.lottery-modal .modal-body.centered-content p,.lottery-modal .modal-body.centered-content .confirm-message,.lottery-modal .modal-body.centered-content .topup-placeholder-text,.lottery-modal .modal-body.centered-content .modal-subtitle{margin:6px auto !important;text-align:center !important;line-height:1.9 !important;}.modal-button{min-height:48px;padding:0 18px !important;border:none;border-radius:14px !important;cursor:pointer;font-size:15px !important;font-weight:600 !important;line-height:1 !important;color:#fff;text-decoration:none !important;transition:background-color .18s ease,border-color .18s ease,transform .18s ease,box-shadow .18s ease;}.modal-button:hover,.modal-button:focus,.modal-button:active{color:#fff;text-decoration:none;}.modal-button.confirm-button,.modal-button.single-button,.single-button{background:#c9a96e !important;color:#ffffff !important;border:none !important;box-shadow:0 14px 30px rgba(201,169,110,.18) !important;}.modal-button.confirm-button:hover,.modal-button.single-button:hover,.single-button:hover{background:#b8935a !important;color:#ffffff !important;transform:translateY(-1px);box-shadow:0 16px 34px rgba(51,136,255,.22) !important;}.modal-button.cancel-button{background:#ffffff !important;color:#334155 !important;border:1px solid #dbe4ef !important;box-shadow:none !important;}.modal-button.cancel-button:hover{background:#f6f9fd !important;color:#0f172a !important;border-color:#bfd3ea !important;transform:translateY(-1px);}.modal-button-group{display:flex;gap:12px !important;justify-content:center;}.modal-buttons{margin-top:0 !important;padding:16px 24px 0 !important;display:flex;justify-content:center;}.modal-buttons.single-button-container{display:flex;justify-content:center;}#cart-modal .modal-content{padding:28px 0 24px !important;}#cart-modal .modal-title{margin-bottom:14px !important;}#cart-modal .modal-body{margin:0 16px !important;padding:18px 20px 10px !important;border-top:1px solid #dbe5f2 !important;border-bottom:1px solid #dbe5f2 !important;}#cart-modal #cart-modal-message{margin:0 0 10px !important;text-align:center !important;line-height:1.65 !important;}#cart-modal .modal-subtitle{margin:0 0 6px !important;min-height:0 !important;}#cart-modal .modal-body > div{margin-top:6px !important;}#cart-modal #selections-list{display:flex;flex-direction:column;gap:10px;padding:4px 0;}#cart-modal #selections-list .selection-line{display:flex;flex-wrap:wrap;align-items:flex-start;gap:8px 0;margin:0 !important;line-height:1.95 !important;}#cart-modal #selections-list .selection-balls{display:inline-flex;flex-wrap:wrap;align-items:center;gap:6px 8px;margin-left:2px;}#cart-modal #selections-list .selection-line .lottery-ball{margin:0 !important;}#cart-modal .modal-buttons{margin-top:0 !important;padding:16px 24px 0 !important;}#cart-modal .modal-button-group{gap:12px !important;}#cart-modal .modal-button{min-width:88px;}@media (max-width:767px){.modal-content{width:min(94vw,540px) !important;padding:24px 0 20px !important;}.modal-title{padding:0 18px 14px !important;font-size:22px !important;}.modal-body{margin:0 12px !important;padding:16px 14px !important;}.modal-buttons{padding:14px 18px 0 !important;}#cart-modal .modal-content{padding:24px 0 20px !important;}#cart-modal .modal-body{margin:0 12px !important;padding:16px 14px 10px !important;}#cart-modal .modal-buttons{padding:14px 18px 0 !important;}}