/* taboverview.com/s: a shared collection, read in the visitor's browser. Built on the site's own tokens in
   /styles.css, as approved in design/round24/collections (site-desktop.png, site-phone.png). The live security
   policy allows no inline styles: page.js sets each letter tile's colour through the CSSOM. */
.share { background: var(--base); }
.share [hidden] { display: none !important; }
.share-top { max-width: 760px; margin: 0 auto; padding: 22px var(--gutter) 0; display: flex; align-items: center; justify-content: space-between; }
.share-brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 650; font-size: 17px; text-decoration: none; letter-spacing: -.01em; }
.share-get { height: 38px; padding: 0 15px; border-radius: 13px; font-size: 14px; }
.share-main { max-width: 760px; margin: 0 auto; padding: 56px var(--gutter) 64px; }
.share-kicker { font-size: 14px; font-weight: 550; color: var(--ink-3); letter-spacing: .01em; }
.share h1 { margin-top: 8px; font-size: clamp(34px, 6vw, 52px); line-height: 1.04; font-weight: 750; letter-spacing: -.035em; overflow-wrap: anywhere; }
.share-note { margin-top: 14px; font-size: 19px; line-height: 1.45; color: var(--ink-2); max-width: 36em; overflow-wrap: anywhere; }
.share-meta { margin-top: 10px; font-size: 15px; color: var(--ink-3); font-variant-numeric: tabular-nums; }

.share-actions { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 10px; margin-top: 26px; }
.share-open { height: 50px; padding: 0 22px; border-radius: 16px; font-size: 16px; }
.share-open svg, .share-soft svg, .share-copy svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.share-soft { display: inline-flex; align-items: center; gap: 8px; height: 50px; padding: 0 20px; border-radius: 16px; background: rgb(16 20 42 / .06); font-weight: 600; font-size: 16px; text-decoration: none; transition: background .18s; }
.share-soft:hover { background: rgb(16 20 42 / .1); }
.share-copy { display: inline-flex; align-items: center; gap: 8px; height: 50px; padding: 0 14px; border-radius: 16px; font-weight: 600; font-size: 16px; color: var(--ink-2); background: transparent; transition: background .18s; }
.share-copy:hover { background: rgb(16 20 42 / .05); }
.share-why { margin-top: 12px; font-size: 14.5px; line-height: 1.5; color: var(--ink-3); max-width: 40em; }
.share-safe { display: flex; gap: 10px; align-items: flex-start; margin-top: 22px; padding: 12px 14px; border-radius: 14px; background: #fff; box-shadow: var(--shadow-soft); font-size: 14px; line-height: 1.45; color: var(--ink-2); }
.share-safe svg { width: 18px; height: 18px; flex: none; fill: none; stroke: #1d8a57; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; margin-top: 1px; }

/* Groups keep Chrome's tab group colours, as TabOverview draws them. */
.share-group { margin-top: 40px; --g: #5f6368; }
.share-group[data-color="blue"] { --g: #1a73e8; }
.share-group[data-color="red"] { --g: #d93025; }
.share-group[data-color="yellow"] { --g: #f9ab00; }
.share-group[data-color="green"] { --g: #188038; }
.share-group[data-color="pink"] { --g: #d01884; }
.share-group[data-color="purple"] { --g: #a142f4; }
.share-group[data-color="cyan"] { --g: #007b83; }
.share-group[data-color="orange"] { --g: #e8710a; }
.share-group h2 { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 650; letter-spacing: .01em; color: var(--ink); }
.share-group h2 i { flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--g); }
.share-group h2 .share-name { min-width: 0; overflow-wrap: anywhere; }
.share-group h2 .share-count { color: var(--ink-3); font-weight: 500; }
.share-group ol { margin-top: 10px; border-radius: 18px; background: #fff; box-shadow: var(--shadow-soft); overflow: hidden; }
.share-group > ol:first-child { margin-top: 0; }
.share-group li + li { border-top: 1px solid var(--hairline); }
.share-group a { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 12px 16px; text-decoration: none; }
.share-group a:hover { background: var(--hover); }
.share-group a:focus-visible { outline-offset: -3px; border-radius: 14px; }
.share-mono { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; font-weight: 700; font-size: 16px; color: #fff; background: hsl(var(--h, 210) 52% 46%); }
.share-t { min-width: 0; }
.share-t b { display: block; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.share-t small { display: block; font-size: 14px; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.share-go { color: var(--ink-3); font-size: 18px; }

.share-cta { margin-top: 48px; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px 26px; border-radius: 22px; background: var(--ink); color: #fff; }
.share-cta h3 { font-size: 21px; font-weight: 700; letter-spacing: -.015em; }
.share-cta p { margin-top: 6px; color: rgb(255 255 255 / .74); font-size: 15px; line-height: 1.45; max-width: 30em; }
.share-cta-btn { height: 48px; padding: 0 20px; border-radius: 15px; background: #fff; color: var(--ink); font-size: 15px; }
.share-cta-btn:hover { background: #eef0f6; }
.share-foot { margin-top: 22px; font-size: 13px; color: var(--ink-3); text-align: center; text-wrap: balance; }
.share-foot a { color: inherit; }
.share-main.is-problem .share-foot { margin-top: 48px; }

/* Where TabOverview is missing, on a computer: the line above the install button says what the extension is (the Chrome Web Store's
   rule, README "When the store listing exists"). It sits above the button without taking any room in the row, so Try again and
   Copy links stay beside the button; the row makes space for it. */
.share-getcol { position: relative; display: flex; flex-direction: column; align-items: flex-start; }
.share-micro { position: absolute; left: 2px; bottom: calc(100% + 8px); width: max-content; max-width: calc(100vw - 2 * var(--gutter)); margin: 0; font-size: 15.5px; line-height: 1.3; font-weight: 500; color: var(--ink); text-wrap: balance; }
@media (min-width: 641px) { .share-actions:has(.share-getcol:not([hidden])) { margin-top: 52px; } }

/* "Want this on your computer?": on a phone only, where Open all and Join can't work. Approved in
   design/round32/options/web (first-1-phone.png). */
.share-card { display: none; margin-top: 22px; padding: 22px 20px 20px; border-radius: 22px; background: #fff; box-shadow: var(--shadow-soft); }
.share-why-then { display: block; }
.share-card h2 { text-align: left; font-size: 21px; font-weight: 700; letter-spacing: -.02em; line-height: 1.18; }
.share-card p { text-align: left; margin-top: 7px; font-size: 15.5px; line-height: 1.45; color: var(--ink-2); text-wrap: pretty; }
.share-card .btn, .share-card .share-soft { width: 100%; justify-content: center; }
.share-card .btn { margin-top: 18px; }
.share-card .share-soft { margin-top: 10px; }
.share-foot a { display: inline-block; padding: 6px 2px; }

/* On a phone there is no TabOverview, so Copy links leads and the card says what to do next. */
@media (max-width: 640px) {
  .share [data-computer] { display: none !important; }
  .share-main { padding-top: 32px; }
  .share-get { display: none; }
  .share-actions > * { flex: 1 1 auto; justify-content: center; }
  .share-copy { background: var(--ink); color: #fff; }
  .share-copy:hover { background: #1b2146; }
  .share-card { display: block; }
  .share-cta { flex-direction: column; align-items: stretch; text-align: left; }
  .share-cta-btn { justify-content: center; }
}
@media (prefers-reduced-motion: reduce) { .share-soft, .share-copy { transition: none; } }
