/*
 * License page: "RESTRICTIONS" (slug "restrictions"). Figma desktop 31:1159, mobile 260:11712; country colours from the
 * variant 99:28807 (customer decision: traffic-light palette). Values from get_design_context (node ids in comments),
 * "derived" = no Figma frame / state for that width.
 *
 * Desktop: the variant 99:28807 (the customer's render = this variant): centred head (99:28809), list column 353
 *          (99:28816, white list 99:28825) + 54 gap + map panel 956 x 470 (99:38162) with the zoom buttons (99:38497) on
 *          its left edge (the (i) button 99:38495 is not printed: customer feedback).
 * Mobile : left-aligned head (260:11714), "Countries", search, the map as a horizontally scrolled 628px strip in a
 *          376 x 328 frame (260:21744) with a yellow horizontal bar (260:21745), then the list (260:11984).
 * Copy without a Figma slot (B) sits under the lead: title = "Countries" token, text = lead token.
 * Reveal is done by the central engine (data-lpl-reveal).
 */

/* Roboto Medium for the country list (Figma 105:19567: Roboto Medium 13.7), self-hosted */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../../fonts/roboto-500-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../../fonts/roboto-500-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

.lpl-sec--restrictions {
  /* 99:28807 country vectors: allowed (Fully Regulated / target regions) #4caf50, prohibited #f44336,
     strictly regulated / Gray Market #ffc107, no data #bdbdbd */
  --lpl-restr-prohibited: #f44336;
  --lpl-restr-regulated: #ffc107;
  --lpl-restr-allowed: #4caf50;
  --lpl-restr-neutral: #bdbdbd;
  --lpl-restr-ink: #130030;              /* 105:19435 "Countries" */
  padding: 100px 0 50px;
  background: #fff;
  font-family: var(--lpl-font);
  color: #000;
}

.lpl-sec--restrictions *,
.lpl-sec--restrictions *::before,
.lpl-sec--restrictions *::after {
  box-sizing: border-box;
}

/* status colour hooks (map polygons, tooltip dot, legend dots) */
.lpl-sec--restrictions [data-st='allowed'] { --st: var(--lpl-restr-allowed); }
.lpl-sec--restrictions [data-st='prohibited'] { --st: var(--lpl-restr-prohibited); }
.lpl-sec--restrictions [data-st='regulated'] { --st: var(--lpl-restr-regulated); }
.lpl-sec--restrictions [data-st='neutral'] { --st: var(--lpl-restr-neutral); }

.lpl-restr__inner {
  width: 100%;
  max-width: 1408px;                     /* 1360 content + 2 x 24 gutter (derived below 1408) */
  margin: 0 auto;
  padding: 0 24px;
}

@media (min-width: 1408px) {
  .lpl-restr__inner {
    max-width: 1360px;
    padding: 0;
  }
}

/* ---- head: 31:1161 (column, centred, gap 16); base.css centres it with gap 20 / lead 860 -> Figma values ---- */
.lpl-page .lpl-sec.lpl-sec--restrictions .lpl-restr__head {
  gap: 16px !important;
}

.lpl-restr__head-main {                  /* 31:1162: 941 wide, gap 16 */
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: 100%;
  max-width: 941px;
}

.lpl-page .lpl-sec.lpl-sec--restrictions .lpl-restr__head-main {
  gap: 16px !important;
  max-width: 941px !important;
}

.lpl-sec--restrictions .lpl-restr__tag {  /* 31:1163 / 31:1164 */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  height: 44px;
  padding: 12px 16px;
  border-radius: 999px;
  background: #640ea1;
  color: #fff;
  font: 600 14px/20px var(--lpl-font);
  text-transform: uppercase;
  white-space: nowrap;
}

.lpl-sec--restrictions .lpl-restr__title {  /* 31:1165 */
  margin: 0;
  font: 600 60px/83.6px var(--lpl-font);
  letter-spacing: -3px;
  color: #000;
  text-align: center;
  text-wrap: balance;
}

