@font-face {
font-family: elegant;
src:
 url(/resource/signs/elegant.woff) format('woff'),
 url(/resource/signs/elegant.ttf) format('truetype');
font-display: swap;
}

* {
padding: 0;
margin: 0;
}

a {
text-decoration: none;
}

a img {
border: 0;
}

button {
background-color: transparent;
border: 0;
outline: 0;
-webkit-tap-highlight-color: rgba(0,0,0,0);
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
}

/*------------------------------------------------------------------------------------------------*/

html, body {
height: 100%;
}

body {
font-family: Tahoma, Arial, sans-serif;
text-align: center;
font-size: 16px;
background-color: #403d4b;
background-image: url(/images/common/drape.png);
background-image:
 radial-gradient(rgba(55,53,62,0.9) 35%, rgba(55,53,62,0)),
 url(/images/common/drape.png);
}

.imbue {
overflow: hidden;
}

#area, .banner {
width: 100%;
max-width: 950px;
}

#area:not(.firm), .banner:not(.firm) {
position: fixed;
left: 0;
right: 0;
margin: auto;
}

#area {
height: 100%;
background-image: url(/images/common/ascetic/under.png);
background-position: 50%;
}

#area:before, #area:after, .banner:before, .banner:after {
content: "";
height: 100%;
position: absolute;
top: 0;
}

#area:before, #area:after {
width: 2px;
background-color: #655d5e;
}

#area:before {
left: 0;
background-image: linear-gradient(to right, #655d5e, #635b5c);
border-left: 1px solid #534f52;
border-right: 1px solid #46454b;
}

#area:after {
right: 0;
background-image: linear-gradient(to left, #655d5e, #635b5c);
border-left: 1px solid #46454b;
border-right: 1px solid #534f52;
}

.firm {
left: 50%;
}

.firm, .duct:before, nav div:before {
position: absolute;
}

header {
background-position: 50% 0;
}

header:before {
left: 0;
background-position: 50% -35px;
}

header:after {
right: 0;
background-position: 50% -70px;
}

.banner, .banner:before, .banner:after {
background-image: url(/images/common/hem.png);
}

.banner {
height: 35px;
z-index: 2;
}

.banner:before, .banner:after {
width: 4px;
}

.duct, nav div {
color: #2f2c2c;
font-family: elegant, tahoma;
}

.duct {
width: 130px;
display: block;
position: relative;
line-height: 35px;
letter-spacing: 2px;
margin: auto;
}

.duct:before, nav div:before {
content: "";
width: 100%;
height: 100%;
left: 0;
background-image: url(/images/common/ascetic/gleam.png);
background-position: 50%;
background-repeat: no-repeat;
z-index: -1;
}

.duct:hover:before {
background-image: url(/images/common/ascetic/lux.png);
}

@supports (background: radial-gradient(black, transparent)) {

.duct:before, nav div:before {
background-image: radial-gradient(rgba(203,202,202,0.55), rgba(203,202,202,0) 80%);
background-size: 80% 60%;
}

.duct:hover:before {
background-image: radial-gradient(#cbcaca, rgba(203,202,202,0) 80%);
}
}

/*------------------------------------------------------------------------------------------------*/

nav {
width: 130px;
line-height: 34px;
position: absolute;
top: 0;
cursor: pointer;
}

nav.pick {
left: 0;
}

nav.browse {
right: 0;
}

nav.confined {
left: 30px;
}

nav div {
font-size: 14px;
letter-spacing: 1px;
-webkit-transform: scaleY(0.85);
transform: scaleY(0.85);
-webkit-transform-origin: bottom;
transform-origin: bottom;
}

nav ul {
list-style-type: none;
}

nav ul ul, nav.browse ul {
width: 90px;
font-size: 0.8125em;
line-height: 25px;
margin: auto;
}

nav.confined > ul {
width: 180px;
position: relative;
left: -25px;
}

nav.confined > ul > li:nth-child(1) {
float: left;
}

nav.confined > ul > li:nth-child(2) {
float: right;
}

nav ul.amplify li {
line-height: 35px;
}

nav.pick li li, nav.browse li {
background-color: #d5cebc;
background-image: url(/images/common/ascetic/decide.png);
background-size: 100% 100%;
}

nav li li.picked {
position: relative;
color: blue;
text-shadow: 0 0 2px seashell;
}

nav li li.picked:before {
content: "";
display: block;
width: 100%;
height: 100%;
position: absolute;
background: rgba(0,0,0,0.1);
}

nav.pick li li:not(.picked):hover, nav.browse li:hover {
color: #4b4b4b;
}

.cloak {
display: none;
}

/*------------------------------------------------------------------------------------------------*/

#portal, #reference {
height: 100%;
}

#portal {
width: 100%;
position: absolute;
left: 0;
-moz-user-select: none;
-webkit-touch-callout: none;
-webkit-user-select: none;
-ms-user-select: none;
user-select: none;
-webkit-overflow-scrolling: touch;
cursor: default;
}

.encase {
overflow-y: scroll;
}

.grasp {
top: 0;
}

.apart {
top: 34px;
}

/*------------------------------------------------------------------------------------------------*/

