:root {
  --tsumego-view-content-background-color: #eee;
  --tsumego-view-portrait-summary-background: rgba(200, 200, 200, 0.16);
  --tsumego-view-content-info-background: rgba(200, 200, 200, 0.1);
  --tsumego-view-content-settings-background: rgba(227, 227, 235, 0.4);
  --tsumego-view-info-menu-icon-color: #777;
  --tsumego-view-shadow-opacity: 0.4;
  --board-border-width: 1px;
  --info-title-text-color: #4589dd;
  --info-player-font-color: #222;
  --komi-captures-font-color: #222;
  --info-komi-font-color: #222;
  --info-captures-white-font-color: black;
  --info-captures-black-font-color: white;
  --info-captures-black-background-color: rgba(0, 0, 0, 0.24);
  --info-captures-white-background-color: rgba(240, 240, 240, 0.75);
  --info-shield-prize-font-color: #111;
  --playlist-bold-font-color: #333;
  --playlist-normal-font-color: #777;
  --playlist-icon-background-color: rgba(200, 200, 200, 0.4);
  --playlist-modal-background-color: #0a0a0a;
  --playlist-modal-content-background-color: #eaeaea;
  --playlist-modal-bold-font-color: #333;
  --playlist-modal-types-font-color-selected: #fff;
  --playlist-modal-types-font-color-unselected: #ddd;
  --rated-switch-font-color: #666;
  --mini-icons-inactive-background-color: rgba(230, 230, 230, 0.6);
  --comment-modal-highlight-background-color: #fafafa;
  --comment-modal-background-color: #fafafa;
  --comment-modal-content-background-color: #eaeaea;
  --comment-modal-input-background-color: #eaeaea;
  --comment-modal-head-text-color: #111111;
  --comment-modal-text-color: #222222;
  --comment-position-background-image: url("../img/board_light.png");
  --comment-positions-opacity: 0.93;
  --comment-discussion-write-text-input-opacity: 0.5;
  --discussion-modal-content-background-color: #fff;
  --animation-icon-opacity: 0.96;
  --estimator-button-inactive-background-image: linear-gradient(0deg, #76a3c1, #3d83b3);
  --estimator-button-active-background-image: linear-gradient(0deg, #6693b1, #1d6393);
  --estimator-button-inactive-font-color: #fff;
  --estimator-button-active-font-color: #eee;
  --estimator-button-opacity: 0.85;
  --next-button-active-font-color: #fff;
  --next-button-inactive-background-color: rgba(70, 170, 100, 0.48);
  --next-button-active-background-color: #27ae60;
  --next-button-inactive-font-color: #ded;
  --next-button-active-font-color: #fff;
  --portrait-info-popup-menu-background: rgb(230, 230, 230);
  --logo-color-one: #888;
  --logo-color-two: #111;
  --login-option-text-color: #333;
  --login-button-background-gradient: linear-gradient(0deg, #3d83b3, #76a3c1);
  --login-button-background-gradient-red: linear-gradient(0deg, #a32621, #c3535d);
  --discussion-lightblue-background-gradient: linear-gradient(0deg, #5da3b3, #96b4e1);
}

html[data-theme="light"] {
  --tsumego-view-content-background-color: #eee;
  --tsumego-view-portrait-summary-background: rgba(200, 200, 200, 0.16);
  --tsumego-view-content-info-background: rgba(200, 200, 200, 0.1);
  --tsumego-view-content-settings-background: rgba(227, 227, 235, 0.4);
  --tsumego-view-info-menu-icon-color: #777;
  --tsumego-view-shadow-opacity: 0.4;
  --board-border-width: 1px;
  --rated-switch-font-color: #666;
  --rated-switch-box-shadow-color: rgba(0, 0, 0, 0.16);
  --rated-switch-track-active--background-color: rgba(39, 174, 96, 0.56);
  --rated-switch-track-inactive--background-color: rgba(180, 180, 180, 0.5);
  --rated-switch-slide-active--background-color: rgba(240, 240, 240, 0.9);
  --rated-switch-slide-inactive--background-color: rgba(240, 240, 240, 0.9);
  --info-title-text-color: #4589dd;
  --info-player-font-color: #222;
  --komi-captures-font-color: #333;
  --info-komi-font-color: #222;
  --info-captures-white-font-color: black;
  --info-captures-black-font-color: white;
  --info-captures-black-background-color: rgba(0, 0, 0, 0.24);
  --info-captures-white-background-color: rgba(245, 245, 245, 0.75);
  --info-shield-prize-font-color: #111;
  --playlist-bold-font-color: #333;
  --playlist-normal-font-color: #777;
  --playlist-icon-background-color: rgba(200, 200, 200, 0.4);
  --playlist-modal-background-color: #0a0a0a;
  --playlist-modal-content-background-color: #eaeaea;
  --playlist-modal-bold-font-color: #333;
  --playlist-modal-types-font-color-selected: #fff;
  --playlist-modal-types-font-color-unselected: #ddd;
  --comment-modal-highlight-background-color: #fafafa;
  --comment-modal-background-color: #fafafa;
  --comment-modal-content-background-color: #eaeaea;
  --comment-modal-input-background-color: #eaeaea;
  --comment-modal-head-text-color: #111111;
  --comment-modal-text-color: #222222;
  --comment-position-background-image: url("../img/board_light.png");
  --comment-positions-opacity: 0.93;
  --comment-discussion-write-text-input-opacity: 0.5;
  --discussion-modal-content-background-color: #fff;
  --animation-icon-opacity: 0.96;
  --mini-icons-inactive-background-color: rgba(230, 230, 230, 0.6);
  --mini-icons-inactive-hover-background-color: rgba(200, 210, 200, 0.4);
  --estimator-button-inactive-background-image: linear-gradient(0deg, #76a3c1, #3d83b3);
  --estimator-button-active-background-image: linear-gradient(0deg, #6693b1, #1d6393);
  --estimator-button-inactive-font-color: #fff;
  --estimator-button-active-font-color: #eee;
  --estimator-button-opacity: 0.85;
  --next-button-inactive-background-color: rgba(70, 170, 100, 0.48);
  --next-button-active-background-color: #27ae60;
  --next-button-inactive-font-color: #ded;
  --next-button-active-font-color: #fff;
  --portrait-info-popup-menu-background: rgb(240, 240, 240);
  --logo-color-one: #888;
  --logo-color-two: #111;
  --login-option-text-color: #333;
  --login-button-background-gradient: linear-gradient(0deg, #3d83b3, #76a3c1);
  --login-button-background-gradient-red: linear-gradient(0deg, #a32621, #c3535d);
  --discussion-lightblue-background-gradient: linear-gradient(0deg, #5da3b3, #96b4e1);
}

html[data-theme="dark"] {
  --tsumego-view-content-background-color: #383838;
  --tsumego-view-portrait-summary-background: rgba(200, 200, 200, 0.04);
  --tsumego-view-content-info-background: rgba(200, 200, 200, 0.03);
  --tsumego-view-content-settings-background: rgba(48, 48, 48, 0.6);
  --tsumego-view-info-menu-icon-color: #888;
  --tsumego-view-shadow-opacity: 0.8;
  --board-border-width: 2px;
  --rated-switch-font-color: #808080;
  --rated-switch-box-shadow-color: rgba(0, 0, 0, 0.05);
  --rated-switch-track-active--background-color: rgba(31, 139, 77, 0.7);
  --rated-switch-track-inactive--background-color: rgba(180, 180, 180, 0.16);
  --rated-switch-slide-active--background-color: rgba(180, 180, 180, 0.9);
  --rated-switch-slide-inactive--background-color: rgba(180, 180, 180, 0.9);
  --info-title-text-color: #4589ad;
  --info-player-font-color: #999;
  --komi-captures-font-color: #808080;
  --info-komi-font-color: #7a7a7a;
  --info-captures-white-font-color: #111;
  --info-captures-black-font-color: #888;
  --info-captures-black-background-color: rgba(0, 0, 0, 0.34);
  --info-captures-white-background-color: rgba(240, 240, 240, 0.2);
  --info-shield-prize-font-color: #a2a2a2;
  --playlist-bold-font-color: #a2a2a2;
  --playlist-normal-font-color: #5f5f5f;
  --playlist-icon-background-color: rgba(250, 250, 250, 0.05);
  --playlist-modal-background-color: #000;
  --playlist-modal-content-background-color: #4a4a4a;
  --playlist-modal-bold-font-color: #ddd;
  --playlist-modal-types-font-color-selected: #fff;
  --playlist-modal-types-font-color-unselected: #ddd;
  --comment-modal-highlight-background-color: #666;
  --comment-modal-background-color: #5a5a5a;
  --comment-modal-content-background-color: #6a6a6a;
  --comment-modal-input-background-color: #737373;
  --comment-modal-head-text-color: #111;
  --comment-modal-text-color: #111;
  --comment-modal-comment-head-text-color: #111;
  --comment-modal-comment-text-color: #222;
  --comment-position-background-image: url("../img/board_dark.png");
  --comment-positions-opacity: 0.8;
  --comment-discussion-write-text-input-opacity: 0.75;
  --discussion-modal-content-background-color: #6a6a6a;
  --animation-icon-opacity: 0.92;
  --mini-icons-inactive-background-color: rgba(230, 230, 230, 0.05);
  --mini-icons-inactive-hover-background-color: rgba(200, 210, 200, 0.14);
  --estimator-button-inactive-background-image: linear-gradient(0deg, #5683a1, #1d6393);
  --estimator-button-active-background-image: linear-gradient(0deg, #467391, #0d5383);
  --estimator-button-inactive-font-color: #f0f0f0;
  --estimator-button-active-font-color: #e0e0e0;
  --estimator-button-opacity: 0.78;
  --next-button-inactive-background-color: rgba(30, 84, 60, 0.7);
  --next-button-active-background-color: rgb(31, 139, 77);
  --next-button-inactive-font-color: #565;
  --next-button-active-font-color: rgb(232, 230, 227);
  --portrait-info-popup-menu-background: rgb(46, 46, 46);
  --logo-color-one: #ddd;
  --logo-color-two: #555;
  --login-option-text-color: #eee;
  --login-button-background-gradient: linear-gradient(0deg, #76a3c1, lightblue);
  --login-button-background-gradient-red: linear-gradient(0deg, #a32621, #c3535d);
  --discussion-lightblue-background-gradient: linear-gradient(0deg, #4d93a3, #86b3d1);
}

#btp-tsumego-content-container {
  display: flex;
  visibility: visible;
  opacity: 1;
  position: absolute;
  align-items: center;
  justify-content: center;
  bottom: 0;
  background-color: var(--tsumego-view-content-background-color);
  z-index: 5;
  -webkit-transition: visibility 400ms, opacity 400ms ease-in;
  -moz-transition: visibility 400ms, opacity 400ms ease-in;
  transition: visibility 400ms, opacity 400ms ease-in;
}

#btp-tsumego-content {
  position: absolute;
  display: flex;
  justify-content: space-around;
  align-items: center;
}

#btp-board-container {
  position: relative;
  box-shadow: 0 0 5vh rgba(0, 0, 0, var(--tsumego-view-shadow-opacity));
  border: var(--board-border-width) solid black;
  border-collapse: collapse;
  touch-action: manipulation;
}

#btp-tsumego-controls-container {
  position: relative;
  display: flex;
  justify-content: space-around;
  flex-direction: column;
}

#btp-tsumego-logo-container {
  position: relative;
}

#btp-logo-text {
  opacity: 0.9;
  position: relative;
  padding-top: 3%;
  padding-bottom: 2%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-shadow: none;
  font-family: "Trebuchet MS", geneva, helvetica, arial, tahoma, verdana, sans-serif;
  font-weight: bold;
  background: linear-gradient(180deg, var(--logo-color-one) 0%, var(--logo-color-two) 50%, var(--logo-color-one) 100%);
  background: -o-linear-gradient(top, var(--logo-color-one) 0%, var(--logo-color-two) 50%, var(--logo-color-one) 100%);
  background: -moz-linear-gradient(top, var(--logo-color-one) 0%, var(--logo-color-two) 50%, var(--logo-color-one) 100%);
  background: -webkit-linear-gradient(top, var(--logo-color-one) 0%, var(--logo-color-two) 50%, var(--logo-color-one) 100%);
  background-repeat: repeat;
  background-size: 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: rgba(69, 137, 221, 0);
}

#btp-portrait-summary {
  background-color: var(--tsumego-view-portrait-summary-background);
}

.portrait-summary-texts {
  color: var(--info-shield-prize-font-color);
}

#btp-tsumego-info-container {
  position: relative;
  display: flex;
  flex-direction: row;
  background-color: var(--tsumego-view-content-info-background);
}

#btp-tsumego-info-favorite-container {
  position: absolute;
  top: 0;
  right: 0;
  border-radius: 25%;
  cursor: pointer;
  z-index: 2;
}

#btp-tsumego-info-link-container {
  position: absolute;
  top: 0;
  border-radius: 25%;
  cursor: pointer;
  z-index: 2;
  background-color: rgba(100, 120, 140, 0.1);
}

#btp-tsumego-info-link-container:hover {
  background-color: rgba(100, 120, 140, 0.22);
}

.favorite-container-unselected {
  background-color: rgba(100, 120, 140, 0.08);
}

.favorite-container-unselected:hover {
  background-color: rgba(100, 120, 140, 0.20);
}

.favorite-container-selected {
  background-image: var(--login-button-background-gradient);
  background-size: 100%;
  opacity: 0.75;
}

#btp-tsumego-info-link-icon {
  position: absolute;
  top: 9%;
  right: 9%;
  width: 82%;
  height: 82%;
  opacity: 0.9;
}

#btp-tsumego-info-favorite-icon {
  position: absolute;
}

.favorite-icon-unselected {
  top: 6%;
  right: 6%;
  width: 88%;
  height: 88%;
  opacity: 0.9;
}

.favorite-icon-selected {
  top: -12%;
  right: -10%;
  width: 120%;
  height: 120%;
}

#btp-tsumego-info-left-container {
  position: absolute;
  right: 0;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

#btp-tsumego-info-title {
  left: -50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  font-weight: bold;
  color: var(--info-title-text-color);
  font-family: "Trebuchet MS", geneva, helvetica, arial, tahoma, verdana, sans-serif;
}

#btp-tsumego-info-player {
  color: var(--info-player-font-color);
}

