/* Credit card finder (page-credit-cards.php), styled after the V1 Revised prototype's
   credit card page: v2-system.css (phone "v2c" rules), v2-desktop.css ("v2cd", "v2nv",
   "v2ck", "v2cs", "v2tr", "v2kg", "v2aum" rules), v2-look.css (blue title band with
   Taggy), v3-refine.css and v5-credit-fix.css. Plain CSS, no theme rebuild needed. */

.pt-ccw { background: #f3f6fb; padding-bottom: 48px; }
.pt-cc { --ink: #0b1f44; --mut: #5b6675; --line: #e3e8f0; --acc: #1d4ed8; --blue: #004aeb; --navy: #00184a; --orange: #fe9300;
	color: var(--ink); font-family: "Noto Sans Thai", Arial, Helvetica, sans-serif; max-width: 1200px; margin: 0 auto; }
.pt-cc *, .pt-cc *::before, .pt-cc *::after { box-sizing: border-box; }
.pt-cc [hidden] { display: none !important; }
.pt-cc button { font: inherit; color: inherit; }
.pt-cc a { color: inherit; text-decoration: none; }
.pt-cc h1, .pt-cc h2, .pt-cc h3, .pt-cc p { margin: 0; }

.pt-cc-crumbs { padding: 12px 0 6px; font-size: 14.5px; color: #687993; display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.pt-cc-crumbs a:hover { color: var(--blue); text-decoration: underline; }
.pt-cc-crumbs b { color: var(--ink); font-weight: 600; }

/* Title band */
.pt-cc-band { position: relative; margin: 6px 0 14px; padding: 18px 16px 16px; border-radius: 16px; overflow: hidden; color: #fff;
	background: radial-gradient(320px 200px at 100% 100%, rgba(255, 233, 141, .4), rgba(255, 233, 141, 0) 72%), linear-gradient(100deg, #0039b4 0, #0b57e8 56%, #4f8ff6 100%);
	box-shadow: 0 8px 20px rgba(0, 57, 180, .22); }
.pt-cc-band h1 { font-size: 28px; line-height: 1.25; font-weight: 800; color: #fff; text-shadow: 0 1px 2px rgba(0, 24, 74, .3); }
.pt-cc-band p { margin: 4px 0 0; font-size: 16px; line-height: 1.5; color: #e3edff; }
.pt-cc-band-note { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; padding: 6px 12px; border-radius: 10px; background: rgba(0, 24, 74, .35); font-size: 13px; line-height: 1.4; color: #dbe6ff; }
.pt-cc-band-note i { font-style: normal; }
.pt-cc-band-mascot { display: none; }

/* Section boxes (white, rounded, like the prototype's v2cd-sec) */
.pt-sec { margin: 0 0 14px; padding: 16px 14px 18px; border: 1px solid #e1e6e8; border-radius: 10px; background: #fff; }
.pt-hd { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 4px 12px; margin: 0 0 14px; padding: 0 0 12px; border-bottom: 1px solid #e1e6e8; }
.pt-hd h2, .pt-sortrow h2, .pt-h { font-size: 20.5px; line-height: 1.3; font-weight: 800; color: #0b1f5c; }
.pt-hd small { font-size: 14px; color: var(--mut); }
.pt-hd a { margin-left: auto; font-size: 14.5px; font-weight: 700; color: var(--acc); white-space: nowrap; }
.pt-hd a:hover { text-decoration: underline; }

/* Card picker strip */
.pt-ai { margin: 0 0 14px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.pt-ai-head { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 10px; }
.pt-ai-logo { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 1px #d6e2ff; overflow: hidden; }
.pt-ai-logo img { width: 100%; height: 100%; object-fit: cover; }
.pt-ai-head b { display: block; font-size: 17px; color: var(--ink); }
.pt-ai-head small { display: block; font-size: 13.5px; line-height: 1.4; color: var(--mut); }
.pt-ai-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 36px; padding: 0 14px; border: 1px solid var(--blue); border-radius: 8px; background: var(--blue); color: #fff; font-size: 14.5px; font-weight: 700; cursor: pointer; white-space: nowrap; }
.pt-ai-btn[aria-expanded="true"] { background: #fff; color: var(--blue); }
.pt-ai-body { margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--line); display: grid; gap: 10px; }
.pt-ai-q b { display: block; margin: 0 0 6px; font-size: 14.5px; font-weight: 700; }
.pt-ai-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.pt-ai-chips button { min-height: 32px; padding: 5px 12px; border: 1px solid #d6e2ff; border-radius: 999px; background: #eef3ff; color: var(--blue); font-size: 14px; font-weight: 600; cursor: pointer; text-align: left; }
.pt-ai-chips button:hover { border-color: var(--blue); }
.pt-ai-chips button[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.pt-ai-out:empty { display: none; }
.pt-ai-out .pt-ai-note { font-size: 14px; color: var(--mut); }
.pt-ai-out .pt-ai-hint { padding: 10px 12px; border-radius: 10px; background: #f8faff; font-size: 14px; color: var(--mut); }
.pt-ai-picks { display: grid; gap: 8px; margin-top: 8px; }
.pt-ai-pick { display: grid; grid-template-columns: 28px 76px minmax(0, 1fr); gap: 10px; align-items: center; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.pt-ai-pick.first { border-color: #12b76a; background: #f3fcf7; }
.pt-ai-pick .pt-rk { position: static; }
.pt-ai-pick b { display: block; font-size: 16px; line-height: 1.3; }
.pt-ai-pick b a:hover { color: var(--blue); text-decoration: underline; }
.pt-ai-pick ul { margin: 4px 0 0; padding: 0 0 0 16px; font-size: 13.5px; line-height: 1.5; color: #344054; list-style: disc; }
.pt-ai-pick ul li::marker { color: #12b76a; }
.pt-ai-more { margin-top: 8px; display: flex; gap: 8px; flex-wrap: wrap; }
.pt-ai-more button { min-height: 34px; padding: 0 14px; border: 1px solid var(--blue); border-radius: 8px; background: #fff; color: var(--blue); font-size: 14.5px; font-weight: 700; cursor: pointer; }

/* Phone: search by purpose, as wrapping chips (prototype v6-mobile-credit) */
.pt-purpose-sec { margin: 0 0 14px; }
.pt-purpose-sec .pt-h { margin: 0 0 8px; font-size: 18px; }
.pt-purpose { display: flex; flex-wrap: wrap; gap: 8px; }
.pt-purpose button { display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 12px 0 10px; border: 1px solid #e1e6e8; border-radius: 999px; background: #fff; color: #0d1934; font-size: 13px; line-height: 1.2; font-weight: 500; white-space: nowrap; cursor: pointer; }
.pt-purpose button i { display: grid; place-items: center; flex: none; width: 18px; height: 18px; color: #3d5d72; }
.pt-purpose button i svg { width: 18px; height: 18px; }
.pt-purpose button[aria-pressed="true"] { border-color: var(--blue); background: #eaf1ff; box-shadow: inset 0 0 0 1px var(--blue); }

/* Desktop: tiles (hidden on phones) */
.pt-tiles-sec, .pt-prof-sec, .pt-cs-sec, .pt-tr-sec, .pt-cb-sec, .pt-nv, .pt-side { display: none; }
.pt-tiles { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.pt-tile { display: grid; grid-template-columns: 38px minmax(0, 1fr); align-items: start; gap: 10px; min-height: 64px; padding: 10px; border: 1px solid #e1e6e8; border-radius: 10px; background: #fff; cursor: pointer; text-align: left; transition: border-color .15s, background .15s; }
.pt-tile:hover { border-color: #9eafbd; background: #f7f9fb; }
.pt-tile[aria-pressed="true"] { background: #edf3fb; border-color: #245bd6; }
.pt-tile-ic { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: #f1f5f7; }
.pt-tile-ic svg { width: 26px; height: 22px; }
.pt-tile[data-cc-tile="rank"] .pt-tile-ic, .pt-tile[data-cc-tile="gold"] .pt-tile-ic, .pt-tile[data-cc-tile="cash"] .pt-tile-ic { background: #fff5d6; }
.pt-tile[data-cc-tile="nofee"] .pt-tile-ic, .pt-tile[data-cc-tile="dine"] .pt-tile-ic { background: #ffece9; }
.pt-tile[data-cc-tile="plat"] .pt-tile-ic { background: #eef0f3; }
.pt-tile[data-cc-tile="lounge"] .pt-tile-ic { background: #eeedff; }
.pt-tile[data-cc-tile="miles"] .pt-tile-ic, .pt-tile[data-cc-tile="first"] .pt-tile-ic, .pt-tile[data-cc-tile="ins"] .pt-tile-ic { background: #eef3ff; }
.pt-tile-x { display: block; min-width: 0; }
.pt-tile-x b { display: block; font-size: 16px; line-height: 1.3; font-weight: 700; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pt-tile-x small { display: -webkit-box; margin-top: 2px; font-size: 13px; line-height: 1.4; font-weight: 400; color: var(--mut); -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.pt-tile-x em { display: block; margin-top: 3px; font-style: normal; font-size: 13px; font-weight: 600; color: var(--acc); }
.pt-tile-x em::after { content: " ใบ ›"; }
html[lang^="en"] .pt-tile-x em::after { content: " cards ›"; }

/* Income and savings */
.pt-prof { display: grid; grid-template-columns: 1fr 1fr 1.25fr; border: 1px solid #dfe4ec; border-radius: 10px; overflow: hidden; }
.pt-prof-in { display: block; padding: 12px 14px; border-right: 1px solid #dfe4ec; }
.pt-prof-in > span { display: block; margin-bottom: 6px; font-size: 14px; font-weight: 700; color: var(--ink); }
.pt-prof-field { display: flex; align-items: center; padding: 0 8px; border: 1px solid #c5cdd9; border-radius: 6px; background: #fff; }
.pt-prof-field i { font-style: normal; color: var(--mut); font-weight: 700; }
.pt-prof-field input { flex: 1; min-width: 0; border: 0; outline: 0; padding: 8px 6px; font: 700 19.5px "Noto Sans Thai", Arial, sans-serif; color: var(--ink); background: transparent; }
.pt-prof-field:focus-within { border-color: var(--acc); box-shadow: 0 0 0 2px #dbe6ff; }
.pt-prof-quick { display: flex; flex-wrap: wrap; gap: 4px 12px; margin-top: 7px; }
.pt-prof-quick button { border: 0; background: none; padding: 0; font: 600 14px "Noto Sans Thai", Arial, sans-serif; color: var(--acc); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: #b8c8f0; }
.pt-prof-quick button[aria-pressed="true"] { color: var(--ink); text-decoration-color: var(--ink); }
.pt-prof-out { padding: 12px 14px; background: #f7f8fa; font-size: 14.5px; color: var(--ink); }
.pt-prof-hint { color: var(--mut); font-size: 14.5px; line-height: 1.55; }
.pt-prof-out dl { margin: 0; display: grid; gap: 5px; }
.pt-prof-out dl > div { display: grid; grid-template-columns: 128px 1fr; gap: 8px; align-items: baseline; }
.pt-prof-out dt { color: var(--mut); font-size: 13.5px; }
.pt-prof-out dd { margin: 0; font-weight: 700; }
.pt-prof-out dd b { font-size: 18px; }
.pt-prof-out dd small { display: block; font-weight: 500; color: var(--mut); font-size: 13px; }
.pt-prof-elig { display: flex; align-items: center; gap: 6px; margin-top: 9px; padding-top: 8px; border-top: 1px solid #dfe4ec; font-weight: 700; font-size: 14px; cursor: pointer; }
.pt-prof-elig input { accent-color: var(--acc); width: 15px; height: 15px; margin: 0; }

/* Ranking */
.pt-sortrow { display: flex; align-items: center; justify-content: space-between; gap: 8px 12px; flex-wrap: wrap; margin: 0 0 10px; }
.pt-sortrow h2 { font-size: 20.5px; }
.pt-sortrow label { display: flex; align-items: center; gap: 6px; font-size: 14px; color: #52647e; }
.pt-sortrow select { height: 32px; padding: 0 8px; border: 1px solid #c9d5ea; border-radius: 8px; background: #fff; font: inherit; font-size: 14.5px; color: var(--ink); }
.pt-count { flex-basis: 100%; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 14px; color: var(--mut); }
.pt-count > span:first-child { font-weight: 800; color: var(--ink); }
.pt-tag { display: inline-flex; align-items: center; gap: 4px; height: 30px; padding: 0 4px 0 10px; border: 1px solid #c9d6f2; border-radius: 999px; background: #eef4ff; color: var(--ink); font-size: 14px; }
.pt-tag button { display: grid; place-items: center; width: 22px; height: 22px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: #52647e; font: 700 17px/1 Arial, sans-serif; cursor: pointer; }
.pt-tag button:hover { background: #d6e2fb; color: var(--ink); }
.pt-add, .pt-clear { display: inline-flex; align-items: center; height: 30px; padding: 0 12px; border: 1px dashed var(--blue); border-radius: 999px; background: #fff; color: var(--blue); font-size: 14px; font-weight: 600; cursor: pointer; }
.pt-add:hover, .pt-clear:hover { background: #eef4ff; }
.pt-clear { border-style: solid; }
.pt-filter { margin: 0 0 10px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.pt-filter summary { padding: 10px 12px; font-size: 14.5px; font-weight: 700; color: var(--blue); cursor: pointer; list-style: none; }
.pt-filter summary::-webkit-details-marker { display: none; }
.pt-filter summary::before { content: "▸"; display: inline-block; margin-right: 6px; transition: transform .15s; }
.pt-filter[open] summary::before { transform: rotate(90deg); }
.pt-filter .pt-chips { padding: 0 12px 12px; }
.pt-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.pt-chip { height: 32px; padding: 0 12px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-size: 14.5px; font-weight: 500; cursor: pointer; white-space: nowrap; }
.pt-chip:hover { border-color: var(--blue); }
.pt-chip[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }

.pt-cc-art { display: flex; align-items: center; justify-content: center; width: 64px; aspect-ratio: 1.59; border-radius: 6px; background: #f2f5f6; border: 1px solid #e1e6e8; overflow: hidden; flex: none; }
.pt-cc-art img { width: 100%; height: 100%; object-fit: contain; display: block; }
.pt-cc-art b { font-size: 12px; color: #223541; text-align: center; padding: 2px; }
.pt-rk { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: #eef2f9; color: var(--navy); font-size: 12.5px; font-weight: 800; }
.pt-rk.r1 { background: radial-gradient(circle at 35% 30%, #fff7cf, #f6c945 45%, #c48a12); color: #6b4500; }
.pt-rk.r2 { background: radial-gradient(circle at 35% 30%, #fff, #cfd6df 45%, #8d97a5); color: #34404f; }
.pt-rk.r3 { background: radial-gradient(circle at 35% 30%, #ffe6cc, #d9904f 45%, #98561f); color: #4a2508; }
.pt-star { color: #f5a400; }
.pt-tier { display: inline-block; padding: 2px 8px; border-radius: 5px; font-size: 12px; font-weight: 800; letter-spacing: .02em; color: #fff; background: linear-gradient(135deg, #8ea1b9, #5a6b82); vertical-align: middle; white-space: nowrap; }
.pt-tier.t-gold { background: linear-gradient(135deg, #e2b24a, #a8761c); }
.pt-tier.t-platinum { background: linear-gradient(135deg, #c3ccd6, #7d8a99); color: #1f2a3a; }
.pt-tier.t-signature { background: linear-gradient(135deg, #3b4f86, #141f3d); }
.pt-tier.t-infinite { background: linear-gradient(135deg, #4a4a4a, #000); }
.pt-tier.t-other { background: #edf1f4; color: #526674; }
.pt-cmp { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 700; color: var(--navy); cursor: pointer; }
.pt-cmp input { width: 16px; height: 16px; accent-color: var(--blue); margin: 0; }
.pt-apply { display: inline-flex; align-items: center; justify-content: center; height: 36px; padding: 0 16px; border-radius: 8px; background: var(--orange); color: var(--navy) !important; font-size: 14.5px; font-weight: 800; white-space: nowrap; }
.pt-apply:hover { background: #e88500; }
.pt-detail { display: inline-flex; align-items: center; justify-content: center; height: 36px; padding: 0 12px; border: 1px solid #c9d5ea; border-radius: 8px; background: #fff; color: var(--blue); font-size: 14.5px; font-weight: 700; white-space: nowrap; }
.pt-detail:hover { background: #eef4ff; }

/* Phone ranking cards (prototype v2c-card, compact) */
#pt-cc-results { display: grid; gap: 10px; }
.pt-card { display: grid; gap: 8px; padding: 12px; border: 1px solid #e1e6e8; border-radius: 10px; background: #fff; }
.pt-card header { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 10px; align-items: center; }
.pt-card-name { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 6px; align-items: center; }
.pt-card-name b { font-size: 16px; line-height: 1.3; font-weight: 650; }
.pt-card-name b a:hover { color: var(--blue); text-decoration: underline; }
.pt-card-name small { grid-column: 2; font-size: 13px; color: var(--mut); }
.pt-card-name .pt-rk { grid-row: span 2; }
.pt-spec { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 4px 12px; }
.pt-spec div { display: grid; }
.pt-spec dt { font-size: 12.5px; color: var(--mut); }
.pt-spec dd { margin: 0; font-size: 14px; font-weight: 700; line-height: 1.35; font-variant-numeric: tabular-nums; }
.pt-spec dd small { display: block; font-size: 12px; font-weight: 400; color: var(--mut); }
.pt-spec dd small.warn { color: #b42318; font-weight: 700; }
.pt-perk { margin: 0; padding-left: 16px; font-size: 14px; line-height: 1.5; color: #26324a; list-style: disc; }
.pt-perk li::marker { color: #12b76a; }
.pt-card .pt-perk, .pt-card .pt-row-pic .pt-cmp, .pt-foot .pt-cmp { display: none; }
.pt-foot { display: flex; align-items: center; justify-content: flex-end; gap: 8px; }
.pt-more { display: flex; align-items: center; justify-content: center; width: 100%; height: 46px; margin: 4px 0 0; border: 1px solid var(--blue); border-radius: 12px; background: #eef4ff; color: var(--blue); font-size: 16px; font-weight: 700; cursor: pointer; }
.pt-more:hover { background: #dfe9fd; }
.pt-none { padding: 20px; text-align: center; color: var(--mut); font-size: 15.5px; }

/* Comparison */
.pt-cmpbar { position: sticky; bottom: 12px; z-index: 20; display: flex; align-items: center; gap: 8px; margin: 12px 0 0; padding: 10px 12px; border-radius: 12px; background: var(--navy); color: #fff; box-shadow: 0 8px 24px #00184a40; font-size: 14.5px; }
.pt-cmpbar b { flex: 1; }
.pt-cmpbar button { height: 34px; padding: 0 12px; border: 0; border-radius: 8px; background: var(--orange); color: var(--navy); font-size: 14.5px; font-weight: 700; cursor: pointer; }
.pt-cmpbar button.ghost { background: transparent; color: #fff; border: 1px solid #ffffff66; }
.pt-ctable { margin: 14px 0 0; border: 1px solid var(--line); border-radius: 12px; overflow: auto; }
.pt-ctable table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.pt-ctable th, .pt-ctable td { padding: 8px 10px; border-bottom: 1px solid #eef1f6; text-align: left; vertical-align: top; }
.pt-ctable thead th { background: #f8faff; font-weight: 700; }
.pt-ctable thead th .pt-cc-art { width: 72px; margin-bottom: 6px; }
.pt-ctable tbody th { font-weight: 600; color: #52647e; white-space: nowrap; }
.pt-ctable td.win { color: #0a7a4a; font-weight: 700; }
.pt-ctable tr:last-child td, .pt-ctable tr:last-child th { border-bottom: 0; }
.pt-ctable .pt-x { margin-left: 6px; color: #52647e; background: none; border: 0; cursor: pointer; font: 700 16px/1 Arial, sans-serif; }

/* Left column boxes */
.pt-nv { background: #fff; border: 1px solid #e1e6e8; border-radius: 10px; padding: 16px 14px 6px; }
.pt-nv-top { padding: 0 2px 12px; border-bottom: 1px solid #eef1f5; margin-bottom: 4px; }
.pt-nv-top b { display: block; font-size: 18px; color: var(--ink); }
.pt-nv-top small { display: block; margin-top: 2px; font-size: 13.5px; line-height: 1.45; color: var(--mut); }
.pt-nv-go { display: flex; align-items: center; justify-content: space-between; width: 100%; height: 38px; margin-top: 8px; padding: 0 5px 0 14px; border: 1px solid var(--blue); border-radius: 10px; background: #eef4ff; color: var(--blue); font-size: 14px; font-weight: 700; cursor: pointer; }
.pt-nv-go i { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--blue); color: #fff; transition: transform .15s; }
.pt-nv-go i svg { width: 15px; height: 15px; }
.pt-nv-go:hover i { transform: translateY(2px); }
.pt-nv-s { padding: 12px 0 10px; }
.pt-nv-s + .pt-nv-s { border-top: 1px dashed var(--line); }
.pt-nv-s h3 { display: flex; align-items: center; gap: 7px; margin: 0 0 9px; font-size: 14px; font-weight: 800; color: var(--mut); letter-spacing: .01em; }
.pt-nv-s h3 svg { width: 16px; height: 16px; stroke: var(--acc); }
.pt-nv button { display: flex; align-items: center; gap: 7px; min-height: 0; border: 1px solid #e1e6e8; background: #fff; border-radius: 6px; font-size: 14px; font-weight: 500; color: var(--ink); cursor: pointer; text-align: left; transition: border-color .12s, background .12s; }
.pt-nv button:hover { border-color: #9db8f2; background: #f7faff; }
.pt-nv button span { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pt-nv button em { flex: none; font-style: normal; font-size: 12.5px; font-weight: 700; color: var(--mut); background: #f1f4f9; border-radius: 999px; padding: 1px 7px; }
.pt-nv button[aria-pressed="true"] { border-color: var(--blue); background: #eef4ff; color: var(--ink); box-shadow: inset 0 0 0 1px var(--blue); }
.pt-nv button[aria-pressed="true"] > span::after { content: " ✓"; color: var(--blue); font-weight: 800; }
.pt-nv button[aria-pressed="true"] em { background: #dce7f7; color: #245bd6; }
.pt-nv button.zero { opacity: .45; }
.pt-nv-tiers { display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px; }
.pt-nv-tiers button { height: 34px; padding: 0 10px; }
.pt-nv-tiers button.all { background: var(--ink); border-color: var(--ink); color: #fff; height: 36px; justify-content: space-between; }
.pt-nv-tiers button.all em { background: rgba(255, 255, 255, .18); color: #fff; }
.pt-nv-tiers button.all:hover { background: #13306b; }
.pt-nv-tiers button.all[aria-pressed="true"] { box-shadow: 0 0 0 2px #9db8f2; }
.pt-nv-tiers button.all[aria-pressed="true"] > span::after { color: #fff; }
.pt-nv-card { flex: none; width: 22px; height: 15px; border-radius: 3px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25); background: linear-gradient(135deg, #9fb0c6, #5a6b82); }
.pt-nv-card.t-gold { background: linear-gradient(135deg, #f0d27a, #a8761c); }
.pt-nv-card.t-platinum { background: linear-gradient(135deg, #dfe4ea, #7d8a99); }
.pt-nv-card.t-signature { background: linear-gradient(135deg, #3b4f86, #141f3d); }
.pt-nv-card.t-infinite { background: linear-gradient(135deg, #444, #000); }
.pt-nv-logos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.pt-nv-logos button { flex-direction: column; justify-content: center; gap: 3px; height: 56px; padding: 6px 4px; text-align: center; min-width: 0; }
.pt-nv-logos button svg { width: 40px; height: 25px; }
.pt-nv-logos button > b { font-size: 12px; line-height: 1.2; }
.pt-nv-logos button span { display: none; }
.pt-nv-logos button em { font-size: 12px; padding: 0 6px; }
.pt-nv-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.pt-nv-chips button { height: 32px; padding: 0 6px 0 11px; border-radius: 999px; }
/* 9 Nov: a long label (รับได้ทั่วโลก) spilled out of the sidebar — chips never exceed the column, the label trims with … */
.pt-nv-chips button { max-width: 100%; min-width: 0; }
.pt-nv-chips button span { flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pt-nv-chips button em { flex: none; }

.pt-side, .pt-learn, .pt-dir { background: #fff; border: 1px solid #e1e6e8; border-radius: 10px; padding: 0 14px 6px; margin-top: 12px; overflow: hidden; }
.pt-side strong, .pt-learn h2, .pt-dir h2 { display: block; margin: 0 -14px 4px; padding: 10px 14px; background: #e9ebef; border-bottom: 1px solid #d9dee6; font-size: 17px; font-weight: 800; color: #0b1f5c; }
.pt-side strong small { font-size: 12.5px; font-weight: 500; color: var(--mut); }
.pt-side ol { list-style: none; margin: 0; padding: 0; counter-reset: s; }
.pt-side li { counter-increment: s; border-top: 1px solid #eef1f5; }
.pt-side li:first-child { border-top: 0; }
.pt-side li a { display: flex; align-items: center; gap: 9px; padding: 7px 0; }
.pt-side li a::before { content: counter(s); width: 14px; font-weight: 800; color: var(--ink); font-size: 14.5px; }
.pt-side .pt-cc-art { width: 46px; }
.pt-side li b { display: block; font-size: 14px; line-height: 1.3; color: var(--ink); }
.pt-side li a:hover b { color: var(--blue); text-decoration: underline; }
.pt-side li small { font-size: 12.5px; color: var(--mut); }
.pt-learn > a { display: flex; align-items: center; justify-content: space-between; gap: 6px; min-height: 44px; padding: 6px 2px; border-top: 1px solid var(--line); color: #003da5; font-size: 14px; font-weight: 700; }
.pt-learn > a:first-of-type { border-top: 0; }
.pt-learn > a:hover { text-decoration: underline; }
.pt-help { flex: 0 0 19px; display: grid; place-items: center; width: 19px; height: 19px; border: 1px solid #9db7e5; border-radius: 50%; font-size: 12.5px; }
.pt-learn .pt-learn-all { justify-content: flex-start; text-decoration: underline; font-size: 13.5px; }
.pt-dir details { border-top: 1px solid var(--line); }
.pt-dir details:first-of-type { border-top: 0; }
.pt-dir summary { display: flex; align-items: center; cursor: pointer; min-height: 44px; font-size: 14px; font-weight: 800; list-style: none; }
.pt-dir summary::-webkit-details-marker { display: none; }
.pt-dir summary::after { content: "+"; margin-left: auto; font-size: 18px; color: #003da5; }
.pt-dir details[open] summary::after { content: "−"; }
.pt-dir-links { display: flex; flex-wrap: wrap; gap: 5px; padding: 0 0 10px; }
.pt-dir-links button { min-height: 34px; padding: 5px 9px; border: 1px solid #c6d4ea; border-radius: 7px; background: #f4f7fd; color: #003da5; font-size: 13.5px; font-weight: 700; cursor: pointer; }
.pt-dir-links button small { font-weight: 500; color: var(--mut); }
.pt-dir-links button:hover { border-color: var(--blue); }

/* Search table */
.pt-cs table { width: 100%; border-collapse: collapse; }
.pt-cs tr { display: grid; grid-template-columns: 150px minmax(0, 1fr); border-bottom: 1px solid #e3e7ee; }
.pt-cs tr:last-child { border-bottom: 0; }
.pt-cs th { text-align: left; vertical-align: top; padding: 12px 10px 12px 0; font-size: 16px; font-weight: 800; color: #1d2433; }
.pt-cs td { padding: 8px 0; display: flex; flex-wrap: wrap; gap: 4px 0; }
.pt-cs td.inc { gap: 4px 20px; }
.pt-cs td.inc .pt-cs-o { width: auto; min-width: 0; }
.pt-cs-o { display: inline-flex; align-items: center; gap: 8px; width: 25%; min-width: 150px; padding: 4px 0; font-size: 15.5px; color: #1d2433; cursor: pointer; }
.pt-cs-o input { width: 18px; height: 18px; margin: 0; accent-color: var(--acc); flex: none; }
.pt-cs-logo svg { display: block; width: 44px; height: 28px; }
.pt-cs-text { width: min(100%, 460px); height: 38px; border: 1px solid #b9c2cf; border-radius: 4px; padding: 0 10px; font: 16px "Noto Sans Thai", Arial, sans-serif; color: #1d2433; margin: 2px 0; }
.pt-cs-go { display: flex; justify-content: center; gap: 12px; padding-top: 14px; border-top: 1px solid #e3e7ee; }
.pt-cs-go button { height: 44px; padding: 0 26px; border-radius: 5px; border: 1px solid #1f4fa6; background: linear-gradient(#3a78d8, #1f5bc6); color: #fff; font-size: 17px; font-weight: 800; cursor: pointer; }
.pt-cs-go button b { font-weight: 600; font-size: 14.5px; opacity: .9; }
.pt-cs-go button.ghost { background: #f4f5f7; color: #344054; border-color: #c8ced8; font-weight: 600; font-size: 15.5px; }

/* Top 3 per tier */
.pt-tr { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.pt-tr-col { border: 1px solid #d9dee6; border-top: 3px solid #5a63d8; border-radius: 4px; display: flex; flex-direction: column; }
.pt-tr-col h3 { margin: 0; padding: 10px; text-align: center; font-size: 17px; font-weight: 800; color: #0b1f5c; background: #f6f7f9; border-bottom: 1px solid #d9dee6; }
.pt-tr-col ol { list-style: none; margin: 0; padding: 0; flex: 1; }
.pt-tr-col li { padding: 10px 12px; border-bottom: 1px solid #e3e7ee; min-height: 86px; }
.pt-tr-rk { display: flex; align-items: center; gap: 4px; font-size: 14.5px; font-weight: 700; color: #c9d5ea; }
.pt-tr-rk svg { width: 22px; height: 17px; }
.pt-tr-rk b { font-size: 22px; line-height: 1; color: var(--ink); }
.r1 .pt-tr-rk { color: #c9a227; } .r2 .pt-tr-rk { color: #9aa1ab; } .r3 .pt-tr-rk { color: #b07f55; }
.pt-tr-col li a { display: flex; align-items: center; gap: 10px; padding: 6px 0 0; font-size: 16px; line-height: 1.35; font-weight: 600; color: #1f5bc6; }
.pt-tr-col li a:hover > span:last-child { text-decoration: underline; }
.pt-tr-col li .pt-cc-art { width: 72px; }
.pt-tr-col li small { display: block; font-size: 13px; color: var(--mut); font-weight: 500; }
.pt-tr-more { border: 0; background: #fff; padding: 11px 12px; font-size: 15.5px; font-weight: 600; color: #1f5bc6; cursor: pointer; text-align: center; }
.pt-tr-more:hover { text-decoration: underline; }

/* Bank wealth tiers */
.pt-aum-ctl { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0 0 14px; }
.pt-aum-ctl > span { font-size: 14.5px; font-weight: 700; color: var(--ink); margin-right: 4px; }
.pt-aum-ctl button { height: 30px; padding: 0 12px; border: 1px solid #d5dce8; border-radius: 999px; background: #fff; font-size: 14px; font-weight: 600; color: #26324a; cursor: pointer; }
.pt-aum-ctl button:hover { border-color: var(--acc); color: var(--acc); }
.pt-aum-ctl button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.pt-aum-sum { flex-basis: 100%; margin: 4px 0 0; font-size: 14px; color: var(--mut); }
.pt-aum-sum b { color: #05603a; }
.pt-aum { --lab: 190px; border: 1px solid #e3e8f0; border-radius: 12px; overflow: hidden; }
.pt-aum-head { display: grid; grid-template-columns: var(--lab) minmax(0, 1fr); background: #f7f9fc; border-bottom: 1px solid #e3e8f0; }
.pt-aum-head > div { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); }
.pt-aum-head > div span { padding: 9px 4px; text-align: center; font-size: 13.5px; font-weight: 800; color: var(--ink); border-left: 1px solid #e3e8f0; }
.pt-aum-head .b0 { color: var(--mut); } .pt-aum-head .b1, .pt-aum-head .b2 { color: #1f5bc6; } .pt-aum-head .b3, .pt-aum-head .b4 { color: #8a6a00; } .pt-aum-head .b5 { color: #0b7a75; }
.pt-aum-body { position: relative; padding: 24px 0 4px; }
.pt-aum-bg { position: absolute; top: 0; bottom: 0; left: var(--lab); right: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); pointer-events: none; }
.pt-aum-bg > i { border-left: 1px solid #edf0f5; }
.pt-aum-bg .b1, .pt-aum-bg .b2 { background: #f3f7ff; } .pt-aum-bg .b3, .pt-aum-bg .b4 { background: #fffaeb; } .pt-aum-bg .b5 { background: #ecfaf8; }
.pt-aum-you { position: absolute; top: 0; bottom: 0; width: 0; border-left: 2px dashed #e5484d; z-index: 2; }
.pt-aum-you b { position: absolute; top: 3px; right: 0; transform: translateX(50%); white-space: nowrap; font-size: 12.5px; font-weight: 800; color: #fff; background: #e5484d; border-radius: 999px; padding: 1px 8px; }
.pt-aum-row { position: relative; display: grid; grid-template-columns: var(--lab) minmax(0, 1fr); align-items: center; min-height: 48px; }
.pt-aum-row + .pt-aum-row { border-top: 1px solid #f0f2f6; }
.pt-aum-bank { display: flex; align-items: center; gap: 10px; padding: 0 10px 0 12px; min-width: 0; }
.pt-aum-bank i { flex: none; display: grid; place-items: center; min-width: 28px; height: 28px; padding: 0 4px; border-radius: 8px; background: var(--c); color: #fff; font: 800 12px Arial, sans-serif; font-style: normal; letter-spacing: .02em; }
.pt-aum-logo { flex: none; display: grid; place-items: center; width: 58px; height: 36px; border-radius: 8px; background: #fff; border: 1px solid #edf0f5; overflow: hidden; }
.pt-aum-logo img { max-width: 52px; max-height: 30px; object-fit: contain; }
.pt-aum-bank > span { font-size: 14px; font-weight: 700; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pt-aum-row.now .pt-aum-bank > span::after { content: " ✓"; color: #05603a; }
.pt-aum-track { position: relative; height: 100%; min-height: 48px; }
.pt-aum-bar { position: absolute; top: 5px; bottom: 5px; margin-left: 2px; display: flex; flex-direction: column; justify-content: center; padding: 0 9px; border-radius: 8px; background: color-mix(in srgb, var(--c) 12%, #fff); border: 1px solid color-mix(in srgb, var(--c) 30%, #fff); overflow: visible; min-height: calc(100% - 10px); transition: box-shadow .15s, transform .15s; }
.pt-aum-bar.lv1 { background: color-mix(in srgb, var(--c) 22%, #fff); }
.pt-aum-bar.lv2 { background: color-mix(in srgb, var(--c) 38%, #fff); border-color: color-mix(in srgb, var(--c) 50%, #fff); }
.pt-aum-bar b { display: flex; align-items: center; gap: 4px; font-size: 13px; line-height: 1.25; color: var(--ink); word-break: break-word; }
.pt-aum-bar .cr { flex: none; width: 13px; height: 10px; fill: #c99a1e; }
.pt-aum-bar small { font-size: 12px; line-height: 1.2; color: var(--mut); }
.pt-aum-bar a { display: block; margin-top: 2px; font-size: 12px; line-height: 1.2; color: var(--acc); text-decoration: underline; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pt-aum-bar:hover { box-shadow: 0 3px 10px rgba(11, 31, 68, .14); transform: translateY(-1px); z-index: 1; }
.pt-aum-bar.past { background: color-mix(in srgb, var(--c) 22%, #fff); }
.pt-aum-bar.now { background: var(--c); border-color: var(--c); box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--c); z-index: 3; }
.pt-aum-bar.now b, .pt-aum-bar.now small, .pt-aum-bar.now a { color: #fff; }
.pt-aum-bar.now .cr { fill: #ffe08a; }
.pt-aum-src { margin: 10px 0 0; font-size: 13px; line-height: 1.6; color: #7a8494; }

/* Reading */
.pt-ca { display: grid; gap: 12px; }
.pt-ca-art { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 10px; align-items: center; padding: 8px; border: 1px solid var(--line); border-radius: 12px; transition: border-color .15s; }
.pt-ca-art:hover { border-color: var(--blue); }
.pt-ca-art img { width: 96px; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 8px; background: #eef1f5; }
.pt-ca-art b { display: block; font-size: 14.5px; line-height: 1.35; }
.pt-ca-art small { display: block; margin-top: 2px; font-size: 13px; line-height: 1.4; color: var(--mut); }
.pt-ca-faq details { border-bottom: 1px solid #dfe4ec; }
.pt-ca-faq details:first-child { border-top: 1px solid #dfe4ec; }
.pt-ca-faq summary { cursor: pointer; padding: 9px 0; font-size: 15.5px; font-weight: 700; color: var(--ink); list-style: none; }
.pt-ca-faq summary::-webkit-details-marker { display: none; }
.pt-ca-faq summary::after { content: "+"; float: right; color: var(--mut); font-weight: 500; }
.pt-ca-faq details[open] summary::after { content: "−"; }
.pt-ca-faq p { margin: 0 0 10px; font-size: 14px; line-height: 1.65; color: #344054; }

/* Guide */
.pt-kg-top { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 12px; align-items: start; }
.pt-kg-face { width: 64px; height: 64px; border-radius: 6px; background: #eef3fb; object-fit: contain; padding: 6px; }
.pt-kg-lead { margin: 0 0 10px; line-height: 1.9; }
.pt-kg-lead mark { background: linear-gradient(transparent 55%, #fff6b3 55%); color: #1d2433; font-weight: 800; font-size: 16px; }
.pt-kg-lead mark.big { font-size: 20.5px; }
.pt-kg-by { border: 1px solid #d9dee6; padding: 10px 14px; font-size: 13.5px; }
.pt-kg-by b { font-size: 14.5px; }
.pt-kg-by > span { color: #1f5bc6; font-weight: 700; font-size: 14.5px; }
.pt-kg-by p { margin: 4px 0 0; font-size: 13.5px; line-height: 1.6; color: #344054; }
.pt-kg-toc { margin: 18px 0 6px; border: 1px solid #d9dee6; background: #fff; }
.pt-kg-toc > p { margin: 0; padding: 9px 16px; background: #f5f5f5; border-bottom: 1px dotted #c8ced8; font-size: 16px; color: #344054; }
.pt-kg-toc ul { margin: 0; padding: 10px 16px 12px 34px; list-style: disc; }
.pt-kg-toc li { padding: 3px 0; font-size: 16px; break-inside: avoid; }
.pt-kg-toc a { color: #1f5bc6; text-decoration: underline; text-underline-offset: 3px; }
.pt-kg-s { scroll-margin-top: 110px; }
.pt-kg-s h3 { margin: 22px 0 10px; padding: 9px 14px; font-size: 18px; font-weight: 800; color: #1d2433; background: #eef0f4; border-left: 5px solid #0b1f5c; }
.pt-kg-s p { margin: 0 0 10px; font-size: 16px; line-height: 1.85; color: #26324a; padding: 0 4px; }

/* Phones: title band stays blue; the left column boxes that help browsing
   (know before applying, directory) follow the main column */
.pt-cc-cols { display: flex; flex-direction: column; }
.pt-cc-left { order: 2; }
.pt-cs-sec { display: none; }

@media (min-width: 1024px) {
	.pt-cc-crumbs { padding: 10px 0 4px; }
	.pt-cc-band { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px 24px; min-height: 140px; margin: 10px 0 8px; padding: 24px 240px 24px 28px; }
	.pt-cc-band-t { flex: 1 1 100%; }
	.pt-cc-band h1 { font-size: 34px; }
	.pt-cc-band p { margin-top: 6px; max-width: 620px; font-size: 18px; line-height: 1.55; font-weight: 500; text-shadow: 0 1px 2px rgba(0, 24, 74, .3); color: #fff; }
	.pt-cc-band-note { width: fit-content; max-width: 100%; padding: 6px 14px 6px 12px; border-radius: 999px; font-size: 14px; }
	.pt-cc-band-mascot { display: block; position: absolute; right: 24px; top: 50%; height: 112%; width: auto; transform: translateY(-50%); pointer-events: none; }
	.pt-cc-cols { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 0 20px; align-items: start; }
	.pt-cc-left { order: 0; margin-top: 12px; }
	.pt-nv, .pt-side { display: block; }
	.pt-sec { margin: 20px 0 0; padding: 24px; }
	.pt-sec:first-child, .pt-ai + .pt-sec { margin-top: 12px; }
	.pt-ai { margin: 12px 0 0; padding: 14px 18px; }
	.pt-ai-head b { font-size: 18px; }
	.pt-hd { padding: 0 0 16px; margin: 0 0 16px; }
	.pt-hd h2, .pt-sortrow h2 { font-size: 21.5px; }
	.pt-tiles-sec, .pt-prof-sec, .pt-cs-sec, .pt-tr-sec, .pt-cb-sec { display: block; }
	.pt-purpose-sec, .pt-filter { display: none; }
	.pt-ai-picks { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.pt-ai-pick { grid-template-columns: 76px minmax(0, 1fr); }
	.pt-ai-pick .pt-rk { position: absolute; }
	.pt-ai-pick { position: relative; }
	.pt-ai-pick .pt-rk { left: -6px; top: -8px; }

	/* ranking: one wide row per card (prototype v2cd-row) */
	.pt-sortrow { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 0 12px; align-items: center; margin: 0 0 16px; padding: 0 0 16px; border-bottom: 1px solid #e1e6e8; }
	.pt-count { flex-basis: auto; }
	#pt-cc-results { display: block; }
	.pt-card { display: grid; grid-template-columns: 22px 96px minmax(0, 1fr) 220px 124px; gap: 12px; align-items: start; padding: 20px 0; margin: 0; border: 0; border-top: 1px solid #dfe4ec; border-radius: 0; background: #fff; }
	.pt-card.first { background: #f7fafb; }
	.pt-card.no { opacity: .55; }
	.pt-card header { display: contents; }
	.pt-card .pt-row-rk { font-size: 19.5px; font-weight: 500; color: #7b8b96; text-align: center; padding-top: 4px; }
	.pt-card .pt-row-pic { display: grid; gap: 7px; justify-items: start; }
	.pt-card .pt-row-pic .pt-cmp { display: inline-flex; }
	.pt-card .pt-row-sub2 { display: none; }
	.pt-card .pt-row-pic .pt-cc-art { width: 96px; }
	.pt-card-name { display: block; }
	.pt-card-name .pt-rk { display: none; }
	.pt-card-name b { font-size: 17.5px; }
	.pt-card-name .pt-tier { margin-left: 8px; }
	.pt-card-name small { display: block; margin: 2px 0 4px; font-size: 13.5px; }
	.pt-card .pt-perk { display: block; margin-top: 2px; }
	.pt-spec { grid-template-columns: 1fr 1fr; gap: 6px 12px; border-left: 1px solid #dfe4ec; padding-left: 14px; }
	.pt-spec dd { font-size: 14px; }
	.pt-spec dd small { font-size: 12.5px; }
	.pt-foot { flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 6px; }
	.pt-foot .pt-apply, .pt-foot .pt-detail { height: 32px; font-size: 14px; padding: 0 6px; border-radius: 6px; }
	.pt-foot .pt-cmp { display: none; }
	.pt-more { height: 40px; margin: 0; border: 0; border-top: 1px solid #dfe4ec; border-bottom: 1px solid #dfe4ec; border-radius: 0; background: #f7f8fa; color: var(--acc); font-size: 14.5px; }
	.pt-cmpbar { bottom: 16px; }

	.pt-ca { grid-template-columns: 1fr 1fr 1.25fr; align-items: start; }
	.pt-ca-art { display: block; padding: 0; border: 0; }
	.pt-ca-art img { width: 100%; aspect-ratio: 16 / 9; border-radius: 3px; }
	.pt-ca-art b { font-size: 16px; line-height: 1.4; margin-top: 7px; }
	.pt-ca-art:hover b { text-decoration: underline; }
	.pt-kg-top { grid-template-columns: 120px minmax(0, 1fr); gap: 20px; }
	.pt-kg-face { width: 120px; height: 120px; padding: 8px; }
	.pt-kg-lead mark { font-size: 17px; }
	.pt-kg-lead mark.big { font-size: 23px; }
	.pt-kg-toc ul { columns: 2; column-gap: 24px; }
	.pt-kg-s h3 { font-size: 19.5px; }
	.pt-kg-s p { font-size: 16.5px; }
}

@media (max-width: 1023px) {
	.pt-card .pt-row-rk { display: none; }
	.pt-card .pt-perk li:nth-child(n+3) { display: none; }
	.pt-tier { font-size: 12px; }
}

/* ── Prototype review, 2 Nov (artifact "PriceTag V1 Revised Review", page 5) ─────────────── */

/* "Know before applying" questions were too small to read */
.pt-learn > a { font-size: 16px; line-height: 1.45; min-height: 48px; padding: 10px 2px; }
.pt-help { width: 22px; height: 22px; flex-basis: 22px; font-size: 13.5px; }

/* Credit card basics: contents as tappable tiles, each topic a card with a numbered icon and key figures */
.pt-kg-toc { margin: 16px 0 8px; border: 0; background: none; }
.pt-kg-toc > p { margin: 0 0 8px; padding: 0; background: none; border: 0; font-size: 14.5px; font-weight: 800; color: var(--ink); }
.pt-kg-toc ul { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px; margin: 0; padding: 0; list-style: none; columns: auto; }
.pt-kg-toc li { position: relative; display: flex; align-items: center; margin: 0; padding: 0; }
/* 13 Nov 2026 (the user: "alignment หน้าบัตรเครดิตเพี้ยนมาก"): the icon had no vertical position of its own, so where the
   row stretches its link (desktop) it sat on the top-left corner of the box. It is centred on the box now. */
.pt-kg-ti { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); line-height: 1; font-style: normal; font-size: 20.5px; pointer-events: none; }
.pt-kg-toc a { display: flex; align-items: center; width: 100%; min-height: 48px; padding: 8px 12px 8px 42px; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); text-decoration: none; font-size: 15.5px; font-weight: 600; line-height: 1.35; }
.pt-kg-toc a:hover { border-color: var(--blue); background: #f5f8ff; text-decoration: none; }
.pt-kg-s { margin: 14px 0 0; padding: 18px 20px; border: 1px solid #e6ebf3; border-radius: 14px; background: #fff; }
.pt-kg-s:nth-of-type(even) { background: #f8faff; }
.pt-kg-s h3 { display: flex; align-items: center; gap: 12px; margin: 0 0 12px; padding: 0; border: 0; background: none; font-size: 20.5px; font-weight: 800; color: var(--ink); }
.pt-kg-n { position: relative; flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: #eef4ff; }
.pt-kg-n i { font-style: normal; font-size: 24px; line-height: 1; }
.pt-kg-n em { position: absolute; right: -6px; bottom: -6px; padding: 1px 5px; border-radius: 999px; background: var(--blue); color: #fff; font-style: normal; font-size: 12px; font-weight: 800; line-height: 1.4; }
.pt-kg-keys { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 8px; margin: 0 0 14px; }
.pt-kg-keys > div { display: grid; gap: 2px; padding: 10px 12px; border-radius: 10px; background: #fff8ec; border: 1px solid #fbe2b6; }
.pt-kg-s:nth-of-type(even) .pt-kg-keys > div { background: #fff; }
.pt-kg-keys b { font-size: 20.5px; font-weight: 800; line-height: 1.2; color: var(--ink); }
.pt-kg-keys small { font-size: 13.5px; line-height: 1.35; color: var(--mut); }
.pt-kg-s p { max-width: 68ch; font-size: 17px; line-height: 1.75; padding: 0; }
.pt-kg-s p:last-child { margin-bottom: 0; }

@media (min-width: 1024px) {
	/* Popular cards by tier: each column in its own colour */
	.pt-tr { gap: 14px; }
	.pt-tr-col { --tc1: #f6c64a; --tc2: #e9a514; --tbg: #fff9e8; --tink: #5a3a00; border: 0; border-radius: 14px; overflow: hidden; background: var(--tbg); box-shadow: 0 2px 10px rgba(0, 24, 74, .06); }
	.pt-tr-col:nth-child(2) { --tc1: #7fb2ff; --tc2: #2f6fe4; --tbg: #eef5ff; --tink: #fff; }
	.pt-tr-col:nth-child(3) { --tc1: #5b5fd6; --tc2: #1e2f8f; --tbg: #f0f0fd; --tink: #fff; }
	.pt-tr-col h3 { padding: 12px 14px; border: 0; background: linear-gradient(120deg, var(--tc1), var(--tc2)); color: var(--tink); font-size: 17px; text-align: left; }
	.pt-tr-col ol { display: grid; align-content: start; gap: 8px; padding: 10px; }
	.pt-tr-col li { display: grid; grid-template-columns: 34px minmax(0, 1fr); align-items: center; gap: 6px; min-height: 0; padding: 10px; border: 0; border-radius: 10px; background: #fff; box-shadow: 0 1px 2px rgba(0, 24, 74, .06); }
	.pt-tr-col li a { padding: 0; font-size: 16px; color: var(--ink); }
	.pt-tr-col li a > span:last-child { display: grid; gap: 3px; justify-items: start; text-align: left; }
	.pt-tr-col li small { justify-self: start; padding: 1px 8px; border-radius: 999px; background: var(--tbg); border: 1px solid color-mix(in srgb, var(--tc2) 35%, #fff); color: #3b4f73; font-size: 13px; font-weight: 600; }
	.pt-tr-rk { flex-direction: column; gap: 0; }
	.pt-tr-rk svg { width: 20px; height: 15px; }
	.pt-tr-rk b { font-size: 20.5px; }
	.pt-tr-more { margin: 0 10px 10px; border: 0; border-radius: 10px; background: #fff; color: color-mix(in srgb, var(--tc2) 80%, #00184a); font-weight: 700; }

	/* Wealth tiers to a consulting-table standard: one row height, hairline grid, one blue ramp per level */
	.pt-aum { --lab: 200px; border: 1px solid #d9e0ea; border-radius: 10px; background: #fff; }
	.pt-aum-head { background: #fff; border-bottom: 2px solid var(--ink); }
	.pt-aum-head > span { display: flex; align-items: flex-end; padding: 10px 14px; font-size: 13.5px; font-weight: 800; color: var(--ink); }
	.pt-aum-head > span::before { content: "ธนาคาร / สถาบัน"; }
	.pt-cc[data-lang="en"] .pt-aum-head > span::before { content: "Bank / institution"; }
	.pt-aum-head > div span { padding: 10px 8px; text-align: left; font-size: 13px; font-weight: 800; color: var(--ink); border-left: 1px solid #e3e8f0; white-space: nowrap; }
	.pt-aum-body { padding: 0; }
	.pt-aum-bg .b0, .pt-aum-bg .b1, .pt-aum-bg .b2, .pt-aum-bg .b3, .pt-aum-bg .b4, .pt-aum-bg .b5 { background: none; }
	.pt-aum-bg > i { border-left: 1px solid #e3e8f0; }
	.pt-aum-bg > i:nth-child(even) { background: #fafbfd; }
	.pt-aum-row { height: 64px; min-height: 0; }
	.pt-aum-row + .pt-aum-row { border-top: 1px solid #e3e8f0; }
	.pt-aum-track { min-height: 0; }
	.pt-aum-bank { padding: 0 14px; gap: 10px; }
	.pt-aum-logo { width: 48px; height: 30px; border-radius: 6px; border: 1px solid #e3e8f0; }
	.pt-aum-logo img { max-width: 44px; max-height: 24px; }
	.pt-aum-bank > span { font-size: 14.5px; font-weight: 700; color: var(--ink); }
	.pt-aum-bar { top: 8px; bottom: 8px; min-height: 0; margin-left: 3px; padding: 0 8px; border: 0; border-radius: 4px; align-items: flex-start; overflow: hidden; box-shadow: none; transition: none; }
	.pt-aum-bar.lv0 { background: #eaf0fb; }
	.pt-aum-bar.lv1 { background: #cfdcf5; }
	.pt-aum-bar.lv2 { background: #a9c2ee; border-color: transparent; }
	.pt-aum-bar.top { box-shadow: inset 3px 0 0 var(--ink); }
	.pt-aum-bar:hover { transform: none; box-shadow: inset 0 0 0 1px var(--blue); }
	.pt-aum-bar.top:hover { box-shadow: inset 3px 0 0 var(--ink), inset 0 0 0 1px var(--blue); }
	.pt-aum-bar b { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; font-size: 13.5px; font-weight: 800; line-height: 1.2; color: var(--ink); overflow: hidden; max-width: 100%; }
	.pt-aum-bar small { font-size: 12.5px; line-height: 1.3; color: #3b4f73; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
	.pt-aum-bar .cr { width: 11px; height: 8px; margin-right: 3px; fill: var(--ink); }
	.pt-aum-bar a { display: none; }
	.pt-aum-bar:has(a) small::after { content: " · 💳"; font-size: 12.5px; }
	.pt-aum::after { content: "👑 ระดับสูงสุดของสถาบัน   ·   💳 มีบัตรเครดิตประจำระดับ (ชี้ที่แถบเพื่อดูชื่อบัตร)   ·   แถบสีเข้มขึ้นตามระดับ"; display: block; padding: 10px 14px; border-top: 1px solid #e3e8f0; background: #fafbfd; font-size: 13px; color: #3b4f73; white-space: pre-wrap; }
	.pt-cc[data-lang="en"] .pt-aum::after { content: "👑 the institution’s top tier   ·   💳 comes with its own credit card (hover a bar for the name)   ·   darker bars are higher tiers"; }
	.pt-aum-bar.past { background: #dfe6f2; }
	.pt-aum-bar.now { background: var(--blue); box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--blue); }
	.pt-aum-bar.now b, .pt-aum-bar.now small { color: #fff; }
	.pt-aum-bar.now .cr { fill: #ffe08a; }
	.pt-aum-you { border-left-color: var(--orange); }
	.pt-aum-you b { background: var(--orange); color: var(--ink); }
}

/* Phones, after the prototype's phone page: the ranking is not boxed, its title and sort share one line,
   and the picker strip follows the list (the desktop keeps it at the top of the main column) */
@media (max-width: 1023px) {
	.pt-cc-main { display: flex; flex-direction: column; }
	.pt-cc-main > .pt-ai { order: 3; margin: 0 0 14px; }
	.pt-cc-main > .pt-purpose-sec { order: 1; }
	.pt-cc-main > .pt-cr { order: 2; }
	.pt-cc-main > .pt-ca-sec { order: 4; }
	.pt-cc-main > .pt-kg-sec { order: 5; }
	.pt-cr { padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; }
	.pt-sortrow { flex-wrap: nowrap; align-items: center; margin: 0 0 6px; }
	.pt-sortrow h2 { flex: 1; font-size: 18px; }
	.pt-count { order: 3; flex-basis: 100%; margin: 0 0 8px; }
	.pt-sortrow { flex-wrap: wrap; }
	.pt-sortrow label span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
	.pt-filter { background: #fff; }
	.pt-kg-s { padding: 14px; }
	.pt-kg-s p { font-size: 16px; }
}

/* ── Prototype review, 3–4 Nov (v6 desktop blocks) ─────────────────────────────── */
@media (min-width: 1024px) {
	/* left menu: second jump button, to the spend analyser */
	.pt-nv-go-cx { margin-top: 6px; background: #fff7e6 !important; border-color: #e39a1a !important; color: #7a4b00 !important; text-decoration: none; }
	.pt-nv-go-cx:hover { background: #ffefcf !important; }
	.pt-nv-go-cx i { background: #f59e0b !important; }

	/* popular-feature tiles: a picked tile carries a tick */
	.pt-tile { position: relative; }
	.pt-tile[aria-pressed="true"] { border-color: #1d4ed8; background: #eef4ff; box-shadow: inset 0 0 0 1.5px #1d4ed8; }
	.pt-tile[aria-pressed="true"]::after { content: "\2713"; position: absolute; top: -7px; right: -7px; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: #1d4ed8; color: #fff; font-size: 12px; font-weight: 900; box-shadow: 0 0 0 2px #fff; }

	/* tier ranking: calm table look, white columns with a tier-coloured top rule */
	.pt-tr { gap: 16px; }
	.pt-tr-col { --tc: #d99a1a; --tbg: #fff8e6; --tbd: #f1ddb0; --tink: #6b4a00; border: 1px solid var(--tbd); border-top: 3px solid var(--tc); border-radius: 12px; background: #fff; box-shadow: 0 1px 3px rgba(16, 24, 40, .05); }
	.pt-tr-col:nth-child(2) { --tc: #1d4ed8; --tbg: #eef4ff; --tbd: #c9d6f2; --tink: #0b2a6b; }
	.pt-tr-col:nth-child(3) { --tc: #3f3f9e; --tbg: #f1f0fb; --tbd: #d3d2ef; --tink: #2a2a6e; }
	.pt-tr-col h3 { min-height: 52px; display: flex; align-items: center; padding: 8px 16px; background: var(--tbg); border-bottom: 1px solid var(--tbd); color: var(--tink); font-size: 15px; }
	.pt-tr-col ol { gap: 0; padding: 0 14px; background: #fff; }
	.pt-tr-col li { display: grid; grid-template-columns: 26px minmax(0, 1fr); align-items: center; gap: 10px; min-height: 70px; padding: 10px 0; border: 0; border-bottom: 1px solid #eef1f6; border-radius: 0; background: none; box-shadow: none; }
	.pt-tr-col li:last-child { border-bottom: 0; }
	.pt-tr-rk { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: #eef2f7; }
	.pt-tr-rk svg { display: none; }
	.pt-tr-rk b { font-size: 13px; color: #3b4f73; }
	.pt-tr-col li.r1 .pt-tr-rk { background: radial-gradient(circle at 35% 30%, #ffe680, #f5b700); }
	.pt-tr-col li.r2 .pt-tr-rk { background: radial-gradient(circle at 35% 30%, #f4f6fa, #b8c2d1); }
	.pt-tr-col li.r3 .pt-tr-rk { background: radial-gradient(circle at 35% 30%, #f7d2ad, #cd8a4f); }
	.pt-tr-col li a { padding: 0; font-size: 14px; font-weight: 700; color: #00184a; }
	.pt-tr-col li a > span:last-child { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
	.pt-tr-col li .pt-cc-art { width: 48px; flex: none; }
	.pt-tr-col li small { color: #8a97ab; font-weight: 500; }
	.pt-tr-more { margin: 0; border-top: 1px solid var(--tbd); border-radius: 0; background: #fff; color: var(--tc); font-size: 14px; }

	/* wealth tiers: private-banking look, navy header with a gold ramp, columns warming towards gold */
	.pt-aum { border: 0; border-radius: 16px; overflow: hidden; box-shadow: 0 6px 24px rgba(0, 24, 74, .10), 0 0 0 1px #e3e9f3; }
	.pt-aum::after { content: none !important; display: none !important; }
	.pt-aum-head { background: linear-gradient(100deg, #00184a 0%, #0b3489 70%, #1a47a8 100%); border-bottom: 4px solid transparent; border-image: linear-gradient(90deg, #1a47a8 0%, #9fb8ec 30%, #ffe08a 62%, #f2a900 100%) 1; }
	.pt-aum-head > span, .pt-aum-head > div span { color: #fff; }
	.pt-aum-head > div span { border-left-color: rgba(255, 255, 255, .14); }
	.pt-aum-head > div span[class] { color: #fff; }
	.pt-aum-head > div span.b4, .pt-aum-head > div span.b5 { color: #ffe08a; }
	.pt-aum-bg > i:nth-child(4), .pt-aum-bg > i:nth-child(5) { background: #fffcf2; }
	.pt-aum-bg > i:nth-child(6) { background: #fff8e3; }
	.pt-aum-row { box-shadow: inset 4px 0 0 var(--c, #c9d5ea); }
	.pt-aum-bar.lv0 { background: #e8f0ff; }
	.pt-aum-bar.lv1 { background: linear-gradient(90deg, #fff4d1, #ffe7a3); }
	.pt-aum-bar.lv2 { background: linear-gradient(90deg, #ffe08a, #f5c542); }
	.pt-aum-bar.top { background: linear-gradient(90deg, #00184a, #0b3489); box-shadow: none; }
	/* your tier (9 Nov, v2): navy clashed with the top tier, so the tier you reach is green with a check and a short pulse;
	   tiers you have passed fade back; long names stay on one line instead of clipping. */
	.pt-aum-bar.now, .pt-aum-bar.now.lv0, .pt-aum-bar.now.lv1, .pt-aum-bar.now.lv2, .pt-aum-bar.now.top { background: linear-gradient(90deg, #12a36a, #0b7a4d); border: 1px solid #0b7a4d; box-shadow: 0 6px 16px rgba(11, 122, 77, .32); animation: pt-aum-pop .5s ease-out, pt-aum-ring 1.4s ease-out .1s 2; z-index: 3; }
	.pt-aum-bar.now b, .pt-aum-bar.now a { color: #fff; }
	.pt-aum-bar.now b::before { content: "✓"; flex: none; display: inline-grid; place-items: center; width: 16px; height: 16px; margin-right: 2px; border-radius: 50%; background: #fff; color: #0b7a4d; font-size: 11px; font-weight: 900; }
	.pt-aum-bar.now small { color: #dcfce7; }
	.pt-aum-bar.now .cr { fill: #fff; }
	.pt-aum-bar.past, .pt-aum-bar.past.lv0, .pt-aum-bar.past.lv1, .pt-aum-bar.past.lv2, .pt-aum-bar.past.top { background: #f4f6f9; border-color: #e3e8ef; box-shadow: none; }
	.pt-aum-bar.past b, .pt-aum-bar.past.top b { color: #7a8494; }
	.pt-aum-bar.past small, .pt-aum-bar.past.top small { color: #9aa4b2; }
	.pt-aum-bar.past .cr { fill: #b8c0cc; }
	.pt-aum-row, .pt-aum-track { min-height: 66px; }
	.pt-aum-bar b { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; min-width: 0; font-size: 12.5px; line-height: 1.25; word-break: normal; overflow-wrap: anywhere; }
	.pt-aum-bar b .cr { display: inline-block; vertical-align: -1px; margin-right: 3px; }
	.pt-aum-bar.now b::before { display: inline-grid; vertical-align: 1px; margin-right: 4px; }
	.pt-aum-bar small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
	@keyframes pt-aum-pop { 0% { transform: scale(.96); } 60% { transform: scale(1.02); } 100% { transform: none; } }
	@keyframes pt-aum-ring { 0% { box-shadow: 0 6px 16px rgba(11, 122, 77, .32), 0 0 0 0 rgba(18, 163, 106, .55); } 100% { box-shadow: 0 6px 16px rgba(11, 122, 77, .32), 0 0 0 10px rgba(18, 163, 106, 0); } }
	@media (prefers-reduced-motion: reduce) { .pt-aum-bar.now { animation: none; } }
	.pt-aum-bar.top b, .pt-aum-bar.top small { color: #ffe08a; }
	.pt-aum-bar.top .cr { fill: #ffe08a; }
	.pt-aum-key { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 16px 0 0; font-size: 13px; color: #3b4f73; }
	.pt-aum-key span { display: inline-flex; align-items: center; gap: 6px; }
	.pt-aum-key i { width: 22px; height: 12px; border-radius: 3px; }
	.pt-aum-key .l0 { background: #e8f0ff; }
	.pt-aum-key .l1 { background: linear-gradient(90deg, #fff4d1, #ffe08a); }
	.pt-aum-key .l2 { background: linear-gradient(90deg, #00184a, #0b3489); }
	.pt-aum-key .ly { background: linear-gradient(90deg, #12a36a, #0b7a4d); }
}
@media (max-width: 1023px) { .pt-aum-key, .pt-nv-go-cx { display: none; } }

/* "ให้ช่วยเลือก" button: the theme's global button rule (navy text, weight 400) was winning over .pt-ai-btn on the
   blue fill — 1.6:1 contrast (user, 6 Nov). Locked here at higher specificity. */
.pt-ai .pt-ai-btn, .pt-ai .pt-ai-btn:hover, .pt-ai .pt-ai-btn:focus { color: #fff !important; background: #004aeb; border: 1px solid #004aeb; font-weight: 800; font-size: 14.5px; min-height: 40px; padding: 0 18px; border-radius: 10px; box-shadow: 0 4px 12px rgba(0, 74, 235, .25); }
.pt-ai .pt-ai-btn:hover { background: #0040cc; }
.pt-ai .pt-ai-btn[aria-expanded="true"] { background: #fff; color: #004aeb !important; }
.pt-ai .pt-ai-chips button { color: #00184a; font-weight: 700; }
.pt-ai .pt-ai-chips button[aria-pressed="true"] { color: #fff; }

/* Phone: the desktop search menu (.pt-nv) sits above the ranking as a card; the old "สำรวจทั้งหมด" accordion goes */
@media (max-width: 1023px) {
	.pt-nv.pt-nv-phone { display: block; margin: 0 0 14px; }
	.pt-nv-phone .pt-nv-go { display: none; }
	.pt-nv-phone .pt-nv-tiers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.pt-nv-phone .pt-nv-tiers button.all { grid-column: 1 / -1; }
	.pt-nv-phone .pt-nv-logos { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; }
	.pt-nv-phone .pt-nv-logos button { height: 52px; padding: 4px 2px; }
	.pt-nv-phone .pt-nv-logos button svg { width: 34px; height: 22px; }
	.pt-nv-phone .pt-nv-logos button > b { font-size: 10.5px; }
	/* beyond the five logo tiles: chips (Thai standard, others) */
	.pt-nv-phone .pt-nv-logos button:nth-child(6) { grid-column: span 3; }
	.pt-nv-phone .pt-nv-logos button:nth-child(7) { grid-column: span 2; }
	.pt-nv-phone .pt-nv-logos button:nth-child(n+6) { flex-direction: row; justify-content: space-between; height: 34px; padding: 0 10px; }
	.pt-nv-phone .pt-nv-logos button:nth-child(n+6) svg { display: none; }
	.pt-nv-phone .pt-nv-logos button:nth-child(n+6) > b { font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
	.pt-dir { display: none; }
}

/* Curated picks by use (6 Nov, prototype v2tr-g-css): three coloured groups, emoji in a white circle, three ranked
   picks per group with the liked / check tags and the source line. Desktop only, like the tier ranking it replaces. */
@media (min-width: 1024px) {
	.pt-pk-sec .pt-hd { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
	.pt-pk-note { font-size: 12px; color: #5b6675; font-weight: 500; }
	.pt-pk-col.pt-pk-start { --tc: #0f9d63; --tbg: #ecfaf3; --tbd: #bfe8d3; --tink: #0b5c3b; }
	.pt-pk-col.pt-pk-life { --tc: #e57a00; --tbg: #fff4e6; --tbd: #f5d7b0; --tink: #7a3f00; }
	.pt-pk-col.pt-pk-travel { --tc: #1d3f9e; --tbg: #eef3ff; --tbd: #c9d6f2; --tink: #0b2a6b; }
	.pt-pk-col h3 { display: grid; grid-template-columns: 38px minmax(0, 1fr); grid-template-rows: auto auto; align-items: center; column-gap: 10px; row-gap: 1px; min-height: 64px; padding: 10px 14px; color: var(--tink); }
	.pt-pk-col h3 i { grid-row: 1 / 3; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 1px var(--tbd); font-style: normal; font-size: 19px; line-height: 1; font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif; }
	.pt-pk-col h3 > span { font-size: 15px; font-weight: 900; line-height: 1.2; }
	.pt-pk-col h3 small { display: block; font-size: 11.5px; font-weight: 500; line-height: 1.35; opacity: .85; }
	.pt-pk-col li { grid-template-columns: 26px minmax(0, 1fr); align-items: start; min-height: 0; padding: 14px 0; }
	.pt-pk-col li .pt-tr-rk { margin-top: 10px; }
	.pt-pk-item { display: grid; gap: 6px; min-width: 0; }
	.pt-pk-hd { display: grid; grid-template-columns: 48px minmax(0, 1fr); align-items: center; gap: 10px; min-width: 0; color: inherit; text-decoration: none; }
	.pt-pk-hd .pt-cc-art { display: flex; align-items: center; justify-content: center; width: 48px; height: 30px; margin: 0; border: 1px solid #e3e8f0; border-radius: 4px; background: #fff; overflow: hidden; box-sizing: border-box; }
	.pt-pk-hd .pt-cc-art img { width: 100%; height: 100%; object-fit: contain; padding: 2px; box-sizing: border-box; }
	.pt-pk-hd .pt-cc-art b { font-size: 10px; line-height: 1; }
	.pt-pk-col li .pt-pk-hd > span:last-child { display: grid; gap: 1px; min-width: 0; -webkit-line-clamp: unset; -webkit-box-orient: initial; overflow: visible; }
	.pt-pk-hd b { display: block; font-size: 14px; font-weight: 800; line-height: 1.25; color: #00184a; }
	a.pt-pk-hd:hover b { color: #004aeb; text-decoration: underline; }
	.pt-pk-hd small { font-size: 11.5px; font-weight: 600; color: #6b7a90; }
	.pt-pk-item p { margin: 0; font-size: 12.5px; line-height: 1.5; color: #2b3a55; }
	.pt-pk-item p em { display: inline-block; margin-right: 6px; padding: 0 7px; border-radius: 999px; font-style: normal; font-size: 10.5px; font-weight: 800; line-height: 18px; vertical-align: 1px; }
	.pt-pk-like em { background: #e6f6ee; color: #0a7a4a; }
	.pt-pk-cav em { background: #fff3e0; color: #b45309; }
	.pt-pk-src { font-size: 11px; color: #8a97ab; }
	.pt-pk-col > .pt-tr-more { color: var(--tc); font-weight: 800; }
}
/* Profile box (9 Nov): the result never sits in a narrow third column (it wrapped a word per line at 1366) — the two
   inputs share the top row and the results run underneath as a row of facts. */
@media (min-width: 1024px) {
	.pt-prof { grid-template-columns: 1fr 1fr; }
	.pt-prof-in:nth-child(2) { border-right: 0; }
	.pt-prof-out { grid-column: 1 / -1; border-top: 1px solid #dfe4ec; padding: 12px 16px 14px; }
	.pt-prof-out dl { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 10px 20px; }
	.pt-prof-out dl > div { grid-template-columns: minmax(0, 1fr); gap: 2px; align-content: start; }
	.pt-prof-out dt { font-size: 12.5px; font-weight: 600; }
	.pt-prof-out dd { font-size: 14px; line-height: 1.35; }
	.pt-prof-out dd small { font-size: 12.5px; margin-top: 1px; }
	.pt-prof-elig { margin-top: 10px; }
}

/* Using the card abroad (8 Nov): one line under each ranking card's spec grid; greyed chips when no card has the data yet. */
/* "ใช้ต่างประเทศ" (9 Nov redesign): a plane badge, the label, then one small chip per fact — no more pale box of running text */
.pt-abroad { display: flex; flex-wrap: wrap; align-items: center; gap: 5px 6px; margin: 7px 0 0; padding: 0; background: none; font-size: 12px; line-height: 1.3; color: #1e3a8a; }
.pt-card-name .pt-abroad { justify-self: start; grid-column: 1 / -1; min-width: 0; } /* phone: the name block is a 2-column grid (rank | name); the chips must span it, not widen the rank column (10 Nov fix) */
.pt-abroad-ic { flex: none; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: linear-gradient(135deg, #004aeb, #3d7cff); color: #fff; box-shadow: 0 2px 6px rgba(0, 74, 235, .25); }
.pt-abroad-ic svg { width: 13px; height: 13px; fill: currentColor; }
.pt-abroad-l { font-weight: 800; color: #00184a; margin-right: 2px; }
.pt-abroad em { display: inline-flex; align-items: center; height: 22px; padding: 0 9px; border-radius: 999px; border: 1px solid #c9d8ff; background: #f4f7ff; font-style: normal; font-weight: 600; font-size: 11.5px; color: #1d3f9e; white-space: nowrap; }
.pt-abroad em.fx { border-color: #bfe8d3; background: #ecfaf3; color: #0b5c3b; }
.pt-abroad em.bonus { border-color: #f5d7b0; background: #fff4e6; color: #7a3f00; }
.pt-nv-chips button.is-empty { opacity: .45; cursor: not-allowed; }
.pt-nv-chips button.is-empty em { background: #eef1f5; color: #8a97ab; }

/* Tiles "ค้นหาจากจุดเด่นยอดนิยม", 9 Nov: even cards (icon on top, name never truncated, 2-line hint, count pill),
   6 per row on wide screens and 4 on 1024–1279 so the 11 tiles do not leave one orphan in a 5-column grid. */
/* Desktop: compact rows - icon on the left, name + card count on one line, hint under it (max 2 lines). */
@media (min-width: 1024px) {
	.pt-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
	.pt-tile { grid-template-columns: 40px minmax(0, 1fr); grid-template-rows: none; align-items: center; gap: 12px; min-height: 0; padding: 12px 14px; border-radius: 14px; border-color: #e3e8f0; }
	.pt-tile:hover { border-color: #b9cdff; background: #f7f9ff; box-shadow: 0 6px 16px rgba(0, 24, 74, .06); }
	.pt-tile-ic { width: 40px; height: 40px; border-radius: 12px; }
	.pt-tile-ic svg { width: 26px; height: 22px; }
	.pt-tile-x { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 8px; }   /* the count moves under the name when both do not fit */
	.pt-tile-x b { flex: 0 0 auto; max-width: 100%; display: block; font-size: 15px; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
	.pt-tile-x em { order: 1; flex: none; margin: 0; padding: 1px 8px; border-radius: 999px; background: #eef4ff; font-size: 12px; line-height: 1.5; font-weight: 800; color: #1d4ed8; white-space: nowrap; }
	.pt-tile-x small { order: 2; flex: 1 0 100%; margin-top: 0; font-size: 12px; line-height: 1.4; -webkit-line-clamp: 2; }
	.pt-tile[aria-pressed="true"] .pt-tile-x em { background: #1d4ed8; color: #fff; }
}

/* "โปรใหม่จากบัตรเครดิต" box above the search menu (prototype v5-credit-fix.css, 9 Nov) */
.pt-ccp { margin: 0 0 12px; padding: 14px 14px 10px; border: 1px solid #e3e8f0; border-radius: 14px; background: #fff; }
.pt-ccp h3 { display: flex; align-items: center; gap: 8px; margin: 0 0 8px; font-size: 14.5px; font-weight: 800; color: #00184a; }
.pt-ccp h3 em { font-style: normal; padding: 1px 8px; border-radius: 999px; background: #fe9300; color: #fff; font-size: 10.5px; font-weight: 700; }
.pt-ccp a { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 10px; align-items: center; padding: 9px 0; border-top: 1px solid #f0f3f8; color: #00184a !important; text-decoration: none; }
.pt-ccp a:hover b { color: #004aeb; }
.pt-ccp i { display: flex; align-items: center; justify-content: center; width: 44px; height: 28px; border-radius: 4px; background: linear-gradient(135deg, #1a47a8, #00184a); box-shadow: 0 1px 2px rgba(0, 24, 74, .25); overflow: hidden; }
.pt-ccp i img { width: 100%; height: 100%; object-fit: cover; }
.pt-ccp span { min-width: 0; }
.pt-ccp b { display: block; font-size: 13px; line-height: 1.3; font-weight: 800; }
.pt-ccp small { display: block; margin-top: 1px; font-size: 12px; line-height: 1.4; color: #a05a00; }
.pt-ccp s { display: block; margin-top: 2px; text-decoration: none; font-size: 11px; color: #8a97ab; }
.pt-ccp p { margin: 4px 0 0; font-size: 11px; line-height: 1.4; color: #8a97ab; }
@media (max-width: 1023px) { .pt-ccp { display: none; } }

/* Ad space under "สำรวจทั้งหมด" (9 Nov): stays in view while the long main column scrolls; desktop only */
.pt-cc-ad { display: none; }
@media (min-width: 1024px) {
	.pt-cc-left { align-self: stretch; } /* full column height so the ad can stay in view */
	.pt-cc-ad { display: block; position: sticky; top: 96px; margin-top: 14px; padding: 10px; border: 1px solid #e3e8f0; border-radius: 14px; background: #fff; }
	.pt-cc-ad small { display: block; margin: 0 0 6px; font-size: 11px; letter-spacing: .04em; color: #8a97ab; }
	.pt-cc-ad img { display: block; width: 100%; height: auto; border-radius: 10px; }
}
/* 10 Nov: more room between the wealth-tier table, its colour legend and the source line */
.pt-aum-key { margin-top: 26px !important; row-gap: 10px; }
.pt-aum-src { margin-top: 14px !important; }

/* Picks by use, tidy-up (10 Nov 2026). It looked messy: the bank name and the source line picked up the tier
   ranking's pill style, the text wrapped back under the "ผู้ใช้ชอบ / ต้องดู" tags, and the three columns' cards
   sat at different heights. Now: plain bank and source text, tags in their own column with the text in a straight
   column beside them, and (subgrid) the 1st / 2nd / 3rd pick of every column share one row height. */
@media (min-width: 1024px) {
	.pt-pk { column-gap: 16px; row-gap: 0; }
	.pt-pk-col li { grid-template-columns: 26px minmax(0, 1fr); grid-template-rows: auto auto 1fr auto; align-items: start; gap: 8px 10px; padding: 14px 0; }
	.pt-pk-col li .pt-tr-rk { margin-top: 0; align-self: center; }
	.pt-pk-item { display: contents; }
	.pt-pk-hd { align-self: center; }
	.pt-pk-col li .pt-pk-hd small { justify-self: start; padding: 0; border: 0; border-radius: 0; background: none; font-size: 13px; font-weight: 600; color: #3b4f73; }
	.pt-pk-item p { grid-column: 1 / -1; display: grid; grid-template-columns: 54px minmax(0, 1fr); column-gap: 8px; align-items: start; font-size: 13px; line-height: 1.5; }
	.pt-pk-item p em { margin: 1px 0 0; padding: 0 4px; text-align: center; white-space: nowrap; vertical-align: 0; }
	.pt-pk-col li .pt-pk-src { grid-column: 1 / -1; align-self: end; padding: 0 0 0 62px; border: 0; border-radius: 0; background: none; font-size: 12.5px; font-weight: 500; color: #4a5a75; }
}
@supports (grid-template-rows: subgrid) {
	@media (min-width: 1024px) {
		.pt-pk { grid-template-rows: auto repeat(3, auto) auto; }
		.pt-pk-col { display: grid; grid-row: 1 / span 5; grid-template-rows: subgrid; }
		.pt-pk-col ol { display: grid; grid-row: 2 / span 3; grid-template-rows: subgrid; gap: 0; }
	}
}

/* Card basics guide, desktop (10 Nov 2026): the type was a size up from everything else on the page (lead 23px
   against the 21.5px section title, 17px body against the page's 13–14px). Brought in line; the phone keeps its
   own larger reading size. */
@media (min-width: 1024px) {
	.pt-kg-top { grid-template-columns: 88px minmax(0, 1fr); gap: 16px; align-items: center; }
	.pt-kg-face { width: 88px; height: 88px; padding: 6px; }
	.pt-kg-lead { margin-bottom: 8px; line-height: 1.7; }
	.pt-kg-lead mark { font-size: 14.5px; }
	.pt-kg-lead mark.big { font-size: 18px; }
	.pt-kg-by { padding: 8px 12px; font-size: 13px; }
	.pt-kg-by b, .pt-kg-by > span { font-size: 13.5px; }
	.pt-kg-by p { margin-top: 2px; font-size: 13px; }
	.pt-kg-toc > p { font-size: 14px; }
	.pt-kg-toc ul { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
	.pt-kg-toc li { align-items: stretch; }
	.pt-kg-toc a { min-height: 42px; padding: 6px 12px 6px 38px; font-size: 14px; }
	.pt-kg-ti { left: 11px; font-size: 17px; }
	.pt-kg-s { margin-top: 12px; padding: 16px 18px; }
	.pt-kg-s h3 { gap: 10px; margin-bottom: 10px; font-size: 17px; }
	.pt-kg-n { width: 36px; height: 36px; border-radius: 10px; }
	.pt-kg-n i { font-size: 19px; }
	.pt-kg-n em { right: -5px; bottom: -5px; padding: 0 4px; font-size: 10.5px; }
	.pt-kg-keys { margin-bottom: 12px; }
	.pt-kg-keys > div { padding: 8px 12px; }
	.pt-kg-keys b { font-size: 17px; }
	.pt-kg-keys small { font-size: 12.5px; }
	.pt-kg-s p { max-width: 82ch; margin-bottom: 8px; font-size: 14.5px; line-height: 1.7; }
}

/* Compare bar vs the floating back-to-top button (10 Nov 2026): both sat in the bottom-right corner, so on the
   phone the button covered "ดูตารางเทียบ / ล้าง". While the bar is on screen the button rides above it
   (assets/js/credit-cards.js cmpLift sets --pt-cmp-lift). */
body .pt-totop { transition: opacity .25s ease, transform .25s ease, visibility .25s, background-color .2s ease, bottom .2s ease; }
body.pt-cmp-on .pt-totop { bottom: var(--pt-cmp-lift, 24px) !important; }

/* ══ Phone page, prototype v287 (11 Nov 2026, PriceTag_V1_Revised/pt_assets/v2-credit.js pMore / pmStyles) ══════════
   Phone only (max-width: 1023px); the desktop page is untouched. Order: picks by use, feature tiles, new card offers,
   the foldable search menu, ranking, most viewed, bank wealth tiers, articles, guide, then the Taggy picker.
   Every block is one white card on the same edges, 14px inside, 12px apart, headings one size. */
.pt-pk-cf, .pt-pk-hint, .pt-am, .pt-am-all, .pt-am-sum, .pt-nv-active, .pt-nv-fold, .pt-kg-bar, .pt-cxm-sec { display: none; }

@media (max-width: 1023px) {
	/* ── order: the two columns dissolve so every block can be placed ── */
	.pt-cc .pt-cc-cols { display: flex; flex-direction: column; gap: 0; }
	.pt-cc .pt-cc-left, .pt-cc .pt-cc-main { display: contents; }
	.pt-cc .pt-cc-main > .pt-pk-sec { order: 1; }
	.pt-cc .pt-cc-main > .pt-tiles-sec { order: 2; }
	.pt-cc .pt-cc-main > .pt-cxm-sec { display: block; order: 3; }
	.pt-cc .pt-cc-left > .pt-ccp { order: 4; }
	.pt-cc .pt-nv.pt-nv-phone { order: 5; }
	.pt-cc .pt-cc-main > .pt-cr { order: 6; }
	.pt-cc .pt-cc-left > .pt-side { order: 7; }
	.pt-cc .pt-cc-main > .pt-cb-sec { order: 8; }
	.pt-cc .pt-cc-main > .pt-ca-sec { order: 9; }
	.pt-cc .pt-cc-main > .pt-kg-sec { order: 10; }
	.pt-cc .pt-cc-main > .pt-ai { order: 11; }
	.pt-cc .pt-purpose-sec, .pt-cc .pt-learn { display: none; }
	.pt-cc .pt-tiles-sec, .pt-cc .pt-tr-sec, .pt-cc .pt-cb-sec, .pt-cc .pt-ccp, .pt-cc .pt-side { display: block; }

	/* ── every block: one white card ── */
	.pt-cc .pt-sec, .pt-cc .pt-ccp, .pt-cc .pt-nv.pt-nv-phone, .pt-cc .pt-side, .pt-cc .pt-cc-main > .pt-ai { margin: 12px 0 0; padding: 14px; border: 1px solid #e3e8f0; border-radius: 16px; background: #fff; box-shadow: 0 1px 3px rgba(0, 24, 74, .04); }
	.pt-cc .pt-cc-main > .pt-pk-sec { margin-top: 4px; }
	.pt-cc .pt-hd { display: block; margin: 0 0 10px; padding: 0; border: 0; }
	.pt-cc .pt-hd h2, .pt-cc .pt-sortrow h2, .pt-cc .pt-nv-top > b, .pt-cc .pt-ccp h3, .pt-cc .pt-side > strong { font-size: 17px; line-height: 1.35; }
	.pt-cc .pt-hd small { display: block; margin-top: 3px; font-size: 12px; line-height: 1.45; color: #5b6675; }
	.pt-cc .pt-hd a { font-size: 12.5px; }
	.pt-cc .pt-ca-sec .pt-hd { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }

	/* ── picks by use: swipe between the three groups, a card picture above each name ── */
	.pt-tr { gap: 16px; }
	.pt-tr-col { --tc: #d99a1a; --tbg: #fff8e6; --tbd: #f1ddb0; --tink: #6b4a00; border: 1px solid var(--tbd); border-top: 3px solid var(--tc); border-radius: 12px; background: #fff; box-shadow: 0 1px 3px rgba(16, 24, 40, .05); }
	.pt-tr-col:nth-child(2) { --tc: #1d4ed8; --tbg: #eef4ff; --tbd: #c9d6f2; --tink: #0b2a6b; }
	.pt-tr-col:nth-child(3) { --tc: #3f3f9e; --tbg: #f1f0fb; --tbd: #d3d2ef; --tink: #2a2a6e; }
	.pt-tr-col h3 { min-height: 52px; display: flex; align-items: center; padding: 8px 16px; background: var(--tbg); border-bottom: 1px solid var(--tbd); color: var(--tink); font-size: 15px; }
	.pt-tr-col ol { gap: 0; padding: 0 14px; background: #fff; }
	.pt-tr-col li { display: grid; grid-template-columns: 26px minmax(0, 1fr); align-items: center; gap: 10px; min-height: 70px; padding: 10px 0; border: 0; border-bottom: 1px solid #eef1f6; border-radius: 0; background: none; box-shadow: none; }
	.pt-tr-col li:last-child { border-bottom: 0; }
	.pt-tr-rk { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: #eef2f7; }
	.pt-tr-rk svg { display: none; }
	.pt-tr-rk b { font-size: 13px; color: #3b4f73; }
	.pt-tr-col li.r1 .pt-tr-rk { background: radial-gradient(circle at 35% 30%, #ffe680, #f5b700); }
	.pt-tr-col li.r2 .pt-tr-rk { background: radial-gradient(circle at 35% 30%, #f4f6fa, #b8c2d1); }
	.pt-tr-col li.r3 .pt-tr-rk { background: radial-gradient(circle at 35% 30%, #f7d2ad, #cd8a4f); }
	.pt-tr-col li a { padding: 0; font-size: 14px; font-weight: 700; color: #00184a; }
	.pt-tr-col li a > span:last-child { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
	.pt-tr-col li .pt-cc-art { width: 48px; flex: none; }
	.pt-tr-col li small { color: #8a97ab; font-weight: 500; }
	.pt-tr-more { margin: 0; border-top: 1px solid var(--tbd); border-radius: 0; background: #fff; color: var(--tc); font-size: 14px; }
	.pt-pk-sec .pt-hd { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
	.pt-pk-note { font-size: 12px; color: #5b6675; font-weight: 500; }
	.pt-pk-col.pt-pk-start { --tc: #0f9d63; --tbg: #ecfaf3; --tbd: #bfe8d3; --tink: #0b5c3b; }
	.pt-pk-col.pt-pk-life { --tc: #e57a00; --tbg: #fff4e6; --tbd: #f5d7b0; --tink: #7a3f00; }
	.pt-pk-col.pt-pk-travel { --tc: #1d3f9e; --tbg: #eef3ff; --tbd: #c9d6f2; --tink: #0b2a6b; }
	.pt-pk-col h3 { display: grid; grid-template-columns: 38px minmax(0, 1fr); grid-template-rows: auto auto; align-items: center; column-gap: 10px; row-gap: 1px; min-height: 64px; padding: 10px 14px; color: var(--tink); }
	.pt-pk-col h3 i { grid-row: 1 / 3; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 1px var(--tbd); font-style: normal; font-size: 19px; line-height: 1; font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif; }
	.pt-pk-col h3 > span { font-size: 15px; font-weight: 900; line-height: 1.2; }
	.pt-pk-col h3 small { display: block; font-size: 11.5px; font-weight: 500; line-height: 1.35; opacity: .85; }
	.pt-pk-col li { grid-template-columns: 26px minmax(0, 1fr); align-items: start; min-height: 0; padding: 14px 0; }
	.pt-pk-col li .pt-tr-rk { margin-top: 10px; }
	.pt-pk-item { display: grid; gap: 6px; min-width: 0; }
	.pt-pk-hd { display: grid; grid-template-columns: 48px minmax(0, 1fr); align-items: center; gap: 10px; min-width: 0; color: inherit; text-decoration: none; }
	.pt-pk-hd .pt-cc-art { display: flex; align-items: center; justify-content: center; width: 48px; height: 30px; margin: 0; border: 1px solid #e3e8f0; border-radius: 4px; background: #fff; overflow: hidden; box-sizing: border-box; }
	.pt-pk-hd .pt-cc-art img { width: 100%; height: 100%; object-fit: contain; padding: 2px; box-sizing: border-box; }
	.pt-pk-hd .pt-cc-art b { font-size: 10px; line-height: 1; }
	.pt-pk-col li .pt-pk-hd > span:last-child { display: grid; gap: 1px; min-width: 0; -webkit-line-clamp: unset; -webkit-box-orient: initial; overflow: visible; }
	.pt-pk-hd b { display: block; font-size: 14px; font-weight: 800; line-height: 1.25; color: #00184a; }
	a.pt-pk-hd:hover b { color: #004aeb; text-decoration: underline; }
	.pt-pk-hd small { font-size: 11.5px; font-weight: 600; color: #6b7a90; }
	.pt-pk-item p { margin: 0; font-size: 12.5px; line-height: 1.5; color: #2b3a55; }
	.pt-pk-item p em { display: inline-block; margin-right: 6px; padding: 0 7px; border-radius: 999px; font-style: normal; font-size: 10.5px; font-weight: 800; line-height: 18px; vertical-align: 1px; }
	.pt-pk-like em { background: #e6f6ee; color: #0a7a4a; }
	.pt-pk-cav em { background: #fff3e0; color: #b45309; }
	.pt-pk-src { font-size: 11px; color: #8a97ab; }
	.pt-pk-col > .pt-tr-more { color: var(--tc); font-weight: 800; }
	.pt-pk { column-gap: 16px; row-gap: 0; }
	.pt-pk-col li { grid-template-columns: 26px minmax(0, 1fr); grid-template-rows: auto auto 1fr auto; align-items: start; gap: 8px 10px; padding: 14px 0; }
	.pt-pk-col li .pt-tr-rk { margin-top: 0; align-self: center; }
	.pt-pk-item { display: contents; }
	.pt-pk-hd { align-self: center; }
	.pt-pk-col li .pt-pk-hd small { justify-self: start; padding: 0; border: 0; border-radius: 0; background: none; font-size: 13px; font-weight: 600; color: #3b4f73; }
	.pt-pk-item p { grid-column: 1 / -1; display: grid; grid-template-columns: 54px minmax(0, 1fr); column-gap: 8px; align-items: start; font-size: 13px; line-height: 1.5; }
	.pt-pk-item p em { margin: 1px 0 0; padding: 0 4px; text-align: center; white-space: nowrap; vertical-align: 0; }
	.pt-pk-col li .pt-pk-src { grid-column: 1 / -1; align-self: end; padding: 0 0 0 62px; border: 0; border-radius: 0; background: none; font-size: 12.5px; font-weight: 500; color: #4a5a75; }
	.pt-cc .pt-pk { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -14px; padding: 2px 14px 8px; scroll-padding: 0 14px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
	.pt-cc .pt-pk::-webkit-scrollbar { display: none; }
	.pt-cc .pt-pk-col { flex: 0 0 86%; min-width: 0; scroll-snap-align: start; }
	.pt-pk-hint { display: block; margin: 6px 0 0; font-size: 11.5px; color: #6b7a90; text-align: center; }
	.pt-pk-sec .pt-hd { display: block; }
	.pt-pk-note { display: block; margin-top: 3px; }
	/* v290 (11 Nov, "a bit smaller, it is far too big"): the card picture is 84px beside the name, the rank badge at
	   0.8, the two notes 12px and two lines each, all in the column beside the badge */
	.pt-pk-col li { grid-template-columns: 28px minmax(0, 1fr); grid-template-rows: none; align-items: start; gap: 0 6px; padding: 10px 0; }
	.pt-pk-col li .pt-tr-rk { align-self: start; margin-top: 0; transform: scale(.8); transform-origin: top center; }
	.pt-pk-col li .pt-pk-hd { display: flex; flex-direction: row; align-items: center; gap: 10px; width: 100%; align-self: start; text-align: left; }
	.pt-pk-col li .pt-pk-hd > span:last-child b { font-size: 13.5px; line-height: 1.3; }
	.pt-pk-col li .pt-pk-hd > span:last-child small { font-size: 11px; }
	.pt-pk-col .pt-pk-item p { grid-column: 2; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin: 6px 0 0; font-size: 12px; line-height: 1.45; }
	.pt-pk-col .pt-pk-item p em { margin: 0 4px 0 0; padding: 0 5px; font-size: 10.5px; vertical-align: 1px; }
	.pt-cc .pt-pk-col > h3 { padding: 10px 12px; }
	.pt-cc .pt-pk-col h3 { text-align: left; }
	.pt-pk-hd > .pt-cc-art { display: none; }
	.pt-pk-col li .pt-pk-hd > span:last-child { display: block; }
	.pt-pk-cf { position: relative; flex: none; display: block; width: 84px; max-width: 84px; aspect-ratio: 1.586; border-radius: 8px; overflow: hidden; background: linear-gradient(135deg, var(--c1), var(--c2)); color: var(--ink); box-shadow: 0 4px 10px rgba(0, 24, 74, .18), inset 0 0 0 1px rgba(255, 255, 255, .12); }
	.pt-pk-cf::after { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 80% at 100% 0, rgba(255, 255, 255, .22), transparent 55%); pointer-events: none; }
	.pt-pk-cf.is-img { background: #f2f5f8; }
	.pt-pk-cf.is-img img { display: block; width: 100%; height: 100%; object-fit: contain; }
	.pt-pk-cf-logo { position: absolute; top: 5px; left: 5px; display: grid; place-items: center; height: 13px; min-width: 17px; padding: 0 3px; border-radius: 3px; background: #fff; font: 800 6.5px/1 Arial, sans-serif; font-style: normal; color: #00184a; }
	.pt-pk-cf-chip { position: absolute; top: 42%; left: 6px; width: 12px; height: 9px; border-radius: 3px; background: linear-gradient(135deg, #f6dd8c, #c9a24a); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .15); }
	.pt-pk-cf > b { position: absolute; left: 6px; right: 26px; bottom: 5px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font: 700 7px/1.2 "Noto Sans Thai", Arial, sans-serif; letter-spacing: .02em; color: var(--ink); }
	.pt-pk-cf > em { position: absolute; right: 5px; bottom: 4px; font: italic 900 7.5px/1 Arial, sans-serif; color: var(--ink); opacity: .95; }
	.pt-pk-col li .pt-pk-src { display: none; }
	.pt-pk-col > .pt-tr-more { width: 100%; padding: 11px 12px; }

	/* ── feature tiles: two rows that swipe sideways together ── */
	.pt-cc .pt-tiles { display: grid; grid-template-columns: none; grid-auto-flow: column; grid-template-rows: repeat(2, auto); grid-auto-columns: 150px; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -14px; padding: 10px 14px 6px; scroll-padding: 0 14px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
	.pt-cc .pt-tiles::-webkit-scrollbar { display: none; }
	.pt-cc .pt-tile { position: relative; display: flex; flex-direction: row; align-items: center; gap: 8px; min-width: 0; min-height: 0; height: 52px; padding: 7px 9px; border-radius: 12px; scroll-snap-align: start; }
	.pt-cc .pt-tile-x { display: flex; flex-direction: column; min-width: 0; }
	.pt-cc .pt-tile-x b { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 13px; line-height: 1.3; }
	.pt-cc .pt-tile-x small { display: none; }
	.pt-cc .pt-tile-x em { display: block; margin: 0; padding: 0; background: none; font-size: 11px; line-height: 1.3; font-weight: 600; color: #6b7a90; }
	.pt-cc .pt-tile-ic { flex: none; width: 34px; height: 34px; border-radius: 10px; }
	.pt-cc .pt-tile-ic svg { width: 22px; height: 19px; }
	.pt-cc .pt-tile[aria-pressed="true"] { border-color: #1d4ed8; background: #eef4ff; box-shadow: inset 0 0 0 1.5px #1d4ed8; }

	/* ── "บัตรไหนคุ้ม" (16 Nov): profile chips, the seven monthly amounts two per row, one button; the answer then
	   takes the form's place (best card, runners-up, two-card pair, full ranking on demand) so the page hardly grows ── */
	.pt-cc .pt-cc-main > .pt-cxm-sec[hidden], .pt-cxm-sec [hidden] { display: none !important; }
	.pt-cc .pt-cxm-l { margin: 10px 0 6px; font-size: 13px; font-weight: 700; color: #5b6675; }
	.pt-cc .pt-cxm-in > .pt-cxm-l:first-child { margin-top: 0; }
	.pt-cxm-prof { display: flex; gap: 6px; overflow-x: auto; margin: 0 -14px; padding: 0 14px 2px; scrollbar-width: none; }
	.pt-cxm-prof::-webkit-scrollbar { display: none; }
	.pt-cxm-prof .pt-chip, .pt-cxm-pref .pt-chip { flex: none; height: 34px; font-size: 14px; }
	.pt-cxm-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
	.pt-cxm-f { display: block; min-width: 0; margin: 0; }
	.pt-cxm-f > span { display: block; overflow: hidden; margin-bottom: 3px; white-space: nowrap; text-overflow: ellipsis; font-size: 13px; line-height: 1.3; color: #3b4656; }
	.pt-cxm-f input { display: block; width: 100%; height: 42px; padding: 0 10px; border: 1px solid #d5dce6; border-radius: 10px; background: #fff; font-size: 16px; font-weight: 700; color: #00184a; text-align: right; -moz-appearance: textfield; appearance: textfield; }
	.pt-cxm-f input::-webkit-outer-spin-button, .pt-cxm-f input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
	.pt-cxm-f input:focus { outline: none; border-color: #1d4ed8; box-shadow: 0 0 0 3px rgba(29, 78, 216, .15); }
	.pt-cxm-tot > b { display: flex; align-items: center; justify-content: flex-end; height: 42px; padding: 0 10px; border-radius: 10px; background: #eef4ff; font-size: 16px; font-weight: 800; color: #1d4ed8; }
	.pt-cxm-pref { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 6px; }
	.pt-cxm-pref .pt-chip { padding: 0 4px; }
	.pt-cc .pt-cxm-go { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; height: 50px; margin-top: 14px; border: 0; border-radius: 12px; background: #1d4ed8; font-size: 17px; font-weight: 800; color: #fff; cursor: pointer; box-shadow: 0 6px 16px rgba(29, 78, 216, .25); }
	.pt-cc .pt-cxm-go:active { transform: translateY(1px); }
	.pt-cc .pt-cxm-go svg { width: 20px; height: 20px; }
	.pt-cc .pt-cxm-err { margin: 8px 0 0; font-size: 13px; font-weight: 600; color: #b42318; }
	.pt-cxm-sum { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 12px; border-radius: 12px; background: #f3f6fb; }
	.pt-cxm-sum small { display: block; font-size: 12px; color: #5b6675; }
	.pt-cxm-sum b { font-size: 15px; font-weight: 800; color: #00184a; }
	.pt-cc .pt-cxm-sum button { flex: none; height: 34px; padding: 0 12px; border: 1px solid #c9d4e3; border-radius: 999px; background: #fff; font-size: 14px; font-weight: 700; color: #1d4ed8; cursor: pointer; }
	.pt-cxm-out { margin-top: 12px; }
	.pt-cxm-think { display: flex; align-items: center; gap: 10px; padding: 14px 4px; font-size: 14px; font-weight: 700; color: #3b4656; }
	.pt-cxm-think img { width: 44px; height: 44px; animation: pt-cxm-bob .7s ease-in-out infinite alternate; }
	.pt-cxm-think i { display: inline-block; width: 6px; height: 6px; margin-left: 3px; border-radius: 50%; background: #1d4ed8; animation: pt-cxm-dot .9s infinite; }
	.pt-cxm-think i:nth-of-type(2) { animation-delay: .15s; }
	.pt-cxm-think i:nth-of-type(3) { animation-delay: .3s; }
	.pt-cxm-res > * { animation: pt-cxm-up .45s ease both; }
	.pt-cxm-res > :nth-child(2) { animation-delay: .15s; }
	.pt-cxm-res > :nth-child(3) { animation-delay: .3s; }
	.pt-cxm-res > :nth-child(n+4) { animation-delay: .45s; }
	.pt-cxm-win { padding: 12px; border: 2px solid #3fae6a; border-radius: 14px; background: #fbfffc; }
	.pt-cxm-win > small { display: block; margin-bottom: 8px; font-size: 13px; font-weight: 800; color: #05603a; }
	.pt-cxm-wcard { display: grid; grid-template-columns: 92px minmax(0, 1fr); align-items: center; gap: 10px; }
	.pt-cxm-wcard .pt-cc-art { width: 92px; height: 58px; aspect-ratio: auto; }
	.pt-cxm-wcard b { display: block; font-size: 16px; line-height: 1.3; font-weight: 800; color: #00184a; }
	.pt-cxm-wcard em { display: block; margin-top: 2px; font-style: normal; font-size: 12px; line-height: 1.4; color: #5b6675; }
	.pt-cc .pt-cxm-net { margin: 10px 0 0; font-size: 13px; color: #3b4656; }
	.pt-cxm-net b { margin-right: 4px; font-size: 24px; line-height: 1.1; font-weight: 900; color: #05603a; }
	.pt-cxm-net.neg b { color: #b42318; }
	.pt-cc .pt-cxm-why { margin: 8px 0 0; padding: 0 0 0 18px; font-size: 13px; line-height: 1.5; color: #3b4656; }
	.pt-cxm-why li::marker { color: #3fae6a; }
	.pt-cc .pt-cxm-chk { margin: 6px 0 0; font-size: 12px; color: #6b7a90; }
	.pt-cc .pt-cxm-open { display: flex; align-items: center; justify-content: center; height: 40px; margin-top: 10px; border-radius: 10px; background: #05603a; font-size: 15px; font-weight: 800; color: #fff; text-decoration: none; }
	.pt-cc .pt-cxm-h { margin: 14px 0 0; font-size: 14px; font-weight: 800; color: #0b1f44; }
	.pt-cxm-list { list-style: none; margin: 4px 0 0; padding: 0; }
	.pt-cxm-list li + li { border-top: 1px solid #eef1f5; }
	.pt-cxm-list a { display: grid; grid-template-columns: 22px 52px minmax(0, 1fr) auto; align-items: center; gap: 8px; padding: 8px 0; }
	.pt-cxm-rk { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: #eef2f9; font-size: 12px; font-weight: 800; color: #00184a; }
	.pt-cxm-rk.r1 { background: radial-gradient(circle at 35% 30%, #fff7cf, #f6c945 45%, #c48a12); color: #6b4500; }
	.pt-cxm-rk.r2 { background: radial-gradient(circle at 35% 30%, #fff, #cfd6df 45%, #8d97a5); color: #34404f; }
	.pt-cxm-rk.r3 { background: radial-gradient(circle at 35% 30%, #ffe6cc, #d9904f 45%, #98561f); color: #4a2508; }
	.pt-cxm-list .pt-cc-art { width: 52px; height: 33px; aspect-ratio: auto; }
	.pt-cxm-n { min-width: 0; }
	.pt-cxm-n b { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 14px; line-height: 1.3; color: #00184a; }
	.pt-cxm-n small { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 12px; color: #6b7a90; }
	.pt-cxm-v { text-align: right; white-space: nowrap; }
	.pt-cxm-v b { display: block; font-size: 15px; line-height: 1.2; font-weight: 900; color: #05603a; }
	.pt-cxm-v.neg b { color: #b42318; }
	.pt-cxm-v small { display: block; font-size: 12px; color: #6b7a90; }
	.pt-cxm-pair { margin-top: 12px; padding: 10px 12px; border: 1.5px dashed #7da2f0; border-radius: 12px; background: #f7faff; }
	.pt-cxm-pair > small { display: block; font-size: 13px; font-weight: 800; color: #1d4ed8; }
	.pt-cxm-pair > b { display: block; margin-top: 2px; font-size: 14px; line-height: 1.35; color: #00184a; }
	.pt-cxm-pair > span { display: block; margin-top: 2px; font-size: 14px; font-weight: 800; color: #1d4ed8; }
	.pt-cxm-pair summary { margin-top: 6px; font-size: 13px; font-weight: 700; color: #1d4ed8; cursor: pointer; }
	.pt-cxm-pair ul { margin: 6px 0 0; padding: 0 0 0 18px; font-size: 13px; line-height: 1.5; color: #3b4656; }
	.pt-cc .pt-cxm-more { display: block; width: 100%; height: 40px; margin-top: 10px; border: 1px solid #c9d4e3; border-radius: 10px; background: #fff; font-size: 14px; font-weight: 700; color: #1d4ed8; cursor: pointer; }
	.pt-cc .pt-cxm-empty { margin: 4px 0 0; font-size: 14px; color: #3b4656; }
	.pt-cc .pt-cxm-note { margin-top: 10px; font-size: 12px; line-height: 1.5; color: #6b7a90; }

	/* ── new card offers ── */
	.pt-cc .pt-ccp h3 { margin: 0 0 6px; }

	/* ── search menu: folded until asked for ── */
	.pt-cc .pt-nv-top { padding: 0 0 10px; }
	.pt-nv-phone .pt-nv-top small { font-size: 12px; }
	.pt-nv-active { display: block; margin: 6px 0 2px; font-size: 12px; color: #5b6675; }
	.pt-nv-active b { display: inline; font-size: 12px; font-weight: 800; color: #1d4ed8; }
	.pt-cc .pt-nv.pt-nv-phone.pt-nv-folded { padding-bottom: 12px; }
	.pt-nv-phone.pt-nv-folded .pt-nv-s { display: none; }
	.pt-nv-phone.pt-nv-folded .pt-nv-top { border-bottom: 0; padding-bottom: 0; margin-bottom: 0; }
	.pt-cc .pt-nv .pt-nv-fold { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; height: 42px; margin-top: 10px; border: 1px solid #c9d5ea; border-radius: 12px; background: #f5f9ff; color: #1d4ed8; font: 800 13.5px "Noto Sans Thai", Arial, sans-serif; box-shadow: none; }
	.pt-cc .pt-nv .pt-nv-fold span { flex: none; }
	.pt-cc .pt-nv .pt-nv-fold span::after { content: none; }
	.pt-nv-fold i { width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); }
	.pt-nv-fold[aria-expanded="true"] i { transform: rotate(-135deg) translateY(-2px); }

	/* ── ranking: the list sits on the page, each card compact ── */
	.pt-cc .pt-cc-main > .pt-cr { margin: 20px 0 0; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; }
	.pt-cc .pt-sortrow { margin: 0 0 8px; padding: 0 2px; }
	.pt-cc .pt-filter { border: 1px solid #e3e8f0; border-radius: 16px; }
	.pt-cc #pt-cc-results { gap: 8px; }
	.pt-pc { position: relative; display: block; padding: 10px 12px; border: 1px solid #e3e8f0; border-radius: 14px; background: #fff; box-shadow: 0 2px 10px rgba(0, 24, 74, .06); }
	.pt-pc.no { opacity: .6; }
	.pt-cc[data-lang="en"] .pt-pc header { padding-right: 88px; }
	.pt-pc header { display: grid; grid-template-columns: 30px 46px minmax(0, 1fr); gap: 8px; align-items: center; padding-right: 62px; }
	.pt-pc-medal { display: block; width: 30px; height: 30px; filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .22)); }
	.pt-pc-medal svg { display: block; width: 100%; height: 100%; }
	.pt-pc-art { display: block; }
	.pt-pc-art .pt-cc-art { width: 46px; height: 29px; aspect-ratio: auto; border-radius: 6px; }
	.pt-pc-name { display: grid; min-width: 0; }
	.pt-pc-name b { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 14.5px; line-height: 1.25; font-weight: 800; }
	.pt-pc-name b a { font: inherit; line-height: inherit; color: #00184a; }
	.pt-pc-meta { display: flex; flex-wrap: nowrap; align-items: center; gap: 4px; margin-top: 2px; font-size: 11.5px; color: #5b6675; white-space: nowrap; overflow: hidden; }
	.pt-pc-meta .pt-tier { padding: 1px 6px; font-size: 10.5px; }
	.pt-pc-name small { display: block; margin-top: 1px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 11px; line-height: 1.3; color: #6b7a90; }
	.pt-pc .pt-pc-cmp { position: absolute; top: 10px; right: 10px; display: inline-flex; align-items: center; gap: 5px; height: 26px; padding: 0 8px 0 6px; border: 1px solid #c9d5ea; border-radius: 999px; background: #fff; font-size: 11.5px; font-weight: 800; color: #1d4ed8; cursor: pointer; }
	.pt-pc .pt-pc-cmp input { width: 13px; height: 13px; margin: 0; accent-color: #1d4ed8; }
	.pt-pc .pt-pc-cmp:has(input:checked) { background: #1d4ed8; border-color: #1d4ed8; color: #fff; }
	.pt-pc .pt-pc-cmp:has(input:disabled) { opacity: .45; }
	.pt-pc .pt-spec { grid-template-columns: 1fr 1fr; gap: 4px; margin: 6px 0 0; }
	.pt-pc .pt-spec > div { min-width: 0; padding: 4px 8px; border-radius: 8px; background: #f6f8fc; }
	.pt-pc .pt-spec dt { font-size: 10.5px; line-height: 1.3; color: #5b6675; }
	.pt-pc .pt-spec dd { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 12.5px; line-height: 1.35; font-weight: 800; color: #00184a; }
	.pt-pc .pt-spec dd.warn { color: #b42318; }
	.pt-pc .pt-perk { display: flex; flex-wrap: nowrap; gap: 5px; margin: 6px 0 0; padding: 0; list-style: none; overflow-x: auto; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); }
	.pt-pc .pt-perk::-webkit-scrollbar { display: none; }
	.pt-pc .pt-perk li { flex: none; display: inline-flex; align-items: center; gap: 5px; padding: 3px 8px 3px 5px; border-radius: 999px; background: #ecfaf3; color: #0b5c3b; font-size: 11px; font-weight: 700; line-height: 1.3; white-space: nowrap; }
	.pt-pc .pt-perk li::before { content: "\2713"; display: grid; place-items: center; flex: none; width: 13px; height: 13px; border-radius: 50%; background: #12b76a; color: #fff; font-size: 8.5px; font-weight: 900; }
	.pt-pc .pt-abroad { flex-wrap: nowrap; gap: 5px; margin: 6px 0 0; overflow-x: auto; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); }
	.pt-pc .pt-abroad::-webkit-scrollbar { display: none; }
	.pt-pc .pt-abroad > * { flex: none; }
	.pt-pc .pt-foot { display: grid; grid-template-columns: minmax(0, 1fr) auto 38px; gap: 6px; margin-top: 8px; padding-top: 8px; border-top: 1px dashed #e3e8f0; }
	.pt-pc .pt-foot:not(:has(.pt-apply)) { grid-template-columns: minmax(0, 1fr) 38px; }
	.pt-pc .pt-apply { height: 38px; padding: 0 10px; border-radius: 10px; font-size: 14px; font-weight: 900; }
	.pt-pc .pt-detail { height: 38px; padding: 0 12px; border-radius: 10px; font-size: 13px; }
	.pt-pc .pt-foot .pt-bm { width: 38px; height: 38px; min-width: 0; padding: 0; justify-content: center; border-radius: 10px; }
	.pt-pc .pt-foot .pt-bm .pt-bm-l { display: none; }

	/* ── most viewed ── */
	.pt-cc .pt-side > strong { margin: 0 0 6px; padding: 0; border: 0; background: none; }
	.pt-cc .pt-side li a { display: grid; grid-template-columns: 22px 52px minmax(0, 1fr); align-items: center; gap: 8px; padding: 8px 0; }
	.pt-cc .pt-side li a::before { width: auto; text-align: center; }
	.pt-cc .pt-side .pt-cc-art { width: 52px; height: 33px; aspect-ratio: auto; }

	/* ── bank wealth tiers: a list instead of the chart ── */
	.pt-cc .pt-cb-sec .pt-aum, .pt-cc .pt-cb-sec .pt-aum-key { display: none; }
	.pt-cc .pt-cb-sec .pt-aum-ctl { position: relative; display: flex; flex-wrap: nowrap; align-items: center; gap: 6px; overflow-x: auto; margin: 0 -14px; padding: 0 14px 2px; scrollbar-width: none; }
	.pt-cc .pt-cb-sec .pt-aum-ctl::-webkit-scrollbar { display: none; }
	.pt-cc .pt-cb-sec .pt-aum-ctl > span { flex: none; margin: 0; font-size: 12.5px; font-weight: 800; color: #0b1f44; }
	.pt-cc .pt-cb-sec .pt-aum-ctl > button { flex: none; height: 32px; padding: 0 12px; border-radius: 999px; font-size: 13px; }
	.pt-cc .pt-cb-sec .pt-aum-ctl > .pt-aum-sum { position: absolute; left: -9999px; }
	.pt-am-sum { display: block; margin: 8px 0 0; padding: 8px 10px; border-radius: 10px; background: #f3f7ff; font-size: 12.5px; line-height: 1.45; color: #26324a; }
	.pt-am-sum b { color: #05603a; }
	.pt-am { display: block; margin-top: 8px; }
	.pt-cb-sec:not(.am-all) .pt-am-r.more { display: none; }
	.pt-am-r { border-top: 1px solid #eef1f5; }
	.pt-am-r summary { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto 14px; align-items: center; gap: 10px; padding: 9px 0; list-style: none; cursor: pointer; }
	.pt-am-r summary::-webkit-details-marker { display: none; }
	.pt-am-logo { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: #fff; border: 1px solid #e3e8f0; overflow: hidden; }
	.pt-am-logo img { width: 46px; max-width: none; height: auto; }
	.pt-am-logo i { font-style: normal; font-size: 11px; font-weight: 800; color: var(--c); }
	.pt-am-nm { min-width: 0; }
	.pt-am-nm b { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 14px; line-height: 1.3; color: #0b1f44; }
	.pt-am-st { display: block; font-size: 11.5px; line-height: 1.35; color: #5b6675; }
	.pt-am-pill { max-width: 120px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; padding: 3px 9px; border-radius: 999px; background: var(--c); color: #fff; font-size: 11.5px; font-weight: 800; }
	.pt-am-chev { width: 7px; height: 7px; border-right: 2px solid #8a96a8; border-bottom: 2px solid #8a96a8; transform: rotate(45deg); justify-self: center; margin-top: -4px; transition: transform .15s; }
	.pt-am-r[open] > summary .pt-am-chev { transform: rotate(-135deg); margin-top: 4px; }
	.pt-am-r.hit .pt-am-nm b { color: var(--c); }
	.pt-am-tiers { margin: 0 0 10px 50px; padding: 0; list-style: none; border-left: 2px solid #e3e8f0; }
	.pt-am-tiers li { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 8px; padding: 6px 0 6px 14px; }
	.pt-am-dot { position: absolute; left: -6px; top: 50%; width: 10px; height: 10px; margin-top: -5px; border-radius: 50%; background: #fff; border: 2px solid #c3ccd8; }
	.pt-am-tiers li.past .pt-am-dot { background: var(--c); border-color: var(--c); }
	.pt-am-tiers li.now { background: #f5f8ff; border-radius: 0 8px 8px 0; }
	.pt-am-tiers li.now .pt-am-dot { background: var(--c); border-color: #fff; box-shadow: 0 0 0 2px var(--c); }
	.pt-am-t b { display: block; font-size: 13px; line-height: 1.3; color: #0b1f44; }
	.pt-am-t small { display: block; font-size: 11.5px; color: #5b6675; }
	.pt-am-card { display: block; }
	.pt-am-card img { display: block; width: 52px; height: auto; aspect-ratio: 1.586; border-radius: 5px; object-fit: cover; box-shadow: 0 2px 6px rgba(0, 24, 74, .15); }
	.pt-cc .pt-am-all { display: flex; align-items: center; justify-content: center; width: 100%; height: 40px; margin-top: 4px; border: 1px solid #c9d5ea; border-radius: 12px; background: #f5f9ff; color: #1d4ed8; font: 800 13px "Noto Sans Thai", Arial, sans-serif; }
	.pt-cc .pt-cb-sec .pt-aum-src { margin-top: 10px !important; font-size: 11px; line-height: 1.5; color: #6b7a90; }

	/* ── articles: a list, small thumbnail beside the title ── */
	.pt-cc .pt-ca { display: grid; grid-template-columns: 1fr; gap: 0; }
	.pt-cc a.pt-ca-art { display: grid; grid-template-columns: 96px minmax(0, 1fr); align-items: center; gap: 10px; padding: 10px 0; border: 0; border-top: 1px solid #eef1f5; border-radius: 0; background: none; }
	.pt-cc a.pt-ca-art:first-child { border-top: 0; padding-top: 2px; }
	.pt-cc a.pt-ca-art > img { width: 96px; height: 60px; aspect-ratio: auto; object-fit: cover; border-radius: 8px; margin: 0; }
	.pt-cc a.pt-ca-art > span { display: block; min-width: 0; }
	.pt-cc a.pt-ca-art > span b { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin: 0; font-size: 13.5px; line-height: 1.35; }
	.pt-cc a.pt-ca-art > span small { display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; margin-top: 2px; font-size: 11px; }
	.pt-cc .pt-ca-faq { margin-top: 6px; padding-top: 6px; border-top: 1px solid #eef1f5; }
	.pt-cc .pt-ca-faq details:first-child { border-top: 0; }
	.pt-cc .pt-ca-faq summary { padding: 8px 0; font-size: 13px; }
	.pt-cc .pt-ca-faq p { font-size: 12.5px; }

	/* ── guide: the site's usual sizes, one row per topic, read short / read all ── */
	.pt-cc .pt-kg-top { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 10px; align-items: start; margin: 0; }
	.pt-cc .pt-kg-face { width: 48px; height: 48px; padding: 4px; border-radius: 12px; }
	.pt-cc .pt-kg-lead { margin: 0; font-size: 13px; line-height: 1.5; }
	.pt-cc .pt-kg-lead mark { font-size: 13px; line-height: 1.5; }
	.pt-cc .pt-kg-lead mark.big { font-size: 16px; line-height: 1.4; }
	.pt-cc .pt-kg-by { margin: 8px 0 0; padding: 8px 10px; border-radius: 10px; }
	.pt-cc .pt-kg-by b, .pt-cc .pt-kg-by > span { font-size: 12.5px; }
	.pt-cc .pt-kg-by p { margin: 2px 0 0; font-size: 11.5px; line-height: 1.5; }
	.pt-cc .pt-kg-fold .pt-kg-toc, .pt-cc .pt-kg-sec.pt-kg-fold .pt-kg-toc { display: none; }
	.pt-kg-bar { display: flex; gap: 8px; margin: 12px 0 2px; }
	.pt-cc .pt-kg-bar button { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 36px; border: 1px solid #c9d5ea; border-radius: 10px; background: #fff; color: #1d4ed8; font: 800 13px "Noto Sans Thai", Arial, sans-serif; }
	.pt-kg-bar button b { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: #eef4ff; font-size: 15px; line-height: 1; }
	.pt-cc .pt-kg-bar button[aria-pressed="true"] { background: #1d4ed8; border-color: #1d4ed8; color: #fff; }
	.pt-kg-bar button[aria-pressed="true"] b { background: rgba(255, 255, 255, .2); }
	.pt-cc .pt-kg-fold .pt-kg-s { margin: 8px 0 0; padding: 0; border: 1px solid #e3e8f0; border-radius: 12px; background: #fff; overflow: hidden; }
	.pt-cc .pt-kg-fold .pt-kg-s > h3 { position: relative; display: flex; align-items: center; gap: 8px; margin: 0; padding: 10px 44px 10px 10px; cursor: pointer; font-size: 15px; line-height: 1.35; }
	.pt-cc .pt-kg-fold .pt-kg-s > h3::after { content: "+"; position: absolute; right: 10px; top: 50%; transform: translateY(-50%); display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: #eef4ff; font-size: 18px; font-weight: 800; line-height: 1; color: #1d4ed8; }
	.pt-cc .pt-kg-fold .pt-kg-s.open > h3::after { content: "\2212"; background: #1d4ed8; color: #fff; }
	.pt-cc .pt-kg-fold .pt-kg-n { display: flex; align-items: center; gap: 6px; width: auto; height: auto; border-radius: 0; background: none; }
	.pt-cc .pt-kg-fold .pt-kg-n em { position: static; order: -1; min-width: 26px; padding: 2px 0; border-radius: 6px; text-align: center; font-size: 11.5px; line-height: 1.3; }
	.pt-cc .pt-kg-fold .pt-kg-n i { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; background: #eef4ff; font-size: 17px; }
	.pt-cc .pt-kg-fold .pt-kg-s:not(.open) > :not(h3) { display: none; }
	.pt-cc .pt-kg-fold .pt-kg-s.open { padding: 0 12px 12px; }
	.pt-cc .pt-kg-fold .pt-kg-s.open > h3 { margin: 0 -12px 8px; }
	.pt-cc .pt-kg-sec .pt-kg-s > p { max-width: none; margin: 0 0 8px; font-size: 14px; line-height: 1.65; }
	.pt-cc .pt-kg-sec .pt-kg-s > p:last-child { margin-bottom: 0; }
	.pt-cc .pt-kg-keys { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; margin: 0 0 10px; }
	.pt-cc .pt-kg-keys > div { padding: 8px 10px; }
	.pt-cc .pt-kg-keys b { font-size: 14px; }
	.pt-cc .pt-kg-keys small { font-size: 12px; }
}

/* phone "บัตรไหนคุ้ม": answer reveal + Taggy thinking */
@keyframes pt-cxm-up { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes pt-cxm-bob { from { transform: translateY(0); } to { transform: translateY(-4px); } }
@keyframes pt-cxm-dot { 0%, 100% { opacity: .25; } 50% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
	.pt-cxm-res > *, .pt-cxm-think img, .pt-cxm-think i { animation: none; }
}
