.market-live{--market-line:#d3dbe5;--market-muted:#536176;max-width:1440px;font-family:var(--font-anuphan),sans-serif;grid-template-columns:220px minmax(0,1fr);gap:40px;margin:auto;padding:36px 32px 64px;display:grid}.market-live button,.market-live a,.market-live input,.market-live select{touch-action:manipulation}.market-live button,.market-live a{cursor:pointer}.market-live button:disabled{cursor:not-allowed;opacity:.6}.market-live :focus-visible{outline-offset:3px;outline:3px solid #00009c}.market-live button,.market-live select{min-height:44px}.market-live input[type=checkbox]{accent-color:#00009c;flex-shrink:0;width:18px;height:18px}.market-sidebar{border-right:1px solid var(--market-line);padding-right:24px}.market-filter-heading{justify-content:space-between;align-items:center;gap:12px;display:flex}.market-filter-heading h2{font-size:20px;font-weight:700}.market-filter-heading button{color:navy;text-underline-offset:3px;font-size:14px;text-decoration:underline}.market-live fieldset{border:0;border-top:1px solid var(--market-line);min-width:0;margin-top:16px;padding:24px 0}.market-live legend{float:none;margin-bottom:12px;font-weight:700;display:block}.market-live fieldset label{min-height:44px;color:var(--market-muted);align-items:center;gap:10px;font-size:14px;display:flex}.market-live select{border:1px solid var(--market-line);background:#fff;border-radius:8px;max-width:100%;padding:8px}.market-catalog{min-width:0}.market-breadcrumb{color:var(--market-muted);margin-bottom:16px;font-size:12px}.market-catalog h1{font-family:var(--font-bai-jamjuree),sans-serif;font-size:clamp(26px,3vw,36px);font-weight:700;line-height:1.35}.market-lead{color:var(--market-muted);margin:10px 0 24px}.market-search{border:1px solid var(--market-line);border-radius:12px;align-items:center;gap:10px;max-width:680px;padding:6px 6px 6px 14px;display:flex}.market-search svg{color:var(--market-muted);flex-shrink:0}.market-search input{background:0 0;width:100%;min-width:0;min-height:44px}.market-search input::placeholder{color:var(--market-muted)}.market-search button{color:#fff;background:#00009c;border-radius:8px;padding:8px 20px;font-weight:700}.market-toolbar{flex-wrap:wrap;align-items:center;gap:12px;margin:24px 0;font-size:14px;display:flex}.market-toolbar p{color:var(--market-muted)}.market-toolbar label{margin-left:auto}.market-filter-open{border:1px solid var(--market-line);border-radius:24px;align-items:center;gap:8px;padding:8px 14px;display:none}.market-chips{flex-wrap:wrap;gap:8px;margin-bottom:20px;display:flex}.market-chips button{color:navy;overflow-wrap:anywhere;text-align:left;background:#eef;border-radius:8px;align-items:center;gap:8px;min-width:0;max-width:100%;padding:7px 12px;font-size:13px;display:flex}.market-chips button svg{flex-shrink:0}.market-dialog .market-filter-heading button{place-items:center;min-width:44px;display:grid}.market-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;display:grid}.market-card{border:1px solid var(--market-line);background:#fff;border-radius:12px;flex-direction:column;padding:10px;display:flex;overflow:hidden}.market-cover{aspect-ratio:16/9;background:#f2f5f9;border-radius:8px;position:relative;overflow:hidden}.market-cover img{-o-object-fit:cover;object-fit:cover}.market-heart{border:1px solid var(--market-line);color:navy;background:#fff;border-radius:50%;place-items:center;width:44px;height:44px;display:grid;position:absolute;top:10px;right:10px}.market-card-body{flex-direction:column;flex:1;min-width:0;padding:16px 8px 8px;display:flex}.market-provider{color:var(--market-muted);margin-bottom:12px;font-size:12px}.market-card h2{font-family:var(--font-bai-jamjuree),sans-serif;font-size:19px;font-weight:700;line-height:1.45}.market-card h2 button{text-align:left;overflow-wrap:anywhere}.market-description{color:var(--market-muted);-webkit-line-clamp:3;-webkit-box-orient:vertical;margin-top:12px;font-size:14px;line-height:1.65;display:-webkit-box;overflow:hidden}.market-facts{color:var(--market-muted);gap:6px;margin-top:14px;font-size:14px;display:grid}.market-facts span{align-items:flex-start;gap:7px;display:flex}.market-facts svg{flex-shrink:0;margin-top:3px}.market-tracks{color:var(--market-muted);flex-wrap:wrap;align-items:center;gap:6px;margin-top:12px;font-size:12px;display:flex}.market-track{color:navy;overflow-wrap:anywhere;background:#eef;border-radius:5px;padding:3px 7px}.market-tag{border:1px solid var(--market-line);border-radius:5px;align-self:flex-start;margin:12px 0;padding:3px 7px;font-size:12px}.market-ownership{color:#19674f;font-size:13px;font-weight:600}.market-card-bottom{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;margin-top:auto;padding-top:16px;display:flex}.market-card-bottom strong{font-size:23px;font-weight:700}.market-detail{color:navy;background:#fff;border:1px solid #00009c;border-radius:9px;justify-content:center;align-items:center;gap:8px;min-height:44px;padding:8px 12px;font-size:14px;display:inline-flex}.market-buy{color:#fff;background:#00009c;border:1px solid #00009c;border-radius:9px;justify-content:center;align-items:center;gap:6px;width:100%;min-height:44px;margin-top:12px;padding:8px 11px;font-size:.82rem;font-weight:700;transition:background-color .16s;display:flex}.market-buy:hover{background:navy}.market-buy.market-owned{color:#19674f;background:#eaf6ef;border-color:#91b8a8}.market-live .market-buy:disabled{border-color:var(--market-line);color:#536176;opacity:1;background:#eef3f8}.market-dialog{border:1px solid var(--market-line);color:#132238;border-radius:16px;width:min(520px,100% - 32px);max-height:calc(100dvh - 32px);margin:auto;padding:24px;overflow:auto}.market-dialog::backdrop{background:#132238a8}.market-dialog h2{padding-right:32px;font-size:23px;font-weight:700}.market-dialog p{margin:14px 0;line-height:1.65}.market-close{float:right;place-items:center;width:44px;display:grid}.market-dialog-actions{background:#fff;align-items:center;gap:12px;padding:16px 0;display:flex;position:sticky;bottom:-24px}.market-dialog-actions .market-buy{flex:1;margin:0}.market-detail-price{font-size:26px;font-weight:700}.market-cart{width:100%;margin-top:12px}.market-empty{text-align:center;border:1px dashed var(--market-line);border-radius:12px;padding:48px 24px}.market-empty h2{font-size:22px;font-weight:700}.market-empty button,.market-error button{color:navy;padding:8px;text-decoration:underline}.market-error,.market-notice{background:#eef3ff;border-radius:8px;margin-bottom:20px;padding:14px 18px;line-height:1.6}@media (max-width:1279px){.market-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.market-live{gap:28px;padding:28px 24px 48px}}@media (max-width:1023px){.market-live{display:block}.market-sidebar{display:none}.market-filter-open{display:inline-flex}}@media (max-width:639px){.market-live{padding:24px 16px 40px}.market-grid{grid-template-columns:minmax(0,1fr);gap:20px}.market-toolbar label{font-size:12px}.market-toolbar label select{max-width:155px}.market-toolbar p{order:2;width:100%}.market-card-body{padding:16px 12px 12px}}@media (prefers-reduced-motion:reduce){.market-buy{transition:none}}