.btp-tsumego-info-text {
  display: flex;
  align-items: center;
  justify-content: start;
  font-weight: bold;
  font-family: "Trebuchet MS", geneva, helvetica, arial, tahoma, verdana, sans-serif;
}

#komi-captures-text-container {
  background-color: rgba(0, 0, 0, 0.02);
  color: var(--komi-captures-font-color);
}

#komi-captures-container {
  display: flex;
}

#tsumego-komi-container {
  color: var(--info-komi-font-color);
}

#tsumego-captures-container {
  display: flex;
}

#tsumego-captures-white {
  position: relative;
  background-color: var(--info-captures-white-background-color);
  color: var(--info-captures-white-font-color);
  box-shadow: 0 0 4vw rgba(0, 0, 0, 0.1);
}

#tsumego-captures-black {
  position: relative;
  background-color: var(--info-captures-black-background-color);
  color: var(--info-captures-black-font-color);
  box-shadow: 0 0 4vw rgba(0, 0, 0, 0.1);
}

.komi-captures-text {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Trebuchet MS", geneva, helvetica, arial, tahoma, verdana, sans-serif;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

#btp-tsumego-info-right-container {
  position: absolute;
  left: 0;
  top: 0;
  width: 50%;
  height: 100%;
}

.btp-tsumego-shield-prize-text {
  position: absolute;
  left: 28%;
  font-family: "Trebuchet MS", geneva, helvetica, arial, tahoma, verdana, sans-serif;
  white-space: nowrap;
  overflow: visible;
}

#btp-tsumego-shield-content {
  position: absolute;
  width: 100%;
  height: 37.5%;
  top: 20%;
  left: 0;
}

#btp-tsumego-shield-icon {
  position: absolute;
  height: 72%;
  top: 18%;
  left: 7%;
  opacity: 0.75;
}

#btp-tsumego-info-level-text {
  top: 27%;
}

#btp-tsumego-info-admin-link {
  font-weight: bold;
  cursor: pointer;
}

#btp-tsumego-info-popularity-text {
  top: 58%;
}

#btp-tsumego-prize-content {
  position: absolute;
  width: 100%;
  height: 37.5%;
  top: 62.5%;
  left: 0;
}

#btp-tsumego-prize-icon {
  position: absolute;
  height: 72%;
  top: 12%;
  left: 7%;
  opacity: 0.75;
}

#btp-tsumego-info-tried-text {
  top: 19%;
}

#btp-tsumego-info-solved-text {
  top: 48%;
}

#btp-tsumego-playlist-container {
  position: relative;
  opacity: 0.96;
  background-color: var(--tsumego-view-content-settings-background);
  overflow: hidden;
}

#btp-tsumego-playlist-wrapper {
  position: absolute;
  width: 94%;
  height: 84%;
  top: 8%;
  left: 3%;
}

.btp-tsumego-playlist-normal-text {
  font-family: "Trebuchet MS", geneva, helvetica, arial, tahoma, verdana, sans-serif;
  font-weight: normal;
  color: var(--playlist-normal-font-color);
}

.btp-tsumego-playlist-bold-text {
  font-family: "Trebuchet MS", geneva, helvetica, arial, tahoma, verdana, sans-serif;
  font-weight: bold;
  color: var(--playlist-bold-font-color);
}

#btp-tsumego-playlist-settings-icon-container {
  position: absolute;
  width: 16%;
  height: 80%;
  top: 10%;
  right: 1.6%;
  border-radius: 20%;
  cursor: pointer;
  background-color: var(--playlist-icon-background-color);
}

#btp-tsumego-playlist-settings-icon {
  position: absolute;
  width: 70%;
  height: 70%;
  top: 15%;
  left: 15%;
}

#btp-tsumego-rated-switch-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-direction: row;
}

#btp-tsumego-rated-switch-text {
  font-family: Inter, -apple-system, system-ui, "Segoe UI", Helvetica, Arial, sans-serif;
  font-weight: bold;
  color: var(--rated-switch-font-color);
  opacity: 0.95;
}

#btp-tsumego-rated-switch-content {
  position: relative;
  height: 100%;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

#btp-tsumego-rated-switch-track {
  position: absolute;
  height: 80%;
  top: 10%;
  left: 5%;
  box-sizing: border-box;
}

#btp-tsumego-rated-switch-slide {
  opacity: 1;
  position: absolute;
  height: 80%;
  top: 10%;
  box-sizing: border-box;
  box-shadow: 0 0 0.6vh var(--rated-switch-box-shadow-color);
}

.rated-switch-track-off {
  background-color: var(--rated-switch-track-inactive--background-color);
}

.rated-switch-track-on {
  background-color: var(--rated-switch-track-active--background-color);
}

.rated-switch-slide-off {
  background-color: var(--rated-switch-slide-inactive--background-color);
}

.rated-switch-slide-on {
  background-color: var(--rated-switch-slide-active--background-color);
}

#btp-tsumego-mini-icons {
  display: flex;
  opacity: 0.9;
  justify-content: space-around;
  align-items: center;
  flex-direction: row;
}

.mini-icons {
  position: relative;
  background-color: var(--mini-icons-inactive-background-color);
  cursor: pointer;
}

.mini-icons:hover {
  background-color: var(--mini-icons-inactive-hover-background-color);
  cursor: pointer;
}

.mini-icon-deactivated {
  opacity: 0.28;
}

#btp-tsumego-like-icon {
  width: 58%;
  height: 58%;
  padding: 17% 20%;
}

#btp-tsumego-dislike-icon {
  width: 56%;
  height: 56%;
  padding: 27% 21%;
}

#btp-tsumego-comment-icon {
  width: 75%;
  height: 75%;
  padding: 12% 13.4%;
}

#btp-tsumego-comment-count-container {
  position: absolute;
  width: auto;
  height: 30%;
  bottom: 10%;
  right: 12%;
  color: white;
  background-color: rgb(240, 20, 20);
  border-radius: 20%;
  font-family: "Trebuchet MS", geneva, helvetica, arial, tahoma, verdana, sans-serif;
  font-weight: bold;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0.98;
  box-shadow: 0 0 2vh rgba(0, 0, 0, 0.2);
}

#btp-tsumego-tsumego-info-icon {
  width: 70%;
  height: 70%;
  padding: 17% 14.4%;
}

#btp-tsumego-download-icon {
  width: 52%;
  height: 52%;
  padding: 21% 25%;
}

#btp-tsumego-buttons {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#btp-tsumego-estimator-button {
  display: flex;
  justify-content: center;
  align-items: center;
  right: 0;
  width: 48%;
  height: 100%;
  z-index: 2;
  cursor: pointer;
  opacity: var(--estimator-button-opacity);
  font-family: Inter, -apple-system, system-ui, "Segoe UI", Helvetica, Arial, sans-serif;
  font-weight: bold;
}

.estimator-button-inactive {
  background-image: var(--estimator-button-inactive-background-image);
  color: var(--estimator-button-inactive-font-color);
  opacity: 0.6;
}

.estimator-button-active {
  background-image: var(--estimator-button-active-background-image);
  color: var(--estimator-button-active-font-color);
  box-shadow: 0 0 2.4vh rgba(0, 0, 0, 0.15);
}

#btp-tsumego-next-button {
  display: flex;
  justify-content: center;
  align-items: center;
  right: 0;
  width: 48%;
  height: 100%;
  z-index: 2;
  cursor: pointer;
  opacity: 0.8;
  font-family: Inter, -apple-system, system-ui, "Segoe UI", Helvetica, Arial, sans-serif;
  font-weight: bold;
}

.next-button-inactive {
  background-color: var(--next-button-inactive-background-color);
  color: var(--next-button-inactive-font-color);
}

.next-button-active {
  background-color: var(--next-button-active-background-color);
  color: var(--next-button-active-font-color);
  box-shadow: 0 0 2.4vh rgba(0, 0, 0, 0.15);
}

#btp-navigation-container {
  position: relative;
  display: flex;
  justify-content: space-around;
  align-items: center;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
}

#btp-playlist-modal-container {
  position: fixed;
  box-sizing: border-box;
  border-radius: 2vh;
  overflow: hidden;
  -webkit-transition: visibility 130ms, opacity 200ms ease-in;
  -moz-transition: visibility 130ms, opacity 200ms ease-in;
  transition: visibility 130ms, opacity 200ms ease-in;
  z-index: 201;
  box-shadow: 0 0 3vh rgba(0, 0, 0, 0.44);
  background-color: var(--playlist-modal-background-color);
}

.playlist-modal-animate-in {
  animation: playlist-glidein 200ms linear forwards;
}

.playlist-modal-animate-out {
  animation: playlist-glideout 200ms linear forwards;
}

@keyframes playlist-glidein {
  from {
    top: 25vh;
    opacity: 0;
  }
  to {
    top: 10vh;
    opacity: 0.98;
  }
}

@keyframes playlist-glideout {
  from {
    top: 10vh;
    opacity: 0.98;
  }
  to {
    top: 25vh;
    opacity: 0;
  }
}

#btp-playlist-modal-top-text {
  position: absolute;
  top: 0.5%;
  left: 20%;
  width: 60%;
  height: 7%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-around;
  font-family: Inter, -apple-system, system-ui, "Segoe UI", Helvetica, Arial, sans-serif;
  text-align: center;
  font-size: min(2.6vh, 5vw);
  line-height: min(3vh, 5.2vw);
  color: #ccc;
}

#btp-playlist-modal-close-icon {
  position: absolute;
  top: 0.5%;
  width: 11%;
  height: 7%;
  cursor: pointer;
  opacity: 0.9;
}

#btp-playlist-modal-content {
  position: absolute;
  top: 8%;
  left: 0;
  right: 0;
  bottom: 0;
  padding-top: 3%;
  padding-bottom: 5%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-around;
  overflow: auto;
  scrollbar-width: thin;
  background-color: var(--playlist-modal-content-background-color);
}

#btp-playlist-modal-content::-webkit-scrollbar {
  width: 3px;
  height: 4px;
  background-color: #555;
}

#btp-playlist-modal-content::-webkit-scrollbar-thumb {
  background-color: #444;
}

#btp-playlist-modal-rank-container {
  width: 80%;
  height: 10%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