#vacant, td:first-child {
background-size: 100% 100%;
}

#vacant {
height: 25px;
position: relative;
color: #97998f;
font-size: 0.75em;
font-weight: bold;
line-height: 23px;
background-image: url(/images/common/ascetic/script.png);
}

@supports (background: radial-gradient(black, transparent)) {

#vacant {
background-image: radial-gradient(circle, #5d5d5f 28%, #8b8b8b);
}
}

.imbue #vacant {
opacity: 0.35;
}

.profuse {
margin: 34px auto 0;
}

.disperse {
margin: auto;
}

#vacant span {
width: 100%;
position: absolute;
top: 0;
left: 0;
}

#clipboard {
background-size: 100% 100%;
-webkit-box-shadow: inset 0 0 5px 1px #2c3539;
box-shadow: inset 0 0 5px 1px #2c3539;
margin: 0 auto 20px;
}

.archaic #clipboard {
background-image: url(/images/common/ascetic/metal.png);
}

.neoteric #clipboard {
background-image: url(/images/common/metal.webp);
}

#clipboard h1 {
display: inline-block;
color: #2c2b29;
font-size: 21px;
font-weight: normal;
-ms-transform: scaleY(0.95);
-webkit-transform: scaleY(0.95);
transform: scaleY(0.95);
}

#clipboard p {
max-width: 95%;
font-size: 13px;
line-height: 20px;
text-shadow: 0 0 1px #625f5b;
padding: 5px 0 15px;
margin: auto;
}

/*------------------------------------------------------------------------------------------------*/

.grid {
width: 100%;
table-layout: fixed;
background-image: url(/images/common/ascetic/scene.jpg);
background-position: 50%;
border: 1px solid #60646a;
border-collapse: collapse;
margin: auto;
}

tr:first-child {
height: 25px;
font-size: 0.75em;
color: #b5afa9;
text-shadow: 0 0 1px #575252;
background-image: url(/images/common/ascetic/portion.png);
background-position: 50%;
border: 1px solid #676767;
}

tr:not(:first-child) {
height: 20px;
line-height: 20px;
}

tr:hover td:nth-child(2) {
text-shadow: 0 0 2px seashell;
}

tr.amplify, a.amplify, a.amplify:before, a.amplify span {
height: 35px;
line-height: 35px;
}

th:first-child {
width: 70px;
}

td {
border: 1px solid #7b7e82;
}

.veil {
display: none;
}

#item, td:nth-child(2) div {
text-align: left;
padding-left: 5px;
}

#item span {
float: right;
padding-right: 6px;
}

td:first-child {
font-size: 0.875em;
font-weight: bold;
background-image: url(/images/common/ascetic/number.jpg);
}

td:nth-child(2) {
font-size: 0.9375em;
white-space: nowrap;
}

td:nth-child(2) div {
overflow: hidden;
text-overflow: ellipsis;
}

td:nth-child(2) div:first-child {
padding-right: 10px;
}

td:nth-child(2) div:nth-child(2) {
max-width: calc(100% - 45px);
}

td:nth-child(3), td:nth-child(4) {
font-size: 0.8125em;
}

td a, td a:before, td a span {
min-width: 100%;
height: 20px;
float: left;
}

td a, td a:hover:before {
background-size: 100% 100%;
}

td a {
font-size: 0.6875em;
background-image: url(/images/common/ascetic/arise.png);
}

td a:hover:before {
content: "";
background-image: url(/images/common/ascetic/emit.png);
}

@supports (background: radial-gradient(black, transparent)) {

td a {
background-image: linear-gradient(to left, #86887a, #6e6f69 28%, #6e6f69 72%, #86887a);
}

td a:hover:before {
background-image: radial-gradient(#7f8079 40%, #9d9d95 70%);
background-size: 100% 200%;
background-position: 50%;
}
}

td a span {
position: relative;
}

td a:not(.amplify):hover span {
top: -20px;
}

td a.amplify:hover span {
top: -35px;
}

#cushion {
height: 35px;
}

/*------------------------------------------------------------------------------------------------*/

footer {
background-position: 50% -105px;
}

footer:before {
left: 0;
background-position: 50% -140px;
}

footer:after {
right: 0;
background-position: 50% -175px;
}

.seat {
bottom: 0;
}

.linger {
bottom: 10px;
}

.pristine {
visibility: hidden;
}

#quick {
height: 35px;
display: none;
position: absolute;
right: 0;
background-image: url(/images/common/ascetic/chief.png);
background-size: 200% 500%;
z-index: 2;
}

@supports (filter: url(#empty)) {

#area {
background-image: url(/images/common/decorate.svg#enrich-view);
}

.grid {
background-image: url(/images/common/decorate.svg#adorn-view);
}

nav.pick li li, nav.browse li {
background-image: url(/images/common/texture.svg#optate-view);
}

tr:first-child {
background-image: url(/images/common/texture.svg#basis-view);
}

td:first-child {
background-image: url(/images/common/texture.svg#digit-view);
}

#quick {
background-image: url(/images/common/insignia.svg#skip-view);
background-size: 200% 100%;
}
}

.tenon {
background-position: 0 100%;
}

.undo {
background-position: 100% 100%;
}