/* ==========================================================================
   JS Grocery theme v2 - "soft bakery" look. Loaded after omc-theme.css.
   No thick outlines / hard offset shadows: white rounded surfaces, soft
   glows, pink frosting gradients, golden dough accents, rainbow sprinkles.
   ========================================================================== */
:root {
    --omc-ink: #4A1D2E;          /* plum text */
    --omc-ink-soft: #6B4A57;
    --omc-muted: #9A7F8A;
    --omc-cream: #FFF9F6;        /* page background */
    --omc-cream-2: #FFF0F5;      /* frosting tint */
    --omc-paper: #FFFFFF;
    --omc-orange: #F46FB1;
    --omc-orange-soft: #FFD9EA;
    --omc-caramel: #D63F8C;      /* accent text / links */
    --omc-caramel-dark: #A92D6C;
    --omc-blush: #F9CB8C;
    --omc-red: #E0434F;
    --omc-line: rgba(74, 29, 46, .09);
    --omc-radius: 20px;
    --omc-shadow: 0 1px 2px rgba(74, 29, 46, .05), 0 10px 28px -12px rgba(74, 29, 46, .18);
    --omc-shadow-sm: 0 1px 2px rgba(74, 29, 46, .06), 0 4px 14px -6px rgba(74, 29, 46, .16);
    --omc-font-head: 'Baloo 2', 'Plus Jakarta Sans', system-ui, sans-serif;
    --omc-font-body: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --omc-font-display: 'Baloo 2', system-ui, sans-serif;

    --jsg-line: rgba(74, 29, 46, .09);
    --jsg-line-strong: rgba(74, 29, 46, .18);
    --jsg-shadow-hover: 0 2px 4px rgba(74, 29, 46, .05), 0 20px 40px -16px rgba(214, 63, 140, .38);
    --jsg-glow: 0 8px 20px -8px rgba(214, 63, 140, .55);
    --jsg-grad: linear-gradient(135deg, #FF8CC3 0%, #F25CA7 55%, #D63F8C 100%);
    --jsg-grad-soft: linear-gradient(135deg, #FFF0F6 0%, #FFF4E6 100%);
    --jsg-pink: #F46FB1;
    --jsg-pink-deep: #D63F8C;
    --jsg-pink-tint: #FFE6F1;
    --jsg-dough: #F9CB8C;
    --jsg-dough-soft: #FFF0DB;
    --jsg-mint: #E3F6EA;
    --jsg-sprinkle-1: #6EA8F7;
}

body.omc { background: var(--omc-cream); }
body.omc h1, body.omc h2, body.omc h3, body.omc h4 { letter-spacing: 0; }
body.omc ::selection { background: var(--jsg-pink); color: #fff; }

/* Sprinkles pattern (board header, footer band) */
.jsg-sprinkles, .jsg-lb::before, .omc-footer-paws {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cg fill='none' stroke-linecap='round' stroke-width='4.5'%3E%3Cpath d='M14 20l9 5' stroke='%236EA8F7'/%3E%3Cpath d='M60 12l-3 10' stroke='%23F7C948'/%3E%3Cpath d='M104 26l10-3' stroke='%236ACB7C'/%3E%3Cpath d='M34 62l3 9' stroke='%23A77DE6'/%3E%3Cpath d='M84 58l-9 5' stroke='%23F46FB1'/%3E%3Cpath d='M124 72l-4 9' stroke='%236EA8F7'/%3E%3Cpath d='M16 108l10-2' stroke='%23F7C948'/%3E%3Cpath d='M62 104l6 8' stroke='%236ACB7C'/%3E%3Cpath d='M108 116l-9-4' stroke='%23A77DE6'/%3E%3C/g%3E%3C/svg%3E");
    background-size: 140px 140px;
    background-repeat: repeat;
}

/* ---------- Announcement ---------- */
.omc-announce { background: var(--jsg-grad); color: #fff; font-weight: 600; letter-spacing: .2px; }
.omc-announce i { color: #FFF3C4; }
.omc-announce-sep { opacity: .5; }

/* ---------- Header ---------- */
header.omc-header {
    background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px);
    border-bottom: 1px solid var(--jsg-line); box-shadow: 0 6px 24px -18px rgba(74, 29, 46, .35);
}
.omc-header .header-logo { max-height: 56px; }
.omc-header .omc-logo-link:hover .header-logo { transform: scale(1.04); }
.omc-header .primary-menu > a, .omc-nav-drop-btn { font-weight: 600; font-size: 16px; border: 0; color: var(--omc-ink-soft); padding: 8px 14px; }
.omc-header .primary-menu > a:hover, .omc-nav-drop-btn:hover { background: var(--omc-cream-2); color: var(--jsg-pink-deep); }
.omc-header .primary-menu > a.is-active { background: var(--jsg-pink-tint); color: var(--jsg-pink-deep); border: 0; }
.omc-nav-drop-menu { border: 1px solid var(--jsg-line) !important; border-radius: 16px !important; box-shadow: var(--omc-shadow) !important; }
body.omc .omc-search input { border: 1px solid var(--jsg-line-strong); background: #FFF7FA; border-radius: 999px; }
body.omc .omc-search input:focus { border-color: var(--jsg-pink); box-shadow: 0 0 0 4px var(--jsg-pink-tint); background: #fff; }
.omc-header .cart-icon-wrapper { border: 0 !important; background: var(--omc-cream-2) !important; color: var(--jsg-pink-deep) !important; box-shadow: none !important; }
.omc-header .cart-icon-wrapper:hover { background: var(--jsg-grad) !important; color: #fff !important; transform: translateY(-2px); }
.omc-header .user-avatar { border: 2px solid #fff !important; box-shadow: 0 0 0 2px var(--jsg-pink), var(--omc-shadow-sm); }
body.omc .auth-btn-header { background: var(--jsg-grad); color: #fff; border: 0; box-shadow: var(--jsg-glow); }
body.omc .auth-btn-header:hover { filter: brightness(1.05); transform: translateY(-1px); }

/* ---------- Buttons ---------- */
body.omc .btn-card, body.omc .btn, body.omc .submit-btn, .omc-btn { border: 0 !important; border-radius: 999px; font-family: var(--omc-font-body); font-weight: 700; }
body.omc .btn-add-cart, body.omc .btn, body.omc .submit-btn { background: var(--jsg-grad); color: #fff; box-shadow: var(--jsg-glow); }
body.omc .btn-add-cart:hover, body.omc .btn:hover, body.omc .submit-btn:hover { background: var(--jsg-grad); color: #fff; filter: brightness(1.06); transform: translateY(-1px); }
body.omc .btn-full-pay { background: #fff; color: var(--jsg-pink-deep); box-shadow: inset 0 0 0 1.5px var(--jsg-pink); }
body.omc .btn-full-pay:hover { background: var(--jsg-pink-tint); color: var(--jsg-pink-deep); }
body.omc .btn-deposit { background: var(--jsg-dough); color: var(--omc-ink); box-shadow: none; }
body.omc .btn-deposit:hover { background: #F6B962; }
body.omc .btn-card:disabled, body.omc .btn-card[disabled] { background: #F1E8EC !important; color: #A8949C !important; box-shadow: none !important; filter: none; transform: none; }
body.omc .btn-secondary { background: #fff; color: var(--jsg-pink-deep); box-shadow: inset 0 0 0 1.5px var(--jsg-line-strong); }
.omc-btn { box-shadow: none; transition: transform .15s ease, box-shadow .15s ease, filter .15s ease; }
.omc-btn-primary { background: var(--jsg-grad); color: #fff !important; box-shadow: var(--jsg-glow); }
.omc-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 26px -10px rgba(214, 63, 140, .65); filter: brightness(1.05); }
.omc-btn-ghost { background: #fff; color: var(--jsg-pink-deep) !important; box-shadow: inset 0 0 0 1.5px var(--jsg-line-strong); }
.omc-btn-ghost:hover { transform: translateY(-2px); background: var(--jsg-pink-tint); box-shadow: inset 0 0 0 1.5px var(--jsg-pink); }

/* ---------- Forms & modal ---------- */
body.omc input[type="text"], body.omc input[type="email"], body.omc input[type="password"], body.omc input[type="number"],
body.omc input[type="tel"], body.omc select, body.omc textarea { border: 1px solid var(--jsg-line-strong); border-radius: 14px; }
body.omc input:focus, body.omc select:focus, body.omc textarea:focus { border-color: var(--jsg-pink); box-shadow: 0 0 0 4px var(--jsg-pink-tint); }
body.omc .modal { background: rgba(74, 29, 46, .38); backdrop-filter: blur(6px); }
body.omc .modal-content { border: 0; border-radius: 28px; box-shadow: 0 30px 80px -20px rgba(74, 29, 46, .45); }
body.omc .modal-content::before { background-image: url('../images/jsg-donut.svg?v=1'); width: 104px; height: 104px; top: -52px; }
body.omc .auth-toggle { background: var(--omc-cream-2); }
body.omc .auth-toggle button.active { background: var(--jsg-grad); color: #fff; }

/* ---------- Sections ---------- */
.omc-campaign-banner { background: transparent; padding: 18px 5% 0; }
.omc-campaign-banner img { border-radius: 24px; box-shadow: var(--omc-shadow); max-width: 1240px; }
body.omc .store-container { padding-top: 16px; }
body.omc .section-header { margin: 44px 0 18px; }
body.omc .section-header h2 { font-family: var(--omc-font-head); font-weight: 800; font-size: 30px; gap: 12px; color: var(--omc-ink); }
body.omc .section-header h2::before { width: 8px; height: 28px; border-radius: 999px; background: var(--jsg-grad); border: 0; box-shadow: none; }
body.omc .view-more-link { border: 0 !important; box-shadow: none !important; background: var(--jsg-pink-tint); color: var(--jsg-pink-deep) !important; border-radius: 999px; font-weight: 700; }
body.omc .view-more-link:hover { background: var(--jsg-grad); color: #fff !important; }

/* ---------- Product cards ---------- */
body.omc .product-card { border: 1px solid var(--jsg-line); border-radius: 22px; box-shadow: var(--omc-shadow); background: #fff; overflow: hidden; transition: transform .2s ease, box-shadow .2s ease; }
body.omc .product-card:hover { transform: translateY(-4px); box-shadow: var(--jsg-shadow-hover); }
body.omc .card-img { background: var(--jsg-grad-soft); border: 0; margin: 8px 8px 0; border-radius: 16px; }
body.omc .main-image-box { background: var(--jsg-grad-soft); border: 1px solid var(--jsg-line); border-radius: 24px; box-shadow: var(--omc-shadow); }
body.omc .card-game { color: var(--jsg-pink-deep); }
body.omc .card-title { font-weight: 700 !important; }
body.omc .card-price { font-family: var(--omc-font-head); font-weight: 800 !important; color: var(--omc-ink) !important; }
body.omc .card-badge { border: 0; border-radius: 999px; box-shadow: 0 4px 12px -4px rgba(74, 29, 46, .3); font-weight: 700; }
body.omc .card-badge.badge-po { background: var(--jsg-dough); color: var(--omc-ink); }
body.omc .card-badge.badge-sale { background: var(--jsg-grad); color: #fff; }
body.omc .card-badge.badge-soldout-tag { background: var(--omc-ink); color: #fff; }

/* ---------- Catalog, detail, account ---------- */
body.omc .catalog-toolbar { border: 1px solid var(--jsg-line); border-radius: 20px; box-shadow: var(--omc-shadow); }
body.omc .page-link { border: 1px solid var(--jsg-line-strong); border-radius: 12px; box-shadow: none; }
body.omc .page-link.active, body.omc .page-link:hover { background: var(--jsg-grad); color: #fff; border-color: transparent; }
body.omc .order-card, body.omc .address-card, body.omc .voucher-card, body.omc .responsive-table-wrapper { border: 1px solid var(--jsg-line) !important; border-radius: 20px; box-shadow: var(--omc-shadow) !important; }
body.omc .detail-price-box { background: var(--jsg-grad-soft); border: 1px solid var(--jsg-line); box-shadow: none; }
body.omc .detail-status-badge { border: 0; background: var(--jsg-pink-tint); color: var(--jsg-pink-deep); }
body.omc .thumbnail.active, body.omc .thumbnail:hover { border-color: var(--jsg-pink) !important; }
body.omc .sidebar-nav a.active, body.omc .sidebar-nav a:hover { background: var(--jsg-pink-tint); color: var(--jsg-pink-deep); }
body.omc .voucher-left { background: var(--jsg-grad) !important; }
body.omc .voucher-left * { color: #fff !important; }
body.omc .side-cart { box-shadow: none !important; border: 0 !important; }
body.omc .side-cart.open { box-shadow: -20px 0 60px -20px rgba(74, 29, 46, .35) !important; }
body.omc .side-cart-header { background: var(--jsg-grad); border-bottom: 0; }
body.omc .side-cart-header h3, body.omc .side-cart-header .close-cart-btn { color: #fff; }
body.omc .mobile-sticky-action-bar, body.omc .cart-sticky-bottom { border-top: 1px solid var(--jsg-line); box-shadow: 0 -10px 30px -18px rgba(74, 29, 46, .4); }
.omc-pay-card { border: 1px solid var(--jsg-line); border-radius: 26px; box-shadow: var(--omc-shadow); }
.omc-qr-box img { border: 1px solid var(--jsg-line); box-shadow: var(--omc-shadow-sm); }
.omc-upload { border: 1.5px dashed var(--jsg-pink); background: #FFF7FA; }
.omc-empty-store img { width: 140px; }

/* ---------- Footer (light) ---------- */
.omc-footer { background: linear-gradient(180deg, #FFF0F6 0%, #FFF6EC 100%); color: var(--omc-ink-soft); margin-top: 70px; border-top: 1px solid var(--jsg-line); }
.omc-footer-paws { height: 34px; background-color: transparent; opacity: .9; }
body.omc .omc-footer h4, .omc-footer h4 { color: var(--omc-ink); font-family: var(--omc-font-head); font-weight: 800; }
.omc-footer-col a, .omc-footer-brand p { color: var(--omc-ink-soft); }
.omc-footer-col a:hover { color: var(--jsg-pink-deep); }
.omc-footer-logo { width: 170px; background: #fff; border: 0; border-radius: 20px; padding: 8px 12px; box-shadow: var(--omc-shadow-sm); }
.omc-pay-icons span { background: #fff; border: 1px solid var(--jsg-line); color: var(--omc-ink); }
.omc-footer-bottom { border-top: 1px solid var(--jsg-line); color: var(--omc-muted); }

/* ==========================================================================
   Lucky Number Board (kitty grid)
   ========================================================================== */
.jsg-lb-wrap { max-width: 1680px; margin: 0 auto; padding: 28px 2.5% 8px; }
.jsg-lb {
    position: relative; background: #fff; border: 1px solid var(--jsg-line); border-radius: 30px;
    box-shadow: 0 2px 4px rgba(74, 29, 46, .04), 0 24px 60px -28px rgba(214, 63, 140, .45); padding: 24px 24px 18px; overflow: hidden;
}
.jsg-lb::before {
    content: ""; position: absolute; inset: 0 0 auto 0; height: 110px; pointer-events: none;
    background-color: #FFF0F6;
    -webkit-mask-image: linear-gradient(#000 40%, transparent); mask-image: linear-gradient(#000 40%, transparent);
}
.jsg-lb > * { position: relative; }
.jsg-lb-head { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; min-height: 70px; margin-bottom: 18px; }
.jsg-lb-badge {
    width: 64px; height: 64px; flex: 0 0 64px; border-radius: 50%; background: #fff; border: 0;
    display: grid; place-items: center; box-shadow: 0 0 0 4px var(--jsg-pink-tint), 0 10px 20px -10px rgba(214, 63, 140, .6);
}
.jsg-lb-badge svg { width: 46px; height: 46px; color: var(--omc-ink); }
.jsg-lb-title { flex: 1 1 260px; min-width: 0; }
.jsg-lb-title h2 { font-family: var(--omc-font-display); font-weight: 800; font-size: clamp(26px, 3.2vw, 36px); margin: 0; color: var(--omc-ink); line-height: 1.05; }
.jsg-lb-title p { margin: 4px 0 0; font-weight: 600; color: var(--omc-ink-soft); font-size: 14px; }
.jsg-lb-cta { display: flex; gap: 10px; flex-wrap: wrap; }

.jsg-lb-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) 2fr; gap: 12px; margin-bottom: 16px; }
.jsg-lb-stat { border: 0; border-radius: 18px; padding: 12px 16px; background: #FAF5F7; }
.jsg-lb-stat span { display: block; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .8px; color: var(--omc-muted); }
.jsg-lb-stat strong { font-family: var(--omc-font-head); font-weight: 800; font-size: 30px; color: var(--omc-ink); line-height: 1.1; }
.jsg-lb-stat.is-free { background: var(--jsg-mint); }
.jsg-lb-stat.is-free strong { color: #1F7A3A; }
.jsg-lb-stat.is-taken { background: var(--jsg-pink-tint); }
.jsg-lb-stat.is-taken strong { color: var(--jsg-pink-deep); }
.jsg-lb-progress { border: 0; border-radius: 18px; padding: 12px 16px; background: #FAF5F7; display: flex; flex-direction: column; justify-content: center; gap: 10px; }
.jsg-lb-progress span { font-size: 11px; font-weight: 700; color: var(--omc-muted); text-transform: uppercase; letter-spacing: .8px; display: flex; justify-content: space-between; }
.jsg-lb-bar { height: 12px; border-radius: 999px; border: 0; background: #EFE3E8; overflow: hidden; }
.jsg-lb-bar i { display: block; height: 100%; border-radius: 999px; background: var(--jsg-grad); }

.jsg-lb-notice {
    display: flex; align-items: center; gap: 12px; flex-wrap: wrap; border: 0; border-radius: 16px;
    background: #FFF8E8; padding: 12px 16px; margin-bottom: 14px; font-weight: 600; color: var(--omc-ink); font-size: 14px;
}
.jsg-lb-notice.is-picks { background: var(--jsg-mint); }
.jsg-lb-notice i { font-size: 18px; color: var(--jsg-pink-deep); }
.jsg-lb-notice .omc-btn { padding: 8px 16px; font-size: 14px; margin-left: auto; }
.jsg-lb-notice > span { flex: 1 1 200px; }

.jsg-lb-legend { display: flex; gap: 16px; flex-wrap: wrap; font-size: 12px; font-weight: 700; color: var(--omc-ink-soft); margin: 0 0 12px; }
.jsg-lb-legend span { display: inline-flex; align-items: center; gap: 6px; }
.jsg-lb-legend b { width: 14px; height: 14px; border-radius: 5px; border: 1px solid var(--jsg-line-strong); display: inline-block; }
.jsg-lb-legend .lg-free b { background: #fff; }
.jsg-lb-legend .lg-taken b { background: var(--jsg-dough-soft); border-color: #F3D9B1; }
.jsg-lb-legend .lg-mine b { background: #CDEFD8; border-color: #A9DDBA; }
.jsg-lb-legend .lg-sel b { background: var(--jsg-grad); border-color: transparent; }

.jsg-lb-grid { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 10px; }
.jsg-cell {
    position: relative; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 10px 4px 8px; min-width: 0;
    border: 1px solid var(--jsg-line); border-radius: 18px; background: #fff; color: var(--omc-ink); font: inherit; cursor: pointer;
    box-shadow: 0 1px 2px rgba(74, 29, 46, .04);
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease; text-align: center; -webkit-tap-highlight-color: transparent;
}
.jsg-cell svg { width: 68%; max-width: 52px; aspect-ratio: 1; display: block; --kf: #fff; color: rgba(74, 29, 46, .3); }
.jsg-cell-no { font-family: var(--omc-font-head); font-weight: 800; font-size: 14px; line-height: 1; background: #F5EBEF; color: var(--omc-ink); border-radius: 999px; padding: 4px 9px 3px; margin-top: 2px; }
.jsg-cell-name { font-size: 12px; font-weight: 700; line-height: 1.2; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--omc-ink-soft); min-height: 14px; }
.jsg-cell.is-free .jsg-cell-name { color: #2E8B4B; font-weight: 600; }
.jsg-l-short { display: none; }
@media (hover: hover) {
    .jsg-cell.is-free:not(.is-selected):hover { transform: translateY(-3px); box-shadow: var(--jsg-shadow-hover); border-color: #FFC6E0; }
    .jsg-cell.is-free:not(.is-selected):hover svg { color: var(--jsg-pink-deep); }
}
.jsg-cell.is-taken { background: var(--jsg-dough-soft); border-color: #F6E0BF; cursor: default; box-shadow: none; }
.jsg-cell.is-taken svg { color: var(--omc-ink); --kf: #FFFBF4; }
.jsg-cell.is-taken .jsg-cell-no { background: var(--jsg-grad); color: #fff; }
.jsg-cell.is-taken .jsg-cell-name { font-family: 'Caveat', 'Comic Sans MS', cursive; font-size: 16px; font-weight: 700; color: #2B3D8F; }
.jsg-cell.is-mine { background: #E3F6EA; border-color: #BFE6CB; }
.jsg-cell.is-mine::after { content: "\f004"; font-family: "Font Awesome 6 Free"; font-weight: 900; position: absolute; top: 6px; right: 8px; font-size: 11px; color: var(--jsg-pink-deep); }
.jsg-cell.is-selected { background: var(--jsg-grad); border-color: transparent; transform: translateY(-3px); box-shadow: 0 14px 26px -12px rgba(214, 63, 140, .75); }
.jsg-cell.is-selected svg { color: var(--omc-ink); --kf: #FFF0F7; }
.jsg-cell.is-selected .jsg-cell-name { color: #fff; }
.jsg-cell.is-selected .jsg-cell-no { background: #fff; color: var(--jsg-pink-deep); }
.jsg-cell:focus-visible { outline: 3px solid var(--jsg-sprinkle-1); outline-offset: 2px; }
.jsg-cell.is-locked { cursor: not-allowed; }
.jsg-lb.is-closed .jsg-cell.is-free { cursor: default; opacity: .7; }

.jsg-lb-foot { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-top: 14px; font-size: 12px; font-weight: 600; color: var(--omc-muted); }

/* sticky picker bar */
.jsg-pickbar {
    position: fixed; left: 50%; bottom: 16px; transform: translate(-50%, 140%); z-index: 1200; width: min(760px, calc(100% - 24px));
    background: rgba(255, 255, 255, .96); backdrop-filter: blur(10px); border: 1px solid var(--jsg-line); border-radius: 24px;
    box-shadow: 0 30px 60px -20px rgba(74, 29, 46, .45); padding: 12px 14px;
    display: flex; align-items: center; gap: 12px; flex-wrap: wrap; transition: transform .25s ease; box-sizing: border-box;
}
.jsg-pickbar.show { transform: translate(-50%, 0); }
.jsg-pickbar-info { flex: 1 1 180px; min-width: 0; }
.jsg-pickbar-info strong { display: block; font-family: var(--omc-font-head); font-weight: 800; font-size: 18px; color: var(--omc-ink); }
.jsg-pickbar-info span { font-size: 13px; font-weight: 600; color: var(--omc-ink-soft); word-break: break-word; }
.jsg-pickbar label { display: flex; flex-direction: column; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .6px; color: var(--omc-muted); gap: 3px; flex: 1 1 160px; }
body.omc .jsg-pickbar input { margin: 0; padding: 10px 14px; border: 1px solid var(--jsg-line-strong); border-radius: 14px; font-weight: 600; font-size: 15px; width: 100%; box-sizing: border-box; }
.jsg-pickbar .omc-btn { padding: 11px 20px; font-size: 15px; }
.jsg-pickbar .jsg-pick-clear { background: none; border: none; color: var(--omc-muted); font-weight: 700; cursor: pointer; text-decoration: underline; }

.jsg-toast {
    position: fixed; top: 18px; left: 50%; transform: translate(-50%, -160%); z-index: 1300; background: var(--omc-ink); color: #fff;
    padding: 12px 20px; border-radius: 16px; font-weight: 700; box-shadow: 0 20px 40px -16px rgba(74, 29, 46, .6); transition: transform .25s ease; max-width: calc(100% - 32px);
}
.jsg-toast.show { transform: translate(-50%, 0); }
.jsg-toast.is-error { background: var(--omc-red); }

/* payment success CTA */
.jsg-lucky-cta { display: flex; gap: 12px; align-items: center; text-align: left; border: 0; border-radius: 20px; background: var(--jsg-grad-soft); padding: 14px 16px; margin: 0 0 22px; box-shadow: inset 0 0 0 1px var(--jsg-line); }
.jsg-lucky-cta svg { width: 52px; height: 52px; flex: 0 0 52px; color: var(--omc-ink); --kf: #fff; }
.jsg-lucky-cta strong { display: block; color: var(--omc-ink); font-family: var(--omc-font-head); font-weight: 800; font-size: 18px; }
.jsg-lucky-cta span { font-size: 13px; color: var(--omc-ink-soft); }
.jsg-lucky-cta a { margin-left: auto; white-space: nowrap; padding: 10px 16px !important; font-size: 14px !important; }

@media (max-width: 1024px) {
    .jsg-lb-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .jsg-lb-progress { grid-column: 1 / -1; }
}
@media (max-width: 768px) {
    .omc-campaign-banner { padding: 12px 12px 0; }
    .omc-campaign-banner img { border-radius: 18px; }
    body.omc .section-header h2 { font-size: 24px; }
    .jsg-lb-wrap { padding: 18px 12px 4px; }
    .jsg-lb { padding: 16px 12px 14px; border-radius: 24px; }
    .jsg-lb::before { height: 96px; }
    .jsg-lb-badge { width: 52px; height: 52px; flex-basis: 52px; }
    .jsg-lb-badge svg { width: 38px; height: 38px; }
    .jsg-lb-cta { width: 100%; }
    .jsg-lb-cta .omc-btn { flex: 1; justify-content: center; padding: 10px 12px; font-size: 14px; }
    .jsg-lb-stat { padding: 8px 10px; }
    .jsg-lb-stat strong { font-size: 22px; }
    .jsg-lb-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 7px; }
    .jsg-cell { padding: 8px 3px 6px; border-radius: 14px; }
    .jsg-l-long { display: none; }
    .jsg-l-short { display: inline; }
    .jsg-cell.is-taken .jsg-cell-name { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; word-break: break-word; font-size: 14px; line-height: 1.05; min-height: 28px; }
    .jsg-pickbar { bottom: 10px; padding: 10px; gap: 8px; }
    .jsg-pickbar .omc-btn { flex: 1; justify-content: center; }
    .jsg-lucky-cta { flex-wrap: wrap; }
    .jsg-lucky-cta a { margin-left: 0; width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) { .jsg-cell, .jsg-pickbar, .jsg-toast, body.omc .product-card, .omc-btn { transition: none; } }

/* ==========================================================================
   Kitty Race draw (below the number board)
   ========================================================================== */
.jsg-race {
    margin-top: 22px; background: #fff; border: 1px solid var(--jsg-line); border-radius: 30px; padding: 20px 22px 16px;
    box-shadow: 0 2px 4px rgba(74, 29, 46, .04), 0 24px 60px -28px rgba(214, 63, 140, .45);
}
.jsg-race-head { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 14px; }
.jsg-race-icon { width: 52px; height: 52px; flex: 0 0 52px; border-radius: 16px; display: grid; place-items: center; background: var(--jsg-grad); color: #fff; font-size: 22px; box-shadow: var(--jsg-glow); }
.jsg-race-title { flex: 1 1 240px; min-width: 0; }
.jsg-race-title h3 { margin: 0; font-family: var(--omc-font-head); font-weight: 800; font-size: clamp(22px, 2.6vw, 28px); color: var(--omc-ink); line-height: 1.1; }
.jsg-race-title p { margin: 3px 0 0; font-size: 14px; font-weight: 600; color: var(--omc-ink-soft); }
.jsg-race-chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: var(--jsg-pink-tint); color: var(--jsg-pink-deep); font-weight: 700; font-size: 14px; }
.jsg-race-chip:empty { display: none; }
.jsg-race-live { width: 9px; height: 9px; border-radius: 50%; background: #E0434F; box-shadow: 0 0 0 0 rgba(224, 67, 79, .6); animation: jsgPulse 1.2s infinite; }
@keyframes jsgPulse { 70% { box-shadow: 0 0 0 9px rgba(224, 67, 79, 0); } 100% { box-shadow: 0 0 0 0 rgba(224, 67, 79, 0); } }
.jsg-race[data-mode="live"] .jsg-race-chip { background: #FFE8EA; color: #C02A37; }
.jsg-race[data-mode="finish"] .jsg-race-chip, .jsg-race[data-mode="done"] .jsg-race-chip { background: #FFF4D1; color: #8A6100; }

.jsg-race-body { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 14px; }
.jsg-race-stage { position: relative; border-radius: 22px; overflow: hidden; background: #FFF3F8; box-shadow: inset 0 0 0 1px var(--jsg-line); min-width: 0; }
.jsg-race-stage canvas { display: block; width: 100%; height: 380px; }
.jsg-race-overlay { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; }
.jsg-race-count { font-family: var(--omc-font-head); font-weight: 800; font-size: 96px; color: #fff; width: 150px; height: 150px; border-radius: 50%; display: grid; place-items: center; background: var(--jsg-grad); box-shadow: 0 20px 50px -14px rgba(214, 63, 140, .8); animation: jsgPop 1s ease infinite; }
.jsg-race-go { font-family: var(--omc-font-head); font-weight: 800; font-size: clamp(30px, 5vw, 54px); color: var(--jsg-pink-deep); background: rgba(255, 255, 255, .9); padding: 8px 26px; border-radius: 999px; box-shadow: var(--omc-shadow); animation: jsgPop .6s ease; }
@keyframes jsgPop { 0% { transform: scale(.6); opacity: 0; } 30% { transform: scale(1.08); opacity: 1; } 100% { transform: scale(1); } }
.jsg-race-winner {
    pointer-events: auto; text-align: center; background: rgba(255, 255, 255, .95); border-radius: 26px; padding: 18px 30px 20px;
    box-shadow: 0 30px 60px -20px rgba(74, 29, 46, .5); animation: jsgPop .7s ease; max-width: calc(100% - 32px);
}
.jsg-race-winner i { font-size: 30px; color: #E0A800; }
.jsg-race-winner small { display: block; font-size: 12px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; color: var(--omc-muted); margin-top: 4px; }
.jsg-race-winner strong { display: block; font-family: var(--omc-font-head); font-weight: 800; font-size: 46px; line-height: 1; color: var(--jsg-pink-deep); }
.jsg-race-winner span { display: block; font-family: 'Caveat', cursive; font-size: 30px; font-weight: 700; color: #2B3D8F; line-height: 1.1; word-break: break-word; }
.jsg-race-winner em { display: block; margin-top: 6px; font-style: normal; font-weight: 700; color: #1F7A3A; font-size: 14px; }

.jsg-race-side { background: #FAF5F7; border-radius: 22px; padding: 14px; display: flex; flex-direction: column; min-width: 0; max-height: 470px; box-sizing: border-box; }
.jsg-race-side h4 { margin: 0 0 10px; font-family: var(--omc-font-head); font-weight: 800; font-size: 17px; color: var(--omc-ink); }
.jsg-race-list { list-style: none; margin: 0; padding: 0; overflow-y: auto; flex: 1; display: flex; flex-direction: column; gap: 6px; }
.jsg-race-list li { display: flex; align-items: center; gap: 8px; background: #fff; border-radius: 12px; padding: 6px 8px; font-size: 13px; min-width: 0; }
.jsg-race-list li em { font-style: normal; font-weight: 800; color: var(--omc-muted); width: 18px; text-align: right; flex: 0 0 18px; font-size: 12px; }
.jsg-race-list li b { background: var(--omc-ink); color: #fff; border-radius: 999px; padding: 2px 7px; font-size: 12px; font-family: var(--omc-font-head); flex: 0 0 auto; }
.jsg-race-list li span { font-weight: 700; color: var(--omc-ink-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.jsg-race-list li small { color: var(--jsg-pink-deep); font-weight: 800; text-transform: uppercase; font-size: 10px; }
.jsg-race-list li.is-mine { box-shadow: inset 0 0 0 1.5px var(--jsg-pink); }
.jsg-race-list li.is-mine b { background: var(--jsg-pink-deep); }
.jsg-race-list li.is-win { background: #FFF4D1; }
.jsg-race-list li.is-win b { background: #E0A800; }
.jsg-race-list li.is-empty { color: var(--omc-muted); font-weight: 600; justify-content: center; text-align: center; }
.jsg-race[data-mode="preview"] .jsg-race-list li em, .jsg-race[data-mode="scheduled"] .jsg-race-list li em { display: none; }
.jsg-race-replay { margin-top: 10px; justify-content: center; }
.jsg-race-replay[hidden] { display: none !important; }
.jsg-race-foot { margin-top: 12px; font-size: 12px; font-weight: 600; color: var(--omc-muted); }
.jsg-race-foot i { color: var(--jsg-pink-deep); margin-right: 4px; }

@media (max-width: 900px) {
    .jsg-race-body { grid-template-columns: 1fr; }
    /* stacked layout: the panel grows with its content, only the leaderboard scrolls */
    .jsg-race-side { max-height: none; }
    .jsg-race-list { flex: 0 0 auto; max-height: 240px; }
}
.jsg-race-yt, .jsg-race-replay, .jsg-race-foot { flex: 0 0 auto; }
.jsg-race-list { min-height: 0; }
@media (max-width: 768px) {
    .jsg-race { padding: 14px 12px 12px; border-radius: 24px; margin-top: 16px; }
    .jsg-race-icon { width: 44px; height: 44px; flex-basis: 44px; font-size: 18px; border-radius: 14px; }
    .jsg-race-stage canvas { height: 300px; }
    .jsg-race-count { font-size: 64px; width: 104px; height: 104px; }
    .jsg-race-winner strong { font-size: 36px; }
    .jsg-race-winner span { font-size: 24px; }
}
@media (prefers-reduced-motion: reduce) { .jsg-race-count, .jsg-race-go, .jsg-race-winner, .jsg-race-live { animation: none; } }

.jsg-race-list li i { margin-left: auto; font-size: 12px; flex: 0 0 auto; }
.jsg-pi-boost { color: #E0A800; } .jsg-pi-dizzy { color: #A59AA0; } .jsg-pi-rest { color: #6EA8F7; } .jsg-pi-tired { color: #6EA8F7; opacity: .7; }

/* "Get a Number" menu when a board has several ticket items or a category */
.jsg-lb-buy { position: relative; }
.jsg-lb-buy-menu {
    display: none; position: absolute; right: 0; top: calc(100% + 8px); z-index: 30; width: min(340px, 86vw);
    background: #fff; border: 1px solid var(--jsg-line); border-radius: 20px; padding: 12px; box-shadow: 0 24px 50px -18px rgba(74, 29, 46, .45);
}
.jsg-lb-buy.open .jsg-lb-buy-menu { display: block; }
.jsg-lb-buy-menu p { margin: 2px 4px 8px; font-size: 12px; font-weight: 700; color: var(--omc-muted); text-transform: uppercase; letter-spacing: .6px; }
.jsg-lb-buy-row { display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: 14px; }
.jsg-lb-buy-row:hover { background: var(--omc-cream-2); }
.jsg-lb-buy-row span { flex: 1; min-width: 0; font-weight: 700; font-size: 14px; color: var(--omc-ink); line-height: 1.3; }
.jsg-lb-buy-row small { display: block; color: var(--jsg-pink-deep); font-weight: 800; font-size: 13px; }
.jsg-lb-buy-row .omc-btn { padding: 9px 12px; flex: 0 0 auto; }
.jsg-lb-buy-all { display: block; text-align: center; margin-top: 6px; padding: 10px; border-radius: 14px; background: var(--jsg-pink-tint); color: var(--jsg-pink-deep) !important; font-weight: 700; text-decoration: none; }
.jsg-lb-buy-all:hover { background: var(--jsg-grad); color: #fff !important; }
@media (max-width: 768px) {
    .jsg-lb-buy { flex: 1; }
    .jsg-lb-buy > .omc-btn { width: 100%; justify-content: center; }
    .jsg-lb-buy-menu { left: 0; right: auto; width: calc(100vw - 48px); }
}

/* Kitty Race: sound toggle + race music player */
.jsg-race-sound {
    display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; border: 0; cursor: pointer;
    background: #F3ECEF; color: var(--omc-ink-soft); font: 700 14px var(--omc-font-body); transition: background .15s, color .15s;
}
.jsg-race-sound:hover { background: var(--jsg-pink-tint); color: var(--jsg-pink-deep); }
.jsg-race-sound.is-on { background: var(--jsg-grad); color: #fff; box-shadow: var(--jsg-glow); }
.jsg-race-sound i { width: 16px; text-align: center; }
.jsg-race-yt { margin-top: 10px; background: #fff; border-radius: 14px; padding: 8px; }
.jsg-race-yt[hidden] { display: none !important; }
.jsg-race-yt small { display: block; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .6px; color: var(--omc-muted); margin: 0 2px 6px; }
.jsg-race-yt iframe { display: block; width: 100%; height: 200px; border: 0; border-radius: 10px; }
.jsg-lb.is-closed .jsg-lb-cta .omc-btn-primary, .jsg-lb.is-closed .jsg-lb-buy { display: none; }
@media (max-width: 768px) { .jsg-race-sound span { display: none; } .jsg-race-sound { padding: 9px 12px; } }

/* Checkout: delivery choice (ship / Sidai keep at store) */
.jsg-deliv-label { display: block; font-weight: 700; margin: 4px 0 8px; }
.jsg-deliv { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 18px; }
.jsg-deliv-opt { position: relative; margin: 0; cursor: pointer; }
.jsg-deliv-opt input { position: absolute; opacity: 0; pointer-events: none; }
.jsg-deliv-opt > span { display: flex; flex-direction: column; gap: 4px; height: 100%; box-sizing: border-box; padding: 14px 16px; border-radius: 16px; background: #fff; border: 1.5px solid var(--jsg-line, #F3DCE6); transition: border-color .15s, background .15s, box-shadow .15s; }
.jsg-deliv-opt strong { font-family: var(--omc-font-head); font-size: 16px; color: var(--omc-ink); }
.jsg-deliv-opt strong i { color: var(--jsg-pink-deep); margin-right: 4px; }
.jsg-deliv-opt small { font-size: 13px; color: var(--omc-muted); line-height: 1.45; }
.jsg-deliv-opt em { align-self: flex-start; margin-top: 2px; font-style: normal; font-size: 11px; font-weight: 800; letter-spacing: .4px; text-transform: uppercase; color: #1F7A3A; background: #E3F4DF; border-radius: 999px; padding: 3px 9px; }
.jsg-deliv-opt:hover > span { border-color: var(--jsg-pink); }
.jsg-deliv-opt input:checked + span { border-color: var(--jsg-pink-deep); background: var(--jsg-pink-tint, #FFE7F0); box-shadow: 0 0 0 3px rgba(244, 111, 177, .18); }
.jsg-deliv-opt input:focus-visible + span { outline: 2px solid var(--jsg-pink-deep); outline-offset: 2px; }
@media (max-width: 600px) { .jsg-deliv { grid-template-columns: 1fr; } }

/* Lucky draw: prizes strip */
.jsg-prizes { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 0 0 14px; padding: 10px 12px; border-radius: 18px; background: #FFF8E8; }
.jsg-prizes-h { font-family: var(--omc-font-head); font-weight: 800; font-size: 15px; color: #8A6100; margin-right: 4px; }
.jsg-prizes-h i { color: #E0A800; }
.jsg-prize { display: inline-flex; align-items: center; gap: 8px; background: #fff; border-radius: 14px; padding: 5px 12px 5px 6px; min-width: 0; max-width: 100%; box-shadow: inset 0 0 0 1px #F5E3B5; }
.jsg-prize em { font-style: normal; font-weight: 800; font-size: 11px; color: #fff; background: #E0A800; border-radius: 999px; padding: 2px 7px; flex: 0 0 auto; }
.jsg-prize img { width: 34px; height: 34px; object-fit: cover; border-radius: 9px; flex: 0 0 34px; }
.jsg-prize > i { width: 34px; text-align: center; color: #E0A800; }
.jsg-prize span { font-weight: 700; font-size: 13px; color: var(--omc-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; max-width: 260px; }
.jsg-prize b { font-family: var(--omc-font-head); color: var(--jsg-pink-deep); flex: 0 0 auto; }

/* Energy Race board */
.jsg-en-badge { position: relative; }
.jsg-en-badge > i { position: absolute; right: -4px; bottom: -2px; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: #F7C948; color: #4A1D2E; font-size: 13px; box-shadow: 0 0 0 3px #fff; }
.jsg-en-bolt { color: #E0A800; font-size: .7em; margin-right: 4px; vertical-align: .1em; }
.jsg-en-how { border-radius: 18px; padding: 10px 14px; background: #FAF5F7; display: flex; flex-direction: column; justify-content: center; gap: 4px; font-size: 13px; color: var(--omc-ink-soft); }
.jsg-en-how span { display: flex; align-items: baseline; gap: 6px; min-width: 0; }
.jsg-en-how i { width: 16px; text-align: center; color: var(--jsg-pink-deep); flex: 0 0 16px; }
.jsg-en-how b { color: var(--omc-ink); white-space: nowrap; }
.jsg-en-me form { display: flex; gap: 8px; margin-left: auto; flex-wrap: wrap; }
.jsg-en-me input[type="text"] { width: 170px; max-width: 100%; padding: 8px 12px; border-radius: 12px; border: 1px solid var(--jsg-line); font: 600 14px var(--omc-font-body); background: #fff; }
.jsg-en-me .omc-btn { padding: 8px 14px !important; font-size: 13px !important; }
.jsg-en-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; }
.jsg-en-grid.is-home { max-height: 430px; overflow-y: auto; padding-right: 4px; }
.jsg-en-card { display: flex; align-items: center; gap: 10px; background: #FAF5F7; border-radius: 16px; padding: 8px 12px 8px 8px; min-width: 0; }
.jsg-en-card > svg { width: 44px; height: 44px; flex: 0 0 44px; color: var(--omc-ink); --kf: #fff; }
.jsg-en-card.is-mine { background: var(--jsg-pink-tint); box-shadow: inset 0 0 0 1.5px var(--jsg-pink); }
.jsg-en-info { flex: 1; min-width: 0; }
.jsg-en-name { display: block; font-weight: 700; font-size: 14px; color: var(--omc-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.jsg-en-name b { font-family: var(--omc-font-head); font-size: 12px; color: #fff; background: var(--omc-ink); border-radius: 999px; padding: 1px 7px; margin-right: 2px; }
.jsg-en-name small { color: var(--jsg-pink-deep); font-weight: 800; text-transform: uppercase; font-size: 10px; }
.jsg-en-bar { height: 8px; border-radius: 999px; background: #EFE3E8; overflow: hidden; margin-top: 6px; }
.jsg-en-bar i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, #F7C948, #F2994A); }
.jsg-en-val { text-align: right; flex: 0 0 auto; }
.jsg-en-val strong { display: block; font-family: var(--omc-font-head); font-weight: 800; font-size: 18px; color: #8A6100; line-height: 1.1; }
.jsg-en-val strong i { color: #E0A800; font-size: 13px; margin-right: 3px; }
.jsg-en-val small { font-size: 11px; color: var(--omc-muted); font-weight: 600; white-space: nowrap; }
.jsg-en-empty { grid-column: 1 / -1; text-align: center; padding: 26px 10px; color: var(--omc-muted); font-weight: 700; background: #FAF5F7; border-radius: 16px; }
.jsg-en-empty i { color: var(--jsg-pink); margin-right: 6px; }
@media (max-width: 1024px) { .jsg-en-how { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; gap: 6px 18px; } }
@media (max-width: 600px) { .jsg-en-me form { margin-left: 0; width: 100%; } .jsg-en-me input[type="text"] { flex: 1; } .jsg-en-grid { grid-template-columns: 1fr; } }

/* Kitty Race: energy in the side list, prizes and several winners */
.jsg-race-list li .jsg-race-e { margin-left: auto; flex: 0 0 auto; overflow: visible; color: #8A6100; font-weight: 800; font-size: 12px; }
.jsg-race-list li i + .jsg-race-e { margin-left: 4px; }
.jsg-race-list li em .fa-trophy { color: #E0A800; font-size: 12px; margin: 0; }
.jsg-race-list li span .jsg-race-prize { display: block; text-decoration: none; font-size: 11px; font-weight: 700; color: #8A6100; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.jsg-race-winner .jsg-race-wprize { margin: 6px 0 0; font-weight: 700; color: #8A6100; font-size: 15px; }
.jsg-race-winner .jsg-race-wprize i { font-size: 15px; color: #E0A800; }
.jsg-race-winner.is-multi { padding: 14px 18px 16px; width: 420px; max-height: calc(100% - 24px); overflow-y: auto; box-sizing: border-box; }
.jsg-race-podium { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-direction: column; gap: 6px; text-align: left; }
.jsg-race-podium li { display: flex; align-items: center; gap: 8px; background: #FFF8E8; border-radius: 12px; padding: 6px 10px; min-width: 0; flex-wrap: wrap; }
.jsg-race-podium li.is-mine { box-shadow: inset 0 0 0 1.5px var(--jsg-pink); }
.jsg-race-podium em { font-style: normal; font-weight: 800; font-size: 12px; color: #fff; background: #E0A800; border-radius: 999px; padding: 2px 8px; margin: 0; display: inline; }
.jsg-race-podium b { font-family: var(--omc-font-head); color: var(--jsg-pink-deep); }
.jsg-race-winner.is-multi .jsg-race-podium span { display: inline; font-family: var(--omc-font-body); font-size: 15px; font-weight: 800; color: var(--omc-ink); }
.jsg-race-podium u { text-decoration: none; margin-left: auto; font-size: 12px; font-weight: 700; color: #8A6100; }

/* ---- several lucky draws on one page ---- */
.jsg-lb-multi { scroll-margin-top: 90px; }
.jsg-lb-multi > .jsg-lb-wrap { scroll-margin-top: 90px; }
.jsg-lb-multi > .jsg-lb-wrap ~ .jsg-lb-wrap { padding-top: 40px; }
.jsg-lb-nav { max-width: 1680px; margin: 0 auto; padding: 24px 2.5% 0; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.jsg-lb-nav-label { font-family: 'Baloo 2', sans-serif; font-weight: 800; font-size: 18px; color: var(--omc-ink, #4A1D2E); margin-right: 6px; }
.jsg-lb-nav-label i { color: var(--jsg-pink-deep); margin-right: 4px; }
.jsg-lb-nav a { display: inline-flex; align-items: center; gap: 8px; max-width: 100%; padding: 8px 14px; border-radius: 999px; background: #fff;
    border: 1px solid var(--jsg-line-strong); color: var(--omc-ink, #4A1D2E); font-weight: 700; font-size: 14px; text-decoration: none; transition: background .15s, border-color .15s; }
.jsg-lb-nav a:hover { background: var(--jsg-pink-tint); border-color: var(--jsg-pink); }
.jsg-lb-nav a > i { color: var(--jsg-pink-deep); }
.jsg-lb-nav a > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.jsg-lb-nav a small { font-size: 11px; font-weight: 800; padding: 2px 8px; border-radius: 999px; background: #F2ECEF; color: #7A5C67; flex-shrink: 0; }
.jsg-lb-nav a.is-open small { background: var(--jsg-mint); color: #1F7A3A; }
@media (max-width: 768px) {
    .jsg-lb-nav { padding: 16px 12px 0; }
    .jsg-lb-nav-label { width: 100%; }
    .jsg-lb-nav a { font-size: 13px; padding: 7px 12px; }
}