#btp-playlist-modal-rank-selectors {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-around;
}

.modal-rank-selectors {
  width: 46%;
  height: 80%;
  text-align: center;
  font-size: min(2.6vh, 5vw);
  line-height: min(3vh, 5.2vw);
  color: #111;
}

.modal-rank-selectors:disabled {
  color: #aaa;
}


#btp-playlist-modal-type-container {
  width: 80%;
  height: 28%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

#btp-playlist-modal-type-boxes {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
}

.modal-type-boxes {
  width: 44%;
  height: 44%;
  border-radius: 1vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-left: 2.5%;
  margin-right: 2.5%;
  font-family: Inter, -apple-system, system-ui, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: min(3vh, 5.4vw);
  line-height: min(3.2vh, 5.6vw);
  cursor: pointer;
}

.modal-type-boxes-selected {
  background-image: var(--login-button-background-gradient);
  color: var(--playlist-modal-types-font-color-selected);
  box-shadow: 0 0 1.5vh rgba(0, 0, 0, 0.24);
  opacity: 1;
}

.modal-type-boxes-unselected {
  background-image: var(--login-button-background-gradient);
  color: var(--playlist-modal-types-font-color-unselected);
  opacity: 0.6;
  box-shadow: none;
}

#btp-playlist-modal-placeholder-box {
  width: 44%;
  height: 44%;
  border-radius: 1vh;
  margin-left: 2.5%;
  margin-right: 2.5%;
  background-image: var(--login-button-background-gradient);
  color: var(--playlist-modal-types-font-color-unselected);
  opacity: 0.6;
  box-shadow: none;
}

.modal-label-containers {
  width: 80%;
  height: 8%;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-around;
}

.modal-label-texts {
  width: 46%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: "Trebuchet MS", geneva, helvetica, arial, tahoma, verdana, sans-serif;
  font-weight: bold;
  font-size: min(2.7vh, 4.68vw);
  line-height: min(3vh, 5vw);
  color: var(--playlist-modal-bold-font-color);
}

.modal-label-selectors {
  width: 46%;
  height: 100%;
  font-size: min(2.6vh, 5vw);
  line-height: min(3vh, 5.2vw);
  color: #111;
}

.modal-bottom-containers {
  width: 80%;
  height: 7%;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-around;
  font-family: "Trebuchet MS", geneva, helvetica, arial, tahoma, verdana, sans-serif;
  color: var(--playlist-modal-bold-font-color);
}

#btp-playlist-modal-count-container {
  margin-top: 3%;
  margin-bottom: -2%;
  font-size: min(2.4vh, 4.32vw);
  line-height: min(2.56vh, 4.48vw);
  font-weight: bold;
}

#btp-playlist-modal-expansion-container {
}

#btp-playlist-modal-expansion-text {
  color: blue;
  font-size: min(2.7vh, 4.68vw);
  line-height: min(3vh, 5vw);
  text-decoration: underline;
  cursor: pointer;
}

#btp-comment-modal-container {
  box-sizing: border-box;
  border-radius: 2vh;
  overflow: hidden;
  -webkit-transition: visibility 130ms, opacity 200ms ease-in;
  -moz-transition: visibility 130ms, opacity 200ms ease-in;
  transition: visibility 130ms, opacity 200ms ease-in;
  z-index: 201;
  box-shadow: 0 0 3vh rgba(0, 0, 0, 0.44);
  background-color: var(--playlist-modal-background-color);
}

.comments-modal-animate-in {
  animation: comments-glidein 200ms linear forwards;
}

.comments-modal-animate-out {
  animation: comments-glideout 200ms linear forwards;
}

#btp-comment-modal-back-icon {
  position: absolute;
  top: 1%;
  height: 6%;
  opacity: 0.9;
}

.comment-back-icon-active {
  cursor: pointer;
  visibility: visible;
}

.comment-back-icon-inactive {
  visibility: hidden;
}

#btp-comment-modal-top-text {
  position: absolute;
  top: 0.5%;
  left: 20%;
  width: 60%;
  height: 7%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-around;
  font-family: Inter, -apple-system, system-ui, "Segoe UI", Helvetica, Arial, sans-serif;
  text-align: center;
  font-size: min(2.6vh, 5vw);
  line-height: min(3vh, 5.2vw);
  opacity: 0.9;
  color: #ccc;
}

#btp-comment-modal-close-icon {
  position: absolute;
  top: 0.5%;
  height: 7%;
  cursor: pointer;
  opacity: 0.9;
}

#btp-comment-modal-confirmation-cover {
  position: absolute;
  top: 8%;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 303;
  -webkit-transition: visibility 130ms, opacity 200ms ease-in;
  -moz-transition: visibility 130ms, opacity 200ms ease-in;
  transition: visibility 130ms, opacity 200ms ease-in;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.confirmation-animate-in {
  animation: confirmation-glidein 200ms linear forwards;
}

.confirmation-animate-out {
  animation: confirmation-glideout 200ms linear forwards;
}

@keyframes confirmation-glidein {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes confirmation-glideout {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

#btp-comment-modal-confirmation-container {
  width: 60vh;
  max-width: 80%;
  height: 42vh;
  max-height: 90%;
  box-sizing: border-box;
  border-radius: 2vh;
  overflow: hidden;
  box-shadow: 0 0 3vh rgba(0, 0, 0, 0.44);
  background-color: var(--playlist-modal-content-background-color);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding-top: 5vh;
  padding-bottom: 4vh;
}

#btp-comment-modal-confirmation-text {
  width: 40vh;
  max-width: 75%;
  height: 18vh;
  max-height: 40%;
  font-family: Inter, -apple-system, system-ui, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: min(2.6vh, 5vw);
  line-height: min(3.2vh, 6.6vw);
  opacity: 0.9;
  color: #444;
}

#btp-comment-modal-confirmation-buttons {
  width: 44vh;
  max-width: 90%;
  height: 12vh;
  max-height: 40%;
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: center;
}

#btp-comment-modal-confirmation-yes-button {
  position: relative;
  width: 40%;
  height: 80%;
  border-radius: 1vh;
  margin-top: 1vh;
  font-family: Inter, -apple-system, system-ui, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: min(2.4vh, 4.7vw);
  line-height: min(2.4vh, 4.7vw);
  color: #eee;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  background-image: var(--login-button-background-gradient-red);
  box-shadow: 0 0 2vh rgba(0, 0, 0, 0.2);
  border: none;
  outline: none;
  outline-width: 0;
  cursor: pointer;
  opacity: 0.9;
}

#btp-comment-modal-confirmation-no-button {
  position: relative;
  width: 40%;
  height: 80%;
  border-radius: 1vh;
  margin-top: 1vh;
  font-family: Inter, -apple-system, system-ui, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: min(2.4vh, 4.7vw);
  line-height: min(2.4vh, 4.7vw);
  color: #eee;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  background-image: var(--login-button-background-gradient);
  box-shadow: 0 0 2vh rgba(0, 0, 0, 0.2);
  border: none;
  outline: none;
  outline-width: 0;
  cursor: pointer;
}

.btp-confirmation-button-active {
  opacity: 1;
  color: white;
}

.btp-confirmation-button-active:hover {
  box-sizing: border-box;
  border: 0.3vh solid #ddd;
  box-shadow: 0 0 2vh rgba(0, 0, 0, 0.45);
  font-weight: bold;
}

.btp-confirmation-button-inactive {
  opacity: 0.8;
  box-shadow: none;
  color: lightgray;
}

#btp-comment-modal-content {
  position: absolute;
  top: 8%;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--playlist-modal-content-background-color);
  overscroll-behavior: contain;
}

#btp-comment-modal-discussion-loading-cover {
  position: absolute;
  right: 0;
  bottom : 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--comment-modal-background-color);
  -webkit-transition: visibility 130ms, opacity 200ms ease-in;
  -moz-transition: visibility 130ms, opacity 200ms ease-in;
  transition: visibility 130ms, opacity 200ms ease-in;
  z-index: 302;
}

#btp-comment-modal-focus-container {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-image: var(--login-button-background-gradient);
  opacity: 1;
}

#btp-comment-modal-focus-wrapper {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
}

#btp-comment-modal-focus-board {
  position: absolute;
  opacity: 1;
  box-shadow: 0 0 5vh rgba(0, 0, 0, var(--tsumego-view-shadow-opacity));
  border-radius: 3%;
}

.focus-board-clickable {
  cursor: pointer;
}

#btp-focus-grid-canvas {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  opacity: 1;
}

#btp-focus-stone-canvas {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  opacity: 1;
}

#focus-board-animation-button {
  position: absolute;
  border-radius: 50%;
  opacity: var(--animation-icon-opacity);
  box-shadow: 0 0 2vh rgba(0, 0, 0, 0.6);
  background-color: white;
}

#focus-board-animation-icon {
  position: absolute;
  width: 50%;
  height: 50%;
  left: 29.6%;
  top: 25%;
  opacity: 1;
}

#btp-comment-modal-discussion-container {
  position: absolute;
  background-color: var(--comment-modal-background-color);
  overscroll-behavior: contain;
}

#btp-comment-modal-discussion-content-container {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom : 0;
  background-color: var(--comment-modal-background-color);
}

#btp-comment-modal-discussion-icon {
  width: 10vh;
  height: 10vh;
  box-sizing: border-box;
  overflow: hidden;
  border-radius: 10vh;
  border-style: solid none solid none;
  border-color: #aaa;
  border-width: 3px;
  animation-name: discussion-icon-spinning;
  animation-duration: 1.5s;
  animation-iteration-count: infinite;
}

@keyframes discussion-icon-spinning {
  from {
    -ms-transform: rotate(0deg);
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  to {
    -ms-transform: rotate(360deg);
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

#discussion-content-field {
  width: 100%;
  height: auto;
  background-color: var(--comment-modal-background-color);
}

#discussion-highlight-container {
  width: 100%;
  height: auto;
  min-height: 10vh;
  box-shadow: 0 0 1vh rgba(0, 0, 0, 0.1);
  background-color: var(--comment-modal-highlight-background-color);
}

#discussion-highlight-tsumego-container {
  width: 90%;
  height: 90%;
  padding: 5%;
}

#discussion-highlight-subcomment-container {
  width: 96%;
  height: 92%;
  padding-top: 2%;
  padding-bottom: 2%;
  padding-left: 2%;
  padding-right: 2%;
}

#discussion-highlight-subcomment-text-container {
  min-width: 50%;
  max-width: 64%;
  display: flex;
  align-items: flex-start;
  justify-content: space-around;
  flex-direction: column;
  padding-left: 4%;
  /* background-color: var(--playlist-modal-content-background-color); */
}

#discussion-highlight-problem-text {
  font-family: "Trebuchet MS", geneva, helvetica, arial, tahoma, verdana, sans-serif;
  color: var(--comment-modal-head-text-color);
  font-weight: bold;
  padding-bottom: 1%;
}

.discussion-highlight-tsumego-texts {
  font-family: "Trebuchet MS", geneva, helvetica, arial, tahoma, verdana, sans-serif;
  color: var(--comment-modal-text-color);
  overflow-wrap: break-word;
  word-break: break-word;
  white-space: pre-line;
}

#discussion-comment-container {
  width: 100%;
  padding-bottom: 32%;
}

.discussion-first-level-containers {
  position: relative;
  width: 100%;
  height: auto;
}

.discussion-second-level-containers {
  position: relative;
  width: 100%;
  height: auto;
}

.discussion-second-level-left-padding {
  width: 14%;
  height: 0;
  padding-bottom: 14%;
}

.discussion-second-level-parent-row {
  width: 56%;
  margin-left: 37%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: row;
  opacity: 0.6;
}

.discussion-second-level-parent-names {
  font-family: "Trebuchet MS", geneva, helvetica, arial, tahoma, verdana, sans-serif;
  opacity: 0.9;
}

.discussion-second-level-parent-contents {
  font-family: "Trebuchet MS", geneva, helvetica, arial, tahoma, verdana, sans-serif;
  opacity: 0.9;
}

.discussion-first-level-row-one {
  width: 100%;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-direction: row;
}

.discussion-first-level-icon-containers {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-around;
}

.discussion-first-level-icons {
  aspect-ratio: 1;
  border-radius: 50%;
  background-color: #fbe8bf;
}

