/* MOEV web: share sheet for trending cuts (web/trend.js). Uses the tokens in styles.css. */
body.tc-lock { overflow: hidden; }
.tc-sheet { position: fixed; inset: 0; z-index: 60; background: rgba(8, 8, 8, .72); display: flex; align-items: flex-end; justify-content: center; }
.tc-sheet[hidden] { display: none; }
.tc-panel { position: relative; width: 100%; max-width: 480px; max-height: 88vh; overflow-y: auto; background: var(--plate); border: 1px solid var(--line);
  border-radius: 18px 18px 0 0; padding: 22px 16px calc(18px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; gap: 10px; }
.tc-x { position: absolute; top: 8px; right: 10px; background: none; border: 0; color: var(--dim); font-size: 28px; line-height: 1; padding: 6px 10px; cursor: pointer; }
.tc-back { align-self: flex-start; background: none; border: 0; color: var(--amber); font: 600 14px var(--body); padding: 0 0 4px; cursor: pointer; }
.tc-choice { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; width: 100%; text-align: left; background: var(--ink); color: var(--paper);
  border: 1px solid var(--line); border-radius: 12px; padding: 14px; cursor: pointer; font: 500 16px var(--body); }
.tc-choice b { font-weight: 700; }
.tc-choice small { color: var(--dim); font-size: 13px; line-height: 1.35; }
.tc-choice:active, .tc-choice:focus-visible { border-color: var(--amber); outline: none; }
.tc-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.tc-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; background: var(--ink); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; }
.tc-name { display: flex; flex-direction: column; min-width: 0; }
.tc-name b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tc-name small { color: var(--dim); font-size: 12px; }
.tc-go { width: auto; flex: none; margin: 0; padding: 8px 14px; }
.tc-status { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; font-size: 12px; color: var(--paper); text-align: right; max-width: 55%; }
.tc-locked { opacity: .55; }
.tc-bar { display: block; width: 100%; min-width: 96px; height: 4px; border-radius: 2px; background: var(--line); overflow: hidden; }
.tc-bar i { display: block; height: 100%; background: var(--amber); transition: width .8s linear; }
.tc-choice .tc-bar { margin-top: 6px; }
.tc-guide { font: 400 30px/1.05 var(--display); letter-spacing: .02em; margin: 4px 0; }
.tc-fine { opacity: .8; }
.tc-msg { color: var(--amber); }
