/* Itemsatis raffle detail — V6.6 */
.section-banner{background:linear-gradient(90deg,#ff3b12,#ff9700);color:#fff;display:flex;justify-content:space-between;align-items:center;padding:11px 14px;border-radius:8px;box-shadow:0 5px 16px rgba(255,101,0,.18)}
.section-banner .banner-title{font-size:15px;font-weight:800;color:#fff;min-width:0;overflow-wrap:anywhere}.section-banner .see-all{color:#fff;text-decoration:none;font-size:12px;font-weight:800;white-space:nowrap;margin-left:12px}
.raffle-detail-grid{display:grid;grid-template-columns:minmax(300px,.78fr) minmax(0,1.22fr);gap:20px;align-items:start}
.raffle-detail-card{background:#fff;border:1px solid #e7e9ee;border-radius:14px;box-shadow:0 8px 26px rgba(20,31,51,.06);color:#171b24;min-width:0}
.raffle-detail-sidebar{padding:16px}.detail-publisher{display:flex;align-items:center;gap:10px;min-width:0}.detail-publisher img{width:48px;height:48px;border-radius:12px;object-fit:cover;border:1px solid #eceef2;background:#f6f7f9}.detail-publisher>div{min-width:0}.detail-publisher strong{display:block;font-size:14px;font-weight:900;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.detail-publisher span{display:block;font-size:11px;color:#7d8795}.detail-state{margin-left:auto;flex:none;color:#fff!important;border-radius:7px;padding:6px 9px;font-size:10px!important;font-weight:900}.detail-state.is-active{background:#20b15a}.detail-state.is-ended{background:#14b8c9}
.detail-raffle-title{font-size:16px;font-weight:900;margin:15px 0;overflow-wrap:anywhere;color:#171b24}.detail-facts{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-bottom:16px}.detail-facts>div{background:#f7f8fa;border:1px solid #e8ebef;border-radius:10px;padding:10px}.detail-facts span{display:block;font-size:10px;color:#7a8493;margin-bottom:3px}.detail-facts strong{display:block;font-size:13px;font-weight:900}
.detail-time-block{text-align:center;padding:11px 8px;border-top:1px solid #edf0f3}.detail-time-block>span:first-child{display:block;font-size:11px;font-weight:800;margin-bottom:7px}.countdown-timer{display:flex;justify-content:center;gap:7px}.time-box{min-width:54px;background:#f7f8fa;border:1px solid #e4e8ed;border-radius:8px;padding:6px 8px}.time-box strong{display:block;font-size:14px}.time-box small{display:block;font-size:9px;color:#7b8594}.detail-ended-badge{display:inline-flex!important;background:#17b4c7;color:#fff!important;padding:6px 10px;border-radius:6px;font-size:11px!important;font-weight:900}
.detail-join-form{margin-top:10px}.detail-join-form button{width:100%;height:38px;border:0;border-radius:7px;background:#61a2f5;color:#fff;font-size:12px;font-weight:900;display:flex;align-items:center;justify-content:center;gap:7px}.detail-join-form button:disabled{opacity:.68;cursor:not-allowed}
.participants-section{margin-top:16px;background:#fff;border:0;border-top:1px solid #e9ecf0;border-radius:0;box-shadow:none;padding:14px 0 0;max-height:none;overflow:visible}.participants-title-row h2{font-size:15px;font-weight:900;margin:0 0 10px}.participants-title-row h2 span{font-size:12px;color:#707a89;font-weight:700}.participants-list{max-height:235px;overflow-y:auto;border:1px solid #e7e9ee;border-radius:9px}.participant-item{display:flex;align-items:center;justify-content:flex-start;gap:9px;padding:9px 12px;border-bottom:1px solid #edf0f3;font-size:12px}.participant-item:last-child{border-bottom:0}.participant-number{width:24px;color:#87909d;font-weight:800}.participant-name{font-weight:700;overflow-wrap:anywhere}.participants-list::-webkit-scrollbar{width:6px}.participants-list::-webkit-scrollbar-thumb{background:#9ba3ad;border-radius:8px}.participants-empty{color:#7b8492;font-size:12px;padding:12px;border:1px dashed #d8dde4;border-radius:8px;text-align:center}
.raffle-prizes-panel{padding:16px}.prizes-panel-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}.prizes-panel-head h2{font-size:16px;font-weight:900;margin:0}.prizes-panel-head h2 span{font-size:12px;color:#707a89}.detail-products-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.detail-product-card{border:1px solid #e7e9ee;background:#fbfbfc;border-radius:11px;padding:11px;min-width:0}.detail-product-rank{font-size:10px;font-weight:900;color:#ff6500;margin-bottom:7px}.detail-product-card img{width:100%;height:130px;object-fit:contain;border-radius:8px;background:#fff;border:1px solid #eef0f3;margin-bottom:8px}.detail-product-card>strong{display:block;font-size:12px;font-weight:900;overflow-wrap:anywhere}.detail-product-price{display:block;color:#14a64e;font-size:12px;font-weight:900;margin-top:3px}.detail-winner{margin-top:8px;padding:7px 8px;border-radius:7px;background:#e9f8ef;color:#13813c;border:1px solid #bce8cc;font-size:10px;font-weight:800;overflow-wrap:anywhere}.detail-winner i{color:#f0b400}.detail-winner.pending{background:#fff7df;color:#8a6500;border-color:#f2df9b}.prizes-empty{min-height:180px;display:flex;align-items:center;justify-content:center;gap:9px;color:#7a8493;font-size:13px}

html[data-theme="dark"] .raffle-detail-card,html[data-theme="dark"] .participants-section{background:#111b2e!important;color:#f5f7fb!important;border-color:#2b3a53!important;box-shadow:0 14px 34px rgba(0,0,0,.22)}
html[data-theme="dark"] .detail-raffle-title,html[data-theme="dark"] .detail-publisher strong,html[data-theme="dark"] .participants-title-row h2,html[data-theme="dark"] .prizes-panel-head h2,html[data-theme="dark"] .detail-product-card>strong{color:#f5f7fb!important}
html[data-theme="dark"] .detail-publisher span,html[data-theme="dark"] .participants-title-row h2 span,html[data-theme="dark"] .prizes-panel-head h2 span{color:#aab5c5!important}
html[data-theme="dark"] .detail-facts>div,html[data-theme="dark"] .time-box,html[data-theme="dark"] .detail-product-card{background:#17243a!important;border-color:#33445f!important;color:#f5f7fb!important}
html[data-theme="dark"] .detail-product-card img{background:#101a2c!important;border-color:#33445f!important}
html[data-theme="dark"] .detail-time-block,html[data-theme="dark"] .participants-section{border-color:#2b3a53!important}
html[data-theme="dark"] .participants-list{border-color:#33445f!important}.participant-item{border-color:#edf0f3}.participants-list .participant-item:last-child{border-bottom:0}
html[data-theme="dark"] .participant-item{border-color:#2b3a53!important;color:#f5f7fb!important}
html[data-theme="dark"] .participant-number{color:#93a0b2!important}

@media(max-width:900px){.raffle-detail-grid{grid-template-columns:1fr}.detail-products-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:575.98px){.raffle-detail-sidebar,.raffle-prizes-panel{padding:13px}.detail-products-grid{grid-template-columns:1fr}.detail-product-card img{height:150px}.detail-facts{grid-template-columns:1fr 1fr}.section-banner{align-items:flex-start}.section-banner .banner-title{font-size:13px}.section-banner .see-all{font-size:10px}}
