html{
}
*{
-webkit-tap-highlight-color:  rgba(255, 255, 255, 0); 
    }
body{
background:#2f383d;
color:#fff;
padding:24px;
font-family:sans-serif;
margin:0;
}
#welcome{
display:none;
margin-top:80px;
}
a, a:visited, a:active{
color:#00a3bf;
text-decoration:none;
}
.container{
display:flow-root;
max-width:420px;
margin:0 auto;
position:relative;
padding:0;
}
#form{
display:inline-flex;
text-align:left;
opacity:1;
height:80px;
width:100%;
transition:all 250ms linear;
padding:5px 0 15px;
}
body.done #form{
opacity:0;
padding:0;
height:0;
}
body.done #form input,
body.done #form button{
visibility:hidden;
pointer-events:none;
}
body:not(.showNarrator) h2#narrator{
display:none;
}
h2#narrator{
font-size:32px;
padding:5px 0;
transition:all 500ms linear 250ms;
opacity:1;
display:block;
text-align:left;
margin:0 0 5px;
clear:both;
width:calc(100% - 36px);
position: relative;
    top:70px;
    min-height:24px;
    border-radius:8px;
    z-index:1000;
}
.newGame #card{
display:none;
}
.loading #host{
opacity:0;
}
.newGame #welcome{
display:block;
}
.host{
font-size:44px;
}
#welcome .narrator{
display:flex;
float:left;
clear:both;
margin:30px 0;
}
 .talk::before{
content: '\25c2';
    position: absolute;
    bottom: 6px;
    font-size: 22px;
    color: #fff;
    left: -8px;
}
 .talk{
    background: rgb(255,255,255);
	background: linear-gradient(90deg, rgba(255,255,255,1) 0%, rgba(255,255,255,0.9) 10%, rgba(255,255,255,0.8) 20%);
    color:#222;
    font-size: 14px;
    font-weight:400;
    padding: 5px 10px;
    left: 10px;
    position: relative;
    bottom:5px;
    border-radius:3px;
    display: inline-block;
    max-width: calc(100% - 70px);
    box-shadow:2px 2px 2px rgba(0,0,0,.8);
    border:1px solid #fff;
}

body.loading h1#title{
opacity:1;
background:rgba(47,56,61,1);
padding-left: calc(50% - 60px);    
line-height: 100vh;
}

h1#title{
z-index:5000;
position:absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background:rgba(47,56,61,0);
transition:background 250ms linear 500ms, padding-left 250ms linear, line-height 250ms linear;
text-align: left;
line-height: 44px;
cursor:pointer;
pointer-events:none;
}



.host{
transition:filter 250ms linear;
filter:blur(0);
}

h2#narrator .talk{
transition:opacity 250ms linear;
opacity:1;
}
#formwrap.hide h2#narrator .talk{
opacity:0;
}
#formwrap.hide h2#narrator .talk{
opacity:0;
transition:opacity 205ms linear;}
h2#narrator i{
text-transform:uppercase;}
body #finish a{
display:none;
}
.guessno{
position: absolute;
    top: 20px;
    left: -10px;
    min-width: 22px;
    display: inline-block;
    text-align: right;
    font-size: 12px;
    color: #666;
    padding-right: 10px;
}
#output .guessno{
opacity:0;
}
li:first-child .guessno{
    color:#fff;
}
#notifier{
width:100%;
float:left;
clear:both;
display:block;
font-size:14px;
position:relative;
top:-8px;
}
#guess{
position: absolute;
    z-index: 0;
    left: 0;
    top: 60px;
    right: 0;
    font-size:1px;
    opacity: 0;
    height: 140px;
    cursor:pointer;
}
#guess:focus{
outline:0;
}
 #prize{
    position: fixed;
    bottom: calc(50% - 100px);
    right: calc(50% - 110px);
    background: rgba(0, 0, 0, 0.6);
    width: 200px;
    height: 200px;
    border-radius: 50%;
    text-align: center;
    transition: all 250ms ease-in-out 0;
    opacity:0;
    transform: scale3D(0,0,0);
    z-index:10;
}
.done #prize{
   opacity:1;
   transition:  all 500ms ease-in-out .5s;
   transform: scale3D(1,1,1);
}

