/* =====================================================================================================================================
   SÜTI-ABLAK (v174, Richárd 2026-11-05: az öt tervből az Iránytű a végleges). A szerkezet az ő 2026-10-20-i döntése: cím, EGY bekezdés, két egyenrangú gomb, alatta a „Részletes
   beállítások”; a részletes nézetben kategóriák és egyetlen mentő gomb. A szöveg a jogi minimum, szó szerint az élő honlapé (SiteLabels), adatkezelési link SEHOL.
   Nézetek: data-nezet="elso" | "resz" | "ujra" (a lábléc linkjéről, mentett döntéssel, ✕-szel). A négy elvetett terv és a tervek lapja: elvetett/suti-v173/.
   ===================================================================================================================================== */
#suti { --st-v: cubic-bezier(.22, 1, .36, 1); --st-sz: cubic-bezier(.37, 0, .63, 1); }
#suti .st-card { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); width: min(960px, 100%); overflow: hidden; color: var(--text); outline: 0; }
#suti .st-tor { position: relative; display: flex; flex-direction: column; justify-content: center; max-height: inherit; padding: clamp(28px, 3vw, 44px); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: none; -ms-overflow-style: none; }
#suti .st-tor::-webkit-scrollbar { display: none; width: 0; height: 0; }
/* a részletes nézetben a kategóriák görögnek, a mentő gomb mindig látszik */
#suti:not([data-nezet="elso"]) .st-tor { overflow: hidden; }
#suti:not([data-nezet="elso"]) .st-re { flex: 0 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: none; -ms-overflow-style: none; }
#suti .st-re::-webkit-scrollbar { display: none; width: 0; height: 0; }
#suti .st-tor > * { flex: none; }
#suti:not([data-nezet="elso"]) .st-tor > .st-re { flex: 0 1 auto; }
/* ha egy alacsony képernyőn mégis görget: lágy elhalványulás a sáv helyett */
#suti :is(.st-tor, .st-re).fb { -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - 46px), transparent); mask-image: linear-gradient(to bottom, #000 calc(100% - 46px), transparent); }
#suti :is(.st-tor, .st-re).ft { -webkit-mask-image: linear-gradient(to top, #000 calc(100% - 46px), transparent); mask-image: linear-gradient(to top, #000 calc(100% - 46px), transparent); }
#suti :is(.st-tor, .st-re).ft.fb { -webkit-mask-image: linear-gradient(to bottom, transparent, #000 46px, #000 calc(100% - 46px), transparent); mask-image: linear-gradient(to bottom, transparent, #000 46px, #000 calc(100% - 46px), transparent); }

/* mi látszik melyik nézetben */
#suti .cb-x, #suti .st-vissza { display: none; }
#suti[data-nezet="ujra"] .cb-x { display: grid; }
#suti[data-nezet="resz"] .st-vissza { display: inline-flex; }
#suti[data-nezet="elso"] .st-re, #suti:not([data-nezet="elso"]) .st-el, #suti:not([data-nezet="elso"]) .st-tovabb, #suti:not([data-nezet="elso"]) [data-st="mind"] { display: none; }

/* az iránytű: a tű a döntést követi (suti.js) */
#suti .st-dsz { display: grid; place-items: center; min-height: 460px; padding: 34px; background: #f5f5f5; }
#suti .st-rozsa.om-rose { position: relative; left: auto; top: auto; width: min(100%, 290px); transform: none; cursor: default; touch-action: auto; pointer-events: none; }
#suti .st-rozsa .ro-nd { transform-origin: 0 0; transition: transform 1.5s var(--st-v); }

/* szöveg */
#suti .cb-title { padding-right: 0; }
#suti[data-nezet="ujra"] .cb-title { padding-right: 36px; }
#suti .st-lead { margin: 12px 0 0; font-size: var(--fs-kis); line-height: 1.6; color: var(--muted); }
#suti .st-sub { margin: 8px 0 0; font-size: var(--fs-kis); line-height: 1.55; color: var(--muted); }
#suti .st-mod { margin: 12px 0 0; font-size: var(--fs-apro); line-height: 1.5; color: var(--muted); }

