/* Claude 389: svetainės kortelės 07 ekranėlis. Spalvos ir forma — itmintis svetainės (#1E1E1E, #FEFEFE, #F386A1),
   šriftas — IBM Plex Mono (OFL, /fonts; Claude 392: visas tekstas, kaip Telegram Mini App). Ekranėlio dydį nustato svetainė (iframe); netelpa — slenka viduje. */
@font-face {
  font-family: "IBM Plex Mono";
  src: url("/fonts/ibm-plex-mono-400-latin-ext.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("/fonts/ibm-plex-mono-400-latin.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("/fonts/ibm-plex-mono-600-latin-ext.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("/fonts/ibm-plex-mono-600-latin.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
:root { --tamsi: #1E1E1E; --balta: #FEFEFE; --pilka: #E5E5E5; --rozine: #F386A1; --rozine-sviesi: #FDE3EB; --pilkas-tekstas: #4F4F4F; }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; height: 100%; }
body { background: var(--balta); color: var(--tamsi); font: 400 15px/1.35 "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;
  -webkit-font-smoothing: antialiased; overflow-y: auto; overflow-x: hidden; overscroll-behavior: contain; }
main { padding: 8px 12px; }
section { display: flex; flex-direction: column; gap: 6px; }
p { margin: 0; }
.mono { letter-spacing: .02em; }
.virsus { font-size: 11.5px; text-transform: uppercase; color: var(--pilkas-tekstas); }
.mazas { font-size: 12px; color: var(--pilkas-tekstas); }
.nematomas { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
:focus-visible { outline: 3px solid var(--tamsi); outline-offset: 2px; }

.mygtukas { position: relative; display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 0 12px;
  border: 2px solid var(--tamsi); border-radius: 8px; background: var(--balta); color: var(--tamsi);
  font-family: inherit; font-weight: 600; font-size: 15px; line-height: 1.2; text-decoration: none; text-align: center; cursor: pointer; box-shadow: 3px 3px 0 var(--tamsi); }
.mygtukas:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--tamsi); }
.mygtukas.pagr { background: var(--rozine); }
label.mygtukas:focus-within { outline: 3px solid var(--tamsi); outline-offset: 2px; }

.pavyzdziai { display: flex; align-items: center; gap: 8px; }
.pavyzdziai .mazas { flex: 1; min-width: 0; }
.pavyzdziai button { flex: none; width: 52px; height: 52px; padding: 0; border: 2px solid var(--tamsi); border-radius: 6px; overflow: hidden;
  background: var(--pilka); cursor: pointer; }
.pavyzdziai img { display: block; width: 100%; height: 100%; object-fit: cover; }
.liko { font-size: 11.5px; color: var(--pilkas-tekstas); }
.saltiniai { font-size: 11px; color: var(--pilkas-tekstas); }
.saltiniai a { color: inherit; }

#vertinu { align-items: center; text-align: center; padding-top: 6px; }
.perziura { max-width: 100%; height: 110px; object-fit: cover; border: 2px solid var(--tamsi); border-radius: 6px; }
.sukasi { display: inline-block; width: 14px; height: 14px; border: 2px solid var(--tamsi); border-right-color: transparent; border-radius: 50%;
  vertical-align: -2px; animation: sukasi .8s linear infinite; }
@keyframes sukasi { to { transform: rotate(360deg); } }

#skaiciai { display: flex; flex-direction: column; gap: 2px; }
.patiekalas { font-weight: 600; font-size: 15px; line-height: 1.25; }
.kcal { font-size: 15px; } .kcal b { font-size: 24px; letter-spacing: -.02em; }
.bra { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin: 4px 0 0; }
.bra > div { border: 2px solid var(--tamsi); border-radius: 6px; padding: 2px 6px; background: var(--rozine-sviesi); min-width: 0; }
.bra dt { font-size: 11px; color: var(--pilkas-tekstas); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bra dd { margin: 0; font-size: 13px; } .bra dd b { font-size: 15px; }
.pranesimas { font-weight: 600; }
.veiksmai { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.veiksmai .mygtukas { min-height: 38px; padding: 0 6px; font-size: 14px; }
@media (max-width: 290px) { .veiksmai .mygtukas { font-size: 13px; padding: 0 4px; } }
#baigta { padding-top: 18px; align-items: stretch; text-align: center; }
#baigta .patiekalas { font-size: 20px; margin-bottom: 8px; }

@media (prefers-reduced-motion: reduce) { .sukasi { animation: none; } .mygtukas:active { transform: none; } }