#prize .points{
    font-weight: 200;
    font-size: 30px;
    float: right;
    position: absolute;
    right: 50px;
    top: 142px;
    width: 100px;
    text-align: center;
}
#prize .awardname{
position: absolute;
    right: 35px;
    text-transform: uppercase;
    font-size: 12px;
    padding-right: 10px;
    font-weight: 400;
    top: 22px;
    width: 100px;
}
#prize .prizeicon{
    font-size: 80px;
    position: relative;
    top: 44px;
}

#submit{
font-size:20px;
background:#242d32;
border-radius:5px;
color:#fff;
border-width:0px;
width:0;
visibility:hidden;
}
#submit:hover{
background:#1c282e}
a#reset,
a#reset:active,
a#reset:visited{
color:#fff;
text-decoration:none;
font-weight:900;
visibility:hidden;
opacity:0;
transition:opacity .5s linear 1s;
clear;both;
font-size:16px;
padding:16px;
position:fixed;
bottom:20px;
left:20px;
right:20px;
border-radius:10px;
z-index:10000;
background: rgba(0,0,0,0.3);
text-align:center;
}

a#newGame,
a#newGame:active,
a#newGame:visited{
color: #222;
border: 1px solid #427d87;
text-decoration:none;
font-weight:900;
opacity:1;
transition:opacity .5s linear 1s;
clear:both;
font-size:16px;
padding: 10px 20px;
display: block;
border-radius: 10px;
background: #00c9ec;
text-align: center;
height: 20px;
}

body.newGame #helplink{
bottom:auto;
top:24px;
}
ul#card{
margin:0;
padding:0;
text-align:left;
clear:left;
}

.card li{
list-style:none;
display:flex;
opacity:1;
padding:0 20px;
transition:height 250ms linear, opacity 250ms linear 250ms, filter 250ms linear 250ms;
}

#output{
    -webkit-tap-highlight-color:  rgba(255, 255, 255, 0); 
	padding:24px;
}

#output::before{
    content: "";
    display: block;
    height: 1px;
    background: rgba(256,256,256,.1);
    left: 0;
    right:0;
    top:  calc(50% + 30px);
    position: absolute;
    transition:height 250ms linear, opacity 250ms linear;
}
#output.active::before{
    content: "";
    display: block;
    height: 2px;
    background: #00a3bf;
    left: 0;
    right:0;
    top:  calc(50% + 30px);
    position: absolute;
}
body.done #output.active::before,
body.done #output::before{
	background:transparent;
}

#output span.letter{
	transition:all .5s linear;	
	}
#output.active span.letter.editing:not(.selected)::before{
    content: "";
    display: block;
    height: 70px;
    width: 2px;
    background: rgba(255,255,255, .3);
    top: calc(50% - 42px);
    position: absolute;
}
#output.full::after{
    content: "";
    display: block;
    height: 70px;
    width: 2px;
    background: rgba(256,256,256,.3);
    right: 0;
    top:  calc(50% - 42px);
    position: absolute;
}
#output.active span.letter.selected::after{
    content: "";
    display: block;
    height: 70px;
    width: 100%;
    background: rgba(255, 100, 255, .1);
    top: calc(50% - 42px);
    position: absolute;
}

#sharer{
display:none;
position:fixed;
top:calc(50% + 120px);
left:calc(50% - 50px);
z-index:100;
width:100px;
background:rgba(0,0,0,.5);
padding:10px 5px;
border-radius:3px;
text-align:center;
}
body.done #guess{
width:0;
}
body.done #sharer{
display:block;
}
body.done #sharer.hide{
opacity:0;
}
body.done #reset{
visibility:visible;
opacity:1;
}
body.done.noshare #sharer{
display:none;
}
.title{
font-size:32px;
text-align:left;
color:#00c9ec;
padding:0;
margin:0;
float:left;
font-weight:800;
position:relative;
z-index:2000;
}

p{
    line-height: 1.75em;
    margin-bottom: 1.5em;
    }

