.shop-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:20px 0}.shop-tabs,.shop-tools{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.shop-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.shop-offer{min-width:0;display:flex;flex-direction:column;padding:18px}.shop-offer-heading{display:flex;gap:12px;justify-content:space-between;align-items:center}.shop-offer-heading>div{min-width:0}.shop-kind{font-size:10px;text-transform:uppercase;letter-spacing:1px;color:var(--muted)}.shop-offer h2{margin:7px 0 0;font-size:18px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.shop-description{font-size:12px;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;margin:12px 0}.shop-offer-content{margin-top:16px;flex:1;min-width:0}.shop-items{list-style:none;margin:0;padding:0}.shop-item{display:grid;grid-template-columns:36px minmax(0,1fr) auto auto;align-items:center;gap:9px;padding:8px 0;border-bottom:1px solid var(--line);font-size:12px;min-height:53px}.shop-item img{width:34px;height:34px;object-fit:contain}.shop-item-name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.shop-item-quality{font-size:10px;color:var(--muted);white-space:nowrap}.shop-item-quantity{font-size:12px;color:var(--accent);white-space:nowrap}.shop-bonuses{padding-top:15px}.shop-bonuses h3{font-size:12px;margin:0 0 7px}.shop-bonuses ul{margin:0;padding-left:17px;color:var(--muted);font-size:12px;line-height:1.7}.shop-bonuses li{overflow-wrap:anywhere}.shop-offer-footer{border-top:1px solid var(--line);margin-top:20px;padding-top:16px;display:flex;align-items:center;justify-content:space-between;gap:12px}.shop-price{font-size:23px;color:var(--accent);font-weight:600;white-space:nowrap}.shop-price small{display:block;color:var(--muted);font-weight:400;font-size:11px;margin-top:4px}.shop-renewal{font-size:11px;margin:10px 0 0}.shop-state{font-size:11px;color:var(--muted)}.shop-state.is-published{color:var(--accent)}.shop-role{display:grid;grid-template-columns:1fr auto;align-items:center;gap:5px;font-size:12px;border-bottom:1px solid var(--line);padding:0 0 13px}.shop-role strong{color:var(--accent)}.shop-role small{grid-column:1/-1;color:var(--muted)}.shop-money{display:flex;justify-content:space-between;gap:10px;font-size:12px;padding:12px 0;border-bottom:1px solid var(--line)}.shop-money strong{color:var(--accent)}.shop-reward-timing{font-size:11px;margin:12px 0 4px;color:var(--accent)}.shop-notice:empty{display:none}.shop-notice{border:1px solid var(--line);padding:12px 16px;font-size:12px}.shop-form fieldset{margin:0;padding:16px;border:1px solid var(--line);min-width:0}.shop-form legend{padding:0 6px;font-size:12px}.shop-form{gap:20px}.shop-form label{display:flex;flex-direction:column;gap:8px;min-width:0;margin:0}.shop-form .shop-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;align-items:start}.shop-form .shop-triple{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.shop-form label>input:not([type=checkbox]):not([type=radio]),.shop-form label>textarea,.shop-form label>.kali-select,.shop-form label>select{margin:0;min-width:0;width:100%}.shop-form textarea{font:inherit;color:var(--text);background:var(--bg);border:1px solid #40525a;resize:vertical;padding:10px;min-height:70px}.shop-form .shop-row-inputs{display:grid;grid-template-columns:minmax(0,1fr) 80px 110px 28px;gap:10px;align-items:end}.shop-form .shop-row-inputs>button{align-self:end;margin-bottom:3px}.shop-form .shop-buff-inputs{grid-template-columns:minmax(0,1fr) minmax(0,1.5fr) 28px}.shop-form .shop-buff-inputs input,.shop-form .shop-row-inputs input,.shop-form .shop-row-inputs .select-trigger{height:34px;min-height:34px;padding:6px 10px;font-size:12px}.shop-rows{display:grid;gap:14px;margin-bottom:14px}.shop-row-label{margin-top:8px!important}.shop-row-label input{height:34px;min-height:34px;padding:6px 10px;font-size:12px}.shop-check{display:flex!important;flex-direction:row!important;align-items:center;gap:10px!important}.shop-form fieldset>.shop-pair+ .shop-pair{margin-top:16px}.shop-form .shop-info{font-size:11px;margin:12px 0 0}.shop-editor-actions{display:flex;gap:10px}.shop-preview-grid{max-width:480px;margin:0 auto}.shop-public .shop-public-header{padding:22px 24px;height:auto;min-height:94px;box-sizing:border-box}.shop-public .shop-public-header>a::before{content:none}.shop-public main{max-width:1250px;padding:28px 24px;min-height:calc(100vh - 144px)}.shop-public-footer{margin:0;padding:16px 24px}.shop-detail .shop-item{grid-template-columns:40px minmax(0,1fr) auto auto}.shop-detail .shop-price{margin-bottom:0}.shop-link{overflow-wrap:anywhere}.shop-form [hidden]{display:none!important}
@media(max-width:1200px){.shop-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:800px){.shop-grid{grid-template-columns:1fr}.shop-toolbar{align-items:flex-start;flex-direction:column}}@media(max-width:550px){.shop-form .shop-pair,.shop-form .shop-triple{grid-template-columns:1fr}.shop-form .shop-row-inputs{grid-template-columns:minmax(0,1fr) 65px 85px 28px;gap:6px}.shop-form .shop-buff-inputs{grid-template-columns:minmax(0,1fr) 28px}.shop-buff-inputs>label:nth-child(2){grid-column:1;grid-row:2}.shop-buff-inputs>button{grid-column:2;grid-row:2}.shop-form fieldset{padding:12px}.shop-form .shop-row-inputs label{font-size:11px}}

.form.shop-form button{margin-top:0}.form.shop-form .dialog-scroll{display:grid;gap:20px}.form.shop-form .shop-pair+.shop-pair{margin-top:16px}
.shop-item,.shop-detail .shop-item{grid-template-columns:58px minmax(0,1fr)}
.shop-slot{display:block;position:relative;width:58px;height:58px;border:1px solid var(--line);background:var(--bg);flex:none;box-sizing:border-box}
.shop-slot img,.shop-item .shop-slot img{display:block;width:100%;height:100%;padding:5px 5px 10px;box-sizing:border-box;object-fit:contain}
.shop-slot-count,.shop-slot-quality{position:absolute;bottom:5px;font-size:11px;font-weight:700;line-height:1;color:var(--text);text-shadow:0 1px 2px #000,1px 0 2px #000}
.shop-slot-count{right:4px}.shop-slot-quality{left:4px}.shop-slot-bar{position:absolute;bottom:0;left:0;right:0;height:4px}
.shop-form .shop-item-columns{display:grid;grid-template-columns:minmax(0,1fr) 72px 88px 28px;gap:10px;align-items:center}
.shop-column-head{font-size:12px;color:var(--muted);margin-bottom:-6px}
.shop-item-choice{display:flex;align-items:center;gap:10px;min-width:0}.shop-item-choice>div{flex:1;min-width:0}
.shop-form .shop-item-pick{padding:0;border:0;background:none;height:58px;min-height:0;flex:none}
.shop-form .shop-item-id{display:block;padding:3px 0 0;background:none;border:0;color:var(--muted);font-size:10px;font-weight:400;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:left}
.shop-form .shop-item-id:hover{color:var(--accent)}
.shop-form .shop-item-editor input,.shop-form .shop-item-editor .select-trigger{margin:0;width:100%;height:34px;min-height:34px;padding:6px 8px;font-size:12px;box-sizing:border-box}
.shop-form .shop-item-editor .kali-select{margin:0;min-width:0}
.shop-form .shop-row-inputs.shop-buff-inputs{align-items:center}.shop-form .shop-buff-inputs>button{align-self:center;margin-bottom:0}
#shop-item-picker .modal-body{display:flex;flex-direction:column;gap:14px;overflow:auto}
.item-picker-tools{display:grid;grid-template-columns:minmax(0,1fr) 100px auto;gap:10px;align-items:center;flex:none}
.item-picker-tools input[type=search],.item-picker-tools .kali-select{margin:0;min-width:0}.item-picker-tools input[type=search],.item-picker-tools .select-trigger{height:38px;min-height:38px;font-size:12px}.item-picker-tools label{font-size:11px;color:var(--muted)}
.item-picker-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;overflow:auto;max-height:54dvh;min-height:145px;align-content:start;padding:2px}
.item-picker-grid .item-picker-card{display:flex;flex-direction:column;align-items:center;gap:6px;min-width:0;padding:10px 8px;margin:0;border:1px solid var(--line);background:var(--bg);height:140px;color:var(--text)}
.item-picker-card:hover,.item-picker-card:focus-visible{border-color:var(--accent);background:var(--panel)}
.item-picker-card img{width:56px;height:56px;object-fit:contain}.item-picker-card strong{font-size:11px;line-height:15px;height:30px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.item-picker-card small{font-size:9px;font-weight:400;color:var(--muted);max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.item-picker-footer,.item-picker-pages{display:flex;align-items:center;gap:10px;font-size:12px}.item-picker-footer{justify-content:space-between;flex:none}.item-picker-pages button{padding:5px 10px;margin:0}.item-picker-custom{border-top:1px solid var(--line);padding-top:10px;font-size:12px;flex:none}.item-picker-custom summary{cursor:pointer;color:var(--muted)}.item-picker-custom .shop-pair{display:grid;grid-template-columns:1fr 1fr;gap:12px}.item-picker-custom .form button{margin:0}.item-picker-custom input{width:100%;box-sizing:border-box}
@media(max-width:650px){.item-picker-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.item-picker-tools{grid-template-columns:1fr 100px}.item-picker-tools label{grid-column:1/-1}.shop-form .shop-item-columns{grid-template-columns:minmax(0,1fr) 58px 76px 28px;gap:6px}.shop-item-choice{gap:6px}.shop-item-choice .shop-slot,.shop-form .shop-item-pick{width:46px;height:50px}.shop-column-head{font-size:10px}}

.shop-slot.quality-0 .shop-slot-quality{color:#808080}.shop-slot.quality-0 .shop-slot-bar{background:#808080}
.shop-slot.quality-1 .shop-slot-quality{color:#9C8867}.shop-slot.quality-1 .shop-slot-bar{background:#9C8867}
.shop-slot.quality-2 .shop-slot-quality{color:#CF7F29}.shop-slot.quality-2 .shop-slot-bar{background:#CF7F29}
.shop-slot.quality-3 .shop-slot-quality{color:#A2A41B}.shop-slot.quality-3 .shop-slot-bar{background:#A2A41B}
.shop-slot.quality-4 .shop-slot-quality{color:#42C234}.shop-slot.quality-4 .shop-slot-bar{background:#42C234}
.shop-slot.quality-5 .shop-slot-quality{color:#315DCE}.shop-slot.quality-5 .shop-slot-bar{background:#315DCE}
.shop-slot.quality-6 .shop-slot-quality{color:#A42ACC}.shop-slot.quality-6 .shop-slot-bar{background:#A42ACC}
.shop-item-summary{display:grid;grid-template-columns:minmax(0,1fr) 28px;gap:10px;align-items:center}
.shop-form .shop-item-summary-button{display:flex;align-items:center;gap:12px;padding:0 10px 0 0;border:1px solid var(--line);background:var(--bg);color:var(--text);text-align:left;min-width:0;margin:0}
.shop-item-summary-button:hover{border-color:var(--accent)}.shop-item-summary-button>.shop-slot{border:0;border-right:1px solid var(--line)}.shop-item-summary-button>span:last-child{display:grid;gap:5px;min-width:0}.shop-item-summary-button strong{font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.shop-item-summary-button small{font-size:10px;font-weight:400;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.shop-item-settings-preview{display:flex;justify-content:center}.shop-item-settings-preview .shop-slot{width:84px;height:84px}.shop-item-settings-preview .shop-slot-count,.shop-item-settings-preview .shop-slot-quality{font-size:13px}
#shop-item-settings{width:min(480px,calc(100vw - 32px))}
.shop-form .shop-pair input:not([type=checkbox]):not([type=radio]),.shop-form .shop-pair .select-trigger{height:46px;min-height:46px;box-sizing:border-box}
.shop-slot img,.shop-item .shop-slot img,.shop-slot canvas{display:block;width:100%;height:100%;padding:0;object-fit:contain}
.shop-slot-number{position:absolute;bottom:3px;right:3px;font-size:19px;line-height:1;color:var(--text);text-shadow:0 1px 3px #000,1px 0 2px #000;z-index:1}
.shop-slot.has-quality .shop-slot-number{left:35%;right:auto;bottom:2px;font-size:21px;color:var(--text)}
.shop-form [data-items]{display:flex;flex-wrap:wrap;gap:4px}
.shop-form .shop-item-cell{width:64px;height:64px;padding:0;margin:0;border:0;background:none;min-height:0}
.shop-item-cell .shop-slot{width:64px;height:64px}.shop-item-cell:hover .shop-slot{border-color:var(--accent)}
#kali-context-menu.shop-item-menu{min-width:150px;width:150px;padding:5px}
#kali-context-menu.shop-item-menu button{padding:7px 9px;font-size:12px}
.shop-role-line{font-size:12px;padding-bottom:14px;border-bottom:1px solid var(--line)}.shop-role-line strong{color:var(--accent)}
.shop-rewards h3{font-size:12px;line-height:1.5;margin:14px 0 8px}.shop-rewards h3 span{font-weight:400;color:var(--muted)}
.shop-bonus-list{font-size:12px;color:var(--muted);padding-left:17px;line-height:1.7;margin:12px 0 0}
.item-picker-card canvas{width:56px;height:56px;object-fit:contain}.item-picker-grid .item-picker-card{height:120px}
#shop-item-settings .shop-pair{grid-template-columns:1fr}
.shop-form fieldset>label+div,.shop-form fieldset>div+label{margin-top:16px}
/* Boutique : cases compactes, descriptions lisibles et un seul séparateur de prix. */
.shop-slot-number{right:2px;bottom:3px;font-size:12px;letter-spacing:0}
.shop-slot.has-quality .shop-slot-number{left:50%;right:auto;transform:translateX(-50%);bottom:2px;font-size:20px;line-height:1;color:#fff}
.shop-slot.has-quality .shop-slot-bar{height:14%}
.shop-offer h2{margin:0;white-space:normal;overflow:visible;overflow-wrap:anywhere;line-height:1.45}
.shop-offer-heading h2{flex:1;min-width:0}.shop-offer-heading>button{flex:none}
.shop-state{font-size:11px;font-weight:400;font-style:italic;white-space:nowrap}
.shop-description{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;line-clamp:3;height:61.2px;min-height:61.2px;line-height:20.4px;overflow:hidden;white-space:normal;overflow-wrap:anywhere}
.shop-item,.shop-money,.shop-role-line{border-bottom:0}
.shop-item-name{white-space:normal;overflow:visible;overflow-wrap:anywhere}
.shop-role-line{padding:0;margin:0 0 14px;line-height:1.6}
.shop-role-line:last-child{margin-bottom:0}
.shop-role-link{display:inline;background:none;border:0;padding:0;margin:0;font:inherit;font-weight:600;color:var(--accent);text-decoration:underline;text-underline-offset:3px;min-height:0}
.shop-role-description{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.6;margin:0}
.shop-subscription-detail h3{font-size:12px;margin:0 0 10px}
.shop-subscription-facts{font-size:12px;color:var(--muted);padding-left:17px;line-height:1.8;margin:0 0 10px}
.shop-offer-content:empty{display:none}
.shop-offer-footer{border-top:1px solid var(--line)}
.item-picker-tools{grid-template-columns:minmax(0,1fr) auto}
.item-picker-tools label{grid-column:auto}
.item-picker-card .shop-truncated{position:relative;display:block;width:100%;height:30px;overflow:visible}
.shop-truncated-text{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;height:30px}
.shop-ellipsis{position:absolute;right:0;bottom:0;background:var(--bg);padding-left:3px;line-height:15px;cursor:help}
.shop-ellipsis[hidden]{display:none}
.shop-item-cell{touch-action:none;cursor:grab}.shop-item-cell.is-dragging{opacity:.4}
.shop-item-cell.drop-before{box-shadow:-3px 0 0 var(--accent)}.shop-item-cell.drop-after{box-shadow:3px 0 0 var(--accent)}
.shop-catalog-status{margin-top:10px;font-size:11px;color:var(--muted);display:flex;align-items:center;gap:10px;flex-wrap:wrap}.shop-catalog-status p{margin:0}.shop-catalog-status p:empty{display:none}.shop-catalog-status button{font-size:11px;padding:6px 8px}
#role-form textarea{width:100%;box-sizing:border-box;font:inherit;color:var(--text);background:var(--bg);border:1px solid #40525a;padding:10px;resize:vertical}
.shop-truncated-text{display:block;-webkit-line-clamp:unset}.shop-ellipsis{min-width:16px;text-align:right}
.shop-slot.has-quality .shop-slot-number{font-size:18px}
.shop-item-cell,.shop-item-cell *{user-select:none;-webkit-user-select:none}
.shop-item-cell img{-webkit-user-drag:none}
.shop-inclusions{margin-top:18px}.shop-inclusions h3{margin:0 0 5px}.shop-inclusion-timing{font-size:11px;margin:0 0 10px}.shop-inclusion-actions{display:flex;gap:8px;flex-wrap:wrap}.shop-inclusion-actions button{font-size:11px;padding:8px 10px}
#shop-inclusion-detail{width:min(460px,calc(100vw - 32px))}.shop-inclusion-detail .shop-bonus-list{margin-top:0}
.shop-offer-heading{gap:8px;align-items:center}.shop-offer-handle{width:20px;min-width:20px;padding:0;border:0;background:none;color:var(--muted);cursor:grab;touch-action:none;user-select:none}.shop-offer-handle svg{width:12px;height:20px;fill:currentColor}.shop-offer-handle:hover{color:var(--accent)}.shop-offer.is-sorting{opacity:.45}.shop-offer.offer-drop-target{outline:2px solid var(--accent);outline-offset:2px}
.shop-items.limited-row-scroll{margin-right:0;padding-right:8px}

#player-nav{display:flex;gap:22px;margin-left:auto}#player-nav a{color:var(--muted);text-decoration:none}#player-nav a[aria-current=page]{color:var(--accent)}.player-map-settings{max-width:780px}.player-map-zones{display:grid;gap:12px}
.player-map-settings-wrap{max-width:820px;margin:0 auto}.player-map-settings{max-width:none;margin:0 auto}.map-access-table table{width:100%;table-layout:fixed}.map-access-table th,.map-access-table td{text-align:center;padding:14px 6px}.map-access-table th:first-child{width:25%;text-align:left}.map-access-table thead th{font-size:10px}.map-access-table tbody th{font-size:12px;font-weight:400}.map-access-table input[type=radio]{display:inline-block;margin:0;width:18px;height:18px;accent-color:var(--accent)}
.shop-pack-choices{display:grid;grid-template-columns:1fr 1fr;gap:16px}.shop-pack-choices button{min-height:76px}.shop-offer{position:relative;overflow:hidden}.shop-offer.is-exhausted:after{content:"";position:absolute;inset:0;background:#030809aa;pointer-events:none}.shop-exhausted{position:absolute;top:44%;left:-10%;width:120%;z-index:2;text-align:center;transform:rotate(-24deg);font-size:clamp(30px,4vw,54px);font-weight:800;letter-spacing:.12em;color:#c7d1d3;border-block:2px solid #c7d1d355;background:#111c20b8;pointer-events:none}
.map-access-table input[type=radio]{appearance:none;border:1px solid var(--accent);border-radius:50%;background:transparent;padding:3px;background-clip:content-box;cursor:pointer}.map-access-table input[type=radio]:checked{background-color:var(--accent)}.map-access-table tbody th{text-transform:none;letter-spacing:0}.shop-gift-limit{font-size:12px;color:var(--muted)}
.shop-pair.shop-free-title{grid-template-columns:1fr}

.shop-inclusion-actions{display:flex;flex-direction:column;align-items:flex-start;gap:10px}.shop-inclusion-actions .shop-role-link{padding:0;min-height:0}.shop-role-duration{display:grid;grid-template-columns:minmax(0,2fr) minmax(75px,1fr) minmax(90px,1fr);gap:14px;align-items:end}.shop-role-duration label{min-width:0}.shop-role-duration input{width:100%}@media(max-width:520px){.shop-role-duration{grid-template-columns:1fr 1fr}.shop-role-duration label:first-child{grid-column:1/-1}}

#shop-settings-dialog .shop-settings-actions{width:100%;justify-content:space-between;align-items:center}#shop-settings-dialog .shop-settings-actions .shop-check{margin:0 0 0 auto;font-size:12px}

.shop-role-link,.shop-role-link:hover{text-decoration:none}.shop-inclusion-actions.shop-subscription-facts{display:block;padding-left:17px;margin:0;list-style:disc}.shop-inclusion-actions li{margin:3px 0}.shop-delivery-note{font-size:11px;color:var(--muted);line-height:1.6;margin:10px 0 0}

.shop-form .shop-role-duration{align-items:start}.shop-form .shop-role-duration input,.shop-form .shop-role-duration .select-trigger{height:46px;min-height:46px;margin:0;box-sizing:border-box}

.shop-pack-facts{margin:0 0 16px!important}.shop-pack-facts strong{color:var(--accent);font-weight:600}

.votes-settings{max-width:760px}.votes-settings .form{display:grid;gap:16px}.votes-settings [data-direct]{display:grid;gap:16px}.votes-settings [hidden]{display:none!important}

.reward-item-grid{display:flex;flex-wrap:wrap;gap:12px;align-items:flex-start}.reward-item-grid>.shop-item-cell{flex:0 0 64px;width:64px}.votes-settings>.panel{width:100%;box-sizing:border-box}.vote-tier-row .shop-role-link{padding:0}#player-admin-quantity{width:min(380px,calc(100vw - 32px))}

.shop-item-detail-button{padding:0;border:0;background:none;width:64px;height:64px}
.shop-item-slots{display:flex;flex-wrap:wrap;gap:8px;align-items:flex-start;list-style:none;margin:0;padding:2px}
.shop-item-slot{flex:0 0 64px;width:64px;margin:0;padding:0}
.shop-item-slots .shop-item-detail-button{display:block;margin:0;min-height:0}
.shop-item-slots .shop-slot{width:64px;height:64px}
.shop-item-slots .shop-item-detail-button:hover .shop-slot,.shop-item-slots .shop-item-detail-button:focus-visible .shop-slot{border-color:var(--accent)}

.reward-item-grid>.shop-item-cell{padding:0;min-height:0;height:64px;box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center}.reward-item-grid>.shop-item-cell .shop-slot{flex-shrink:0;width:62px;height:62px}
div[data-tier-buffs],div[data-buffs]{display:grid;gap:10px;margin-bottom:14px}.shop-role-duration input:disabled{opacity:.45;cursor:not-allowed;background:var(--bg)}

.shop-public .shop-public-header{display:grid;grid-template-columns:1fr auto 1fr;gap:20px}.shop-public-header>.brand{justify-self:start}.shop-public-header>#player-nav{grid-column:2;display:flex;justify-content:center;align-items:center;gap:18px}.shop-public-header>.public-account{grid-column:3;justify-self:end}
@media(max-width:650px){.shop-public .shop-public-header{grid-template-columns:1fr auto}.shop-public-header>#player-nav{grid-column:1/-1;grid-row:2}.shop-public-header>.public-account{grid-column:2;grid-row:1}}

.item-picker-card[aria-pressed="true"]{border-color:var(--accent);box-shadow:inset 0 0 0 1px var(--accent)}
.item-picker-card{position:relative}.item-selection-order{position:absolute;top:4px;left:4px;background:var(--accent);color:var(--bg);border-radius:3px;padding:2px 5px;font-weight:700}
.item-picker-footer{flex-wrap:wrap}

/* Compact shop cards share the panel palette and the existing dialog system. */
.shop-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,240px),1fr));align-items:stretch}
.shop-offer.shop-visual-card{padding:0;position:relative;border:1px solid var(--line);background:var(--panel);overflow:hidden}
.shop-visual-card:hover{border-color:var(--accent)}
.shop-card-open{display:flex;flex-direction:column;width:100%;height:100%;min-width:0;margin:0;padding:0;border:0;background:transparent;color:var(--text);font:inherit;text-align:left;cursor:pointer}
.shop-card-open:focus-visible{outline:2px solid var(--accent);outline-offset:-3px}
.shop-card-cover{position:relative;display:block;width:100%;aspect-ratio:4/3;overflow:hidden;background:linear-gradient(145deg,var(--bg),var(--panel));flex:none}
.shop-cover-photo{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:cover}
.shop-cover-photo[hidden]{display:none}
.shop-cover-placeholder{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:17px;color:var(--accent);background:linear-gradient(135deg,transparent 32%,color-mix(in srgb,var(--accent) 6%,transparent) 32%,color-mix(in srgb,var(--accent) 6%,transparent) 66%,transparent 66%)}
.shop-cover-placeholder>svg{width:74px;height:74px;fill:none;stroke:currentColor;stroke-width:2;opacity:.8}
.shop-cover-items{display:flex;align-items:center;justify-content:center;gap:3px;width:100%;padding:15px}
.shop-cover-items img,.shop-cover-items canvas{width:27%;max-width:84px;height:84px;object-fit:contain;filter:drop-shadow(0 5px 8px #0005)}
.shop-cover-items img:only-child,.shop-cover-items canvas:only-child{width:42%;max-width:110px;height:110px}
.shop-card-ribbon{position:absolute;left:-12px;top:-4px;z-index:1;width:148px;padding:44px 14px 6px 24px;transform:rotate(-16deg);transform-origin:0 0;background:var(--accent);color:var(--bg);font-size:10px;font-weight:800;line-height:1.2;text-align:left;text-transform:uppercase;letter-spacing:.035em;overflow-wrap:anywhere;pointer-events:none}
.shop-card-ribbon:before{content:"";position:absolute;inset:0 -100vw;z-index:-1;background:inherit;box-shadow:0 2px 5px #0003}
.shop-card-ribbon>span{position:relative;z-index:1;display:block}
.shop-photo-count{position:absolute;right:10px;bottom:10px;padding:5px 8px;border:1px solid #ffffff33;background:#081116cc;color:#fff;font-size:10px;font-weight:500}
.shop-card-heading{display:flex;flex-direction:column;gap:7px;min-width:0;padding:16px 17px;flex:1;border-top:1px solid var(--line)}
.shop-card-title{display:block;font-size:17px;font-weight:600;line-height:1.35;overflow-wrap:anywhere}
.shop-card-heading .shop-state,.shop-card-claim-state{font-size:11px;font-weight:400;line-height:1.4;color:var(--muted)}
.shop-card-heading .shop-state.is-published{color:var(--accent)}
.shop-card-footer{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap;padding:14px 17px;border-top:1px solid var(--line);background:var(--bg)}
.shop-card-footer .shop-price{font-size:20px;line-height:1.2;white-space:normal;overflow-wrap:anywhere}
.shop-card-footer .shop-price small{font-size:10px;line-height:1.5}
.shop-card-discover{margin-left:auto;font-size:10px;font-weight:500;color:var(--muted);white-space:nowrap}
.shop-card-discover>span{color:var(--accent);font-size:15px;margin-left:4px}
.shop-card-admin{position:absolute;right:9px;top:9px;z-index:2;display:flex;align-items:center;gap:5px;padding:4px;background:var(--panel);border:1px solid var(--line)}
.shop-card-admin .shop-offer-handle{width:24px;min-width:24px;height:28px;display:grid;place-items:center}
.shop-card-admin .player-menu-button{margin:0}
.shop-visual-card.is-exhausted:after{z-index:3;background:#03080977}
.shop-visual-card .shop-exhausted{z-index:4;top:35%;font-size:clamp(28px,3vw,40px)}
.shop-offer-dialog.kali-dialog{inset:0;margin:auto;width:min(560px,94vw);height:fit-content;max-height:90dvh}
.shop-offer-dialog .directory-header h2{font-size:20px}
.shop-offer-dialog .modal-body{padding:18px 20px}
.shop-detail-content{min-width:0}
.shop-detail-gallery{margin-bottom:20px}
.shop-detail-photo{position:relative;overflow:hidden;border:1px solid var(--line)}
.shop-detail-photo .shop-card-cover{aspect-ratio:16/10}
.shop-detail-photo .shop-cover-photo{object-fit:contain;background:var(--bg)}
.shop-detail-photo.is-exhausted:after{content:"";position:absolute;inset:0;background:#03080977;pointer-events:none}
.shop-detail-photo .shop-exhausted{font-size:clamp(30px,6vw,48px)}
.shop-photo-thumbnails{display:flex;gap:7px;overflow-x:auto;padding:8px 1px 2px}
.shop-photo-thumbnails>button{flex:0 0 64px;margin:0;padding:3px;border-color:var(--line);height:50px;min-height:0}
.shop-photo-thumbnails>button[aria-pressed=true]{border-color:var(--accent);box-shadow:inset 0 0 0 1px var(--accent)}
.shop-photo-thumbnails img{display:block;width:100%;height:100%;object-fit:cover}
.shop-detail-description{font-size:13px;line-height:1.7;overflow-wrap:anywhere;margin:10px 0 20px;white-space:normal}
.shop-detail-acquisitions{font-size:11px;margin:18px 0 0}
.shop-offer-dialog .shop-detail-actions{justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;margin-top:20px;padding-top:16px;border-top:1px solid var(--line)}
.shop-detail-actions .shop-price{font-size:24px;white-space:normal;overflow-wrap:anywhere}
.shop-detail-actions .shop-price small{font-size:11px}
.shop-detail-actions>button{margin:0 0 0 auto}
.shop-detail-message{font-size:12px;overflow-wrap:anywhere}
.shop-offer-dialog .shop-subscription-detail{margin-top:14px}
/* Presentation editor: photo selection and a live card preview. */
.shop-presentation-fieldset .shop-presentation-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(210px,280px);gap:20px;align-items:start}
.shop-presentation-fieldset .shop-presentation-controls{display:grid;gap:14px;min-width:0}
.shop-presentation-fieldset .shop-photo-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.shop-presentation-fieldset .shop-photo-entry{min-width:0;margin:0;padding:6px;border:1px solid var(--line);background:var(--bg)}
.shop-presentation-fieldset .shop-photo-entry img{display:block;width:100%;aspect-ratio:4/3;object-fit:cover}
.shop-presentation-fieldset .shop-photo-caption{display:block;font-size:11px;color:var(--muted);margin:6px 0}
.shop-presentation-fieldset .shop-photo-actions{display:flex;flex-wrap:wrap;gap:4px}
.shop-presentation-fieldset .shop-photo-actions button{padding:4px 6px;font-size:10px;min-height:28px;white-space:normal}
.shop-presentation-fieldset .shop-photo-add-row{display:flex;flex-wrap:wrap;align-items:center;gap:10px}
.shop-presentation-fieldset .shop-ribbon-fields{display:grid;grid-template-columns:minmax(0,1fr);gap:12px}
.shop-presentation-fieldset .shop-ribbon-color input[type=color]{height:42px;padding:4px}
.shop-presentation-fieldset .shop-editor-card-preview{width:100%;max-width:280px;margin-inline:auto;min-width:0}
.shop-presentation-fieldset .shop-presentation-help,.shop-presentation-fieldset .shop-presentation-status{font-size:11px;line-height:1.6;margin:8px 0;color:var(--muted)}
.shop-presentation-fieldset .shop-presentation-status:empty{display:none}
@media(max-width:700px){.shop-presentation-fieldset .shop-presentation-layout{grid-template-columns:minmax(0,1fr)}.shop-presentation-fieldset .shop-editor-card-preview{max-width:300px}}
@media(max-width:400px){.shop-presentation-fieldset .shop-photo-list{grid-template-columns:repeat(2,minmax(0,1fr))}.shop-card-footer{align-items:flex-start}.shop-offer-dialog .modal-body{padding:15px}.shop-detail-actions .shop-price{font-size:21px}}

.vote-rewards{margin:0;padding-left:18px;line-height:1.7}#votes-main>.panel{margin-top:20px}#votes-main table th:first-child{white-space:nowrap}#votes-main td{vertical-align:top}

#votes-main .vote-rewards{text-align:left}#votes-main tbody th{font-size:12px;font-weight:400;letter-spacing:0;text-transform:none;border-bottom:1px solid var(--line)}
/* Top Serveur: progression et classement publics. */
.vote-section-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}.vote-section-heading h2{margin:0}.vote-count{font-size:24px;font-weight:700;color:var(--accent);border:0;background:transparent;padding:0;margin:0;min-height:0}.vote-count:focus-visible{outline:2px solid var(--accent);outline-offset:4px}
.vote-timeline{display:flex;align-items:center;gap:22px;margin:48px 0 16px}.vote-arrow.secondary{border:0;background:transparent;box-shadow:none;flex:0 0 40px;width:40px;height:40px;padding:0;font-size:26px;line-height:1;display:grid;place-items:center}.vote-track{position:relative;flex:1;min-width:0;margin:0 16px}.vote-stops{display:flex;justify-content:space-between;position:relative;z-index:1}.vote-stop.secondary{background:transparent;border:0;padding:0;min-width:44px;display:flex;align-items:center;flex-direction:column;gap:9px;color:var(--muted)}.vote-stop-number{line-height:20px;font-size:16px;font-weight:700}.vote-stop-dot{width:14px;height:14px;border:2px solid var(--line);border-radius:50%;background:var(--panel,#111b1f)}.vote-stop.reached .vote-stop-dot{background:var(--accent);border-color:var(--accent)}.vote-stop.reached{color:var(--accent)}.vote-stop:focus-visible{outline:2px solid var(--accent);outline-offset:5px}.vote-star{height:18px;color:var(--accent);font-size:15px}.vote-track-fill{position:absolute;left:22px;top:34px;width:calc(100% - 44px);height:4px}.vote-personal progress,.vote-ranking progress{appearance:none;border:0;border-radius:4px;overflow:hidden;background:var(--line);color:var(--accent)}.vote-personal progress::-webkit-progress-bar,.vote-ranking progress::-webkit-progress-bar{background:var(--line)}.vote-personal progress::-webkit-progress-value,.vote-ranking progress::-webkit-progress-value{background:var(--accent)}.vote-personal progress::-moz-progress-bar,.vote-ranking progress::-moz-progress-bar{background:var(--accent)}
.vote-key{display:flex;justify-content:center;gap:24px;flex-wrap:wrap;color:var(--muted);font-size:12px}.vote-key>span{display:flex;align-items:center;gap:8px}.vote-key b{color:var(--accent)}.vote-key-dot{width:8px;height:8px;border:1px solid var(--accent);border-radius:50%}.vote-reward-section h3{font-size:15px;margin:0 0 12px}.vote-reward-section+.vote-reward-section{border-top:1px solid var(--line);padding-top:20px;margin-top:20px}.vote-exception h3{color:var(--accent)}.vote-reward-section .vote-rewards{padding-left:20px}.vote-ranking .table-wrap{margin-top:20px;max-height:none}.vote-ranking th[scope=row]{text-align:left}.vote-ranking thead th:nth-child(2){text-align:left}#votes-main .vote-self th[scope=row]{color:var(--accent)}.vote-player-progress{display:flex;align-items:center;gap:12px;justify-content:center}.vote-player-progress progress{width:140px;height:5px}.vote-player-progress span{min-width:90px;font-size:12px;color:var(--muted)}.vote-pagination{display:flex;justify-content:center;align-items:center;gap:16px;margin-top:20px}.vote-empty{text-align:center;padding:20px}
@media(max-width:600px){.vote-timeline{gap:6px}.vote-track{margin:0}.vote-stop.secondary{min-width:30px}.vote-track-fill{left:15px;width:calc(100% - 30px)}.vote-key{gap:12px;font-size:11px}.vote-player-progress{flex-direction:column;gap:6px}.vote-player-progress progress{width:80px}.vote-player-progress span{min-width:0}.vote-ranking th,.vote-ranking td{padding:12px 6px}.vote-total{font-size:12px}.vote-stop-number{font-size:14px}}

#votes-main .vote-ranking th[scope=row]{max-width:180px;overflow-wrap:anywhere;text-align:left}#votes-main .vote-ranking thead th:nth-child(2){text-align:left}

.vote-current-track{position:absolute;left:22px;right:22px;top:29px;pointer-events:none;z-index:2}.vote-current{position:absolute;top:2px;width:10px;height:10px;transform:translateX(-50%);border-radius:50%;background:var(--accent);box-shadow:0 0 0 3px var(--panel)}.vote-acquired-list{list-style:none;padding:0;margin:0}.vote-acquired-list>li{padding:16px 0;border-bottom:1px solid var(--line)}.vote-acquired-list>li:first-child{padding-top:0}.vote-acquired-list>li:last-child{border-bottom:0}.vote-acquired-list time{display:block;color:var(--muted);font-size:12px;margin:6px 0 10px}.vote-acquired-list .vote-rewards{font-size:13px}
@media(max-width:600px){.vote-current-track{left:15px;right:15px}}

.shop-card-cover.has-photo:not(.has-missing-photo) .shop-cover-placeholder{visibility:hidden}
.shop-card-cover.has-photo:not(.has-ready-photo) .shop-cover-photo{visibility:hidden}
.shop-visual-card:has(.shop-card-cover.has-photo:not(.has-ready-photo):not(.has-missing-photo)){visibility:hidden}

#votes-main .vote-ranking th,#votes-main .vote-ranking td,#votes-main .vote-ranking th[scope=row],#votes-main .vote-ranking thead th:nth-child(2){text-align:center;vertical-align:middle}

#votes-main .vote-ranking table{table-layout:fixed}
#votes-main .vote-ranking thead th{width:33.333333%}
#votes-main .vote-ranking th,#votes-main .vote-ranking td{border-top:0;border-bottom:1px solid var(--line)}
#votes-main .vote-player-progress{flex-direction:column;gap:6px}
#votes-main .vote-player-progress progress{max-width:100%}
#votes-main .vote-player-progress span{min-width:0}

.shop-price .shop-original-price{font-size:.65em;font-weight:400;color:var(--muted);margin-inline-start:.55em;text-decoration-color:var(--muted);white-space:nowrap}
