/* Approved light IPB raffle: native prize/winner data and the existing donor widget. */
.svr-sortition{--ink:#414a54;--muted:#90969c;--edge:#d7c5bf;display:grid;grid-template-columns:minmax(0,1.95fr) minmax(0,1fr);gap:10px;font-family:'Trebuchet MS',Arial,sans-serif;margin-bottom:9px}
.svr-sortition *{box-sizing:border-box}
.svr-raffle-showcase>#sortition,.svr-raffle-showcase>#sortition>.svr-sortition{display:contents}
.svr-raffle-showcase:not(:has(>.svr-donors-mini)){grid-template-columns:minmax(0,1.95fr) minmax(0,1fr)}
.svr-raffle-showcase{--ink:#414a54;--muted:#90969c;--edge:#d7c5bf;display:grid;grid-template-columns:minmax(0,1.95fr) minmax(0,1fr) minmax(0,1fr);gap:10px;align-items:stretch;clear:both;margin:0 0 9px;font-family:'Trebuchet MS',Arial,sans-serif}
.svr-raffle-showcase *{box-sizing:border-box}
.svr-raffle-showcase .sortition-box{min-width:0}
.svr-sortition .sortition-box,.svr-winners-panel,.svr-donors-mini.l_block{min-height:212px;min-width:0;margin:0;border:1px solid var(--edge);border-radius:10px;background:linear-gradient(140deg,#fff,#fbfbfa);color:var(--ink);box-shadow:0 2px 6px #3a24200d,inset 0 1px #fff;overflow:visible}
.svr-sortition .sortition-box{padding:12px;font-family:'Trebuchet MS',Arial,sans-serif;display:grid;grid-template-rows:66px 68px 36px;align-content:start;gap:8px}
.svr-sortition .sortition-box>.header{height:66px;min-height:0;display:flex;gap:9px;align-items:center;border:0;background:none}
.svr-sortition .sortition-box .prize-img{display:none}
.svr-sortition .sortition-box .info{min-width:0;flex:1;padding:0;display:flex;flex-direction:column;justify-content:center}
.svr-sortition .sortition-box .info>.title{font:600 13px/1.3 'Trebuchet MS',Arial,sans-serif;text-transform:none;letter-spacing:0;color:#626e7b;margin:0 0 9px;white-space:nowrap}
.svr-sortition .sortition-box .timer{display:flex;gap:4px;align-items:center}
.svr-sortition .sortition-box .timer .num{font:700 24px/1 'Trebuchet MS',Arial,sans-serif;min-width:35px;color:#b5453d;text-shadow:0 1px #fff;letter-spacing:0}
.svr-sortition .sortition-box .timer .sep{font:400 20px/1 Georgia,serif;padding:0 3px;margin-bottom:14px;color:#a8abae;text-shadow:none}
.svr-sortition .sortition-box .timer .lbl{font:11px/1.2 'Trebuchet MS',Arial,sans-serif;color:#8b9299;margin-top:5px;letter-spacing:0;text-shadow:none;text-transform:none}
.svr-raffle-tools{width:104px;flex:0 0 104px;display:grid;gap:5px}
.svr-raffle-tools>.tab{display:flex;align-items:center;justify-content:center;height:28px;padding:0 5px;background:#f1f3f5;border:1px solid #dfe4e8;border-radius:5px;color:#697786;font-size:11px;font-weight:600;line-height:1.3;white-space:nowrap;cursor:pointer}
.svr-raffle-tools>.tab:hover{background:#e9eef2;border-color:#b8c6d0}
.svr-raffle-prize{display:flex;gap:12px;align-items:center;min-width:0;height:68px;padding:9px 12px;border:1px solid #e3dccd;border-radius:7px;background:radial-gradient(ellipse at 17% 50%,#d8c69a30,transparent 65%),#faf8f3}
.svr-prize-coin{flex:0 0 43px;width:43px;height:43px;border:3px double #b9a56d;border-radius:50%;display:flex;align-items:center;justify-content:center;font:700 26px/1 Georgia,serif;color:#9d8243;background:linear-gradient(145deg,#fffdf6,#e9dfc4);box-shadow:inset 0 0 0 2px #fffaf0,0 2px 5px #7c642118;text-shadow:0 1px #fff}
.svr-prize-value{display:flex;flex-direction:column;gap:2px}
.svr-prize-value>small{font-size:10px;font-weight:600;color:#9f8956;line-height:1.2}
.svr-prize-value>strong{font-size:23px;line-height:1.15;color:#74613d;letter-spacing:-.4px}
.svr-prize-destination{margin-left:auto;font-size:11px;line-height:1.55;color:#9d917c;text-align:right}
.svr-sortition .sortition-box>.tabs{display:block;min-height:0;height:36px;background:none;border:0}
.svr-sortition .sortition-box .tab-btn{display:flex;align-items:center;justify-content:center;width:100%;height:36px;padding:0 12px;font:700 14px/1.3 'Trebuchet MS',Arial,sans-serif;background:linear-gradient(#df584c,#cb433a);border:1px solid #c94a40;border-radius:6px;color:#fff;box-shadow:0 2px 5px #b13c2820;text-shadow:0 1px #9c211d33}
.svr-sortition .sortition-box .tab-btn:hover{background:linear-gradient(#e46355,#d34b40)}
.svr-widget-heading,.svr-donors-mini>.l_block_head{display:flex;align-items:center;gap:8px;height:34px;min-height:34px;padding:8px 11px;font:600 12px/1.3 'Trebuchet MS',Arial,sans-serif;color:#65727e;background:linear-gradient(#fafbfc,#eef1f3);border:0;border-bottom:1px solid #dce2e7;border-radius:9px 9px 0 0;box-shadow:none;text-shadow:none;white-space:nowrap}
.svr-widget-heading>svg,.svr-donors-mini>.l_block_head>svg{width:15px;height:15px;flex:0 0 15px;color:#bd6255}
.svr-winners-body,.svr-donors-mini>.l_block_c{min-height:176px;padding:7px 10px;overflow:visible}
.svr-winners-body>.last-winners{width:100%;min-width:0;height:100%;padding:0;border:0;background:none;display:block}
.svr-winners-body .lw-title{display:none}
.svr-winners-body .lw-list{display:block;margin:0;padding:0}
.svr-winners-body .lw-list>a{height:54px;min-width:0;width:100%;margin:0;padding:8px 0;display:flex;align-items:center;gap:10px;white-space:normal;border-bottom:1px solid #edf0f2;text-align:left;text-decoration:none}
.svr-winners-body .lw-list>a:last-child{border-bottom:0}
.svr-winners-body .lw-list img{width:34px;height:34px;flex:0 0 34px;object-fit:cover;border:1px solid #cdbb90;border-radius:5px;box-shadow:none}
.svr-winner-copy{display:flex;flex:1;min-width:0;flex-direction:column;gap:3px}
.svr-winner-name{font-size:13px;line-height:1.25;color:#625b4c;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.svr-winner-caption{font:9px/1.3 'Trebuchet MS',Arial,sans-serif;color:#9c9b95}
.svr-winner-mark{width:15px;flex:0 0 15px;color:#b6a47d;line-height:1}
.svr-winner-mark svg{width:15px;height:15px}
.svr-donors-mini #top_users{margin:0;padding:0;list-style:none;overflow:visible}
.svr-donors-mini li.online_user{height:54px!important;min-height:0!important;line-height:54px!important;margin:0!important;padding:7px 0!important;border:0;border-bottom:1px solid #edf0f2;border-radius:0;background:transparent;overflow:visible;list-style:none}
.svr-donors-mini li.online_user:nth-of-type(3){border-bottom:0}
.svr-donors-mini li.online_user:nth-of-type(n+4){display:none!important}
.svr-donors-mini li.online_user>a{height:39px;min-height:0;line-height:39px!important;display:flex!important;align-items:center;gap:8px;white-space:nowrap;padding:0;text-decoration:none}
.svr-donors-mini .svr-donor-rank{width:16px;flex:0 0 16px;font:600 11px/1.3 'Trebuchet MS',Arial,sans-serif;color:#9a9ea1;text-align:center;font-variant-numeric:tabular-nums}
.svr-donors-mini li:first-child .svr-donor-rank{color:#ae8739}
.svr-donors-mini li:nth-child(3) .svr-donor-rank{color:#b28a6b}
.svr-donors-mini .svr-donor-avatar-slot{position:relative;display:inline-block;width:36px;height:36px;flex:0 0 36px;overflow:visible}
/* Scale the complete native frame, including its PNG overlay and glow, together. */
.svr-donors-mini li.online_user .svr-donor-avatar-slot>.avatar-framed{position:absolute!important;left:1px;top:1px;transform:scale(.68);transform-origin:0 0;margin:0!important}
.svr-donors-mini li.online_user a font,.svr-donors-mini li.online_user a b{line-height:1.4!important;font-size:13px;font-weight:400;min-width:0;overflow:hidden;text-overflow:ellipsis;filter:none}
@media(max-width:1230px){html.svr-raffle-home,html.svr-raffle-home body{min-width:320px}.svr-raffle-home .wapper{max-width:calc(100% - 28px)}.svr-raffle-home .content>.left_block{width:calc(100% - 310px)}.svr-raffle-home .content>.right_block{width:300px}}
@media(min-width:961px)and (max-width:1160px){.svr-raffle-showcase{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.svr-raffle-showcase .sortition-box{grid-column:1/-1}.svr-sortition .sortition-box{grid-template-columns:1fr 1fr;grid-template-rows:66px 36px;min-height:136px;height:auto}.svr-sortition .sortition-box>.header{grid-column:1}.svr-raffle-prize{grid-column:2;grid-row:1;height:66px}.svr-sortition .sortition-box>.tabs{grid-column:1/-1;grid-row:2}}
@media(max-width:960px){.svr-raffle-home .content>.left_block,.svr-raffle-home .content>.right_block{width:100%;float:none}.svr-raffle-home .content>.right_block{margin-top:12px}.svr-raffle-home .bottom .wapper{width:100%;max-width:100%}}
@media(max-width:780px){.svr-raffle-showcase{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.svr-raffle-showcase .sortition-box{grid-column:1/-1}.svr-sortition .sortition-box{min-height:144px;height:auto;grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-rows:66px 42px;gap:10px}.svr-sortition .sortition-box>.header{grid-column:1/-1;grid-row:1}.svr-raffle-prize{grid-column:1;grid-row:2;height:42px;padding:4px 9px;gap:8px}.svr-prize-coin{width:29px;height:29px;flex-basis:29px;font-size:17px;border-width:1px}.svr-prize-value>strong{font-size:17px}.svr-prize-value>small{font-size:8px}.svr-prize-destination{font-size:9px}.svr-sortition .sortition-box>.tabs{grid-column:2;grid-row:2;height:42px}.svr-sortition .sortition-box .tab-btn{height:42px;font-size:13px}.svr-raffle-home .wapper{max-width:calc(100% - 20px)}.svr-raffle-home body>.wapper>.content{padding:8px}.svr-winners-body,.svr-donors-mini>.l_block_c{padding-inline:8px}.svr-widget-heading,.svr-donors-mini>.l_block_head{padding-inline:9px;gap:6px;font-size:11px}.svr-donors-mini li.online_user>a{gap:5px}.svr-donors-mini .svr-donor-rank{width:12px;flex-basis:12px;font-size:10px}.svr-winners-body .lw-list>a{gap:7px}.svr-winner-mark{display:none}.svr-donors-mini li.online_user a font{font-size:12px}.svr-winner-name{font-size:12px}.svr-raffle-home .table{width:100%;table-layout:fixed}.svr-raffle-home .table td,.svr-raffle-home .table th{word-break:normal;overflow-wrap:anywhere;white-space:normal!important;font-size:12px!important;padding:6px!important}.svr-raffle-home .table a{white-space:normal}.svr-raffle-home #servers .server_line{max-width:100%;overflow:hidden}.svr-raffle-home #cote,.svr-raffle-home #cote img{width:70px;height:70px}.svr-raffle-home #cote{right:8px;top:-70px}}
@media(max-width:359px){.svr-raffle-showcase{grid-template-columns:1fr}.svr-widget-heading,.svr-donors-mini>.l_block_head{font-size:13px}.svr-donors-mini li.online_user a font,.svr-winner-name{font-size:14px}.svr-raffle-tools{width:95px;flex-basis:95px}.svr-sortition .sortition-box .info>.title{font-size:10px;letter-spacing:.2px}.svr-sortition .sortition-box .timer .num{font-size:22px;min-width:28px}.svr-sortition .sortition-box .timer .sep{padding:0 1px}.svr-prize-destination{display:none}}

/* Native lifecycle states may grow; never hide an action response or extra winners. */
.svr-sortition .sortition-box.empty{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:12px;padding:20px;text-align:center;color:#8b9299}
.svr-sortition .sortition-box.empty>.fa{font-size:30px;color:#c9bcb2}
.svr-sortition .sortition-box .sortition-name{font-size:14px;line-height:1.35;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.svr-sortition .sortition-box .title.finished{color:#4e8562}
.svr-sortition .sortition-box .tab-btn.green{background:linear-gradient(#67a77b,#518d65);border-color:#518d65;cursor:default}
.svr-sortition .sortition-box .tab-btn.unavailable,.svr-sortition .sortition-box .tab-btn.finished{background:#eef1f3;border-color:#dce2e7;color:#8b9299;cursor:default;text-shadow:none;box-shadow:none}
.svr-sortition .sortition-box .result:not(:empty){display:block!important;grid-column:1/-1;padding:9px 10px;border:1px solid #e2e7eb;background:#f5f7f8;border-radius:6px;text-align:center;overflow-wrap:anywhere}
.svr-sortition .sortition-box .result p{margin:0}
.svr-sortition .sortition-box:has(.result:not(:empty)){grid-template-rows:66px 68px 36px auto}
.svr-sortition .svr-raffle-prize{width:100%;text-align:left;cursor:pointer;font-family:inherit}
.svr-sortition .svr-raffle-prize:hover{border-color:#cbbb98;background-color:#f5f1e7}
.svr-sortition .svr-prize-value{min-width:0;flex:1}
.svr-sortition .svr-prize-value>strong{display:block;min-width:0;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.svr-sortition .svr-prize-destination{flex:0 0 auto;max-width:78px;white-space:normal;overflow-wrap:anywhere}
.svr-winners-body .lw-list>a{color:#625b4c}
.svr-winners-body .lw-list>a:hover .svr-winner-name{color:#b5453d}
.svr-winners-body .lw-list>a>.svr-winner-name{flex:1;min-width:0;margin:0}
.svr-winners-body #winners>a{height:auto;min-height:54px;flex-wrap:wrap;gap:4px 8px;background:none!important}
.svr-winners-body #winners>a>i{font-style:normal;font-size:10px;flex:0 0 100%;color:#9f8956}
.svr-raffle-empty{display:block;padding:12px 0;font-size:12px;line-height:1.5;color:#8b9299;text-align:center;white-space:normal}
.svr-raffle-showcase button:focus-visible,.svr-raffle-showcase a:focus-visible,.svr-sortition button:focus-visible,.svr-sortition a:focus-visible{outline:2px solid #b5453d;outline-offset:2px}

/* These dialogs retain the existing participants and rewards endpoints. */
.svr-sortition .sortition-modal{display:none;position:fixed;inset:0;z-index:9999;background:rgba(32,38,44,.62);align-items:center;justify-content:center;padding:16px}
.svr-sortition .sortition-modal.active{display:flex}
.svr-sortition .sortition-modal-content{display:flex;flex-direction:column;background:#fff;border:1px solid #d7c5bf;border-radius:10px;width:500px;max-width:100%;max-height:80vh;max-height:80dvh;box-shadow:0 14px 50px #18232b40;color:#414a54}
.svr-sortition .sortition-modal-header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 16px;border-bottom:1px solid #dce2e7;background:linear-gradient(#fafbfc,#eef1f3);border-radius:9px 9px 0 0}
.svr-sortition .sortition-modal-header h4{margin:0;font:600 16px/1.3 'Trebuchet MS',Arial,sans-serif;color:#65727e}
.svr-sortition .sortition-modal-close{background:transparent;border:0;border-radius:4px;color:#8b9299;font:28px/1 Arial,sans-serif;width:32px;height:32px;cursor:pointer}
.svr-sortition .sortition-modal-close:hover{background:#e9eef2;color:#b5453d}
.svr-sortition .sortition-modal-body{min-height:0;overflow:auto;overscroll-behavior:contain;padding:16px}
.svr-sortition #modal-participants{display:flex;flex-wrap:wrap;gap:8px;justify-content:center}
.svr-sortition #modal-participants a{display:inline-flex;align-items:center;gap:6px;max-width:100%;padding:4px 10px 4px 4px;background:#f1f3f5;border-radius:20px;color:#697786;text-decoration:none;font-size:13px;white-space:normal;overflow-wrap:anywhere}
.svr-sortition #modal-participants a:hover{background:#e9eef2;color:#414a54}
.svr-sortition #modal-participants a img{width:24px;height:24px;border-radius:50%;object-fit:cover}
.svr-sortition #modal-prizes h5{color:#9f8956;font-size:14px;margin:12px 0 8px;border-bottom:1px solid #e2e7eb;padding-bottom:7px}
.svr-sortition #modal-prizes h5:first-child{margin-top:0}
.svr-sortition #modal-prizes .prize{display:flex;flex-wrap:wrap;gap:7px;align-items:center;padding:8px 0;color:#626e7b;cursor:pointer}
.svr-sortition #modal-prizes .prize i.fa{color:#9f8956}
.svr-sortition #modal-prizes .modal-header{display:block;min-height:0;border-bottom:1px solid #e2e7eb;background:#f1f3f5}
.svr-sortition #modal-prizes .modal{z-index:10001}
.svr-donors-mini li.online_user[hidden]{display:none!important}
@media(max-width:1160px) and (min-width:961px){.svr-raffle-showcase:not(:has(>.svr-donors-mini)){grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.svr-sortition .sortition-box:has(.result:not(:empty)){grid-template-rows:66px 36px auto}}
@media(max-width:780px){.svr-sortition{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.svr-raffle-showcase:not(:has(>.svr-donors-mini)){grid-template-columns:1fr}.svr-sortition .sortition-box{grid-column:1/-1}.svr-sortition .sortition-box:has(.result:not(:empty)){grid-template-rows:66px 42px auto}.svr-raffle-showcase .svr-winners-panel{grid-column:auto}.svr-sortition .svr-prize-destination{max-width:60px;font-size:9px}.svr-sortition .svr-prize-value>strong{font-size:17px}.svr-sortition .svr-prize-value>small{font-size:8px}}
@media(max-width:359px){.svr-sortition{grid-template-columns:1fr}.svr-sortition .svr-prize-destination{display:none}}
@media(max-width:480px){.svr-sortition .svr-prize-destination{display:none}}
