/* Tool pages, polish (24 Nov, evening). Loaded after air.css on every /tools/<effect>/ page; the script is /tools-polish.js.
   - the first screen says less: no line under the title, the small facts sit at the bottom right, 16 px from the edges
   - the label with arrows on the picture keeps one width, so the arrows stay where they are
   - "Put it on your site": the steps on a rail, the one being read lit, file names as chips */
html body.ds .pp--t2 .pp__intro .pp__lead { display: none !important; }
html body.ds .pp--t2 .pp__intro { position: relative; }
html body.ds .pp--t2 .pp__intro .pp__h .h-mute { display: block; }
html body.ds .pp--t2 .pp__intro .pp__facts { position: absolute; right: var(--tp-r, 0px); bottom: var(--tp-b, 16px); margin: 0 !important; justify-content: flex-end; flex-wrap: wrap; gap: 4px 20px; }
@media (max-width: 999px) { html body.ds .pp--t2 .pp__intro .pp__facts { position: static; justify-content: center; margin-top: 24px !important; } }

html body.ds .pp--t2 .pp__tag b[data-tag] { display: inline-block; min-width: var(--tag-w, 0px); white-space: nowrap; text-align: left; }

html body.ds .pp--t2 .tin__tabs { gap: 8px; margin-top: 32px; }
html body.ds .pp--t2 .tin__t { height: 40px; padding: 0 16px; font-size: 16px; line-height: 24px; letter-spacing: -.01em; transition: background-color .25s, color .25s, scale .3s cubic-bezier(.2, .8, .2, 1); }
html body.ds .pp--t2 .tin__t:active { scale: .97; }
html body.ds .pp--t2 .tin__t:focus { outline: none; }
html body.ds .pp--t2 .tin__t:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
html body.ds .pp--t2 .tin__box { margin-top: 16px; padding: 8px; border-radius: 32px; background: #111112; box-shadow: inset 0 0 0 1px #ffffff14; overflow: hidden; }
html body.ds .pp--t2 .tin__c { height: 56px; padding: 0 24px; gap: 14px; border: 0; border-radius: 24px; background: #0a0a0b; box-shadow: inset 0 0 0 1px #ffffff12; font-size: 14px; line-height: 22px; letter-spacing: 0; color: #fff; scrollbar-width: none; }
html body.ds .pp--t2 .tin__c::-webkit-scrollbar { display: none; }
html body.ds .pp--t2 .tin__c::before { width: 34px; opacity: .8; }
html body.ds .pp--t2 .tin__p ol { position: relative; display: grid; gap: 0; margin: 0; padding: 32px 24px 24px; }
html body.ds .pp--t2 .tin__p li { position: relative; grid-template-columns: 40px minmax(0, 1fr); align-items: start; gap: 24px; padding: 0 0 28px; border: 0 !important; transition: opacity .4s ease; }
html body.ds .pp--t2 .tin__p li:last-child { padding-bottom: 0; }
html body.ds .pp--t2 .tin__p li::before { content: ""; position: absolute; left: 19px; top: 44px; bottom: 4px; width: 2px; border-radius: 2px; background: #ffffff14; }
html body.ds .pp--t2 .tin__p li:last-child::before { display: none; }
html body.ds .pp--t2 .tin__p li::after { content: ""; position: absolute; left: 19px; top: 44px; width: 2px; height: 0; border-radius: 2px; background: #fff; transition: height .5s cubic-bezier(.2, .8, .2, 1); }
html body.ds .pp--t2 .tin__p li.is-done::after { height: calc(100% - 48px); }
html body.ds .pp--t2 .tin__p li:last-child::after { display: none; }
html body.ds .pp--t2 .tin__p li > span { display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border-radius: 50%; background: #1b1b1c; box-shadow: inset 0 0 0 1px #ffffff1f; font: 700 14px/1 Doto, ui-monospace, monospace; color: #8d8d90; transition: background-color .4s, color .4s, box-shadow .4s; }
html body.ds .pp--t2 .tin__p li:is(.is-at, .is-done) > span { background: #fff; color: #0a0a0b; box-shadow: 0 0 24px #ffffff40; }
html body.ds .pp--t2 .tin__p li p { margin: 0; padding-top: 6px; font-size: 20px; line-height: 28px; letter-spacing: -.02em; color: #8d8d90; text-wrap: pretty; transition: color .4s; }
html body.ds .pp--t2 .tin__p li:is(.is-at, .is-done) p { color: #fff; }
html body.ds .pp--t2 .tin__p li b { display: inline-block; margin: 0 1px; padding: 0 8px; border-radius: 8px; background: #ffffff14; font: 400 14px/26px ui-monospace, "SF Mono", Menlo, monospace; letter-spacing: 0; color: #fff; vertical-align: 1px; }
@media (max-width: 799px) {
  html body.ds .pp--t2 .tin__box { border-radius: 24px; }
  html body.ds .pp--t2 .tin__c { height: 48px; padding: 0 16px; border-radius: 16px; }
  html body.ds .pp--t2 .tin__p ol { padding: 24px 12px 16px; }
  html body.ds .pp--t2 .tin__p li { gap: 16px; }
  html body.ds .pp--t2 .tin__p li p { font-size: 16px; line-height: 24px; padding-top: 8px; }
  html body.ds .pp--t2 .tin__t { height: 44px; }
}
@media (prefers-reduced-motion: reduce) { html body.ds .pp--t2 .tin__p li, html body.ds .pp--t2 .tin__p li * { transition: none !important; } html body.ds .pp--t2 .tin__p li p { color: #fff; } }