.lpl-page .lpl-sec.lpl-sec--restrictions .lpl-restr__head .lpl-restr__lead {
  max-width: 1302px !important;           /* 31:1166 */
}

.lpl-sec--restrictions .lpl-restr__lead {   /* 31:1166 */
  width: 100%;
  max-width: 1302px;
  margin: 0;
  font: 400 18px/26px var(--lpl-font);
  color: #2a2a2a;
  text-align: center;
  text-wrap: pretty;
}

/* B + TZ ("compact list of the restricted countries under the map"): copywriter text without a Figma slot, under the
   map in the head tokens; the two notes side by side on desktop (derived spacing: the 50 of head -> body) */
.lpl-restr__notes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 480px), 1fr));
  gap: 24px 54px;
  margin-top: 50px;
}

.lpl-restr__notes:empty {
  display: none;
}

.lpl-restr__notes .lpl-restr__note {
  align-items: flex-start;
  max-width: none;
  margin: 0;
  text-align: left;
}

.lpl-restr__note {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;                              /* derived */
  width: 100%;
  max-width: 1302px;
  margin: 0 auto;
  text-align: center;
}

.lpl-restr__note-title {                 /* = "Countries" 105:19435 */
  margin: 0;
  font: 600 24px/40px var(--lpl-font);
  color: var(--lpl-restr-ink);
}

.lpl-restr__note-text {                  /* = lead 31:1166 */
  margin: 0;
  padding: 0;
  font: 400 18px/26px var(--lpl-font);
  color: #2a2a2a;
  text-wrap: pretty;
}

.lpl-restr__note-list {
  list-style: none;
}

.lpl-restr__note-list li {
  display: inline;
  margin: 0;
  padding: 0;
}

.lpl-restr__note-list li::before {
  content: none;
}

.lpl-restr__note-list li:not(:last-child)::after {
  content: ', ';
}

/* ---- body: 99:28815 = list column 353 + gap 54 + map panel 956 ---- */
.lpl-restr__body {
  position: relative;
  display: grid;
  grid-template-columns: 353px minmax(0, 1fr);
  column-gap: 54px;
  align-items: start;
  margin-top: 50px;                      /* 99:28809 ends at 330, 99:28815 starts at 380 */
}

.lpl-restr__side {
  grid-column: 1;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.lpl-restr__main {
  position: relative;                    /* the legend sits on the panel's bottom-right */
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
}

.lpl-restr__list-title {                 /* 99:28817 */
  margin: 0 0 20px;
  font: 600 24px/40px var(--lpl-font);
  color: var(--lpl-restr-ink);
}

/* search: 99:28818 (354 x 42, radius 4, #e0e0e0 border, 8% gradient, text at x 36, no icon);
   mobile 260:11980 (radius 11, #e1e2ee, icon "🔍" Roboto 11 #94a3b8 at x 12, text at x 38) */
.lpl-restr__search {
  position: relative;
  height: 42px;
  margin-bottom: 20px;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(153, 153, 153, 0.08));
  overflow: hidden;
  transition: border-color var(--lpl-dur-fast) var(--lpl-ease), box-shadow var(--lpl-dur-fast) var(--lpl-ease);
}

.lpl-restr__search-ic {
  display: none;
  position: absolute;
  left: 12px;
  top: 50%;
  margin-top: -8px;
  height: 16px;
  font: 400 11px/16px 'Roboto', var(--lpl-font);
  color: #94a3b8;
  pointer-events: none;
}

.lpl-restr__input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0 12px 0 36px;                /* 99:28819 left 36 / right 12 */
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  font: 400 13.1px/normal var(--lpl-font);
  color: var(--lpl-restr-ink);
  -webkit-appearance: none;
  appearance: none;
}

.lpl-restr__input::placeholder {
  color: #94a3b8;
  opacity: 1;
}

.lpl-restr__input::-webkit-search-cancel-button,
.lpl-restr__input::-webkit-search-decoration {
  -webkit-appearance: none;
}

