* {
    -webkit-tap-highlight-color: transparent;
}

::-webkit-scrollbar {
    display: none;
}

@media only screen and (min-width: 1180px) {
    body {
        zoom: 1.5;
    }
}

html, body {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

body {
    margin: 0;
    background: black;
}

body, input, textarea, button, select {
    font-family: RobotoCondensed;
    font-size: 1em;
    line-height: 1.5em;
    color: var(--fg-color-2);
}

button, input, select {
    line-height: normal;
}

button, input, textarea, select {
    background: var(--bg-color-1);
    border: none;
    outline: none;
}

button {
    padding: .5rem 1rem;
    background: var(--bg-color-2);
    cursor: pointer;
}

button:active {
    opacity: .8;
}

button[disabled] {
    opacity: .5;
    pointer-events: none;
}

input, textarea, select {
    padding: .5rem;
}

textarea {
    height: 5.6em;
    resize: none;
}

a {
    color: orange;
}

a:hover {
    color: yellow;
}

p {
    margin: .5rem 0;
    line-height: 1.25em;
}



.primary {
    background: #339;
}

.accent {
    background: #939;
}

.dangerous {
    background: #930;
}



[hidden] {
    display: none !important;
}



[field] {
    display: flex;
}

[field] label {
    flex: 0 0 6rem;
    width: 0;
    line-height: 2.2em;
    text-align: right;
    padding-right: .5rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

[field] label + * {
    flex: 0 0 12rem;
    width: 0;
}

[field] label + input[type='checkbox'] {
    flex: 1.25rem 0 0;
    margin: 0 0 0 0.5rem;
}



[label] {
    line-height: 1.5em; 
    color: var(--fg-color-1);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

[value] {
    margin-left: .25rem;
    color: var(--fg-color-2);
    word-break: break-word;
}

[data-comment] {
    position: relative;
    word-break: break-word;
    overflow: hidden;
}

[data-comment].cut {
    background: linear-gradient(white 0%, white 50%, rgba(255, 255, 255, 0) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

[title] {
    font-size: 1.25em;
    margin-bottom: .25rem;
    color: var(--fg-color-1);
}

[subtitle] {
    font-size: 1.15em;
    line-height: 1em;
    color: var(--fg-color-1);
}