:root { color-scheme: light; font-family: Arial, Helvetica, sans-serif; }
* { box-sizing: border-box; }
body { margin: 0; background: transparent; color: #1d252c; }
.widget { width: 100%; padding: 12px; }
.widget__status { margin: 8px 0; color: #45515c; text-align: center; }
.widget__status[hidden] { display: none; }
.results { display: flex; align-items: flex-start; gap: 14px; }
.result-column { display: flex; min-width: 0; flex: 1 1 0; flex-direction: column; gap: 14px; }
.card { position: relative; overflow: visible; border: 1px solid #d8dde1; border-radius: 7px; background: #fff; box-shadow: 0 1px 3px rgb(0 0 0 / 8%); }
.card__header { display: flex; min-height: 74px; align-items: stretch; border-radius: 6px 6px 0 0; background: var(--game-color); color: white; }
.card__brand { display: flex; width: 96px; min-width: 96px; align-items: center; justify-content: center; padding: 10px; }
.card__mark { display: grid; width: 42px; height: 42px; flex: 0 0 42px; place-items: center; overflow: hidden; color: white; }
.card__mark img { display: block; width: 42px !important; height: 42px !important; max-width: 42px; max-height: 42px; object-fit: contain; filter: brightness(0) invert(1); }
.card__date { display: grid; min-width: 94px; place-content: center; padding: 8px; background: white; color: #182128; text-align: center; }
.card__weekday { font-size: 12px; text-transform: capitalize; }
.card__day { font-size: 25px; font-weight: 800; line-height: 1; }
.card__month { font-size: 11px; font-weight: 700; letter-spacing: .03em; }
.card__actions { position: relative; display: flex; margin-left: auto; align-items: center; gap: 6px; padding: 8px; }
button, select { font: inherit; }
.card__button { border: 1px solid rgb(255 255 255 / 70%); border-radius: 4px; background: rgb(0 0 0 / 18%); color: white; cursor: pointer; font-size: 12px; font-weight: 700; padding: 6px 7px; }
.card__button:hover, .card__button:focus-visible { background: white; color: #1d252c; outline: none; }
.card__body { min-height: 70px; padding: 8px 12px 6px; text-align: center; }
.combination { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 7px; min-height: 40px; }
.card[data-game="LAQU"] .combination { flex-wrap: nowrap; gap: clamp(5px, 1vw, 12px); white-space: nowrap; }
.quiniela-sign { flex: 0 0 auto; color: #30363b; font-size: 14px; line-height: 1; }
.card[data-game="LAQU"] .quiniela-sign { font-weight: 800; }
.quiniela-pleno { flex: 0 0 auto; padding: 4px 8px; border: 1px solid #d84a50; border-radius: 2px; background: #df555b; color: white; font-size: 14px; font-weight: 800; line-height: 1; }
.ball { min-width: 33px; padding: 8px 6px; border: 1px solid #cfd5d9; border-radius: 50%; background: #f7f8f8; color: #162029; font-size: 16px; font-weight: 700; line-height: 1; }
.ball--rectangular { min-width: 68px; border-radius: 4px; background: #f7f8f8; }
.ball--text { border-radius: 5px; min-width: auto; }
.ball--colored { border-color: transparent; background: var(--game-color); color: white; box-shadow: 0 1px 3px rgb(0 0 0 / 18%); }
.ball--star { min-width: 33px; border: 0; background: transparent; color: #e9ad20; font-size: 17px; text-shadow: 0 1px 2px rgb(0 0 0 / 15%); }
.result-extra { display: inline-flex; align-items: center; gap: 4px; }
.result-extra__label { color: #3d464d; font-size: 13px; }
.result-extra--joker, .result-extra--millon { gap: 6px; }
.result-extra__value--joker { color: #d71920; font-size: 14px; font-weight: 800; }
.result-extra__value--millon { color: #4f9d61; font-size: 13px; font-weight: 800; }
.ball--r, .ball--c { background: #f1f3f4; }
.refund-label { margin-left: 7px; color: #5d6870; font-size: 15px; font-weight: 800; }
.empty { color: #65727d; font-size: 14px; }
.card__jackpot { display: flex; justify-content: space-between; gap: 10px; align-items: center; padding: 9px 12px; background: var(--game-color); color: white; font-size: 14px; }
.card__jackpot span { font-weight: 700; }
.card__jackpot strong { font-size: 18px; }
.card__jackpot--fixed { justify-content: center; text-align: center; font-weight: 700; }
.card__details { border-top: 1px solid #d8dde1; padding: 12px; }
.card__details[hidden] { display: none; }
.card__details--dates { position: absolute; top: calc(100% - 8px); right: 8px; z-index: 20; min-width: 158px; border: 1px solid #cfd5d9; border-radius: 5px; background: white; box-shadow: 0 4px 12px rgb(0 0 0 / 18%); }
.prizes { width: 100%; border-collapse: collapse; font-size: 13px; text-align: left; }
.prizes th, .prizes td { padding: 6px; }
.prizes th:last-child, .prizes td:last-child { text-align: right; }
.prizes tr:nth-child(odd) { background: #f2f4f5; }
.matches { margin: 0; padding: 0; list-style: none; text-align: left; font-size: 13px; }
.matches li { display: grid; grid-template-columns: 1fr auto 1fr; gap: 8px; border-bottom: 1px solid #e7eaec; padding: 6px 0; }
.matches li span:last-child { text-align: right; }
.history { display: grid; max-height: 300px; overflow-y: auto; scrollbar-width: thin; scrollbar-color: #9aa3a9 #eef1f2; }
.history::-webkit-scrollbar { width: 6px; }
.history::-webkit-scrollbar-track { border-radius: 6px; background: #eef1f2; }
.history::-webkit-scrollbar-thumb { border: 1px solid white; border-radius: 6px; background: #9aa3a9; }
.history::-webkit-scrollbar-thumb:hover { background: var(--game-color); }
.history__date { width: 100%; border: 0; border-bottom: 1px solid #edf0f2; background: white; color: #1d252c; cursor: pointer; padding: 8px 10px; text-align: left; font-size: 12px; font-weight: 700; }
.history__date:hover, .history__date:focus-visible { background: var(--game-color); color: white; outline: none; }
.history__date:disabled { cursor: wait; opacity: .65; }
@media (max-width: 760px) { .widget { padding: 8px; } .results { flex-direction: column; } .result-column { width: 100%; flex: 1 1 auto; } }
@media (max-width: 390px) { .card__brand { width: 68px; min-width: 68px; padding: 8px; } .card__mark, .card__mark img { width: 36px !important; height: 36px !important; max-width: 36px; max-height: 36px; } .card__date { min-width: 70px; } .card__actions { gap: 3px; padding: 5px; } .card__button { padding: 5px; font-size: 11px; } .quiniela-sign { font-size: 12px; } .card[data-game="LAQU"] .combination { gap: 4px; } }
