/* v2 app pages: Explore intro + live rail, My panel, AI credit inside the shell, front door extras */

/* ---------- Explore ---------- */
.v2-explore .dash-bar .search-btn, .v2-explore .dash-bar .pill-btn { display: none; }   /* the top bar has Search and Create */
.xp-intro { margin: 0 0 22px; padding: 22px 24px 24px; border: 1px solid var(--line-2); border-radius: 22px; background: radial-gradient(120% 140% at 0% 0%, rgba(255,255,255,.07), rgba(255,255,255,.015) 60%); }
.xp-intro[hidden] { display: none; }
.xp-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.xp-kick { font-family: var(--mono); font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.xp-head h2 { margin: 4px 0 0; font-size: 22px; font-weight: 500; letter-spacing: -.02em; }
.xp-x { height: 34px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: 999px; background: transparent; color: var(--ink-2); font: 12.5px var(--mono); cursor: pointer; }
.xp-x:hover { color: #fff; border-color: rgba(255,255,255,.3); }
.xp-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.xp-steps li { position: relative; padding: 18px 18px 16px; border: 1px solid var(--line); border-radius: 16px; background: rgba(8,8,10,.6); display: flex; flex-direction: column; }
.xp-steps b { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: linear-gradient(180deg, #fff, #c9c9d0); color: #0a0a0b; font: 600 13px var(--mono); margin-bottom: 12px; }
.xp-steps h3 { margin: 0 0 6px; font-size: 15.5px; font-weight: 500; }
.xp-steps p { margin: 0 0 14px; color: var(--muted); font-size: 13.5px; line-height: 1.6; }
.xp-steps a { margin-top: auto; font: 12.5px var(--mono); color: var(--ink-2); }
.xp-steps a:hover { color: #fff; }
.v2-explore .dz-strip { max-width: none; margin: 0 0 26px; }
.xp-cols { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 22px; align-items: start; }
.xp-live { position: sticky; top: 90px; display: flex; flex-direction: column; gap: 14px; }
.xp-card { border: 1px solid var(--line-2); border-radius: 18px; background: rgba(11,11,13,.85); overflow: hidden; }
.xp-card-h { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; border-bottom: 1px solid var(--line); font-size: 13.5px; }
.xp-card-h a { font: 11.5px var(--mono); color: var(--muted); }
.xp-card-h a:hover { color: #fff; }
.xp-dot { display: inline-block; width: 7px; height: 7px; margin-right: 8px; border-radius: 50%; background: #7ee2a8; box-shadow: 0 0 8px #7ee2a8; animation: xp-pulse 2s infinite; }
@keyframes xp-pulse { 50% { opacity: .35; } }
#xp-feed { list-style: none; margin: 0; padding: 4px 0; max-height: 430px; overflow-y: auto; }
#xp-feed li a { display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; padding: 10px 16px; font-size: 13px; }
#xp-feed li a:hover { background: rgba(255,255,255,.04); }
#xp-feed .w { font-family: var(--mono); font-size: 12px; color: var(--ink-2); }
#xp-feed .v { font-family: var(--mono); font-size: 12px; color: var(--ink); text-align: right; }
#xp-feed .k { grid-column: 1 / -1; font-size: 11.5px; color: var(--muted); }
.xp-empty { padding: 14px 16px; color: var(--muted); font-size: 13px; }
.xp-stats { margin: 0; display: grid; grid-template-columns: 1fr 1fr; }
.xp-stats div { padding: 12px 16px; border-bottom: 1px solid var(--line); }
.xp-stats div:nth-child(odd) { border-right: 1px solid var(--line); }
.xp-stats dt { font-family: var(--mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.xp-stats dd { margin: 4px 0 0; font: 500 16px var(--mono); }
@media (max-width: 1200px) { .xp-cols { grid-template-columns: minmax(0, 1fr); } .xp-live { position: static; } }
@media (max-width: 760px) { .xp-steps { grid-template-columns: 1fr; } .xp-intro { padding: 18px 16px; } }
/* inside the shell the board is narrower: let the cards size themselves */
.sh .dash { max-width: 1400px; padding: 32px 36px 80px; }
.v2-explore .grid { grid-template-columns: repeat(auto-fill, minmax(208px, 1fr)); }
@media (max-width: 1000px) { .sh .dash { padding: 22px 16px 60px; } }
@media (max-width: 560px) { .v2-explore .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- AI credit inside the shell ---------- */
.v2-credits { position: relative; min-width: 0; }
.v2-credits .hero-bg { position: absolute; inset: 0 0 auto; height: 760px; }
.v2-credits .promo, .v2-credits .pillars, .v2-credits .demo-sec, .v2-credits .biter { display: none; }
.v2-credits .frame { max-width: 1240px; padding: 0 36px 30px; }
.cr-tabs { position: relative; z-index: 2; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 22px 0 6px; }
.cr-tabs a { padding: 7px 13px; border-radius: 999px; font: 12.5px var(--mono); color: var(--ink-2); border: 1px solid transparent; }
.cr-tabs a:hover { color: #fff; border-color: var(--line-2); }
.cr-tabs .btn-ghost { margin-left: auto; }
.v2-credits .hero { min-height: 0; padding-top: 30px; }
.v2-credits h1 { font-size: 64px; }
.v2-credits .band .inner { max-width: 1240px; padding-left: 36px; padding-right: 36px; }
@media (max-width: 1000px) {
  .v2-credits .frame { padding: 0 16px 24px; }
  .v2-credits h1 { font-size: 44px; }
  .v2-credits .band .inner { padding-left: 16px; padding-right: 16px; }
  .cr-tabs { overflow-x: auto; flex-wrap: nowrap; }
  .cr-tabs a { white-space: nowrap; }
}

/* ---------- My panel ---------- */
.v2-me { max-width: 1100px; }
.me-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.me-head h1 { margin: 4px 0 0; font-family: var(--mono); font-weight: 400; font-size: 30px; letter-spacing: -.03em; color: #fff; }
.me-addr { font: 13px var(--mono); color: var(--ink-2); padding: 8px 14px; border: 1px solid var(--line-2); border-radius: 999px; }
.me-addr:hover { color: #fff; }
.me-empty { padding: 48px 32px; text-align: center; border: 1px solid var(--line-2); border-radius: 22px; background: rgba(11,11,13,.85); }
.me-empty h2 { margin: 0 0 10px; font-size: 22px; font-weight: 500; }
.me-empty p { max-width: 520px; margin: 0 auto 24px; color: var(--muted); line-height: 1.6; }
.me-sec { margin-bottom: 16px; padding: 20px 22px; border: 1px solid var(--line-2); border-radius: 20px; background: rgba(11,11,13,.85); }
.me-sec-h { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.me-sec-h h2 { margin: 0; font-size: 17px; font-weight: 500; }
.me-acts { display: flex; gap: 8px; flex-wrap: wrap; }
.me-sec .btn-out { display: inline-flex; align-items: center; height: 34px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: 999px; background: transparent; color: var(--ink-2); font: 12.5px var(--mono); cursor: pointer; }
.me-sec .btn-out:hover { color: #fff; border-color: rgba(255,255,255,.3); }
.me-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.me-tile { padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.02); }
.me-tile span { display: block; font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.me-tile b { display: block; margin-top: 6px; font: 500 20px var(--mono); }
.me-tile small { display: block; margin-top: 4px; font-size: 12px; color: var(--muted); }
.me-note { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.6; }
.me-list { list-style: none; margin: 0; padding: 0; }
.me-list li { display: grid; grid-template-columns: 1fr auto auto; gap: 18px; padding: 10px 0; border-top: 1px solid var(--line); font: 13.5px var(--mono); }
.me-list li:first-child { border-top: 0; }
.me-agents { display: grid; gap: 10px; }
.me-agent { display: grid; grid-template-columns: 52px 1fr auto; gap: 14px; align-items: center; padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px; }
.me-agent:hover { border-color: rgba(255,255,255,.25); }
.me-agent img { width: 52px; height: 52px; border-radius: 12px; object-fit: cover; }
.me-agent b { display: block; font-size: 15px; font-weight: 500; }
.me-agent small { color: var(--muted); font-size: 12.5px; }
.me-agent dl { margin: 0; display: flex; gap: 20px; }
.me-agent dt { font-family: var(--mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.me-agent dd { margin: 3px 0 0; font: 500 14px var(--mono); }
@media (max-width: 760px) {
  .me-tiles { grid-template-columns: 1fr 1fr; }
  .me-agent { grid-template-columns: 44px 1fr; }
  .me-agent img { width: 44px; height: 44px; }
  .me-agent dl { grid-column: 1 / -1; gap: 14px; }
}

/* ---------- front door ---------- */
.top .fd-open { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 16px; border-radius: 999px; background: linear-gradient(180deg, #fff, #d4d4da 55%, #a3a3ac); color: #0a0a0b !important; font-family: var(--mono); }
.top .fd-open span { font-size: 11px; }
.fd-app h2 { margin-bottom: 40px; }
.fd-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 44px; }
.fd-cards a { display: flex; flex-direction: column; gap: 10px; min-height: 190px; padding: 24px 22px; border: 1px solid var(--line-2); border-radius: 22px; background: radial-gradient(120% 90% at 50% 0%, #17171b, #0c0c0e 70%); transition: border-color .2s, transform .2s; }
.fd-cards a:hover { border-color: rgba(255,255,255,.3); transform: translateY(-3px); }
.fd-cards b { font-size: 19px; font-weight: 500; color: var(--ink); }
.fd-cards span { color: var(--muted); font-size: 14px; line-height: 1.6; }
.fd-cards i { margin-top: auto; font: normal 12.5px var(--mono); color: var(--ink-2); }
@media (max-width: 1100px) { .fd-cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .fd-cards { grid-template-columns: 1fr; } .fd-cards a { min-height: 0; } }
.xp-x { white-space: nowrap; }
@media (max-width: 760px) {
  .xp-steps { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 10px; margin: 0 -16px; padding: 0 16px 4px; scrollbar-width: none; }
  .xp-steps::-webkit-scrollbar { display: none; }
  .xp-steps li { flex: 0 0 82%; scroll-snap-align: start; }
  .xp-head h2 { font-size: 19px; }
}
