/* kryptostart.pl – strona z poradami */
.tips-wrap { display: grid; grid-template-columns: 300px 1fr; gap: 40px; align-items: start; }
.toc { position: sticky; top: 16px; padding: 22px; display: grid; gap: 2px; font-size: 15.5px; }
.toc > b { font: 800 19px var(--display); margin-bottom: 8px; }
.toc-m { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 13.5px; color: var(--muted); margin-top: 10px; text-transform: uppercase; letter-spacing: .04em; }
.toc-m i { width: 10px; height: 10px; border-radius: 3px; }
.toc a { display: grid; grid-template-columns: 24px 1fr; gap: 6px; text-decoration: none; padding: 5px 6px; margin: 0 -6px; border-radius: 8px; line-height: 1.3; }
.toc a:hover { background: var(--sky); }
.toc a span { font: 800 14px var(--display); color: var(--muted); padding-top: 1px; }
.tips { display: grid; gap: 22px; min-width: 0; }
.mod-title { display: flex; align-items: center; gap: 12px; font-size: 26px; margin-top: 18px; }
.mod-title:first-child { margin-top: 0; }
.mod-title i { width: 18px; height: 18px; border-radius: 5px; }
.tip { padding: 30px; scroll-margin-top: 16px; }
.tip-h { display: flex; gap: 16px; align-items: center; }
.tip-n { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; font: 800 21px var(--display); color: var(--ink); flex: none; }
.tip-h small { display: block; color: var(--muted); font-weight: 600; font-size: 14px; }
.tip-h h3 { font-size: 25px; line-height: 1.12; }
.tip-b { margin-top: 18px; max-width: 46em; }
.tip-b p, .tip-b li { font-size: 17.5px; color: #2D3140; }
.tip-b p + p, .tip-b p + ul, .tip-b p + ol, .tip-b ul + p, .tip-b ol + p { margin-top: 12px; }
.tip-b ul, .tip-b ol { padding-left: 22px; display: grid; gap: 8px; }
.tip-b a { text-decoration: underline; text-underline-offset: 3px; font-weight: 600; }
.tip-rel { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.rel { display: inline-flex; align-items: center; gap: 8px; background: var(--ink); color: #fff; border-radius: 999px; padding: 10px 18px; font-weight: 700; font-size: 15.5px; text-decoration: none; }
.rel:hover { background: #2C3158; }
.rel svg path { stroke: #fff; }
.quiz { margin-top: 20px; background: var(--paper); border-radius: 16px; padding: 18px; }
.quiz > b { display: block; font-size: 17px; }
.opts { display: grid; gap: 8px; margin-top: 12px; }
.opt { background: #fff; border: 2px solid var(--line); border-radius: 12px; padding: 10px 14px; font: 400 16px var(--text); text-align: left; display: flex; justify-content: space-between; align-items: center; width: 100%; cursor: pointer; transition: border-color .15s; }
.opt:hover:not([disabled]) { border-color: var(--ink); }
.opt[disabled] { cursor: default; }
.opt.right { border-color: var(--teal); background: var(--green-t); font-weight: 600; }
.opt.wrong { border-color: var(--coral); background: var(--red-t); }
.opt em { font-style: normal; font-weight: 700; font-size: 14.5px; }
.opt.right em { color: var(--green-d); }
.opt.wrong em { color: var(--red-d); }
.tip-b .quiz-fb { margin-top: 12px; font-size: 15.5px; }
.quiz-fb:empty { display: none; }

@media (max-width: 980px) {
  .tips-wrap { grid-template-columns: 1fr; gap: 24px; }
  .toc { position: static; }
}
@media (max-width: 640px) {
  .tip { padding: 22px 18px; }
  .tip-h h3 { font-size: 21px; }
  .tip-n { width: 40px; height: 40px; font-size: 18px; }
  .tip-b p, .tip-b li { font-size: 16.5px; }
  .mod-title { font-size: 22px; }
}
