body {
    margin: 0;
    padding: 0;
    overflow: hidden;
    font-family: sans-serif;
    background-color: #333;
    color: #fff;
    font-size: 12px;
}

h1 {
    font-size: 20px;
    text-align: center;
    margin: 0px 0 6px 0;
    padding: 0;
}

label {
    display: block;
    font-weight: bold;
    margin: 6px 0 2px 0;
}

input[type="file"] {
    display: none;
}

a {
    color: #fff;
}

.container {
    background-color: #111;
    box-shadow: 4px 4px 32px #000;
    border-radius: 8px;
    padding: 12px 16px;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300px;
    height: 320px;
    transform: translate(-50%, -50%);
}

.targetHtml {
    display: block;
    position: relative;
    z-index: 1;
    background-color: #222;
    color: #aaa;
    font-size: 14px;
    font-family: monospace;
    white-space: pre;
    border: none;
    width: 295px;
    height: 160px;
    margin: 4px 0 4px 0;
    z-index: 1;
}

.targetUrl {
    color: #fff;
    background-color: inherit;
    border: none;
    padding: 4px 0 4px 0;
    margin: 4px 0 4px 0;
    width: 100%;
}

.targetJs {
    display: block;
    position: relative;
    z-index: 1;
    background-color: #222;
    color: #aaa;
    font-size: 10px;
    font-family: monospace;
    white-space: pre;
    border: none;
    width: 295px;
    height: 160px;
    margin: 4px 0 4px 0;
}

#roomId {
    font-size: 20px;
    letter-spacing: 0.15em;
}

#status {
    position: absolute;
    bottom: 8px;
    color: #999;
    text-align: left;
}

.warning {
    display: inline;
    color: yellow;
    margin-top: 2px;
    margin-bottom: 8px;
    font-style: italic;
}

.tabs {
    display: flex;
    overflow: hidden;
    background-color: #111;
    margin-bottom: 8px;
}

.tabs button {
    background-color: inherit;
    border-radius: 6px;
    border: none;
    height: 30px;
    color: #fff;
    outline: none;
    cursor: pointer;
    padding: 4px 6px;
    outline: none;
    cursor: pointer;
    padding: 4px 6px;
    margin: 1px;
    transition: 500ms;
    font-size: 12px;
}

.tabs button:hover,
.tabs button:focus {
    background-color: #222;
}

.tabs button.active {
    background-color: #444;
}

.tabContent {
    display: none;
}

.colors {
    text-align: center;
}

.colorButton {
    border: none;
    border-radius: 6px;
    box-shadow: 2px 2px 3px #111;
    box-sizing: border-box;
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    padding: 0;
    margin: 4px 2px 4px 2px;
    transition: transform 250ms;
    touch-action: manipulation;
    width: 90px;
    height: 62px;
    transform: scale(1);
}

.colorButton:hover,
.colorButton:focus {
    outline: 2px solid #fff;
}

.colorButton:active {
    transform: scale(0.9);
}

.docs {
    margin-top: 8px;
    text-align: center;
}

.docsLink {
    opacity: 75%;
    align-items: center;
    background-color: #000;
    border: 2px solid #666;
    border-radius: 6px;
    box-sizing: border-box;
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    font-weight: 600;
    justify-content: center;
    padding: 3px 8px 3px 8px;
    margin-bottom: 6px;
    position: relative;
    text-decoration: none;
    transition: all 250ms;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
    vertical-align: baseline;
    width: auto;
    height: 30px;
}

.controlsButton {
    opacity: 75%;
    align-items: center;
    background-color: #000;
    border: 2px solid #666;
    border-radius: 6px;
    box-sizing: border-box;
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    font-weight: 600;
    justify-content: center;
    padding: 3px 8px 3px 8px;
    margin-bottom: 6px;
    position: relative;
    text-decoration: none;
    transition: all 250ms;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
    vertical-align: baseline;
    width: auto;
    height: 30px;
}

.controlsButton:hover,
.adminButton:focus {
    opacity: 1;
    border-color: #fff;
    color: #fff;
}

.controlsButton:active {
    opacity: 1;
    background-color: #fff;
    border-color: rgba(0, 0, 0, 0.15);
    box-shadow: rgba(0, 0, 0, 0.06) 0 2px 4px;
    color: #000;
    transform: translateY(3px);
}


#commsInfoDiv {
    position: fixed;
    bottom: 6px;
    width: 100%;
    text-align: center;
    color: #555;
    font-family: monospace;
    text-shadow: 0 0 2px black;
    user-select: none;
}

#chunkStatus {
    font-size: 10px;
}

#commsInfoDiv #commsInfo {
    text-decoration: none;
    cursor: pointer;
}

#commsInfoDiv #commsClientCounts {
    margin-left: 4px;
    color: #555;
    text-decoration: none;
    cursor: pointer;
}