/* ״ננעלתי מחוץ לאפליקציה!״ — 17 Nov 2026: everything dark, bars over the screen, a padlock; the navy plaque and the ivory panel */
.lk-ov { position: fixed; inset: 0; z-index: 2147481000; direction: rtl; font-family: inherit; color: #3b2410; overflow: hidden; }
.lk-dark { position: absolute; inset: 0; background: rgba(8, 6, 16, .82); }
.lk-gate { position: absolute; inset: -2vh 0 0; background: url(assets/lock/gate-port.webp) center / 100% 100% no-repeat; filter: drop-shadow(0 18px 24px rgba(0, 0, 0, .6));
  animation: lk-slam .62s cubic-bezier(.55, 0, .9, .45) both; }
@media (orientation: landscape) { .lk-gate { background-image: url(assets/lock/gate-land.webp); } }
@keyframes lk-slam { 0% { transform: translateY(-105%); } 82% { transform: translateY(1.5%); } 90% { transform: translateY(-1%); } 100% { transform: none; } }
.lk-free .lk-gate { transition: transform .9s cubic-bezier(.5, 0, .3, 1); transform: translateY(-105%); animation: none; }
.lk-out { transition: opacity .55s ease .1s; opacity: 0; pointer-events: none; }
.lk-col { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: max(2vh, env(safe-area-inset-top, 0px)) 16px 2vh; box-sizing: border-box; overflow-y: auto; }
.lk-plaque { width: min(88vw, 640px); aspect-ratio: 1000 / 275; background: url(assets/lock/plaque.webp) center / 100% 100% no-repeat; display: grid; place-items: center; padding-top: 6%;
  box-sizing: border-box; animation: lk-drop .5s cubic-bezier(.2, 1.4, .4, 1) .55s both; filter: drop-shadow(0 10px 18px rgba(0, 0, 0, .55)); }
.lk-plaque h2 { margin: 0; padding: 0 9%; font-size: clamp(20px, 4.4vw, 36px); font-weight: 900; color: #f3c766; text-align: center; line-height: 1.1;
  text-shadow: 0 2px 0 #1a0f02, 0 0 14px rgba(240, 190, 90, .4); }
@keyframes lk-drop { from { transform: translateY(-60vh) rotate(-4deg); } }
.lk-lock { width: clamp(64px, 11vw, 110px); height: auto; margin: -1.2vh 0 -2.4vh; position: relative; z-index: 2; filter: drop-shadow(0 8px 12px rgba(0, 0, 0, .6));
  animation: lk-lockin .45s cubic-bezier(.2, 1.6, .4, 1) .6s both; transform-origin: 50% 0; }
@keyframes lk-lockin { from { transform: translateY(-30vh) scale(.6); opacity: 0; } }
.lk-lock.shake { animation: lk-shake .5s ease; }
@keyframes lk-shake { 20% { rotate: -12deg; } 40% { rotate: 10deg; } 60% { rotate: -7deg; } 80% { rotate: 4deg; } }
.lk-lock.opened { animation: lk-open .6s cubic-bezier(.2, 1.5, .4, 1); }
@keyframes lk-open { 30% { transform: scale(1.18) rotate(-6deg); } }
.lk-panel { width: min(92vw, 640px); box-sizing: border-box; border: 34px solid transparent; border-image: url(assets/lock/panel.webp) 90 fill / 34px stretch;
  padding: 8px 14px 4px; text-align: center; filter: drop-shadow(0 14px 26px rgba(0, 0, 0, .55)); animation: lk-drop .5s cubic-bezier(.2, 1.3, .4, 1) .7s both; }
.lk-panel:empty { visibility: hidden; }
.lk-panel p { margin: 0 0 10px; }
.lk-sub { font-size: clamp(16px, 2.6vw, 21px); font-weight: 800; color: #6b4316; }
.lk-said { font-size: clamp(20px, 3.4vw, 28px); font-weight: 700; line-height: 1.45; }
.lk-said bdi, .lk-rows bdi { font-family: ui-monospace, Menlo, Consolas, monospace; font-weight: 800; letter-spacing: .01em; color: #1b2440; background: rgba(27, 36, 64, .08); padding: 0 .25em; border-radius: 6px; }
.lk-n { font-size: clamp(15px, 2.2vw, 18px); font-weight: 800; color: #9a6a26; }
.lk-l { display: block; margin: 0 0 10px; font-size: clamp(22px, 3.6vw, 30px); font-weight: 900; }
.lk-in { display: block; width: 100%; box-sizing: border-box; margin: 0 0 14px; padding: 12px 14px; border-radius: 14px; border: 2px solid #c9932f; background: #fffdf6; color: #1b2440;
  font: 800 clamp(20px, 3.4vw, 28px)/1.2 ui-monospace, Menlo, Consolas, monospace; text-align: center; outline: none; box-shadow: inset 0 2px 4px rgba(80, 50, 20, .15); }
.lk-in:focus { border-color: #1b2440; box-shadow: 0 0 0 3px rgba(201, 147, 47, .35); }
.lk-go { position: relative; overflow: hidden; display: inline-block; margin: 4px auto 6px; border: 0; border-radius: 999px; padding: 12px 30px; background: linear-gradient(#1f2a4c, #0d1328); color: #f3c766;
  font: 900 clamp(18px, 2.8vw, 23px)/1.1 inherit; font-family: inherit; box-shadow: 0 0 0 2px #c9932f, 0 6px 14px rgba(0, 0, 0, .35); cursor: pointer; }
.lk-go:disabled { opacity: .45; cursor: default; }
.lk-timer i { position: absolute; left: 0; top: 0; bottom: 0; width: 100%; background: rgba(243, 199, 102, .18); transition: width .12s linear; }
.lk-timer span { position: relative; }
.lk-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 0 0 14px; }
.lk-chip { display: flex; flex-direction: column; align-items: center; gap: 4px; min-width: 96px; padding: 8px 10px; border-radius: 16px; border: 2px solid #d9b77a; background: #fffaf0; color: #3b2410; font: inherit; cursor: pointer; }
.lk-chip img { height: 54px; width: auto; max-width: 90px; object-fit: contain; }
.lk-chip b { font-size: clamp(16px, 2.6vw, 20px); }
.lk-chip.on { border-color: #1b2440; background: #1b2440; color: #f3c766; box-shadow: 0 0 0 3px rgba(201, 147, 47, .45); }
.lk-big { font-size: clamp(26px, 4.6vw, 40px); font-weight: 900; color: #3b2410; }
.lk-rows { display: grid; gap: 6px; margin: 0 0 12px; font-size: clamp(16px, 2.6vw, 21px); }
.lk-rows div { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 4px 10px; border-radius: 10px; background: rgba(255, 255, 255, .55); }
.lk-rows .ok span { color: #2f7a3e; font-weight: 800; } .lk-rows .no span { color: #a8243f; font-weight: 800; }
@media (orientation: landscape) and (max-height: 900px) {
  .lk-plaque { width: min(60vw, 560px); }
  .lk-said { font-size: clamp(18px, 2.4vw, 26px); }
}
@media (prefers-reduced-motion: reduce) { .lk-gate, .lk-plaque, .lk-lock, .lk-panel { animation: none; } }
.lk-rows b { color: #1b2440; font-weight: 800; }
.lk-first .lk-said { margin-bottom: 16px; }
/* 17 Nov 2026 (user): the title stays at the top; the padlock and the card are centred in the space below it */
.lk-col { justify-content: flex-start; }
.lk-col > .lk-lock { margin-top: auto; }
.lk-col > .lk-panel { margin-bottom: auto; }
