/* "My year in one lap": only what home.css doesn't already have. Colours and type come from home.css. */
[hidden] { display: none !important; }
.lap-hero { padding: 40px 0 72px; }
.lap-hero .lead { max-width: 680px; }
.plain { padding: 72px 0; border-top: 1px solid var(--line); }
.panel-card { display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; justify-content: space-between; margin: 28px 0 0; padding: 22px 26px; border: 1px solid var(--line); border-radius: 18px; background: var(--card); }
.panel-card p { margin: 0; flex: 1 1 320px; color: var(--muted); }
.panel-card b { color: var(--ink); }
.panel-card.next { border-color: rgba(43,199,147,.4); margin: 28px 0 56px; }
.qr { display: flex; align-items: center; gap: 12px; font-size: .85rem; color: var(--muted); max-width: 200px; }
.qr svg { width: 92px; height: 92px; flex: none; border-radius: 6px; }
.langline { flex: 1 1 100%; color: var(--muted); font-size: .95rem; }
.langline[dir="rtl"] { text-align: right; }
.panel-card.next + .route { margin: -40px 0 56px; } /* iPhone card under the finished lap */
.btn.go { background: var(--green); border-color: var(--green); color: #04130E; text-decoration: none; display: inline-block; }
a.btn { text-decoration: none; }
.drop { display: grid; justify-items: center; gap: 6px; margin: 28px 0 0; padding: 40px 24px; text-align: center; cursor: pointer; border: 1.5px dashed var(--line); border-radius: 26px; background: radial-gradient(120% 80% at 50% 0, #0F2A24, var(--card) 75%); transition: border-color .2s; }
.drop:hover, .drop.over { border-color: var(--green); }
.drop b { font: 700 20px var(--round); }
.drop span { color: var(--muted); font-size: 15px; }
.preview { display: flex; align-items: center; gap: 16px 22px; margin: 26px 0 0; }
.preview img { flex: none; width: 156px; height: 156px; border-radius: 18px; cursor: pointer; }
.preview p { margin: 0 0 10px; color: var(--muted); font-size: 15px; }
@media (min-width: 821px) { .preview img { width: 180px; height: 180px; } }
.getexport { max-width: 720px; margin: 14px auto 0; color: var(--muted); font-size: 14px; }
.getexport summary { text-align: center; cursor: pointer; font-weight: 600; padding: 6px 0; }
.getexport b { color: var(--ink); }
.options { display: flex; flex-wrap: wrap; gap: 16px 22px; align-items: end; margin: 32px 0 18px; }
.field { display: grid; gap: 6px; font-weight: 600; font-size: 14px; }
.num { width: 120px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); color: var(--ink); font: 700 17px var(--round); }
.check { display: flex; align-items: center; gap: 10px; padding-bottom: 12px; font-weight: 600; font-size: 14px; }
.check input { width: 18px; height: 18px; accent-color: var(--green); }
.zone { margin: 0; }
.media { display: grid; grid-template-columns: minmax(0, 420px) 1fr; gap: 24px; align-items: start; margin-top: 24px; }
canvas { width: 100%; height: auto; display: block; border-radius: 18px; background: #000; }
#square { display: none; } /* drawn only for "Save square image"; on screen it looked like a copy of the reel's last frame */
.btn:disabled { opacity: .45; cursor: default; pointer-events: none; }
.btns { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 0; }
.media .btns { display: grid; grid-template-columns: 1fr 1fr; max-width: 440px; margin-top: 0; } /* the reel's 4 buttons as an even 2x2 block */
.media .btns .btn { justify-self: stretch; text-align: center; padding-left: 10px; padding-right: 10px; }
.slides { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
.slides canvas { flex: 0 0 240px; width: 240px; scroll-snap-align: start; border-radius: 14px; }
.steps { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px 40px; margin: 28px 0; padding: 0; list-style: none; counter-reset: s; }
.steps li { counter-increment: s; position: relative; padding-left: 48px; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 32px; height: 32px; display: grid; place-items: center; border: 1px solid var(--green); border-radius: 50%; color: var(--green); font: 700 14px var(--round); }
.steps p { margin: 0; color: var(--muted); font-size: 15px; }
.steps p b { color: var(--ink); }
.dot { display: inline-block; width: 11px; height: 11px; margin-right: 5px; border-radius: 50%; vertical-align: -1px; }
.dot.in { background: var(--green); } .dot.lo { background: var(--cyan); } .dot.hi { background: var(--coral); }
.note a { color: var(--green); }
#faq .faq { padding: 8px 0 0; border-top: 0; } /* home.css spaces .faq as a whole section; here it sits inside one */
@media (max-width: 820px) {
  .media, .steps { grid-template-columns: 1fr; }
  .lap-hero { padding: 24px 0 56px; }
}
