body, button {
    /* font-family: Ubuntu,sans_serif; */
    font-family: 'Syne Mono', monospace;
    background-color: #222;
    color: #ddd;
	font-weight: 400;
    user-select:none;
    overscroll-behavior: contain;
}
* {
	transition: 0.7s cubic-bezier(0.76, 0, 0.28, 1);
}

.--noanim {
    transition: unset!important;<
}
#watermark {
    position: fixed;
    z-index: 400;
    font-size: 9pt;
    pointer-events: none;
    font-style: italic;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0.25;
}

m {
    color: var(--scol);
}

w {
    color: #fff;
}

#__-tit {
    display: none;
}


div#browser-fail-block {
    z-index:205!important;
    display:none;
}


div#login-block, div#browser-fail-block {
    background-color: #222;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 200;
}
#init-box {
	pointer-events:none;
}
#init-box, #connect-box, #browser-fail-box {
    position: fixed;
    left: 50%;
    top: 50%;
    padding: 20px;
    width: 283px;
    text-align: center;
    transform: translate(-50%, -50%);
    margin-top: 110px;
}
#connect-box .smaller {
    position: absolute;
    bottom: 33px;
    transform: scale(0.7);
    zoom:1;
    width: 100%;
    width: calc(100% - 35px);
    box-sizing: border-box;
}
#init-box h2 {
    font-size: 24pt;
    color: #aaa;
}
#init-box p {
    font-size: 10pt;
    font-style: italic;
    opacity: 0.5;
}
#connect-box {
	width: 100%;
	opacity: 0;
	margin-top: 220px;
	overflow:hidden;
	height: 100%;
}
#connect-box h1 {
    font-size: 32pt;
	margin-top: 0;
	margin-bottom: 155px;
}
#host-code, #connect-box input {
    background-color: #1a1a1a;
    border: 2px solid #1a1a1a;
    box-shadow: 0 0 0 5px #1a1a1a;
    font-family: 'Nova Mono';
    text-transform: uppercase;
    font-size: 62pt;
    width: 245px;
    color: #bdbdbd;
    display: inline-block;
    text-align: center;
    user-select:text;
    border-radius: 7px;
}
#login-block.ready #init-box {
    opacity: 0;
    margin-top: -200px;
}
#login-block.ready #connect-box {
    opacity: 1;
    margin-top: -0px;
}
.smaller {
    zoom: 0.8;
    opacity: 0.9;
}
#connect-box h4 {
    font-size: 11pt;
    font-weight: 300;
    margin: 8px 153px;
    margin-bottom: 33px;
    font-style: italic;
    opacity: 0.5;
}
#connect-box h4 {
    font-size: 11pt;
    font-weight: 300;
    margin: 8px 153px;
    margin-bottom: 33px;
    font-style: italic;
    opacity: 0.5;
}
html.gameShown #login-block {
    top: -100%;
}

#login-block.ready ~ #host-code {
    opacity: 1;
}

#host-code {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin-top: 107px;
    z-index: 200;
    opacity:0;
}
div#host-code:after {
    content: "Gib diesen Spielcode anderen, wenn du der Host sein willst";
    position: absolute;
    font-family: Ubuntu;
    font-size: 12pt;
    text-transform: initial;
    opacity: 0.6;
    font-style: italic;
    left: 0;
    top: 100%;
    margin-top: 10px;
    transition: 0.1s;
}
html.gameShown div#host-code:after {
    content: "Gib diesen Spielcode allen, die beitreten wollen";
    opacity: 0;
}
html.gameShown #connect-box {
    pointer-events: none;
    padding: 0;
    top: -50%;
    transform: translate(-50%,-50%) scale(0.7);
    opacity:0!important;
}
html.gameShown #host-code {
    pointer-events: all;
    top: -15px;
    left: 389px;
    color: #ccc;
    transform: translate(-50%, -50%) scale(0.44) rotate(-90deg);
}

