/* =====================================================================
   Téli-Nyári – telepíthető app (docs/102-teli-nyari.md, „App értesítéssel”)
   Telepítés-ajánló kártya, offline szalag, push kapcsolók, leiratkozó lap.
   A teli-nyari.css tokenjeire épül (--ej, --grad, --vonal, --lassu, --rugo …).
   ===================================================================== */

/* ---------------------------------------------------------- offline szalag */
.tna-offline { display: flex; align-items: center; gap: 12px; width: calc(100% - 40px); max-width: 1280px; margin: 16px auto 0; padding: 12px 16px;
  border-radius: 16px; background: var(--ej, #070B19); color: #D9E0F0; font-size: 14px; line-height: 1.45; box-shadow: 0 18px 36px -24px rgba(7, 11, 25, .7) }
.tna-offline b { color: #fff; font-weight: 700 }
.tna-offline-pont { flex: 0 0 auto; width: 9px; height: 9px; border-radius: 50%; background: var(--sarga, #FFC23D); box-shadow: 0 0 0 4px rgba(255, 194, 61, .18) }
.tna-offline.vissza .tna-offline-pont { background: #2BD48E; box-shadow: 0 0 0 4px rgba(43, 212, 142, .2) }
.tna-offline-gomb { margin-left: auto; flex: 0 0 auto; height: 34px; padding: 0 14px; border: 0; border-radius: 999px; background: #fff; color: var(--ej, #070B19); font-weight: 700; font-size: 13.5px; cursor: pointer }
@media (max-width: 560px) { .tna-offline { width: calc(100% - 32px); font-size: 13.5px } }
/* offline: a kosar urlapjai pihennek (a mentett peldanyon nem lehet rendelni) */
.tn-offline main form button, .tn-offline main form input, .tn-offline main form select, .tn-offline .tn-ragad-kosar a[href*="penztar"],
.tn-offline main a[href$="/penztar"] { pointer-events: none; opacity: .45 }

/* ---------------------------------------------------------- telepites-ajanlo */
.tna-ajanlo { position: fixed; z-index: 90; right: 24px; bottom: 24px; width: 380px; max-width: calc(100vw - 24px); padding: 18px 18px 16px;
  border-radius: 22px; color: #fff; background: rgba(11, 16, 34, .94); border: 1px solid rgba(255, 255, 255, .1);
  -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .06) inset, 0 40px 80px -30px rgba(7, 11, 25, .75);
  opacity: 0; transform: translateY(18px) scale(.98); transition: opacity .45s var(--lassu), transform .6s var(--lassu); pointer-events: none }
.tna-ajanlo.lathato { opacity: 1; transform: none; pointer-events: auto }
.tna-aj-fej { display: grid; grid-template-columns: 44px 1fr 32px; gap: 14px; align-items: start }
.tna-aj-fej img { width: 44px; height: 44px; border-radius: 11px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .08), 0 8px 16px -8px rgba(0, 0, 0, .6) }
.tna-aj-fej b { display: block; font-family: var(--disp); font-weight: 700; font-size: 15.5px; letter-spacing: -.01em; margin: 1px 0 4px }
.tna-aj-fej span { display: block; color: #A9B4CF; font-size: 13.5px; line-height: 1.45 }
.tna-aj-x { width: 32px; height: 32px; margin: -4px -4px 0 0; display: grid; place-items: center; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .06); color: #A9B4CF; cursor: pointer; transition: background .2s, color .2s }
.tna-aj-x:hover { background: rgba(255, 255, 255, .12); color: #fff }
.tna-aj-x svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round }
.tna-aj-gombok { display: flex; gap: 8px; margin: 14px 0 0 58px }
.tna-aj-gombok .g-fo { background: #fff; color: var(--ej, #070B19); box-shadow: 0 10px 24px -12px rgba(0, 0, 0, .6) }
.tna-aj-gombok .g-fo::before { display: none }
.tna-aj-gombok .g-k { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .22) }
.tna-aj-gombok .g-k:hover { border-color: #fff }
.tna-aj-lepes { list-style: none; margin: 14px 0 0; padding: 12px 0 0; border-top: 1px solid rgba(255, 255, 255, .08); display: grid; gap: 9px; font-size: 13.5px; color: #D9E0F0 }
.tna-aj-lepes li { display: flex; align-items: center; gap: 10px; counter-increment: lepes }
.tna-aj-lepes b { color: #fff }
.tna-aj-ik { flex: 0 0 auto; width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: rgba(62, 197, 255, .14); color: var(--jeg, #3EC5FF) }
.tna-aj-ik svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round }
@media (max-width: 760px) {
  .tna-ajanlo { left: 12px; right: 12px; width: auto; max-width: none; bottom: calc(var(--msav-m, 0px) + env(safe-area-inset-bottom) + 12px) }
}
/* telepitett appban nincs ajanlo */
@media (max-width: 760px) { .tn-app-mod .tna-ajanlo { display: none } }

/* ---------------------------------------------------------- push kapcsolok */
.tna-ert { margin-top: 18px; padding: 20px; border-radius: 22px; background: #fff; border: 1px solid var(--vonal, #E4E8F2) }
.tnr-reszlet .tna-ert { margin-top: 18px; padding: 18px 0 0; border: 0; border-top: 1px solid var(--vonal, #E4E8F2); border-radius: 0 }
.tna-ert-fej { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 14px }
.tna-ert-fej h2 { font-size: 17px; letter-spacing: -.01em; margin: 2px 0 4px }
.tna-ert-fej p { margin: 0; color: var(--tinta-2, #4A5470); font-size: 13.5px; line-height: 1.45 }
.tna-harang { position: relative; flex: 0 0 auto; width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; color: #fff; background: var(--ej, #070B19); overflow: hidden }
.tna-harang::before { content: ""; position: absolute; inset: 0; background: var(--grad); opacity: .9 }
.tna-harang svg { position: relative; width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round }
.tna-ert[data-allapot="be"] .tna-harang svg { animation: tna-csenget 1.1s var(--rugo) 1 }
@keyframes tna-csenget { 0%, 100% { transform: rotate(0) } 20% { transform: rotate(14deg) } 40% { transform: rotate(-11deg) } 60% { transform: rotate(6deg) } 80% { transform: rotate(-3deg) } }

.tna-temak { list-style: none; margin: 0; padding: 0; border-radius: 16px; border: 1px solid var(--vonal, #E4E8F2); overflow: hidden }
.tna-temak li + li { border-top: 1px solid var(--vonal, #E4E8F2) }
.tna-tema { position: relative; display: grid; grid-template-columns: 34px 1fr 46px; gap: 12px; align-items: center; padding: 12px 14px; cursor: pointer; transition: background .2s }
.tna-tema:hover { background: #FAFBFE }
.tna-tema-ikon { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--hatter, #F4F6FB); color: var(--tinta, #0B1224) }
.tna-tema-ikon svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round }
.tna-tema-szoveg b { display: block; font-size: 14.5px; font-weight: 700; line-height: 1.3 }
.tna-tema-szoveg small { display: block; margin-top: 2px; color: var(--tinta-3, #8A93AB); font-size: 12.5px; line-height: 1.4 }
.tna-tema input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none }
.tna-kapcs { position: relative; width: 46px; height: 28px; border-radius: 999px; background: var(--vonal-e, #CCD3E2); transition: background .3s }
.tna-kapcs::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(118deg, #3EC5FF, #7B6CFF); opacity: 0; transition: opacity .3s }
.tna-kapcs::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff;
  box-shadow: 0 1px 2px rgba(11, 18, 36, .2), 0 3px 8px rgba(11, 18, 36, .14); transition: transform .45s var(--rugo) }
.tna-tema input:checked + .tna-kapcs::before { opacity: 1 }
.tna-tema input:checked + .tna-kapcs::after { transform: translateX(18px) }
.tna-tema input:focus-visible + .tna-kapcs { outline: 3px solid rgba(47, 107, 255, .55); outline-offset: 2px }
.tna-tema input:disabled + .tna-kapcs { opacity: .5 }
.tna-ert[data-allapot="ios"] .tna-tema { cursor: default }

.tna-indit { margin-top: 14px }
.tna-hozz { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 12px; padding: 10px 12px; border-radius: 12px; font-size: 12.5px; line-height: 1.45; color: var(--tinta-2, #4A5470); cursor: pointer; transition: background .2s, box-shadow .2s }
.tna-hozz input { flex: 0 0 auto; width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--ibolya, #7B6CFF) }
.tna-hozz a { color: var(--kek, #2F6BFF); text-decoration: underline; text-underline-offset: 2px }
.tna-hozz.hiba { background: #FFF1F0; box-shadow: 0 0 0 1px rgba(229, 55, 43, .35) inset }
.tna-uzenet { margin: 10px 0 0; min-height: 0; font-size: 13px; font-weight: 600; color: var(--zold, #10A36B) }
.tna-uzenet:empty { display: none }
.tna-uzenet.hiba { color: var(--piros, #E5372B) }
.tna-le { margin-top: 10px; padding: 0; border: 0; background: none; color: var(--tinta-3, #8A93AB); font-size: 12.5px; font-weight: 600; text-decoration: underline; text-underline-offset: 2px; cursor: pointer }
.tna-le:hover { color: var(--tinta, #0B1224) }
.tna-ios { margin-top: 14px; padding: 14px; border-radius: 14px; background: var(--hatter, #F4F6FB); font-size: 13.5px }
.tna-ios ol { margin: 8px 0 0; padding-left: 20px; display: grid; gap: 5px; color: var(--tinta-2, #4A5470) }
.tna-megoszt { display: inline-grid; place-items: center; width: 24px; height: 24px; margin: 0 2px; vertical-align: -6px; border-radius: 7px; background: #fff; color: var(--kek, #2F6BFF); box-shadow: 0 0 0 1px var(--vonal, #E4E8F2) }
.tna-megoszt svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round }

/* ---------------------------------------------------------- leiratkozo lap */
.tna-lap { padding-top: clamp(40px, 8vw, 96px); padding-bottom: clamp(40px, 8vw, 96px) }
.tna-lap-kartya { max-width: 560px; margin: 0 auto; padding: clamp(24px, 4vw, 40px); background: #fff; border: 1px solid var(--vonal, #E4E8F2); border-radius: 26px; box-shadow: var(--arny-e) }
.tna-lap-kartya h1 { font-size: clamp(26px, 4vw, 34px); margin-bottom: 12px }
.tna-lap-kartya p { color: var(--tinta-2, #4A5470); margin-bottom: 22px }

@media (prefers-reduced-motion: reduce) {
  .tna-ajanlo, .tna-kapcs, .tna-kapcs::before, .tna-kapcs::after { transition: none }
  .tna-ajanlo { transform: none }
  .tna-ert[data-allapot="be"] .tna-harang svg { animation: none }
}