@keyframes title_blur_1 {
    0% { filter: blur(0px) hue-rotate(0deg);}
    50% { filter: blur(5px) hue-rotate(0deg);}
    100% { filter: blur(0px) hue-rotate(0deg);}
}
@keyframes title_blur_2 {
    0% { filter: blur(1px) hue-rotate(30deg);}
    50% { filter: blur(5px) hue-rotate(30deg);}
    100% { filter: blur(1px) hue-rotate(30deg);}
}
@keyframes title_blur_3 {
    0% { filter: blur(2px) hue-rotate(60deg);}
    50% { filter: blur(5px) hue-rotate(60deg);}
    100% { filter: blur(2px) hue-rotate(60deg);}
}
@keyframes title_blur_4 {
    0% { filter: blur(3px) hue-rotate(90deg);}
    50% { filter: blur(5px) hue-rotate(90deg);;}
    100% { filter: blur(3px) hue-rotate(90deg);;}
}



.title span:nth-child(1){
filter: hue-rotate(0deg) blur(0);
animation: title_blur_1 2s ease-in-out 3s; 
}
.title span:nth-child(2){
filter: hue-rotate(30deg) blur(1px);
animation: title_blur_2 2s ease-in-out 3s;
}
.title span:nth-child(3){
filter: hue-rotate(60deg) blur(2px);
animation: title_blur_3 2s ease-in-out 3s;
}
.title span:nth-child(4){
filter: hue-rotate(90deg) blur(3px);
animation: title_blur_4 2s  ease-in-out 3s;
}


.card li.hue1,
#trophies li:nth-child(2) .bar{
filter: hue-rotate(15deg);
}
.card li.hue2,
#trophies li:nth-child(3) .bar{
filter: hue-rotate(30deg);
}
.card li.hue3,
#trophies li:nth-child(4) .bar{
filter: hue-rotate(45deg);
}
.card li.hue4,
#trophies li:nth-child(5) .bar{
filter: hue-rotate(60deg);
}
.card li.hue5,
#trophies li:nth-child(6) .bar{
filter: hue-rotate(75deg);
}
.card li.hue6,
#trophies li:nth-child(7) .bar{
filter: hue-rotate(90deg);
}
.card li.hue7,
#trophies li:nth-child(8) .bar{
filter: hue-rotate(120deg);
}
.card li.hue8,
#trophies li:nth-child(9) .bar{
filter: hue-rotate(150deg);
}
.card li.hue9,
#trophies li:nth-child(10) .bar{
filter: hue-rotate(180deg);
}


#stats{
font-size:14px;
line-height:30px;
color:#fff;
font-weight:300;
right:0;
top:0;
width:100%;
position:relative;
z-index:4000;
}

#stats .container{
display:none;
width:100%;
padding-bottom:24px;
}

#stats.active .container{
display:block;
height:42px;
transition: height 250ms linear 120ms;
overflow:hidden;
position:absolute;
background: linear-gradient(180deg, rgba(47,56,61,1) 98%, rgba(55,74,85,1) 99%, rgba(47,56,61,1) 100%);
}

#stats.show .container{
    clear: both;
    margin-bottom: 20px;
    text-align: left;
    float: left;
    height:250px;
    width: 100%;
    overflow: visible;
    padding:0;
    z-index:2000;
    transition: height 120ms linear;
    background: rgb(47,56,61);
	background: linear-gradient(180deg, rgba(47,56,61,1) 98%, rgba(55,74,85,1) 99%, rgba(47,56,61,1) 100%);
}
#stats .title{
display:none;
}
#stats.open .title{
display:block;
}
#scoreboard{
    position: absolute;
    font-size: 18px;
    margin-top: 6px;
    right:90px;
    top:6px;
    transition:top 125ms linear 250ms, right 250ms linear, font-size 250ms linear;
}
#toggler{
float:right;
}
#stats.show #toggler{

    top: -64px;
    cursor: pointer;
    right: 10px;
}
#stats.show #toggler .charticon{
display:none;
}
.container.help {
    padding: 60px 0;
    }
#toggler #closer{
opacity:0;
width:0;
height:0;
color:#00c9ec;
}

