:root {
    --app-color: #E0FFFB;
    --app-background-color: #342D7E;
    --gold: #FFE4AD
}

.App {
    display: grid;
    height: 100%;
    width: 100%;
    font-family: Rounded;
    font-size: 18px;
    user-select: none;
    -webkit-tap-highlight-color: #0000;
    color: var(--app-color);
    background: var(--app-background-color);
    box-sizing: border-box
}

.app-bg {
    grid-area: 1/1
}

.app-content {
    grid-area: 1/1;
    display: grid;
    overflow: hidden;
    height: min(100%, 800px);
    place-self: center;
    z-index: 1
}

.start-page {
    grid-area: 1/1;
    display: grid;
    gap: 50px;
    place-content: center;
    justify-items: center;
    filter: drop-shadow(0 4px 4px black);
    opacity: 0
}

.start-options {
    display: grid;
    grid-auto-flow: column;
    gap: 25px
}

.skill-options {
    grid-area: 2/1;
    display: grid;
    place-self: center;
    gap: 25px;
    margin: 60px 0 50px;
    filter: drop-shadow(0 2px 2px black)
}

.skill-option {
    display: grid;
    grid: auto / auto auto 1fr auto;
    grid-auto-flow: column;
    gap: 25px;
    align-items: center;
    cursor: pointer
}

.skill-label {
    font-family: Exo2;
    font-weight: 700;
    font-size: 20px;
    filter: drop-shadow(0 0 2px black)
}

.splash {
    grid-area: 1/1;
    place-self: center;
    display: grid;
    place-content: center;
    width: 100vw;
    height: 100vh
}

.page {
    display: grid;
    grid-area: 1/1
}

.skill-page {
    grid-area: 1/1;
    place-self: center;
    display: grid;
    grid: auto 1fr auto / auto;
    justify-items: center;
    opacity: 0
}

.game-page {
    grid-area: 1/1;
    place-self: center;
    display: grid;
    grid: 50px 90px 1fr 70px 60px / auto;
    justify-items: center;
    opacity: 0
}

.stats-bar {
    grid-area: 1/1;
    place-self: center;
    display: grid;
    width: min(480px, 90vw);
    border-radius: 12px;
    grid: auto / 10px 55px 1fr auto 1fr 55px 10px;
    align-items: center;
    font-size: 16px;
    padding: 4px 0 3px;
    background-image: url(Purple\ Gradient-42ce425e.webp);
    background-size: 100% 100%;
    box-shadow: 0 5px 10px #000
}

.stats-label {
    color: #000000a0
}

.stats-value {
    text-shadow: 1px 1px 1px black
}

.stats-pwl {
    grid-area: 1/4;
    justify-self: center;
    display: grid;
    grid-auto-flow: column
}

.player-panel {
    grid-area: 2/1;
    place-self: center;
    width: min(480px, 90vw);
    display: grid;
    grid-auto-flow: column;
    grid: auto / 10px auto 1fr auto 1fr auto 10px;
    align-items: center;
    z-index: 1
}

.player {
    grid-area: 2/1;
    display: grid;
    cursor: pointer
}

.player-score {
    place-self: center;
    font-size: 24px;
    text-shadow: 0px 2px 2px black
}

.board {
    grid-area: 3/1;
    place-self: center;
    display: grid
}

.cell {
    display: grid;
    place-items: center;
    cursor: pointer;
    z-index: 1
}

.cell-border {
    grid-area: 1/1;
    border: 1px solid #FFFFFF20;
    box-sizing: border-box
}

