#ovo1:checked ~ #carton > #layer1 .head span::after {
  content: "倒序";
}
#ovo1:checked ~ #carton > #float .layer1 .reverse > .fas {
  transform: rotate(-180deg);
}
#ovo2:checked ~ #carton > #layer2 #markdown {
  display: none;
}
input[type="radio"]:checked + input + input + input + div ~ div .search,
input[type="radio"]:checked + input + input + div ~ div .home,
input[type="radio"]:checked + input + div ~ div .console,
input[type="radio"]:checked + div ~ div .comments {
  background: var(--color-bg-4);
}
input[type="radio"]:checked:not(#uvu1) ~ #carton #layer2,
input[type="radio"]:checked:not(#uvu1) + input + input + input + div #search,
input[type="radio"]:checked:not(#uvu1) + input + div #console,
input[type="radio"]:checked:not(#uvu1) + div #comments {
  display: flex;
}
input[type="radio"]:checked:not(#uvu1) ~ #binding .layer .fas::before {
  content: "\f2d2";
}
input[type="radio"]:checked:not(#uvu1) ~ #carton #layer1 {
  opacity: 0.2;
}
input[type="radio"]:checked:not(#uvu1) ~ #carton .layer2,
input[type="radio"]:checked:not(#uvu1) + input + input + #carton .layer2 .search,
input[type="radio"]:checked:not(#uvu1) + input + #carton .layer2 .console,
input[type="radio"]:checked:not(#uvu1) + #carton .layer2 .comment {
  display: inline-block;
}
input[type="radio"]:checked:not(#uvu1) ~ #carton .layer1 {
  display: none;
}
#uvu4:checked ~ #binding .search {
  animation: fade 0.4s ease forwards;
}
#uwu5 {
  counter-reset: test -1;
  grid-area: 2/5/4/-5;
  display: flex;
  flex-direction: row-reverse;
  border-radius: 1rem;
  transform: translateZ(0.2rem);
  z-index: 100;
}
#uwu5 > * {
  height: 100%;
}
#uwu5 hr {
  background: var(--color-gradient-6);
  width: 0.14rem;
  margin: 0.3rem 0;
}
#binding .buttons {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin: 0.7rem 0.5rem;
}
#binding .buttons hr {
  background: var(--color-gradient-4);
  width: 105%;
  height: 0.14rem;
  margin: 0.5rem 0;
}
#binding .buttons .button {
  width: 2.12rem;
  height: 2.12rem;
  margin: 0.1rem 0;
  transform: translateZ(0.4rem);
  position: relative;
}
#binding .buttons .button .fas {
  font-size: 1.05rem;
}
#binding .buttons .button:hover .fas + span {
  visibility: visible;
  opacity: 1;
  left: 2.75rem;
}
#binding .buttons .button.layer {
  background: var(--color-bg-4);
}
#binding .buttons .button.layer span::after {
  content: "第" counter(test) "层";
}
#binding .buttons .button .fas + span {
  visibility: hidden;
  opacity: 0;
  position: absolute;
  background: var(--color-gradient-7);
  top: 0;
  left: 3.5rem;
  width: max-content;
  padding: 10% 18%;
  border: 0.14rem solid var(--color-border-5);
  border-radius: 0.35rem;
  letter-spacing: 0.05rem;
  box-shadow: 0.5rem 0.5rem 1rem var(--color-shadow-3);
  transform: translate3d(0, -0.01rem, 0.2rem);
  transition: left 0.18s ease-in-out, opacity 0.2s ease-in-out, visibility 0.2s ease-in-out;
}
#binding .buttons .button .fas + span::before {
  content: " ";
  position: absolute;
  border: 0.5rem solid transparent;
  border-right-color: var(--color-primary-8);
  width: 0;
  height: 0;
  left: -1.05rem;
  top: 25%;
}
#binding .buttons .search {
  visibility: hidden;
  opacity: 0;
  animation: fade- 0.3s ease forwards;
}
#carton {
  width: 100%;
  transform: translateZ(0.3rem);
}
#carton > div {
  counter-increment: test 1;
  position: absolute;
  padding: 0.8rem 1rem;
  width: 100%;
}
#carton > div > div {
  width: 100%;
}
#carton > div:not(#float) {
  height: 100%;
}
#float {
  padding-bottom: 0;
  text-align: right;
  transform: translateZ(0.2rem);
}
#float .buttons .layer1 div,
#float .buttons .layer2,
#float .buttons .layer2 > div {
  display: none;
}
#float .button {
  background: var(--color-bg-4);
  width: 1.85rem;
  height: 1.85rem;
  margin-left: 0.3rem;
}
#layer1 {
  transition: opacity 0.1s ease-in-out;
}
#layer1 > * {
  display: none;
}
#layer1 #essays {
  counter-reset: page 0;
  flex-direction: column-reverse;
  justify-content: flex-end;
  height: 100%;
}
#layer1 #essays #flip {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  position: absolute;
  bottom: 0.8rem;
  right: 0;
  transform: translateX(0.3rem);
}
#layer1 #essays #flip * {
  font-size: 1.05rem;
  font-weight: bold;
  color: var(--color-text-3);
  text-shadow: 0 0 1.5rem var(--color-shadow-5);
  transition: color 0.3s ease;
}
#layer1 #essays #flip a,
#layer1 #essays #flip span {
  display: block;
}
#layer1 #essays #flip > div:hover {
  background-color: unset;
}
#layer1 #essays #flip > div:hover * {
  color: var(--color-text-3-hover);
}
#layer1 #essays .body {
  overflow: hidden;
}
#layer1 #essays .body .page {
  counter-increment: page 1;
  overflow: hidden;
  height: 0;
}
#layer1 #essays .body .page:target {
  height: 100%;
}
#layer1 #essays .head {
  margin: 0.4rem 0 1rem;
}
#layer1 #essays .head h3::after {
  content: "共有" counter(page) "页（右下角/方向键/滚轮 翻页）";
}
#layer1 #essays .head * {
  font-size: 1.2rem;
}
#layer1 #essays .head .fas {
  margin-right: 0.5rem;
}
#layer1 #essay {
  flex-direction: column;
  overflow-y: scroll;
  height: 100%;
}
#layer1 #essay .body {
  margin-right: 0.7rem;
  transform: translateY(-0.5rem);
}
#layer1 #essay .body > * {
  line-height: 1.75;
  margin: 0.8rem 0;
}
#layer1 #essay .body h1:not(:first-of-type),
#layer1 #essay .body h2 {
  margin-top: 4%;
}
#layer1 #essay .body h3,
#layer1 #essay .body h4 {
  margin-top: 3%;
}
#layer1 #essay .body h5,
#layer1 #essay .body h6 {
  margin-top: 2%;
}
#layer1 #essay .body h1,
#layer1 #essay .body h2,
#layer1 #essay .body h3 {
  cursor: pointer;
}
#layer1 #essay .body h1 > a,
#layer1 #essay .body h2 > a,
#layer1 #essay .body h3 > a {
  width: 100%;
  font-size: inherit;
  text-decoration: none;
}
#layer1 #essay .body h1:hover a::after,
#layer1 #essay .body h2:hover a::after,
#layer1 #essay .body h3:hover a::after {
  content: "#";
  margin-left: 0.5rem;
}
#layer1 #essay .body details br {
  display: none;
}
#layer1 #essay .body table {
  background: transparent;
  width: 100%;
  border-spacing: 0;
  border: 2px solid rgba(50, 55, 58, 0.8);
  border-radius: 5px;
  margin: 14px 0;
}
#layer1 #essay .body table * {
  font-size: 0.95em;
}
#layer1 #essay .body thead > tr > th {
  vertical-align: bottom;
}
#layer1 #essay .body tr > th,
#layer1 #essay .body tr > td {
  padding: 8px;
  vertical-align: top;
}
#layer1 #essay .body td,
#layer1 #essay .body th {
  text-align: left;
}
#layer1 #essay .body tbody > tr:nth-child(odd) > td,
#layer1 #essay .body tbody > tr:nth-child(odd) > th {
  background: var(--color-border-7);
  color: #999;
}
#layer1 #essay .body thead > tr,
#layer1 #essay .body tbody > tr:nth-child(even) > td,
#layer1 #essay .body tbody > tr:nth-child(even) > th {
  background: var(--color-primary-10);
}
#layer2 {
  padding:1.1rem 1rem;
  animation:fade 0.1s ease-in-out;
  z-index:150;
}
#layer2, #layer2 > div {
  display: none;
}
#console {
  flex-direction: row;
}
#console .head {
  align-items: baseline;
  padding: 0.3rem 1.2rem 0 0;
  writing-mode: vertical-rl;
}
#console .head * {
  letter-spacing: 0.4rem;
}
#console .head .fas {
  width: 1.6rem;
  height: 1.6rem;
  padding: 0.01rem 0 0 0.03rem;
  margin-bottom: 0.6rem;
  font-size: 1.6rem;
  animation: rolling 1.6s linear infinite;
}
#console .body {
  width: 100%;
}
#console .body fieldset {
  width: 90%;
  padding: 0.7rem;
  margin-bottom: 2rem;
  border-top: 0.14rem solid var(--color-border-3);
  border-radius: 2%;
}
#console .body fieldset legend {
  margin: auto;
  padding: 0 0.5rem;
}
#console .body h4 {
  font-size: 1.15rem;
}
#comments {
  flex-direction: column;
  padding: 0 0.3rem;
}
#comments > div {
  width: 100%;
}
#comments .head h2 span {
  font-size: 1.42rem;
}
#comments .head h2 .fas {
  margin-right: 0.4rem;
  font-size: 1.8rem;
}
#comments .body {
  display: grid;
  height: 100%;
  overflow: hidden;
  grid-template-columns: auto max-content;
}
#comments .body #forum {
  background: rgba(160, 180, 190, 0.17);
  margin: 0.8rem 1rem 0.8rem 0;
  padding: 1rem 0.7rem;
  height: 6rem;
  border: 0.15rem dashed var(--color-border-6);
  border-radius: 1rem;
  font-size: 1.02rem;
  line-height: 1.4;
}
#comments .body #forum textarea {
  background-color: transparent;
  width: 100%;
  height: 100%;
  padding: 0 0.4rem;
  resize: none;
  color: var(--color-text-4);
}
#comments .body #forum textarea ~ * {
  transform: translateX(-0.6rem);
}
#comments .body #forum textarea::placeholder {
  color: var(--color-text-2);
}
#comments .body #forum textarea:focus ~ #responses {
  height: 4rem;
}
#comments .body #forum textarea:focus ~ .comments {
  height: 20rem;
}
#comments .body #forum #responses {
  margin-top: 1.5rem;
  overflow: hidden;
  height: 0;
  transition: height 0.5s ease;
}
#comments .body #forum #responses h3 {
  font-size: 1.15rem;
}
#comments .body #forum #responses .button {
  width: auto;
  height: auto;
  margin: 0.3rem 0.5rem;
  padding: 0.2rem 0.6rem;
  font-size: 0.96rem;
}
#comments .body #forum #submit {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 1.35rem;
}
#comments .body #forum #submit #user {
  background: transparent;
  padding: 0.07rem;
  margin: 0 0.5rem 0.1rem 0;
  width: 100%;
  border-bottom: 0.15rem solid var(--color-border-6);
  font-size: 1rem;
  color: var(--color-text-4);
}
#comments .body #forum #submit #user::placeholder {
  color: var(--color-text-2);
}
#comments .body #forum #submit button {
  background: var(--color-primary-6);
  padding: 0.2rem 1rem;
  border: 0.15rem solid var(--color-border-7);
  border-radius: 1rem;
  cursor: pointer;
}
#comments .body #forum #submit button * {
  font-size: 0.9rem;
  color: var(--color-text-4);
  white-space: nowrap;
}
#comments .body #forum .comments {
  display: flex;
  flex-direction: column;
  width: 106%;
  height: 23.5rem;
  padding-right: 1rem;
  overflow-y: scroll;
  transition: height 0.5s ease;
}
#comments .body #forum .comments .all {
  display: flex;
  flex-direction: column-reverse;
  align-items: flex-start;
}
#comments .body #forum .comments .comment {
  max-width: 60%;
}
#comments .body #forum .comments .comment > h3 {
  margin: 0 0 0.5rem 0;
  font-size: 1rem;
  cursor: pointer;
}
#comments .body #forum .comments .comment > h3::before {
  content: "@";
  margin-right: 0.1rem;
}
#comments .body #forum .comments .comment > h3:empty::after {
  content: "测试昵称";
}
#comments .body #forum .comments .comment .bubble {
  width: fit-content;
  min-width: 3rem;
  min-height: 2rem;
  background: var(--color-primary-5);
  position: relative;
  margin-bottom: 1.2rem;
  padding: 0.5rem 0.1rem 0.5rem 0.5rem;
  border: 0.14rem solid var(--color-border-3);
  border-radius: 0.8rem;
  transition: all 1s ease;
  cursor: pointer;
}
#comments .body #forum .comments .comment .bubble .content {
  max-height: 6rem;
  padding: 0 0.4rem 0 0;
  overflow-y: auto;
  transform: scale(0.9);
  transition: all 1s ease;
}
#comments .body #forum .comments .comment .bubble .content:empty::after {
  content: "在框中输入的文本将于此处预览";
}
#comments .body #forum .comments .comment .bubble,
#comments .body #forum .comments .comment .bubble * * {
  overflow-wrap: anywhere;
}
#comments .body #forum .comments .comment .bubble::before {
  content: " ";
  position: absolute;
  border: 0.61rem solid transparent;
  border-bottom-color: var(--color-border-3);
  top: 0;
  left: 1rem;
  transform: translateY(-1.2rem);
}
#comments .body #forum .comments .preview {
  align-self: flex-end;
}
#comments .body #forum .comments .preview > h3 {
  justify-content: flex-end;
}
#comments .body #forum .comments .preview .bubble {
  margin-left: auto;
}
#comments .body #forum .comments .preview .bubble::before {
  border-bottom-color: var(--color-border-3);
  left: unset;
  right: 1rem;
}
#comments .body #markdown {
  margin-top: 0.5rem;
  overflow-x: hidden;
  overflow-y: scroll;
  border-left: 0.12rem solid var(--color-border-1);
}
#comments .body #markdown .content {
  width: max-content;
  margin: 0 1rem;
  transform: translateY(-1.5rem);
}
#comments .body #markdown .content * {
  color: var(--color-text-4);
  height: 3rem;
  display: flex;
  align-items: end;
}
#comments .body #markdown .content::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: linear-gradient(var(--color-border-1) 0.1rem, transparent 0.1rem);
  background-size: 100% 1.5rem;
  background-position: 0 2.8rem;
  z-index: 0;
}
#search {
  flex-direction: column;
  overflow: hidden;
}
#search .head h2,
#search .head h2 * {
  font-size: 1.2rem;
}
#search .head h2 .fas {
  margin-right: 1rem;
}
#search .head {
  margin-bottom: 0.67rem;
}
#search .body {
  width: 100%;
  height: 100%;
  overflow-y: scroll;
}
#essays .essay,
#search .essay {
  counter-increment: essays 1;
  margin: 0 0.2rem 0.8rem;
  padding: 0.6rem 0;
  width: 92%;
  border-bottom: 0.14rem dashed var(--color-border-4);
  cursor: pointer;
  animation: scale-up-center 0.3s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
}
#essays .essay *,
#search .essay * {
  line-height: 1.57;
}
#essays .essay h2::before,
#search .essay h2::before {
  font-size: 1.7rem;
}
#essays .essay p,
#search .essay p {
  display: flex;
  flex-wrap: wrap;
}
#essays .essay p span,
#search .essay p span {
  margin-right: 0.5rem;
}
#essays .essay p span:first-letter,
#search .essay p span:first-letter {
  font-size: 0.96rem;
  font-weight: bold;
}