@charset "utf-8";

/* // Article
---------------------------------------------------------------------------------------------------- */
article h1 small {
  display: inline-block;
  font-size: 50%;
}

/* // Search-Form
---------------------------------------------------------------------------------------------------- */
form#form-search{
  width: max-content;
  margin-left: auto;
  padding: 0;
  border-width: 1px;
  border-style: solid;
  border-radius: 1rem;
}
form#form-search h3 {
  width: max-content;
  margin: 0 0 0 auto;
  padding: 0 1em;
  cursor: pointer;
}
form#form-search h3:hover {
  background-color: rgba(100,200,255,0.2);
}
form#form-search p {
  width: max-content;
  margin: .5rem 1.5rem;
  margin-left: auto;
  padding: .5em 1em;
  text-align: left;
}
form#form-search p input {
  height: 3rem;
  margin: 1px;
  vertical-align:middle;
}
form#form-search p input[type="submit"] {
  display: block;
  margin-left: auto;
}
form#form-search p input[type="number"] {
  width: 6em;
}

/* // List
---------------------------------------------------------------------------------------------------- */
.list {
  margin: 1.5rem 0 5rem;
  padding: 1.5rem 0 0;
}
.list h2 {
  font-size: 2rem;
}
.list h2 small {
  font-size: 0.74em;
  font-weight: normal;
}
.list h2 small > small {
  font-size: 0.85em;
}
.list table,
.list th,
.list td {
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
}
.list table {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
}
.list table thead {
  display: block;
  position: sticky;
  top: 5rem;
  z-index: 1;
}
.list table tbody {
  display: block;
}
.list table tr {
  display: grid;
  grid-template-columns: 26rem 0.7fr 2.5em 5.5em 2em 4.8em 1.7fr 0.6fr;
  grid-template-areas:
    "NAME   PL RACE RACE RANK RANK  CLS DATE"
    "NAME   PL  GEN  AGE  LVL  EXP  CLS DATE"
    "NAME TAGS TAGS TAGS TAGS TAGS TAGS DATE"
    ;
}
.list table .name   { grid-area: NAME; }
.list table .player { grid-area:   PL; }
.list table .race   { grid-area: RACE; }
.list table .age    { grid-area:  AGE; }
.list table .gender { grid-area:  GEN; }
.list table .rank   { grid-area: RANK; }
.list table .lv     { grid-area:  LVL; }
.list table .exp    { grid-area:  EXP; }
.list table .class  { grid-area:  CLS; }
.list table .tags   { grid-area: TAGS; }
.list table .date   { grid-area: DATE; }

.list table tr > th {
  display: grid;
}
.list table .name {
  position: relative;
}
.list table .name small.fellow {
  position: absolute;
  right: 0;
  bottom: .1rem;
  font-size: 80%;
  line-height: 1;
  font-weight: normal;
}