button {
    border: 2px solid var(--scol);
    padding: 13px 35px;
    font-size: 15pt;
    font-family: 'Syne Mono', monospace;
    box-shadow: 0 0 0 3px #1a1a1a;
    background-color: #1a1a1a;
    border-radius: 100px;
    transition: 0.1s;
    cursor: pointer;
    outline: none;
}
button:hover {
    box-shadow: 0 0 0 3px #1a1a1a, inset 0 -4px 0 var(--scol);
    background-color: #1a1a1a;
    border-radius: 100px;
    /*padding-top: 11px;
    padding-bottom: 15px;*/
}
button:disabled {
    box-shadow: 0 0 0 3px #1a1a1a;
    opacity:0.5;
    cursor:default;
}
dis {
    display: block;
    position: absolute;
    font-size: 8pt;
    opacity: 0.5;
    width: 300px;
    left: 0;
    display:none;
}
button:disabled dis {
    display: block;
}

svg#logo {
    z-index: 201;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1.2);
    margin-top: -100px;
}
html.gameShown svg#logo {
    top: -18px;
    margin-top: 0;
    transform: translateX(0%) scale(0.5);
    left: 0;
    left: -90px;
}

div#beg-area--host button {
    display: block;
    width: 300px;
    margin-top: 21px;
    position:relative;
    transition:0.1s;
}
html.host div#beg-ar--splittie {
    display: grid;
    grid-template-columns: 500px 300px;
}

div#beg-ar--split-float {
    position: relative;
}
cont {
    display: block;
    font-size: 0.9em;
    position: relative;
    display: inline-block;
    width: 450px;
    vertical-align: top;
    box-sizing: border-box;
    padding: 10px 20px;
}

div#beg-ar--split-float {
    position: relative;
}

div#beg-ar--splittie {
    display: block;
}

div#beg-ar--split-float {
    grid-template-columns: repeat(2, 500px);
    grid-template-rows: repeat(2, 300px);
    width: 1000px;
}

html.host div#beg-ar--split-float {
    display: block;
}

html.host cont {
    display: none;
    position: absolute;
    top: 50%;
    padding-right: 21px;
    transform: translateY(-50%);
}
html.host cont[for='init'] {
    display: block;
}

div#beg-area--client {
    display: none!important;
}

cont p {
    text-align: left;
}

div#beg-area--host button:disabled {
    padding-top: 5px;
    padding-bottom: 21px;
    transition: 0s;
}


/* PLAYER ITEMS */
#player-list {
    position: fixed;
    bottom: 0;
    left: 460px;
    text-align: right;
    text-align: center;
    top: 46px;
    height: fit-content;
    display: grid;
    grid-template-rows: repeat(2, 65px) 40px;
}
.player-item {
    display: inline-block;
    background-color: #7a7;
    background-color: #1a1a1a;
    border: 3px solid var(--color);
    padding: 13px 35px;
    margin: 0px 20px;
    font-size: 14pt;
    font-weight: 800;
    color: #eee;
    text-shadow: 1px 2px 0px #000;
    box-shadow: 0 0 0 4px #1a1a1a;
    width: 190px;
    height: 35px;
    /* height: 25px; */
    /* height: 66px; */
    white-space: nowrap;
    /* overflow: hidden; */
    text-align: center;
    /* font-family: "Kalam"; */
    font-family: 'Syne Mono', monospace;
    top:0;
    left:0;
    position:relative;
    transition:none;
    border-radius: 10px;
    /* box-shadow: 0 0 50px rgba(34, 34, 34); */
}
.player-item.self {
    /*box-shadow: 0px 0px 30px var(--color);*/
    /* border-radius: 12px; */
    /* z-index:2; */
}
.player-item[t-iter='1'] {
    margin-top: 30px;
}
span[livenick] .validator {
    content: "";
    width: 20px;
    height: 20px;
    background-image: url(/_v);
    display: inline-block;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    position: absolute;
    margin-top: 3px;
    margin-left: 8px;
}
.player-item span[livenick] {
    margin-left:-31px;
}
.player-item span[livenick][uid=""] {
    margin-left:0;
}
span.nick-label {
    margin-top: 7px;
    display: inline-block;
    z-index: 1;
    position: relative;
}
.player-item:hover {
    z-index: 11;
}
.validator:hover .validator-tooltip {
    opacity:1;
    margin-top:0px;
}
.validator-tooltip {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    background-color: #222;
    font-size: 8pt;
    font-weight: 800;
    color: #666;
    font-family: Ubuntu;
    padding: 15px;
    top: 39px;
    border: 1px solid #888;
    box-shadow: 0 0 0 1px #222;
    pointer-events:none;
    margin-top:-10px;
    opacity:0;
    transition:0.2s;
}
.validator-tooltip:before {
    content:"";
    position: absolute;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    background-color: #222;
    padding: 10px;
    top: -11px;
    border: 1px solid #666;
    box-shadow: -1px -1px 0px #222;
    border-right:none;
    border-bottom:none;
}
.validator-tooltip span {
    display: block;
    font-weight: 100;
    font-size: 10pt;
    font-style: italic;
    margin-top: 3px;
    color: #eee;
}
.player-score {
    font-size: 25pt;
    display: none;
    z-index: 1;
    position: relative;
}

