/* Le grand rangement: everyone's cluttered desktop; only the software window wears the MakeProps colours. */
.sort { position: absolute; inset: 0; }
.sort-wall { position: absolute; left: calc(-1 * var(--bleed)); right: calc(-1 * var(--bleed)); top: 76px; bottom: calc(-1 * var(--bleed));
  background-color: #4C9130;
  background-image:
    radial-gradient(1770px 595px at 4295px 714px, #5FA33A 0 46%, transparent 46.4%),
    radial-gradient(1534px 595px at 5038px 744px, #4C9130 0 48%, transparent 48.4%),
    radial-gradient(496px 119px at 4260px 149px, rgba(255, 255, 255, .6), transparent 70%),
    radial-gradient(425px 104px at 4826px 208px, rgba(255, 255, 255, .5), transparent 70%),
    linear-gradient(#3A82D4 0%, #74B0EA 52%, #BBDCF6 74%);
  background-size: auto, auto, auto, auto, 100% 744px;
  background-repeat: no-repeat, no-repeat, no-repeat, no-repeat, repeat-x; }

.sort-hint, .sort-load { position: absolute; top: 90px; z-index: 5; display: flex; align-items: center; gap: 10px; padding: 9px 16px; border-radius: 40px; background: #FFFFFF; box-shadow: 0 6px 16px rgba(12, 51, 81, .18); font-size: 14.5px; font-weight: 500; }
.sort-hint { left: 28px; }
.sort-hint .icon { width: 20px; height: 20px; color: var(--blue); }
.sort-load { right: 28px; font-weight: 600; }
.sort-load b { min-width: 52px; text-align: right; font-variant-numeric: tabular-nums; }
.sort-track { width: 150px; height: 9px; border-radius: 9px; background: var(--mist); overflow: hidden; }
.sort-track i { display: block; height: 100%; width: 0; background: var(--grad); transition: width .25s ease; }
.sort-track i.sort-track-warn { background: linear-gradient(90deg, #F2B705, #D23F3F); }

.sort-files, .sort-zones { position: absolute; inset: 0; pointer-events: none; }
.desk-item { position: absolute; width: 124px; height: 124px; pointer-events: auto; touch-action: none; }
.desk-file { display: flex; flex-direction: column; align-items: center; gap: 7px; padding: 8px 4px 6px; border-radius: 6px; }
.file-page { position: relative; width: 52px; height: 64px; flex: none; filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .35)); }
.file-page::before { content: ''; position: absolute; inset: 0; clip-path: polygon(0 0, 68% 0, 100% 26%, 100% 100%, 0 100%); background: repeating-linear-gradient(#FFFFFF 0 8px, #E3E9F4 8px 9.5px) 8px 24px / 62% 30px no-repeat, #FFFFFF; }
.file-page::after { content: ''; position: absolute; right: 0; top: 0; width: 17px; height: 17px; background: #D3DBEB; clip-path: polygon(0 0, 100% 100%, 0 100%); }
.file-tag { position: absolute; z-index: 1; left: -8px; bottom: 9px; padding: 2px 6px; border-radius: 2px; background: var(--tag); color: #FFFFFF; font-size: 10.5px; font-weight: 800; letter-spacing: .03em; }
.desk-label { width: 116px; font-size: 13.5px; line-height: 1.22; font-weight: 500; color: #FFFFFF; text-align: center; overflow-wrap: anywhere; text-shadow: 0 1px 3px rgba(0, 0, 0, .8), 0 0 1px rgba(0, 0, 0, .9); }
.desk-note { width: 124px; height: 116px; padding: 24px 12px 10px; background: linear-gradient(rgba(0, 0, 0, .05) 0 14px, transparent 14px), #FFE58A; color: #3A3426; font: 500 22px/1.02 var(--font-hand); box-shadow: 0 10px 18px rgba(12, 40, 70, .28); transform: rotate(var(--turn, 0deg)); }
.desk-note-blue { background: linear-gradient(rgba(0, 0, 0, .05) 0 14px, transparent 14px), #D3EAFF; }
.desk-dragging { z-index: 20; transition: none; filter: drop-shadow(0 18px 18px rgba(0, 0, 0, .3)); }
.desk-file.desk-dragging, .desk-file.desk-selected { background: rgba(75, 133, 230, .42); box-shadow: inset 0 0 0 1px rgba(170, 205, 255, .95); }
.desk-note.desk-selected { outline: 3px solid #FFFFFF; outline-offset: 3px; }
.desk-returning { transition: left .22s ease, top .22s ease; }
.desk-leaving { z-index: 20; pointer-events: none; opacity: 0; transition: transform .34s ease-in, opacity .34s ease-in; }

.sort-window { position: absolute; left: 60px; top: 552px; width: 1060px; height: 226px; border-radius: 10px; background: #FFFFFF; box-shadow: 0 26px 60px rgba(8, 30, 60, .5), 0 0 0 1px rgba(12, 51, 81, .1); }
.win-bar { display: flex; align-items: center; gap: 12px; height: 46px; padding: 0 16px; border-bottom: 1px solid var(--line); }
.win-dots { display: flex; gap: 6px; }
.win-dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.win-logo { width: 118px; height: 23px; color: var(--logo-ink); }
.win-sep { width: 1px; height: 20px; background: var(--line); }
.win-bar b { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; }
.win-note { margin-left: auto; font-size: 12.5px; color: var(--ink-faint); }

.sort-zone { position: absolute; width: 245px; height: 152px; display: flex; flex-direction: column; justify-content: space-between; padding: 18px; border: 1.5px solid var(--line); border-radius: 6px; background: #FFFFFF; pointer-events: auto; }
.zone-top { display: flex; align-items: center; gap: 16px; }
.zone-top b { font-size: 20px; }
.zone-badge { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 5px; background: linear-gradient(135deg, #30A7FF, #164194); color: #FFFFFF; transform: rotate(45deg); }
.zone-badge .icon { width: 20px; height: 20px; transform: rotate(-45deg); }
.zone-count { font-size: 14px; color: var(--ink-soft); }
.zone-wrong { animation: shake .4s ease, wrong-border .9s ease; }

.sort-trash { position: absolute; z-index: 2; width: 140px; height: 136px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; pointer-events: auto; animation: rise .4s ease-out; }
.trash-can { width: 64px; height: 64px; display: grid; place-items: center; border-radius: 14px; background: rgba(255, 255, 255, .88); color: #4A5568; box-shadow: 0 4px 12px rgba(0, 0, 0, .25); }
.trash-can .icon { width: 36px; height: 36px; }
.sort-trash .zone-count { color: #FFFFFF; font-size: 12px; text-shadow: 0 1px 3px rgba(0, 0, 0, .8); }
.sort-trash.zone-wrong .trash-can { animation: wrong-ring .9s ease; }
@keyframes wrong-border { 0%, 60% { border-color: var(--danger); } 100% { border-color: var(--line); } }
@keyframes wrong-ring { 0%, 60% { box-shadow: 0 0 0 3px var(--danger); } 100% { box-shadow: 0 4px 12px rgba(0, 0, 0, .25); } }

.sort-taskbar { position: absolute; left: calc(-1 * var(--bleed)); right: calc(-1 * var(--bleed)); top: 782px; bottom: calc(-1 * var(--bleed)); display: flex; align-items: flex-start; gap: 12px; padding: 7px calc(16px + var(--bleed)) 0; background: rgba(18, 28, 46, .86); color: #FFFFFF; }
.taskbar-start { width: 22px; height: 22px; margin-right: 6px; border-radius: 5px; background: linear-gradient(135deg, #8DBBFF, #3C6FD1); }
.taskbar-app { width: 28px; height: 24px; border-radius: 4px; background: rgba(255, 255, 255, .14); }
.taskbar-on { background: rgba(255, 255, 255, .3); box-shadow: inset 0 -2px 0 #8DBBFF; }
.taskbar-clock { margin-top: -3px; margin-left: auto; display: flex; flex-direction: column; align-items: flex-end; font-size: 12px; line-height: 1.15; font-variant-numeric: tabular-nums; }
