*{box-sizing:border-box}
:root{
  --bg1:#0d1830;
  --bg2:#142648;
  --card:#18284a;
  --card2:#1e325d;
  --text:#f6f8ff;
  --muted:#bcc7e6;
  --accent:#4b8dff;
  --accent2:#ffb535;
  --border:rgba(255,255,255,.09);
  --shadow:0 20px 45px rgba(0,0,0,.26);
}
body{
  margin:0;
  font-family:Arial, Helvetica, sans-serif;
  color:var(--text);
  background:linear-gradient(180deg,var(--bg1),var(--bg2));
  min-height:100vh;
}
.app-shell{
  width:min(1100px, calc(100% - 28px));
  margin:0 auto;
  padding:24px 0 40px;
}
.hero{
  background:linear-gradient(135deg, rgba(75,141,255,.16), rgba(255,181,53,.12));
  border:1px solid var(--border);
  border-radius:26px;
  padding:24px;
  margin-bottom:20px;
  box-shadow:var(--shadow);
}
.brand{
  display:flex;
  align-items:center;
  gap:18px;
}
.logo{
  width:118px;
  height:118px;
  object-fit:contain;
  border-radius:20px;
  background:rgba(255,255,255,.04);
  border:1px solid var(--border);
  padding:8px;
  flex-shrink:0;
}
.eyebrow{
  margin:0 0 8px;
  text-transform:uppercase;
  letter-spacing:.14em;
  font-size:12px;
  color:var(--accent2);
}
h1{
  margin:0;
  font-size:clamp(28px, 5vw, 42px);
}
.subtitle{
  margin:10px 0 0;
  color:var(--muted);
}
.layout{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:18px;
}
.card{
  background:var(--card);
  border:1px solid var(--border);
  border-radius:22px;
  padding:22px;
  box-shadow:var(--shadow);
}
.search-row{
  display:grid;
  grid-template-columns:1fr auto;
  gap:12px;
  margin-top:14px;
}
input{
  width:100%;
  padding:15px 16px;
  border-radius:14px;
  border:1px solid var(--border);
  background:var(--card2);
  color:var(--text);
  font-size:16px;
}
.primary-btn{
  border:none;
  border-radius:14px;
  padding:15px 18px;
  background:var(--accent);
  color:white;
  font-weight:700;
  cursor:pointer;
}
.quick-list{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:18px;
  align-items:center;
}
.quick-label{
  color:var(--muted);
  margin-right:4px;
}
.quick-word{
  border:none;
  background:rgba(255,255,255,.08);
  color:var(--text);
  border-radius:999px;
  padding:9px 12px;
  cursor:pointer;
}
.result-head{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
}
.badge{
  background:rgba(255,181,53,.16);
  border:1px solid rgba(255,181,53,.28);
  border-radius:999px;
  padding:8px 12px;
  font-size:13px;
}
.empty-state{
  margin-top:16px;
  padding:20px;
  border-radius:18px;
  border:1px dashed var(--border);
  color:var(--muted);
  background:rgba(255,255,255,.03);
}
.word-title{
  margin:0 0 12px;
  font-size:28px;
}
.synonyms{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:14px;
}
.synonym-tag{
  padding:10px 14px;
  border-radius:999px;
  background:rgba(75,141,255,.16);
  border:1px solid rgba(75,141,255,.28);
  color:#dce8ff;
  font-weight:700;
}
.helper{
  color:var(--muted);
  line-height:1.55;
}
.not-found{
  background:rgba(255,255,255,.04);
  border:1px dashed var(--border);
  border-radius:18px;
  padding:18px;
}
@media (max-width: 860px){
  .layout{grid-template-columns:1fr}
  .brand{flex-direction:column; align-items:flex-start}
  .search-row{grid-template-columns:1fr}
}