.lpl-restr__search:hover {
  border-color: rgba(104, 13, 168, 0.4);
}

.lpl-restr__search:focus-within {
  border-color: #680da8;
  box-shadow: 0 0 0 3px rgba(104, 13, 168, 0.18);
}

.lpl-restr__input:focus {
  outline: none;
}

/* list + custom scroll bar (99:28821: 9px yellow thumb on a 6px track of 340, list at x 40; the list is clipped by
   the 470px body: 348 visible) */
.lpl-restr__listbox {
  position: relative;
  height: 348px;
}

.lpl-restr__bar {
  position: absolute;
  z-index: 2;
}

.lpl-restr__bar--v {
  left: 0;
  top: 0;
  width: 9px;
  height: 340px;                         /* 99:28823 */
}

.lpl-restr__bar::before {
  content: '';
  position: absolute;
  left: 1px;
  top: 0;
  width: 6px;
  height: 100%;
  border-radius: 6px;
  background: linear-gradient(180deg, rgba(153, 148, 148, 0.08), rgba(153, 153, 153, 0.08) 50%, rgba(153, 151, 151, 0.08));
}

.lpl-restr__thumb {
  position: absolute;
  left: 0;
  top: 0;
  display: block;
  width: 9px;
  height: 75.079px;                      /* 99:28824 */
  border-radius: 6px;
  background: #f5b319;
  cursor: grab;
  touch-action: none;
  transition: background-color var(--lpl-dur-fast) var(--lpl-ease);
}

.lpl-restr__thumb:hover {
  background: #e3a40e;
}

/* horizontal bar under the mobile map (260:21745); not used on desktop */
.lpl-restr__bar--h {
  display: none;
}

.lpl-restr__scrollarea {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 40px;
  overflow-x: hidden;
  overflow-y: auto;
  scrollbar-width: none;
  border: 1px solid rgba(104, 13, 168, 0.2);   /* 99:28825: white, radius 8 */
  border-radius: 8px;
  background: #fff;
  overscroll-behavior: contain;
}

.lpl-restr__scrollarea::-webkit-scrollbar {
  display: none;
}

.lpl-restr__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.lpl-restr__li {
  margin: 0;
  padding: 0;
}

.lpl-restr__li::before {
  content: none;
}

.lpl-restr__li[hidden] {
  display: none;
}

/* row: 99:28826 / 260:11989 (43.39 high, 1px #3d3d3d bottom line; flag at 15, name at 42: Roboto Medium 13.7 / 22.4,
   +0.2, #e2e8f0 - on the white desktop list too, as in 99:28807: low contrast, raised with the customer) */
.lpl-restr__item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 43.39px;                   /* min-: a long name wraps instead of being cut */
  margin: 0;
  padding: 0 16px 0 15px;
  border: 0;
  border-bottom: 1px solid #3d3d3d;
  border-radius: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
  font: 500 13.7px/22.4px 'Roboto', var(--lpl-font);
  letter-spacing: 0.2px;
  color: #2a2a2a;                        /* customer 2026-10-16: Figma #e2e8f0 is invisible on the white desktop list */
  transition: background-color var(--lpl-dur-fast) var(--lpl-ease);
}

.lpl-restr__item:hover,
.lpl-restr__item.is-hover {
  background: rgba(104, 13, 168, 0.06);   /* hover / pressed: no Figma state (derived) */
}

.lpl-restr__item[aria-pressed='true'] {
  background: rgba(104, 13, 168, 0.12);
}

.lpl-restr__item:focus-visible {
  outline: 2px solid #f5b319;
  outline-offset: -2px;
}

/* flag: 17 x 13, radius 2 (105:19445) */
.lpl-restr__flag {
  display: block;
  flex: none;
  width: 17px;
  height: 13px;
  overflow: hidden;
  border-radius: 2px;
}

.lpl-restr__flag img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}

