@font-face{ font-family:"Caveat"; src:url("/fonts/caveat-latin-600-normal.woff2") format("woff2"); font-weight:600; font-display:swap; }
@font-face{ font-family:"Caveat"; src:url("/fonts/caveat-latin-400-normal.woff2") format("woff2"); font-weight:400; font-display:swap; }

/* 1. Note du barista dans la marge */
.lk-note{ position:relative; display:inline-flex; align-items:flex-start; gap:6px; margin:6px 0 28px; transform:rotate(-2deg); font:600 1.45rem/1.15 "Caveat",cursive; color:#8A5420; text-decoration:none; max-width:300px; }
.lk-note svg{ flex:none; width:58px; height:42px; margin-top:4px; color:#8A5420; }
.lk-note u{ text-decoration:none; background:linear-gradient(transparent 62%, rgba(200,135,58,.28) 62%); }
.lk-note:hover u{ background:linear-gradient(transparent 55%, rgba(200,135,58,.45) 55%); }
@media (min-width:1660px){ .lk-note-wrap{ position:relative; height:0; } .lk-note{ position:absolute; right:-250px; top:-150px; width:220px; margin:0; } }
@media (prefers-color-scheme:dark){ :root:not([data-theme="light"]) .lk-note, :root:not([data-theme="light"]) .lk-note svg{ color:#E2A766; } }
:root[data-theme="dark"] .lk-note, :root[data-theme="dark"] .lk-note svg{ color:#E2A766; }

/* 3. Le comptoir */
.lk-comptoir{ position:relative; max-width:1180px; margin:0 auto; padding:40px 24px 0; }
.lk-comptoir .cpt-row{ display:flex; justify-content:center; align-items:flex-end; gap:clamp(18px,6vw,70px); position:relative; z-index:1; }
.lk-comptoir a{ position:relative; display:block; width:clamp(78px,11vw,120px); text-decoration:none; transition:transform .25s ease; }
.lk-comptoir a img{ width:100%; height:auto; display:block; }
.lk-comptoir a:hover, .lk-comptoir a:focus-visible{ transform:translateY(-6px) rotate(-3deg); }
.lk-comptoir a span{ position:absolute; left:50%; bottom:100%; transform:translate(-50%,6px); white-space:nowrap; font:600 1.3rem/1 "Caveat",cursive; color:var(--accent,#8A5420); opacity:0; transition:opacity .25s, transform .25s; pointer-events:none; }
.lk-comptoir a:hover span, .lk-comptoir a:focus-visible span{ opacity:1; transform:translate(-50%,-4px); }
.lk-comptoir svg.cpt-line{ display:block; width:100%; height:26px; margin-top:-10px; color:var(--ink,#2B1A10); }
@media (hover:none){ .lk-comptoir a span{ opacity:.85; transform:translate(-50%,-2px); font-size:1.1rem; } }

/* 5. Le ticket */
.lk-ticket{ position:fixed; right:18px; bottom:18px; z-index:60; width:272px; padding:16px 18px 20px; background:#FFFCF7; color:#2B1A10; font:500 .78rem/1.5 "JetBrains Mono",monospace; box-shadow:0 18px 40px -16px rgba(20,16,11,.55); transform:translateY(140%) rotate(2deg); transition:transform .6s cubic-bezier(.2,.9,.3,1.2);
  -webkit-mask:linear-gradient(#000,#000) top/100% calc(100% - 8px) no-repeat, radial-gradient(circle 6px at 6px 100%, transparent 6px, #000 6.5px) bottom left/12px 8px repeat-x;
          mask:linear-gradient(#000,#000) top/100% calc(100% - 8px) no-repeat, radial-gradient(circle 6px at 6px 100%, transparent 6px, #000 6.5px) bottom left/12px 8px repeat-x; }
.lk-ticket.on{ transform:translateY(0) rotate(2deg); }
.lk-ticket .tk-h{ text-align:center; font-weight:700; letter-spacing:.12em; border-bottom:1px dashed #CDB8A0; padding-bottom:8px; margin-bottom:8px; }
.lk-ticket .tk-r{ display:flex; justify-content:space-between; gap:8px; } .lk-ticket .tk-r span:last-child{ white-space:nowrap; }
.lk-ticket .tk-t{ border-top:1px dashed #CDB8A0; margin-top:8px; padding-top:8px; font-weight:700; }
.lk-ticket a{ display:block; margin-top:12px; text-align:center; padding:9px; border-radius:10px; background:#2B1A10; color:#F6EFE3; text-decoration:none; font:800 .82rem/1 "Manrope",sans-serif; }
.lk-ticket button{ position:absolute; top:6px; right:8px; border:0; background:none; font-size:1.1rem; color:#6B5644; cursor:pointer; padding:4px; }
@media (prefers-reduced-motion:reduce){ .lk-ticket{ transition:none; } }

/* 6. Message selon l'heure */
.hl-time{ margin:14px 0 0; font:600 1.35rem/1.2 "Caveat",cursive; color:var(--ink-soft); animation:hlUp .7s ease 1.05s both; }
.hl-time a{ color:var(--accent); text-decoration:none; border-bottom:1.5px dashed currentColor; }
@media (max-width:760px){ .hl-time{ font-size:1.15rem; margin-top:10px; } }

/* 8. La tasse qui fume */
.lk-steam{ position:absolute; right:clamp(14px,4vw,56px); bottom:clamp(14px,4vh,40px); width:clamp(64px,8vw,92px); text-decoration:none; z-index:2; opacity:.85; transition:opacity .3s; }
.lk-steam:hover{ opacity:1; }
.lk-steam img{ width:100%; height:auto; display:block; }
.lk-steam .stm{ position:absolute; left:50%; bottom:78%; transform:translateX(-50%); font:600 1.3rem/1 "Caveat",cursive; color:var(--ink-soft); white-space:nowrap; opacity:0; filter:blur(4px); transition:opacity .6s, filter .6s, transform .6s; }
.lk-steam .stm i{ display:inline-block; font-style:normal; }
.lk-steam:hover .stm, .lk-steam:focus-visible .stm{ opacity:.9; filter:blur(0); transform:translate(-50%,-14px); }
.lk-steam svg{ position:absolute; left:28%; bottom:72%; width:44%; height:50%; color:var(--ink-soft); opacity:.55; }
.lk-steam svg path{ stroke-dasharray:60; stroke-dashoffset:0; animation:stm 3.2s ease-in-out infinite; }
.lk-steam svg path:nth-child(2){ animation-delay:1.2s; }
.lk-steam:hover svg{ opacity:0; transition:opacity .3s; }
@keyframes stm{ 0%{ stroke-dashoffset:60; opacity:0; } 40%{ opacity:1; } 100%{ stroke-dashoffset:-60; opacity:0; } }
@media (prefers-reduced-motion:reduce){ .lk-steam svg path{ animation:none; } }
@media (max-width:760px){ .lk-steam .stm{ opacity:.8; filter:none; transform:translate(-50%,-10px); font-size:1.1rem; } .lk-steam svg{ display:none; } }