.cell-clip-1,
.cell-clip-2 {
    grid-area: 1/1;
    place-content: center;
    place-self: center;
    background: #1750A4;
    background-image: radial-gradient(#ffffff60, transparent 60%);
    display: grid;
    grid: 1fr 1fr / 1fr 1fr
}

.cell-clip-2 {
    background: #A36F00;
    background-image: radial-gradient(#ffffff60, transparent 60%)
}

.dot,
.dot-selected,
.dot-glow,
.dot-disabled,
.dot-disabled-opp {
    grid-area: 1/1;
    pointer-events: none;
    z-index: 1;
    display: grid;
    place-items: center
}

.dot-selected {
    filter: sepia(1) brightness(2)
}

.dot-selected-ring {
    grid-area: 1/1;
    border: 1px solid purple;
    filter: hue-rotate(180deg) saturate(5);
    border-radius: 50%;
    box-sizing: border-box
}

.dot-glow {
    filter: sepia(1) brightness(2)
}

.dot-disabled {
    filter: hue-rotate(90deg) grayscale(1)
}

.dot-disabled-opp {
    filter: hue-rotate(90deg) grayscale(.75)
}

.dot-orb {
    grid-area: 1/1;
    border-radius: 50%;
    filter: hue-rotate(180deg) saturate(3) drop-shadow(1px 1px 3px #000000C0)
}

.link {
    pointer-events: none
}

.size-selector {
    grid-area: 4/1;
    place-self: center;
    display: grid;
    grid-auto-flow: column;
    gap: 15px;
    z-index: 1;
    filter: drop-shadow(0px 3px 5px black)
}

.size-button {
    display: grid;
    place-content: center;
    place-items: center;
    cursor: pointer
}

.size-label {
    grid-area: 1/1;
    z-index: 1;
    font-size: 22px;
    text-shadow: 1px 1px 2px black
}

.toolbar {
    grid-area: 5/1;
    display: grid;
    place-self: center;
    grid-auto-flow: column;
    gap: 5px;
    align-items: center;
    filter: drop-shadow(0px 1px 3px black)
}

.tool-button {
    display: grid;
    cursor: pointer
}

.help {
    padding: 2em 0;
    overflow: hidden;
    grid-area: 1/1;
    display: grid;
    z-index: 100;
    justify-items: center
}

.help-content {
    width: 80vw;
    max-width: 400px;
    display: grid;
    gap: 15px;
    place-self: center;
    overflow: hidden;
    font-family: Exo2;
    font-size: 20px
}

.emph {
    color: #98fb98
}

.prompt-panel {
    grid-area: 3/1;
    z-index: 3;
    place-self: center;
    pointer-events: none;
    display: grid;
    grid-auto-flow: column;
    gap: 20px;
    opacity: 0
}

.prompt-button,
.prompt-button-mobile {
    height: 48px;
    border-radius: 24px;
    padding: 0 20px 4px;
    display: grid;
    place-content: center;
    background: linear-gradient(180deg, #20003080, #200030D0 65%);
    box-sizing: border-box;
    text-shadow: 2px 2px 2px black;
    box-shadow: 0 4px 4px #000000c0;
    border: 3px solid var(--app-color);
    font-family: Exo2;
    font-size: 20px
}

.size-button-selected {
    background: linear-gradient(180deg, #56bf8b, #468235 50%)
}

.size-button-disabled {
    background: transparent;
    pointer-events: none
}

.pie-panel {
    grid-area: 1/4;
    display: grid;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #0e2223;
    box-shadow: 0 5px 10px #000;
    transform: scale(.9)
}

.pie {
    grid-area: 1/1;
    height: 68px;
    width: 68px;
    background-image: radial-gradient(#ffffff60, transparent 60%)
}

.max-area {
    grid-area: 1/1;
    color: var(--gold);
    display: grid;
    justify-items: center;
    text-shadow: 0px 2px 2px black;
    font-size: 24px
}

.max {
    font-family: Roboto Condensed;
    font-size: 14px;
    margin-top: -4px;
    text-shadow: 0px 1px 2px black
}

.pie-ring {
    grid-area: 1/1;
    place-self: center;
    width: 70px
}

.dummy {
    opacity: .01;
    pointer-events: none;
    position: absolute
}

.header {
    display: grid;
    grid-area: 1/1;
    place-self: start center;
    place-items: center
}

.avatar {
    grid-area: 1/1;
    display: grid;
    filter: drop-shadow(0 5px 10px black)
}

.avatar-border {
    grid-area: 1/1;
    border: 3px solid white;
    border-radius: 50%;
    box-sizing: border-box;
    filter: drop-shadow(2px 2px 2px black);
    z-index: 1
}

.you {
    place-self: end center;
    transform: translate(120%, 15%);
    pointer-events: none;
    display: grid;
    place-content: center;
    width: 24px;
    height: 24px;
    font-family: Roboto Condensed;
    font-size: 10px;
    filter: hue-rotate(-60deg) drop-shadow(0 1px 3px #000000)
}

.skill {
    grid-area: 1/1;
    place-self: end center;
    transform: translate(-125%);
    pointer-events: none;
    filter: drop-shadow(0 1px 3px #000000)
}

.skill-1,
.skill-2,
.skill-3,
.skill-4 {
    width: 20px;
    height: 20px
}

.skill-1 {
    filter: hue-rotate(180deg)
}

.skill-2 {
    filter: hue-rotate(155deg)
}

.skill-3 {
    filter: hue-rotate(120deg)
}

.skill-4 {
    filter: hue-rotate(70deg)
}

.glasses {
    grid-area: 1/1;
    z-index: 3;
    opacity: 0;
    transform: translateY(-80px)
}

.switch-tip {
    grid-area: 3/1;
    z-index: 1;
    opacity: 0;
    display: grid;
    place-self: start end;
    filter: drop-shadow(0px 3px 5px black);
    transform: translate(-50px, -25px) scale(.9)
}

.switch-tip-tap-area {
    grid-area: 1/1;
    cursor: pointer;
    align-self: end;
    height: 58px;
    z-index: 1
}

.title {
    place-self: center;
    width: min(400px, 85vw)
}

.robot {
    grid-area: 1/1;
    place-self: center;
    width: min(150px, 35vw);
    filter: drop-shadow(0 3px 5px black)
}

.plus {
    font-family: Exo2;
    font-weight: 700
}

.gain {
    color: #fff;
    border-radius: 50%;
    display: grid;
    place-self: center;
    place-content: center
}

.linked {
    grid-area: 1/1;
    font-family: Exo2;
    display: grid;
    place-content: center;
    pointer-events: none;
    opacity: 0
}

.avatar-ring {
    z-index: 2;
    place-self: center
}

.orb {
    grid-area: 1/1;
    border-radius: 50%;
    background-image: url(Purple\ Gradient-42ce425e.webp);
    background-size: 100% 100%
}

body {
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background: #000910
}

.body,
.wrapper {
    position: absolute;
    top: 0px;
    width: 100%;
    height: 100%;
    margin: 0;
    overflow-y: hidden
}

.body {
    z-index: 1
}

.wrapper {
    z-index: 2
}

@font-face {
    font-family: Exo2;
    src: url(Exo2-b6b04cf5.ttf)
}

@font-face {
    font-family: Rounded;
    src: url(Rounded-496dddda.otf)
}

@font-face {
    font-family: Roboto Condensed;
    src: url(RobotoCondensed-Medium-271c76f9.ttf)
}

.root-scroll {
    display: grid;
    overflow: auto;
    -webkit-overflow-scrolling: touch
}

.root-scroll::-webkit-scrollbar {
    width: 12px;
    height: 12px
}

.root-scroll::-webkit-scrollbar-thumb:hover {
    background: #fff5
}

.root-scroll::-webkit-scrollbar-thumb {
    background: #fff4;
    border-radius: 10px
}

.root-scroll::-webkit-scrollbar-track:hover {
    background: #ffffff05
}

.root-scroll-mobile::-webkit-scrollbar {
    width: 2px;
    height: 2px
}

.root-scroll-mobile::-webkit-scrollbar-thumb {
    border-radius: 1px
}