.lpl-restr__name {
  flex: 1 1 auto;
  min-width: 0;
  overflow-wrap: break-word;
  padding-block: 3px;
  line-height: 18px;
}

.lpl-restr__empty {
  margin: 0;
  padding: 16px;
  font: 500 13.7px/22.4px 'Roboto', var(--lpl-font);
  color: #2a2a2a;
}

.lpl-restr__empty[hidden] {
  display: none;
}

/* ---- map panel (99:38162: 956 x 470, no fill) ---- */
.lpl-restr__panel {
  position: relative;
  width: 100%;
  aspect-ratio: 956 / 470;
  overflow: hidden;
  border-radius: 8px;
  background: transparent;
}

.lpl-restr__panel[hidden],
.lpl-restr__panel.is-failed {
  display: none;
}

.lpl-restr__scroller {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.lpl-restr__panel .lpl-restr__map {
  position: absolute;
  inset: 0;
}

.lpl-restr__map svg {
  display: block;
  width: 100%;
  max-width: none;
  height: 100%;
  overflow: hidden;
  touch-action: pan-y;
  cursor: grab;
}

.lpl-restr__panel.is-zooming .lpl-restr__map svg {
  cursor: grabbing;
}

.lpl-restr__c {
  fill: var(--lpl-restr-neutral);
  stroke: #000;
  stroke-width: 0.3px;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
  cursor: pointer;
  transition: fill 0.5s var(--lpl-ease), stroke 0.2s var(--lpl-ease), stroke-width 0.2s var(--lpl-ease);
}

.lpl-restr__c[data-st='allowed'] { fill: var(--lpl-restr-allowed); }
.lpl-restr__c[data-st='prohibited'] { fill: var(--lpl-restr-prohibited); }
.lpl-restr__c[data-st='regulated'] { fill: var(--lpl-restr-regulated); }
.lpl-restr__c[data-st='neutral'] { fill: var(--lpl-restr-neutral); }

.lpl-restr__c.is-hover {
  stroke: #fff;
  stroke-width: 1px;
}

.lpl-restr__c.is-active {
  stroke: #f5b319;
  stroke-width: 2px;
}

.lpl-restr__panel.is-zooming .lpl-restr__c {
  transition: none;
  pointer-events: none;
}

/* country labels (99:38342 = Inter Regular 5 white, unreadable per the customer -> derived): the size is set by JS
   (11px desktop / 9px mobile on screen at any zoom, only labels that fit their country); white text with a dark halo
   so it reads on every fill (green / red / yellow / grey). Never in the way of hover / click. */
.lpl-restr__labels {
  pointer-events: none;
}

.lpl-restr__lbl {
  fill: #fff;
  font-family: var(--lpl-font);
  font-weight: 500;
  text-anchor: middle;
  dominant-baseline: central;
  pointer-events: none;
  user-select: none;
  stroke: rgba(19, 0, 48, 0.78);
  stroke-width: 0.24em;
  stroke-linejoin: round;
  paint-order: stroke fill;
}

/* zoom controls (99:38497: 40 x 40, rgba(31,41,55,.7), 1px rgba(104,13,168,.3), radius 8, shadow 0 4 12 20%,
   18px #e2e8f0 icons, gap 8, at y 56 of the 470 panel) */
.lpl-restr__ctrl {
  position: absolute;
  left: 0;
  top: 11.915%;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.lpl-restr__zbtn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(104, 13, 168, 0.3);
  border-radius: 8px;
  background: rgba(31, 41, 55, 0.7);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  color: #e2e8f0;
  cursor: pointer;
  transition: background-color var(--lpl-dur-fast) var(--lpl-ease), transform var(--lpl-dur-fast) var(--lpl-ease);
}

.lpl-restr__zbtn img {
  display: block;
  width: 18px;
  height: 18px;
}

.lpl-restr__zbtn:hover {
  background: rgba(31, 41, 55, 0.85);     /* no Figma state (derived) */
}

.lpl-restr__zbtn:active {
  transform: scale(0.94);
}

.lpl-restr__zbtn:focus-visible {
  outline: 2px solid #f5b319;
  outline-offset: 2px;
}

/* the (i) button of 99:38495 is not printed (customer: it did nothing useful); the legend below stays */

/* legend 99:38508 (frame 2:2): row, gap 29; item = 12px round dot + gap 8 + Inter 12 / 26 #838181; its right edge
   on the panel's right edge, items end 1px above the panel bottom. Dots = the map fills (customer), not the violet
   ones of the frame. */
.lpl-restr__legend {
  position: absolute;
  right: 0;
  bottom: 1px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 29px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.lpl-restr__legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  font: 400 12px/26px var(--lpl-font);
  color: #838181;
  white-space: nowrap;
}

.lpl-restr__legend-item::before {
  content: none;
}

.lpl-restr__legend-dot {
  display: block;
  flex: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--st);
}