.group-item {
    display: inline-block;
    margin-left: 20px;
    padding-right: 20px;
    border-right: 1px solid #666;
    margin-right: 0px;
    position:relative;
}
.group-item:last-child {
    border-right:none;
}
.group-item:before {
    content: attr(name);
    /* font-family: "Kalam"; */
    font-family: 'Syne Mono', monospace;
    position: absolute;
    width: 100%;
    text-align: center;
    font-weight: 800;
    top: -110px;
    margin-left: -10px;
    font-size: 20pt;
    opacity: 0.3;
}
.group-item:after {
    content: attr(score);
    /* font-family: "Kalam"; */
    font-family: 'Syne Mono', monospace;
    position: absolute;
    width: 100%;
    text-align: center;
    font-weight: 800;
    top: -80px;
    margin-left: -10px;
    font-size: 38pt;
    opacity: 1;
    left: 0;
}
.group-item .player-score {
    display: none;
}

.group-item .player-item {
    height: 27px;
}
#nickname {
    position: absolute;
    left: 50%;
    top: 167px;
    width: 321px;
    margin-left: -5px;
    /* font-family: "Kalam"; */
    font-family: 'Syne Mono', monospace;
    transform: translateX(-50%);
    text-align: center;
}
#control-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 480px;
    height: 70px;
    /* background-color: #1a1a1a; */
    /* border-bottom: 1px solid #333; */
    /* box-shadow: 0px 1px 0px #000, 0px 0px 20px rgba(0,0,0,0.2); */
    z-index:20;
}
input[type="text"] {
    background-color: #1a1a1a;
    color: #aaa;
    padding: 10px 20px;
    font-size: 14pt;
    font-family: 'Syne Mono', monospace;
    border: 2px solid #333;
    border-radius: 7px;
    box-shadow: 0 0 0 3px #1a1a1a;
}


#player-list.buzzed .player-item {
    background-color: #444;
    opacity: 0.6;
}
.player-item.buzzed {
	box-shadow: 0px 0px 20px #fff, 0px 0px 70px var(--color), 0px 0px 70px var(--color), inset 0 0 0 4px var(--color);
    color: #fff;
    opacity: 1!important;
	background-color: var(--color)!important;
	z-index:10;
}
.player-item.buzzed-delayed {
    box-shadow: inset 0 0 0 4px var(--color);
    background-color: #333!important;
    opacity: 1!important;
    z-index:9;
}
.buzz-delay-item {
    position: absolute;
    top: -37px;
    background-color: var(--color);
    padding: 5px 23px;
    left: 50%;
    transform: translateX(-50%);
    transition: 0.1s cubic-bezier(0.76, 0, 0.28, 1);
    height: 28px;
	overflow: hidden;
	border-radius: 10px;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}
.buzz-delay-item.hidden {
    height: 0px;
    padding: 1px;
    top: 1px;
}

