/* My CGN Dashboard (phones) + tablet right column — see cgn-mdash.js */
.mdash[hidden]{display:none !important}
.mdash{margin:0 0 14px;display:flex;flex-direction:column;gap:10px;min-width:0}
.md-top{display:flex;align-items:baseline;justify-content:space-between;gap:10px;padding:2px 4px 0}
.md-top b{font-size:16px;font-weight:800;color:var(--text)}
.md-top span{font-size:12px;color:var(--muted)}
.md-chips{display:flex;gap:8px;overflow-x:auto;padding:2px 2px 6px;scrollbar-width:none;-webkit-overflow-scrolling:touch}
.md-chips::-webkit-scrollbar{display:none}
.md-chip{flex:none;display:inline-flex;align-items:center;gap:6px;border:1px solid var(--line);background:#fff;color:#1e293b;
  font:600 13px/1 inherit;font-family:inherit;padding:9px 13px;border-radius:999px;cursor:pointer;box-shadow:0 1px 2px rgba(15,23,42,.06);min-height:38px}
.md-chip .ic{color:var(--violet)}
.md-chip-earn{background:linear-gradient(135deg,var(--violet),var(--violet-2));color:#fff;border:0}
.md-chip-earn .ic{color:#fff}
.md-sec{background:var(--card);border:1px solid var(--line);border-radius:16px;box-shadow:var(--shadow);overflow:hidden;min-width:0}
.md-sec>summary{list-style:none;display:flex;align-items:center;gap:10px;padding:13px 14px;cursor:pointer;min-height:52px;user-select:none}
.md-sec>summary::-webkit-details-marker{display:none}
.md-ic{width:34px;height:34px;border-radius:10px;display:grid;place-items:center;flex:none;background:#f3e8ff;color:var(--violet)}
.md-aff .md-ic{background:linear-gradient(135deg,var(--violet),var(--violet-2));color:#fff}
.md-radio .md-ic{background:linear-gradient(135deg,#6d28d9,#4f46e5);color:#fff}
.md-t{font-weight:800;font-size:15px;color:var(--text);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}
.md-live{background:#ef4444;color:#fff;font-size:10px;font-weight:800;padding:3px 7px;border-radius:6px;letter-spacing:.4px;flex:none}
.md-sum{margin-left:auto;font-size:12px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0;text-align:right}
.md-chev{flex:none;width:9px;height:9px;border-right:2px solid #94a3b8;border-bottom:2px solid #94a3b8;transform:rotate(45deg);margin:0 4px 4px 2px;transition:transform .2s}
.md-sec[open]>summary .md-chev{transform:rotate(-135deg);margin-bottom:-4px}
.md-sec[open]>summary{border-bottom:1px solid var(--line)}
.md-body{min-width:0}
.md-body>*{min-width:0;max-width:100%}
/* the moved widgets lose their own card frame and title (the expandable card has them) */
.md-body>.card,.md-body>section{border:0 !important;border-radius:0 !important;box-shadow:none !important;margin:0 !important}
.md-body>.card.aff>.hd,.md-body>.card.radio>.hd,.md-body>section>.wtitle{display:none}
.md-body>section+section{border-top:1px solid var(--line) !important}
.md-body .wbody{padding-top:14px}
.md-body .linkbox{min-width:0}
.md-body .linkbox .url{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.md-body .share{flex-wrap:wrap;justify-content:center}
.md-body .share .sh{width:46px;height:46px}
.md-body .prods{grid-template-columns:repeat(3,minmax(0,1fr))}
.md-body .joincard{border-radius:0 !important}
.md-body .card.bcast .prices{grid-template-columns:repeat(4,minmax(0,1fr))}
.md-more{display:block;width:100%;border:0;border-top:1px solid var(--line);background:#faf7ff;color:var(--violet);font:700 13.5px/1 inherit;font-family:inherit;padding:13px;cursor:pointer;text-align:center}
.md-more:hover{background:#f3e8ff}
@media(max-width:360px){.md-sum{display:none}.md-body .card.bcast .prices{grid-template-columns:repeat(2,minmax(0,1fr))}}
/* tablet: the far column is hidden by the base layout, its widgets join the right column */
body.md-tablet #view-home .col.side2{display:flex;flex-direction:column}
/* narrow screens: radio controls and post action buttons shrink instead of spilling past the edge */
.radio .ctrls{min-width:0}
.radio .ctrl-row input[type=range]{min-width:0;width:100%}
.post-actions .pa{min-width:0}
@media(max-width:440px){.post-actions .pa{gap:5px;padding:9px 4px;font-size:13px}.post-actions .pa .ic{width:17px;height:17px;flex:none}}
@media(max-width:350px){.post-actions .pa{font-size:0;gap:0}.post-actions .pa .ic{width:20px;height:20px}}
/* make the widget buttons that now do something look clickable */
#view-home .viewall,#view-home .prod,#view-home .bcitem,#view-home .card.bcast .price,#view-home .joincard .btn{cursor:pointer}
