#uwu4 {
  grid-area: 2/1/4/-1;
}
.cobble {
  height: 100%;
  display: grid;
  grid-template-columns: 6.5rem repeat(20, minmax(0, 1fr)) 6.5rem;
  gap: 1.25rem;
}
.cobble > div {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 0.9rem;
  border-radius: 1rem;
  transform: translateZ(0.2rem);
}
.cobble > div > div {
  display: none;
  flex-direction: column-reverse;
  justify-content: flex-end;
  overflow-y: scroll;
  transform: translateZ(0.3rem);
}
.cobble > div > div .head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 0.3rem;
  margin-bottom: 0.6rem;
  border-bottom: 0.14rem solid transparent;
  border-image: var(--color-gradient-5) 1;
}
.cobble > div > div .head h3 {
  margin: 0 0.5rem 0 0.1rem;
}
.cobble > div > div .head h3 > .fas {
  margin-right: 0.22rem;
  font-size: 1.24rem;
}
.cobble > div > div .head .button .fas {
  font-size: 0.95rem;
  transition: transform 0.5s ease-in-out;
}
.cobble > div > div .body {
  overflow-y: scroll;
}
#left {
  grid-area: 1/1/2/5;
}
#left #tags {
  flex-shrink: 0;
  counter-reset: tags 0;
}
#left #tags .body {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  padding: 0.1rem 0 0.4rem;
}
#left #tags .head h3::after {
  content: "~" counter(tags);
  margin-left: 0.35rem;
}
#left #archives .body {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
#left #archives .body input[type="checkbox"]:checked ~ div {
  max-height: 0;
}
#left #archives .body input[type="checkbox"]:checked ~ label > .fas {
  transform: rotateX(180deg);
}
#left #archives .body > div {
  counter-reset: archives 0;
  display: flex;
  flex-direction: column-reverse;
  margin: 0 0.25rem;
}
#left #archives .body > div * {
  line-height: 1.68;
  font-size: 0.95rem;
}
#left #archives .body > div label {
  margin: 0.1rem 0;
  font-weight: bold;
  cursor: pointer;
}
#left #archives .body > div label::after {
  content: " (" counter(archives) ")";
}
#left #archives .body > div label .fas {
  margin-right: 0.2rem;
  transform: translateY(-0.02rem);
  transition: transform 0.25s ease-in-out;
}
#left #archives .body > div div {
  display: flex;
  flex-direction: column;
  margin-left: 1rem;
  max-height: 70dvh;
  transition: max-height 0.7s ease;
}
#left #archives .body > div div > p {
  counter-increment: archives 1;
}
#left #archives .body > div div > p::before {
  content: "『";
}
#left #archives .body > div div > p::after {
  content: "』";
}
#left #archives .head h3::after {
  visibility: hidden;
  content: "0";
}
#left #archives #awa4:checked ~ .head h3::after {
  content: "1";
}
#left #archives #awa4:checked ~ .head .button > .fas {
  transform: rotate(-180deg);
}
#left #archives #awa4:checked ~ .body,
#left #archives #awa4:checked ~ .body > div > div {
  flex-direction: column-reverse;
}
#left #info {
  flex-shrink: 0;
}
#left #info .body .brief {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  width: 100%;
  height: 100%;
  padding: 0 0.4rem 0.2rem 0;
}
#left #info .body .brief p {
  display: flex;
  align-items: center;
  height: 2rem;
  gap: 0.3rem;
}
#left #content .body .list {
  width: 95%;
  padding: 0 0 0.6rem 0;
}
#left #content .body .list h1,
#left #content .body .list h1 * {
  font-size: 1.05rem;
}
#left #content .body .list h1 {
  margin-left: 0.5rem;
}
#left #content .body .list h2,
#left #content .body .list h2 * {
  font-size: 0.9rem;
}
#left #content .body .list h2 {
  margin-left: 2rem;
}
#left #content .body .list h3,
#left #content .body .list h3 * {
  font-size: 0.8rem;
}
#left #content .body .list h3 {
  margin-left: 3rem;
}
#left #content .body .list > * {
  display: block;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  margin-bottom: 0.25rem;
}
#left #content .body .list > * a:hover {
  cursor: pointer;
}
#left #content .body .list > * a:hover::before {
  content: "# ";
}
#right {
  grid-area: 1/-5/2/-1;
}
#right #stats {
  flex-shrink: 0;
}
#right #stats .body {
  display: grid;
  grid-template-columns: repeat(2, 100%);
  gap: 1rem;
  overflow-x: hidden;
}
#right #stats .body > div {
  transition: transform 0.5s ease-in-out;
}
#right #stats #table > table {
  width: 100%;
  border-collapse: collapse;
}
#right #stats #table > table td {
  padding: 0.25rem 0.5rem;
  text-align: center;
  border-bottom: 0.08rem solid var(--color-border-1);
}
#right #stats #table > table td:first-child {
  font-weight: bold;
}
#right #stats #table > table td:last-child {
  font-style: italic;
}
#right #stats #table > table tr {
  transition: background-color 0.2s ease-in-out;
}
#right #stats #table > table tr:nth-child(odd) {
  background: var(--color-table-odd);
}
#right #stats #table > table tr:hover {
  background: var(--color-table-hover);
}
#right #stats #paper {
  padding: 0 0.2rem;
  text-align: center;
}
#right #stats #paper h4 {
  justify-content: center;
}
#right #stats #paper p {
  margin-bottom: 0.6rem;
}
#right #stats #awa2:checked ~ .head .switch > .fas {
  transform: rotate(540deg);
}
#right #stats #awa2:checked ~ .body > div {
  transform: translateX(calc(-100% - 1rem));
}
#right #history #awa3:checked ~ .head .reverse > .fas {
  transform: rotate(40deg);
}
#right #history .new,
#right #history #awa3:checked ~ :is(.body, .head) .old {
  display: inline-flex;
}
#right #history .old,
#right #history #awa3:checked ~ :is(.body, .head) .new {
  display: none;
}
#right #history .head b {
  font-size: 1.4rem;
}
#right #history .body {
  height: 100%;
}
#right #history .body > div {
  flex-direction: column;
  gap: 0.8rem;
  width: 98%;
  overflow-x: hidden;
  transition: opacity 0.5s ease-in-out;
  animation: scale-up-center 0.5s cubic-bezier(0.390, 0.575, 0.565, 1.000) both;
}
#right #history .body > div * {
  font-size: 0.9rem;
  line-height: 1.7;
}
#right #history .body fieldset {
  background: linear-gradient(to left, var(--color-bg-3), transparent 90%);
  min-inline-size: auto;
  border: 0.14rem solid var(--color-border-1);
  border-radius: 1rem;
  padding: 0 0.5rem 0.5rem;
}
#right #history .body fieldset > h5 {
  margin-left: 1rem;
  font-size: 0.92rem;
  text-align: right;
  justify-content: flex-end;
}
#right #history .body fieldset > h5::before {
  content: "From.『";
}
#right #history .body fieldset > h5::after {
  content: "』";
}
#right #history .body fieldset legend {
  margin: auto;
  padding: 0.1rem 0.5rem;
  font-weight: bold;
}
#right #history .body fieldset legend .far {
  margin-left: 0.18rem;
  font-size: 0.9rem;
}
#right #history .body fieldset legend ~ p {
  font-style: italic;
  font-size: 0.85rem;
  text-align: center;
}
#right #history .body fieldset .content {
  margin: 0.3rem;
}
#right #history .body fieldset .content code,
#right #history .body fieldset .content code * {
  font-size: 0.8rem;
}