.discussion-first-level-votes {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: row;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.discussion-downvote-buttons {
  order: 1;
  opacity: 0.4;
  cursor: pointer;
}

.discussion-downvote-buttons:hover {
  opacity: 1;
}

.discussion-vote-texts {
  order: 2;
  height: auto;
  width: auto;
  text-align: center;
  font-size: min(1.7vh, 3.4vw);
  line-height: min(1.7vh, 3.4vw);
  opacity: 0.8;
  padding-left: 4%;
  padding-right: 4%;
}

.discussion-upvote-buttons {
  order: 3;
  opacity: 0.4;
  cursor: pointer;
}

.discussion-upvote-buttons:hover {
  opacity: 1;
}

.admin-trash-icons {
  position: absolute;
  right: min(0.8vh, 1.6vw);
  top: min(0.6vh, 1.2vw);
  width: min(2.8vh, 7vw);
  height: min(2.8vh, 7vw);
  background-image: url("../img/trash.png");
  background-size: 100%;
  background-position: center;
  cursor: pointer;
  opacity: 0.75;
}

.discussion-first-level-text-containers {
  position: relative;
  min-width: 50%;
  max-width: 64%;
  border-radius: 1vh;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  flex-direction: column;
  background-color: var(--comment-modal-content-background-color);
}

.first-level-text-container-with-diagram {
  width: 64%;
}

.discussion-second-level-text-containers {
  position: relative;
  min-width: 48%;
  max-width: 53%;
  border-radius: 1vh;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  flex-direction: column;
  background-color: var(--comment-modal-content-background-color);
}

.second-level-text-container-with-diagram {
  width: 53%;
}

.discussion-first-level-text-usernames {
  font-family: "Trebuchet MS", geneva, helvetica, arial, tahoma, verdana, sans-serif;
  font-weight: bold;
  color: var(--comment-modal-comment-head-text-color);
  overflow-wrap: break-word;
  word-break: break-word;
}

.discussion-first-level-text-contents {
  font-family: "Trebuchet MS", geneva, helvetica, arial, tahoma, verdana, sans-serif;
  color: var(--comment-modal-comment-text-color);
  overflow-wrap: break-word;
  word-break: break-word;
  white-space: pre-line;
}

.daily-comment-positions {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 100%;
  cursor: pointer;
  background-image: var( --comment-position-background-image);
  background-size: 100%;
  background-position: center;
  border-radius: 1.2vh;
  opacity: var(--comment-positions-opacity);
}

.comment-positions {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 100%;
  margin-bottom: 6%;
  cursor: pointer;
  background-image: var( --comment-position-background-image);
  background-size: 100%;
  background-position: center;
  border-radius: 1.2vh;
  opacity: var(--comment-positions-opacity);
}

.comment-grid-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  aspect-ratio: 1;
}

.comment-stone-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  aspect-ratio: 1;
}

.discussion-first-level-row-two {
  width: 50%;
  margin-left: 22%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-direction: row;
}

.discussion-second-level-row-two {
  width: 50%;
  margin-left: 36%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-direction: row;
}

.discussion-first-level-text-likes {
  font-family: "Trebuchet MS", geneva, helvetica, arial, tahoma, verdana, sans-serif;
  opacity: 0.9;
  cursor: pointer;
}

#discussion-write-container {
  position: absolute;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-direction: column;
  background-color: var(--comment-modal-highlight-background-color);
  box-shadow: 0 0 2vh rgba(0, 0, 0, 0.2);
}

#discussion-reply-header {
  width: 100%;
  height: 3vh;
  margin-top: 0.8vh;
  margin-bottom: -0.8vh;
  order: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: row;
}

#discussion-reply-head-icon {
  width: 3vh;
  height: 3vh;
  opacity: 0.6;
  background-color: rgba(0, 0, 0, 0.1);
  border-radius: 0.2vh;
  cursor: pointer;
}

#discussion-reply-head-text {
  margin-right : 2vh;
  font-family: "Trebuchet MS", geneva, helvetica, arial, tahoma, verdana, sans-serif;
  font-style: italic;
  margin-top: 0.2vh;
  line-height: 2.4vh;
  font-size: 2.2vh;
}

#discussion-write-field {
  order: 2;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-direction: row;
}

.write-field-active {
  opacity: 1;
}

.write-field-inactive {
  opacity: 0.4;
}

#discussion-write-icon-container {
  position: relative;
  order: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

#discussion-write-icon {
  aspect-ratio: 1;
  background-color: var(--comment-modal-input-background-color);
  border-radius: 50%;
  background-color: #fbe8bf;
}

#discussion-write-text-container {
  position: relative;
  padding-top: 1.3vh;
  padding-bottom: 1.3vh;
  order: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

#discussion-write-text-wrapper {
  width: 95%;
  min-height: 82%;
  border-radius: 2vh;
  background-color: var(--comment-modal-input-background-color);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-direction: column;
}

#discussion-write-text-scroll-items {
  display: inline-block;
  order: 1;
  width: 100%;
  height: auto;
  max-height: 55vh;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  display: block;
  margin-bottom: 0.4vh;
}

#discussion-write-text-input-field {
  display: inline-block;
  order: 1;
  height: auto;
  min-height: 4vh;
  max-height: 100vh;
  overflow: hidden;
  resize: none;
  font-family: "Trebuchet MS", geneva, helvetica, arial, tahoma, verdana, sans-serif;
  font-size: min(2.4vh, 4.32vw);
  line-height: min(2.56vh, 4.48vw);
  padding-top: 0.5vh;
  margin-top: 1.2vh;
  opacity: var(--comment-discussion-write-text-input-opacity);
  border: none;
  border-width : 0;
  background-color: rgba(0, 0, 0, 0);
}

#discussion-write-text-input-field:focus {
  border: none;
  outline: none;
  outline-width: 0;
  box-shadow: none;
}

#discussion-write-text-input-diagram-container {
  display: inline-block;
  order: 2;
  position: relative;
  width: 90%;
  height: 0;
  padding-bottom: 90%;
  padding-left: 5%;
  padding-right: 5%;
}

#discussion-write-text-input-icon-container {
  display: inline-block;
  order: 2;
  position: relative;
  width: 92%;
  height: 4vh;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-direction: row;
  margin-bottom: 0.2vh;
  margin-top: 0.3vh;
}

.discussion-write-text-input-icons {
  display: inline-block;
  position: absolute;
  width: 3.2vh;
  height: 3.2vh;
  cursor: pointer;
}

#discussion-write-text-input-add-icon {
  top: 0;
  left: 0;
  opacity: 0.3;
}

#discussion-write-text-input-add-icon:hover {
  opacity: 0.4;
}

#discussion-write-text-input-post-icon {
  top: 0;
  right: 0;
  opacity: 0.3;
}

#discussion-write-text-input-post-icon:hover {
  opacity: 0.4;
}

#discussion-no-comments-container {
  width: 100%;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Trebuchet MS", geneva, helvetica, arial, tahoma, verdana, sans-serif;
  font-size: min(2.4vh, 4.32vw);
  line-height: min(2.56vh, 4.48vw);
  color: #555;
  opacity: 0.3;
}


#btp-admin-rating-modal-container {
  position: fixed;
  box-sizing: border-box;
  border-radius: 2vh;
  overflow: hidden;
  -webkit-transition: visibility 130ms, opacity 200ms ease-in;
  -moz-transition: visibility 130ms, opacity 200ms ease-in;
  transition: visibility 130ms, opacity 200ms ease-in;
  z-index: 201;
  box-shadow: 0 0 3vh rgba(0, 0, 0, 0.44);
  background-color: var(--playlist-modal-background-color);
  top: 10vh;
  width: 88vw;
  max-width: 62vh;
  height: 80vh;
  left: 50%;
  margin-left: max(-44vw, -31vh);
}

#btp-admin-rating-modal-close-icon {
  position: absolute;
  top: 0.5%;
  right: 1vh;
  width: 11%;
  height: 7%;
  cursor: pointer;
  opacity: 0.9;
}

#btp-admin-rating-modal-top-text {
  position: absolute;
  top: 0.5%;
  left: 20%;
  width: 60%;
  height: 7%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-around;
  font-family: Inter, -apple-system, system-ui, "Segoe UI", Helvetica, Arial, sans-serif;
  text-align: center;
  font-size: min(2.6vh, 5vw);
  line-height: min(3vh, 5.2vw);
  color: #ccc;
}

#btp-admin-rating-modal-content {
  position: absolute;
  top: 8%;
  left: 0;
  right: 0;
  bottom: 0;
  padding-top: 3%;
  padding-bottom: 5%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-around;
  overflow: auto;
  scrollbar-width: thin;
  background-color: var(--playlist-modal-content-background-color);
}

#btp-admin-rating-modal-rank-selector {
  width: 40%;
  height: 6vh;
  font-family: Inter, -apple-system, system-ui, "Segoe UI", Helvetica, Arial, sans-serif;
  text-align: center;
  font-size: min(2.6vh, 5vw);
  line-height: min(3vh, 5.2vw);
}

#btp-admin-rating-modal-button {
  height: 8vh;
  width: 18vh;
  border-radius: 1vh;
  box-shadow: 0 0 1.6vh rgba(0, 0, 0, 0.14);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: #111;
  cursor: pointer;
  font-family: Inter, -apple-system, system-ui, "Segoe UI", Helvetica, Arial, sans-serif;
  text-align: center;
  font-size: min(2.6vh, 5vw);
  line-height: min(3vh, 5.2vw);
  color: #ccc;
}

#btp-admin-rating-modal-button:hover {
  background-color: #333;
  box-shadow: 0 0 1.6vh rgba(0, 0, 0, 0.25);
}

.admin-rating-modal-button-inactive {
  opacity: 0.6;
}


#btp-login-modal-container {
  position: fixed;
  box-sizing: border-box;
  border-radius: 2vh;
  overflow: hidden;
  -webkit-transition: visibility 130ms, opacity 200ms ease-in;
  -moz-transition: visibility 130ms, opacity 200ms ease-in;
  transition: visibility 130ms, opacity 200ms ease-in;
  z-index: 201;
  box-shadow: 0 0 3vh rgba(0, 0, 0, 0.44);
  background-color: var(--playlist-modal-background-color);
  top: 10vh;
  width: 88vw;
  max-width: 62vh;
  height: 80vh;
  left: 50%;
  margin-left: max(-44vw, -31vh);
}

#btp-login-modal-close-icon {
  position: absolute;
  top: 0.5%;
  right: 1vh;
  width: 11%;
  height: 7%;
  cursor: pointer;
  opacity: 0.9;
}

#btp-login-modal-top-text {
  position: absolute;
  top: 0.5%;
  left: 20%;
  width: 60%;
  height: 7%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-around;
  font-family: Inter, -apple-system, system-ui, "Segoe UI", Helvetica, Arial, sans-serif;
  text-align: center;
  font-size: min(2.6vh, 5vw);
  line-height: min(3vh, 5.2vw);
  color: #ccc;
}

#btp-login-modal-content {
  position: absolute;
  top: 8%;
  left: 0;
  right: 0;
  bottom: 0;
  padding-top: 3%;
  padding-bottom: 5%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-around;
  overflow: auto;
  scrollbar-width: thin;
  background-color: var(--playlist-modal-content-background-color);
}


#btp-login-input-form {
  position: relative;
  width: 100%;
  height: 60%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-around;
}

.btp-login-text-fields {
  position: relative;
  width: 64%;
  height: 7vh;
  border-radius: 1vh;
  font-family: Inter, -apple-system, system-ui, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: min(2.4vh, 4.7vw);
  line-height: min(2.4vh, 4.7vw);
  padding-left: 4%;
  padding-right: 4%;
}

#btp-login-button {
  position: relative;
  width: 32%;
  height: 7vh;
  border-radius: 1vh;
  margin-top: 1vh;
  font-family: Inter, -apple-system, system-ui, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: min(2.4vh, 4.7vw);
  line-height: min(2.4vh, 4.7vw);
  color: #eee;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  background-image: var(--login-button-background-gradient);
  box-shadow: 0 0 2vh rgba(0, 0, 0, 0.2);
  border: none;
  outline: none;
  outline-width: 0;
  cursor: pointer;
}