.player-item:after {
    content: "+ " attr(strafe) "ms";
    position:absolute;
    font-weight:500;
    font-style:italic;
    background-color:#222;
    border:2px solid var(--color);
    padding:5px 20px;
    border-bottom-left-radius:50px;
    border-bottom-right-radius:50px;
    font-size:12pt;
    padding-bottom:10px;
    bottom:-42px;
    left:50%;
    transform:translateX(-50%);
    transition:0.2s;
    opacity:1;
}
.player-item[strafe="0"]:after {
    bottom:-50px;
    opacity:0;
}


div#game-log {
    position: fixed;
    top: 270px;
    width: 366px;
    left: 51px;
    box-sizing: border-box;
    height: 100%;
    height: calc(100% - 320px);
    background-color: #1a1a1a;
    border: 2px solid var(--scol);
    box-shadow: 0 0 0 3px #1a1a1a;
    border-radius: 8px;
    display: grid;
    grid-template-rows: 45px 1fr;
    overflow: hidden;
}

div#game-log-head {
    background-color: var(--scol);
    text-align: center;
    font-size: 14pt;
    font-family: 'Syne Mono', monospace;
    font-weight: 800;
    padding-top: 11px;
    user-select: none;
    pointer-events: none;
    text-shadow: 0 2px 0 #000;
    box-shadow: 0 3px 0 #000;
}

glog {
    display: block;
    padding: 10px 22px;
    font-family: 'Syne Mono', monospace;
    font-size: 10pt;
    color: #777;
}

div#game-log-body {
    padding: 10px 0;
    overflow-y: scroll;
}
div#play-area {
    position: fixed;
    width: 100vw;
    height: 100vh;
    width: calc(100vw - 520px);
    left: 480px;
    top: 270px;
    height: calc(100vh - 320px);
    overflow:hidden;
}
panel {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    text-align:center;
    transition:unset;
}

#beg-area--host {
    display: none;
}
html.host #beg-area--client {
    display: none;
}
html.host #beg-area--host {
    display: block;
}

div#beg-area--client i {
    color: #555;
    font-size: 20pt;
    font-weight: 100;
}


g-link {
    display: inline-block;
}

g-link:hover {
    text-decoration: underline;
}

.--link-focus {
    box-shadow: 0 0 0 4px #1a1a1a, 0 0 30px var(--color)!important;
}

div#--cancel {
    position: fixed;
    z-index: 900;
    width: 100vw;
    height: 100vh;
    background-color: #222;
    display: none;
}

div#--cancel div {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    font-size: 3vmin;
}

div#--cancel div h1 {
    color: #c73838;
}

cpane {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: repeat(5, 1fr);
}

card {
    margin: 13px 15px;
    border: 2px solid #444;
    border-radius: 5px;
    background-color: #2a2a2a;
    font-size: 16pt;
    width: 180px;
    height: 80px;
    position: relative;
    opacity: 0;
    --tfor: #ffffff1a;
}

