html {
  scroll-behavior: smooth;
}

body {
  background-attachment: fixed;
  text-rendering: optimizeLegibility;
  background-repeat: no-repeat;
  background-color: #fdfdfd;
  background-image: url("/scrapbook/bookclub2026/img/violent.png");
  color: #1a1a1a;
  font-family: "misc";
  font-size: 13px;
  -webkit-font-smoothing: none;
  font-smooth: never;
  margin: auto 4% 8%;
  line-height: 20px;
}

::selection {
  background-color: #3749fe !important;
  color: #fff !important;
}

* {
  box-sizing: border-box;
  scrollbar-width: thin;
  -ms-overflow-style: none;
  scrollbar-color: #3749fe #1d1d1d;
  cursor: url("/scrapbook/bookclub2026/img/cur.cur"), auto;
}

* img {
  user-select: none;
}

*::-webkit-scrollbar {
  width: 8px;
}

*::-webkit-scrollbar-track {
  background: #1d1d1d;
}

*::-webkit-scrollbar-thumb {
  background-color: #3749fe;
}

a {
  cursor: url("/scrapbook/bookclub2026/img/link.cur"), auto;
}

a * {
  cursor: url("/scrapbook/bookclub2026/img/link.cur"), auto;
}

@font-face {
  font-family: "misc";
  src: url("/fonts/misc-fixed.ttf");
}

deity {
  width: 100%;
  margin-top: 2%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

h1 {
  width: fit-content;
  align-self: center;
  margin: 0.3em auto 1em;
  font-family: "kramer";
  font-size: 7em;
  text-shadow: 0 0 5px #000;
  line-height: 1.2;
}

h2 {
  border-bottom: 2px ridge #3c3eff59;
  margin-top: 0;
  font-family: "cabse";
  font-size: 47px;
  font-weight: 100;
  color: #8000ff12;
  padding-bottom: 5px;
  -webkit-text-stroke: 1px #484be9;
  text-shadow:
    5px 5px 0 #fcfcfc,
    0 0 18px #9e0043;
  line-height: 28px;
  text-transform: uppercase;
  img {
    margin: auto 12px -28px auto;
  }
  span {
    color: #fcfcfc;
    font-size: 39px;
  }
  &:hover {
    -webkit-text-stroke: unset;
    color: #8462ad4d;
    border-bottom: 2px ridge #fff0;
    text-shadow:
      5px 5px 0 #484be9,
      0 0 12px #f009;
    text-transform: capitalize;
    -webkit-text-stroke: 1px #fcfcfc;
  }
}

aside {
  h2 {
    margin-top: 28px;
    line-height: 40px;
    padding-bottom: 0;
  }
}

a {
  color: #3749fe;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.hidden {
  display: none !important;
}

.stars {
  display: inline-flex;
  letter-spacing: 2px;
  font-size: 14px;
}

.star {
  position: relative;
  color: #3749fe;
  display: inline-block;
}

.star.full {
  color: #1a1a1a;
}

.star.half::before {
  content: "★";
  position: absolute;
  left: 0;
  top: 0;
  width: 50%;
  overflow: hidden;
  color: #1a1a1a;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 30px;
  background-color: #fdfdfd;
  padding: 26px 46px 13px 32px;
  border: 4px ridge #fff;
  border-radius: 30px;
  background-image: url("/scrapbook/bookclub2026/img/446.jpg");
  filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.5));
  &::before {
    width: 100%;
    height: 100%;
    content: "";
    position: absolute;
    top: 0px;
    left: 0px;
    border-image: url(/scrapbook/bookclub2026/img/scribble.gif) 110 / 110px
      round;
    filter: drop-shadow(0 0 15px #ffffffe0);
    image-rendering: pixelated;
    border-image-outset: 70px;
    pointer-events: none;
  }
}

.loading-status {
  text-align: center;
  padding: 40px;
  font-style: italic;
}

.card {
  border: 1px solid #3749fe;
  padding: 20px;
  margin-bottom: 20px;
  background: #fff;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  border-radius: 2px;
  p {
    margin-top: 0;
  }
}

.book-header {
  display: flex;
  gap: 20px;
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: 1px dashed #3749fe;
}

.book-cover {
  width: 100px;
  height: 150px;
  object-fit: cover;
  border: 1px solid #3749fe;
  background: #ebe7ff;
}

.book-title {
  font-size: 1.3rem;
  font-weight: bold;
  font-family: "wobble";
}

.meta-data {
  color: #555;
  margin-top: 5px;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}

.member-review {
  padding: 0 10px;
  strong {
    font-family:
      "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", Osaka, メイリオ,
      Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", "ＭＳ ゴシック", "MS Gothic",
      "Noto Sans CJK JP", TakaoPGothic, sans-serif;
    font-size: 14px;
    letter-spacing: 1px;
  }
}

.log-entry {
  border-bottom: 1px dashed #3749fe;
  padding: 10px 0;
}

.log-entry:last-child {
  border-bottom: none;
}

.www,
.mpic {
  vertical-align: -4px;
  margin-right: 2px;
}

#currently-reading-container {
  .reviews-grid {
    grid-template-columns: repeat(3, 1fr);
    justify-items: center;
  }
}

.btn {
  display: block;
  width: 100%;
  background: #ebe7ff;
  border: 1px dashed #fefefe;
  padding: 10px;
  margin-top: 15px;
  cursor: url("/scrapbook/bookclub2026/img/link.cur"), auto;
  font-family: inherit;
  font-size: inherit;
  text-align: center;
  text-shadow:
    1px 1px 0 #fff,
    2px 2px 0 #fff;
}

.btn:hover {
  background: url("https://bettysgraphics.neocities.org/images/backgrounds/hearts%203.gif");
  border: 1px dashed #fa4ba4;
}

.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.1);
  filter: url(#dither);
  z-index: 999;
}

.modal-overlay.active {
  display: block;
}

.modal-content {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #fdfdfd;
  border: 2px ridge #cdd554;
  padding: 30px;
  width: 90%;
  max-width: 900px;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.3);
  z-index: 1000;
}

.modal-content.active {
  display: block;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px ridge #3c3effb0;
  padding-bottom: 10px;
  margin-bottom: 20px;
  filter: invert(100%);

  h2 {
    border: none;
    margin: 0;
    padding: 0;
  }
}

.close-btn {
  background: none;
  border: none;
  font-size: 22px;
  cursor: pointer;
  color: #fff;
  font-family:
    "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", Osaka, メイリオ, Meiryo,
    "ＭＳ Ｐゴシック", "MS PGothic", "ＭＳ ゴシック", "MS Gothic",
    "Noto Sans CJK JP", TakaoPGothic, sans-serif;
}

.modal-columns {
  display: flex;
  gap: 20px;
}

.modal-col {
  flex: 1;
}

@font-face {
  font-family: "wobble";
  src: url("/fonts/wobble.otf");
}

@font-face {
  font-family: "cabse";
  src: url("/fonts/cabse.ttf");
}

@font-face {
  font-family: "kramer";
  src: url("/fonts/Kramerized.otf");
}

@media (max-width: 800px) {
  .container {
    grid-template-columns: 1fr;
  }
  .reviews-grid,
  .modal-columns {
    grid-template-columns: 1fr;
    display: grid;
  }
  .book-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}