#btp-login-button:focus {
  box-sizing: border-box;
  border: 0.3vh solid #ddd;
  box-shadow: 0 0 1.6vh rgba(0, 0, 0, 0.25);
  font-weight: bold;
}

.btp-login-button-active {
  opacity: 1;
  box-shadow: 0 0 2vh rgba(0, 0, 0, 0.2);
  color: white;
}

.btp-login-button-inactive {
  opacity: 0.8;
  box-shadow: none;
  color: lightgray;
}

#btp-login-modal-options {
  position: relative;
  width: 62%;
  height: 5vh;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  font-family: Inter, -apple-system, system-ui, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: min(2.2vh, 4.2vw);
  line-height: min(2.2vh, 4.2vw);
  color: var(--login-option-text-color);
  opacity: 0.5;
}

#btp-login-modal-option-register {
  cursor: pointer;
}

#btp-login-modal-option-reset {
  cursor: pointer;
}

#floating-register-link {
  position: fixed;
  box-sizing: border-box;
  border-radius: 2vh;
  overflow: hidden;
  -webkit-transition: visibility 130ms, opacity 200ms ease-in;
  -moz-transition: visibility 130ms, opacity 200ms ease-in;
  transition: visibility 130ms, opacity 200ms ease-in;
  z-index: 202;
  box-shadow: 0 0 4vh rgba(0, 0, 0, 0.54);
  background-color: var(--playlist-modal-background-color);
  bottom: 6vh;
  width: 88vw;
  max-width: 68vh;
  height: 9vh;
  left: 50%;
  margin-left: max(-44vw, -34vh);
}

#floating-link-close-icon {
  position: absolute;
  top: 20%;
  right: 2%;
  width: 8%;
  min-width: 5vh;
  border-radius: 1vh;
  height: 60%;
  cursor: pointer;
  opacity: 0.9;
}

#floating-link-text-container {
  position: absolute;
  left: 0;
  top: 0;
  right: max(11%, 5.5vh);
  bottom: 0;
  padding-left: 2vh;
  padding-right: 2vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

#floating-link-text-content {
  width: auto;
  height: auto;
  font-family: Inter, -apple-system, system-ui, "Segoe UI", Helvetica, Arial, sans-serif;
  text-align: center;
  font-size: min(2.4vh, 5vw);
  line-height: min(2.4vh, 5vw);
  color: #ccc;
  cursor: pointer;
  text-decoration: underline;
}


#btp-register-modal-container {
  position: fixed;
  box-sizing: border-box;
  border-radius: 2vh;
  overflow: hidden;
  -webkit-transition: visibility 130ms, opacity 200ms ease-in;
  -moz-transition: visibility 130ms, opacity 200ms ease-in;
  transition: visibility 130ms, opacity 200ms ease-in;
  z-index: 201;
  box-shadow: 0 0 3vh rgba(0, 0, 0, 0.44);
  background-color: var(--playlist-modal-background-color);
  top: 10vh;
  width: 88vw;
  max-width: 62vh;
  height: 80vh;
  left: 50%;
  margin-left: max(-44vw, -31vh);
}

#btp-register-modal-back-icon {
  position: absolute;
  top: 0.5%;
  left: 1vh;
  width: 11%;
  height: 7%;
  cursor: pointer;
  opacity: 0.9;
}

#btp-register-modal-top-text {
  position: absolute;
  top: 0.5%;
  left: 20%;
  width: 60%;
  height: 7%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-around;
  font-family: Inter, -apple-system, system-ui, "Segoe UI", Helvetica, Arial, sans-serif;
  text-align: center;
  font-size: min(2.6vh, 5vw);
  line-height: min(3vh, 5.2vw);
  color: #ccc;
}

#btp-register-modal-content {
  position: absolute;
  top: 8%;
  left: 0;
  right: 0;
  bottom: 0;
  padding-top: 3%;
  padding-bottom: 5%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-around;
  overflow: auto;
  scrollbar-width: thin;
  background-color: var(--playlist-modal-content-background-color);
}

#btp-register-modal-content-loading-cover {
  position: absolute;
  top: 8%;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0.75;
  /* display: flex; */
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: var(--playlist-modal-content-background-color);
  z-index: 202;
}

#btp-register-modal-content-loading-icon {
  position: relative;
  width: 10vh;
  height: 10vh;
  border-radius: 10vh;
  border-style: solid none solid none;
  border-color: #aaa;
  border-width: 0.6vh;
  animation-name: rotation;
  animation-duration: 1.5s;
  animation-iteration-count: infinite;
}

@keyframes rotation {
  from {
    -ms-transform: rotate(0deg);
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  to {
    -ms-transform: rotate(360deg);
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

#btp-register-modal-name-container {
  position: relative;
  width: 72%;
  max-width: 33vh;
  height: 7vh;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
}

#btp-register-modal-name-field {
  position: relative;
  width: 68%;
  height: 7vh;
  border-radius: 1vh;
  font-family: Inter, -apple-system, system-ui, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: min(2.4vh, 4.7vw);
  line-height: min(2.4vh, 4.7vw);
  padding-left: 4%;
  padding-right: 4%;
}

#btp-register-modal-name-icon-container {
  position: relative;
  width: 22%;
  height: 100%;
  border-radius: 1vh;
  font-family: Inter, -apple-system, system-ui, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: min(2.4vh, 4.7vw);
  line-height: min(2.4vh, 4.7vw);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}

#btp-register-modal-name-icon {
  position: relative;
  width: 48%;
  height: 0;
  padding-bottom: 48%;
  background-size: 100%;
  background-position: center;
}

#btp-register-modal-rank-selector {
  position: relative;
  width: 72%;
  max-width: 33vh;
  height: 7vh;
  font-family: Inter, -apple-system, system-ui, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: min(2.4vh, 4.7vw);
  line-height: min(2.4vh, 4.7vw);
  padding-left: 4%;
}

#btp-register-modal-country-selector {
  position: relative;
  width: 72%;
  max-width: 33vh;
  height: 7vh;
  font-family: Inter, -apple-system, system-ui, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: min(2.4vh, 4.7vw);
  line-height: min(2.4vh, 4.7vw);
  padding-left: 4%;
}

#btp-register-modal-collection-selector {
  position: relative;
  width: 72%;
  max-width: 33vh;
  height: 7vh;
  font-family: Inter, -apple-system, system-ui, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: min(2.4vh, 4.7vw);
  line-height: min(2.4vh, 4.7vw);
  padding-left: 4%;
}

.btp-register-text-fields {
  position: relative;
  width: 64%;
  max-width: 28vh;
  height: 7vh;
  border-radius: 1vh;
  font-family: Inter, -apple-system, system-ui, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: min(2.4vh, 4.7vw);
  line-height: min(2.4vh, 4.7vw);
  padding-left: 4%;
  padding-right: 4%;
}

#btp-register-next-button {
  position: relative;
  width: 32%;
  height: 7vh;
  border-radius: 1vh;
  margin-top: 1vh;
  font-family: Inter, -apple-system, system-ui, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: min(2.4vh, 4.7vw);
  line-height: min(2.4vh, 4.7vw);
  color: #eee;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  background-image: var(--login-button-background-gradient);
  box-shadow: 0 0 2vh rgba(0, 0, 0, 0.2);
  border: none;
  outline: none;
  outline-width: 0;
  cursor: pointer;
}

#btp-register-next-button:focus {
  box-sizing: border-box;
  box-shadow: 0 0 1.6vh rgba(0, 0, 0, 0.25);
  font-weight: bold;
}

#btp-register-modal-step-two-content {
  position: absolute;
  top: 8%;
  left: 0;
  right: 0;
  bottom: 0;
  padding-top: 3%;
  padding-bottom: 5%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-around;
  overflow: auto;
  scrollbar-width: thin;
  background-color: var(--playlist-modal-content-background-color);
}

#btp-register-modal-empty-spacer {
  position: relative;
  width: 64%;
  max-width: 28vh;
  height: 21vh;
  font-family: Inter, -apple-system, system-ui, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: min(2.4vh, 4.7vw);
  line-height: min(2.4vh, 4.7vw);
  padding-left: 4%;
  padding-right: 4%;
}

#btp-register-button {
  position: relative;
  width: 32%;
  height: 7vh;
  border-radius: 1vh;
  font-family: Inter, -apple-system, system-ui, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: min(2.4vh, 4.7vw);
  line-height: min(2.4vh, 4.7vw);
  color: #eee;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  background-image: var(--login-button-background-gradient);
  box-shadow: 0 0 2vh rgba(0, 0, 0, 0.2);
  border: none;
  outline: none;
  outline-width: 0;
  cursor: pointer;
}

#btp-register-button:focus {
  box-sizing: border-box;
  box-shadow: 0 0 1.6vh rgba(0, 0, 0, 0.25);
  font-weight: bold;
}

#btp-register-modal-step-three-content {
  position: absolute;
  top: 8%;
  left: 0;
  right: 0;
  bottom: 0;
  padding-top: 3%;
  padding-bottom: 5%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: auto;
  scrollbar-width: thin;
  background-color: var(--playlist-modal-content-background-color);
}

#btp-confirmation-head {
  max-width: 90%;
  font-family: "Trebuchet MS", geneva, helvetica, arial, tahoma, verdana, sans-serif;
  font-size: min(4.2vh, 8.2vw);
  line-height: min(4.2vh, 8.2vw);
  text-align: center;
  color: #333;
  margin-bottom: 4vh;
}

#btp-confirmation-information {
  max-width: 90%;
  font-family: "Trebuchet MS", geneva, helvetica, arial, tahoma, verdana, sans-serif;
  font-size: min(2.4vh, 4.6vw);
  line-height: min(2.4vh, 4.6vw);
  text-align: center;
  color: #888;
  overflow-wrap: break-word;
  word-break: break-word;
  margin-bottom: 6vh;
}

.btp-code-container {
  display: flex;
  width: 94%;
  height: 12vh;
  justify-content: center;
  margin-bottom: 7vh;
}

.btp-code-input {
  width: 10.6%;
  height: 9vh;
  text-align: center;
  font-size: min(3.6vh, 7vw);
  border: 1.3px solid #ccc;
  border-radius: 1vh;
  outline: none;
  transition: border-color 0.2s ease;
  margin-left: 1%;
  margin-right: 1%;
}

.btp-code-input:focus {
  border-color: #444444;
  box-shadow: 0 0 1vh rgba(100, 100, 100, 0.6);
}

#btp-confirmation-cancel {
  max-width: 90%;
  font-family: "Trebuchet MS", geneva, helvetica, arial, tahoma, verdana, sans-serif;
  font-size: min(2.4vh, 4.6vw);
  line-height: min(2.4vh, 4.6vw);
  text-align: center;
  text-decoration: underline;
  color: #777;
  user-select: none;
  cursor: pointer;
}

#btp-register-modal-payment-content-container {
  position: absolute;
  top: 8%;
  left: 0;
  right: 0;
  bottom: 0;
  padding-top: 3%;
  padding-bottom: 5%;
  overflow-y: scroll;
  scrollbar-width: thin;
  background-color: var(--playlist-modal-content-background-color); */
}

#btp-register-modal-payment-content {
  position: relative;
  width: 80%;
  margin-left: 10%;
  margin-right: 10%;
  height: auto;
}

#btp-register-modal-payment-information {
  position: relative;
  width: 100%;
  height: auto;
  font-family: Inter, -apple-system, system-ui, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: min(2.2vh, 4.3vw);
  line-height: min(2.3vh, 4.6vw);
  color: #000;
  opacity: 0.7;
  margin-top: 1vh;
  margin-bottom: 3vh;
  text-align: justify;
}

.skip-link {
  text-decoration: underline;
  font-weight: bold;
  cursor: pointer;
  color: #2222EE;
}

#btp-register-modal-currency-block {
  position: relative;
  padding-left: 2%;
  width: 98%;
  height: 10vh;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  background-color: #222222;
}

#btp-register-modal-currency-amount-text {
  width: auto;
  height: auto;
  font-family: Inter, -apple-system, system-ui, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: min(3.1vh, 4.7vw);
  line-height: min(3.1vh, 4.7vw);
  font-weight: bold;
  color: #eee;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  margin-right: 10%;
}

#btp-register-modal-currency-selector {
  width: 28%;
  aspect-ratio: 5 / 2.5;
  font-family: Inter, -apple-system, system-ui, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: min(2.3vh, 4.4vw);
  line-height: min(2.3vh, 4.4vw);
  color: #333;
  text-align: center;
}

