/* Public pages only. No import from the customer portals, checkout or players. */
.rp-public { --rp-green: #52ff2f; --rp-ease: cubic-bezier(.22,1,.36,1); padding-top: 0; }
html:has(.rp-public) { scroll-padding-top: 76px; scroll-padding-bottom: calc(5rem + 30px); }
.rp-public .rp-width { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.rp-public .rp-header { background: #0c120e; color: #f6f9f6; }
.rp-public .rp-brand-row { min-height: 70px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.rp-public .rp-brand { display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px; color: #f6f9f6; text-decoration: none; line-height: 1.25; }
.rp-public .rp-brand img { display: block; width: 185px; height: auto; }
.rp-public .rp-brand strong { font-size: 1.4rem; letter-spacing: -.04em; }
.rp-public .rp-brand > span { color: #b4bfb6; font-size: .82rem; }
.rp-public .rp-contacts { display: flex; align-items: center; gap: 22px; }
.rp-public .rp-contacts a { min-height: 44px; display: inline-flex; align-items: center; gap: 8px; color: #edf4ed; font-size: .875rem; text-decoration: none; }
.rp-public .rp-contacts a:last-child { color: #abdf9e; }
.rp-public .rp-header .rp-back, .rp-public .rp-mobile-contact { display: none; }
.rp-public .rp-desktop { position: sticky; top: 0; z-index: 100; background: #101712; border-block: 1px solid #ffffff16; color: #f5f8f5; }
.rp-public .rp-desktop > div { display: flex; align-items: center; gap: 6px; min-height: 56px; }
.rp-public .rp-desktop a { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 13px; font-size: .875rem; font-weight: 650; line-height: 1.3; color: inherit; text-decoration: none; position: relative; border-radius: 10px; white-space: nowrap; }
.rp-public .rp-desktop .rp-back { color: #b4d8a9; padding-left: 0; margin-right: 12px; }
.rp-public .rp-desktop a:hover { background: #ffffff09; }
.rp-public .rp-desktop [aria-current]::after { content: ''; position: absolute; bottom: 0; height: 3px; background: var(--rp-green); left: 13px; right: 13px; border-radius: 3px; }
.rp-public .rp-desktop [data-rp-access] { margin-left: auto; border: 1px solid #9aba8e4d; background: #9aba8e12; }
.rp-public :is(.rp-header,.rp-desktop,.rp-capsule) svg { width: 24px; height: 24px; flex: none; }
.rp-public :is(.rp-header,.rp-desktop) svg { width: 20px; height: 20px; }
.rp-public :is(.rp-header,.rp-desktop,.rp-capsule) a:focus-visible { outline: 2px solid #d2ffbc; outline-offset: 3px; }
.rp-public .rp-skip { position: fixed; top: 8px; left: 12px; transform: translateY(-160%); z-index: 1100; background: #fff; color: #102013; padding: 12px 18px; border-radius: 8px; }
.rp-public .rp-skip:focus { transform: none; }
.rp-public .rp-capsule { display: none; }
.rp-shop .rp-services { display: none; }
.rp-public main { animation: rp-enter 280ms cubic-bezier(.45,0,.2,1) both; overflow-wrap: anywhere; }
.rp-public main .rs-btn { white-space: normal; max-width: 100%; }
.rp-public .footer { overflow-wrap: anywhere; }
.rp-public .footer .social-row a:first-child::after { left: 0; transform: translateY(0); }
.rp-public .footer .social-row a:last-child::after { left: auto; right: 0; transform: translateY(0); }
.rp-public .rs-screen-proof li { min-width: 0; }
@keyframes rp-enter { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
/* Keep HTML links usable with scripting disabled (Chromium capture hit-testing).
   Only content is captured: the live navigation must accept rapid clicks. */
@media (scripting: enabled) { @view-transition { navigation: auto; } }
html:has(.rp-public) { view-transition-name: none; }
::view-transition { pointer-events: none; }
.rp-public main { view-transition-name: rp-content; }
::view-transition-old(rp-content) { animation: 160ms ease-out both rp-exit; }
::view-transition-new(rp-content) { animation: 280ms cubic-bezier(.45,0,.2,1) both rp-enter; }
@keyframes rp-exit { to { opacity: 0; } }
/* 72rem leaves comfortable space for Telecom's eight desktop destinations. */
@media (max-width: 72rem) {
 .rp-public { padding-bottom: calc(5rem + 28px + env(safe-area-inset-bottom, 0px)); }
 .rp-public .rp-width { width: calc(100% - 28px); }
 .rp-public .rp-brand-row { min-height: 62px; gap: 10px; flex-wrap: wrap; padding-block: 8px; }
 .rp-public .rp-brand { gap: 2px; flex-direction: column; }
 .rp-public .rp-brand img { width: 150px; }
 .rp-public .rp-brand strong { font-size: 1.15rem; }
 .rp-public .rp-brand > span { font-size: .69rem; }
 .rp-public .rp-header .rp-back, .rp-public .rp-mobile-contact { display: inline-flex; align-items: center; gap: 5px; min-height: 44px; color: #c1dab9; font-size: .75rem; text-decoration: none; }
 .rp-public .rp-contacts, .rp-public .rp-desktop { display: none; }
 .rp-public .rp-capsule { position: fixed; display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); bottom: calc(11px + env(safe-area-inset-bottom, 0px)); left: 50%; transform: translateX(-50%); width: min(480px, calc(100% - 24px)); min-height: 74px; padding: 5px; border: 1px solid #d1e5ce30; border-radius: 26px; background: #111b16f5; box-shadow: 0 8px 24px #0003, inset 0 1px #ffffff0b; z-index: 110; isolation: isolate; color: #eef4ed; }
 @supports ((backdrop-filter: blur(16px)) or (-webkit-backdrop-filter: blur(16px))) {
  .rp-public .rp-capsule { background: rgb(12 23 17 / 82%); backdrop-filter: blur(16px) saturate(1.15); -webkit-backdrop-filter: blur(16px) saturate(1.15); }
 }
 .rp-public .rp-capsule a { min-width: 0; min-height: 62px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 6px 0; border-radius: 20px; color: inherit; text-decoration: none; font-size: .75rem; line-height: 1.25; font-weight: 650; -webkit-tap-highlight-color: transparent; position: relative; transition: transform 100ms ease-out, color 200ms ease; }
 .rp-public .rp-capsule a:active { transform: scale(.97); }
 .rp-public .rp-capsule a > span { max-width: 100%; overflow-wrap: anywhere; text-align: center; }
 .rp-public .rp-capsule a { display: grid; grid-template-rows: 24px auto; align-content: start; justify-items: center; padding-top: 8px; }
 .rp-public .rp-capsule svg { transition: transform 210ms var(--rp-ease); }
 .rp-public .rp-capsule a[aria-current] { color: var(--rp-green); }
 .rp-public .rp-capsule a[aria-current] svg { transform: translateY(-2px) scale(1.12); }
 .rp-public .rp-capsule [data-rp-access] { box-shadow: inset 0 0 0 1px #b9d2ad38; }
 .rp-public .rp-indicator { pointer-events: none; position: absolute; top: 5px; bottom: 5px; left: 5px; width: calc((100% - 10px)/5); border-radius: 20px; background: #67b54a26; border-bottom: 2px solid var(--rp-green); opacity: 0; transform: translateX(calc(var(--rp-index,0)*100%)); transition: transform 360ms var(--rp-ease), opacity 200ms ease; z-index: -1; }
 .rp-capsule:has([aria-current]) .rp-indicator { opacity: 1; }
 .rp-capsule:has(a:nth-of-type(1)[aria-current]) { --rp-index: 0; }
 .rp-capsule:has(a:nth-of-type(2)[aria-current]) { --rp-index: 1; }
 .rp-capsule:has(a:nth-of-type(3)[aria-current]) { --rp-index: 2; }
 .rp-capsule:has(a:nth-of-type(4)[aria-current]) { --rp-index: 3; }
 .rp-capsule:has(a:nth-of-type(5)[aria-current]) { --rp-index: 4; }
 /* No animated filters; focus stays above the bar when the soft keyboard opens. */
 .rp-public.rp-keyboard .rp-capsule { visibility: hidden; }
 .rp-public :is(input,textarea,select,button,a) { scroll-margin-bottom: calc(5rem + 40px); }
 html:has(.rp-public) { scroll-padding-top: 16px; }
 /* Shop's public drawer: the capsule stays visible below the panel. */
 .rp-shop .rp-services { --rp-services-bottom: calc(6.4rem + env(safe-area-inset-bottom, 0px)); position: fixed; inset: 0; width: 100%; max-width: none; height: 100%; height: 100dvh; max-height: none; margin: 0; padding: 0; border: 0; background: transparent; color: #f3f7f2; z-index: 120; overflow: hidden; }
 .rp-shop section.rp-services:target, .rp-shop dialog.rp-services[open] { display: block; }
 .rp-shop .rp-services::backdrop { background: transparent; }
 .rp-shop .rp-services-shade { position: absolute; inset: 0; background: #02080470; }
 .rp-shop .rp-services-panel { position: absolute; top: max(12px,env(safe-area-inset-top,0px)); right: max(12px,env(safe-area-inset-right,0px)); bottom: var(--rp-services-bottom); width: min(400px,calc(100% - 24px)); padding: 20px; overflow-y: auto; overscroll-behavior: contain; border: 1px solid #c3ddbd30; border-radius: 22px; background: #101b15; box-shadow: 0 16px 44px #0005; animation: rp-services-enter 280ms var(--rp-ease) both; }
 .rp-shop .rp-services-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 24px; }
 .rp-shop .rp-services-heading h2 { font: inherit; font-weight: 750; font-size: 1.4rem; line-height: 1.3; color: inherit; margin: 0; }
 .rp-shop .rp-services-close { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border: 1px solid #c3ddbd30; border-radius: 50%; color: #edf5eb; text-decoration: none; background: #ffffff05; }
 .rp-shop .rp-services svg { width: 24px; height: 24px; flex: none; }
 .rp-shop .rp-service { display: grid; grid-template-columns: 24px minmax(0,1fr) 18px; align-items: center; gap: 14px; min-height: 92px; padding: 18px 12px; margin-bottom: 12px; border: 1px solid #c3ddbd26; border-radius: 16px; text-decoration: none; color: #eef5eb; background: #ffffff04; }
 .rp-shop .rp-service > svg { color: #a9d99c; }
 .rp-shop .rp-service strong { display: block; font-size: 1rem; line-height: 1.4; font-weight: 700; overflow-wrap: anywhere; }
 .rp-shop .rp-service small { display: block; margin-top: 5px; color: #bbc9bd; font-size: .85rem; line-height: 1.5; overflow-wrap: anywhere; }
 .rp-shop .rp-service-arrow { color: #a9d99c; font-size: 1.2rem; }
 .rp-shop .rp-services :is(.rp-service,.rp-services-close):hover { background: #ffffff0c; }
 .rp-shop .rp-services a:focus-visible { outline: 2px solid #d2ffbc; outline-offset: 3px; }
 .rp-shop .rp-services.rp-closing .rp-services-panel { animation: rp-services-exit 280ms var(--rp-ease) both; }
 .rp-shop .rp-capsule [data-rp-services][aria-expanded="true"] { color: var(--rp-green); }
 .rp-shop .rp-capsule [data-rp-services][aria-expanded="true"] svg { transform: translateY(-2px) scale(1.12); }
 .rp-shop .rp-capsule:has([aria-expanded="true"]) { --rp-index: 3; }
 .rp-shop .rp-capsule:has([aria-expanded="true"]) .rp-indicator { opacity: 1; transform: translateX(300%); }
 .rp-shop .rp-capsule:has([aria-expanded="true"]) a[aria-current] { color: inherit; }
 .rp-shop .rp-capsule:has([aria-expanded="true"]) a[aria-current] svg { transform: none; }
 .rp-shop section.rp-services .rp-services-panel { animation: none; }
 html:has(.rp-shop section.rp-services:target) { overflow: hidden; }
}
@keyframes rp-services-enter { from { transform: translateX(calc(100% + 24px)); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes rp-services-exit { from { transform: none; opacity: 1; } to { transform: translateX(calc(100% + 24px)); opacity: 0; } }
@supports not selector(:has(*)) {
 .rp-public .rp-capsule a[aria-current] { background: #67b54a26; box-shadow: inset 0 -2px var(--rp-green); }
}
@media (prefers-reduced-transparency: reduce) { .rp-public .rp-capsule { background: #111b16; backdrop-filter: none; -webkit-backdrop-filter: none; } }
@media (prefers-reduced-motion: reduce) {
 html:has(.rp-public) { scroll-behavior: auto; }
 .rp-public main, .rp-public .rp-capsule *, .rp-public .rp-skip { animation: none; transition: none; }
 .rp-public .rp-capsule a[aria-current] svg, .rp-public .rp-capsule a:active { transform: none; }
 ::view-transition-group(*), ::view-transition-new(*), ::view-transition-old(*) { animation: none !important; }
 .rp-shop .rp-services .rp-services-panel { animation: none; }
 .rp-shop .rp-capsule [data-rp-services][aria-expanded="true"] svg { transform: none; }
}