/* kategóriák: ikon, név és magyarázat, kapcsoló */
#suti .st-l { margin: 14px 0 0; padding: 0; list-style: none; }
#suti .st-l li { display: flex; align-items: flex-start; justify-content: flex-start; gap: 14px; padding: 13px 0; border-top: 1px solid rgba(0,0,0,.1); }
#suti .st-l li::before { content: ''; flex: none; width: 36px; height: 36px; border-radius: 50%; background: #fff var(--st-i) center / 18px no-repeat; box-shadow: inset 0 0 0 1px rgba(0,110,199,.24); }
#suti .st-l li.st-negy { display: none; }
#suti[data-negy] .st-l li.st-negy { display: flex; }
#suti .st-l li:has(.st-mindig) { --st-i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238f6a43' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='10.5' width='14' height='9.5' rx='2.2'/%3E%3Cpath d='M8.2 10.5V7.8a3.8 3.8 0 0 1 7.6 0v2.7'/%3E%3C/svg%3E"); }
#suti .st-l li:has(#st-basic) { --st-i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238f6a43' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8.5' r='3.4'/%3E%3Cpath d='M5.5 19.5a6.5 6.5 0 0 1 13 0'/%3E%3C/svg%3E"); }
#suti .st-l li:has(#st-ads) { --st-i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238f6a43' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4.5 19.5h15M7.5 16.5v-5M12 16.5V7.5M16.5 16.5v-7'/%3E%3C/svg%3E"); }
#suti .st-l li:has(#st-kulso) { --st-i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238f6a43' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s-6.5-6.2-6.5-11a6.5 6.5 0 0 1 13 0c0 4.8-6.5 11-6.5 11z'/%3E%3Ccircle cx='12' cy='10' r='2.3'/%3E%3C/svg%3E"); }
#suti .st-l label, #suti .st-sz { flex: 1; min-width: 0; }
#suti .st-l label { cursor: pointer; }
#suti .st-l b { display: block; font: 500 var(--fs-kis)/1.35 var(--font-display); color: var(--text); }
#suti .st-l small { display: block; margin-top: 3px; font-size: var(--fs-apro); line-height: 1.45; color: var(--muted); }
#suti .st-mindig { flex: none; align-self: center; font: 600 var(--fs-cimke) var(--font-display); letter-spacing: var(--ls-cimke); text-transform: uppercase; color: var(--bronze-deep); }
#suti .st-sw { flex: none; align-self: center; position: relative; width: 48px; height: 28px; margin: 0; border-radius: 999px; background: rgba(0,0,0,.18); -webkit-appearance: none; appearance: none; cursor: pointer; transition: background .6s var(--st-sz); }
#suti .st-sw::after { content: ''; position: absolute; left: 3px; top: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 1px 4px rgba(0,0,0,.25); transition: transform .6s var(--st-v); }
#suti .st-sw:checked { background: #000000; }
#suti .st-sw:checked::after { transform: translateX(20px); }
#suti .st-sw:focus-visible { outline: 2px solid #006EC7; outline-offset: 2px; }

/* a két gomb egyforma méretű: egyik sem lehet kevésbé látható a másiknál */
#suti .st-g { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 22px; }
#suti:not([data-nezet="elso"]) .st-g { grid-template-columns: minmax(0, 1fr); margin-top: 16px; }
#suti .st-g > button { width: 100%; min-width: 0; padding: 0 8px; }
#suti .st-tovabb { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 40px; margin: 8px 0 -6px; padding: 0; border: 0; background: none; font: 500 var(--fs-apro)/1 var(--font-body); color: var(--text); cursor: pointer; }
#suti .st-tovabb .ico { flex: none; width: 16px; height: 16px; color: var(--bronze-deep); }
#suti .st-vissza { align-self: flex-start; align-items: center; gap: 6px; min-height: 36px; margin: -8px 0 6px -3px; padding: 0 3px; border: 0; background: none; font: 600 var(--fs-cimke)/1 var(--font-display); letter-spacing: var(--ls-cimke); text-transform: uppercase; color: #4a4a4a; cursor: pointer; }
#suti .st-vissza .ico { flex: none; width: 15px; height: 15px; }
#suti .st-tovabb:focus-visible, #suti .st-vissza:focus-visible { outline: 2px solid #006EC7; outline-offset: 2px; border-radius: 6px; }
@media (hover: hover) and (pointer: fine) and (min-width: 861px) {
  #suti .st-tovabb:hover .hv-l, #suti .st-vissza:hover .hv-l { background-size: 100% 1px; background-position: left bottom; color: var(--bronze-deep); }
  #suti .st-sw:not(:checked):hover { background: rgba(0,0,0,.32); }
  #suti .st-sw:checked:hover { background: #333333; }
  #suti .st-l label:hover b { color: var(--bronze-deep); }
  #suti .st-l label b { transition: color .6s var(--st-sz); }
}