#register-payment-form {
  position: relative;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-around;
  margin-top: 1vh;
}

#register-submit {
  position: relative;
  width: auto;
  height: 8vh;
  border-radius: 1vh;
  font-family: Inter, -apple-system, system-ui, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: min(2.4vh, 4.7vw);
  line-height: min(2.4vh, 4.7vw);
  font-weight: bold;
  color: #eee;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  background-image: var(--login-button-background-gradient);
  box-shadow: 0 0 2vh rgba(0, 0, 0, 0.2);
  border: none;
  outline: none;
  outline-width: 0;
  cursor: pointer;
  padding-left: 8%;
  padding-right: 8%;
  margin-top: 1.5vh;
}

#register-submit:disabled {
  opacity: 0.8;
  box-shadow: none;
  color: lightgray;
}

#register-bottom-padding {
  width 100%;
  height: 7vh;
}

#btp-success-modal-container {
  position: fixed;
  box-sizing: border-box;
  border-radius: 2vh;
  overflow: hidden;
  -webkit-transition: visibility 130ms, opacity 200ms ease-in;
  -moz-transition: visibility 130ms, opacity 200ms ease-in;
  transition: visibility 130ms, opacity 200ms ease-in;
  z-index: 201;
  box-shadow: 0 0 3vh rgba(0, 0, 0, 0.44);
  background-color: var(--playlist-modal-background-color);
  top: 10vh;
  width: 88vw;
  max-width: 62vh;
  height: 80vh;
  left: 50%;
  margin-left: max(-44vw, -31vh);
}

#btp-success-modal-close-icon {
  position: absolute;
  top: 0.5%;
  right: 1vh;
  width: 11%;
  height: 7%;
  cursor: pointer;
  opacity: 0.9;
}

#btp-success-modal-top-text {
  position: absolute;
  top: 0.5%;
  left: 20%;
  width: 60%;
  height: 7%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-around;
  font-family: inter, -apple-system, system-ui, "segoe ui", helvetica, arial, sans-serif;
  text-align: center;
  font-size: min(2.6vh, 5vw);
  line-height: min(3vh, 5.2vw);
  color: #ccc;
}

#btp-success-modal-content {
  position: absolute;
  top: 8%;
  left: 0;
  right: 0;
  bottom: 0;
  padding-top: 3%;
  padding-left: 10%;
  padding-right: 10%;
  padding-bottom: 5%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: auto;
  scrollbar-width: thin;
  background-color: var(--playlist-modal-content-background-color);
}

#btp-success-modal-head {
  width: 100%;
  height: auto;
  font-family: inter, -apple-system, system-ui, "segoe ui", helvetica, arial, sans-serif;
  font-size: min(2.4vh, 4.7vw);
  line-height: min(2.4vh, 4.7vw);
  font-align: center;
  padding-top: 4vh;
  padding-bottom: 2vh;
}


#btp-success-modal-body {
  width: 100%;
  height: auto;
  font-family: inter, -apple-system, system-ui, "segoe ui", helvetica, arial, sans-serif;
  font-size: min(2.4vh, 4.7vw);
  line-height: min(2.4vh, 4.7vw);
  font-align: left;
  padding-top: 2vh;
  padding-bottom: 6vh;
  text-align: justify;
}

#btp-success-modal-close-button {
  position: relative;
  width: 32%;
  height: 7vh;
  border-radius: 1vh;
  font-family: inter, -apple-system, system-ui, "segoe ui", helvetica, arial, sans-serif;
  font-size: min(2.4vh, 4.7vw);
  line-height: min(2.4vh, 4.7vw);
  color: #eee;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  background-image: var(--login-button-background-gradient);
  box-shadow: 0 0 2vh rgba(0, 0, 0, 0.2);
  border: none;
  outline: none;
  outline-width: 0;
  cursor: pointer;
  margin-top: 6vh;
  margin-bottom: 4vh;
}


#btp-reset-modal-container {
  position: fixed;
  box-sizing: border-box;
  border-radius: 2vh;
  overflow: hidden;
  -webkit-transition: visibility 130ms, opacity 200ms ease-in;
  -moz-transition: visibility 130ms, opacity 200ms ease-in;
  transition: visibility 130ms, opacity 200ms ease-in;
  z-index: 201;
  box-shadow: 0 0 3vh rgba(0, 0, 0, 0.44);
  background-color: var(--playlist-modal-background-color);
  top: 10vh;
  width: 88vw;
  max-width: 62vh;
  height: 80vh;
  left: 50%;
  margin-left: max(-44vw, -31vh);
}

#btp-reset-modal-back-icon {
  position: absolute;
  top: 0.5%;
  left: 1vh;
  width: 11%;
  height: 7%;
  cursor: pointer;
  opacity: 0.9;
}

#btp-reset-modal-top-text {
  position: absolute;
  top: 0.5%;
  left: 20%;
  width: 60%;
  height: 7%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-around;
  font-family: inter, -apple-system, system-ui, "segoe ui", helvetica, arial, sans-serif;
  text-align: center;
  font-size: min(2.6vh, 5vw);
  line-height: min(3vh, 5.2vw);
  color: #ccc;
}

#btp-reset-modal-content {
  position: absolute;
  top: 8%;
  left: 0;
  right: 0;
  bottom: 0;
  padding-top: 3%;
  padding-bottom: 5%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  scrollbar-width: thin;
  background-color: var(--playlist-modal-content-background-color);
}


#btp-reset-modal-send-button {
  position: relative;
  width: 32%;
  height: 7vh;
  border-radius: 1vh;
  font-family: inter, -apple-system, system-ui, "segoe ui", helvetica, arial, sans-serif;
  font-size: min(2.4vh, 4.7vw);
  line-height: min(2.4vh, 4.7vw);
  color: #eee;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  background-image: var(--login-button-background-gradient);
  box-shadow: 0 0 2vh rgba(0, 0, 0, 0.2);
  border: none;
  outline: none;
  outline-width: 0;
  cursor: pointer;
  margin-top: 6vh;
  margin-bottom: 4vh;
}


#btp-reset-modal-send-button:focus {
  box-sizing: border-box;
  box-shadow: 0 0 1.6vh rgba(0, 0, 0, 0.25);
  font-weight: bold;
}

#btp-reset-modal-confirmation-content {
  position: absolute;
  top: 8%;
  left: 0;
  right: 0;
  bottom: 0;
  padding-top: 3%;
  padding-bottom: 5%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: auto;
  scrollbar-width: thin;
  background-color: var(--playlist-modal-content-background-color);
}

#btp-reset-confirmation-head {
  max-width: 90%;
  font-family: "Trebuchet MS", geneva, helvetica, arial, tahoma, verdana, sans-serif;
  font-size: min(4.2vh, 8.2vw);
  line-height: min(4.2vh, 8.2vw);
  text-align: center;
  color: #333;
  margin-bottom: 4vh;
}

#btp-reset-confirmation-information {
  max-width: 90%;
  font-family: "Trebuchet MS", geneva, helvetica, arial, tahoma, verdana, sans-serif;
  font-size: min(2.4vh, 4.6vw);
  line-height: min(2.4vh, 4.6vw);
  text-align: center;
  color: #888;
  overflow-wrap: break-word;
  word-break: break-word;
  margin-bottom: 6vh;
}

.btp-reset-code-container {
  display: flex;
  width: 94%;
  height: 12vh;
  justify-content: center;
  margin-bottom: 7vh;
}

.btp-reset-code-input {
  width: 10.6%;
  height: 9vh;
  text-align: center;
  font-size: min(3.6vh, 7vw);
  border: 1.3px solid #ccc;
  border-radius: 1vh;
  outline: none;
  transition: border-color 0.2s ease;
  margin-left: 1%;
  margin-right: 1%;
}

.btp-reset-code-input:focus {
  border-color: #444444;
  box-shadow: 0 0 1vh rgba(100, 100, 100, 0.6);
}

#btp-reset-confirmation-cancel {
  max-width: 90%;
  font-family: "Trebuchet MS", geneva, helvetica, arial, tahoma, verdana, sans-serif;
  font-size: min(2.4vh, 4.6vw);
  line-height: min(2.4vh, 4.6vw);
  text-align: center;
  text-decoration: underline;
  color: #777;
  user-select: none;
  cursor: pointer;
}

#btp-reset-modal-password-content {
  position: absolute;
  top: 8%;
  left: 0;
  right: 0;
  bottom: 0;
  padding-top: 3%;
  padding-bottom: 5%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  scrollbar-width: thin;
  background-color: var(--playlist-modal-content-background-color);
}

#btp-reset-modal-password-title {
  height: 3vh;
  width: auto;
  font-family: "Noto Sans", Sans-Serif;
  font-size: min(2.6vh, 5vw);
  line-height: min(2.6vh, 5vw);
  color: #444;
  text-align: center;
  margin-bottom: 5vh;
}

#btp-reset-modal-new-password-field {
  margin-bottom: 4vh;
}

#btp-reset-modal-new-password-repeat-field {
  margin-bottom: 2vh;
}

#btp-reset-modal-password-button {
  position: relative;
  width: 32%;
  height: 8vh;
  border-radius: 1vh;
  font-family: Inter, -apple-system, system-ui, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: min(2.4vh, 4.7vw);
  line-height: min(2.4vh, 4.7vw);
  color: #eee;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  background-image: var(--login-button-background-gradient);
  box-shadow: 0 0 2vh rgba(0, 0, 0, 0.2);
  border: none;
  outline: none;
  outline-width: 0;
  cursor: pointer;
  margin-top: 5vh;
  margin-bottom: 5vh;
}

#btp-reset-modal-password-button:focus {
  box-sizing: border-box;
  box-shadow: 0 0 1.6vh rgba(0, 0, 0, 0.25);
  font-weight: bold;
}


#btp-reset-modal-content-loading-cover {
  position: absolute;
  top: 8%;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0.75;
  /* display: flex; */
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: var(--playlist-modal-content-background-color);
  z-index: 202;
}

#btp-reset-modal-content-loading-icon {
  position: relative;
  width: 10vh;
  height: 10vh;
  border-radius: 10vh;
  border-style: solid none solid none;
  border-color: #aaa;
  border-width: 0.6vh;
  animation-name: rotation;
  animation-duration: 1.5s;
  animation-iteration-count: infinite;
}


#btp-settings-modal-container {
  position: fixed;
  box-sizing: border-box;
  border-radius: 2vh;
  overflow: hidden;
  z-index: 201;
  box-shadow: 0 0 3vh rgba(0, 0, 0, 0.44);
  background-color: var(--playlist-modal-background-color);
  top: 10vh;
  width: 88vw;
  max-width: 62vh;
  height: 80vh;
  left: 50%;
  margin-left: max(-44vw, -31vh);
}

#btp-settings-modal-back-icon {
  position: absolute;
  top: 0.5%;
  left: 1vh;
  width: 11%;
  height: 7%;
  cursor: pointer;
  opacity: 0.9;
}

#btp-settings-modal-close-icon {
  position: absolute;
  top: 0.5%;
  right: 1vh;
  width: 11%;
  height: 7%;
  cursor: pointer;
  opacity: 0.9;
}

#btp-settings-modal-top-text {
  position: absolute;
  top: 0.5%;
  left: 20%;
  width: 60%;
  height: 7%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-around;
  font-family: Inter, -apple-system, system-ui, "Segoe UI", Helvetica, Arial, sans-serif;
  text-align: center;
  font-size: min(2.6vh, 5vw);
  line-height: min(3vh, 5.2vw);
  color: #ccc;
}

#btp-settings-modal-content {
  position: absolute;
  top: 8%;
  left: 0;
  right: 0;
  bottom: 0;
  padding-top: 3%;
  padding-bottom: 5%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-around;
  overflow: auto;
  scrollbar-width: thin;
  background-color: var(--playlist-modal-content-background-color);
}

#btp-settings-modal-language-text {
  width: 45%;
  font-family: Inter, -apple-system, system-ui, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: min(2.3vh, 4.4vw);
  line-height: min(2.5vh, 4.6vw);
  font-weight: bold;
  color: var(--rated-switch-font-color);
  opacity: 0.95;
}