card-label {
    display: block;
    text-transform: uppercase;
    font-weight: 400;
    text-shadow: 0 2px 0 #000;
    padding: 5px 0;
    background-color: var(--tfor);
    position: absolute;
    width: 100%;
    bottom: 0;
    border-radius: 5px;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

html[g-mode='vers'] .player-item[t-iter='0'] {
    height: 130px;
    z-index: 1!important;
}

html[g-mode='vers'] .player-item[t-iter='1'] {
    z-index: 2!important;
    margin-top: -31px;
    border: none;
    background-color: transparent;
    box-shadow: none;
    left: 3px;
    color: var(--color);
    font-size: 12pt;
    font-weight: 100;
    font-style: italic;
}
html[g-mode='vers'] .player-item[t-iter='1'] .nick-label:before {
    content: "mit Inspektor";
    display: block;
    font-size: 9pt;
    color: rgba(255,255,255,0.3);
}

html[g-mode='coop'] .player-score, 
html[g-mode='vers'] .player-score, 
html[g-mode='alle'] .player-score {
    display: block;
}

html[g-mode='coop'] .player-item, 
html[g-mode='alle'] .player-item {
    height: 57px;
    margin-top: -10px;
    padding-top: 0px;
}

html[g-mode='coop'] .player-item[t-iter='1'], 
html[g-mode='alle'] .player-item[t-iter='1'] {
    margin-top: 26px;
}
html[g-mode='vers'] .player-item[t-iter='1'] .player-score {
    display: none;
}

html[g-mode='vers'] .player-item[t-iter='0'] .player-score {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 13px;
    font-size: 30pt;
}
html[g-mode='vers'] .player-item[t-iter='1'].--link-focus {
    text-shadow: 0 0 5px var(--color), 0 0 10px var(--color), 0 0 15px var(--color);
    transition:0s!important;
}
html[g-mode='coop'] .player-item {
    margin-top: 44px;
}

card.--black {
    border: 2px dashed #444;
    background-color: #1a1a1a;
}

card.--black card-label {
    color: #777;
    background-color: #000;
}
html[g-mode='coop'] .player-item[t-team='1'] {
    margin-left: -20px;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    border-left: none;
    z-index: 0!important;
}
html[g-mode='coop'] .player-item[t-team='1'] .player-score {
    display:none!important;
}
html[g-mode='coop'] .player-item[t-team='0'] {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border-right: none;
    box-shadow: -4px 4px 0 #1a1a1a, -4px -4px 0 #1a1a1a;
    z-index: 11!important;
}
html[g-mode='coop'] .player-item[t-team='0'] .player-score {
    width: 451px;
}

.player-iconicle {
    display:none;
    width: 260px;
    position: absolute;
    height: 70px;
    z-index: 0;
    left: 0;
    border-radius: 10px;
    background-size: 35%;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.4;
}

html[g-mode='vers'] .player-iconicle,
html[g-mode='coop'] .player-iconicle,
html[g-mode='alle'] .player-iconicle {
    display:block;
}

panel[name='gamepane'] {
    display: grid;
}
ctrl {
    padding-bottom: 10px;
    perspective: 300px;
    height: 99px;
}
paneel {
    display: block;
    padding-bottom: 8px;
    transform: rotateX(90deg);
    perspective: 100px;
    transform-style: preserve-3d;
    position: absolute;
    width: 100%;
    opacity: 0;
    pointer-events: none;
    user-select: none;
    transition: 0.4s cubic-bezier(0.54, 0, 0.29, 1.9);
}
paneel.--v {
    opacity: 1;
    transform: rotateX(0deg);
    pointer-events: all;
    user-select: inherit;
}

paneel h3 {
    margin-top: 0;
    font-size: 16pt;
    margin-bottom: 11px;
}

paneel button {
    font-size: 13pt;
    padding: 11px 24px;
    margin: 0px 14px;
}
paneel input[type="text"] {
    width: 500px;
}
.player-item.--turn .nick-label {
    text-decoration: underline;
    font-weight: 800;
    text-shadow: 0px 0px 10px #fff7;
}
#_gi--sec-count {
    width: 10px;
    font-weight: 800;
}

card.--mark-e {
    border: 2px solid var(--tfor);
    box-shadow: 0 0 0 2px var(--tfor), 0 0 13px var(--tfor);
}
card.--sh_trans {
    transition: 0.1s;
}
html[g-mode='vers'] .player-item[t-iter='1'] .player-iconicle {
    display: none;
}

html[g-mode='vers'] .player-item[t-iter='0'] .player-iconicle {
    height: 158px;
    margin-top: -14px;
    background-size: 77%;
    opacity: 0.25;
}

hiha {
    background-color: var(--tcol);
    font-size: 14pt;
    border-radius: 7px;
    padding: 10px 10px;
    margin: 5px 6px;
    display: revert;
    position: relative;
    text-shadow: 0 2px 0px #000, 0 0px 5px rgba(0,0,0,0.5), 0 0px 10px rgba(0,0,0,0.5), 0 0px 15px rgba(0,0,0,0.5);
    transition:0s!important;
}