/* ─────────────────────────── alacsony laptop: mindennek el kell férnie ─────────────────────────── */
@media (min-width: 901px) and (max-height: 760px) {
  #suti .st-l li { padding-top: 10px; padding-bottom: 10px; }
  #suti .st-sub { display: none; }
  #suti .st-mod { margin-top: 8px; }
  #suti .st-l { margin-top: 10px; }
  #suti:not([data-nezet="elso"]) .st-tor { padding-top: 22px; padding-bottom: 22px; }
  #suti .st-dsz { min-height: 0; }
}
@media (min-width: 901px) and (max-height: 860px) {
  #suti[data-negy] .st-sub { display: none; }
  #suti[data-negy] .st-l { margin-top: 10px; }
  #suti[data-negy] .st-l li { padding-top: 10px; padding-bottom: 10px; }
}
/* alacsony, fekvő képernyő: a dísz nem vehet el helyet a választástól */
@media (max-height: 560px) { #suti .st-card { display: block; width: min(600px, 100%); } #suti .st-dsz { display: none !important; } }

/* ─────────────────────────── táblagép ─────────────────────────── */
@media (max-width: 900px) {
  #suti .st-card { display: block; width: min(560px, 100%); }
  #suti .st-dsz { min-height: 0; padding: 26px 0 0; background: #fff; }
  #suti .st-rozsa.om-rose { width: 132px; }
  #suti:not([data-nezet="elso"]) .st-dsz { display: none; }
  #suti[data-nezet="elso"] .st-tor { padding-top: 16px; text-align: center; }
}

/* ─────────────────────────── telefon: külön terv ─────────────────────────── */
@media (max-width: 560px) {
  #suti .st-card { width: 100%; }
  #suti .st-tor { padding: 22px 20px calc(18px + env(safe-area-inset-bottom)); }
  #suti[data-nezet="elso"] .st-tor { padding-top: 14px; }
  #suti .st-g { grid-template-columns: minmax(0, 1fr); gap: 8px; margin-top: 18px; }
  #suti [data-st="mind"] { order: -1; }
  #suti .st-tovabb { margin-top: 6px; }
  #suti .st-l li { gap: 14px; padding-top: 12px; padding-bottom: 12px; }
  /* a „Mindig aktív” a név sorába: a magyarázat kapja a teljes szélességet; az ikon telefonon a szöveg helyét venné el */
  #suti .st-l li:has(.st-mindig) { position: relative; display: block; }
  #suti .st-sz b { padding-right: 124px; }
  #suti .st-l .st-mindig { position: absolute; right: 0; top: 14px; }
  #suti .st-l li::before { display: none; }
  #suti .st-rozsa.om-rose { width: 104px; }
}

/* a csevegő a döntésig nem ugrik fel, a makett kapcsolói sem takarnak */
body.st-nyitva .ch-pill, body.st-nyitva .ch-teaser { opacity: 0; transform: translateY(12px) scale(.97); pointer-events: none; }
body.st-nyitva #mk-dock, body.st-proba #mk-dock { display: none; }

/* a döntés után: rövid visszajelzés, magától eltűnik */
.st-ok { position: fixed; z-index: 245; left: 24px; bottom: 24px; display: flex; align-items: flex-start; gap: 12px; width: min(460px, calc(100vw - 48px)); padding: 14px 20px 14px 14px; border-radius: 16px; background: #fff; color: var(--muted); box-shadow: 0 1px 2px rgba(0,0,0,.06), 0 24px 60px rgba(30,24,16,.2); font-size: var(--fs-apro); line-height: 1.5; opacity: 0; transform: translateY(14px); transition: opacity .6s cubic-bezier(.37, 0, .63, 1), transform .8s cubic-bezier(.22, 1, .36, 1); }
.st-ok[hidden] { display: none; }
.st-ok.on { opacity: 1; transform: none; }
.st-ok i { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: #000000; color: #fff; }
.st-ok .ico { width: 16px; height: 16px; }
.st-ok p { margin: 0; }
.st-ok b { display: block; font: 500 var(--fs-kis)/1.35 var(--font-display); color: var(--text); }
/* telefonon a csevegő gomb fölé: a jobb alsó sarok az övé */
@media (max-width: 760px) { .st-ok { left: 16px; right: 16px; bottom: calc(84px + env(safe-area-inset-bottom)); width: auto; } }

@media (prefers-reduced-motion: reduce) { #suti .st-sw, #suti .st-sw::after, #suti .st-rozsa .ro-nd, .st-ok { transition: none; } }