#stats.show #toggler #charticon{
display:none;
}
#stats.show #toggler #closer{
display:inline-block;
}
#stats.show #toggler #closer{
	top:5px;
    font-size: 32px;
    position: relative;
    font-weight: 100;
    z-index: 100;
    padding: 5px 10px;
    width:24px;
    height:32px;
    opacity:1;
    border-radius: 15px;
    transition:opacity 250ms linear 1000ms;
}
#helptext{
	position: absolute;
	top:10px;
	right:50px;
}
#helplink{
    background: rgba(0, 0, 0, 0.8);
    font-weight: 300;
    padding: 5px 10px;
    border-radius: 15px;
    display:flex;
    border:1px dotted #00a3bf;
    height: 18px;
    line-height: 20px;
    font-size: 16px;
}
.starter{
display:flex;
clear:both;
flex-direction:column;
    position: relative;
    bottom: 24px;
    width: calc(100vw - 48px);
    max-width: 420px;
    opacity:1;
    transition:opacity 250ms linear 500ms;
}
body.loading .starter{
	opacity:0;
}
p.nomnom{
font-size:14px;
display:inline-block;
padding:10px 20px;
background:rgba(0,0,0,.3);
border-radius:8px;
}

.hidden{
display:none;
}
#stats .vital{
	height:0;
	opacity:0;
	font-size:18px;
	transition:none;
	overflow:hidden;
}
#stats.show .vital{
	display:inline-flex;
	flex-direction:column;
	height:auto;
	opacity:1;
	padding:0 16px 0 0;
	float:left;
	transition:opacity 250ms linear 1000ms;
	position: relative;
	top:24px;
}
#stats.show #wordcount{
	clear:right;
}
#stats.show #scoreboard{
    right: 0;
    font-size: 36px;
    font-weight: 100;
    line-height: 32px;
    top:56px;transition: top 125ms linear, right 250ms linear 125ms, font-size 250ms linear 125ms;
}
#stats #trophies{
	display: inline-flex;
    flex-direction: row;
    padding: 0; 
    max-width: 30px;
    width:100%;
    position:absolute;
    transition: top 125ms linear 125ms, max-width 125ms linear, height 125ms linear;
    height: 80px;
    margin: 0;
    cursor:pointer;
    top: -10px;
    right: 10px;
}


#trophies li{
	display: flex;
	flex-direction:column-reverse;
	width:100%;
	text-align:center;
	padding:0;
	text-align:center;
	transform: scaleY(0.25);
	transition:transform 250ms linear 250ms;
}
#trophies li.unseen{
	font-size:16px;
	opacity:.6;
}


#trophies .awardcount,
#trophies li .icon{
	opacity:0;
	display:inline-block;
	width:0;
	height:0;
	transition:none;
	margin:0 auto;
}

#trophies li .icon{
	font-size:20px;
	margin-top:5px;
	opacity:0;
	width:0;
	height:20px;
}

#trophies .bar{
	display:inline-block;
	background:#00c9ec;
	border-radius:3px;
	margin:2px auto;
	width:2px;
}
#trophies .bar.barunseen{
	background:rgba(255,255,255,0.1);
}

#stats.show #trophies .awardcount{
	opacity:1;
	width:20px;
	height:22px;
	font-size:10px;
	transition:width 100ms linear 500ms, opacity 100ms linear 1000ms;
}

#stats.show #trophies li .icon{
opacity:1;
padding:0 1px;
width:20px;
height:20px;
transition:none;
transition:width 100ms linear 500ms, opacity 100ms linear 1000ms;
}

#stats.show #trophies li{
transform:none;
padding-right:2px;
transition:transform 250ms ease-in-out 500ms;
}


#stats.show #trophies .bar{
width:100%;
}

#stats.show #trophies{
width:100%;
max-width:420px;
height:115px;
top:115px;
right:0;
transition: top 250ms linear, right 100ms linear 250ms, max-width 250ms linear 250ms, height 250ms linear 500ms;
}

#formwrap{
position:relative;
padding-top:60px;
}
#formwrap form{     
opacity:1;
transition:all 250ms linear;
}

body.done #narrator{     
bottom:70px;
}

#formwrap.hide form{
opacity:0;
transition:opacity 500ms;
}

#narrator{
opacity:0;
transition:all 125ms;
}

.loading #narrator{
opacity:0;
transition:all 250ms linear 250ms;
}

