:root{--ink:#074830;--bg:#f5f3da;--lime:#d6f788;--line:#cccdb4;--muted:#536752;color:var(--ink);background:var(--bg);font-family:"Arial Rounded MT Bold","Avenir Next",Arial,sans-serif;font-synthesis:none}*{box-sizing:border-box}body{margin:0}button{font:inherit;cursor:pointer;color:inherit;border:0;background:transparent;-webkit-tap-highlight-color:transparent}button:focus-visible,a:focus-visible{outline:3px solid #ffa82f;outline-offset:2px}button:disabled{opacity:.32;cursor:default}[hidden]{display:none!important}svg{height:21px;width:21px;display:block;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}[data-icon]{display:inline-flex;flex:none}#home{min-height:100svh;display:grid;grid-template-columns:1.06fr .94fr}.cover{overflow:hidden;position:relative;min-height:520px;background:#1c2118;color:#fff}.cover video,.slide video{width:100%;height:100%;object-fit:cover;position:absolute;inset:0}.shade{position:absolute;inset:0;background:linear-gradient(180deg,#05130952,transparent 24%,transparent 60%,#09190fe3)}.cover-top,.cover-bottom{position:absolute;left:clamp(20px,4vw,66px);right:clamp(20px,4vw,66px)}.cover-top{top:max(22px,env(safe-area-inset-top));display:flex;align-items:center;justify-content:space-between}.brand-slip{font-size:18px;font-weight:850;letter-spacing:-1px;display:flex;align-items:center;gap:9px;color:white}.brand-slip i{display:inline-block;width:14px;height:18px;border-radius:3px;background:repeating-linear-gradient(0deg,#fff 0 4px,transparent 4px 7px);transform:skewX(-17deg)}.round,.close{height:42px;width:42px;display:grid;place-items:center;border-radius:50%}.cover .round,.slide .round{background:#132017a8;color:white;border:1px solid #ffffff60}.cover-bottom{bottom:clamp(24px,5vh,62px)}.overline{text-transform:uppercase;font-size:11px;line-height:1.3;letter-spacing:2.3px;font-weight:800;display:flex;align-items:center;gap:9px}.overline b{height:2px;width:28px;background:var(--lime)}#featured{color:white;font-size:clamp(29px,3.5vw,62px);font-weight:800;letter-spacing:-.055em;display:flex;align-items:center;gap:18px;padding:3px 0}.hub{background:var(--bg);display:grid;place-items:center;padding:44px clamp(25px,5.5vw,100px)}.hub-inner{width:min(100%,450px)}.identity{margin-bottom:34px}.mascot{width:112px;height:124px;background:url('grub/logo.jpg') 50% 24% / 350px 350px no-repeat;mix-blend-mode:multiply;margin-bottom:25px}.dark{color:var(--muted)}h1,h2,h3,p{margin:0}h1{font-size:clamp(48px,6vw,104px);line-height:1.05;font-weight:900;letter-spacing:-.085em}h1 span,.feed-head strong span{color:#739a2c}.primary,.outline{min-height:52px;border-radius:16px;padding:13px 18px;display:flex;gap:12px;align-items:center;justify-content:center;width:100%;font-weight:750}.primary{background:var(--ink);color:white}.primary:hover{background:#105e43}.outline{border:1px solid var(--line)}#enter{justify-content:flex-start;font-size:17px}#enter span:last-child{margin-left:auto}.links{margin-top:12px;display:flex;gap:10px}.links button{width:50%;display:flex;flex-direction:column;align-items:flex-start;gap:15px;text-align:left;border:1px solid var(--line);border-radius:15px;padding:17px;font-size:14px;font-weight:650}.links button:hover,.outline:hover{background:#e5e8ce}.text-button{display:inline-flex;align-items:center;gap:7px;min-height:42px;font-size:13px;color:var(--muted);padding:6px 0}.text-button svg{width:15px}.hub .text-button{margin-top:14px}#splash{position:fixed;inset:0;z-index:9;background:#f4f3d2;display:grid;place-items:center}#splash img{width:min(75vw,390px);mix-blend-mode:multiply;animation:fade .82s ease both}#splash.zoom img{animation-name:zoom}#skip{position:absolute;right:20px;top:max(20px,env(safe-area-inset-top));padding:10px 16px}@keyframes fade{0%{opacity:0}85%,100%{opacity:1}}@keyframes zoom{0%{opacity:0;transform:scale(.72)}85%,100%{opacity:1;transform:scale(1)}}
#feed {
  --feed-edge: clamp(22px, 5.8vw, 78px);
  position: relative;
  isolation: isolate;
  height: 100vh;
  height: 100dvh;
  width: 100%;
  overflow: hidden;
  background: #151510;
  color: white;
}
#rail { height:100%; overflow-y:auto; scroll-snap-type:y mandatory; overscroll-behavior-y:contain; scrollbar-width:none }
#rail::-webkit-scrollbar, #categories::-webkit-scrollbar { display:none }
.slide { position:relative; isolation:isolate; height:100%; scroll-snap-align:start; scroll-snap-stop:always }
.slide video { display:block; pointer-events:none }
.slide::after {
  content:""; position:absolute; inset:0; pointer-events:none;
  background:linear-gradient(to bottom, rgba(0,0,0,.55), transparent 21%, transparent 42%, rgba(0,0,0,.07) 49%, rgba(0,0,0,.62) 76%, rgba(0,0,0,.92) 100%);
}
.feed-top, .feed-foot { position:absolute; left:0; right:0; z-index:2; pointer-events:none }
.feed-top { top:0; padding-top:max(8px,env(safe-area-inset-top)) }
.feed-top button, #categories, .feed-foot button { pointer-events:auto }
.feed-head { display:flex; justify-content:space-between; align-items:center; padding:0 var(--feed-edge) }
#back { color:white; padding:0; min-height:44px; font:500 24px/1 "Cormorant Garamond",Georgia,serif; letter-spacing:-.055em; text-shadow:0 1px 8px #0007 }
.cart-control { position:relative; display:grid; place-items:center; min-width:44px; height:44px; color:white; filter:drop-shadow(0 1px 3px #0006) }
.cart-control svg { width:24px; height:24px }
#count { position:absolute; top:1px; right:0; min-width:16px; height:16px; padding:1px 4px; border-radius:12px; background:white; color:#1b1b19; font:700 10px/14px system-ui,sans-serif }
#categories { display:flex; align-items:center; gap:7px; padding:4px var(--feed-edge) 6px; overflow-x:auto; width:max-content; max-width:100%; scrollbar-width:none }
#categories button { flex:none; padding:7px 15px; border:1px solid #ffffff45; background:#28272459; color:#fff; backdrop-filter:blur(9px); -webkit-backdrop-filter:blur(9px); border-radius:22px; font:500 13px/1.2 system-ui,sans-serif; letter-spacing:.01em }
#categories .active { background:#fff; border-color:#fff; color:#262421; box-shadow:0 3px 12px #0002 }
.dish-info { position:absolute; z-index:1; bottom:max(calc(58px + env(safe-area-inset-bottom, 0px)), clamp(96px, 13.2dvh, 130px)); left:var(--feed-edge); right:var(--feed-edge); pointer-events:none }
.dish-info h2 { max-width:18ch; font-family:var(--dish-title-font,Georgia,serif); font-size:clamp(42px,6.65vw,86px); font-weight:var(--dish-title-weight,400); letter-spacing:var(--dish-tracking,-.048em); line-height:1.01; text-wrap:balance; text-shadow:0 1px 8px #0004 }
.dish-info p { margin-top:10px; max-width:48ch; font-family:var(--dish-body-font,system-ui,sans-serif); font-size:clamp(15px,1.4vw,20px); line-height:1.42; color:#f4f1ee; text-shadow:0 1px 5px #0008 }
.buy { margin-top:clamp(19px,3.8vh,40px); display:flex; align-items:center; justify-content:space-between }
.buy button { pointer-events:auto }
.price-action { padding:0; display:inline-flex; align-items:center; gap:10px; color:#fff }
.price-tag, .buy .round { border:1px solid #ffffff51; background:#56565369; backdrop-filter:blur(8px); -webkit-backdrop-filter:blur(8px) }
.price-tag { display:grid; place-items:center; border-radius:16px; min-height:45px; padding:5px 15px; font:400 clamp(25px,2.25vw,32px)/1.12 "Cormorant Garamond",Georgia,serif; letter-spacing:-.045em }
.add-caption { font:500 12px/1 system-ui,sans-serif; color:#f4f2ef; text-shadow:0 1px 4px #000 }
.buy .round { width:54px; height:54px; color:white }
.buy .liked svg { fill:#fff; stroke:white }
.feed-foot { bottom:calc(5px + env(safe-area-inset-bottom)); display:grid; justify-items:center; gap:3px }
.film-time { position:relative; display:flex; align-items:center; justify-content:center; height:25px }
#feed-play { position:absolute; right:100%; padding:0 8px; height:35px; display:grid; place-items:center }
#feed-play svg { width:12px; height:12px }
#elapsed { display:block; width:112px; height:3px; border:0; border-radius:4px; appearance:none; background:#ffffff48; overflow:hidden; color:white }
#elapsed::-webkit-progress-bar { background:transparent }
#elapsed::-webkit-progress-value { background:white; border-radius:4px }
#elapsed::-moz-progress-bar { background:white; border-radius:4px }
@media(max-height:510px) and (orientation:landscape){
  .dish-info { bottom:max(38px, calc(30px + env(safe-area-inset-bottom, 0px))) }
  .dish-info h2 { font-size:36px }
  .dish-info p { margin-top:4px }
  .buy { margin-top:10px }
  .feed-foot { width:max-content; left:50%; transform:translateX(-50%) }
}

dialog{border:0;border-radius:25px;color:var(--ink);background:var(--bg);width:min(450px,calc(100% - 24px));padding:24px;max-height:85dvh;overflow:auto}dialog::backdrop{background:#07160fb5}.sheet-head,.row,.line{display:flex;justify-content:space-between;align-items:center;gap:12px}.sheet-head{margin-bottom:15px}.sheet-head h2{font-size:25px;letter-spacing:-1px}.close{background:#e5e7cd;flex:none}.copy,.sub{line-height:1.5;color:var(--muted)}.sheet-actions{display:grid;gap:9px;margin-top:18px}.row{padding:12px 0;border-bottom:1px solid var(--line)}.row img,.offer img{object-fit:cover;width:53px;height:62px;border-radius:8px}.row .detail{flex:1}.detail small{display:block;margin-top:3px}.step{display:flex;align-items:center;gap:7px}.step button{border:1px solid var(--line);border-radius:50%;height:34px;width:34px}.line{padding-top:16px}.offer{display:flex;align-items:center;gap:14px}.offer img{width:82px;height:96px}.offer h3{margin:5px 0}.offer small{font-weight:700}.hint{padding-top:9px;font-size:13px}.actions-end{display:flex;gap:18px;justify-content:center;flex-wrap:wrap}.list-btn{width:100%;text-align:left}.field{width:100%;font:inherit;background:#fffdf0;border:1px solid var(--line);border-radius:12px;padding:12px}.sr{position:absolute;clip-path:inset(50%);height:1px;width:1px;overflow:hidden}#notice:not(:empty){position:fixed;z-index:4;bottom:16px;left:50%;transform:translateX(-50%);padding:11px 17px;background:#112b20;color:white;border-radius:22px;font-size:14px;box-shadow:0 4px 24px #0002}
@media(max-width:740px){#home{grid-template-columns:1fr;grid-template-rows:minmax(220px,1fr) auto;height:100svh;min-height:560px}.cover{min-height:0}.cover video{object-position:50% 57%}.cover-top{top:max(14px,env(safe-area-inset-top))}.hub{padding:23px 22px max(10px,env(safe-area-inset-bottom))}.hub-inner{max-width:550px}.identity{display:flex;align-items:center;gap:16px;margin-bottom:17px}.mascot{width:70px;height:72px;background-size:204px 204px;background-position:50% 26%;margin:0}.links button{padding:13px 12px;gap:8px}.hub .text-button{margin-top:3px}.cover-bottom{bottom:16px}dialog{margin:auto auto 0;width:min(100%,520px);border-radius:22px 22px 0 0;padding-bottom:max(24px,env(safe-area-inset-bottom))}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;animation-duration:1ms!important}}
.mascot{filter:contrast(1.18) brightness(1.08);background-position:50% 28%}
#splash img{mix-blend-mode:darken}

#back { display:inline-flex; align-items:center; gap:7px }
.brand-head-icon { display:block; width:28px; height:32px; overflow:hidden }
.brand-head-icon img { display:block; width:100%; height:auto }

#swipe-tip {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: max(25%, 116px);
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px 13px;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 30px;
  background: rgba(19, 23, 20, .76);
  color: white;
  font: 500 13px/1.3 system-ui, sans-serif;
  white-space: nowrap;
  pointer-events: none;
}
#swipe-tip svg { width: 15px; height: 15px; }

@media (prefers-reduced-motion: no-preference) {
  #rail.swipe-peek { scroll-snap-type: none; }
  #rail.swipe-peek > .slide:nth-child(-n+2) {
    animation: peek-next-dish 1.45s .25s ease-in-out;
  }
  @keyframes peek-next-dish {
    0%, 100% { transform: translateY(0); }
    45%, 58% { transform: translateY(clamp(-46px, -6dvh, -26px)); }
  }
}
