/*
Theme Name:     子佩主题
Theme URI:      https://zptheme.com
Description:    ripro-v5专用子主题·子佩主题，由子佩工作室开发，此子主题请勿用于其他商业用途，否则后果自负！
Author:         子佩工作室
Author URI:     https://zptheme.com
Template:       ripro-v5
Version:        9.25.0601
*/

.zpro-home-toolbox {
  display: block;
  margin: 10px 0 12px;
  text-align: center;
}

.zpro-home-toolbox[open] {
  display: block;
  margin: 10px 0 14px;
}

.zpro-home-toolbox > summary {
  list-style: none;
}

.zpro-home-toolbox > summary::-webkit-details-marker {
  display: none;
}

.zpro-home-toolbox__summary {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 13px;
  line-height: 1;
  user-select: none;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
  color: rgba(0, 0, 0, 0.78);
  margin: 0 auto;
}

[data-bs-theme='dark'] .zpro-home-toolbox__summary {
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(20, 20, 22, 0.72);
  color: rgba(255, 255, 255, 0.9);
}

.zpro-home-toolbox__summary::before {
  display: inline-flex;
  width: 18px;
  height: 18px;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  font-size: 14px;
  line-height: 1;
}

.zpro-home-toolbox--requests > .zpro-home-toolbox__summary::before {
  content: '🎮';
  background: rgba(48, 133, 255, 0.14);
}

.zpro-home-toolbox--dencrypt > .zpro-home-toolbox__summary::before {
  content: '🛡️';
  background: rgba(143, 108, 255, 0.16);
}

.zpro-home-toolbox--ultra > .zpro-home-toolbox__summary::before {
  content: '🏆';
  background: rgba(255, 193, 7, 0.18);
}

.zpro-home-toolbox--supreme > .zpro-home-toolbox__summary::before {
  content: '👑';
  background: rgba(255, 77, 109, 0.16);
}

.zpro-home-toolbox__summary::after {
  content: '+';
  opacity: 0.75;
  margin-left: 4px;
  font-weight: 900;
}

.zpro-home-toolbox[open] > .zpro-home-toolbox__summary::after {
  content: '–';
}

.zpro-home-toolbox__summary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.12);
}

.zpro-home-toolbox__body {
  margin-top: 10px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.06);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.08);
  text-align: left;
}

[data-bs-theme='dark'] .zpro-home-toolbox__body {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(20, 20, 22, 0.6);
}

.zpro-home-toolbox__body .home-game-requests-widget,
.zpro-home-toolbox__body .home-d-encrypt-widget {
  margin: 10px 0;
}

@media (max-width: 768px) {
  .zpro-home-toolbox {
    display: block;
    margin: 10px 0 12px;
  }

  .zpro-home-toolbox__summary {
    width: 100%;
    justify-content: space-between;
  }
}

.home-westeam-lua {
  text-align: center;
}

.home-westeam-lua .zpro-westeam-widget {
  width: 100%;
  max-width: 680px;
  margin: 16px auto 22px;
  padding: 18px 18px 16px;
  border-radius: 18px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(248, 250, 252, 0.74));
  box-shadow: 0 14px 44px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
}

[data-bs-theme='dark'] .home-westeam-lua .zpro-westeam-widget {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(135deg, rgba(18, 18, 20, 0.84), rgba(24, 24, 26, 0.64));
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.42);
}

.home-westeam-lua .zpro-westeam-widget::before {
  content: '';
  position: absolute;
  inset: -40px -40px auto -40px;
  height: 160px;
  background: radial-gradient(closest-side, rgba(48, 133, 255, 0.22), rgba(48, 133, 255, 0));
  pointer-events: none;
}

.home-westeam-lua .zpro-westeam-widget::after {
  content: '';
  position: absolute;
  left: 14px;
  right: 14px;
  top: 10px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(47, 123, 255, 0.1), rgba(20, 184, 255, 0.8), rgba(47, 123, 255, 0.1));
  opacity: 0.65;
  pointer-events: none;
}

