

  :root{
    --green:#E94B64;
    --green-dark:#A92F45;
    --green-mid:#C83B54;
    --green-tint:#FFF1F3;
    --yellow:#FFC857;
    --red:#E8352F;
    --red2:#FF3B30;
    --ink:#14181A;
    --ink-soft:#6B7570;
    --line:#EDEEEA;
    --bg:#FFFBFC;
  }
  *{box-sizing:border-box;margin:0;padding:0;}
  html{color-scheme:light;}
  body{
    font-family:'Segoe UI','Noto Sans Thai','Sarabun',system-ui,-apple-system,sans-serif;
    background:var(--bg);color:var(--ink);-webkit-font-smoothing:antialiased;
    padding-bottom:calc(74px + env(safe-area-inset-bottom));
  }
  a{text-decoration:none;color:inherit;}
  button{font-family:inherit;cursor:pointer;border:none;background:none;}
  ul{list-style:none;}

  /* ===== Header ===== */
  header{background:#fff;border-bottom:1px solid var(--line);position:sticky;top:0;z-index:50;}
  .header-inner{
    max-width:1200px;margin:0 auto;padding:14px 18px;
    display:flex;align-items:center;gap:12px;
  }
  .logo{display:flex;align-items:center;gap:10px;flex:1;min-width:0;}
  .logo-badge{
    width:42px;height:42px;border-radius:50%;flex-shrink:0;
    overflow:hidden;display:flex;align-items:center;justify-content:center;
  }
  .logo-badge img{width:100%;height:100%;object-fit:cover;}
  .logo-text h1{font-size:16px;font-weight:800;line-height:1.15;white-space:nowrap;}
  .logo-text h1 .accent{color:var(--green);}
  .logo-text p{font-size:11px;color:var(--ink-soft);margin-top:1px;white-space:nowrap;}
  .header-icons{display:flex;align-items:center;gap:6px;flex-shrink:0;position:relative;}
  .icon-btn{
    width:38px;height:38px;border-radius:50%;display:flex;align-items:center;justify-content:center;
    font-size:17px;color:var(--ink);
  }
  .icon-btn:hover{background:var(--bg);}
  .header-menu{
    position:absolute;top:46px;right:0;background:#fff;border:1px solid var(--line);
    border-radius:14px;box-shadow:0 8px 24px rgba(20,24,26,.12);min-width:170px;
    padding:6px;z-index:60;display:none;
  }
  .header-menu.open{display:block;}
  .header-menu button{
    display:flex;align-items:center;gap:8px;width:100%;text-align:left;padding:10px 12px;
    border-radius:9px;font-size:13.5px;font-weight:600;color:var(--ink);background:none;
  }
  .header-menu button:hover{background:var(--bg);}
  .header-menu a{
    display:flex;align-items:center;gap:8px;width:100%;text-align:left;padding:10px 12px;
    border-radius:9px;font-size:13.5px;font-weight:600;color:var(--ink);text-decoration:none;
  }
  .header-menu a:hover{background:var(--bg);}
  .header-menu .menu-divider{
    height:1px;background:var(--line);margin:6px 4px;border:none;
  }

  /* ===== Hero (swipeable multi-slide carousel) ===== */
  .hero-wrap{margin:0;padding:0;position:relative;overflow:hidden;z-index:1;}
  .hero{
    position:relative;overflow:hidden;
    background:#FFF1F3;
    aspect-ratio:16/7;min-height:180px;
  }
  .hero-track{
    display:flex;line-height:0;touch-action:pan-y;height:100%;
  }
  .hero-slide{
    flex:0 0 100%;position:relative;line-height:0;overflow:hidden;
    height:100%;background:#FFF1F3;
  }
  .hero-slide img{width:100%;height:100%;object-fit:cover;display:block;transform-origin:center center;will-change:transform;}
  .hero-slide img.img-error{opacity:0;}
  @keyframes heroKenBurns{from{transform:scale(1);}to{transform:scale(1.045);}}
  .hero-slide img.kb-run{animation:heroKenBurns 5.6s ease-out forwards;}
  .hero-cta-overlay{
    position:absolute;border-radius:12px;
    background:none;border:none;padding:0;margin:0;
    -webkit-appearance:none;appearance:none;
    cursor:pointer;-webkit-tap-highlight-color:transparent;
    opacity:0;transition:opacity .5s ease .1s;
  }
  .hero-slide.active .hero-cta-overlay{opacity:1;}
  .hero-arrow{
    position:absolute;top:50%;transform:translateY(-50%);z-index:3;
    width:34px;height:34px;border-radius:50%;
    background:rgba(8,40,26,.45);border:none;
    display:flex;align-items:center;justify-content:center;
    cursor:pointer;transition:background .2s;
  }
  .hero-arrow:hover{background:rgba(8,40,26,.7);}
  .hero-arrow-prev{left:10px;}
  .hero-arrow-next{right:10px;}
  @media (max-width:480px){
    .hero-arrow{width:28px;height:28px;}
  }
  .hero-dots{position:absolute;left:22px;bottom:10px;display:flex;gap:6px;z-index:2;}
  .hero-dots span{width:6px;height:6px;border-radius:50%;background:rgba(255,255,255,.35);transition:all .2s;cursor:pointer;}
  .hero-dots span.active{width:16px;border-radius:4px;background:var(--green);}

  /* ===== Popular Restaurants — quick brand filter chips ===== */
  .restaurants-wrap{
    max-width:1200px;margin:13px auto 0;padding:10px 16px;
    background:#fff;border:1px solid var(--line);border-radius:10px;
  }
  .restaurants-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:4px;}
  .restaurants-head h2{font-size:13px;font-weight:600;color:#555;line-height:1.1;}
  .restaurants-head h2 .rh-icon{font-size:16px;}
  .restaurants-head .view-all-btn{
    font-family:inherit;background:none;border:none;cursor:pointer;
    font-size:11px;font-weight:700;color:var(--green);white-space:nowrap;padding:2px;
  }
  .restaurants-row{
    display:flex;gap:10px;overflow-x:auto;padding:0;
    scroll-behavior:smooth;-webkit-overflow-scrolling:touch;
    scrollbar-width:none;-ms-overflow-style:none;
  }
  .restaurants-row::-webkit-scrollbar{display:none;}
  .restaurant-chip{
    flex-shrink:0;display:flex;flex-direction:column;align-items:center;gap:2px;
    width:40px;background:none;border:none;font-family:inherit;cursor:pointer;
    padding:0;border-radius:8px;-webkit-tap-highlight-color:transparent;
    position:relative;overflow:hidden;transition:transform .18s ease;
  }
  .restaurant-chip:hover{transform:scale(1.05);}
  .restaurant-chip:active{transform:scale(.96);}
  .restaurant-logo{
    width:40px;height:40px;border-radius:50%;overflow:hidden;flex-shrink:0;
    border:1px solid var(--line);background:var(--bg);
    display:flex;align-items:center;justify-content:center;
  }
  .restaurant-logo img{width:100%;height:100%;object-fit:cover;display:block;}
  .restaurant-fallback{
    width:100%;height:100%;display:flex;align-items:center;justify-content:center;
    color:#fff;font-weight:800;font-size:13px;
  }
  .restaurant-name{
    font-size:10px;font-weight:600;color:#888;text-align:center;line-height:1;
    white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%;
  }
  .restaurant-chip .ripple{
    position:absolute;border-radius:50%;background:rgba(0,177,79,.28);
    transform:scale(0);animation:restaurantRipple .5s ease-out;pointer-events:none;
  }
  @keyframes restaurantRipple{to{transform:scale(2.6);opacity:0;}}

  .view-counter{
    max-width:1200px;margin:10px auto 0;padding:0 14px;
    font-size:11.5px;color:var(--ink-soft);display:flex;align-items:center;gap:5px;
  }
  .view-counter.hidden{display:none;}
  .last-updated-note{
    max-width:1200px;margin:2px auto 0;padding:0 14px;
    font-size:10.5px;color:#999;
  }

  /* ===== Coupon section (overlaps hero) ===== */
  .coupon-card{
    max-width:1200px;margin:15px auto 0;padding:16px 15px 8px;
    background:#fff;border-radius:17px;position:relative;z-index:2;
  }
  .coupon-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:11px;padding:0 3px;}
  .coupon-head h2{font-size:13.5px;font-weight:800;display:flex;align-items:center;gap:5px;}
  .coupon-head h2 .accent{color:var(--green);}
  .coupon-head a{font-size:10.5px;font-weight:700;color:var(--green);white-space:nowrap;}
  .coupon-row{display:flex;gap:8px;overflow-x:auto;padding:2px 12px 8px 3px;scroll-snap-type:x mandatory;}
  .coupon-tile{
    scroll-snap-align:start;flex-shrink:0;width:230px;
    border:1px solid var(--line);border-radius:10px;
    display:flex;align-items:stretch;background:#fff;overflow:hidden;
  }
  .coupon-tile-featured{
    position:relative;border:2px solid var(--yellow);
    box-shadow:0 4px 14px rgba(255,200,0,.35);
  }
  .coupon-tile-featured .coupon-tile-left{
    background:linear-gradient(160deg,var(--yellow),#FFB000);
    border-right:1px dashed rgba(20,24,26,.15);
  }
  .coupon-tile-featured .coupon-value,
  .coupon-tile-featured .coupon-platform{color:var(--green-dark);}
  .coupon-featured-badge{
    position:absolute;top:-1px;left:-1px;background:var(--green-dark);color:var(--yellow);
    font-size:8px;font-weight:800;padding:2px 8px 2px 6px;border-radius:0 0 8px 0;z-index:2;
  }
  .coupon-tile-left{
    width:72px;flex-shrink:0;background:var(--green-tint);
    display:flex;flex-direction:column;align-items:center;justify-content:center;
    text-align:center;padding:6px 4px;gap:2px;
    border-right:1px dashed #C7E9D3;
  }
  .coupon-tile-right{
    flex:1;min-width:0;display:flex;flex-direction:column;justify-content:center;gap:2px;
    padding:6px 8px;
  }
  .coupon-platform{
    font-size:7px;font-weight:800;color:var(--green);line-height:1.25;
    display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;
  }
  .coupon-code{font-size:9px;font-weight:700;color:var(--ink-soft);letter-spacing:.02em;
    white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
  .coupon-value{font-size:15px;font-weight:800;color:var(--ink);line-height:1.15;}
  .coupon-value .unit{font-size:9px;font-weight:700;color:var(--green);display:block;}
  .coupon-cond{font-size:8px;color:var(--ink-soft);line-height:1.3;
    display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;}
  .coupon-until{font-size:7px;color:var(--ink-soft);opacity:.75;}
  .copy-btn{
    margin-top:2px;background:var(--green);color:#fff;font-weight:700;font-size:9px;
    padding:5px 0;border-radius:6px;text-align:center;min-height:24px;
    display:flex;align-items:center;justify-content:center;gap:4px;transition:background .15s;
  }
  .copy-btn.copied{background:var(--ink);}

  .coupon-platform-label{
    font-size:11px;font-weight:800;margin:11px 3px 7px;display:flex;align-items:center;gap:4px;
  }
  .coupon-platform-label.shopee{color:#EE4D2D;}
  .coupon-platform-label.lineman{color:var(--green);}
  .platform-logo{
    width:15px;height:15px;border-radius:4px;object-fit:cover;flex-shrink:0;
  }

  .coupon-tabs{display:flex;gap:7px;margin:2px 3px 11px;}
  .coupon-tab{
    flex:1;display:flex;align-items:center;justify-content:center;gap:5px;
    background:var(--bg);border:1px solid var(--line);border-radius:9px;
    padding:8px 0;font-size:11px;font-weight:700;color:var(--ink-soft);
    font-family:inherit;transition:all .15s;
  }
  .coupon-tab.active{background:#fff;border-color:var(--ink);color:var(--ink);box-shadow:0 1px 4px rgba(0,0,0,.08);}
  .coupon-panel.hidden{display:none;}

  .shopee-tile{
    scroll-snap-align:start;flex-shrink:0;width:230px;
    border:1px solid #FADBD1;border-radius:10px;
    display:flex;align-items:stretch;background:#FFF8F6;overflow:hidden;
  }
  .shopee-tile-left{
    width:72px;flex-shrink:0;background:#FFE7E1;
    display:flex;flex-direction:column;align-items:center;justify-content:center;
    text-align:center;padding:6px 4px;gap:2px;
    border-right:1px dashed #FADBD1;
  }
  .shopee-tile-right{
    flex:1;min-width:0;display:flex;flex-direction:column;justify-content:center;gap:2px;
    padding:6px 8px;
  }
  .shopee-badge{
    display:inline-flex;align-items:center;gap:2px;font-size:7px;font-weight:800;color:#fff;
    background:#EE4D2D;padding:2px 5px;border-radius:4px;width:fit-content;
  }
  .shopee-value{font-size:13px;font-weight:800;color:var(--ink);line-height:1.2;}
  .shopee-cond{font-size:8px;color:var(--ink-soft);line-height:1.3;
    display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;}
  .shopee-tag{
    font-size:7px;color:#EE4D2D;border:1px solid #EE4D2D;border-radius:4px;
    padding:1px 4px;width:fit-content;
  }
  .shopee-btn{
    margin-top:2px;background:#fff;color:#EE4D2D;font-weight:700;font-size:9px;
    padding:5px 0;border-radius:6px;text-align:center;min-height:24px;border:1.5px solid #EE4D2D;
    display:flex;align-items:center;justify-content:center;gap:4px;
  }

  /* ===== Section ===== */
  .section{max-width:1200px;margin:0 auto;padding:26px 14px 0;}
  .section-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px;padding:0 4px;}
  .section-head h2{font-size:17px;font-weight:800;display:flex;align-items:center;gap:6px;color:var(--ink);}
  .section-head a{font-size:12.5px;font-weight:700;color:var(--green);white-space:nowrap;}

  .deal-controls{display:flex;gap:8px;margin-bottom:14px;}
  .deal-search{
    flex:1;position:relative;display:flex;align-items:center;
    background:#fff;border:1px solid var(--line);border-radius:999px;
  }
  .deal-search .search-icon-sm{padding-left:14px;font-size:14px;color:var(--ink-soft);}
  .deal-search input{
    flex:1;border:none;background:none;outline:none;
    padding:10px 14px 10px 8px;font-size:13.5px;color:var(--ink);
    min-width:0;
  }
  .sort-btn{
    flex-shrink:0;background:#fff;border:1px solid var(--line);border-radius:999px;
    padding:10px 14px;font-size:12.5px;font-weight:700;color:var(--ink-soft);
    white-space:nowrap;transition:all .15s;
  }
  .sort-btn.active{background:var(--green);border-color:var(--green);color:#fff;}
  .no-results{
    text-align:center;padding:30px 10px;color:var(--ink-soft);font-size:13.5px;
  }

  /* ===== Deal cards ===== */
  .deal-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:14px;}
  @media(min-width:640px){.deal-grid{grid-template-columns:repeat(3,1fr);}}
  @media(min-width:1000px){.deal-grid{grid-template-columns:repeat(4,1fr);}}
  .deal-card{
    background:#fff;border:1px solid var(--line);border-radius:16px;overflow:hidden;
    display:flex;flex-direction:column;transition:box-shadow .3s ease;
  }
  .deal-thumb{
    height:120px;position:relative;display:flex;align-items:center;justify-content:center;
    font-size:44px;color:#fff;background-size:cover;background-position:center;
  }
  .deal-thumb .discount-badge{
    position:absolute;top:8px;left:8px;background:var(--red);color:#fff;
    font-size:11px;font-weight:800;padding:4px 9px;border-radius:8px 8px 8px 2px;
  }
  .deal-thumb .new-badge{
    position:absolute;top:8px;right:8px;background:var(--yellow);color:#3a2b00;
    font-size:10.5px;font-weight:800;padding:4px 8px;border-radius:8px 8px 2px 8px;
    display:flex;align-items:center;gap:3px;box-shadow:0 2px 6px rgba(0,0,0,.15);
  }
  .fav-btn{
    position:absolute;bottom:8px;right:8px;z-index:2;
    width:29px;height:29px;border-radius:50%;
    background:rgba(255,255,255,.92);border:none;padding:0;
    display:flex;align-items:center;justify-content:center;
    color:var(--ink-soft);cursor:pointer;
    box-shadow:0 1px 4px rgba(20,24,26,.18);
    transition:transform .15s ease, color .15s ease;
    -webkit-tap-highlight-color:transparent;
  }
  .fav-btn:active{transform:scale(.85);}
  .fav-btn.active{color:var(--red);}
  .featured-deal-wrap{padding:4px 14px 20px;}
  .featured-deal-card{
    display:flex;gap:14px;background:linear-gradient(135deg,#fff 0%,#FFFAEB 100%);
    border:3px solid var(--yellow);border-radius:20px;padding:16px;
    box-shadow:0 6px 24px rgba(255,200,0,.4), 0 0 0 5px rgba(255,200,0,.12);
    position:relative;overflow:hidden;
    animation:featuredGlow 2.6s ease-in-out infinite;
  }
  @keyframes featuredGlow{
    0%,100%{box-shadow:0 6px 24px rgba(255,200,0,.4), 0 0 0 5px rgba(255,200,0,.12);}
    50%{box-shadow:0 8px 30px rgba(255,200,0,.6), 0 0 0 8px rgba(255,200,0,.22);}
  }
  .featured-deal-eyebrow{
    position:absolute;top:-1px;left:-1px;background:var(--green-dark);color:var(--yellow);
    font-size:11.5px;font-weight:800;padding:6px 16px 6px 10px;border-radius:0 0 12px 0;z-index:2;
    letter-spacing:.2px;
  }
  .featured-deal-thumb{
    width:120px;height:120px;flex-shrink:0;border-radius:14px;background-size:cover;
    background-position:center;margin-top:20px;box-shadow:0 3px 10px rgba(0,0,0,.15);
  }
  .featured-deal-body{flex:1;min-width:0;margin-top:20px;display:flex;flex-direction:column;}
  .featured-deal-brand{font-size:14px;font-weight:800;color:var(--ink);}
  .featured-deal-desc{
    font-size:12.5px;color:var(--ink-soft);margin-top:3px;
    display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;
  }
  .featured-deal-countdown{
    display:flex;align-items:center;gap:4px;font-size:11.5px;font-weight:800;
    color:var(--red);background:#FFF0EF;padding:4px 9px;border-radius:8px;
    width:fit-content;font-variant-numeric:tabular-nums;margin-top:6px;
  }
  .featured-deal-ordercount{
    display:flex;align-items:center;gap:4px;font-size:11.5px;font-weight:700;
    color:var(--ink-soft);margin-top:8px;font-variant-numeric:tabular-nums;
  }
  .featured-deal-ordercount b, .featured-deal-ordercount span{font-weight:800;color:var(--green-dark);}
  .featured-deal-ordercount.bump{animation:ocPulse .35s ease;}
  .featured-deal-bottom{display:flex;align-items:center;justify-content:space-between;margin-top:auto;padding-top:8px;}
  .featured-deal-price{display:flex;align-items:baseline;gap:6px;}
  .featured-deal-price .now{font-size:19px;font-weight:800;color:var(--red);}
  .featured-deal-price .was{font-size:11.5px;color:var(--ink-soft);text-decoration:line-through;}
  .featured-deal-order-btn{
    background:var(--green);color:#fff;font-size:12.5px;font-weight:800;
    padding:8px 16px;border-radius:999px;border:none;white-space:nowrap;
    min-height:48px;min-width:110px;display:flex;align-items:center;justify-content:center;box-sizing:border-box;
  }
  .deal-countdown{
    display:flex;align-items:center;gap:4px;font-size:11px;font-weight:800;
    color:var(--red);background:#FFF0EF;padding:4px 8px;border-radius:8px;
    width:fit-content;font-variant-numeric:tabular-nums;
  }
  .deal-ordercount{
    display:flex;align-items:center;gap:4px;font-size:10.5px;font-weight:600;
    color:var(--ink-soft);margin-top:4px;font-variant-numeric:tabular-nums;
  }
  .deal-ordercount b, .deal-ordercount span{font-weight:800;color:var(--green-dark);}
  .deal-ordercount.bump{animation:ocPulse .35s ease;}
  @keyframes ocPulse{
    0%{transform:scale(1);}
    40%{transform:scale(1.08);color:var(--green);}
    100%{transform:scale(1);}
  }
  .deal-thumb .brand-badge{
    position:absolute;left:10px;bottom:-16px;width:34px;height:34px;border-radius:50%;
    background:#fff;border:2px solid #fff;box-shadow:0 2px 6px rgba(0,0,0,.15);
    display:flex;align-items:center;justify-content:center;font-size:15px;font-weight:800;color:#fff;
    overflow:hidden;
  }
  .deal-thumb .brand-badge img{width:100%;height:100%;object-fit:cover;}
  .deal-body{padding:20px 12px 12px;display:flex;flex-direction:column;gap:4px;flex:1;}
  .deal-brand{font-size:13px;font-weight:800;}
  .deal-desc{
    font-size:11.5px;color:var(--ink-soft);min-height:16px;
    display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;
    overflow:hidden;line-height:1.4;
  }
  .deal-bottom{display:flex;align-items:center;justify-content:space-between;margin-top:8px;gap:6px;}
  .deal-price{display:flex;align-items:baseline;gap:6px;}
  .deal-price .now{font-size:16px;font-weight:800;color:var(--green);}
  .deal-price .was{font-size:11px;color:#B7BDB9;text-decoration:line-through;}
  .order-btn{
    background:var(--green);color:#fff;font-size:12.5px;font-weight:700;
    padding:9px 15px;border-radius:999px;white-space:nowrap;min-height:36px;
    display:flex;align-items:center;justify-content:center;
  }

  /* thumb color variants for icon-only cards */
  .c1{background:linear-gradient(135deg,#8E1A2E,#C4123B);}
  .c2{background:linear-gradient(135deg,#B01F2F,#E8352F);}
  .c3{background:linear-gradient(135deg,#1F2A24,#3B5347);}
  .c4{background:linear-gradient(135deg,#0F4A2C,#00B14F);}
  .c5{background:linear-gradient(135deg,#D98A2B,#E8A83E);}

  /* ===== Popular brands row ===== */
  .brand-row{display:flex;gap:20px;overflow-x:auto;padding:2px 4px 6px;}
  .brand-item{display:flex;flex-direction:column;align-items:center;gap:8px;flex-shrink:0;min-width:64px;}
  .brand-circle{
    width:56px;height:56px;border-radius:50%;display:flex;align-items:center;justify-content:center;
    font-size:13px;font-weight:800;color:#fff;border:1px solid var(--line);
  }
  .brand-item span{font-size:11.5px;font-weight:600;color:var(--ink-soft);white-space:nowrap;}

  /* ===== AI Pick — "วันนี้กินอะไรดี?" mini game ===== */
  .ai-wrap{
    max-width:1200px;margin:22px auto 0;padding:26px 20px 24px;
    background:#fff;border-radius:24px;
    box-shadow:0 1px 2px rgba(20,24,26,.04), 0 10px 30px rgba(20,24,26,.07);
  }
  .ai-badge{
    display:inline-flex;align-items:center;gap:5px;font-size:10.5px;font-weight:800;
    color:var(--green);background:#F2FBF6;padding:5px 11px;border-radius:999px;margin-bottom:10px;
  }
  .ai-header-img{width:100%;height:auto;display:block;border-radius:18px;margin-top:8px;}
  .ai-title{font-size:23px;font-weight:800;color:#111;letter-spacing:-.02em;line-height:1.25;}
  .ai-sub{font-size:13px;color:#666;margin-top:7px;line-height:1.5;font-weight:500;}
  .ai-sub b{color:#111;font-weight:700;}

  .ai-features{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:20px 0 22px;}
  .ai-feature{
    background:#F2FBF6;border-radius:16px;padding:12px 8px;text-align:center;
  }
  .ai-feature .ic{font-size:18px;margin-bottom:5px;}
  .ai-feature .tx{font-size:9.5px;color:var(--ink-soft);font-weight:700;line-height:1.35;}

  .ai-cta{
    width:100%;height:60px;border-radius:22px;border:none;cursor:pointer;
    background:linear-gradient(135deg,var(--green),#21C45D);
    color:#fff;font-weight:800;font-size:17px;font-family:inherit;
    display:flex;align-items:center;justify-content:center;gap:9px;
    box-shadow:0 8px 20px rgba(0,177,79,.32);
    transition:transform .12s ease, box-shadow .12s ease;
    position:relative;overflow:hidden;
  }
  .ai-cta:active{transform:scale(.97);box-shadow:0 4px 12px rgba(0,177,79,.28);}
  .ai-cta .dice{font-size:22px;display:inline-block;}
  .ai-cta.spinning .dice{animation:diceSpin .5s linear infinite;}
  @keyframes diceSpin{from{transform:rotate(0deg);}to{transform:rotate(360deg);}}
  .ai-header-wrap{position:relative;line-height:0;}
  .ai-cta-overlay-real{
    position:absolute;left:1%;top:79%;width:47%;height:18%;
    background:transparent;border:none;border-radius:999px;cursor:pointer;
    box-shadow:0 0 0 4px rgba(0,177,79,.35);
    animation:aiCtaPulse 1.8s ease-in-out infinite;
  }
  @keyframes aiCtaPulse{
    0%,100%{box-shadow:0 0 0 4px rgba(0,177,79,.35), 0 0 0 4px rgba(0,177,79,.0);}
    50%{box-shadow:0 0 0 8px rgba(0,177,79,.12), 0 0 0 4px rgba(0,177,79,.35);}
  }
  .ai-tap-hint{
    position:absolute;left:1%;top:57%;pointer-events:none;
    background:#fff;color:var(--green-dark);font-size:11.5px;font-weight:800;
    padding:6px 12px;border-radius:999px;box-shadow:0 4px 10px rgba(0,0,0,.18);
    display:flex;align-items:center;gap:5px;animation:tapHintBob 1.6s ease-in-out infinite;
  }
  @keyframes tapHintBob{0%,100%{transform:translateY(0);}50%{transform:translateY(-4px);}}

  .ai-stage{margin-top:18px;min-height:0;}

  /* --- Mystery box hero (decorative) --- */
  .ai-mystery{
    display:flex;align-items:center;justify-content:center;position:relative;
    height:120px;margin:14px 0 4px;
  }
  .ai-mystery-box{
    font-size:64px;position:relative;filter:drop-shadow(0 10px 18px rgba(11,59,36,.35));
    animation:mysteryFloat 3s ease-in-out infinite;
  }
  .ai-mystery-q{
    position:absolute;top:-6px;right:-10px;font-size:26px;
    animation:mysteryPulse 1.6s ease-in-out infinite;
  }
  .ai-mystery-spark{position:absolute;font-size:16px;opacity:.9;}
  .ai-mystery-spark.s1{top:6px;left:14%;animation:mysteryFloat 2.4s ease-in-out infinite;}
  .ai-mystery-spark.s2{bottom:10px;right:16%;animation:mysteryFloat 2.8s ease-in-out infinite .3s;}
  .ai-mystery-spark.s3{top:14px;right:8%;animation:mysteryFloat 2.2s ease-in-out infinite .6s;}
  @keyframes mysteryFloat{0%,100%{transform:translateY(0);}50%{transform:translateY(-8px);}}
  @keyframes mysteryPulse{0%,100%{transform:scale(1);opacity:1;}50%{transform:scale(1.15);opacity:.7;}}

  /* --- Spinning wheel --- */
  .ai-wheel-wrap{
    display:none;flex-direction:column;align-items:center;justify-content:center;
    padding:20px 10px 8px;
  }
  .ai-wheel-wrap.show{display:flex;}
  .ai-wheel-outer{position:relative;width:210px;height:210px;}
  .ai-wheel-pointer{
    position:absolute;top:-9px;left:50%;transform:translateX(-50%);
    width:0;height:0;border-left:11px solid transparent;border-right:11px solid transparent;
    border-top:18px solid var(--yellow);z-index:3;
    filter:drop-shadow(0 2px 3px rgba(0,0,0,.25));
  }
  .ai-wheel{
    width:100%;height:100%;border-radius:50%;position:relative;overflow:hidden;
    border:6px solid var(--yellow);box-shadow:0 8px 24px rgba(11,59,36,.35);
    transition:transform 3.2s cubic-bezier(.15,.85,.15,1);
  }
  .ai-wheel-seg{
    position:absolute;top:0;left:0;width:100%;height:100%;
    display:flex;justify-content:center;
  }
  .ai-wheel-seg .icon{
    margin-top:14px;width:30px;height:30px;border-radius:50%;background:#fff;
    display:flex;align-items:center;justify-content:center;overflow:hidden;
    font-size:14px;font-weight:800;box-shadow:0 1px 4px rgba(0,0,0,.15);
  }
  .ai-wheel-seg .icon img{width:100%;height:100%;object-fit:cover;}
  .ai-wheel-hub{
    position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);z-index:2;
    width:54px;height:54px;border-radius:50%;background:#fff;
    display:flex;align-items:center;justify-content:center;font-size:24px;
    box-shadow:0 2px 8px rgba(0,0,0,.2);border:3px solid var(--yellow);
  }
  .ai-wheel-text{font-size:12px;color:var(--green-dark);font-weight:700;margin-top:16px;text-align:center;}
  .ai-wheel-subtext{font-size:10.5px;color:var(--ink-soft);font-weight:500;margin-top:3px;text-align:center;}

  .ai-result{display:none;position:relative;}
  .ai-result.show{display:block;animation:aiPop .45s cubic-bezier(.34,1.56,.64,1);}
  @keyframes aiPop{
    0%{transform:scale(.85);opacity:0;}
    100%{transform:scale(1);opacity:1;}
  }
  .ai-result-card{
    background:linear-gradient(160deg,#0B3B24,#092C1B 55%,#08281A);
    border-radius:22px;overflow:hidden;padding:18px 16px 16px;position:relative;
    box-shadow:0 14px 34px rgba(8,40,26,.45);
  }
  .ai-result-badge{
    display:inline-flex;align-items:center;gap:5px;font-size:11px;font-weight:800;color:var(--green-dark);
    background:var(--yellow);padding:5px 12px;border-radius:999px;margin-bottom:12px;
  }
  .ai-result-flex{display:flex;align-items:center;gap:14px;}
  .ai-result-info{flex:1;min-width:0;}
  .ai-result-eyebrow{font-size:11.5px;color:rgba(255,255,255,.65);font-weight:600;}
  .ai-result-brand{font-size:19px;font-weight:800;color:#fff;letter-spacing:-.01em;margin-top:2px;}
  .ai-result-desc{font-size:11.5px;color:rgba(255,255,255,.7);margin-top:3px;line-height:1.4;}
  .ai-result-thumb{
    flex-shrink:0;width:108px;height:108px;border-radius:18px;position:relative;
    background-size:cover;background-position:center;background-color:rgba(255,255,255,.08);
    box-shadow:0 6px 16px rgba(0,0,0,.3);
  }
  .ai-result-thumb .logo{
    position:absolute;bottom:-8px;left:-8px;width:34px;height:34px;border-radius:50%;
    border:2.5px solid #fff;overflow:hidden;box-shadow:0 2px 6px rgba(0,0,0,.25);background:#fff;
  }
  .ai-result-thumb .logo img{width:100%;height:100%;object-fit:cover;}
  .ai-result-price-row{display:flex;align-items:center;gap:9px;margin-top:14px;flex-wrap:wrap;}
  .ai-result-price{display:flex;align-items:baseline;gap:7px;}
  .ai-result-price .now{color:#fff;font-weight:800;font-size:27px;letter-spacing:-.02em;}
  .ai-result-price .was{color:rgba(255,255,255,.45);font-size:14px;text-decoration:line-through;font-weight:600;}
  .ai-disc-pill{
    background:var(--red2);color:#fff;font-size:12px;font-weight:800;
    padding:5px 11px;border-radius:999px;flex-shrink:0;
  }
  .ai-result-actions{display:flex;gap:8px;margin-top:16px;}
  .ai-order-btn{
    flex:1;background:var(--green);color:#fff;font-weight:800;font-size:13.5px;
    padding:13px 0;border-radius:14px;text-align:center;
  }
  .ai-reroll-btn{
    background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.18);color:#fff;font-weight:700;font-size:13px;
    padding:13px 16px;border-radius:14px;font-family:inherit;white-space:nowrap;
  }

  .ai-luck{
    display:flex;align-items:center;gap:10px;background:linear-gradient(90deg,#FFF8E8,#FFF1D6);
    border-radius:16px;padding:12px 14px;margin-top:16px;
  }
  .ai-luck .ic{font-size:22px;}
  .ai-luck .tx b{display:block;font-size:12.5px;font-weight:800;color:#8A5A00;}
  .ai-luck .tx span{font-size:10.5px;color:#A17A2C;font-weight:500;}

  .ai-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:16px;}
  .ai-stat{text-align:center;padding:12px 4px;background:var(--bg);border-radius:14px;}
  .ai-stat .num{font-size:16px;font-weight:800;color:var(--ink);letter-spacing:-.01em;}
  .ai-stat .lbl{font-size:8.5px;color:var(--ink-soft);font-weight:700;margin-top:2px;line-height:1.3;}

  .ai-community-spins{
    display:flex;align-items:center;justify-content:center;gap:6px;
    background:var(--green-tint);color:var(--green-dark);font-weight:700;font-size:11.5px;
    padding:8px 14px;border-radius:999px;margin-top:14px;text-align:center;
  }
  .ai-community-spins b{font-size:13px;color:var(--green);}

  .confetti-piece{
    position:fixed;top:-10px;width:8px;height:8px;border-radius:2px;pointer-events:none;z-index:999;
    animation:confettiFall linear forwards;
  }
  @keyframes confettiFall{
    to{transform:translateY(100vh) rotate(540deg);opacity:.2;}
  }

  /* ===== Follow banner ===== */
  .follow-banner{
    max-width:1200px;margin:24px auto 0;padding:0 14px;
  }
  .follow-inner{
    background:#FFF6D8;border-radius:16px;padding:16px;
    display:flex;align-items:center;gap:12px;
  }
  .follow-bell{
    width:40px;height:40px;border-radius:50%;background:var(--green);color:#fff;
    display:flex;align-items:center;justify-content:center;font-size:18px;flex-shrink:0;
  }
  .follow-text{flex:1;min-width:0;}
  .follow-text strong{display:block;font-size:14px;font-weight:800;}
  .follow-text span{font-size:12px;color:var(--ink-soft);}
  .follow-btn{
    border:1.5px solid var(--green);color:var(--green);font-weight:700;font-size:13px;
    padding:9px 16px;border-radius:999px;white-space:nowrap;display:flex;align-items:center;gap:6px;
    min-height:38px;
  }

  footer{
    max-width:1200px;margin:32px auto 0;padding:20px 18px;text-align:center;
    color:#666;font-size:14px;line-height:1.8;background:#fff;
  }
  footer a{color:#666;font-weight:400;text-decoration:none;}
  footer a:hover{text-decoration:underline;}
  .footer-about-link{color:#666;font-weight:400;background:none;border:none;font-size:inherit;font-family:inherit;text-decoration:none;cursor:pointer;padding:0;}
  .footer-about-link:hover{text-decoration:underline;}

  /* ===== About / FAQ modal (in-page, avoids needing a second HTML file) ===== */
  .about-modal-overlay{
    position:fixed;inset:0;background:rgba(11,59,36,.55);z-index:200;
    display:none;align-items:flex-end;justify-content:center;
  }
  .about-modal-overlay.open{display:flex;}
  .about-modal{
    background:var(--bg);width:100%;max-width:640px;max-height:92vh;overflow-y:auto;
    border-radius:22px 22px 0 0;-webkit-overflow-scrolling:touch;
  }
  .about-modal-head{
    position:sticky;top:0;background:var(--green-dark);color:#fff;
    padding:18px 20px;border-radius:22px 22px 0 0;z-index:2;
  }
  .about-modal-head h2{font-size:19px;font-weight:800;}
  .about-modal-head p{font-size:12.5px;color:#BFE7CE;margin-top:4px;}
  .about-modal-close{
    position:absolute;top:14px;right:16px;width:32px;height:32px;border-radius:50%;
    background:rgba(255,255,255,.15);color:#fff;border:none;font-size:18px;
    display:flex;align-items:center;justify-content:center;
  }
  .about-modal-body{padding:20px 18px 40px;}
  .about-modal-body section{margin-bottom:24px;}
  .about-modal-body h3{
    font-size:15px;font-weight:800;color:var(--green-dark);margin-bottom:8px;
    display:flex;align-items:center;gap:7px;
  }
  .about-modal-body p{font-size:13.5px;color:var(--ink);margin-bottom:8px;line-height:1.6;}
  .about-card{
    background:#fff;border:1px solid var(--line);border-radius:14px;padding:14px;margin-bottom:10px;
  }
  .about-badge-row{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px;}
  .about-badge{
    background:var(--green-tint);color:var(--green-dark);font-size:11px;font-weight:700;
    padding:5px 10px;border-radius:999px;
  }
  .about-disclaimer{
    background:#FFF8E1;border:1px solid #FFE7A0;border-radius:12px;
    padding:12px 14px;font-size:12px;color:#8A6D00;margin-bottom:22px;line-height:1.55;
  }
  .about-disclaimer b{color:#6B5200;}
  .about-faq details{
    background:#fff;border:1px solid var(--line);border-radius:12px;
    padding:12px 14px;margin-bottom:8px;
  }
  .about-faq details[open]{border-color:var(--green);}
  .about-faq summary{
    font-size:13.5px;font-weight:700;cursor:pointer;list-style:none;
    display:flex;justify-content:space-between;align-items:center;gap:8px;
  }
  .about-faq summary::-webkit-details-marker{display:none;}
  .about-faq summary::after{content:"+";font-size:18px;color:var(--green);flex-shrink:0;}
  .about-faq details[open] summary::after{content:"–";}
  .about-faq p{font-size:12.5px;color:var(--ink-soft);margin-top:8px;padding-top:8px;border-top:1px solid var(--line);}

  /* ===== Bottom nav ===== */
  .bottom-nav{
    position:fixed;bottom:0;left:0;right:0;z-index:60;
    background:#fff;border-top:1px solid var(--line);
    display:flex;justify-content:space-around;align-items:center;
    padding:8px 4px calc(8px + env(safe-area-inset-bottom));
  }
  .nav-item{
    flex:1;display:flex;flex-direction:column;align-items:center;gap:3px;
    color:var(--ink-soft);font-size:10.5px;font-weight:600;min-width:0;padding:4px 0;
    background:none;border:none;font-family:inherit;cursor:pointer;text-decoration:none;
  }
  .nav-item .nav-icon{width:22px;height:22px;}
  .nav-item.active{color:var(--green);}

  .toast{
    position:fixed;bottom:86px;left:50%;transform:translateX(-50%) translateY(20px);
    background:var(--ink);color:#fff;font-size:13px;font-weight:600;
    padding:10px 18px;border-radius:999px;opacity:0;pointer-events:none;
    transition:opacity .2s ease, transform .2s ease;z-index:100;
  }
  .toast.show{opacity:1;transform:translateX(-50%) translateY(0);}

  /* ===== Floating "What should I eat?" wheel button ===== */
  .fab-wheel{
    position:fixed;right:16px;bottom:150px;z-index:65;
    width:68px;height:68px;border-radius:50%;
    background:var(--green);border:none;padding:0;margin:0;
    cursor:pointer;font-family:inherit;overflow:visible;
    box-shadow:0 6px 18px rgba(0,177,79,.4), 0 2px 6px rgba(20,24,26,.14);
    opacity:0;transform:scale(.85);pointer-events:none;
    transition:opacity .35s ease, transform .25s ease, box-shadow .2s ease;
    -webkit-tap-highlight-color:transparent;
  }
  .fab-wheel.visible{opacity:1;transform:scale(1);pointer-events:auto;}
  .fab-wheel:hover{transform:scale(1.05);box-shadow:0 8px 22px rgba(0,177,79,.48), 0 3px 9px rgba(20,24,26,.16);}
  .fab-wheel:active{transform:scale(.95);}
  .fab-wheel:focus-visible{outline:3px solid #fff;outline-offset:2px;box-shadow:0 0 0 5px rgba(0,177,79,.4);}
  .fab-float{
    position:relative;width:100%;height:100%;border-radius:50%;overflow:hidden;
    display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;
    color:#fff;animation:fabFloatY 2.6s ease-in-out infinite;
  }
  .fab-icon-img{width:100%;height:100%;object-fit:cover;display:block;}
  @keyframes fabFloatY{0%,100%{transform:translateY(0);}50%{transform:translateY(-5px);}}
  .fab-wheel .ripple{
    position:absolute;border-radius:50%;background:rgba(255,255,255,.5);
    transform:scale(0);animation:fabRipple .5s ease-out;pointer-events:none;
  }
  @keyframes fabRipple{to{transform:scale(2.5);opacity:0;}}
  .fab-badge{
    position:absolute;top:-6px;right:-6px;
    background:var(--red);color:#fff;font-size:8px;font-weight:800;white-space:nowrap;
    padding:3px 6px;border-radius:999px;
    box-shadow:0 2px 6px rgba(232,53,47,.45),0 0 0 2px #fff;
    animation:fabBadgePulse 2.2s ease-in-out infinite;
  }
  .fab-badge.hide{display:none;}
  @keyframes fabBadgePulse{0%,100%{transform:scale(1);}50%{transform:scale(1.15);}}
  .fab-hint{
    position:absolute;right:78px;top:50%;transform:translateY(-50%);
    background:var(--ink);color:#fff;font-size:11px;font-weight:700;white-space:nowrap;
    padding:7px 12px;border-radius:999px;box-shadow:0 4px 10px rgba(0,0,0,.25);
    animation:fabHintPulse 2.6s ease-in-out infinite;pointer-events:none;
  }
  .fab-hint::after{
    content:"";position:absolute;right:-5px;top:50%;transform:translateY(-50%);
    width:0;height:0;border-top:5px solid transparent;border-bottom:5px solid transparent;
    border-left:6px solid var(--ink);
  }
  .fab-hint.hide{display:none;}
  @keyframes fabHintPulse{0%,100%{opacity:1;}50%{opacity:.72;}}
  @media(prefers-reduced-motion: reduce){
    .fab-float, .fab-badge, .fab-hint{animation:none;}
  }

  @media(max-width:400px){
    .logo-text p{display:none;}
  }
  @media (prefers-color-scheme: dark){
    html, body{background:var(--bg) !important; color:var(--ink) !important;}
    header, .coupon-card, .deal-card, .side-card, .bottom-nav{background:#fff !important;}
    .section, .section-head h2, .coupon-head h2, .deal-brand, .deal-title, .deal-desc,
    .coupon-code, .coupon-value, .coupon-cond, .nav-item, .logo-text h1, .logo-text p{
      color:var(--ink) !important;
    }
    .section-head h2, .coupon-head h2{color:var(--ink) !important;}
    .section-head h2 .accent, .coupon-head h2 .accent{color:var(--green) !important;}
  }
  /* ===== LINE Add Friend banner (secondary CTA, never covers primary LINE MAN CTA or floating wheel) ===== */
  .line-add-banner{
    background:#FFFFFF;border:2px solid #06C755;border-radius:16px;
    box-shadow:0 4px 12px rgba(6,199,85,0.15);padding:20px;margin:14px 16px;
    display:flex;align-items:center;justify-content:space-between;gap:16px;
  }
  .line-add-banner .lab-body{flex:1;min-width:0;display:flex;align-items:center;gap:12px;}
  .line-add-banner .lab-icon{flex:0 0 52px;width:52px;height:52px;}
  .line-add-banner .lab-text{flex:1;min-width:0;}
  .line-add-banner .lab-title{font-size:18px;font-weight:800;color:#000;line-height:1.3;}
  .line-add-banner .lab-sub{font-size:14px;color:#666;margin-top:4px;line-height:1.4;}
  .line-add-banner .lab-tags{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px;}
  .line-add-banner .lab-tag{
    font-size:11px;font-weight:700;color:#666;background:#F5F5F5;
    border-radius:999px;padding:4px 10px;white-space:nowrap;
  }
  .line-add-banner .lab-cta{flex:0 0 auto;display:flex;flex-direction:column;align-items:center;gap:6px;}
  .line-add-banner .lab-btn{
    background:#06C755;color:#fff;font-size:14px;font-weight:800;
    padding:12px 24px;border-radius:24px;white-space:nowrap;text-decoration:none;text-align:center;
  }
  .line-add-banner .lab-note{font-size:11px;color:#999;white-space:nowrap;}
  @media(max-width:480px){
    .line-add-banner{flex-direction:column;align-items:stretch;}
    .line-add-banner .lab-cta{width:100%;}
    .line-add-banner .lab-btn{width:100%;box-sizing:border-box;}
    .line-add-banner .lab-note{text-align:center;}
  }
  /* ===== SEO landing content: code table / code list / hero promo card ===== */
  .seo-code-section{padding:6px 14px 4px;}
  .seo-code-section h2{font-size:16px;font-weight:800;color:var(--ink);margin-bottom:10px;}
  .seo-code-table-wrap{
    overflow-x:auto;border-radius:14px;border:1px solid rgba(0,0,0,.08);
    box-shadow:0 2px 8px rgba(0,0,0,.04);-webkit-overflow-scrolling:touch;
  }
  .seo-code-table{width:100%;border-collapse:collapse;font-size:12px;min-width:520px;}
  .seo-code-table th{
    background:var(--green);color:#fff;font-size:11.5px;font-weight:800;
    padding:9px 10px;text-align:left;white-space:nowrap;
  }
  .seo-code-table td{padding:9px 10px;border-top:1px solid rgba(0,0,0,.06);vertical-align:top;color:var(--ink);}
  .seo-code-table tr:nth-child(even) td{background:#FAFBF9;}
  .seo-code-table .code-chip{
    display:inline-block;font-weight:800;color:var(--green-dark);background:var(--green-tint);
    padding:3px 9px;border-radius:7px;letter-spacing:.3px;white-space:nowrap;cursor:pointer;
  }
  .seo-code-table .discount-cell{font-weight:800;color:var(--red);white-space:nowrap;}
  .seo-code-table .until-cell{white-space:nowrap;color:var(--ink-soft);font-size:11.5px;}

  .seo-code-list{display:flex;flex-direction:column;gap:8px;}
  .seo-code-list-item{
    display:flex;align-items:center;gap:10px;background:#fff;border:1px solid rgba(0,0,0,.08);
    border-radius:12px;padding:10px 12px;box-shadow:0 2px 6px rgba(0,0,0,.03);
  }
  .seo-code-list-item .code-chip{
    flex:0 0 auto;font-weight:800;color:var(--green-dark);background:var(--green-tint);
    padding:5px 10px;border-radius:8px;font-size:12px;letter-spacing:.3px;cursor:pointer;
  }
  .seo-code-list-item .scli-body{flex:1;min-width:0;}
  .seo-code-list-item .scli-discount{font-size:13px;font-weight:800;color:var(--red);}
  .seo-code-list-item .scli-cond{font-size:11.5px;color:var(--ink-soft);margin-top:1px;line-height:1.35;}

  .seo-hero-card{
    background:linear-gradient(135deg,var(--green) 0%,#0F4A2C 100%);border-radius:18px;
    padding:18px;color:#fff;margin-bottom:12px;box-shadow:0 6px 18px rgba(0,177,79,.28);
  }
  .seo-hero-card .shc-code{
    display:inline-block;font-weight:800;background:rgba(255,255,255,.18);
    padding:5px 12px;border-radius:8px;font-size:13px;letter-spacing:.5px;margin-bottom:8px;cursor:pointer;
  }
  .seo-hero-card .shc-title{font-size:18px;font-weight:800;line-height:1.35;}
  .seo-hero-card .shc-sub{font-size:12.5px;opacity:.92;margin-top:6px;line-height:1.4;}
  .seo-copied-toast{
    position:fixed;left:50%;bottom:90px;transform:translateX(-50%);
    background:#0B3B24;color:#fff;font-size:12.5px;font-weight:700;
    padding:9px 18px;border-radius:999px;z-index:999;opacity:0;pointer-events:none;
    transition:opacity .2s ease;
  }
  .seo-copied-toast.show{opacity:1;}

  /* ===== /lineman-code/ page: detailed code cards for SEO ===== */
  .lc-updated{font-size:13px;font-weight:700;color:var(--ink);margin-top:6px;}
  .lc-disclaimer{font-size:11px;color:var(--ink-soft);line-height:1.6;margin-top:6px;margin-bottom:16px;}
  .lc-card{
    background:#fff;border:1px solid rgba(0,0,0,.08);border-radius:14px;
    padding:14px;margin-bottom:12px;box-shadow:0 2px 6px rgba(0,0,0,.04);
  }
  .lc-code{font-size:20px;font-weight:800;color:var(--green-dark);letter-spacing:.5px;margin-bottom:8px;cursor:pointer;}
  .lc-row{font-size:12.5px;color:var(--ink);margin-bottom:4px;line-height:1.5;}
  .lc-row .lc-label{font-weight:700;color:var(--ink-soft);margin-right:4px;}
  .lc-meta{font-size:10.5px;color:#999;margin-top:8px;padding-top:8px;border-top:1px dashed rgba(0,0,0,.08);}
  .lc-actions{display:flex;gap:8px;margin-top:10px;}
  .lc-copy-btn{
    flex:1;background:var(--green-tint);color:var(--green-dark);font-weight:800;font-size:12.5px;
    padding:10px 0;border-radius:10px;border:none;font-family:inherit;cursor:pointer;
  }
  .lc-order-btn{
    flex:1;background:var(--green);color:#fff;font-weight:800;font-size:12.5px;
    padding:10px 0;border-radius:10px;text-align:center;text-decoration:none;
  }
/* ===== ShopeeFood voucher cards (collect-in-app style, no manual code entry) ===== */
  .shopee-voucher-card{
    display:flex;border-radius:12px;overflow:hidden;margin-bottom:10px;
    border:1px solid rgba(0,0,0,.08);box-shadow:0 2px 6px rgba(0,0,0,.04);background:#fff;
  }
  .shopee-voucher-icon{
    width:74px;flex:0 0 74px;display:flex;flex-direction:column;align-items:center;justify-content:center;
    color:#fff;font-size:10px;font-weight:800;text-align:center;padding:8px 4px;gap:4px;line-height:1.3;
  }
  .shopee-voucher-icon .svi-emoji{font-size:22px;}
  .shopee-voucher-body{flex:1;min-width:0;padding:11px 12px;}
  .shopee-voucher-title{font-size:14.5px;font-weight:800;color:var(--ink);}
  .shopee-voucher-sub{font-size:12px;color:var(--ink-soft);margin-top:2px;}
  .shopee-voucher-tag{
    display:inline-block;font-size:10px;font-weight:700;color:#EE4D2D;border:1px solid #EE4D2D;
    border-radius:6px;padding:1px 7px;margin-top:6px;
  }
  .shopee-voucher-footer{display:flex;align-items:center;justify-content:space-between;margin-top:8px;}
  .shopee-voucher-note{font-size:11px;color:var(--ink-soft);}
  .shopee-voucher-btn{
    background:#EE4D2D;color:#fff;font-weight:800;font-size:12.5px;
    padding:7px 20px;border-radius:8px;white-space:nowrap;text-decoration:none;
  }

/* LINE MAN icon inside order CTA */
.order-btn,.featured-deal-order-btn,#featuredDealLink{display:inline-flex;align-items:center;justify-content:center;gap:6px}
.lineman-order-icon{width:20px;height:20px;border-radius:5px;flex:0 0 auto;display:inline-block;background-image:url("data:image/png;base64,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");background-size:contain;background-position:center;background-repeat:no-repeat}

/* V11 mobile deal-card fit tuning */
@media (max-width:640px){
  .deal-grid{gap:10px;}
  .deal-card{border-radius:14px;}
  .deal-thumb{height:112px;}
  .deal-thumb .discount-badge{top:7px;left:7px;font-size:10px;padding:4px 8px;}
  .deal-thumb .new-badge{top:7px;right:7px;font-size:9.5px;padding:4px 7px;}
  .deal-thumb .brand-badge{left:9px;bottom:-15px;width:32px;height:32px;}
  .deal-body{padding:18px 10px 10px;gap:3px;min-width:0;}
  .deal-brand{font-size:12.5px;line-height:1.3;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;}
  .deal-desc{font-size:10.8px;line-height:1.35;-webkit-line-clamp:2;min-height:29px;}
  .deal-countdown{font-size:10.2px;padding:4px 6px;gap:3px;max-width:100%;}
  .deal-ordercount{font-size:9.8px;gap:3px;}
  .deal-bottom{gap:4px;margin-top:6px;min-width:0;}
  .deal-price{gap:4px;min-width:0;flex:1 1 auto;}
  .deal-price .now{font-size:15px;white-space:nowrap;}
  .deal-price .was{font-size:9.8px;white-space:nowrap;}
  .order-btn{font-size:11.5px;padding:8px 10px;min-height:34px;gap:4px;flex:0 0 auto;}
  .lineman-order-icon{width:17px;height:17px;border-radius:4px;}
}
@media (max-width:370px){
  .deal-grid{gap:8px;}
  .deal-thumb{height:105px;}
  .deal-body{padding-left:8px;padding-right:8px;}
  .deal-brand{font-size:12px;}
  .deal-desc{font-size:10.3px;}
  .deal-countdown{font-size:9.6px;}
  .deal-ordercount{font-size:9.2px;}
  .deal-price .now{font-size:14px;}
  .deal-price .was{font-size:9px;}
  .order-btn{font-size:10.8px;padding:7px 8px;min-height:32px;}
  .lineman-order-icon{width:16px;height:16px;}
}
