:root{
  --bg:#f7f8fb;
  --card:#ffffff;
  --accent:#2463eb;
  --muted:#666;
  --shadow: 0 6px 18px rgba(20,20,50,0.08);
}

*{box-sizing:border-box}
body{
  margin:0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  background:linear-gradient(180deg,#f7f8fb 0%, #eef3ff 100%);
  color:#111;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}

.container{
  max-width:920px;
  margin:48px auto;
  padding:20px;
}

h1{margin:0 0 18px;font-size:1.6rem}
h2{margin-top:0}

.card{
  background:var(--card);
  padding:18px;
  border-radius:12px;
  box-shadow:var(--shadow);
  margin-bottom:18px;
}

#login-card label{display:block;margin-bottom:8px;font-weight:600}
#password{
  width:100%;
  padding:10px 12px;
  font-size:1rem;
  border-radius:8px;
  border:1px solid #e6e9f2;
  margin-bottom:12px;
}

.actions{
  display:flex;
  gap:8px;
  align-items:center;
}

button{
  background:var(--accent);
  color:white;
  border:none;
  padding:10px 14px;
  border-radius:10px;
  cursor:pointer;
  font-weight:600;
}

button:active{transform:translateY(1px)}

.message{
  margin-top:10px;
  color:var(--muted);
}

.hidden{display:none}

.grid{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin-top:12px;
}

.tile{
  width:calc(33.333% - 8px);
  min-width:180px;
  background:#fbfdff;
  border-radius:10px;
  padding:10px;
  text-align:center;
  border:1px solid #f0f3fb;
}

.tile img{
  width:100%;
  height:auto;
  border-radius:6px;
  margin-bottom:8px;
}

.tile .tile-media{
  width:100%;
  border-radius:6px;
  margin-bottom:8px;
  aspect-ratio:16/9;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:600;
  font-size:0.95rem;
  letter-spacing:0.1em;
  text-transform:uppercase;
}

.tile-media--guideline{
  color:#1f47af;
  background:linear-gradient(135deg,#f4f8ff 0%,#d8e4ff 100%);
  box-shadow:inset 0 0 0 1px rgba(31,71,175,0.2);
}

.tile-media--ghostwriter{
  color:#3c3a8c;
  background:linear-gradient(135deg,#f5f0ff 0%,#e4dcff 100%);
  box-shadow:inset 0 0 0 1px rgba(60,58,140,0.2);
}

.foot{
  text-align:center;
  color:var(--muted);
  margin-top:8px;
}
@media (max-width:700px){
  .grid{flex-direction:column}
  .tile{width:100%}
}