paneel[name='showhint'] {
    display: grid;
    grid-template-columns: 1fr 70px;
    --tcol: #4a0;
}

hiha c {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    font-size: 19pt;
    font-weight: 800;
}

card-bt {
    position: absolute;
    --scale: 40px;
    width: var(--scale);
    height: var(--scale);
    border-radius: var(--scale);
    background-color: #111;
    right: -18px;
    top: -13px;
    border: 2px solid #444;
    box-shadow: inset 0 -3px 0 rgba(255,255,255,0.1);
    cursor: pointer;
    transition: 0.1s ease-in-out;
    transform: scale(1);
}

card-bt:hover {
    transform: scale(1.2);
}
card-bt:after {content: "";width: 100%;height: 100%;display: block;background-image: url(i/bsprite.svg);background-size: 100%;background-position: 0px 0px;position: absolute;left: 0;top: 0;transform: scale(0.7);opacity: 0.7;}

card-bt[t='unmark']:after {
    background-position: 0px -40px;
}
card-bt[t='unmark'], card-bt[t='unbribe'] {
    background-color: #521c23;
}
card-bt[t='bribe']:after {
    background-position: 0px -120px;
    transform: scale(1);
}
card-bt[t='bribe'] {
    background-color: #5a550f;
}
card-bt[t='unbribe']:after {
    background-position: 0px -160px;
    margin-left: -1px;
    margin-top: -1px;
}

card-bt[t='submit']:after {
    background-position: 0px -108px;
    transform: scale(0.75);
    margin-left: -3px;
}
card-bt[t='submit'] {
    background-color: #13843b;
    --scale: 55px;
    right: unset;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin-top: -18px;
}

card-bt[t='submit']:hover {
    transform: translate(-50%, -50%) scale(1.2);
}

card-bt.--disabled {
    transform: scale(0);
    pointer-events: none;
    opacity: 0;
}

card-bt[t='submit'].--disabled {
    transform: translate(-50%, -50%) scale(0);
}

card-bt:before {
    content: attr(v-alt);
    white-space: nowrap;
    position: absolute;
    z-index: 100;
    font-size: 10pt;
    background-color: #111;
    padding: 4px 15px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
    border: 1px solid #444;
    left: 50%;
    transform: translateX(-50%);
    top: -16px;
    transition: 0.2s;
    pointer-events: none;
    opacity: 0;
}

card-bt:hover:before {
    opacity: 0.7;
    top: -14px;
}
g-tabbed {
    display: block;
    padding-left: 1em;
}
card.--link-focus {
    box-shadow: 0px 0px 0px 5px #fff!important;
    transform:scale(1.1)!important;
}

card.--chosen {
    background-color: var(--tfor);
}
card.--chosen card-label{
    background-color: #ffffffb3;
    color:#000;
    text-shadow: none;
    font-weight:800;
}
card.--chosen.--black {
    background-color: var(--tfor);
    border: 2px solid #444;
}

c-mark {
    display: inline-block;
    width: 20px;
    height: 20px;
    background-size: 100%;
    margin: 2px;
    margin-top: 11px;
}
c-mark.guess {
    filter: saturate(0) brightness(10);
    opacity: 0.8;
}

hiha#hnt--2 {
    cursor: pointer;
}

hiha#hnt--2:hover {transform: scale(1.1);z-index: 10;}

hiha#hnt--2:after {
    content: attr(hint);
    position: absolute;
    background-color: var(--tcol);
    border-radius: 10px;
    top: 100%;
    transform: translateX(-50%);
    left: 50%;
    padding: 7px 16px;
    pointer-events: none;
    opacity: 0;
    transition: 0.1s;
}

hiha#hnt--2:hover:after {
    opacity: 1;
}

html[g-mode='alle'] hiha#hnt--2, hiha#hnt--2.--block {
    pointer-events: none;
}