.list table th > a,
.list table th > span {
  display: grid;
  align-items: center;
  margin: 1px;
  padding: 5px;
  background: rgba(170,190,235,0.9);
  border-radius: 5px;
  white-space: nowrap;
}
.night body .list table th > a,
.night body .list table th > span {
  background: rgba(30,50,100,0.9);
}
.list table th > a:hover {
  background: rgba(150,170,235,0.9);
}
.night body .list table th > a:hover {
  background: rgba(50,70,120,0.9);
}
.list table tbody tr {
  border-bottom-width: 1px;
  border-bottom-style: solid;
  border-bottom-color: rgba(100,127,150,0.5);
  position: relative;
}
.list table tbody tr:nth-child(even) {
  background: rgba(165,170,175,0.1);
}
.list table tbody tr::before,
.list table tbody tr::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  pointer-events: none;
}
.list table tbody tr:hover::after {
  background: linear-gradient(to top, rgba(100,230,255,0.2), transparent 50%);
}
.list table tbody tr.hide::before {
  background-image: linear-gradient(135deg, rgba(80,80,200,0.3) 10px, transparent 10px);
  background-position: top left;
}
.list table td.lv {
  font-size: 1.15em;
  line-height: 1;
}
.list table th.fellow {
  font-size: 0.8em;
}
.list table th.fellow > span {
  width: 2.9rem;
}
.list table th.fellow > span > span {
  display: block;
  margin: 0 -100%;
  transform: scaleX(0.5)
}
.list table td {
  min-width: 0;
  padding: 2.5px;
  text-align: center;
  align-content: center;
  word-break: auto-phrase;
  overflow-wrap: break-word;
}
.list table td.name {
  height: 100%;
  padding: 0;
  line-height: 1;
}
.list table td.name {
  height: 100%;
  padding: 0;
  line-height: 1;
  & a {
    display: block;
    height: 100%;
    font-size: 1.4rem;
    font-weight: bold;
    text-align: center;
    align-content: center;
  }
}
.list table td.tags {
  border-top: 1px solid #7775;
}
.list table th.gender span.small {
  display: inline-block;
  transform: scaleY(calc(1/0.8));
  font-size: 0.8em;
}
.list table td.lv {
  font-size: 1.15em;
  line-height: 1;
}
.list table td:is(.race, .rank) span.small {
  display: inline-block;
  transform: scaleY(calc(1/0.85));
}
.list table td span[data-gender] {
  display: inline-block;
  width: calc(1em + 6px);
  padding: 3px;
  border-radius: 3px;
  font-size: 90%;
  line-height: 1;
}
.list table td span[data-gender=male]   { background-color: #07f3; }
.list table td span[data-gender=female] { background-color: #f003; }
.list table td span[data-gender=cross]  { background-color: #70f3; }
.list table td span[data-gender=unknown]{ background-color: #7773; }
.list table td.tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: start;
  padding: 0 .2em 0;
}
.list table td.tags:empty {
  display: none;
}
.list table td.tags a {
  margin: .2em .5em;
  padding: .3rem .5rem;
  border-radius: 12px 5px 5px 12px;
  background-color: rgba(140,170,200,0.2);
  color: inherit;
  font-size: 80%;
  line-height: 1;
}
.list table td.tags a:first-child {
  margin-left: 0;
}
.list table td.tags a::before {
  content:"●";
  display: inline-block;
  margin-left: -.3rem;
  color: #fff;
  font-size: 80%;
  transform: scale(0.8);
}
.night .list table td.tags a::before {
  color: #000;
}
.list table td.tags a:hover {
  background-color: rgba(120,220,220,0.4) !important;
}
.list table td.tags span.session {
  margin-left: auto;
  font-size: 80%;
}
.list table td.tags span.session::before {
  content: "";
  font-size: 90%;
}
@media screen and (max-width:450px){
  .list table td.name a {
    font-size: 1.1rem;
  }
}
.list table td.name a:hover {
  background: rgba(180,200,255,0.1);
}
.list table td:is(.player, .author) {
  word-break: break-all;
  font-size: 90%;
}
.list table td.class {
  text-align: left;
  font-size: 80%;
  line-height: 1.1;
}
.list table td.race > div {
  flex-grow: 1;
  margin: 0 -6%;
  transform: scaleX(0.88);
}
.list table td.class > div {
  flex-grow: 1;
  margin: 0 calc(-6% + -1em) 0 -6%;
  transform: scaleX(0.88);
}
.list table td.class > div > span {
  display: inline-block;
  margin-right: 1em;
}
.list table th.date {
  font-size: 0.8em;
}
.list table td.date {
  font-family: Arial;
  font-size: 0.8em;
}
.list table td.date > div > span {
  display: inline-block;
}
.list table td.fellow {
  font-size: 150%;
  line-height: 1;
}

.list .more {
  padding: .5rem;
  text-align: right;
  font-size: 150%;
  font-weight: bold;
}

@media screen and (max-width:1024px){
  .list table tr {
      display: grid;
      grid-template-columns: 1.7fr 0.7fr 0.4fr 0.6fr 2em 0.8fr 1.1fr 3.4em;
  }
  .list table .fellow{ display: none; }
}

/* // List-Monster
---------------------------------------------------------------------------------------------------- */
.list.monster table tr {
  grid-template-columns: 24rem 0.6fr 6.8em 3.2em 3.2em 6.8em 1fr 0.5fr;
  grid-template-areas:
    "NAME AUTHOR TAXA   LV PARTS DISPO HABIT DATE"
    "NAME   TAGS TAGS TAGS  TAGS  TAGS  TAGS DATE"
  ;
}
.list.monster table tr:has(.tags:empty) {
grid-template-areas:
  "NAME AUTHOR TAXA   LV PARTS DISPO HABIT DATE"
;
}
.list.monster table .name        { grid-area: NAME; }
.list.monster table .author      { grid-area: AUTHOR; }
.list.monster table .taxa        { grid-area: TAXA; }
.list.monster table .level       { grid-area: LV; }
.list.monster table .parts       { grid-area: PARTS; }
.list.monster table .disposition { grid-area: DISPO; }
.list.monster table .habitat     { grid-area: HABIT; }
.list.monster table .date        { grid-area: DATE; }

.list.monster table th:is(.level, .parts) span.small {
display: inline-block;
transform: scaleY(calc(1/0.8));
font-size: 0.8em;
}
.list.monster table td.name a {
font-size: 1.4rem;
}
.list.monster table td.level {
font-size: 1.2em;
}
.list.monster table td:is(.taxa) span.small {
display: inline-block;
transform: scaleY(calc(1/0.85));
}
.list.monster table.mount tr {
grid-template-columns: 24rem 1fr 7.2em 5.2em 3.2em 2fr 0.8fr;
grid-template-areas:
  "NAME AUTHOR TAXA   LV PARTS PRICE DATE"
  "NAME   TAGS TAGS TAGS  TAGS  TAGS DATE"
;
}
.list.monster table.mount tr:has(.tags:empty) {
grid-template-areas:
  "NAME AUTHOR TAXA   LV PARTS PRICE DATE"
;
}
.list.monster table .price { grid-area: PRICE; }

@media screen and (max-width:735px){
.list.monster table tr {
  grid-template-columns: 18rem 6em 5em 3.2em 3.2em 5.8em 1fr 3.5em;
}
.list.monster table.mount tr {
  grid-template-columns: 18rem 6em 6.2em 4.2em 3.2em 1fr 3.5em;
}
.list.monster table td:is(.taxa, .disposition, .habitat, .price){
  font-size: 90%;
}
}


/* // List-Item
---------------------------------------------------------------------------------------------------- */
.list.item table tr {
    display: grid;
    grid-template-columns: 24rem 0.5fr 0.6fr 6em 1fr 0.4fr;
    grid-template-rows: auto;
    grid-template-areas:
      "NAME AUTHOR CATEGORY PRICE SUMMARY DATE"
    ;
}
@media screen and (max-width:1024px){
  .list.item table tr {
      font-size: .8em;
      grid-template-columns: 1fr 0.5fr 0.6fr 6em 1fr;
      grid-template-areas: "NAME AUTHOR CATEGORY PRICE SUMMARY";
  }
}
.list.item table .name    { grid-area: NAME; }
.list.item table .author  { grid-area: AUTHOR; }
.list.item table .category{ grid-area: CATEGORY; }
.list.item table .price   { grid-area: PRICE; }
.list.item table .summary { grid-area: SUMMARY; }
.list.item table .date    { grid-area: DATE; }
.list.item table td.name a {
  font-size: 1em;
}
.list.item table td.category,
.list.item table td.summary {
  font-size: .85em;
}
.list.item table td.summary {
  text-align: left;
}

/* // List-Arts
---------------------------------------------------------------------------------------------------- */
.list.arts table tr {
    display: grid;
    grid-template-columns: 24rem 0.5fr 4em 0.6fr 1fr 0.4fr;
    grid-template-rows: auto;
    grid-template-areas:
      "NAME AUTHOR CATEGORY SUB SUMMARY DATE"
    ;
}
.list.arts table .name    { grid-area: NAME; }
.list.arts table .author  { grid-area: AUTHOR; }
.list.arts table .category{ grid-area: CATEGORY; }
.list.arts table .sub     { grid-area: SUB; }
.list.arts table .summary { grid-area: SUMMARY; }
.list.arts table .date    { grid-area: DATE; }
.list.arts table td.name a {
  font-size: 1.4rem;
}
.list.arts table td.sub span {
  display: inline-block;
}
.list.arts table td.summary {
  font-size: 1.2rem;
}

/* // List-Monster
---------------------------------------------------------------------------------------------------- */
.list ul {
  display: grid;
  grid-gap: .5rem;
  grid-template-columns: 1fr 1fr;
  list-style: none;
}
.list ul li {
}
.list ul li.hide {
  background-image: linear-gradient(135deg, rgba(80,80,200,0.3) 20px, transparent 20px);
  background-position: top left;
  border-radius: 1rem;
}
.list ul li a {
  display: block;
  position: relative;
  padding: 1em;
  background-color: rgba(255,255,255,0.5);
  border-color: rgba(100,127,150,0.5);
  border-width: 1px;
  border-style: solid;
  border-radius: 1rem;
  font-size: 110%;
  font-weight: bold;
  text-align: center;
}
.night .list ul li a {
  background-color: rgba(0,0,0,0.5);
}
.list ul li a::before {
  content: 'Lv'attr(data-lv);
  position: absolute;
  top: .1em;
  left: .5em;
  font-weight: normal;
  font-size: 80%;
}
.list ul li a small {
  display: block;
  position: absolute;
  right: .5em;
  bottom: .1em;
  font-weight: normal;
}
.list-monster ul li a small::before {
  content:"by "
}
.list ul li a:hover {
  background: rgba(180,200,255,0.1);
}
.night .list ul li a::before,
.night .list ul li a small {
  color: #aad;
}
@media screen and (max-width:1024px){
  .list ul {
    margin: .5em 0;
  }
  .list ul li a {
      font-size: .9em;
  }
}
@media screen and (max-width:450px){
  .list ul {
    margin: .3em;
  }
  .list ul li a {
      font-size: .8em;
  }
}

/* // List-Making
---------------------------------------------------------------------------------------------------- */
#making {
  max-width: 400px;
  margin: 3em auto;
}
#making form dl {
  display: grid;
  grid-template-columns: 5em 1fr;
}
#making form dl dt {
  text-align: justify;
  text-align-last: justify;
}
#making form dl dt,
#making form dl dd {
  padding: 0.2em 0.5em;
  border-width: 0 0 1px;
  border-style: solid;
}
#making form dl dd:nth-of-type(2) input {
  width: 100%;
}
#making form dl dd:nth-of-type(3) input {
  width: 4.5em;
  text-align: center;
}