#btp-settings-modal-language-selector {
  position: relative;
  width: 55%;
  height: 6.5vh;
  font-family: Inter, -apple-system, system-ui, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: min(2.4vh, 4.7vw);
  line-height: min(2.4vh, 4.7vw);
  padding-left: 4%;
}

.settings-option-containers {
  width: 60%;
  height: 10%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-direction: row;
}

.settings-option-texts {
  font-family: Inter, -apple-system, system-ui, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: min(2.3vh, 4.4vw);
  line-height: min(2.5vh, 4.6vw);
  font-weight: bold;
  color: var(--rated-switch-font-color);
  opacity: 0.95;
}

.settings-option-contents {
  position: relative;
  height: 80%;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.settings-option-tracks {
  position: absolute;
  height: 75%;
  top: 12.5%;
  left: 5%;
  box-sizing: border-box;
}

.settings-option-slides {
  opacity: 1;
  position: absolute;
  height: 80%;
  top: 10%;
  box-sizing: border-box;
  box-shadow: 0 0 0.6vh var(--rated-switch-box-shadow-color);
}


.settings-switch-slide-off {
  left: 4%;
  background-color: var(--rated-switch-slide-inactive--background-color);
}

.settings-switch-slide-on {
  left: 46%;
  background-color: var(--rated-switch-slide-active--background-color);
}


#btp-discussion-modal-container {
  position: fixed;
  box-sizing: border-box;
  border-radius: 2vh;
  overflow: hidden;
  z-index: 201;
  box-shadow: 0 0 3vh rgba(0, 0, 0, 0.44);
  background-color: var(--playlist-modal-background-color);
  top: 10vh;
  width: 88vw;
  max-width: 62vh;
  height: 80vh;
  left: 50%;
  margin-left: max(-44vw, -31vh);
}

#btp-discussion-modal-back-icon {
  position: absolute;
  top: 0.5%;
  left: 1vh;
  width: 11%;
  height: 7%;
  cursor: pointer;
  opacity: 0.9;
}

#btp-discussion-modal-close-icon {
  position: absolute;
  top: 0.5%;
  right: 1vh;
  width: 11%;
  height: 7%;
  cursor: pointer;
  opacity: 0.9;
}

#btp-discussion-modal-top-text {
  position: absolute;
  top: 0.5%;
  left: 20%;
  width: 60%;
  height: 7%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-around;
  font-family: Inter, -apple-system, system-ui, "Segoe UI", Helvetica, Arial, sans-serif;
  text-align: center;
  font-size: min(2.6vh, 5vw);
  line-height: min(3vh, 5.2vw);
  color: #ccc;
}

#btp-discussion-modal-content {
  position: absolute;
  top: 8%;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--playlist-modal-content-background-color);
  overflow-y: scroll;
}

#btp-discussion-modal-discussion-loading-cover {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-around;
}

#btp-discussion-modal-discussion-icon {
  width: 10vh;
  height: 10vh;
  box-sizing: border-box;
  overflow: hidden;
  border-radius: 10vh;
  border-style: solid none solid none;
  border-color: #aaa;
  border-width: 3px;
  animation-name: discussion-icon-spinning;
  animation-duration: 1.5s;
  animation-iteration-count: infinite;
  opacity: 0.9;
}

#btp-discussion-modal-content-container {
  position: relative;
  width: 100%;
  height: auto;
  padding-top: 4vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-around;
  overflow-y: scroll;
  scrollbar-width: thin;
  -webkit-transition: visibility 400ms, opacity 400ms ease-in;
  -moz-transition: visibility 400ms, opacity 400ms ease-in;
  transition: visibility 400ms, opacity 400ms ease-in;
  background-image: var(--login-button-background-gradient);
}

.discussion-item-containers {
  position: relative;
  width: 100%;
  height: auto;
  margin-bottom: 6vh;
  padding-bottom: 1.6vh;
  background-color: rgba(255, 255, 255, 0.9);
  cursor: pointer;
  box-shadow: 0 0 2.6vh rgba(0, 0, 0, 0.2);
}

.discussion-item-title-rows {
  position: relative;
  width: 94%;
  height: 5vh;
  padding-left: 3%;
  padding-right: 3%;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  opacity: 0.9;
}

.discussion-item-title-left-texts {
  font-family: "Trebuchet MS", geneva, helvetica, arial, tahoma, verdana, sans-serif;
  font-size: min(2.3vh, 4.4vw);
  line-height: min(2.5vh, 4.6vw);
  color: var(--comment-modal-comment-head-text-color);
}

.discussion-item-title-right-texts {
  font-family: "Trebuchet MS", geneva, helvetica, arial, tahoma, verdana, sans-serif;
  font-size: min(2.2vh, 4.3vw);
  line-height: min(2.4vh, 4.5vw);
  font-style: italic;
  color: var(--comment-modal-comment-head-text-color);
  opacity: 0.8;
}

.discussion-item-content-rows {
  position: relative;
  width: 94%;
  height: auto;
  min-height: 22vh;
  padding-left: 3%;
  padding-right: 3%;
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: flex-start;
}

.discussion-item-tsumego-blocks {
  height: 100%;
  width: 35%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  opacity: 1;
}

.discussion-item-tsumego-positions {
  position: relative;
  width: 90%;
  height: 0;
  padding-bottom: 90%;
  background-image: var( --comment-position-background-image);
  background-size: 100%;
  background-position: center;
  border-radius: 1.2vh;
  box-shadow: 0 0 2vh rgba(0, 0, 0, 0.25);
  opacity: 1;
}

.discussion-item-comment-blocks {
  position: relative;
  width: 63%;
  height: auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
}

.discussion-item-comment-containers {
  width: 84%;
  height: auto;
  min-height: 22vh;
  border-radius: 1vh;
  padding-left: max(1.4vh, 5%);
  padding-right: max(1.4vh, 5%);
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  flex-direction: column;
  background-color: var(--discussion-modal-content-background-color);
  box-shadow: 0 0 2vh rgba(0, 0, 0, 0.07);
  margin-bottom: 1.2vh;
}


.discussion-modal-text-usernames {
  margin-top: 1.8vh;
  font-family: "Trebuchet MS", geneva, helvetica, arial, tahoma, verdana, sans-serif;
  font-size: min(2.2vh, 4.3vw);
  line-height: min(2.6vh, 5vw);
  font-weight: bold;
  color: var(--comment-modal-comment-head-text-color);
}

.discussion-modal-text-contents {
  margin-top: 0.6vh;
  margin-bottom: 1.2vh;
  font-family: "Trebuchet MS", geneva, helvetica, arial, tahoma, verdana, sans-serif;
  font-size: min(2.3vh, 4.4vw);
  line-height: min(2.6vh, 5vw);
  overflow-wrap: break-word;
  word-break: break-word;
  white-space: pre-line;
  color: var(--comment-modal-comment-text-color);
}

.discussion-item-content-positions {
  position: relative;
  width: 65%;
  height: 0;
  padding-bottom: 65%;
  margin-bottom: 1.6vh;
  background-image: var( --comment-position-background-image);
  background-size: 100%;
  background-position: center;
  border-radius: 1.2vh;
  opacity: var(--comment-positions-opacity);
}


#btp-expansion-modal-container {
  position: fixed;
  box-sizing: border-box;
  border-radius: 2vh;
  overflow: hidden;
  z-index: 201;
  box-shadow: 0 0 3vh rgba(0, 0, 0, 0.44);
  background-color: var(--playlist-modal-background-color);
  top: 10vh;
  width: 88vw;
  max-width: 62vh;
  height: 80vh;
  left: 50%;
  margin-left: max(-44vw, -31vh);
}

#btp-expansion-modal-back-icon {
  position: absolute;
  top: 0.5%;
  left: 1vh;
  width: 11%;
  height: 7%;
  cursor: pointer;
  opacity: 0.9;
}

#btp-expansion-modal-close-icon {
  position: absolute;
  top: 0.5%;
  right: 1vh;
  width: 11%;
  height: 7%;
  cursor: pointer;
  opacity: 0.9;
}

#btp-expansion-modal-top-text {
  position: absolute;
  top: 0.5%;
  left: 20%;
  width: 60%;
  height: 7%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-around;
  font-family: Inter, -apple-system, system-ui, "Segoe UI", Helvetica, Arial, sans-serif;
  text-align: center;
  font-size: min(2.6vh, 5vw);
  line-height: min(3vh, 5.2vw);
  color: #ccc;
}

#btp-expansion-modal-content {
  position: absolute;
  top: 8%;
  left: 0;
  right: 0;
  bottom: 0;
  padding-top: 3%;
  padding-bottom: 5%;
  overflow: auto;
  scrollbar-width: thin;
  background-color: var(--playlist-modal-content-background-color);
}

#btp-expansion-modal-banner {
  position: relative;
  width: 80%;
  aspect-ratio: 1;
  background-image: url("../img/board_light.png");
  background-size: 100%;
  background-position: center;
  margin-left: 10%;
  margin-top: 5%;
  margin-bottom: 5%;
  border: 1px solid rgba(0, 0, 0, 0.5);
  box-sizing: border-box;
  box-shadow: 0 0 2vh rgba(0, 0, 0, 0.2);
  border-radius: 4% 4% 0 0;
  z-index: 2;
}

#btp-expansion-modal-banner-content {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 80%;
  display: flex;
  flex-direction:column;
  align-items: center;
  justify-content: center;
}

#btp-expansion-modal-banner-title-text {
  width: auto;
  max-width: 90%;
  height: auto;
  font-family: Inter, -apple-system, system-ui, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: min(3vh, 4.4vw);
  line-height: min(3vh, 4.4vw);
  color: #eee;
  background-color: rgba(0, 0, 0, 0.4);
  border-radius: 0.5vh;
  padding-top: 0.5vh;
  padding-bottom: 0.5vh;
  padding-left: 0.8vh;
  padding-right: 0.8vh;
  margin-bottom: 5vh;
}

#btp-expansion-modal-banner-count-info {
  width: auto;
  height: min(2.7vh, 4vw);
  font-family: Inter, -apple-system, system-ui, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: min(2.6vh, 4vw);
  line-height: min(2.6vh, 4vw);
  text-align: center;
  color: #eee;
  background-color: rgba(0, 0, 0, 0.4);
  border-radius: 0.5vh;
  padding-top: 0.5vh;
  padding-bottom: 0.5vh;
  padding-left: 0.5vh;
  padding-right: 0.5vh;
  margin-bottom: 1.2vh;
}

#btp-expansion-modal-banner-count-content {
  width: 50%;
  height: min(13vh, 18vw);
  display: flex;
  flex-direction:column;
  align-items: flex-start;
  justify-content: space-around;
  background-color: rgba(0, 0, 0, 0.4);
  border-radius: 0.5vh;
  padding-left: 0.5vh;
  padding-right: 0.5vh;
  padding-top: 0.3vh;
  padding-bottom: 0.3vh;
}

.expansion-modal-banner-rows {
  width: 100%;
  height: min(3vh, 4.33vw);
  display: flex;
  flex-direction:row;
  align-items: center;
  justify-content: space-between;
}

.expansion-modal-banner-counts {
  width: auto;
  height: auto;
  font-family: Inter, -apple-system, system-ui, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: min(2.6vh, 4vw);
  line-height: min(2.6vh, 4vw);
  color: #eee;
}

#btp-expansion-modal-banner-footer {
  position: absolute;
  bottom: 0;
  left: 0;
  padding-left: 2%;
  width: 98%;
  height: 20%;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-around;
  background-color: #222222;
}

#btp-expansion-modal-banner-amount-text {
  width: auto;
  aspect-ratio: 5 / 4;
  font-family: Inter, -apple-system, system-ui, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: min(3.1vh, 4.7vw);
  line-height: min(3.1vh, 4.7vw);
  font-weight: bold;
  color: #eee;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}

#btp-expansion-modal-banner-currency-selector {
  width: 24%;
  aspect-ratio: 5 / 3;
  font-family: Inter, -apple-system, system-ui, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: min(2.3vh, 4.4vw);
  line-height: min(2.3vh, 4.4vw);
  color: #333;
  text-align: center;
}

