.hql-country-sort{grid-column:1/-1;width:100%;min-width:0;box-sizing:border-box;padding:15px;border:1px solid #8a68b8;border-radius:12px;background:linear-gradient(140deg,#251342,#27204b);color:#fff;font:14px/1.4 Arial,sans-serif}.hql-country-sort[hidden],.hql-country-sort [hidden]{display:none!important}.hql-sort-heading{display:flex;gap:15px;justify-content:space-between;align-items:center}.hql-sort-heading h3{margin:0;color:#fff}.hql-sort-heading>strong{background:#ffe363;color:#24133b;padding:7px 12px;border-radius:8px;white-space:nowrap}.hql-country-sort p{margin:8px 0}.hql-sort-tiles,.hql-sort-comparison ol{list-style:none;margin:0;padding:0}.hql-sort-tiles{max-height:620px;overflow:auto}.hql-sort-tile{display:flex;align-items:center;gap:8px;min-height:38px;box-sizing:border-box;padding:5px 8px;margin:4px 0;border:1px solid #d7c4ec;border-radius:7px;color:#26123d;background:#f8f5ff;animation:hql-sort-in .12s ease-out}.hql-sort-tile img{object-fit:contain;flex:0 0 30px;box-shadow:0 0 1px #444}.hql-sort-country-name{font-weight:bold;flex:1;min-width:0;overflow-wrap:anywhere}.hql-sort-rank{font-size:13px;min-width:18px;text-align:center}.hql-sort-grip,.hql-sort-move{flex:0 0 auto!important;padding:4px 8px!important;border:1px solid #c8b2df!important;border-radius:5px!important;background:#e9def7!important;color:#371c55!important;line-height:20px;font-size:16px!important;min-height:30px;cursor:pointer}.hql-sort-grip{touch-action:none;cursor:grab}.hql-sort-submit,.hql-sort-tabs button{border:1px solid #ffe681;background:#ffc85b;color:#29153d;font-weight:bold;padding:9px 15px;border-radius:7px;cursor:pointer}.hql-sort-submit{display:block;margin:12px auto}.hql-sort-tabs{display:flex;gap:5px;flex-wrap:wrap;margin:10px 0}.hql-sort-tabs button[aria-pressed=true]{background:#83efdc}.hql-sort-comparison{display:grid;grid-template-columns:1fr 1fr;gap:12px}.hql-sort-comparison section{min-width:0}.hql-sort-comparison h4{margin:8px 0}.hql-sort-comparison .hql-sort-tile{gap:5px;font-size:12px;flex-wrap:wrap}.hql-sort-comparison .hql-sort-country-name{flex:1 1 60px}.hql-sort-value{white-space:normal;color:#3d2856;font-size:11px}.hql-sort-deduction{border-radius:4px;padding:1px 4px;background:#fff8;color:#48223c}.hql-sort-off{background:#ffdfa4}.hql-sort-exact{background:#d0f4d2}.hql-sort-round-score{display:block;border-radius:8px;background:#80ebd5;color:#1c2944;padding:8px}.hql-sort-leaders{margin-top:10px;border-top:1px solid #8a68b8}.hql-sort-flag-fallback{font-size:10px;font-weight:bold}.hql-sort-mode [data-guess-form],.hql-sort-mode .guess-area{display:none!important}.hql-country-sort button:disabled{opacity:.55;cursor:default}@keyframes hql-sort-in{from{opacity:.65;transform:translateY(2px)}to{opacity:1;transform:none}}@media(prefers-reduced-motion:reduce){.hql-sort-tile{animation:none}}@media(max-width:600px){.hql-country-sort{padding:8px;font-size:12px}.hql-sort-heading h3{font-size:15px}.hql-sort-comparison{gap:6px}.hql-sort-comparison .hql-sort-tile{padding:4px;gap:3px;font-size:11px}.hql-sort-comparison .hql-sort-rank{min-width:12px;font-size:10px}.hql-sort-comparison .hql-sort-tile img{width:22px;height:15px;flex-basis:22px}.hql-sort-comparison .hql-sort-value{font-size:10px;width:100%;text-align:right}.hql-sort-comparison .hql-sort-country-name{flex-basis:40px}.hql-sort-tile{min-height:37px}.hql-sort-move{padding:3px 7px!important}}

.room-sort-mode [data-panel="guess"]{display:none!important}

/* 2.14.2: compact whole-tile pointer/touch/native dragging. */
.hql-sort-tiles{width:300px;max-width:100%;box-sizing:border-box}.hql-sort-tiles .hql-sort-tile{width:100%;cursor:grab;touch-action:none;user-select:none;-webkit-user-select:none}.hql-sort-tiles .hql-sort-tile.hql-sort-dragging{opacity:.7;outline:2px solid #64eddb;cursor:grabbing}.hql-sort-comparison{grid-template-columns:repeat(2,minmax(0,300px));justify-content:start}.hql-sort-tiles .hql-sort-country-name{font-size:13px}.hql-sort-tiles .hql-sort-grip,.hql-sort-tiles .hql-sort-move{padding:3px 5px!important}.hql-sort-tiles img{width:27px;flex-basis:27px}.hql-sort-submit{margin:12px 0;width:300px;max-width:100%}@media(max-width:600px){.hql-sort-comparison{grid-template-columns:repeat(2,minmax(0,1fr));max-width:612px}}

/* 2.14.2 review accuracy colors and sliding reorder motion. */
.hql-sort-tiles{position:relative}.hql-sort-tiles .hql-sort-tile{animation:none;will-change:transform}.hql-sort-comparison .hql-sort-exact{background:#c4f0c8}.hql-sort-comparison .hql-sort-off{color:#321324}.hql-sort-deduction{white-space:nowrap;font-size:11px}.hql-sort-review-legend{display:block;color:#e3d7f5;margin:8px 0}.hql-sort-round-score{line-height:1.6}

/* Center half-width sorting bars; compare two neutral/graded columns. */
.hql-sort-tiles,.hql-sort-submit{width:50%;min-width:min(300px,100%);max-width:100%;margin-left:auto;margin-right:auto}.hql-sort-comparison{width:100%;max-width:none;grid-template-columns:repeat(2,minmax(0,1fr));justify-content:center}.hql-sort-comparison .hql-sort-tile{width:100%}@media(max-width:600px){.hql-sort-tiles,.hql-sort-submit{width:100%;min-width:0}}

/* Direction stays attached to the first/last sorting position only. */
.hql-sort-tiles .hql-sort-tile{flex-wrap:wrap}.hql-sort-endpoint{display:block;flex:0 0 100%;box-sizing:border-box;text-align:center;font-size:12px;font-weight:800;color:#42245d;pointer-events:none}.hql-sort-endpoint-top{order:-1;border-bottom:1px solid #d7c4ec;padding:0 0 3px;margin-bottom:2px}.hql-sort-endpoint-bottom{order:1;border-top:1px solid #d7c4ec;padding:3px 0 0;margin-top:2px}

/* Compact review scores and crowd placements, aligned with your country rows. */
.hql-sort-comparison{grid-template-columns:minmax(0,1fr) 78px minmax(0,1fr);align-items:start}.hql-sort-leaders{display:flex;align-items:center;flex-wrap:wrap;gap:6px;margin:8px 0;padding:8px;border:1px solid #8a68b8;border-radius:8px}.hql-sort-player-score{display:inline-block;padding:3px 7px;border-radius:4px;color:#172134;font-size:12px;font-weight:bold}.hql-sort-average h4{font-size:11px;text-align:center}.hql-sort-average-row{display:flex;align-items:center;justify-content:center;min-height:38px;box-sizing:border-box;margin:4px 0;padding:5px 2px;background:#ffffff12;border:1px solid #b599d1;border-radius:7px;font-size:12px;font-weight:bold}.hql-sort-average-row{color:#fff}@media(max-width:600px){.hql-sort-comparison{grid-template-columns:minmax(0,1fr) 48px minmax(0,1fr)}.hql-sort-average h4{font-size:10px}.hql-sort-average-row{font-size:11px}}

.hql-sort-summary{width:100%;border-collapse:collapse;color:inherit}.hql-sort-summary th,.hql-sort-summary td{padding:8px;text-align:left;border-bottom:1px solid #8a68b8}.hql-sort-summary tbody tr:last-child{background:#ffffff12;font-weight:bold}

/* Shared review rows keep headings and all ten placements aligned. */
.hql-sort-comparison{grid-template-rows:24px repeat(10,auto);row-gap:4px}.hql-sort-comparison>section{display:grid;grid-template-rows:subgrid;grid-row:1 / span 11}.hql-sort-comparison>section:nth-child(1){grid-column:1}.hql-sort-comparison>section:nth-child(2){grid-column:2}.hql-sort-comparison>section:nth-child(3){grid-column:3}.hql-sort-comparison>section>ol{display:contents}.hql-sort-comparison h4{font-size:14px!important;line-height:20px;margin:0!important;align-self:center}.hql-sort-comparison .hql-sort-average h4{font-size:11px!important}.hql-sort-comparison .hql-sort-tile,.hql-sort-comparison .hql-sort-average-row{margin:0;min-height:38px}.hql-sort-heading>strong{margin-left:auto;font-size:20px;line-height:1.2;font-variant-numeric:tabular-nums}.hql-sort-heading{align-items:center}

/* Sorting clock occupies the open right half of the answer area. */
.hql-sort-active-area{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px;align-items:stretch}.hql-sort-active-area .hql-sort-tiles{width:100%;min-width:0;margin:0}.hql-sort-timer-area{display:flex;align-items:center;justify-content:center;min-width:0}.hql-sort-timer-area>strong{padding:14px 22px;border-radius:14px;background:#ffe363;color:#24133b;font-size:42px;line-height:1.2;font-weight:800;font-variant-numeric:tabular-nums;box-shadow:0 0 24px #ffe36322}@media(max-width:600px){.hql-sort-active-area{grid-template-columns:minmax(0,1fr) 76px;gap:8px}.hql-sort-timer-area>strong{font-size:23px;padding:9px 6px}}

/* Center the list itself, reserving the right-hand blank area for its timer. */
.hql-sort-active-area{position:relative;display:block}.hql-sort-active-area .hql-sort-tiles{width:50%;min-width:0;max-width:none;margin-left:auto;margin-right:auto}.hql-sort-active-area .hql-sort-timer-area{position:absolute;left:75%;right:0;top:0;bottom:0;display:flex;align-items:center;justify-content:center}.hql-sort-timer-area>strong{max-width:100%;box-sizing:border-box}@media(max-width:600px){.hql-sort-active-area .hql-sort-tiles{width:72%}.hql-sort-active-area .hql-sort-timer-area{left:86%}.hql-sort-timer-area>strong{font-size:clamp(14px,4vw,23px);padding:8px 2px}}

.hql-sort-summary-scroll{max-height:360px;overflow:auto;position:relative;border:1px solid #8a68b8;border-radius:8px}.hql-sort-summary-scroll thead{position:sticky;top:0;background:#302048;z-index:1}.hql-sort-summary-scroll .hql-sort-summary-you{background:#ffe46b!important;color:#24133b;outline:2px solid #ffd04d;outline-offset:-2px}.hql-sort-summary-scroll table{min-width:580px}.hql-sort-summary tfoot{background:#ffffff12}
