/* "Partner luxe" (owner 29.11; App\Domain\Partners\Luxe\PartnerLuxe). Loaded only while LUX 2.0 is live and
   PARTNER_LUXE is on. Few words, big money, real photos. Built on hub.css tokens; every animation stands still under
   prefers-reduced-motion. */
.lx, .lx-card, .lx-sort, .lx-why, .lx-hero, .lx-show, .lx-earncard, .lx-terms { --lx-night:#1f171c; --lx-gold:#b8925a; --lx-gold-ink:#7d5f33; --lx-gold-l:#e9cf86; --lx-paper:#f8f3eb; --lx-hair:#eee4d6; }

/* ── Share tab: the card ─────────────────────────────────────────────────────────────────────────────────────────── */
.lx-thumb.lx-photo { background:var(--lx-paper); }
.lx-thumb img { width:100%; height:100%; object-fit:cover; display:block; }
.lx-top { position:absolute; left:8px; top:8px; padding:3px 9px; border-radius:99px; background:rgba(31,23,28,.86); color:var(--lx-gold-l); font-size:.74rem; font-weight:700; letter-spacing:.02em; }
.lx-body { padding:8px 4px 4px; display:flex; flex-direction:column; gap:3px; flex:1; }
.lx-earn { display:flex; flex-direction:column; line-height:1.05; }
.lx-earn small { font-size:.83rem; font-weight:600; color:var(--lx-gold-ink); letter-spacing:.01em; }
.lx-earn b { font-family:'Inter',var(--font-num,sans-serif); font-weight:800; letter-spacing:-.01em; color:var(--lx-gold-ink); font-size:1.18rem; margin-top:2px; }
.lx-g2 .lx-earn b { font-size:1.32rem; color:#8a6420; }
.lx-g3 .lx-earn b { font-size:1.5rem; color:#a0741c; }
.lx-g4 .lx-earn b { font-size:1.68rem; background:linear-gradient(100deg,#9a6a12 0%,#d4a02a 45%,#f0cf6a 55%,#a8761a 100%); background-size:220% 100%; -webkit-background-clip:text; background-clip:text; color:transparent; animation:lx-sheen 4.8s ease-in-out infinite; }
.lx-g4 { border-color:#e8d3a6; box-shadow:0 1px 2px rgba(29,26,23,.05),0 10px 26px rgba(184,146,90,.22); }
.lx-g3 { border-color:#efe0c2; }
.lx-name { display:flex; align-items:center; gap:6px; font-size:.86rem; font-weight:600; color:var(--ink); min-width:0; margin-top:4px; }
.lx-name span { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; min-width:0; }
.lx-price { font-size:.83rem; color:var(--muted); }
@keyframes lx-sheen { 0%,60% { background-position:100% 0; } 100% { background-position:-20% 0; } }

/* Sort */
.lx-sort { display:flex; gap:6px; margin-top:14px; padding:4px; border-radius:99px; background:#fff; border:1px solid var(--lx-hair); }
.lx-sort a { flex:1; display:inline-flex; align-items:center; justify-content:center; gap:6px; min-height:44px; border-radius:99px; text-decoration:none; font-weight:700; font-size:.92rem; color:var(--muted); }
.lx-sort a[aria-current="true"] { background:var(--lx-night); color:var(--lx-gold-l); }
.lx-sort svg { width:18px; height:18px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; }

/* ── Piece page ─────────────────────────────────────────────────────────────────────────────────────────────────── */
.lx-photo-main { position:relative; aspect-ratio:1/1; border-radius:22px; overflow:hidden; background:var(--lx-paper); margin-top:6px; }
.lx-photo-main img { width:100%; height:100%; object-fit:cover; display:block; }
.lx-hero { margin-top:12px; border-radius:20px; padding:16px 18px; background:radial-gradient(130% 120% at 10% 0%,#3a2c33 0%,#1f171c 70%); color:#fff; display:flex; align-items:center; justify-content:space-between; gap:12px; }
.lx-hero small { display:flex; align-items:center; gap:2px; font-size:.86rem; color:#e9dfd0; }
.lx-hero b { display:block; font-family:'Inter',sans-serif; font-weight:800; font-size:2.1rem; line-height:1.1; color:var(--lx-gold-l); }
.lx-hero .lx-next { font-size:.83rem; color:#d9c9a8; margin-top:2px; }
.lx-hero .lx-coin { flex:none; width:54px; height:54px; border-radius:50%; background:radial-gradient(circle at 35% 30%,#f6dc8c,#c9962c 60%,#8a5f0f); box-shadow:0 0 0 4px rgba(233,207,134,.18); position:relative; animation:lx-bob 3.2s ease-in-out infinite; }
.lx-hero .lx-coin::after { content:'฿'; position:absolute; inset:0; display:flex; align-items:center; justify-content:center; font:800 1.4rem/1 'Inter',sans-serif; color:#6d4a0c; }
.lx-free { display:flex; align-items:center; justify-content:center; gap:8px; margin-top:8px; font-size:.86rem; color:var(--muted); text-align:center; }
.lx-free svg { width:18px; height:18px; fill:none; stroke:var(--lx-gold-ink); stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; flex:none; }
@keyframes lx-bob { 0%,100% { transform:translateY(0) rotate(-4deg); } 50% { transform:translateY(-4px) rotate(4deg); } }
.lx-why { margin-top:18px; }
.lx-why h2 { font-size:1.02rem; }
.lx-why ul { list-style:none; display:grid; grid-template-columns:1fr 1fr; gap:8px; margin-top:10px; padding:0; }
.lx-why li { background:#fff; border:1px solid var(--lx-hair); border-radius:16px; padding:12px; min-width:0; }
.lx-why li i { display:flex; width:34px; height:34px; border-radius:50%; align-items:center; justify-content:center; background:#fbf4e6; color:var(--lx-gold-ink); }
.lx-why li i svg { width:19px; height:19px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
.lx-why li > b { display:block; font-size:.92rem; margin-top:8px; line-height:1.3; }
.lx-why li > span { display:block; font-size:.83rem; color:var(--muted); margin-top:2px; line-height:1.4; }
.lx-why li[data-why="earn"] { background:#1f171c; border-color:#1f171c; color:#fff; }
.lx-why li[data-why="earn"] i { background:rgba(233,207,134,.16); color:var(--lx-gold-l); }
.lx-why li[data-why="earn"] > b { color:var(--lx-gold-l); font-family:'Inter','IBM Plex Sans Thai',sans-serif; font-size:1.05rem; }
.lx-why li[data-why="earn"] > span { color:#d9c9a8; }
.lx-more { margin-top:16px; border:1px solid var(--lx-hair, #eee4d6); border-radius:16px; background:#fffdf9; padding:0 14px; }
.lx-more > summary { min-height:52px; display:flex; align-items:center; font-weight:700; font-size:.95rem; cursor:pointer; }
.lx-more[open] { padding-bottom:12px; }
.lx-more .gm-facts { margin-top:4px; }

/* ── Join: the three pieces + the "what you earn" card ──────────────────────────────────────────────────────────── */
.lx-show { margin:22px 0 4px; text-align:center; }
.lx-show .lx-eyebrow { font-family:'Cormorant Garamond','Playfair Display',Georgia,serif; font-style:italic; font-size:1.05rem; letter-spacing:.06em; color:var(--lx-gold-ink); }
.lx-show ul { list-style:none; padding:0; margin:10px 0 0; display:grid; grid-template-columns:1fr 1.18fr 1fr; gap:8px; align-items:end; }
.lx-show li { min-width:0; }
.lx-show figure { margin:0; }
.lx-show .lx-ph { aspect-ratio:3/4; border-radius:18px; overflow:hidden; background:var(--lx-paper); box-shadow:0 1px 2px rgba(29,26,23,.06),0 12px 26px rgba(29,26,23,.10); animation:lx-up .7s cubic-bezier(.2,.8,.3,1) both; }
.lx-show li:nth-child(2) .lx-ph { animation-delay:.08s; box-shadow:0 1px 2px rgba(29,26,23,.06),0 16px 34px rgba(184,146,90,.24); }
.lx-show li:nth-child(3) .lx-ph { animation-delay:.16s; }
.lx-show .lx-ph img { width:100%; height:100%; object-fit:cover; display:block; }
.lx-show figcaption { font-size:.83rem; font-weight:600; margin-top:6px; line-height:1.3; color:var(--ink); overflow:hidden; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; }
.lx-show .lx-line { font-size:.84rem; color:var(--muted); margin-top:10px; letter-spacing:.01em; }
@keyframes lx-up { from { opacity:0; transform:translateY(14px); } to { opacity:1; transform:none; } }
.lx-earncard { margin-top:12px; border-radius:18px; background:#fff; border:1px solid #eadfcf; overflow:hidden; }
.lx-earncard > summary { list-style:none; display:flex; align-items:center; justify-content:center; gap:8px; min-height:52px; padding:0 16px; font-weight:700; font-size:.96rem; color:var(--lx-gold-ink); cursor:pointer; }
.lx-earncard > summary::-webkit-details-marker { display:none; }
.lx-earncard > summary .lx-coin-s { width:22px; height:22px; border-radius:50%; background:radial-gradient(circle at 35% 30%,#f6dc8c,#c9962c 60%,#8a5f0f); flex:none; }
.lx-earncard > summary::after { content:'›'; transform:rotate(90deg); font-size:1.2rem; transition:transform .2s; }
.lx-earncard[open] > summary::after { transform:rotate(-90deg); }
.lx-earncard .lx-in { padding:2px 16px 16px; text-align:center; }
.lx-earncard h3 { font-size:.92rem; color:var(--muted); font-weight:600; }
.lx-earncard dl { margin:8px 0 0; display:grid; gap:6px; }
.lx-earncard dl div { display:flex; align-items:center; justify-content:space-between; gap:10px; padding:9px 12px; border-radius:12px; background:#fbf7f0; }
.lx-earncard dt { font-size:.88rem; color:var(--muted); }
.lx-earncard dd { margin:0; font:800 1.12rem/1 'Inter',sans-serif; color:var(--lx-gold-ink); }
.lx-earncard p { font-size:.83rem; color:var(--muted); margin-top:8px; text-wrap:balance; }
.lx-earncard p.lx-top-line { color:var(--ink); font-weight:600; font-size:.86rem; }

/* ── Terms v8: five swipeable cards ─────────────────────────────────────────────────────────────────────────────── */
.lx-terms { margin:4px 0 14px; }
.lx-terms h1 { font-size:1.35rem; text-align:center; }
.lx-terms .lx-sub { text-align:center; color:var(--muted); font-size:.92rem; margin-top:2px; }
.lx-deck { display:flex; gap:12px; overflow-x:auto; scroll-snap-type:x mandatory; padding:14px 18px 26px; margin:0 -18px -12px; scrollbar-width:none; }
.lx-deck::-webkit-scrollbar { display:none; }
.lx-deck > li { list-style:none; flex:none; width:78%; max-width:320px; scroll-snap-align:center; border-radius:24px; padding:22px 20px 20px; background:radial-gradient(130% 120% at 10% 0%,#3a2c33 0%,#1f171c 72%); color:#fff; min-height:220px; display:flex; flex-direction:column; box-shadow:0 14px 30px rgba(31,23,28,.18); }
.lx-deck > li:nth-child(even) { background:linear-gradient(160deg,#fffaf1,#f3e6cf); color:var(--ink); }
.lx-deck .lx-ic { width:52px; height:52px; border-radius:16px; display:flex; align-items:center; justify-content:center; background:rgba(233,207,134,.16); color:var(--lx-gold-l); }
.lx-deck > li:nth-child(even) .lx-ic { background:#fff; color:var(--lx-gold-ink); }
.lx-deck .lx-ic svg { width:28px; height:28px; fill:none; stroke:currentColor; stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round; }
.lx-deck .lx-n { margin-top:auto; padding-top:14px; font:600 .78rem/1 'Inter',sans-serif; letter-spacing:.1em; opacity:.7; }
.lx-deck h2 { font-size:1.25rem; margin-top:16px; line-height:1.3; color:inherit; }
.lx-deck p { font-size:.95rem; margin-top:6px; line-height:1.5; opacity:.9; text-wrap:balance; }
.lx-dots { display:flex; justify-content:center; gap:6px; }
.lx-dots i { width:7px; height:7px; border-radius:50%; background:#e0d3bf; transition:width .25s, background .25s; }
.lx-dots i.on { width:20px; border-radius:4px; background:var(--lx-gold); }
.lx-terms .lx-note { text-align:center; font-size:.84rem; color:var(--muted); margin-top:10px; }
.lx-full { margin-top:10px; }
.lx-full > summary { list-style:none; display:flex; align-items:center; justify-content:center; min-height:52px; border-radius:99px; border:1.5px solid var(--ink); font-weight:700; cursor:pointer; background:#fff; }
.lx-full > summary::-webkit-details-marker { display:none; }
.lx-full > summary .lx-close { display:none; }
.lx-full[open] > summary .lx-open { display:none; }
.lx-full[open] > summary .lx-close { display:inline; }
.lx-full[open] > .card { margin-top:12px; }

/* ── Wallet + quick pay: icons on the face, words behind a tap ─────────────────────────────────────────────────── */
.qp.lx-qp small, .qp.lx-qp .qp-note, .qp.lx-qp .qp-rules { display:none; }
.lx-qp .qp-head { display:flex; align-items:center; justify-content:space-between; gap:8px; }
.qp.lx-qp .qp-ic { width:52px; height:52px; }
.qp.lx-qp .qp-ic svg { width:26px; height:26px; }
.qp.lx-qp ol::before { top:25px; }
.qp.lx-qp ol::after { top:21px; }
.qp.lx-qp b { font-size:.84rem; }

@media (prefers-reduced-motion:reduce) {
  .lx-g4 .lx-earn b { animation:none; background-position:30% 0; }
  .lx-hero .lx-coin, .lx-show .lx-ph { animation:none; }
  .lx-dots i { transition:none; }
}