lifedisp {
    position: absolute;
    left: 1052px;
    top: 88px;
    background-color: #111;
    padding: 5px 9px;
    padding-top: 7px;
    border: 2px solid #444;
    box-shadow: 0 0 0 3px #000;
    border-radius: 10px;
    color: #999;
    font-size: 14pt;
    display: block;
    width: 90px;
    text-align: center;
    transform: scale(0.8);
    opacity: 0;
    pointer-events: none;
}

lifedisp span {
    display: block;
    font-size: 23pt;
    color: #ccc;
    padding-bottom: 0;
    margin-bottom: 0;
    margin-top: 5px;
}

html[g-mode='coop'] lifedisp {opacity: 0.8;}

c-mark.--bribed {
    animation: c-mark-bribe 0.9s infinite linear;
    filter: contrast(0.5) brightness(1.5);
}
c-mark.--bribed.--secondary {
    animation:  c-mark-bribe-seco 0.9s infinite linear;
    opacity:0.3;
}

@keyframes c-mark-bribe {
    0% {
        opacity:1;
        filter: contrast(1) brightness(1);
        transform: rotate(0deg);
    }
    50% {
        filter: contrast(0.5) brightness(1.5);
        transform: rotate(180deg);
    }
    100% {
        opacity:1;
        filter: contrast(1) brightness(1);
        transform: rotate(360deg);
    }
}
@keyframes c-mark-bribe-seco {
    0% {
        opacity:0.3;
        filter: contrast(1) brightness(1);
        transform: rotate(0deg);
    }
    50% {
        filter: contrast(0.5) brightness(1.5);
        transform: rotate(180deg);
    }
    100% {
        opacity:0.3;
        filter: contrast(1) brightness(1);
        transform: rotate(360deg);
    }
}

card.--bribed:after {
    content: "";
    width: 100%;
    height: 100%;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 3;
    background-image: url(i/bribed.svg);
    background-size: cover;
    background-position: right center;
}

bribe-alert {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 6;
    transform: translate(-50%, -50%);
    background-color: #111;
    font-size: 30pt;
    padding: 20px 50px;
    width: 600px;
    border-radius: 30px;
    border: 6px solid var(--tcol);
    --tcol: #768110;
    box-shadow: 0 0 0 7px #111, 0 0 30px #000;
    pointer-events: none;
    user-select: none;
    display: none;
    transition: 0s;
}
div#reset-game {
    margin-top: 80px;
    display: none;
}
html.host div#reset-game {
    display: block;
}

winner-pane {
    display: block;
}

winner {
    background-color: #111;
    padding: 10px 20px;
    box-sizing: border-box;
    display: inline-block;
    border-radius: 10px;
    margin: 5px 10px;
    font-size: 20pt;
    white-space: nowrap;
}

a-rules {
    color: var(--scol);
}
a-rules:hover {
    text-decoration: underline;
    cursor:pointer;
}

div#ingame-rules {
    position: fixed;
    top: 232px;
    left: 50px;
    width: 370px;
    text-align: center;
    display: none;
}

div#ruleset {
    position: fixed;
    width: 100vw;
    height: 100vh;
    background-color: #222222a6;
    z-index: 250;
    display:none;
    transition:0s;
}

div#ruleset-container {
    width: 50vw;
    min-width: 700px;
    height: 90vh;
    overflow: auto;
    left: 50%;
    transform: translateX(-50%);
    top: 5vh;
    position: fixed;
    background-color: #111;
    box-sizing: border-box;
    padding: 20px 80px;
    border-radius: 20px;
    transition:0s;
}

div#ruleset-container h1 {
    text-align: center;
    font-size: 36pt;
    border-bottom: 3px solid #fff;
    padding-bottom: 8px;
}

div#ruleset-container h2 {
    text-decoration: underline;
    margin-top:40px;
}

div#ruleset-container p {
    margin-left: 2em;
}

div#ruleset-container h3 {
    margin-left: 1em;
}
button#ruleset-close {
    position: fixed;
    left: 50%;
    z-index: 2;
    transform: translateX(-50%);
    top: 5vh;
    margin-top: -33px;
    font-size: 41pt;
    padding: 1px 19px;
}