/* Round 6: the OS is dark glass now. A 53 percent white slab was the
   single biggest bright surface left in the shell, and the :root.dark
   escape hatch below it never fires because desktop.js strips that class,
   so the board is themed off the glass tokens directly.

   The board keeps a plate rather than going transparent: a drawing surface
   has to be a surface, or a stroke has nothing to sit on. It is the depth
   2 pane, which means the wallpaper still reads through it. */
#win-whiteboard>canvas {
    background-color: var(--g2-bg, rgba(22, 18, 32, 0.62));
}

.window.whiteboard.max>#win-whiteboard>.toolbar {
    bottom: 60px;
}

.window.whiteboard.max>#win-whiteboard>.toolbar>.tools {
    border-radius: 10px !important;
}

#win-whiteboard>.toolbar {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    bottom: 0px;
    width: 100%;
    transition: bottom 200ms;
}

#win-whiteboard>.toolbar>.tools {
    display: flex;
    border-radius: 10px 10px 0px 0px;
    justify-content: space-evenly;
    box-shadow: 0px 0px 10px 3px #00000066;
    padding: 0px 15px 0px 15px;
    overflow: hidden;
    transition: border-radius 200ms;
    background-color: var(--g3-bg, rgba(28, 22, 42, 0.78));
    border: 1px solid var(--os-line-2, rgba(255, 255, 255, 0.18));
    border-bottom: 0;
}

#win-whiteboard>.toolbar>.tools>* {
    margin: 3px 3px 0px 3px;
    transition: background-color 70ms, top 100ms;
    border-radius: 10px 10px 0px 0px;
    position: relative;
    top: 13.5px;
}

/* the active and hover wells were black washes, which vanish on a dark
   pane; on dark the lift has to come from light, not from more dark */
#win-whiteboard>.toolbar>.tools>.active {
    top: 6px;
    background-color: rgba(255, 255, 255, 0.14);
}

#win-whiteboard>.toolbar>.tools>.eraser,
#win-whiteboard>.toolbar>.tools>.delete {
    width: 76px;
    display: flex;
    justify-content: center;
    padding-top: 5px;
}

#win-whiteboard>.toolbar>.tools>*:not(.active):hover {
    background-color: rgba(255, 255, 255, 0.08);
}