* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  text-align: center;
}

section {
  margin: 0;
  padding: 0;
  line-height: 0;
}

.container {
  position: relative;
  max-width: 720px;
  left: 50%;
  background: #12566f;
  transform: translateX(-50%);
}

.head {
  position: absolute;
  width: 720px;
  text-align: center;
  top: 1%;
}

.content {
  position: absolute;
  width: 720px;
  text-align: center;
  top: 70%;
}

.content img {
  padding: 20px;
}

.content2 {
  position: absolute;
  width: 720px;
  text-align: center;
  top: 78%;
}

.content2 img {
  padding: 20px;
}

.content3 {
  position: absolute;
  width: 720px;
  text-align: center;
  top: 63%;
}

.inputcode {
	width: 86%;
    height: 8%;
    border-radius: 1rem;
    border: none;
    margin-top: 1rem;
    padding: 1.5rem 2rem;
    text-align: center;
    font-size: 25px;
    background: rgb(231 231 231);
    color: black;
}

.inputcode::placeholder {
  color: black;
}

.error {
  position: fixed;
  inset: 0;
  display: flex;
  z-index: 99999;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.7);
}

.error-content {
  padding: 30px;
  line-height: 1.5;
  word-break: break-word;
  overflow: auto;
  font-size: 35px;
  color: #fff;
  background: rgba(0, 0, 0, 0.8);
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
  max-width: 750px;
  text-align: center;
  width: 100%;
  box-sizing: border-box;
}

.anniu {
  animation: pulse2 1s linear infinite;
}

@keyframes pulse2 {
  0% {
    transform: scale(0.9);
  }
  50% {
    transform: scale(1);
  }
  100% {
    transform: scale(0.9);
  }
}

.ai-modal {
  position: fixed;
  display: none;
  inset: 0;
  justify-content: center;
  width: 100vw;
  height: 100vh;
  z-index: 9999;
  align-items: center;
  background: rgba(0, 0, 0, 0.7);
  color: white;
}

.pro-box {
  background: rgb(9, 76, 137);
  border-radius: 12px;
  padding: 32px 18px;
  max-width: 680px;
  margin: 60px auto;
}

.pro-box .title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}

.pro-box .word {
  font-size: 30px;
  font-weight: bold;
}

.progress-box .item {
  margin-bottom: 16px;
}

.progress-box .i-title {
  font-size: 25px;
}

.layui-progress {
  background: #eee;
  border-radius: 8px;
  height: 16px;
}

.layui-progress-bar {
  width: 0%;
  background: #00dcf4;
  height: 100%;
  border-radius: 8px;
}

.result-box {
  position: relative; 
  height: inherit;
  width: 100%;
  text-align: center;
}
.tcan {
    position: absolute;
    top: 67%;
    left: 5%;
}

.wenan-text{
    position: absolute;
    width: 100%;
    text-align: center;
    top: 91%;
    color: black;
    font-size: 32px;
	animation: fadeInUp 0.8s ease forwards;
	
	background: linear-gradient(145deg, #f9fafc, #eef2f5);
	border-radius: 16px;
	box-shadow: 0 4px 15px rgba(0,0,0,0.08);
	padding: 24px;
	font-family: "Noto Sans JP", sans-serif;
	line-height: 1.9;
	color: #333;
}
.wenan-text::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 6px;
  height: 100%;
  background: linear-gradient(180deg, #007bff, #00c6ff);
  border-radius: 6px 0 0 6px;
}

.content2-title {
  font-size: 26px;
  font-weight: 700;
  color: #0056b3;
  display: flex;
  align-items: center;
  margin-bottom: 12px;
}

.content2-title::before {
  content: "📰";
  font-size: 26px;
  margin-right: 8px;
}

.wenan-text p {
  margin: 0 0 12px;
  font-size: 17px;
  text-align: justify;
}

@keyframes fadeInUp {
  from {opacity: 0; transform: translateY(10px);}
  to {opacity: 1; transform: translateY(0);}
}

.footer {
  width: 100%;
  margin: 0 auto;
  padding: 0 16px 24px 16px;
  box-sizing: border-box;
  text-align: center;
  font-size: 1.3rem;
  color: #b8c6e0;
  background: #000407;
  max-width: 720px;
}

.footer a {
  color: #3eeaff;
  text-decoration: underline;
  margin: 0 8px;
}

.footer p {
  margin: 10px;
}