.lpl-restr__tip-dot {
  display: block;
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--st, var(--lpl-restr-neutral));
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.6);
}

/* hover tooltip on the map (no Figma state): eased follow (JS) */
.lpl-restr__tip {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 0;
  padding: 5px 10px;
  border-radius: 8px;
  background: var(--lpl-restr-ink);
  color: #fff;
  font: 500 12px/16px var(--lpl-font);
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.18s var(--lpl-ease);
  will-change: transform, opacity;
}

.lpl-restr__tip.is-on {
  opacity: 1;
}

/* ---- map entry sweep (JS adds .is-sweep only when motion is allowed) ---- */
@media (prefers-reduced-motion: no-preference) {
  .lpl-restr__map.is-sweep .lpl-restr__c {
    transition: fill 0.9s var(--lpl-ease), stroke 0.2s var(--lpl-ease), stroke-width 0.2s var(--lpl-ease);
  }
}

/* ---- tablet (derived) ---- */
@media (max-width: 1023px) {
  .lpl-sec--restrictions .lpl-restr__title {
    font-size: 44px;
    line-height: 1.25;
    letter-spacing: -2px;
  }

  .lpl-restr__body {
    grid-template-columns: 300px minmax(0, 1fr);
    column-gap: 20px;
  }
}

/* ---- mobile: 260:11712 ---- */
@media (max-width: 767px) {
  .lpl-sec--restrictions {
    padding: 70px 0 35px;
  }

  .lpl-restr__inner {
    padding: 0 var(--lpl-gutter);         /* 376 of 390 */
    max-width: none;
  }

  /* 260:11714: column, gap 12, everything left aligned (base.css centres the head with !important) */
  .lpl-page .lpl-sec.lpl-sec--restrictions .lpl-restr__head,
  .lpl-page .lpl-sec.lpl-sec--restrictions .lpl-restr__head-main {
    align-items: flex-start !important;
    gap: 12px !important;
    text-align: left !important;
  }

  .lpl-page .lpl-sec.lpl-sec--restrictions .lpl-restr__head h2,
  .lpl-page .lpl-sec.lpl-sec--restrictions .lpl-restr__head .lpl-restr__lead {
    margin-left: 0 !important;
    margin-right: 0 !important;
    text-align: left !important;
  }

  .lpl-sec--restrictions .lpl-restr__tag {   /* 260:11715 / 260:11716 */
    align-self: flex-start;
    height: auto;
    font-size: 10px;
    line-height: 20px;
  }

  .lpl-sec--restrictions .lpl-restr__title {  /* 260:11717 */
    font-size: 22px;
    line-height: 29px;
    letter-spacing: -0.22px;
    text-align: left;
    text-wrap: wrap;
  }

  .lpl-sec--restrictions .lpl-restr__lead {   /* 260:11968 */
    font-size: 14px;
    line-height: 21px;
    text-align: left;
  }

  .lpl-restr__notes {
    gap: 20px;
    margin-top: 30px;
  }

  .lpl-page .lpl-sec.lpl-sec--restrictions .lpl-restr__note {
    align-items: flex-start;
    margin: 0;
    text-align: left;
  }

  .lpl-restr__note-text {                /* = 260:11968 */
    font-size: 14px;
    line-height: 21px;
  }

  /* 260:11978: Countries (40) / 20 / search (42) / 20 / map frame 376 x 328 / 29 / bar (9) / 11 / list (380) */
  .lpl-restr__body {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    margin-top: 37px;                     /* 260:11713 ends at 294, 260:11978 starts at 331 */
  }

  .lpl-restr__side,
  .lpl-restr__main {
    display: contents;
  }

  .lpl-restr__list-title { order: 1; }
  .lpl-restr__search { order: 2; }
  .lpl-restr__panel { order: 3; }
  .lpl-restr__bar--h { order: 4; }
  .lpl-restr__legend { order: 4; }
  .lpl-restr__listbox { order: 5; }

  .lpl-restr__panel {                    /* 260:21744 */
    aspect-ratio: auto;
    height: 328px;
    border-radius: 0;
  }

  .lpl-restr__scroller {
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
  }

  .lpl-restr__scroller::-webkit-scrollbar {
    display: none;
  }

  .lpl-restr__panel .lpl-restr__map {    /* 260:21326: the world is 628 wide */
    position: relative;
    inset: auto;
    width: 628px;
    height: 100%;
  }

  .lpl-restr__map svg {
    touch-action: pan-x pan-y;
    cursor: pointer;
  }

  /* the mobile frame has no zoom buttons and no hover */
  .lpl-restr__ctrl,
  .lpl-restr__tip {
    display: none !important;
  }

  .lpl-restr__bar--h {                   /* 260:21745: track 375 x 6.75 (18% grey) at y 1, thumb 9 high #f5b319 */
    position: relative;
    z-index: auto;
    display: block;
    width: 100%;
    height: 9px;
    margin-top: 29px;
  }

  .lpl-restr__bar--h::before {
    left: 0.45px;
    top: 1px;
    width: calc(100% - 1px);
    height: 6.75px;
    background: linear-gradient(90deg, rgba(153, 148, 148, 0.18), rgba(153, 153, 153, 0.18) 50%, rgba(153, 151, 151, 0.18));
  }

  .lpl-restr__bar--h .lpl-restr__thumb {
    width: 223px;                        /* 260:21747 (JS sizes it from the scroll ratio) */
    height: 9px;
    touch-action: none;
  }

  .lpl-restr__search {                   /* 260:11980 */
    border-color: #e1e2ee;
    border-radius: 11px;
  }

  .lpl-restr__search-ic {
    display: block;
  }

  .lpl-restr__input {
    padding: 0 10px 0 38px;              /* 260:11981 */
  }

  .lpl-restr__listbox {                  /* 260:11984 */
    height: 380px;
    margin-top: 11px;
  }

  /* legend: no mobile node - derived: same tokens, in the flow under the horizontal bar, wraps on narrow phones */
  .lpl-restr__legend {
    position: static;
    order: 4;
    flex-wrap: wrap;
    gap: 0 29px;
    margin-top: 11px;
  }

  .lpl-restr__bar--v {
    height: 100%;                        /* 260:11986: 380 */
  }

  .lpl-restr__scrollarea {               /* 260:11988: x 38, violet gradient, radius 14 */
    left: 38px;
    border-radius: 14px;
    background: linear-gradient(180deg, #330a6e, #8315a5);
  }

  .lpl-restr__item,
  .lpl-restr__empty {
    color: #e2e8f0;                      /* 260:11989: light text on the violet mobile list */
  }

  .lpl-restr__item:hover,
  .lpl-restr__item.is-hover {
    background: rgba(255, 255, 255, 0.09);
  }

  .lpl-restr__item[aria-pressed='true'] {
    background: rgba(255, 255, 255, 0.18);
  }

  .lpl-restr__bar--v .lpl-restr__thumb {
    height: 83.94px;                     /* 260:11987 */
  }
}

/* ================================================================================================
 * Layout "two cards" (admin "Layout of this block"; customer spec, no Figma node - all values derived from this
 * section's tokens): green Target Markets + red Restricted Geos over the outline world map, same greens/reds as the map.
 * ============================================================================================== */
.lpl-restr--cards .lpl-restr__cards {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
  margin-top: 50px;                      /* = head -> map body */
  isolation: isolate;
}

.lpl-restr--cards .lpl-restr__cards.is-single {
  grid-template-columns: minmax(0, 760px);
  justify-content: center;
}

/* watermark: the outline world, restrained, fading out at the edges */
.lpl-restr__wm {
  position: absolute;
  inset: -48px -24px;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  -webkit-mask-image: radial-gradient(ellipse 60% 68% at 50% 50%, #000 35%, transparent 100%);
  mask-image: radial-gradient(ellipse 60% 68% at 50% 50%, #000 35%, transparent 100%);
}

.lpl-restr__wm img {
  display: block;
  width: 100%;
  max-width: none;
  height: 100%;
  object-fit: contain;
  object-position: 50% 50%;
  opacity: 0.2;
  user-select: none;
}

.lpl-restr__card {
  --card-accent: var(--lpl-restr-allowed);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
  padding: 28px 28px 26px;
  border: 1px solid color-mix(in srgb, var(--card-accent) 28%, #fff);
  border-radius: 20px;
  background: linear-gradient(180deg, color-mix(in srgb, var(--card-accent) 9%, #fff), rgba(255, 255, 255, 0.8) 200px);
  box-shadow: 0 12px 32px -18px rgba(19, 0, 48, 0.22);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
  transition: box-shadow var(--lpl-dur) var(--lpl-ease), transform var(--lpl-dur) var(--lpl-ease);
}

.lpl-restr__card--no {
  --card-accent: var(--lpl-restr-prohibited);
}

.lpl-restr__card::before {               /* accent rule on the top edge */
  content: '';
  position: absolute;
  top: -1px;
  left: 28px;
  right: 28px;
  height: 4px;
  border-radius: 0 0 6px 6px;
  background: var(--card-accent);
}

@media (hover: hover) {
  .lpl-restr__card:hover {
    transform: translateY(-3px);
    box-shadow: 0 22px 44px -20px rgba(19, 0, 48, 0.3);
  }
}

.lpl-restr__card-head {
  display: flex;
  align-items: center;
  gap: 14px;
}

.lpl-restr__card-ico {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--card-accent);
  color: #fff;
}

.lpl-restr__card-svg {
  width: 26px;
  height: 26px;
}

.lpl-restr__card-title {                 /* = "Countries" 105:19435 */
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
  font: 600 24px/32px var(--lpl-font);
  color: var(--lpl-restr-ink);
  text-wrap: balance;
}

.lpl-restr__card-count {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  background: #fff;
  box-shadow: inset 0 0 0 1.5px var(--card-accent);
  color: var(--card-accent);
  font: 600 14px/1 var(--lpl-font);
}

.lpl-restr__card-sub {
  margin: 0;
  font: 600 18px/26px var(--lpl-font);
  color: var(--lpl-restr-ink);
}

.lpl-restr__card-text {                  /* = lead 31:1166 */
  margin: 0;
  font: 400 16px/24px var(--lpl-font);
  color: #2a2a2a;
  text-wrap: pretty;
}

.lpl-restr__card-key {                   /* = legend item 99:38508 */
  display: flex;
  align-items: center;
  gap: 8px;
  margin: -4px 0 0;
  font: 400 12px/20px var(--lpl-font);
  color: #838181;
}

.lpl-restr__chipbox.is-scroll {          /* long lists (derived green list): scroll inside the card */
  max-height: 312px;
  margin-right: -10px;
  padding-right: 10px;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: #f5b319 rgba(153, 153, 153, 0.12);   /* = the list's yellow thumb */
  -webkit-mask-image: linear-gradient(180deg, #000 calc(100% - 36px), transparent);
  mask-image: linear-gradient(180deg, #000 calc(100% - 36px), transparent);
  padding-bottom: 24px;
}

.lpl-restr__chipbox.is-scroll:focus-visible {
  outline: 2px solid #f5b319;
  outline-offset: 4px;
  border-radius: 8px;
}

.lpl-restr__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.lpl-restr__chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  max-width: 100%;
  margin: 0;
  padding: 7px 12px;
  border-radius: 999px;
  background: #fff;
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--card-accent) 30%, #fff);
  font: 500 14px/20px var(--lpl-font);
  color: var(--lpl-restr-ink);
  transition: box-shadow var(--lpl-dur-fast) var(--lpl-ease), background-color var(--lpl-dur-fast) var(--lpl-ease);
}

.lpl-restr__chip::before {
  content: none;
}

.lpl-restr__chip:hover {
  background: color-mix(in srgb, var(--card-accent) 7%, #fff);
  box-shadow: inset 0 0 0 1px var(--card-accent);
}

.lpl-restr__chip .lpl-restr__flag {
  box-shadow: 0 0 0 1px rgba(19, 0, 48, 0.08);
}

.lpl-restr__chip-name {
  min-width: 0;
  overflow-wrap: anywhere;
}

.lpl-restr__chip-note {
  padding-left: 8px;
  border-left: 1px solid color-mix(in srgb, var(--card-accent) 30%, #fff);
  font-size: 12px;
  color: var(--card-accent);
}

.lpl-restr__card-notes {                 /* restricted-list lines that are not one country (e.g. FATF lists) */
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0;
  padding: 14px 0 0;
  border-top: 1px dashed color-mix(in srgb, var(--card-accent) 35%, #fff);
  list-style: none;
}

.lpl-restr__card-notes li {
  position: relative;
  margin: 0;
  padding: 0 0 0 18px;
  font: 400 15px/22px var(--lpl-font);
  color: #2a2a2a;
}

.lpl-restr__card-notes li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 8px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--card-accent);
}

@media (max-width: 1023px) {
  .lpl-restr--cards .lpl-restr__cards {
    grid-template-columns: minmax(0, 1fr);
  }

  .lpl-restr__wm {
    inset: -32px -12px;
  }
}

@media (max-width: 767px) {
  .lpl-restr--cards .lpl-restr__cards {
    gap: 14px;
    margin-top: 30px;                    /* = head -> notes on mobile */
  }

  .lpl-restr__card {
    gap: 12px;
    padding: 22px 16px 18px;
    border-radius: 16px;
  }

  .lpl-restr__card::before {
    left: 16px;
    right: 16px;
  }

  .lpl-restr__card-ico {
    width: 36px;
    height: 36px;
  }

  .lpl-restr__card-svg {
    width: 22px;
    height: 22px;
  }

  .lpl-restr__card-title {
    font-size: 18px;
    line-height: 24px;
  }

  .lpl-restr__card-sub {
    font-size: 16px;
    line-height: 22px;
  }

  .lpl-restr__card-text,
  .lpl-restr__card-notes li {
    font-size: 14px;
    line-height: 21px;
  }

  .lpl-restr__chips {
    gap: 6px;
  }

  .lpl-restr__chip {
    padding: 6px 10px;
    font-size: 13px;
    line-height: 18px;
  }

  .lpl-restr__chipbox.is-scroll {
    max-height: 264px;
  }
}

/* Country panel of the Regulation Map (assets/css/gambling-map-panel.css, include/license/country-panel.php), reused 1:1.
   On the map page the panel inherits the old theme's body text (Montserrat 16px / 1.6, own_style_2_0.css), which the
   license pages dequeue and replace with Inter: restore exactly those inherited values so the card looks the same. */
.lpl-body .gcp {
  font-family: Montserrat, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}
