/* ============================================================
   BLACKLENS — THE RATES BANNERS (js/rates.js, round 229). Loaded by the app and by the website.
   B and D lay themselves out by the width they are given, not the window's: the hub's column is 600 px on a wide screen.
   The gold is the logo's (assets/LOGOS/dark-bg-logo-gd.png): --rb-metal carries dark words, --rb-edge is for edges only,
   because its dark band would swallow them. To turn the red panel another colour, change --rb-panel.
   ============================================================ */
.rb-host { container-type: inline-size; width: 100%; min-width: 0; }
.rb { --rb-panel: #DC4F4C; --rb-panel-ink: #1c0505; --rb-ink: #17140c; --rb-gold: #d9cc9a; --rb-gold-hi: #f1e9c4; --rb-gold-mid: #a19777; --rb-gold-lo: #4f4733;
  --rb-metal: linear-gradient(135deg, #f5f1d6 0%, #d9cc9a 42%, #b8aa7e 70%, #c9a97a 100%);
  --rb-edge: linear-gradient(170deg, #f5f1d6 0%, #a19777 38%, #6f6446 56%, #c9a97a 100%);
  position: relative; display: grid; border-radius: 14px; overflow: hidden; background: #131313; border: 1px solid var(--rb-gold-mid); color: #f2f2f2;
  font-family: var(--font-cond, inherit); font-stretch: 87.5%; font-weight: 350; font-size: 15px; line-height: 1.3; text-align: left; font-feature-settings: 'tnum' 1; }
.rb *, .rb *::before, .rb *::after { box-sizing: border-box; }
.rb img { max-width: none; }
.rb-pan { position: relative; min-width: 0; background: var(--rb-edge); }
.rb-pan::before { content: ''; position: absolute; background: var(--rb-panel); }
.rb-pan-in { position: relative; height: 100%; display: flex; flex-direction: column; }
.rb-kick { font-size: 13px; line-height: 18px; font-weight: 600; letter-spacing: 2.2px; color: var(--rb-panel-ink); white-space: nowrap; }
.rb-pic { display: block; height: auto; }
.rb-body { min-width: 0; display: flex; flex-direction: column; }
.rb-brand { display: inline-flex; align-items: center; gap: 7px; flex: none; }
.rb-mark { display: block; width: 20px; height: 20px; flex: none; }
.rb-word { font-size: 13px; line-height: 18px; font-weight: 600; letter-spacing: 2.6px; color: var(--rb-gold); }
.rb-foot { display: flex; align-items: center; gap: 12px; margin-top: auto; padding-top: 12px; }
.rb-note { font-family: var(--font, inherit); font-size: 14px; line-height: 19px; color: #d6d0bd; }
.rb-foot .rb-cta { margin-left: auto; }
.rb .rb-cta { flex: none; display: flex; align-items: center; justify-content: center; height: 46px; padding: 0 20px; border-radius: 11px; background: var(--rb-metal); color: var(--rb-ink); font-size: 15px; font-weight: 600; letter-spacing: 1.2px; white-space: nowrap; text-decoration: none; }
.rb .rb-cta:hover { filter: brightness(1.06); }
.rb s { color: #a39b84; font-weight: 350; white-space: nowrap; }
.rb-seat { display: flex; align-items: center; gap: 10px; margin-top: 8px; font-size: 12.5px; letter-spacing: 1.2px; color: #d6d0bd; white-space: nowrap; }
.rb-seat i { flex: 1 1 auto; display: block; height: 8px; min-width: 30px; border-radius: 4px; background: #2c2a24; overflow: hidden; }
.rb-seat u { display: block; height: 100%; background: var(--rb-metal); }
.rb-fine { margin: 8px 2px 0; font-family: var(--font, inherit); font-size: 12.5px; line-height: 18px; color: #9a9a9a; }
.rb-tag { display: inline-block; padding: 2px 8px; border-radius: 9px; background: var(--rb-metal); color: var(--rb-ink); font-size: 11px; line-height: 14px; font-weight: 700; letter-spacing: 1px; white-space: nowrap; }

/* ---- B ---- */
.rb-b { grid-template-columns: minmax(0, 49%) minmax(0, 1fr); min-height: 376px; }
.rb-b .rb-pan { clip-path: polygon(0 0, 100% 0, 90% 100%, 0 100%); }
.rb-b .rb-pan::before { inset: 0 9px 0 0; clip-path: polygon(0 0, 100% 0, 90% 100%, 0 100%); }
.rb-b .rb-pan-in { padding: 14px 0 12px 20px; }
.rb-b .rb-pic { width: 83%; margin-top: 8px; }
.rb-stamp { position: absolute; right: 15%; bottom: 12px; width: 136px; height: 136px; border-radius: 50%; background: var(--rb-metal); color: var(--rb-ink); border: 3px solid #17140c; box-shadow: 0 6px 18px rgba(0, 0, 0, .45); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.rb-stamp b { font-size: 44px; line-height: 46px; font-weight: 700; }
.rb-stamp span { font-size: 13px; line-height: 15px; font-weight: 700; letter-spacing: .8px; }
.rb-b .rb-body { padding: 14px 24px 16px 10px; }
.rb-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.rb-eyebrow { font-size: 13px; line-height: 18px; font-weight: 600; letter-spacing: 1.2px; color: var(--rb-gold); text-align: right; }
.rb .rb-h { margin: 8px 0 0; font-family: inherit; font-size: 32px; line-height: 36px; font-weight: 500; letter-spacing: 0; color: #f2f2f2; }
.rb-h em { font-style: normal; background: var(--rb-metal); -webkit-background-clip: text; background-clip: text; color: transparent; }
.rb .rb-sub { margin: 6px 0 10px; font-family: var(--font, inherit); font-size: 15px; line-height: 21px; color: #d6d0bd; max-width: none; }
.rb-row { display: grid; grid-template-columns: minmax(0, 1fr) auto 62px; gap: 12px; align-items: baseline; padding: 6px 0; border-top: 1px solid var(--rb-gold-lo); }
.rb-n { font-size: 14.5px; font-weight: 600; letter-spacing: 1.2px; white-space: nowrap; }
.rb-n i { font-family: var(--font, inherit); font-style: normal; font-weight: 350; letter-spacing: 0; color: #b5ad96; margin-left: 8px; }
.rb-p { white-space: nowrap; text-align: right; }
.rb-p small { font-family: var(--font, inherit); font-size: 13px; font-weight: 350; color: #b5ad96; margin-right: 6px; }
.rb-p b { font-size: 28px; line-height: 32px; font-weight: 500; color: var(--rb-gold-hi); }
.rb-row s { font-size: 14px; text-align: right; }

/* ---- D ---- */
.rb-d { grid-template-columns: 250px 220px minmax(0, 1fr); min-height: 176px; }
.rb-d .rb-pan { clip-path: polygon(0 0, 100% 0, 86% 100%, 0 100%); }
.rb-d .rb-pan::before { inset: 0 7px 0 0; clip-path: polygon(0 0, 100% 0, 86% 100%, 0 100%); }
.rb-d .rb-pan-in { padding: 14px 44px 12px 20px; }
.rb-d .rb-kick { font-size: 12.5px; letter-spacing: 1.6px; white-space: normal; }
.rb-big { margin-top: 6px; color: #fff; font-weight: 600; }
.rb-name { display: block; font-size: 27px; line-height: 31px; }
.rb-name i { font-style: normal; white-space: nowrap; }
.rb-name.long { font-size: 21px; line-height: 25px; }
.rb-off { display: block; }
.rb-off b { display: block; font-size: 50px; line-height: 52px; font-weight: 700; }
.rb-off span { display: block; font-size: 16px; line-height: 19px; font-weight: 600; }
.rb-when { margin-top: auto; padding-top: 8px; font-size: 13.5px; line-height: 18px; font-weight: 600; color: var(--rb-panel-ink); }
.rb-picw { display: flex; align-items: center; justify-content: center; }
.rb-d .rb-pic { width: 212px; }
.rb-d .rb-body { padding: 12px 14px 12px 4px; }
.rb-tiles { display: flex; gap: 8px; }
.rb-tile { flex: 1 1 0; min-width: 0; padding: 8px 12px 9px; border-radius: 9px; background: #1b1a16; border: 1px solid var(--rb-gold-lo); }
.rb-tile .n { display: block; font-size: 12.5px; line-height: 17px; font-weight: 600; letter-spacing: 1.4px; color: var(--rb-gold); white-space: nowrap; }
.rb-tile .v { display: flex; align-items: baseline; gap: 8px; }
.rb-tile .v b { font-size: 27px; line-height: 32px; font-weight: 500; color: var(--rb-gold-hi); white-space: nowrap; }
.rb-tile .v s { font-size: 14px; }
.rb-tile em { display: block; font-family: var(--font, inherit); font-style: normal; font-size: 13px; line-height: 17px; color: #b5ad96; white-space: nowrap; }
.rb-tile .rb-tag { margin-top: 5px; }
.rb-d .rb-foot { padding-top: 8px; }
.rb-d .rb-cta { height: 40px; padding: 0 18px; border-radius: 10px; font-size: 14px; }

/* ---- narrow: a phone, and the hub's 600 px column ---- */
@container (max-width: 860px) {
  .rb-b { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .rb-b .rb-pan { clip-path: polygon(0 0, 100% 0, 100% 95%, 0 100%); }
  .rb-b .rb-pan::before { inset: 0 0 7px 0; clip-path: polygon(0 0, 100% 0, 100% 95%, 0 100%); }
  .rb-b .rb-pan-in { padding: 12px 8px 22px 8px; }
  .rb-b .rb-kick { padding-left: 8px; font-size: 12.5px; }
  .rb-b .rb-pic { width: min(100%, 460px); margin: 6px auto 0; }
  .rb-stamp { right: 10px; bottom: 26px; width: 106px; height: 106px; }
  .rb-stamp b { font-size: 34px; line-height: 36px; }
  .rb-stamp span { font-size: 11.5px; line-height: 13px; letter-spacing: .5px; }
  .rb-b .rb-body { padding: 8px 14px 14px; }
  .rb-top { flex-wrap: wrap; }
  .rb-eyebrow { text-align: left; }
  .rb .rb-h { font-size: 25px; line-height: 29px; margin-top: 6px; }
  .rb .rb-sub { font-size: 14.5px; line-height: 20px; }
  .rb-row { grid-template-columns: minmax(0, 1fr) auto 50px; gap: 8px; }
  .rb-n { font-size: 14px; letter-spacing: .8px; }
  .rb-n i { display: none; }
  .rb-p b { font-size: 24px; line-height: 28px; }
  .rb-p small { margin-right: 4px; }
  .rb-row s { font-size: 13px; }
  .rb-foot { flex-direction: column; align-items: stretch; gap: 8px; }
  .rb-foot .rb-cta { margin-left: 0; }

  .rb-d { grid-template-columns: minmax(0, 1fr) 146px; min-height: 0; }
  .rb-d .rb-pan { grid-column: 1 / -1; grid-row: 1; clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%); }
  .rb-d .rb-pan::before { inset: 0 0 6px 0; clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%); }
  .rb-d .rb-pan-in { padding: 11px 150px 18px 14px; }
  .rb-d .rb-kick { font-size: 11.5px; letter-spacing: 1px; }
  .rb-name { font-size: 22px; line-height: 26px; }
  .rb-name.long { font-size: 19px; line-height: 23px; }
  .rb-off b { font-size: 40px; line-height: 42px; }
  .rb-off span { font-size: 14px; line-height: 17px; }
  .rb-when { margin-top: 4px; padding-top: 0; font-size: 12.5px; line-height: 16px; }
  .rb-picw { grid-column: 2; grid-row: 1; z-index: 1; padding: 0 6px 8px 0; }
  .rb-d .rb-pic { width: 138px; }
  .rb-d .rb-body { grid-column: 1 / -1; padding: 0 14px 11px; }
  .rb-tiles { flex-direction: column; gap: 0; }
  .rb-tile { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 10px; align-items: center; padding: 6px 0; background: none; border: 0; border-top: 1px solid var(--rb-gold-lo); border-radius: 0; }
  .rb-tile:first-child { border-top: 0; }
  .rb-tile .n { font-size: 13.5px; letter-spacing: 1px; }
  .rb-tile .v { flex-direction: row-reverse; justify-content: flex-start; }
  .rb-tile .v b { font-size: 22px; line-height: 26px; }
  .rb-tile .v s { font-size: 13px; }
  .rb-tile .rb-tag { margin-top: 0; grid-column: 2; grid-row: 2; justify-self: end; }
  .rb-tile em { grid-column: 1; grid-row: 2; }
  .rb-d .rb-foot { padding-top: 6px; border-top: 1px solid var(--rb-gold-lo); }
  .rb-d .rb-cta { height: 44px; }
}

/* the hub's 600 px column has room for a larger picture than a phone */
@container (min-width: 480px) and (max-width: 860px) {
  .rb-d { grid-template-columns: minmax(0, 1fr) 204px; }
  .rb-d .rb-pan-in { padding-right: 208px; }
  .rb-d .rb-pic { width: 192px; }
}

/* ---- Thai: no letter-spacing, taller lines; the words sit in the app's or the website's own Thai face ---- */
html[lang="th"] .rb-kick { font-size: 15px; line-height: 21px; font-weight: 500; letter-spacing: 0; }
html[lang="th"] .rb-d .rb-kick { font-size: 13.5px; line-height: 19px; font-weight: 500; letter-spacing: 0; }
html[lang="th"] .rb-eyebrow { font-size: 14.5px; line-height: 20px; letter-spacing: 0; }
html[lang="th"] .rb .rb-h { line-height: 1.32; }
html[lang="th"] .rb-n { font-size: 15.5px; font-weight: 500; letter-spacing: 0; }
html[lang="th"] .rb-p small { font-size: 14px; }
html[lang="th"] .rb-stamp span { font-size: 16px; line-height: 21px; font-weight: 600; letter-spacing: 0; }
html[lang="th"] .rb-off span { font-size: 18px; line-height: 24px; letter-spacing: 0; }
html[lang="th"] .rb-tile .n { font-size: 14px; line-height: 20px; font-weight: 500; letter-spacing: 0; }
html[lang="th"] .rb-tile em { font-size: 13.5px; line-height: 18px; }
html[lang="th"] .rb-tag { font-size: 12.5px; line-height: 16px; font-weight: 600; letter-spacing: 0; }
html[lang="th"] .rb-seat { font-size: 13.5px; letter-spacing: 0; }
html[lang="th"] .rb .rb-cta { font-size: 16px; font-weight: 500; letter-spacing: 0; }
html[lang="th"] .rb-note { font-size: 14.5px; line-height: 20px; }
html[lang="th"] .rb-when { font-size: 14.5px; line-height: 20px; }
html[lang="th"] .rb-fine { font-size: 13.5px; line-height: 21px; }
