/* Seppi — /studio, the creator dashboard. Builds on pages.css (tokens, glass, buttons, fields). */
.studio { max-width: 1240px; margin: 0 auto; padding: clamp(28px, 4vw, 48px) var(--m) 100px; display: grid; gap: 14px; }
.st-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 8px; }
.st-h1 { font-size: clamp(2.4rem, 6vw, 4rem); letter-spacing: -.055em; line-height: .95; font-weight: 600; margin-top: 6px; }
.st-empty { padding: 28px; }
.st-empty h2 { font-size: 1.4rem; letter-spacing: -.03em; margin-bottom: 6px; }
[hidden] { display: none !important; }

.st-coins { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px; }
.st-coins:empty { display: none; }
.st-coins a { flex: none; display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 6px; border-radius: 0; text-decoration: none; font-weight: 600; font-size: .9rem; background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px rgba(170, 200, 255, .12); }
.st-coins a img { width: 26px; height: 26px; border-radius: 50%; }
.st-coins a em { font-style: normal; font-weight: 500; font-size: .7rem; color: var(--muted); font-family: var(--mono); }
.st-coins a[aria-current="true"] { background: linear-gradient(180deg, rgba(120, 170, 255, .28), rgba(47, 107, 255, .18)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), inset 0 0 0 1px rgba(108, 195, 255, .45); }

.st-coin { display: grid; gap: 14px; }
.st-id { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 18px; align-items: center; padding: 20px 22px; }
.st-id__logo { width: 64px; height: 64px; border-radius: 50%; box-shadow: 0 0 0 4px rgba(255, 255, 255, .06), 0 14px 34px -10px rgba(47, 107, 255, .7); }
.st-id__name { font-size: clamp(1.8rem, 4vw, 2.6rem); letter-spacing: -.05em; line-height: 1; font-weight: 600; margin: 4px 0 8px; }
.st-ca { font: .78rem var(--mono); color: var(--muted); background: rgba(3, 6, 14, .5); border: 0; border-radius: 0; padding: 6px 10px; cursor: pointer; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; box-shadow: inset 0 0 0 1px rgba(170, 200, 255, .12); }
.st-ca:hover { color: var(--ink); }
.st-id__acts { display: flex; gap: 8px; }
@media (max-width: 760px) { .st-id { grid-template-columns: auto 1fr; } .st-id__acts { grid-column: 1 / -1; } }

