:root{
  --bg: #0b0f14;
  --panel: #0f1620;
  --panel2: #0c121a;
  --text: #e7eef7;
  --muted: #9bb0c6;
  --border: rgba(255,255,255,.08);
  --shadow: 0 10px 30px rgba(0,0,0,.35);

  --green: #2ee06b;
  --amber: #f7b733;
  --red: #ff4d4d;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body{
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  color: var(--text);
  background:
    radial-gradient(1200px 700px at 10% -10%, rgba(46,224,107,.10), transparent 60%),
    radial-gradient(900px 650px at 110% 10%, rgba(247,183,51,.10), transparent 55%),
    radial-gradient(900px 650px at 40% 110%, rgba(120,160,255,.08), transparent 55%),
    var(--bg);
}

.topbar{
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 18px;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(15,22,32,.85), rgba(15,22,32,.65));
  backdrop-filter: blur(10px);
}

.brand{
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand__logo{
  width: 34px;
  height: 34px;
  object-fit: contain;
  filter: drop-shadow(0 6px 14px rgba(0,0,0,.35));
}

.brand__text{
  font-weight: 800;
  font-size: 18px;
  letter-spacing: .08em;
  text-transform: uppercase;
  white-space: nowrap;
  user-select: none;
  background: linear-gradient(90deg, #e7eef7, #9bb0c6);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.auth{
  display: flex;
  align-items: center;
  gap: 10px;
}

.auth__btn{
  padding: 9px 12px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.04);
  color: var(--muted);
  cursor: not-allowed;
}

.content{
  max-width: 1100px;
  margin: 0 auto;
  padding: 26px 18px 40px;
}

.hero{
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.hero__title{
  margin: 0;
  font-size: 28px;
  letter-spacing: .02em;
}

.hero__subtitle{
  margin: 0;
  color: var(--muted);
}

.cards{
  display: grid;
  gap: 18px;
}

.cards__section{
  background: linear-gradient(180deg, rgba(15,22,32,.70), rgba(12,18,26,.55));
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 14px;
  box-shadow: var(--shadow);
}

.cards__header{
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 4px 6px 10px;
}

.cards__title{
  margin: 0;
  font-size: 16px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--text);
}

.cards__hint{
  color: var(--muted);
  font-size: 13px;
}

.cards__grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

@media (max-width: 980px){
  .cards__grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px){
  .cards__grid{ grid-template-columns: 1fr; }
}

.card{
  display: grid;
  grid-template-columns: 42px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 14px 14px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.03);
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: transform .12s ease, border-color .12s ease, background .12s ease;
}

.card:hover{
  transform: translateY(-1px);
  border-color: rgba(255,255,255,.14);
  background: rgba(255,255,255,.045);
}

.card:active{
  transform: translateY(0);
}

.card__emoji{
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  font-size: 20px;
}

.card__meta{
  min-width: 0;
}

.card__name{
  font-weight: 700;
  letter-spacing: .01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card__url{
  margin-top: 3px;
  font-size: 12.5px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.led{
  width: 12px;
  height: 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.06);
  box-shadow: inset 0 0 0 2px rgba(0,0,0,.18);
}

.led--green{
  background: radial-gradient(circle at 35% 35%, rgba(255,255,255,.95), rgba(255,255,255,.25) 25%, rgba(0,0,0,0) 38%),
              radial-gradient(circle at 50% 60%, rgba(46,224,107,.95), rgba(46,224,107,.35) 55%, rgba(46,224,107,.15));
  border-color: rgba(46,224,107,.55);
  box-shadow: 0 0 14px rgba(46,224,107,.30);
}

.led--amber{
  background: radial-gradient(circle at 35% 35%, rgba(255,255,255,.95), rgba(255,255,255,.25) 25%, rgba(0,0,0,0) 38%),
              radial-gradient(circle at 50% 60%, rgba(247,183,51,.95), rgba(247,183,51,.35) 55%, rgba(247,183,51,.15));
  border-color: rgba(247,183,51,.65);
  box-shadow: 0 0 14px rgba(247,183,51,.25);
}

.led--red{
  background: radial-gradient(circle at 35% 35%, rgba(255,255,255,.95), rgba(255,255,255,.25) 25%, rgba(0,0,0,0) 38%),
              radial-gradient(circle at 50% 60%, rgba(255,77,77,.95), rgba(255,77,77,.35) 55%, rgba(255,77,77,.15));
  border-color: rgba(255,77,77,.6);
  box-shadow: 0 0 14px rgba(255,77,77,.22);
}

.footer{
  border-top: 1px solid var(--border);
  padding: 18px;
  color: var(--muted);
}

.footer__inner{
  max-width: 1100px;
  margin: 0 auto;
  font-size: 13px;
}

