#IDOLRING_WIDGET {
  margin: auto;
}

@font-face {
  font-family: 'base';
  src: url("fonts/base.ttf") format('truetype');
}

.idolring {
  /* THE WIDGET'S PARENT CONTAINER */
  box-sizing: border-box;
  font-size: 13px;
  margin: auto;
  width: 288px;
  font-family: Times New Roman;
  height: fit-content;
  background-repeat: repeat;
  padding-top: 6px;
  padding-right: 8px;
  padding-left: 4px;
  padding-bottom: 6px;
  border-width: 10px;
  border-style: solid;
  display: flex;
  align-content: center;
  align-items: center;
  gap: 2px;
  hyphens: auto;
  text-shadow: none;
}

.idolring #oshi,
.idolring_small #oshi {
  width: 88px;
  height: 80px;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  position: absolute;
  z-index: 88;
  margin-top: 9px;
  border-bottom-left-radius: 52px;
  border-bottom-right-radius: 52px;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
}

.idol_textbox {
  /* THE TEXTBOX WHERE THE DESCRIPTION GOES */
  background: white;
  overflow-wrap: break-word;
  width: 100%;
  box-sizing: border-box;
  height: auto;
  text-align: center;
  padding-right: 4px;
  padding-left: 4px;
  padding-top: 10px;
  padding-bottom: 10px;
  margin: auto;
  border-width: 10px;
  border-style: solid;
  box-shadow: inset 0 0 8px rgba(45, 176, 255, 0.3);
  text-shadow: none;
  line-height: normal;
}

img#fan_image {
  max-width: none;
}

.idolring a,
.idolring b,
idolring a:visited {
  color: inherit;
  text-decoration: inherit;
}

.idolring a {
  margin: 0px;
  padding: 0px;
}

.idolring_small a,
.idolring_small a:visited {
  color: inherit;
  text-decoration: inherit;
}

.idolring_left {
  width: fit-content;
  height: fit-content;
  display: flex;
  justify-content: center;
  align-content: center;
  flex-wrap: nowrap;
}

.idolring .fan,
.idolring_small .fan {
  width: 140px;
  height: 140px;
  z-index: 99;
  display: block;
}

.idolring .buttonholder {
  text-align: center;
  width: 30px;
  height: 48px;
  margin-top: 88px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: absolute;
  z-index: 1009;
}

.idolring #buttonholder_next {
  margin-left: 80px;
}

.idolring #buttonholder_prev {
  margin-left: -80px;
}

.oshifan {
  display: flex;
  justify-content: center;
  align-content: center;
}

.idolring_title {
  /* THE 'IDOLRING' TITLE ABOVE THE TEXTBOX */
  white-space: nowrap;
  font-style: italic;
  font-weight: bold;
  text-align: left;
  text-shadow:
    -1px -1px 0 #fff,
    /* Top-left shadow */ 1px -1px 0 #fff,
    /* Top-right shadow */ -1px 1px 0 #fff,
    /* Bottom-left shadow */ 1px 1px 0 #fff; /* Bottom-right shadow */
  margin-bottom: -5px;
  margin-left: -10px;
}

.idolring_title a {
  font-size: 1.9em;
}

.idolring_small .small_prev,
.idolring_small .small_next {
  position: absolute;
  margin-top: 110px;
  z-index: 100;
  text-align: center;
}

.idolring_small .small_next {
  right: 0;
  margin-right: 15px;
}

.idolring_small .small_prev {
  margin-left: 12px;
}

.idolring_small {
  position: relative;
  font-family: Times New Roman;
  margin: auto;
}

.idolring_small a {
  font-size: 15px;
}

.idolring_small #small_title a {
  /* THE SMALL WIDGET'S IDOLRING' TITLE ABOVE THE FAN */
  font-size: 20px;
}

.idolring .prevnext {
  text-align: center;
  margin: auto;
  text-shadow:
    -1px -1px 0 #fff,
    /* Top-left shadow */ 1px -1px 0 #fff,
    /* Top-right shadow */ -1px 1px 0 #fff,
    /* Bottom-left shadow */ 1px 1px 0 #fff; /* Bottom-right shadow */
  font-size: 15px;
}

.idolring_title img {
  height: 100%;
}

.idolring_small .idol_next,
.idolring_small .idol_prev {
  width: 30px;
  height: 30px;
  background-size: contain;
  background-repeat: no-repeat;
  z-index: 100;
}

.buttonholder .idol_next,
.buttonholder .idol_prev {
  width: 30px;
  height: 30px;
  background-size: contain;
  background-repeat: no-repeat;
  z-index: 100;
}

#idolring_strawberrycookie {
  color: #b2774b;
  filter: drop-shadow(2px 2px 3px rgba(194, 103, 38, 0.69));
  border-width: 16px;
  border-style: solid;
  border-image: url(https://idolring.nekoweb.org/assets/border_strawberrycookie.png)
    13 round;
  background-clip: padding-box;
  font-family: 'base';
  padding-bottom: 3px;
  padding-top: 4px;
}

#idolring_strawberrycookie .idolring_title {
  color: #554040;
  font-size: 0.9em;
  text-shadow:
    0 0 5px #fff,
    0 0 10px #fff,
    0 0 20px #fff,
    0 0 40px #fff;
    text-decoration: none;
}

#idolring_strawberrycookie a:hover {
  color: #f6c098;
  text-decoration: underline;
}

.idolring_small#strawberrycookie {
  color: #554040;
  font-family: 'base';
}

.idolring_small#strawberrycookie a:hover {
  color: #554040;
  text-decoration: underline;
}

#idol_textbox_strawberrycookie {
  font-weight: bold;
  border-width: 8px;
  border-style: solid;
  border-image: url("https://idolring.nekoweb.org/assets/lace_brown.png") 8
    round;
  background: #fff9f4;
  background-clip: padding-box;
  box-shadow: inset 0 0 8px rgba(255, 130, 82, 0.25);
  text-shadow:
    -1px -1px 0 #fff,
    /* Top-left shadow */ 1px -1px 0 #fff,
    /* Top-right shadow */ -1px 1px 0 #fff,
    /* Bottom-left shadow */ 1px 1px 0 #fff; /* Bottom-right shadow */
}

#idol_textbox_strawberrycookie b {
  color: #fc76b6;
}

.idolring #prev_strawberrycookie,
.idolring_small #prev_strawberrycookie {
  background-image: url(https://idolring.nekoweb.org/assets/leftarrow_brown.png);
}

.idolring #next_strawberrycookie,
.idolring_small #next_strawberrycookie {
  background-image: url(https://idolring.nekoweb.org/assets/rightarrow_brown.png);
}

#idolring_strawberrycookie .prevnext {
  font-weight: bold;
  color: #b27a51;
  text-shadow:
    0 0 5px #fff,
    0 0 10px #fff,
    0 0 20px #fff,
    0 0 40px #fff;
}

#idolring_strawberrycookie .prevnext:hover {
  color: #554040;
  text-decoration: underline;
}