/* Cena cesty za palivo – "výdajný stojan": petrolejovo-zelený stojan so žltou korunou a podsvieteným displejom
   (čísla nabiehajú ako pri tankovaní), hadica k autu s cestujúcimi v oknách. Vstupy ako tlačidlá na stojane. */
:root{--fc-teal:#0f5f66;--fc-teal2:#0a474d;--fc-yel:#ffc928;--fc-lcd:#e4eef0;--fc-lcdink:#0e1a1c;--fc-ghost:rgba(14,26,28,.07);--fc-car:#e85d3f;--fc-glass:#bfe3ef;--fc-road:#9aa5a8;--fc-skin:#f2c9a5}
@media(prefers-color-scheme:dark){:root{--fc-teal:#137780;--fc-teal2:#0c565d;--fc-yel:#ffd34d;--fc-lcd:#c8dde0;--fc-ghost:rgba(14,26,28,.1);--fc-car:#f07a5c;--fc-glass:#5d8a99;--fc-road:#5b666a;--fc-skin:#d9ac88}}

.cform[data-tool="fuel-cost"]{border-top:8px solid var(--fc-yel);background:linear-gradient(180deg,color-mix(in srgb,var(--fc-teal) 9%,var(--card)),var(--card) 60%)}
.cform[data-tool="fuel-cost"] .fields{grid-template-columns:repeat(3,minmax(0,1fr))}
.cform[data-tool="fuel-cost"] .field label{font-weight:800;color:var(--fc-teal)}
@media(prefers-color-scheme:dark){.cform[data-tool="fuel-cost"] .field label{color:#7fd6dd}}
.cform[data-tool="fuel-cost"] .field:nth-child(-n+3){padding:.7rem .8rem;border-radius:12px;background:var(--fc-teal)}
.cform[data-tool="fuel-cost"] .field:nth-child(-n+3) label{color:#fff}
.cform[data-tool="fuel-cost"] .field:nth-child(-n+3) input{font:800 1.3rem/1.2 ui-monospace,Consolas,monospace;background:var(--fc-lcd);color:var(--fc-lcdink);border-color:var(--fc-teal2)}
.cform[data-tool="fuel-cost"] .field:nth-child(-n+3) .unit{background:var(--fc-yel);color:#1d1600;border-color:var(--fc-yel);font-weight:800}
.cform[data-tool="fuel-cost"] .field input:focus{outline:0;box-shadow:0 0 0 3px color-mix(in srgb,var(--fc-yel) 60%,transparent)}
.cform[data-tool="fuel-cost"] .segs button[aria-pressed="true"]{background:var(--fc-teal);color:#fff;border-color:var(--fc-teal)}
.cform[data-tool="fuel-cost"] .field-range{accent-color:var(--fc-yel)}
@media(max-width:700px){.cform[data-tool="fuel-cost"] .fields{grid-template-columns:1fr 1fr}.cform[data-tool="fuel-cost"] .field:first-child{grid-column:1/-1}}
@media(max-width:420px){.cform[data-tool="fuel-cost"] .fields{grid-template-columns:1fr}}

.cform[data-tool="fuel-cost"]~.cres{border-top:6px solid var(--fc-teal)}
.cform[data-tool="fuel-cost"]~.cres.is-empty{border-top-color:var(--line)}
.cform[data-tool="fuel-cost"]~.cres dl#out{display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:.7rem}
.cform[data-tool="fuel-cost"]~.cres #out .tile{border-radius:10px;border:0;border-left:6px solid var(--fc-yel);background:color-mix(in srgb,var(--fc-teal) 8%,var(--card))}
.cform[data-tool="fuel-cost"]~.cres #out .tile:first-child{background:var(--fc-teal);border-left-color:var(--fc-yel)}
.cform[data-tool="fuel-cost"]~.cres #out .tile:first-child dt{color:#d7eef0}
.cform[data-tool="fuel-cost"]~.cres #out .tile:first-child dd{color:#fff;-webkit-text-fill-color:#fff;font-size:clamp(1.6rem,5vw,2.1rem)}
.cform[data-tool="fuel-cost"]~.cres #out .tile dd{font-family:ui-monospace,Consolas,monospace;font-weight:800;background:none;-webkit-text-fill-color:currentColor}
@media(max-width:560px){.cform[data-tool="fuel-cost"]~.cres dl#out{grid-template-columns:1fr 1fr}.cform[data-tool="fuel-cost"]~.cres #out .tile:first-child{grid-column:1/-1}}

.fc-station{position:relative;display:flex;align-items:flex-end;gap:0;max-width:620px;margin:.6rem auto 1rem;transition:opacity .25s}
.fc-station .fc-pump{flex:0 1 255px;min-width:0;display:flex;flex-direction:column;border-radius:18px 18px 4px 4px;background:linear-gradient(90deg,var(--fc-teal2),var(--fc-teal) 30%,var(--fc-teal) 70%,var(--fc-teal2));padding:0 12px 10px;box-shadow:0 12px 20px -14px rgba(0,40,45,.7)}
.fc-station .fc-crown{display:flex;align-items:center;justify-content:center;gap:6px;margin:0 -12px 10px;padding:7px 10px;border-radius:18px 18px 0 0;background:var(--fc-yel);color:#1d1600;font:800 .82rem/1 system-ui,sans-serif;letter-spacing:.04em}
.fc-station .fc-drop{width:15px;height:15px;fill:var(--fc-teal)}
.fc-station .fc-screen{display:flex;flex-direction:column;gap:5px;padding:9px 10px;border-radius:8px;background:var(--fc-lcd);box-shadow:inset 0 0 0 3px #0b3438,inset 0 3px 10px rgba(0,0,0,.25)}
.fc-station .fc-row{display:grid;grid-template-columns:2.6rem 1fr auto;align-items:baseline;gap:6px;color:var(--fc-lcdink)}
.fc-station .fc-row small{font:800 .56rem/1.1 system-ui,sans-serif;letter-spacing:.1em;opacity:.75}
.fc-station .fc-row em{font:800 .75rem/1 system-ui,sans-serif;font-style:normal;opacity:.75}
.fc-station .fc-dig{position:relative;display:block;text-align:right;font:700 1.15rem/1.1 ui-monospace,Consolas,"Courier New",monospace;font-variant-numeric:tabular-nums;white-space:nowrap;min-width:0;overflow:hidden}
.fc-station .fc-dig i{position:absolute;right:0;top:0;font-style:normal;color:var(--fc-ghost)}
.fc-station .fc-dig b{position:relative;font-weight:800}
.fc-station .r-cost .fc-dig{font-size:clamp(1.3rem,5.2vw,1.75rem)}
.fc-station .r-cost{padding-bottom:5px;border-bottom:1px dashed rgba(14,26,28,.25)}
.fc-station .fc-extras{display:flex;flex-wrap:wrap;gap:4px;margin-top:8px}
.fc-station .fc-extras:empty{display:none}
.fc-station .fc-extras span{font:700 .68rem/1 system-ui,sans-serif;color:#1d1600;background:var(--fc-yel);border-radius:4px;padding:4px 6px}
.fc-station .fc-plinth{height:14px;margin:10px -12px -10px;border-radius:0 0 4px 4px;background:repeating-linear-gradient(-45deg,var(--fc-yel) 0 8px,#1d1d1d 8px 16px)}
.fc-station .fc-scene{flex:1 1 300px;min-width:0;display:flex;flex-direction:column;align-items:center}
.fc-station .fc-car{display:block;width:100%;height:auto;overflow:visible}
.fc-station .fc-hose{fill:none;stroke:#1f2a2c;stroke-width:5;stroke-linecap:round}
.fc-station .fc-nozzle{fill:#2b3538}
.fc-station .fc-body{fill:var(--fc-car)}
.fc-station .fc-glass{fill:var(--fc-glass)}
.fc-station .fc-head{fill:var(--fc-skin);stroke:rgba(0,0,0,.25);stroke-width:1}
.fc-station .fc-cap{fill:#2b3538}
.fc-station .fc-wheel circle{fill:#222a2c}
.fc-station .fc-wheel .fc-hub{fill:#c9d1d3}
.fc-station .fc-road{stroke:var(--fc-road);stroke-width:4;stroke-linecap:round}
.fc-station .fc-more{fill:var(--fc-car);font:800 14px system-ui,sans-serif}
.fc-station .fc-split{display:flex;align-items:baseline;gap:.5rem;margin-top:-.2rem;font:800 1.05rem/1.2 ui-monospace,Consolas,monospace;color:var(--fg)}
.fc-station .fc-div{color:var(--mut);font-size:.9rem}
.fc-station .fc-ex{position:absolute;top:-.5rem;right:0;z-index:2;font:700 .7rem/1 system-ui,sans-serif;color:var(--mut);background:var(--card);border:1px solid var(--line);padding:3px 9px;border-radius:999px;opacity:0;transition:opacity .2s}
.fc-station.is-example{opacity:.55}
.fc-station.is-example .fc-ex{opacity:1}
@media(max-width:520px){
  .fc-station{flex-direction:column;align-items:stretch}
  .fc-station .fc-pump{flex:none;width:100%;max-width:300px;margin:0 auto}
  .fc-station .fc-scene{flex:none;width:100%;max-width:300px;margin:-4px auto 0}
  .fc-station .fc-hose,.fc-station .fc-nozzle{display:none}
}