.st-kpis { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.st-kpis > div { padding: 14px 16px; display: grid; gap: 4px; min-width: 0; }
.st-kpis span { font: 500 .66rem var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.st-kpis b { font-size: 1.2rem; font-weight: 600; letter-spacing: -.02em; font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: flex; align-items: center; gap: 8px; }
.st-kpis b small { font: 500 .75rem var(--mono); color: var(--muted); }
.st-kpis em { font-style: normal; font-size: .74rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.st-prog { height: 5px; border-radius: 0; background: rgba(255, 255, 255, .08); overflow: hidden; margin-top: 6px; }
.st-prog i { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, #2f6bff, var(--sky)); box-shadow: 0 0 10px var(--sky); transition: width .8s; }
.st-grade { font-style: normal; display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 0; font: 600 .9rem var(--mono); background: rgba(255, 255, 255, .06); }
.st-grade[data-g="A"] { color: var(--ok); box-shadow: inset 0 0 0 1.5px var(--ok); }
.st-grade[data-g="B"] { color: #9ee07a; box-shadow: inset 0 0 0 1.5px #9ee07a; }
.st-grade[data-g="C"] { color: var(--warn); box-shadow: inset 0 0 0 1.5px var(--warn); }
.st-grade[data-g="D"], .st-grade[data-g="F"] { color: var(--bad); box-shadow: inset 0 0 0 1.5px var(--bad); }
@media (max-width: 1100px) { .st-kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 560px) { .st-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.st-chart { padding: 18px 20px 14px; }
.st-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 12px; }
.st-bar h2 { font-size: 1.05rem; letter-spacing: -.01em; font-family: var(--mono); font-weight: 500; }
.pills { display: inline-flex; gap: 2px; padding: 3px; border-radius: 0; background: rgba(3, 6, 14, .5); box-shadow: inset 0 0 0 1px rgba(170, 200, 255, .12); }
.pills button { border: 0; background: none; color: var(--muted); font: 500 .78rem var(--mono); padding: 5px 11px; border-radius: 0; cursor: pointer; }
.pills button[aria-pressed="true"] { color: var(--ink); background: rgba(255, 255, 255, .12); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22); }
.st-chart__box { position: relative; height: 380px; border-radius: 0; overflow: hidden; background: rgba(3, 6, 14, .35); }
.st-chart__empty { position: absolute; inset: 0; display: grid; place-items: center; z-index: 2; }
.st-attr { font-size: .72rem; color: var(--muted); margin: 8px 2px 0; }
.st-attr a { color: var(--muted); }
.st-trades { margin-top: 14px; max-height: 260px; overflow: auto; }
.st-trades table { width: 100%; border-collapse: collapse; font: .8rem var(--mono); }
.st-trades th { text-align: left; font-weight: 500; color: var(--muted); padding: 6px 8px; position: sticky; top: 0; background: rgba(10, 16, 30, .9); }
.st-trades td { padding: 7px 8px; border-top: 1px solid var(--line); white-space: nowrap; }
.st-trades td.buy { color: var(--ok); }
.st-trades td.sell { color: var(--bad); }
.st-trades a { color: var(--muted); }

.st-tools { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; align-items: start; }
.st-tools > .banner, .st-msg { grid-column: 1 / -1; }
.tool { padding: 20px 22px; display: grid; gap: 12px; align-content: start; }
.tool--wide { grid-column: 1 / -1; }
.tool h3 { font-size: 1.15rem; letter-spacing: -.02em; }
.tool__big { font-size: 1.9rem; font-weight: 600; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.tool__sub { margin-top: 4px; padding-top: 14px; border-top: 1px solid var(--line-2); display: grid; gap: 10px; }
.tool__row { display: flex; justify-content: space-between; align-items: center; }
.tool__inline { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: end; }
.tool__how summary { cursor: pointer; font-size: .84rem; color: var(--sky); }
.tool__how p { margin-top: 6px; }
.tool__log { display: grid; gap: 4px; font-size: .78rem; color: var(--muted); max-height: 140px; overflow: auto; }
.tool__log li { display: flex; gap: 8px; }
.tool__log time { font-family: var(--mono); flex: none; }
.tool__log a { color: var(--sky); }
.tool__list { display: grid; gap: 0; font: .8rem var(--mono); max-height: 180px; overflow: auto; }
.tool__list li { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-bottom: 1px solid var(--line); }
.tool textarea { font: .82rem var(--mono); }
@media (max-width: 900px) { .st-tools { grid-template-columns: 1fr; } }

/* terminal, black and white (2026-10-30) */
.st-coins a { background: none; box-shadow: inset 0 0 0 1px var(--line-2); font-family: var(--mono); font-weight: 500; }
.st-coins a img { border-radius: 0; }
.st-coins a[aria-current="true"] { background: #fff; color: #000; box-shadow: none; }
.st-coins a[aria-current="true"] em { color: #555; }
.st-id__logo { border-radius: 0; box-shadow: none; }
.st-ca, .pills, .st-chart__box { background: #000; }
.st-prog { height: 10px; background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .12) 0 4px, transparent 4px 7px); }
.st-prog i { background: repeating-linear-gradient(90deg, #fff 0 4px, transparent 4px 7px); box-shadow: none; }
.st-grade { background: none; box-shadow: inset 0 0 0 1px var(--line-2); color: var(--ink); }
.st-grade[data-g="A"], .st-grade[data-g="B"] { background: #fff; color: #000; box-shadow: none; }
.st-grade[data-g="C"], .st-grade[data-g="D"], .st-grade[data-g="F"] { color: #fff; box-shadow: inset 0 0 0 1px #fff; }
.pills button[aria-pressed="true"] { color: #000; background: #fff; box-shadow: none; }
.st-trades th { background: #000; text-transform: uppercase; letter-spacing: .06em; font-size: .68rem; }
.st-trades td.buy { color: #fff; }
.st-trades td.buy::before { content: "+ "; }
.st-trades td.sell { color: var(--muted); }
.st-trades td.sell::before { content: "- "; }
.tool h3, .st-bar h2, .st-empty h2 { font-family: var(--mono); font-size: .95rem; text-transform: uppercase; letter-spacing: .06em; }
.tool h3::before { content: "> "; color: var(--muted); }
.tool__big, .st-kpis b { font-family: var(--mono); font-weight: 500; }
.tool__how summary, .tool__log a { color: #fff; }

/* colour (2026-10-30) */
.st-coins a[aria-current="true"] { background: var(--cobalt); color: #fff; }
.st-coins a[aria-current="true"] em { color: #cfe0ff; }
.st-prog i { background: repeating-linear-gradient(90deg, var(--sky) 0 4px, transparent 4px 7px); }
.st-grade[data-g="A"] { background: var(--ok); color: #000; }
.st-grade[data-g="B"] { background: #a6e06b; color: #000; }
.st-grade[data-g="C"] { background: none; color: var(--warn); box-shadow: inset 0 0 0 1px var(--warn); }
.st-grade[data-g="D"], .st-grade[data-g="F"] { background: none; color: var(--bad); box-shadow: inset 0 0 0 1px var(--bad); }
.pills button[aria-pressed="true"] { background: var(--sky); color: #000; }
.st-trades td.buy { color: var(--ok); }
.st-trades td.sell { color: var(--bad); }
.tool h3::before { color: var(--sky); }
.tool__how summary, .tool__log a { color: var(--sky); }