#making-posts .post {
  max-width: 500px;
  margin: .5em auto 1.5em;
  padding-top: 0;
  border-width: 1px;
  border-style: solid;
  border-radius: 10px;
  overflow: hidden;
}
#making-posts .post table.selected {
  outline: 1px solid #f70;
}
#making-posts .post h3 {
  margin: 0;
  padding: 0.1em 0.3em;
  background: rgba(100,120,190,0.25);
}
#making-posts .post h3::before,
#making-posts .post h3::after {
  content: none;
}
#making-posts .post p {
  padding: 0.5em 1.5em
}
#making-posts .post dl {
  margin: .5em;
}
#making-posts .post dt {
}
#making-posts .post dd {
  margin: 0 .5em .5em;
}
#making-posts .post table {
  min-width: 400px;
  margin: .5em auto 1.5em;
  border-width: 1px;
  border-style: solid;
  text-align: center;
}
#making-posts .post table tr {
  border-width: 1px;
  border-style: solid;
}
#making-posts .post table th {
  position: relative;
  padding: 0.2em 0.5em;
  background: rgba(100,120,190,0.15);
  text-align: left;
}
#making-posts .post table th a.to-blanksheet {
  display: inline-block;
  position: absolute;
  top: 0.4em;
  right: .5em;
  font-size: 85%;
  font-weight: normal;
}
#making-posts .post table td {
  padding: 0.2em 0.5em;
  border-width: 1px;
  border-style: dotted;
}
#making-posts .post table td > span {
  font-size: 90%;
}
#making-posts .post time {
  display: block;
  padding: 2px .5em;
  background: rgba(100,120,190,0.15);
  text-align: right;
}
#making-posts .navigation {
  text-align: center;
}
#making-posts .navigation a {
  display: inline-block;
}
#making-posts .navigation a + a {
  margin-left: 3em;
}

/* // Form
---------------------------------------------------------------------------------------------------- */
section.form {
  margin: 10%;
  padding: 0.5em;
  border-width: 1px;
  border-style: solid;
  border-radius: 10px;
}
section.form h2 {
  font-size: 2rem;
}
form input {
  padding: 5px;
  border-width: 1px;
  border-style: solid;
  border-radius: 5px;
}
form p {
  position: relative;
  margin: 1em;
  text-align: center;
}
form p > label > span {
  display: inline-block;
  width: 11em;
  text-align: right;
}
form p > label >  input + b{
  display: inline-block;
  position: absolute;
  bottom: 2px;
  margin-left: 5px;
  white-space: nowrap;
  overflow: visible;
  font-size: 12px;
}
form p > input[type="submit"] {
}