#btp-expansion-modal-banner-button {
  position: relative;
  width: 36%;
  aspect-ratio: 5 / 2.5;
  border-radius: 1vh;
  font-family: Inter, -apple-system, system-ui, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: min(2.4vh, 4.7vw);
  line-height: min(2.4vh, 4.7vw);
  font-weight: bold;
  color: #eee;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  background-image: var(--login-button-background-gradient);
  box-shadow: 0 0 2vh rgba(0, 0, 0, 0.2);
  border: none;
  outline: none;
  outline-width: 0;
  cursor: pointer;
}

#btp-expansion-modal-payment-block {
  position: relative;
  width: 80%;
  margin-left: 10%;
  margin-top: 5%;
  margin-bottom: 5%;
  z-index: 1;
}

.payment-block-animate-in {
  animation: payment-glidein 200ms linear forwards;
}

.payment-block-animate-out {
  animation: payment-glideout 200ms linear forwards;
}

@keyframes payment-glidein {
  from {
    opacity: 0;
    margin-top: -80%;
  }
  to {
    opacity: 1;
    margin-top: 5%;
  }
}

@keyframes payment-glideout {
  from {
    opacity: 1;
    margin-top: 5%;
  }
  to {
    opacity: 0;
    margin-top: -80%;
  }
}

#expansion-payment-form {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-around;
}

#expansion-submit {
  position: relative;
  width: auto;
  height: 8vh;
  border-radius: 1vh;
  font-family: Inter, -apple-system, system-ui, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: min(2.4vh, 4.7vw);
  line-height: min(2.4vh, 4.7vw);
  font-weight: bold;
  color: #eee;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  background-image: var(--login-button-background-gradient);
  box-shadow: 0 0 2vh rgba(0, 0, 0, 0.2);
  border: none;
  outline: none;
  outline-width: 0;
  cursor: pointer;
  padding-left: 8%;
  padding-right: 8%;
  margin-top: 1.5vh;
}

#expansion-submit:disabled {
  opacity: 0.8;
  box-shadow: none;
  color: lightgray;
}

.payment-spinner-containers {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 1vh;
  background-color: rgba(245, 245, 245, 0.75);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.payment-spinner-icons {
  width: 30%;
  height: 0;
  padding-top: 30%;
  border: 1.2px solid rgba(0, 0, 0, 0.1);
  border-top-color: #70cbef;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  position: relative;
  transition: border-color 0.2s ease-in-out;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

#btp-expansion-modal-information-block {
  width: 80%;
  height: auto;
  margin-left: 10%;
  margin-top: 5%;
  margin-bottom: 5%;
  font-family: Inter, -apple-system, system-ui, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: min(2.1vh, 4.2vw);
  line-height: min(2.3vh, 4.6vw);
  color: #000;
  opacity: 0.7;
  margin-top: 3vh;
  margin-bottom: 2vh;
  text-align: justify;
}


#btp-info-modal-container {
  position: fixed;
  box-sizing: border-box;
  border-radius: 2vh;
  overflow: hidden;
  z-index: 201;
  box-shadow: 0 0 3vh rgba(0, 0, 0, 0.44);
  background-color: var(--playlist-modal-background-color);
  top: 10vh;
  width: 88vw;
  max-width: 62vh;
  height: 80vh;
  left: 50%;
  margin-left: max(-44vw, -31vh);
}

#btp-info-modal-close-icon {
  position: absolute;
  top: 0.5%;
  right: 1vh;
  width: 11%;
  height: 7%;
  cursor: pointer;
  opacity: 0.9;
}

#btp-info-modal-top-text {
  position: absolute;
  top: 0.5%;
  left: 20%;
  width: 60%;
  height: 7%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-around;
  font-family: Inter, -apple-system, system-ui, "Segoe UI", Helvetica, Arial, sans-serif;
  text-align: center;
  font-size: min(2.6vh, 5vw);
  line-height: min(3vh, 5.2vw);
  color: #ccc;
}

#btp-info-modal-content {
  position: absolute;
  top: 8%;
  left: 0;
  right: 0;
  bottom: 0;
  padding-top: 3%;
  padding-bottom: 14%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  overflow: auto;
  scrollbar-width: thin;
  background-color: var(--playlist-modal-content-background-color);
}

.info-modal-labels {
  width: 80%;
  font-family: Inter, -apple-system, system-ui, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: min(2.3vh, 4.5vw);
  line-height: min(2.6vh, 5vw);
  margin-top: 3vh;
  margin-bottom: 0.5vh;
  color: rgba(0, 0, 0, 0.94);
}

.info-modal-texts {
  width: 80%;
  font-family: Inter, -apple-system, system-ui, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: min(2.5vh, 4.8vw);
  line-height: min(3vh, 5.2vw);
  overflow-wrap: break-word;
  word-break: break-word;
  color: rgba(0, 0, 0, 0.5);
}


#btp-about-modal-container {
  position: fixed;
  box-sizing: border-box;
  border-radius: 2vh;
  overflow: hidden;
  z-index: 201;
  box-shadow: 0 0 3vh rgba(0, 0, 0, 0.44);
  background-color: var(--playlist-modal-background-color);
  top: 10vh;
  width: 88vw;
  max-width: 62vh;
  height: 80vh;
  left: 50%;
  margin-left: max(-44vw, -31vh);
}

#btp-about-modal-back-icon {
  position: absolute;
  top: 0.5%;
  left: 1vh;
  width: 11%;
  height: 7%;
  cursor: pointer;
  opacity: 0.9;
}

#btp-about-modal-close-icon {
  position: absolute;
  top: 0.5%;
  right: 1vh;
  width: 11%;
  height: 7%;
  cursor: pointer;
  opacity: 0.9;
}

#btp-about-modal-top-text {
  position: absolute;
  top: 0.5%;
  left: 20%;
  width: 60%;
  height: 7%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-around;
  font-family: Inter, -apple-system, system-ui, "Segoe UI", Helvetica, Arial, sans-serif;
  text-align: center;
  font-size: min(2.6vh, 5vw);
  line-height: min(3vh, 5.2vw);
  color: #ccc;
}

#btp-about-modal-content {
  position: absolute;
  top: 8%;
  left: 0;
  right: 0;
  bottom: 0;
  padding-top: 2%;
  padding-bottom: 5%;
  overflow-y: scroll;
  scrollbar-width: thin;
  overscroll-behavior: contain;
  background-color: var(--playlist-modal-content-background-color);
}

#btp-about-modal-app-block {
  position: relative;
  margin-left: 10%;
  width: 80%;
  height: 12vh;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  margin-top: 2vh;
  margin-bottom: 2vh;
}

#btp-about-modal-app-icon {
  position: relative;
  width: 24%;
  height: 0;
  padding-bottom: 24%;
  background-image: url("../img/logo_stone.png");
  background-size: 100%;
  background-position: center;
}

#btp-about-modal-app-info {
  position: relative;
  width: 64%;
  height: 90%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

#btp-about-modal-app-info-name {
  font-family: Inter, -apple-system, system-ui, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: min(2.6vh, 5vw);
  line-height: min(3vh, 5.2vw);
  color: #000;
  text-shadow: rgba(170, 170, 170, 0.4) 0 0.2vh 0;
  margin-bottom: 0.8vh;
}

#btp-about-modal-app-info-version {
  font-family: Inter, -apple-system, system-ui, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: min(2vh, 4vw);
  line-height: min(2.2vh, 4.4vw);
  color: #000;
  opacity: 0.5;
}

#btp-about-modal-story-block {
  position: relative;
  width: 80%;
  margin-left: 10%;
  height: auto;
  font-family: Inter, -apple-system, system-ui, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: min(2.1vh, 4.2vw);
  line-height: min(2.3vh, 4.6vw);
  color: #000;
  opacity: 0.7;
  margin-top: 3vh;
  margin-bottom: 3vh;
}

.story-parts {
  width: 100%;
  height: auto;
  margin-top: 2vh;
  margin-bottom: 2vh;
  text-align: justify;
}

#btp-about-modal-donation-block {
  position: relative;
  width: 80%;
  margin-left: 10%;
  height: 12vh;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  margin-top: 2vh;
  margin-bottom: 2vh;
  background-color: lightblue;
}


#btp-about-modal-friends-block {
  position: relative;
  width: 80%;
  margin-left: 10%;
  height: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-bottom: 2vh;
}

#btp-about-modal-friends-header {
  font-family: Inter, -apple-system, system-ui, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: min(2.6vh, 5vw);
  line-height: min(3vh, 5.2vw);
  color: #000;
  text-shadow: rgba(170, 170, 170, 0.4) 0 0.2vh 0;
}

#btp-about-modal-ogs-container {
  position: relative;
  width: 100%;
  height: 12vh;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  margin-top: 1vh;
  margin-bottom: 2vh;
}

#btp-about-modal-ogs-icon-container {
  position: relative;
  width: 28%;
  height: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}

#btp-about-modal-ogs-icon {
  position: relative;
  width: 82%;
  height: 0;
  padding-bottom: 82%;
  background-image: url("../img/ogs.png");
  background-size: 100%;
  background-position: center;
}

#btp-about-modal-ogs-info {
  position: relative;
  width: 64%;
  padding-left: 4%;
  padding-right: 4%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

#btp-about-modal-ogs-link {
  font-family: Inter, -apple-system, system-ui, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: min(2.4vh, 4.6vw);
  line-height: min(3vh, 5.2vw);
  color: #000;
  margin-bottom: 0.8vh;
}

#btp-about-modal-ogs-description {
  position: relative;
  width: auto;
  height: auto;
  font-family: Inter, -apple-system, system-ui, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: min(2.1vh, 4.2vw);
  line-height: min(2.3vh, 4.6vw);
  color: #000;
  opacity: 0.6;
}

#btp-about-modal-katago-container {
  position: relative;
  width: 100%;
  height: 12vh;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  margin-top: 1vh;
  margin-bottom: 2vh;
}

#btp-about-modal-katago-icon-container {
  position: relative;
  width: 28%;
  height: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}

#btp-about-modal-katago-icon {
  position: relative;
  width: 82%;
  height: 0;
  padding-bottom: 82%;
  background-image: url("../img/katago.png");
  background-size: 100%;
  background-position: center;
}

#btp-about-modal-katago-info {
  position: relative;
  width: 64%;
  padding-left: 4%;
  padding-right: 4%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

#btp-about-modal-katago-link {
  font-family: Inter, -apple-system, system-ui, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: min(2.4vh, 4.6vw);
  line-height: min(3vh, 5.2vw);
  color: #000;
  margin-bottom: 0.8vh;
}

#btp-about-modal-katago-description {
  position: relative;
  width: auto;
  height: auto;
  font-family: Inter, -apple-system, system-ui, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: min(2.1vh, 4.2vw);
  line-height: min(2.3vh, 4.6vw);
  color: #000;
  opacity: 0.6;
}

#btp-about-modal-credit-block {
  position: relative;
  width: 80%;
  margin-left: 10%;
  height: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-bottom: 2vh;
}

#btp-about-modal-credit-header {
  font-family: Inter, -apple-system, system-ui, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: min(2.6vh, 5vw);
  line-height: min(3vh, 5.2vw);
  color: #000;
  text-shadow: rgba(170, 170, 170, 0.4) 0 0.2vh 0;
}

.credit-items {
  width: 100%;
  height: auto;
  margin-top: 2vh;
  margin-bottom: 2vh;
  font-family: Inter, -apple-system, system-ui, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: min(2.1vh, 4.2vw);
  line-height: min(2.3vh, 4.6vw);
  color: #000;
  opacity: 0.7;
  text-align: justify;
}

#btp-about-modal-contact-header {
  font-family: Inter, -apple-system, system-ui, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: min(2.6vh, 5vw);
  line-height: min(3vh, 5.2vw);
  color: #000;
  text-shadow: rgba(170, 170, 170, 0.4) 0 0.2vh 0;
}

.diff-amount-red {
  color: rgba(200, 0, 0, 0.8);
}

.diff-amount-green {
  color: green;
}

.diff-in-animation {
  animation: diff-in-kf 500ms linear forwards;
}

.diff-out-animation {
  animation: diff-out-kf 500ms linear forwards;
}

@keyframes diff-in-kf {
  from {
    top: 105%;
    opacity: 0;
  }
  to {
    top: 0;
    opacity: 0.9;
  }
}

@keyframes diff-out-kf {
  from {
    top: 0;
    opacity: 0.9;
  }
  to {
    top: -105%;
    opacity: 0;
  }
}


