body {
  font-family: Inter var,ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;
}

a {
  text-decoration: none;
  color: inherit;
}

.back-button {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(10px);
  border-radius: 24px;
  padding: 10px 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.back-button:hover {
  background: rgba(0, 0, 0, 0.25);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  border-color: rgba(255, 255, 255, 0.25);
}

.back-button:active {
  transform: translateY(0);
  background: rgba(0, 0, 0, 0.3);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
}

.back-button svg {
  color: rgba(255, 255, 255, 0.9);
  flex-shrink: 0;
  width: 20px;
  height: 20px;
}

.back-button span {
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.container {
  display: flex;
  flex-flow: column nowrap;
  width: 100%;
  overflow-x: hidden; /* 防止内容溢出 */
  background-color: #F7F8F9;
  position: relative;
}

@media (min-width: 520px) {
  .container {
    width: 420px; /* 设置与移动设备宽度一致 */
    margin: 0 auto; /* 居中显示 */
  }
}

.head {
  width: 100%;
  height: 276px;
  background-image: url("../images/header-bg.png");
  background-size: 100% auto;
  background-position: bottom center;
  background-repeat: no-repeat;
}

html[lang="zh"] .example {
  height: 240px;
  background-image: url("../images/header-bg_zh.png");
}

.head-body {
  width: calc(100% - 40px); /* 20px padding */
  padding: 0 20px;
  display: flex;
  align-items: flex-start;
  flex-flow: column nowrap;
  text-align: left;
  gap: 12px;
  margin-top: 40px;
}

.head-logo {
  height: 32px;
  width: auto;
}

.head-title {
  color: #FFF;
  font-size: 26px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
}

.head-subtitle {
  color: rgba(255, 255, 255, 0.70);
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

.title-cases {
  margin: 20px 20px 0;
  color: #2B2D39;
  font-size: 24px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
}

.case-list {
  display: flex;
  flex-flow: column nowrap;
  gap: 16px;
  item-align: center;
  padding: 0 20px;
  margin-top: 16px;
}

.case-item {
  width: 100%;
  background: #FFFFFF;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.2s ease;
}

.case-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.case-item:active {
  transform: translateY(0);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.case-img {
  width: 100%;
}

.case-body {
  background: #FFFFFF;
  padding: 16px;
}

.case-name {
  color: #2B2D39;
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  text-transform: uppercase;
}

.case-tags {
  display: flex;
  gap: 4px;
  item-align: center;
  margin-top: 10px;
}

.case-tag {
  border-radius: 4px;
  background: #F1F1F1;
  display: flex;
  min-width: 36px;
  padding: 4px;
  justify-content: center;
  align-items: center;
  color: rgba(43, 45, 57, 0.70);
  font-size: 11px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

.copyright {
  margin-top: 24px;
  margin-bottom: calc(env(safe-area-inset-bottom) + 24px);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
  opacity: 0.5;
}

.copyright-logo {
  width: 58px;
  height: auto;
}

.copyright-text {
  color: #2D3242;
  font-size: 10px;
  line-height: 10.481px;
  letter-spacing: 0.133px;
  font-style: normal;
  font-weight: 400;
  line-height: 1;
}