:root{
  --bg:#0f1113;
  --card:#121417;
  --muted:#9aa4ad;
  --accent:#ff7a59;
  --glass: rgba(255,255,255,0.03);
  --danger:#ff4d4f;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
}

*{box-sizing:border-box}
html,body,#app{height:100%}
body{
  margin:0;
  background:linear-gradient(180deg, #0b0c0d 0%, #0f1113 100%);
  color:#e6eef3;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:20px;
}

.card{
  width:100%;
  max-width:720px;
  height:100%;
  max-height:560px;
  background:linear-gradient(180deg, rgba(255,255,255,0.02), transparent);
  border-radius:14px;
  display:flex;
  gap:16px;
  padding:18px;
  align-items:center;
  box-shadow: 0 6px 30px rgba(2,6,23,0.6);
  border:1px solid rgba(255,255,255,0.03);
}

.art{
  width:44%;
  min-width:180px;
  height:100%;
  display:flex;
  align-items:center;
  justify-content:center;
  background:var(--glass);
  border-radius:10px;
  padding:8px;
}

.art img{
  max-width:100%;
  max-height:100%;
  object-fit:contain;
  transition:transform .28s ease;
  will-change:transform;
}

.text{
  width:56%;
  padding:6px 4px;
  display:flex;
  flex-direction:column;
  gap:10px;
  align-items:flex-start;
}

#headline{
  margin:0;
  font-size:20px;
  line-height:1.1;
  color:#fff;
  letter-spacing:0.2px;
}

.buttons{
  display:flex;
  gap:8px;
  margin-top:6px;
  flex-wrap:wrap;
}

.btn{
  background:linear-gradient(180deg,var(--accent),#ff6a44);
  color:white;
  padding:10px 14px;
  border-radius:10px;
  border:none;
  font-weight:600;
  min-height:44px;
  min-width:96px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  box-shadow:0 6px 18px rgba(255,122,89,0.14);
}

.btn.ghost{
  background:transparent;
  color:var(--muted);
  border:1px solid rgba(255,255,255,0.04);
  box-shadow:none;
}

.btn.tiny{
  min-width:64px;
  padding:8px 10px;
  background:transparent;
  border:1px dashed rgba(255,255,255,0.04);
  color:var(--muted);
}

.sheet{
  position:fixed;
  left:16px;
  right:16px;
  bottom:16px;
  border-radius:12px;
  background:linear-gradient(180deg, #0f1113, #0b0c0d);
  border:1px solid rgba(255,255,255,0.04);
  box-shadow:0 20px 40px rgba(2,6,23,0.7);
  transform:translateY(20px) scale(.995);
  opacity:0;
  transition:opacity .22s ease, transform .22s ease;
  max-width:720px;
  margin:0 auto;
}

.sheet-inner{
  padding:16px;
}

.sheet h3{margin:6px 0 8px 0}
.sheet p{margin:0 0 12px 0; color:var(--muted)}

.sheet.hidden{display:none}
.sheet.show{display:block; opacity:1; transform:translateY(0) scale(1)}

.close{
  position:absolute;
  right:12px;
  top:8px;
  background:transparent;
  border:none;
  color:var(--muted);
  font-size:18px;
  padding:8px;
  cursor:pointer;
}

.choices{display:flex; gap:8px; margin-top:8px}

.toast{
  position:fixed;
  left:50%;
  transform:translateX(-50%);
  bottom:86px;
  background:#111315;
  color:#e6eef3;
  padding:10px 14px;
  border-radius:10px;
  border:1px solid rgba(255,255,255,0.03);
  display:inline-block;
  font-size:13px;
  opacity:0;
  pointer-events:none;
  transition:opacity .2s ease;
}

.toast.show{opacity:1; pointer-events:auto}

@media (max-width:520px){
  .card{flex-direction:column; gap:12px; padding:14px; max-height:calc(100vh - 40px)}
  .art{width:100%; height:44%; min-height:120px}
  .text{width:100%}
  .buttons{justify-content:flex-start}
}