* {
	font-family: Consolas, Courier, monospace
}
body {
	background-color: #4e0e3b;
	color: #fff;
	margin: 0
}
#carpet-rule:not(:target), #command:not(:target), #gamerule:not(:target), #login:not(:target), #logs:not(:target), #operation-panel > #operation-right:has(>:target:not(#dashboard)) #dashboard, #players:not(:target), body:has(#login:target) #operation-panel {
	opacity: 0 !important;
	pointer-events: none !important
}
[hidden] {
	display: none !important;
	opacity: 0 !important;
	pointer-events: none !important;
	visibility: hidden !important
}
#login, #operation-panel {
	height: 100%;
	left: 0;
	position: fixed;
	top: 0;
	width: 100%;
	z-index: 0
}
#operation-right {
	right: 0;
	width: calc(100% - 210px);
	z-index: 2
}
#operation-left, #operation-right {
	height: 100%;
	position: absolute;
	top: 0
}
#operation-left {
	background-color: #0003;
	height: 100%;
	width: 210px;
	z-index: 1
}
#operation-left > ul {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin: 0;
	max-height: calc(100% - 20px);
	overflow-y: auto;
	padding: 10px;
	width: calc(100% - 20px)
}
#operation-left > ul > li {
	display: block;
	flex-shrink: 0;
	list-style: none;
	min-height: 30px;
	width: 100%
}
#operation-left > ul > li > h2 {
	justify-content: center;
	margin: 0
}
#operation-left > ul > li > a, #operation-left > ul > li > h2 {
	align-items: center;
	box-sizing: border-box;
	color: #fff;
	display: flex;
	height: 100%;
	text-decoration: none;
	width: 100%
}
#operation-left > ul > li > a {
	border-radius: 5px;
	padding: 10px
}
#operation-left > ul > li > a:hover {
	background-color: #ffffff40
}
#operation-left > ul > li > a:active {
	background-color: #ffffff30
}
#operation-panel:has(>#operation-right>#carpet-rule:target) > #operation-left #to-carpet-rule, #operation-panel:has(>#operation-right>#command:target) > #operation-left #to-command, #operation-panel:has(>#operation-right>#dashboard:target) > #operation-left #to-dashboard, #operation-panel:has(>#operation-right>#gamerule:target) > #operation-left #to-gamerule, #operation-panel:has(>#operation-right>#logs:target) > #operation-left #to-logs, #operation-panel:has(>#operation-right>#players:target) > #operation-left #to-players {
	background-color: #ffffff50;
	pointer-events: none
}
#carpet-rule, #command, #dashboard, #gamerule, #logs, #players {
	height: 100%;
	left: 0;
	position: absolute;
	top: 0;
	width: 100%;
	z-index: 3
}
#dashboard, #login, #players, .rules {
	box-sizing: border-box;
	padding: 20px 40px
}
#dashboard, #players {
	display: flex;
	flex-direction: column;
	gap: 15px
}
#dashboard > *, #players > * {
	flex-shrink: 0
}
#dashboard, #login, #players, .rules {
	overflow-y: auto
}
#command {
	display: flex;
	flex-direction: column
}
#operation-panel:has(>#operation-right #carpet-rule:empty) > #operation-left #to-carpet-rule {
	display: none !important
}
.rules > details:open {
	padding: 0 0 20px 20px
}
.rules > details:open > summary {
	margin-left: -20px;
	padding-bottom: 20px
}
#logs-terminal {
	background-color: #4e0e3b;
	height: calc(100% - 20px);
	left: 0;
	margin: 10px;
	position: absolute;
	top: 0;
	width: calc(100% - 20px);
	z-index: 1
}
#command-input {
	border: none;
	box-sizing: border-box;
	flex-shrink: 0;
	font-size: 16px;
	line-height: 1.2em;
	max-height: 40%;
	outline: none;
	padding: 8px 40px;
	resize: none;
	width: 100%;
	field-sizing: content
}
#command-feedback {
	flex-shrink: 1;
	overflow-y: auto;
	padding: 20px 40px;
	width: calc(100% - 80px)
}
#command-feedback > b {
	color: red;
	font-weight: 400
}
.xterm-cursor {
	opacity: 0 !important
}
.full {
	border: 2px solid #fff;
	border-radius: 5px;
	bottom: 5px;
	opacity: .7;
	position: fixed;
	right: 5px;
	width: 45px;
	z-index: 10
}
.full:hover {
	opacity: .9
}
.full:active {
	opacity: .8
}
html:is(:fullscreen, :has(:fullscreen)) #full, html:not(:is(:fullscreen, :has(:fullscreen))) #unfull {
	display: none
}
#message {
	background-color: #fff;
	border: 1px solid #000;
	border-radius: 0 0 10px 10px;
	border-top: none;
	box-sizing: border-box;
	color: #000;
	left: 50%;
	max-width: 30%;
	padding: 10px;
	pointer-events: none;
	position: fixed;
	top: 0;
	transform: translate(-50%, calc(-100% - 10px));
	transition: transform .3s ease, opacity .3s ease
}
#message.info {
	pointer-events: auto;
	transform: translate(-50%)
}
.gamerule-item {
	background-color: #fff2;
	border: 2px solid #d3d3d3;
	border-radius: 5px;
	display: flex;
	flex-direction: column;
	gap: 19px;
	margin-bottom: 10px;
	padding: 10px
}
.gamerule-item h2:first-child {
	margin: 0
}
details > summary > :is(h1, h2, h3, h4, h5, h6) {
	display: inline-block;
	margin: 0
}
a[href] {
	user-select: none
}
.stats {
	display: flex;
	flex-wrap: wrap;
	gap: 15px;
	margin: 0;
	padding: 0;
	width: 100%
}
.stats > li {
	background-color: #fff2;
	border: 1px solid #fff;
	border-radius: 5px;
	display: block;
	flex: 1;
	list-style: none;
	padding: 10px
}
#players-table, .stats > li {
	white-space: nowrap
}
#world-entity-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px
}
#world-entity-actions > button {
	cursor: pointer
}
#players-table > table {
	width: 100%
}
table {
	border: 2px solid #fff;
	border-collapse: collapse;
	border-spacing: 0
}
caption, td, th {
	border: 1px solid #fff;
	padding: 6px
}
caption {
	border: 2px solid #fff;
	border-bottom: 0
}
#player-actions-table, #players-table, .access-list-table {
	overflow-x: auto;
	white-space: nowrap
}
#player-actions-table > table, #players-table > table, .access-list-table > table {
	background-color: #ffffff17;
	width: 100%
}
#player-actions-table button {
	cursor: pointer;
	min-width: 70px
}
#access-lists {
	display: flex;
	flex-wrap: wrap;
	gap: 15px
}
.access-list-table {
	flex: 1 0 auto;
	max-width: 100%
}
.player-operation-buttons {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between
}
.players-empty {
	opacity: .7;
	text-align: center
}
