.draft{touch-action:none;-webkit-user-select:none;user-select:none;flex-direction:column;height:100dvh;display:flex;overflow:hidden}.draft-side{flex-direction:column;gap:20px;min-height:0;display:flex}.draft-body{flex:auto;min-height:0;display:grid}.draft-status{align-items:center;gap:14px}.draft-side section{min-height:0}.draft-pool-section{flex-direction:column;flex:auto;max-height:60%;display:flex}.draft-offers{grid-template-columns:repeat(3,1fr);display:grid}.draft-offers .piece-card{height:100%;overflow:visible}.draft-dealing{color:var(--hazard);border:1px dashed var(--line-2);border-radius:4px;grid-column:1/-1;justify-content:center;align-items:center;display:flex}.draft-dealing svg{width:48px;height:48px}.hourglass{transform-origin:50%}.draft-dealing .hourglass,.key-button.active .dice{animation:1s ease-in-out infinite hourglass-turn}@keyframes hourglass-turn{0%,40%{transform:rotate(0)}to{transform:rotate(180deg)}}.piece-card{background:repeating-linear-gradient(135deg, #ffffff04 0 6px, transparent 6px 12px), var(--panel);border:1px solid var(--line);cursor:grab;touch-action:none;border-radius:4px;justify-content:center;align-items:center;width:100%;height:128px;padding:0;transition:border-color .12s,transform .12s,background-color .12s;animation:.22s ease-out piece-in;display:flex}.piece-card:hover:not(:disabled){border-color:var(--rust);transform:translateY(-1px)}.piece-card.active{border-color:var(--hazard);background-color:#2a2618;box-shadow:inset 0 0 0 1px #e0b23a59}.piece-card.small{width:78px;height:78px}.piece-card canvas{pointer-events:none;display:block}@keyframes piece-in{0%{opacity:0;transform:scale(.92)}to{opacity:1;transform:none}}.draft-hand{flex-direction:column;gap:8px;display:flex}.piece-card.held,.piece-card.held:hover:not(:disabled){border:1px dashed var(--line-2);box-shadow:none;background:0 0;animation:none;transform:none}.draft-tools{justify-content:center;gap:8px;display:flex}.draft-tools .key-button{width:64px}.draft-rotate-pair{display:flex}.draft-rotate-pair .key-button:first-child{border-top-right-radius:0;border-bottom-right-radius:0}.draft-rotate-pair .key-button:last-child{border-left:0;border-top-left-radius:0;border-bottom-left-radius:0}.draft-tools-gap{width:18px}.draft-pool{background:var(--bg-2);border:1px solid var(--line);border-radius:4px;flex-wrap:wrap;flex:auto;align-content:flex-start;gap:8px;min-height:98px;padding:10px;display:flex;overflow-y:auto}.draft-rivals{flex-direction:column;align-items:center;gap:16px;display:flex}.rival{flex-direction:column;align-items:center;gap:6px;margin:0;display:flex}.rival canvas{display:block}.rival figcaption{font-family:var(--mono);text-overflow:ellipsis;white-space:nowrap;max-width:100%;font-size:11px;overflow:hidden}.draft-main{flex-direction:column;align-items:center;min-width:0;min-height:0;display:flex}.draft-timer{font-family:var(--mono);letter-spacing:.06em;font-variant-numeric:tabular-nums;color:var(--text);margin-bottom:18px;font-size:44px;font-weight:700;line-height:1}.draft-timer.urgent{color:var(--hazard);animation:1s steps(2,start) infinite urgent}@keyframes urgent{50%{color:var(--danger)}}.draft-board{flex:auto;justify-content:center;align-items:center;width:100%;min-height:0;display:flex}.draft-board canvas{filter:drop-shadow(0 10px 30px #0000008c);display:block}.draft-board canvas.holding{cursor:none}.draft-floating{pointer-events:none;z-index:50;opacity:.92;filter:drop-shadow(0 8px 14px #0009);position:fixed;top:0;left:0}.draft-floating canvas{display:block}.draft-done{padding:10px 22px;font-size:16px}.draft-done.on{color:#160c06;background:var(--ok);border-color:var(--ok)}.draft-status .draft-timer{margin-bottom:0}.draft-status-bar{justify-content:space-between;align-items:center;gap:12px;display:flex}.draft.compact .draft-timer{font-size:26px}.draft.compact .draft-done{padding:6px 16px;font-size:14px}.draft.compact .draft-tools .key-button{width:56px}.draft.compact .piece-card,.draft.compact .draft-board canvas{-webkit-tap-highlight-color:transparent}.draft.compact .draft-hand{display:contents}.draft.compact .draft-offers{order:1}.draft.compact .draft-body{order:2}.draft.compact .draft-tools{order:3}.draft-status-bar{padding-right:96px}.draft-status-bar .draft-timer{margin-right:auto}.draft.compact .draft-board{align-items:flex-start}
