*{
  box-sizing:border-box;
}

body{
  margin:0;
  padding:20px;
  background:#f5f7fa;
  font-family:Arial,sans-serif;
  min-height:100vh;
}

.container{
  width:100%;
  max-width:950px;
  background:#fff;
  border-radius:18px;
  padding:32px;
  box-shadow:0 10px 35px rgba(0,0,0,0.1);
  margin:auto;
}

h1{
  margin-top:0;
  text-align:center;
  color:#333;
}

.label{
  margin-bottom:8px;
  color:#666;
  font-size:14px;
}

textarea,
input[type="text"]{
  width:100%;
  padding:15px;
  border-radius:12px;
  border:2px solid #ddd;
  font-size:16px;
  transition:0.2s;
}

textarea{
  height:160px;
  resize:vertical;
}

textarea:focus,
input[type="text"]:focus{
  outline:none;
  border-color:#4CAF50;
}

.controls{
  margin-top:20px;
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}

select{
  flex:1;
  min-width:220px;
  padding:12px;
  border-radius:10px;
  border:2px solid #ddd;
  font-size:15px;
}

button{
  background:#4CAF50;
  color:white;
  border:none;
  padding:12px 24px;
  border-radius:10px;
  cursor:pointer;
  font-size:15px;
  transition:0.2s;
}

button:hover{
  background:#43a047;
}

.result{
  margin-top:25px;
  background:#f1f3f6;
  border-left:6px solid #4CAF50;
  border-radius:12px;
  padding:18px;
}

.result-title{
  font-weight:bold;
  margin-bottom:10px;
}

.hash-output{
  background:white;
  padding:14px;
  border-radius:8px;
  font-family:monospace;
  word-break:break-all;
  line-height:1.6;
  min-height:70px;
}

.copy-btn{
  margin-top:12px;
  background:#2196F3;
}

.copy-btn:hover{
  background:#1e88e5;
}

.verify-btn{
  margin-top:12px;
}

.info{
  margin-top:25px;
  background:#fff8e1;
  border-left:5px solid #ffc107;
  padding:15px;
  border-radius:10px;
  color:#666;
  line-height:1.7;
  font-size:14px;
}

.tag{
  display:inline-block;
  padding:4px 10px;
  border-radius:20px;
  font-size:12px;
  margin-right:8px;
  color:white;
}

.secure{
  background:#4CAF50;
}

.old{
  background:#f44336;
}

.modern{
  background:#673ab7;
}

.drop-zone{
  margin-top:25px;
  border:3px dashed #4CAF50;
  border-radius:16px;
  padding:40px;
  text-align:center;
  background:#fafafa;
  transition:0.2s;
  color:#666;
  cursor:pointer;
}

.drop-zone.dragover{
  background:#e8f5e9;
  border-color:#2e7d32;
}

.file-info{
  margin-top:10px;
  color:#555;
  font-size:14px;
}

.verify-section{
  margin-top:25px;
}

.verify-result{
  margin-top:12px;
  padding:15px;
  border-radius:10px;
  font-weight:bold;
}

.match{
  background:#e8f5e9;
  color:#2e7d32;
}

.nomatch{
  background:#ffebee;
  color:#c62828;
}

/* 広告 */

.ad-box{
  background:#eceff1;
  border:2px dashed #b0bec5;
  border-radius:14px;
  display:flex;
  align-items:center;
  justify-content:center;
  margin:20px auto;
  overflow:hidden;
}

.top-ad,
.bottom-ad{
  width:100%;
  max-width:728px;
  min-height:90px;
}

.middle-ad{
  width:100%;
  max-width:300px;
  min-height:250px;
}

.side-ad{
  position:fixed;
  right:20px;
  top:50%;
  transform:translateY(-50%);
  width:160px;
  height:600px;
  background:#eceff1;
  border:2px dashed #b0bec5;
  border-radius:14px;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
}

@media(max-width:1400px){

  .side-ad{
    display:none;
  }

}

@media(max-width:700px){

  body{
    padding:10px;
  }

  .container{
    padding:20px;
  }

  .controls{
    flex-direction:column;
  }

  button{
    width:100%;
  }

  .top-ad,
  .bottom-ad{
    max-width:320px;
    min-height:50px;
  }

}