/* Deploy and My agents: big tiles in the style of the wallet picker. A picture
   (or glyph) over a faint drifting pattern of itself, the name bottom left, and
   a pill bottom right that grows its label on hover. Picked tiles get a white
   ring and a green check. Loaded after city.css and panels.css. */

#deploy .dask { margin: 2px 0 14px; }
#deploy .dask h3 { margin: 0; font: 700 20px Inter, sans-serif; letter-spacing: -0.02em; color: var(--slate-900); }
#deploy .dask p { margin: 4px 0 0; font-size: 13px; color: var(--slate-500); }
#deploy .dstep { min-height: 0; }

.dtiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px; }
.dtiles.two { grid-template-columns: 1fr 1fr; gap: 12px; }
.dtiles.three { grid-template-columns: repeat(3, 1fr); }
.dtiles.four { grid-template-columns: repeat(4, 1fr); }
.dtiles.five { grid-template-columns: repeat(5, 1fr); }
.dtiles + .sub2 { margin-top: 16px; }

.dtile { --brand: #27272a; position: relative; overflow: hidden; display: block; height: 196px; padding: 0; border-radius: 18px; border: 1px solid #e2e2e4; background: linear-gradient(160deg, #f1f1f3, #fbfbfb); color: #27272a; text-align: left; cursor: pointer; font: inherit; box-shadow: 0 14px 34px rgba(39, 39, 42, 0.158); transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s; }
.dtile.small { height: 138px; border-radius: 16px; }
.dtile:hover, .dtile:focus-visible { transform: translateY(-3px); border-color: color-mix(in srgb, var(--brand) 60%, transparent); box-shadow: 0 20px 44px rgba(39, 39, 42, 0.193), 0 0 0 1px color-mix(in srgb, var(--brand) 30%, transparent), 0 0 36px -10px var(--brand); outline: none; }
.dtile .wt-pat { opacity: 0.06; }
.dtile:hover .wt-pat { opacity: 0.1; animation-duration: 5s; }
.dtile.on { border-color: #27272a; box-shadow: 0 0 0 1px #27272a, 0 16px 40px rgba(39, 39, 42, 0.175); background: linear-gradient(160deg, #e9e9eb, #f7f7f9); }
.dtile.locked { cursor: not-allowed; }
.dtile.locked .dt-pic { filter: grayscale(1) brightness(0.6); }
.dtile.locked:hover { transform: none; }

.dt-pic { position: absolute; left: 16px; top: 16px; width: 92px; height: 92px; border-radius: 16px; background-color: #e6e6e8; background-position: center; background-size: cover; background-repeat: no-repeat; box-shadow: 0 8px 22px rgba(39, 39, 42, 0.175); transition: transform 0.25s; display: grid; place-items: center; font: 700 20px Inter, sans-serif; color: #8e8e90; overflow: hidden; }
.dtile.small .dt-pic { width: 44px; height: 44px; top: 14px; left: 14px; border-radius: 12px; font-size: 16px; }
.dtile:hover .dt-pic { transform: scale(1.05) rotate(-3deg); }
.dt-glyph { position: absolute; left: 14px; top: 14px; min-width: 44px; height: 44px; padding: 0 10px; border-radius: 12px; display: grid; place-items: center; background: #e9e9eb; box-shadow: inset 0 0 0 1px #d9d9db; font: 700 16px Inter, system-ui, sans-serif; color: var(--slate-900); transition: transform 0.25s, background 0.2s; }
.dtile.on .dt-glyph { background: #27272a; color: #ffffff; box-shadow: none; }
.dtile:hover .dt-glyph { transform: scale(1.05) rotate(-3deg); }
.dt-tag { position: absolute; right: 12px; top: 12px; font: 700 11px Inter, sans-serif; letter-spacing: 0.04em; padding: 3px 7px; border-radius: 6px; background: #22c55e; color: #ffffff; }
.dt-name { position: absolute; left: 16px; bottom: 34px; right: 16px; font: 700 16px Inter, sans-serif; letter-spacing: -0.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dtile.small .dt-name { left: 14px; bottom: 30px; font-size: 13px; }
.dt-sub { position: absolute; left: 16px; right: 16px; bottom: 14px; font-size: 13px; color: var(--slate-500); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding-right: 96px; }
.dtile.small .dt-sub { left: 14px; bottom: 11px; font-size: 11px; padding-right: 40px; }
.dtile:not(.small) .dt-sub { white-space: normal; bottom: 12px; line-height: 1.35; max-height: 2.7em; }
.dt-go { position: absolute; right: 12px; bottom: 11px; display: flex; align-items: center; gap: 6px; height: 28px; padding: 0 8px; border-radius: 999px; color: #27272a; background: rgba(39, 39, 42, 0.054); border: 1px solid rgba(39, 39, 42, 0.072); transition: background 0.2s, color 0.2s; }
.dt-go i { font: 600 11px Inter, sans-serif; font-style: normal; max-width: 0; overflow: hidden; white-space: nowrap; opacity: 0; transition: max-width 0.3s ease, opacity 0.25s; }
.dtile:hover .dt-go { background: var(--brand); color: #ffffff; border-color: transparent; }
.dtile:hover .dt-go i, .dtile.on .dt-go i, .dtile.locked .dt-go i { max-width: 120px; opacity: 1; }
.dtile.on .dt-go { background: #22c55e; color: #ffffff; border-color: transparent; }
.dtile.locked .dt-go, .dtile.locked:hover .dt-go { background: rgba(251, 191, 36, 0.1); color: #b45309; border-color: rgba(251, 191, 36, 0.3); }

/* projects step: what's picked, and the search */
.dpicked { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-bottom: 10px; }
.dpicked small { margin-left: auto; font: 500 11px Inter, system-ui, sans-serif; color: var(--slate-500); }
.dchip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 8px 4px 4px; border-radius: 999px; border: 1px solid #27272a; background: #ededef; color: var(--slate-900); font: 600 13px Inter, system-ui, sans-serif; cursor: pointer; }
.dchip i { width: 22px; height: 22px; border-radius: 50%; background: #e6e6e8 center / cover; }
.dchip em { font: 700 11px Inter, sans-serif; font-style: normal; text-transform: uppercase; letter-spacing: 0.05em; padding: 1px 5px; border-radius: 4px; background: #27272a; color: #ffffff; }
.dchip span { color: var(--slate-500); margin-left: 2px; }
.dchip:hover span { color: var(--red-ink); }
.dsearch { display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 12px; margin-bottom: 14px; border-radius: 12px; background: #fbfbfb; border: 1px solid var(--line); color: var(--slate-500); }
.dsearch:focus-within { border-color: #b9b9bb; }
.dsearch input { flex: 1; min-width: 0; border: 0; outline: none; background: none; color: var(--slate-900); font: 13px Inter, sans-serif; }

/* name step */
.dname { display: flex; gap: 18px; align-items: center; }
.dname-pic img.av { width: 96px; height: 96px; border-radius: 18px; }
.dname-f { flex: 1; min-width: 0; }
#deploy .input.big { height: 48px; font: 600 18px Inter, sans-serif; }

/* focus step: fine-tune tucked away */
.dmore { margin-top: 14px; border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; background: #f7f7f9; }
.dmore summary { cursor: pointer; font: 600 13px Inter, sans-serif; color: var(--slate-700); list-style: none; }
.dmore summary::before { content: '▸ '; color: var(--slate-500); }
.dmore[open] summary::before { content: '▾ '; }
.dmore[open] summary { margin-bottom: 12px; }
.dmore .field:last-child { margin-bottom: 4px; }

/* review: a change link on each row */
.review dd { display: flex; align-items: center; gap: 8px; }
.dedit { margin-left: auto; border: 0; background: none; color: var(--slate-500); font: 600 11px Inter, sans-serif; cursor: pointer; padding: 2px 6px; border-radius: 6px; }
.dedit:hover { color: var(--slate-900); background: #ededef; }

@media (max-width: 760px) {
  .dtiles.two, .dtiles.three { grid-template-columns: 1fr; }
  .dtiles.four, .dtiles.five { grid-template-columns: 1fr 1fr; }
  .dtile { height: 170px; }
  .dname { flex-direction: column; align-items: stretch; }
}

/* ---- My agents: a card per agent, side by side ---- */
#mine .sheet { width: min(1080px, 100%); }
.mine-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 12px; }
.acard { position: relative; overflow: hidden; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 18px; background: linear-gradient(160deg, #f2f2f4, #fafafc); }
.acard.off { opacity: 0.75; }
.ac-top { position: relative; height: 124px; overflow: hidden; border-bottom: 1px solid var(--line); }
.ac-top .wt-pat { opacity: 0.06; }
.ac-top img.av { position: absolute; left: 16px; bottom: 14px; width: 84px; height: 84px; border-radius: 16px; box-shadow: 0 8px 22px rgba(39, 39, 42, 0.175); }
.ac-id { position: absolute; left: 114px; right: 14px; bottom: 16px; }
.ac-id b { display: block; font: 700 18px Inter, sans-serif; letter-spacing: -0.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ac-id .ag-tags { margin-top: 5px; }
.ac-top .ac-btns { position: absolute; right: 12px; top: 12px; display: flex; gap: 6px; }
.ac-body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.acard .mine-stats { grid-template-columns: 1fr 1fr !important; margin: 0 !important; }
.ac-sec > small { display: flex; align-items: center; justify-content: space-between; font: 700 11px Inter, sans-serif; letter-spacing: 0.06em; text-transform: uppercase; color: var(--slate-500); margin-bottom: 7px; }
.ac-works { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.ac-tok { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 9px; border-radius: 12px; border: 1px solid var(--line); background: #f7f7f9; color: var(--slate-900); font: 600 13px Inter, system-ui, sans-serif; cursor: pointer; text-align: left; min-width: 0; }
.ac-tok:hover { border-color: #cbcbcd; }
.ac-tok i { width: 28px; height: 28px; border-radius: 9px; background: #e6e6e8 center / cover; }
.ac-tok b { font: inherit; max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ac-tok em { position: absolute; right: 7px; top: 7px; font: 700 11px Inter, sans-serif; font-style: normal; text-transform: uppercase; letter-spacing: 0.05em; padding: 1px 5px; border-radius: 4px; background: #27272a; color: #ffffff; }
.ac-tok em.paid { top: auto; bottom: 7px; background: rgba(34, 197, 94, 0.2); color: var(--green-ink); }
.ac-tok.add { align-items: center; justify-content: center; border-style: dashed; color: var(--slate-500); font: 600 13px Inter, sans-serif; min-height: 78px; }
.ac-tok.add:hover { color: var(--slate-900); border-color: #adadaf; }
.ac-switch { border: 0; background: none; color: var(--slate-500); font: 600 11px Inter, sans-serif; text-transform: none; letter-spacing: 0; cursor: pointer; padding: 0; }
.ac-switch:hover { color: var(--slate-900); }
.acard .hint { color: var(--slate-500); font-size: 13px; line-height: 1.5; margin: 6px 0 0; }
.acard .ag-mem summary { color: var(--slate-500); font-size: 13px; cursor: pointer; }
.anew { position: relative; overflow: hidden; min-height: 300px; border: 1px dashed #d2d2d4; border-radius: 18px; background: none; color: var(--slate-500); cursor: pointer; font: inherit; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center; padding: 20px; }
.anew:hover { border-color: #9b9b9d; color: var(--slate-900); background: #f7f7f9; }
.anew img.av { width: 72px; height: 72px; border-radius: 16px; opacity: 0.8; }
.anew b { font: 700 16px Inter, sans-serif; color: var(--slate-900); }
.anew small { font-size: 13px; max-width: 240px; line-height: 1.45; }

/* big tiles: picture top left, name, then a two-line description clear of the pill */
.dtile:not(.small) .dt-name { bottom: 54px; }
.dtile:not(.small) .dt-sub { bottom: 14px; padding-right: 56px; }
/* small tiles: the pill is just an icon until you hover, so it never covers the name */
.dtile.small .dt-name { padding-right: 34px; }
.dtile.small .dt-go i { max-width: 0 !important; opacity: 0 !important; }
.dtile.small:hover .dt-go i { max-width: 110px !important; opacity: 1 !important; }
.dtile.small:hover .dt-name, .dtile.small:hover .dt-sub { opacity: 0.25; }
.dtile.small.on:hover .dt-name { opacity: 1; }
.sub2 .dim { text-transform: none; letter-spacing: 0; font-weight: 500; }
/* my agents: the tags under the name */
.acard .ag-tags { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.acard .role-pill { display: inline-block; font: 600 11px Inter, system-ui, sans-serif; padding: 2px 7px; border-radius: 6px; background: #27272a; color: #ffffff; }
.acard .role-pill.investor { background: #e2e2e4; color: #27272a; box-shadow: inset 0 0 0 1px #cbcbcd; }
.acard .st { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; color: var(--slate-500); }
.acard .st i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.acard .st.s-paused i { background: #8e8e90; }
.acard .xh { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; color: var(--slate-700); text-decoration: none; }
.acard .xh img { width: 16px; height: 16px; border-radius: 50%; }
.acard .mine-stats .stat { background: #fbfbfb; border: 1px solid var(--line); border-radius: 10px; }

/* ---- custom dropdown and switch (ui.js): never the browser's own ---- */
.cdd { position: relative; flex: 1; min-width: 0; }
.cdd-btn { width: 100%; height: 42px; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 0 13px; border-radius: 11px; border: 1px solid var(--line); background: #fbfbfb; color: var(--slate-900); font: 600 13px Inter, sans-serif; cursor: pointer; }
.cdd-btn:hover, .cdd.open .cdd-btn { border-color: #b9b9bb; }
.cdd-btn svg { color: var(--slate-500); transition: transform 0.15s; flex: none; }
.cdd.open .cdd-btn svg { transform: rotate(180deg); }
.cdd-list { display: none; position: absolute; z-index: 30; left: 0; right: 0; top: calc(100% + 6px); margin: 0; padding: 5px; list-style: none; max-height: 200px; overflow-y: auto; background: #f4f4f6; border: 1px solid #d9d9db; border-radius: 12px; box-shadow: 0 18px 40px rgba(39, 39, 42, 0.3); scrollbar-width: thin; }
.cdd.open .cdd-list { display: block; }
.cdd-list li { display: flex; align-items: center; justify-content: space-between; padding: 8px 10px; border-radius: 8px; font: 500 13px Inter, sans-serif; color: var(--slate-700); cursor: pointer; }
.cdd-list li:hover { background: #e6e6e8; color: var(--slate-900); }
.cdd-list li.on { color: var(--slate-900); font-weight: 600; }
.cdd-list li svg { color: var(--green-ink); }
#deploy .dmore { overflow: visible; }
.ctg { display: inline-flex; align-items: center; gap: 9px; border: 0; background: none; padding: 2px 0; color: var(--slate-700); font: 600 13px Inter, sans-serif; cursor: pointer; }
.ctg i { position: relative; width: 36px; height: 20px; border-radius: 999px; background: #dddddf; box-shadow: inset 0 0 0 1px #cbcbcd; transition: background 0.18s; flex: none; }
.ctg i::after { content: ''; position: absolute; left: 3px; top: 3px; width: 14px; height: 14px; border-radius: 50%; background: #757577; transition: transform 0.18s cubic-bezier(.3,1.3,.5,1), background 0.18s; }
.ctg.on i { background: var(--green); box-shadow: none; }
.ctg.on i::after { transform: translateX(16px); background: #27272a; }
.ctg.on { color: var(--slate-900); }

/* ---- agent card: who it's for on X, and an investor's open positions ---- */
.card .ag-x { display: flex; align-items: center; gap: 10px; margin: 0 16px 12px; padding: 9px 12px; border-radius: 12px; background: #f4f4f6; border: 1px solid var(--line); color: var(--slate-900); text-decoration: none; }
.card .ag-x:hover { border-color: #cbcbcd; }
.card .ag-x img { width: 30px; height: 30px; border-radius: 50%; background: #e6e6e8; }
.card .ag-x span { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.card .ag-x small { font: 600 11px Inter, sans-serif; letter-spacing: 0.06em; text-transform: uppercase; color: var(--slate-500); }
.card .ag-x b { font: 600 13px Inter, sans-serif; }
.card .ag-x em { font-style: normal; color: var(--slate-500); }
.card .ag-pos { margin: 0 16px 12px; display: flex; flex-direction: column; gap: 6px; }
:is(.card, #mine) .ag-pos > .dim { font-size: 13px; padding: 4px 0; }
:is(.card, #mine) .pos { display: flex; align-items: center; gap: 10px; width: 100%; padding: 8px 10px; border-radius: 12px; border: 1px solid var(--line); background: #f4f4f6; color: var(--slate-900); cursor: pointer; text-align: left; font: inherit; }
:is(.card, #mine) .pos:hover { border-color: #cbcbcd; }
:is(.card, #mine) .pos i { width: 32px; height: 32px; border-radius: 9px; flex: none; background: #e6e6e8 center / cover; display: grid; place-items: center; font: 700 13px Inter, sans-serif; font-style: normal; color: #8e8e90; }
:is(.card, #mine) .pos .pn { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
:is(.card, #mine) .pos .pn b { font: 700 13px Inter, sans-serif; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
:is(.card, #mine) .pos .pn small { font: 500 11px Inter, system-ui, sans-serif; color: var(--slate-500); display: flex; align-items: center; gap: 2px; }
:is(.card, #mine) .pos .pv { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
:is(.card, #mine) .pos .pv b { font: 600 13px Inter, system-ui, sans-serif; display: flex; align-items: center; gap: 2px; }
:is(.card, #mine) .pos .pv em { font: 700 11px Inter, system-ui, sans-serif; font-style: normal; }
:is(.card, #mine) .pos .pv em.up { color: var(--green-ink); }
:is(.card, #mine) .pos .pv em.down { color: var(--red-ink); }

/* ---- the app's own confirm dialog (ui.js ask) ---- */
.cask { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; padding: 16px; background: rgba(39, 39, 42, 0.193); backdrop-filter: blur(3px); animation: caskin 0.16s ease; }
.cask.out { opacity: 0; transition: opacity 0.15s; }
@keyframes caskin { from { opacity: 0; } }
.cask-box { width: min(400px, 100%); padding: 20px; border-radius: 16px; background: var(--white); border: 1px solid var(--line); box-shadow: 0 24px 60px rgba(39, 39, 42, 0.3); animation: caskup 0.2s cubic-bezier(.22,1,.36,1); zoom: var(--ui-zoom, 1); }
@keyframes caskup { from { transform: translateY(10px) scale(0.98); } }
.cask-box b { display: block; font: 700 16px Inter, sans-serif; letter-spacing: -0.02em; color: var(--slate-900); }
.cask-box p { margin: 8px 0 0; font-size: 13px; line-height: 1.5; color: var(--slate-500); }
.cask-row { display: flex; justify-content: flex-end; gap: 8px; margin-top: 18px; }
.btn.danger { background: var(--red); border-color: var(--red); color: #27272a; }

/* ---- investor exit plan (deploy, Style step) ---- */
.dexit { margin-top: 16px; padding: 14px; border-radius: 14px; border: 1px solid var(--line); background: #f7f7f9; }
.dexit .sub2 { margin: 0 0 10px; }
.dexit-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; font-size: 13px; }
.dexit-row > b { width: 92px; font: 700 13px Inter, sans-serif; }
.dexit-row > b.up { color: var(--green-ink); }
.dexit-row > b.down { color: var(--red-ink); }
.dexit-row .seg button { padding: 6px 10px; font: 600 13px Inter, system-ui, sans-serif; }
.dexit .hint { margin: 4px 0 0; font-size: 13px; color: var(--slate-500); line-height: 1.5; }

/* ---- investor card: what it checked out, with its score and thesis ---- */
.card .ag-scout { margin: 0 16px 12px; display: flex; flex-direction: column; gap: 6px; }
.card .ag-scout > .dim { font-size: 13px; line-height: 1.45; padding: 4px 0; }
.card .sco { display: flex; align-items: flex-start; gap: 10px; width: 100%; padding: 9px 10px; border-radius: 12px; border: 1px solid var(--line); background: #f4f4f6; color: var(--slate-900); cursor: pointer; text-align: left; font: inherit; }
.card .sco:hover { border-color: #cbcbcd; }
.card .sco i { width: 30px; height: 30px; border-radius: 9px; flex: none; background: #e6e6e8 center / cover; }
.card .sco .sn { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.card .sco .st { display: flex; align-items: center; gap: 6px; }
.card .sco .st b { font: 700 13px Inter, sans-serif; }
.card .sco .st em { font: 700 11px Inter, sans-serif; font-style: normal; letter-spacing: 0.05em; text-transform: uppercase; padding: 1px 6px; border-radius: 5px; }
.card .sco .st em.up { background: rgba(34,197,94,0.15); color: var(--green-ink); }
.card .sco .st em.mid { background: #e2e2e4; color: var(--slate-700); }
.card .sco .st em.down { background: rgba(239,68,68,0.12); color: var(--red-ink); }
.card .sco .st small { margin-left: auto; font: 500 11px Inter, system-ui, sans-serif; color: var(--slate-500); }
.card .sco .th { font-size: 13px; line-height: 1.4; color: var(--slate-500); }
.card .sco .ss { font: 800 16px Inter, system-ui, sans-serif; padding-top: 1px; }
.card .sco .ss.up { color: var(--green-ink); }
.card .sco .ss.mid { color: var(--slate-900); }
.card .sco .ss.down { color: var(--red-ink); }

/* the owner's Sell button on an open position, just left of its value */
:is(.card, #mine) .pos .psell { flex: none; padding: 5px 12px; font-size: 13px; border-radius: 999px; border: 1px solid #d2d2d4; background: transparent; color: var(--slate-900); }
:is(.card, #mine) .pos .psell:hover { background: #27272a; color: #ffffff; border-color: #27272a; }
:is(.card, #mine) .pos .psell:disabled { opacity: 0.6; cursor: default; background: transparent; color: var(--slate-500); }

.card .sco .th b.wy { font-weight: 600; color: var(--slate-900); }

/* the amount step in the app's dialog (e.g. withdraw) */
.cask-amt { margin-top: 14px; display: flex; flex-direction: column; gap: 8px; }
.cask-bal { display: flex; justify-content: space-between; align-items: baseline; font-size: 13px; color: var(--slate-500); }
.cask-bal b { display: inline; font: 600 13px Inter, system-ui, sans-serif; color: var(--slate-900); letter-spacing: 0; }
.cask-in { display: flex; align-items: center; gap: 8px; padding: 6px 6px 6px 12px; border-radius: 12px; border: 1px solid var(--line); background: #fbfbfb; }
.cask-in:focus-within { border-color: #cbcbcd; }
.cask-in input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--slate-900); font: 600 16px Inter, system-ui, sans-serif; }
.cask-in span { font: 600 13px Inter, system-ui, sans-serif; color: var(--slate-500); }
.cask-err { min-height: 14px; font-size: 13px; color: var(--red-ink); }

/* ---- My RIIZE: the Trader on the left, launches on the right ---- */
.mine-cols { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.mine-cols > section { min-width: 0; }
@media (max-width: 760px) { .mine-cols { grid-template-columns: 1fr; } }
.mine-cols .mine-grid { grid-template-columns: 1fr; }
#mine .ag-pos { display: flex; flex-direction: column; gap: 6px; margin: 0; }
.acard .ac-row { display: flex; gap: 12px; flex-wrap: wrap; }
.acard .ac-row > .ac-sec { flex: 1 1 140px; min-width: 0; }
.acard .ac-row > .ac-sec:nth-child(2) { flex: 3 1 240px; }
.acard .ac-row .ac-sec > div { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.acard .ac-sec .dim { font-size: 13px; }
.mine-launches { display: flex; flex-direction: column; gap: 8px; }
#mine .mine-launches .proj { width: 100%; margin: 0; text-align: left; font: inherit; color: inherit; cursor: pointer; border: 1px solid var(--line); background: linear-gradient(160deg, #f2f2f4, #fafafc); padding: 12px 14px; }
#mine .mine-launches .proj:hover { border-color: #cbcbcd; }
#mine .mine-launches .proj-h { margin: 0; }
#mine .mine-launches .proj-h i { width: 44px; height: 44px; }
.mine-none { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; padding: 28px 20px; border: 1px dashed #d2d2d4; border-radius: var(--rad, 14px); color: var(--slate-500); }
.mine-none b { font: 700 15px Inter, sans-serif; color: var(--slate-900); }
.mine-none small { font-size: 13px; max-width: 260px; line-height: 1.45; }
#mine .mine-launches .proj { cursor: default; }
#mine .mine-launches .proj-h { cursor: pointer; }
#mine .mine-launches .links { padding: 10px 0 0; margin-top: 10px; border-top: 1px solid var(--line); }
#mine .mine-launches .links a, #mine .mine-launches .links .copy-ca { font-size: 12px; padding: 5px 9px; }