#narrator.blur {
filter:blur(5px);
}

#narrator .talk{
opacity:1;
transition:opacity 125ms linear 500ms;
}

#narrator.blur .talk{
opacity:0;
transition:opacity 125ms linear;
}

.statlabel{
font-size:12px;
text-transform:uppercase;
line-height:12px;
}
#card{
position:relative;
padding:0;
top:0;
transition:top 250ms linear;
}
#card.guessed{
position:relative;
top:-100px;
transition:all 0s linear;
}

body.done #card.guessed{
top:0;
transition:all 250ms linear;
}
#card.guessed #output{
transform: translate(0, 100px);
transition:all 0s linear;
}

.card li,
#output{
list-style:none;
display:flex;
height: 100px;
padding: 0;
z-index:10;
}


.card li#output{
opacity: 1;
    height: 100px;
    display: inline-flex;
    position: absolute;
    left: 0;
    top:-100px;
    right: 0;
    z-index:1;
    cursor:pointer;
}
.card li#output.hide{
display:none;
}

span.letter.editing::before,
#output.full::after{
    opacity: 1;
    animation: fade 2s ease-in-out infinite;
}

@keyframes fade {
  0%,100% { opacity: 0 }
  50% { opacity: 1 }
}

.card li.show{
opacity:1;
height:100px;
}
a, a:visited, a:active{
color:#00c9ec;
text-decoration:none;
}
span.letter{
	display:inline-block;
	font-size:60px;
	text-transform:uppercase;
	color:#00c9ec;
	padding:10px 0;
	text-align:center;
	text-align:center;
	font-weight:900;
	opacity:1;
	filter:blur(0);
	transition:filter .75s linear, color .75s ease-in-out;	
	min-width: 40px;
	height:80px;
    text-align: center;
    width: 100%;
	}

li.show span.letter.shade25{filter:blur(25px);}
li.show span.letter.shade24{filter:blur(24px);}
li.show span.letter.shade23{filter:blur(23px);}
li.show span.letter.shade22{filter:blur(22px);}
li.show span.letter.shade21{filter:blur(21px);}
li.show span.letter.shade20{filter:blur(20px);}
li.show span.letter.shade19{filter:blur(19px);}
li.show span.letter.shade18{filter:blur(18px);}
li.show span.letter.shade17{filter:blur(17px);}
li.show span.letter.shade16{filter:blur(16px);}
li.show span.letter.shade15{filter:blur(15px);}
li.show span.letter.shade14{filter:blur(14px);}
li.show span.letter.shade13{filter:blur(13px);}
li.show span.letter.shade12{filter:blur(12px);}
li.show span.letter.shade11{filter:blur(11px);}
li.show span.letter.shade10{filter:blur(10px);}
li.show span.letter.shade9{filter:blur(9px);}
li.show span.letter.shade8{filter:blur(8px);}
li.show span.letter.shade7{filter:blur(7px);}
li.show span.letter.shade6{filter:blur(6px);}
li.show span.letter.shade5{filter:blur(5px);}
li.show span.letter.shade4{filter:blur(4px);}
li.show span.letter.shade3{filter:blur(3px);}
li.show span.letter.shade2{filter:blur(2px);}
li.show span.letter.shade1{filter:blur(1px);}
body.done #output span.letter.shade0, 
li.show span.letter.shade0{
	opacity:1;
 	color: #fff;
    text-shadow: 1px 1px 1px #4d6f7f, -1px -1px 1px #306882;
    }
.title span:nth-child(1){
filter: hue-rotate(0deg) blur(0);
animation: title_blur_1 2s ease-in-out 3s; 
}
.title span:nth-child(2){
filter: hue-rotate(30deg) blur(1px);
animation: title_blur_2 2s ease-in-out 3s;
}
.title span:nth-child(3){
filter: hue-rotate(60deg) blur(2px);
animation: title_blur_3 2s ease-in-out 3s;
}
.title span:nth-child(4){
filter: hue-rotate(90deg) blur(3px);
animation: title_blur_4 2s  ease-in-out 3s;
}
h1,h2,h3,h4,p{
text-align:left;
clear:both;
}
.help h2{
border-top:1px solid #306882;
padding-top:20px;
}