.zpro-westeam-widget__head {
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}

.zpro-westeam-widget__title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 16px;
  letter-spacing: 0.2px;
  color: rgba(0, 0, 0, 0.82);
}

[data-bs-theme='dark'] .zpro-westeam-widget__title {
  color: rgba(255, 255, 255, 0.92);
}

.zpro-westeam-widget__title::before {
  content: '⚡';
  display: inline-flex;
  width: 22px;
  height: 22px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgba(48, 133, 255, 0.14);
}

[data-bs-theme='dark'] .zpro-westeam-widget__title::before {
  background: rgba(99, 167, 255, 0.2);
}

.zpro-westeam-widget__desc {
  margin-top: 6px;
  font-size: 12px;
  line-height: 1.5;
  color: rgba(0, 0, 0, 0.62);
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

[data-bs-theme='dark'] .zpro-westeam-widget__desc {
  color: rgba(255, 255, 255, 0.72);
}

.zpro-westeam-widget__form {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.zpro-westeam-widget__input {
  flex: 1;
  min-width: 220px;
  height: 40px;
  padding: 0 12px;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: rgba(255, 255, 255, 0.9);
  color: rgba(0, 0, 0, 0.78);
  outline: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7), 0 10px 24px rgba(0, 0, 0, 0.06);
}

.zpro-westeam-widget__input:focus {
  border-color: rgba(48, 133, 255, 0.55);
  box-shadow: 0 0 0 4px rgba(48, 133, 255, 0.14);
}

[data-bs-theme='dark'] .zpro-westeam-widget__input {
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(12, 12, 14, 0.4);
  color: rgba(255, 255, 255, 0.9);
}

[data-bs-theme='dark'] .zpro-westeam-widget__input:focus {
  border-color: rgba(99, 167, 255, 0.6);
  box-shadow: 0 0 0 4px rgba(99, 167, 255, 0.16);
}

.zpro-westeam-widget__btn {
  height: 40px;
  padding: 0 14px;
  border: 0;
  border-radius: 12px;
  font-weight: 800;
  font-size: 13px;
  color: #fff;
  background: linear-gradient(135deg, #2f7bff, #14b8ff);
  box-shadow: 0 10px 22px rgba(48, 133, 255, 0.24);
}

.zpro-westeam-widget__btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(48, 133, 255, 0.32);
}

.zpro-westeam-widget__open {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: rgba(255, 255, 255, 0.66);
  font-size: 12px;
  text-decoration: none;
  color: rgba(0, 0, 0, 0.62);
  position: relative;
  z-index: 1;
}

.zpro-westeam-widget__open::after {
  content: '↗';
  opacity: 0.7;
}

[data-bs-theme='dark'] .zpro-westeam-widget__open {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(12, 12, 14, 0.28);
  color: rgba(255, 255, 255, 0.72);
}

.zpro-westeam-widget__open:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

.zpro-westeam-widget__notice {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px dashed rgba(0, 0, 0, 0.18);
  background: rgba(255, 255, 255, 0.7);
  color: rgba(0, 0, 0, 0.7);
  font-size: 12px;
  position: relative;
  z-index: 1;
}

[data-bs-theme='dark'] .zpro-westeam-widget__notice {
  border: 1px dashed rgba(255, 255, 255, 0.18);
  background: rgba(12, 12, 14, 0.35);
  color: rgba(255, 255, 255, 0.78);
}

.zpro-westeam-widget__login {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, #ff4d6d, #ff9f1c);
}

@media (max-width: 768px) {
  .home-westeam-lua .zpro-westeam-widget {
    padding: 16px 12px 14px;
    border-radius: 16px;
    margin: 14px auto 18px;
  }

  .zpro-westeam-widget__form {
    flex-direction: column;
    align-items: stretch;
  }

  .zpro-westeam-widget__input {
    min-width: 0;
    width: 100%;
  }

  .zpro-westeam-widget__btn {
    width: 100%;
  }
}
