/* JL87 · Blue edition. One responsive page for phones and desktops. */
:root {
  color-scheme: light;
  --navy: #091b4c;
  --ink: #152951;
  --muted: #627398;
  --blue: #1766f5;
  --line: #d5e2fa;
  --radius: 20px;
  --page-width: 780px;
  --header-height: calc(141px + env(safe-area-inset-top, 0px));
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 12px); -webkit-text-size-adjust: 100%; }
body { margin: 0; color: var(--ink); background: radial-gradient(ellipse at 18% 5%, #c5d8ff 0, transparent 45%), radial-gradient(ellipse at 92% 33%, #dcd5ff 0, transparent 40%), #eaf1fc; line-height: 1.55; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; }
a, button, summary { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
button { color: inherit; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
button:focus-visible, a:focus-visible, summary:focus-visible, [tabindex]:focus-visible { outline: 3px solid #1777ff; outline-offset: 4px; }
.hero button:focus-visible, .hero a:focus-visible, .site-header a:focus-visible { outline-color: #ffdc76; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 12px; top: -90px; z-index: 100; border-radius: 8px; background: #fff; padding: 12px 20px; }
.skip-link:focus { top: 10px; }
.site-shell { width: 100%; max-width: var(--page-width); margin: 0 auto; overflow: clip; background: radial-gradient(ellipse at 95% 12%, #cdd8ffab, transparent 36%), radial-gradient(ellipse at 0 80%, #dce9ff, transparent 42%), linear-gradient(170deg, #e8f1ff, #f5f8ff 46%, #e8f2ff); box-shadow: 0 0 65px #16397812; min-height: 100vh; }
.site-header { position: sticky; top: 0; z-index: 30; padding-top: env(safe-area-inset-top, 0px); color: #fff; background: linear-gradient(112deg, #07163d, #102c73 76%, #183788); box-shadow: 0 5px 18px #091b4c24; }
.header-main { min-height: 92px; padding: 17px 24px 14px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.brand { flex: 0 1 auto; min-width: 0; display: inline-flex; align-items: center; }
.brand img { width: var(--logo-width, 190px); max-width: 100%; height: auto; filter: drop-shadow(0 2px 5px #020d30aa); }
#wordmark { font-size: 30px; font-weight: 900; }
#wordmark span { color: #ffce4b; }
.brand-caption { text-align: right; flex-shrink: 0; }
.brand-caption strong { display: block; font-size: 20px; font-weight: 750; letter-spacing: 1px; }
.brand-caption span { display: block; margin-top: 5px; color: #9fb7ee; font-size: 9px; letter-spacing: 1.6px; }
.main-nav { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); padding: 0 18px; border-top: 1px solid #ffffff0e; background: #06163c24; }
.main-nav a { position: relative; min-height: 48px; display: flex; align-items: center; justify-content: center; color: #dbe7ff; font-size: 16px; font-weight: 600; transition: color .18s; }
.main-nav a:hover, .main-nav .is-current { color: #fff; }
.main-nav .is-current::after { content: ""; position: absolute; bottom: 0; width: 30px; height: 3px; border-radius: 3px 3px 0 0; background: #44ceff; box-shadow: 0 -2px 12px #36baff50; }
.content { padding: 20px 20px 18px; }
.hero { position: relative; isolation: isolate; display: grid; grid-template-rows: minmax(0, 1fr) 44px; height: 260px; overflow: hidden; border: 1px solid #526fbd; border-radius: var(--radius); background: #091b4c; box-shadow: 0 10px 25px #314fa024, 0 0 0 3px #fff6; }
.slides { position: relative; width: 100%; min-height: 0; }
.slide { position: relative; height: 100%; overflow: hidden; background: #091b4c; }
.banner-link { display: block; position: relative; isolation: isolate; width: 100%; height: 100%; padding: 0; border: 0; border-radius: 0; background: #091b4c; color: #fff; text-align: left; cursor: pointer; touch-action: pan-y; }
.banner-link:focus-visible { outline: 3px solid #ffdc76; outline-offset: -4px; }
.banner-picture { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; }
.hero-art { display: block; width: 100%; height: 100%; object-fit: fill; }
.image-fallback { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 24px; font-size: 16px; color: #fff1bd; background: #091b4c; }
.carousel-bar { position: relative; z-index: 3; display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: center; height: 44px; min-height: 44px; padding: 0 12px; border-top: 1px solid #ffffff14; color: #c4d2f4; background: linear-gradient(105deg, #081a48, #102e6c); }
.slide-count { font-size: 12px; letter-spacing: 1.4px; font-variant-numeric: tabular-nums; }
.dots { display: flex; justify-content: center; }
.dots button { position: relative; width: 30px; height: 44px; padding: 0; background: transparent; border: 0; }
.dots button::after { content: ""; position: absolute; width: 6px; height: 6px; top: 19px; left: 12px; background: #bbc9f17f; border-radius: 9px; transition: width .2s; }
.dots button[aria-current="true"]::after { width: 20px; left: 5px; background: #ffdf8d; }
.carousel-actions { display: flex; justify-content: flex-end; gap: 2px; }
.carousel-actions button { width: 44px; height: 44px; display: grid; place-items: center; border: 0; border-radius: 50%; background: transparent; }
.carousel-actions button:hover { background: #ffffff12; }
.carousel-actions img { width: 18px; height: 18px; }
#prev img, #next img { filter: brightness(0) invert(1); }
#play img { width: 14px; height: 14px; }
.notice { padding: 8px 10px; border: 1px solid #cbdcf8; border-radius: 12px; background: #f2f7ff; display: flex; align-items: center; gap: 12px; min-width: 0; min-height: 44px; margin: 13px 2px 18px; color: #415d88; }
.notice-label { display: flex; align-items: center; gap: 6px; flex-shrink: 0; color: #2465d7; font-weight: 750; font-size: 15px; padding-right: 12px; border-right: 1px solid #b9cdef; }
.notice-label img { width: 19px; height: 19px; }
.notice-viewport { flex: 1; min-width: 0; overflow: hidden; border-radius: 5px; }
.notice-track { display: flex; align-items: center; gap: 36px; width: max-content; max-width: 100%; }
.notice p { flex: 0 0 auto; max-width: 100%; margin: 0; font-size: 15px; font-weight: 550; line-height: 1.75; overflow-wrap: anywhere; }
.notice.is-measuring .notice-track, .notice.is-scrolling .notice-track { max-width: none; }
.notice.is-measuring p, .notice.is-scrolling p { max-width: none; white-space: nowrap; }
.notice.is-scrolling .notice-track { animation: announcement-scroll var(--notice-duration, 25s) linear infinite; will-change: transform; }
.notice-viewport:focus .notice-track, .notice.is-inactive .notice-track { animation-play-state: paused; }
.notice-toggle { flex: 0 0 40px; display: grid; place-items: center; width: 40px; height: 40px; padding: 10px; border: 1px solid #bcd1f1; border-radius: 50%; background: #f6faff; color: #2658a2; }
.notice-toggle img { width: 15px; height: 15px; filter: brightness(0) saturate(100%) invert(28%) sepia(39%) saturate(1377%) hue-rotate(180deg) brightness(94%); }
.notice-toggle[aria-pressed="true"] { background: #dceaff; border-color: #82aaf1; }
@keyframes announcement-scroll { to { transform: translate3d(calc(-1 * var(--notice-distance, 0px)), 0, 0); } }
.section { margin: 0 0 18px; scroll-margin-top: 0; }
.panel { padding: 19px; border-radius: var(--radius); border: 1px solid #fff; background: linear-gradient(120deg, #ffffffc7, #f4f7ffb3); box-shadow: 0 6px 15px #3158a309, inset 0 1px #fff; }
.section-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 14px; margin-bottom: 17px; }
.section-heading h2 { position: relative; display: flex; align-items: center; gap: 9px; margin: 0; font-size: 22px; line-height: 1.3; letter-spacing: -.4px; font-weight: 800; }
.section-heading h2::before { content: ""; width: 4px; height: 21px; border-radius: 4px; background: linear-gradient(#229fff, #0858f6); }
.section-heading > span { color: #536b92; font-size: 15px; font-weight: 600; line-height: 1.6; text-align: right; }
.route-grid, .download-grid, .info-grid, .channel-grid, .support-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.route-card { --route-color: #0969eb; position: relative; display: flex; align-items: center; min-width: 0; min-height: 100px; gap: 12px; padding: 15px 14px; border: 1px solid #fff9; border-radius: 15px; color: #fff; box-shadow: 0 4px 9px color-mix(in srgb, var(--route-color) 17%, transparent), inset 0 0 0 2px #ffffff26, inset 0 1px #ffffff60; transition: transform .2s, box-shadow .2s; overflow: hidden; }
.route-blue { background: linear-gradient(120deg, #159fff, #1357ee 55%, #1041c3); }
.route-violet { --route-color: #6743df; background: linear-gradient(120deg, #8b68ff, #613bf0 55%, #3d25b5); }
.route-green { --route-color: #008d68; background: linear-gradient(120deg, #1acda4, #0a9c7b 55%, #08725e); }
.route-orange { --route-color: #c76a12; background: linear-gradient(120deg, #ffb73d, #ea8d24 45%, #b65c21); }
.route-cyan { --route-color: #048cb9; background: linear-gradient(120deg, #24d0eb, #079ed1 55%, #087bb3); }
.route-pink { --route-color: #ac31bb; background: linear-gradient(120deg, #e757ec, #bc31c9 55%, #872298); }
.route-card::before { content: ""; pointer-events: none; position: absolute; width: 140px; height: 140px; right: -60px; top: -80px; border: 25px solid #ffffff07; border-radius: 50%; }
.route-icon { width: 49px; height: 49px; flex-shrink: 0; display: grid; place-items: center; border: 1px solid #a6e7ffb0; box-shadow: 0 0 0 2px #ffffff0f, inset 0 1px 10px #fff2; border-radius: 50%; background: linear-gradient(150deg, #ffffff1f, #00000017); }
.route-icon img { width: 30px; height: 30px; }
.route-copy { min-width: 0; flex: 1; }
.route-copy strong { display: block; font-size: 22px; font-weight: 800; line-height: 1.3; }
.route-copy small { display: block; font-size: 15px; font-weight: 600; line-height: 1.6; color: #fff; margin-top: 5px; }
.route-arrow { font-size: 32px; font-weight: 300; line-height: 1; flex-shrink: 0; }
.download-card { position: relative; display: flex; flex-direction: column; min-width: 0; overflow: hidden; border-radius: 16px; padding: 19px 18px 17px; border: 1px solid #c9dcff; background: linear-gradient(135deg, #f5faff, #dfedff); }
.ios-card { border-color: #d8d3fb; background: linear-gradient(135deg, #f9f8ff, #e7e5fc); }
.app-visual { position: relative; flex-shrink: 0; height: 99px; display: flex; align-items: center; justify-content: center; margin: 0 0 10px; isolation: isolate; }
.app-halo { position: absolute; width: 145px; height: 52px; border: 1px solid #78b0ff5e; border-radius: 50%; transform: rotate(-18deg); box-shadow: 0 0 0 12px #4f96ff05; }
.ios-card .app-halo { border-color: #aea0f47d; }
.app-symbol { width: 80px; height: 80px; display: grid; place-items: center; border: 1px solid #88d4ff; border-radius: 23px; transform: rotate(-8deg); background: linear-gradient(145deg, #42b7ff, #0868ec 62%, #0044b9); box-shadow: 0 10px 18px #1f6ed635, inset 0 2px #b9e8ff9e, inset 0 -3px #0242ab; }
.app-symbol img { width: 50px; height: 50px; transform: rotate(8deg); }
.ios-card .app-symbol { border-color: #919de0; background: linear-gradient(145deg, #7180cc, #2a3f9c 65%, #1c2c6c); box-shadow: 0 10px 18px #404a9d33, inset 0 2px #b1bbedcc, inset 0 -3px #152465; }
.platform-tag { position: absolute; bottom: 0; left: calc(50% + 5px); z-index: 1; border: 1px solid #fff; border-radius: 5px; padding: 3px 6px; color: #1751a4; background: #fafdfff2; box-shadow: 0 2px 7px #264ca51a; font-size: 8px; letter-spacing: .8px; font-weight: 800; }
.ios-card .platform-tag { color: #5344b3; font-size: 10px; padding-inline: 9px; }
.download-copy { flex: 1; min-width: 0; text-align: center; }
.download-copy h3 { margin: 0; font-size: 20px; line-height: 1.4; letter-spacing: -.3px; font-weight: 750; }
.download-copy p { margin: 7px 0 16px; color: #49658c; font-size: 15px; font-weight: 600; line-height: 1.65; }
.download-button { min-height: 48px; margin-top: auto; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 10px; border-radius: 11px; border: 1px solid #adcaff; color: #174daf; background: linear-gradient(#fff, #e9f1ff); font-size: 16px; font-weight: 750; box-shadow: 0 2px 0 #c5d8fc, inset 0 1px #fff; }
.download-button img { width: 19px; height: 19px; }
.download-button > span:last-child { margin-left: auto; font-size: 17px; }
.download-button > img { margin-right: auto; }
.ios-card .download-button { color: #4b419b; border-color: #c5c0eb; background: linear-gradient(#fff, #f1edff); box-shadow: 0 2px 0 #d3cdef; }
.info-grid { margin-bottom: 18px; }
.info-card { width: 100%; min-width: 0; display: flex; align-items: center; gap: 12px; min-height: 99px; text-align: left; padding: 17px 15px; border: 1px solid #fff; border-radius: 18px; background: linear-gradient(125deg, #fbf8ff, #e8dcff); box-shadow: inset 0 0 0 1px #e3d0ff, 0 5px 11px #4b31a613; transition: transform .2s; }
.partner-card { background: linear-gradient(125deg, #fffcf2, #ffe9be); box-shadow: inset 0 0 0 1px #f4d69b, 0 5px 11px #bb8b2b12; }
.info-icon { flex: 0 0 48px; width: 48px; height: 48px; }
.info-card > span:nth-child(2) { flex: 1; min-width: 0; }
.info-card strong { display: block; color: #332754; font-size: 19px; line-height: 1.4; }
.info-card small { display: block; color: #705786; font-size: 14px; font-weight: 600; line-height: 1.6; margin-top: 5px; }
.partner-card strong { color: #553e1a; }
.partner-card small { color: #7b6339; }
.info-arrow { font-size: 28px; color: #8d6cba; }
.partner-card .info-arrow { color: #a2762f; }
.channel-card { display: flex; align-items: center; gap: 11px; min-width: 0; padding: 15px 11px; border-radius: 14px; border: 1px solid #d9e6fc; background: linear-gradient(135deg, #fff, #edf4ff); }
.channel-icon { flex: 0 0 43px; width: 43px; height: 43px; }
.channel-card > span { min-width: 0; flex: 1; }
.channel-card strong { display: block; font-size: 19px; letter-spacing: -.3px; }
.channel-card small { display: block; color: #4d698e; font-size: 15px; font-weight: 600; line-height: 1.6; margin-top: 4px; }
.external-icon { width: 16px; height: 16px; flex-shrink: 0; opacity: .7; }
.support-card { position: relative; isolation: isolate; display: grid; justify-items: center; overflow: hidden; gap: 10px; padding: 23px 19px 18px; border: 1px solid #d0dcff; border-radius: 17px; text-align: center; color: #fff; background: radial-gradient(ellipse at 10% 0, #4a87ff, transparent 70%), linear-gradient(145deg, #2367f1, #1142bd 75%, #2031b1); box-shadow: 0 5px 11px #1d4abe25, inset 0 0 0 1px #a2d4ff73; }
.telegram-support { background: radial-gradient(ellipse at 90% 0, #258dff, transparent 70%), linear-gradient(145deg, #0b77e0, #0a4ec0 75%, #1742a6); }
.support-orbit { position: absolute; width: 260px; height: 260px; top: -156px; right: -85px; border: 1px solid #73bdff59; border-radius: 50%; box-shadow: 0 0 0 21px #ffffff03, 0 0 0 22px #83b8ff23, 0 0 0 54px #ffffff02, 0 0 0 55px #83b8ff0f; z-index: -1; }
.support-icon { width: 65px; height: 65px; filter: drop-shadow(0 5px 7px #001e7577); }
.live-support .support-icon { outline: 1px solid #ffffff4a; outline-offset: 1px; border-radius: 18px; }
.support-copy { max-width: 100%; }
.support-copy strong { display: block; font-size: 26px; line-height: 1.35; letter-spacing: .5px; }
.support-copy small { display: block; color: #f0f6ff; font-size: 15px; font-weight: 600; line-height: 1.7; margin-top: 7px; }
.support-button { width: 100%; min-height: 46px; margin-top: 7px; display: flex; align-items: center; justify-content: center; gap: 19px; padding: 9px 10px; border: 1px solid #fff2bc; border-radius: 50px; color: #30344e; font-size: 16px; font-weight: 750; background: linear-gradient(#fff7ce, #ffdb79 48%, #ffb92c); box-shadow: 0 3px 0 #ad6a16, inset 0 1px #fff; }
.support-button > span { font-size: 23px; line-height: .8; }
.service-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 5px; padding: 19px 4px 8px; }
.service-strip > span { display: flex; flex-direction: column; gap: 8px; align-items: center; color: #63789d; }
.service-strip > span + span { border-left: 1px solid #d3dff6; }
.service-strip img { width: 30px; height: 30px; }
.service-strip strong { font-size: 14px; font-weight: 600; text-align: center; }
.footer { padding: 21px 20px max(25px, env(safe-area-inset-bottom)); background: #f6f9ff8a; border-top: 1px solid #d9e5f8; text-align: center; }
.footer > strong { font-weight: 700; font-size: 15px; color: #4c6691; }
.footer p { font-size: 13px; color: #61789d; margin: 7px 0 12px; }
.footer > div { display: flex; justify-content: center; align-items: center; gap: 18px; color: #657c9e; font-size: 12px; }
.footer a { min-height: 30px; display: inline-flex; align-items: center; color: #3f6fc5; }
.toast { position: fixed; bottom: max(25px, env(safe-area-inset-bottom)); left: 50%; z-index: 100; width: max-content; max-width: min(470px, calc(100% - 32px)); transform: translateX(-50%); padding: 13px 18px; color: #f4f8ff; font-size: 13px; text-align: center; background: #102451f2; border: 1px solid #819bd477; border-radius: 12px; box-shadow: 0 8px 28px #0b1e463b; }
.noscript-note { font-size: 13px; padding: 15px; background: #fff3d5; border-radius: 12px; color: #77571c; margin-top: 15px; }
.modal { position: fixed; inset: 0; z-index: 50; display: grid; align-items: center; justify-items: center; padding: max(18px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) max(18px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left)); }
.modal-backdrop { position: absolute; inset: 0; background: #07183eb3; backdrop-filter: blur(7px); -webkit-backdrop-filter: blur(7px); }
.dialog { position: relative; display: flex; flex-direction: column; width: min(100%, 510px); max-height: 86vh; max-height: 86dvh; overflow: hidden; background: #fafdff; border: 1px solid #e4eaff; border-radius: 23px; box-shadow: 0 24px 90px #00062b55; }
.dialog-close { position: absolute; top: 13px; right: 13px; z-index: 2; display: grid; place-items: center; width: 38px; height: 38px; background: #ffffffb3; border: 1px solid #d5e1f9; border-radius: 50%; }
.dialog-close img { width: 18px; height: 18px; }
.dialog-header { flex-shrink: 0; padding: 26px 26px 18px; border-bottom: 1px solid #e0e8fb; background: radial-gradient(ellipse at 100% 0%, #d8deff, transparent 70%), linear-gradient(135deg, #fff, #ebf4ff); }
.dialog-header > img { width: 53px; height: 53px; margin-bottom: 15px; }
.dialog-eyebrow { margin: 0 0 5px; font-size: 10px; letter-spacing: 1.6px; color: #5d77ac; font-weight: 650; }
.dialog-header h2 { font-size: 26px; line-height: 1.3; margin: 0; color: #142f65; }
.dialog-header > p:last-child { color: #6b7fa0; font-size: 13px; margin: 9px 0 0; }
.dialog-body { min-height: 0; overflow-y: auto; padding: 4px 26px 20px; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
#dialogParagraphs p { font-size: 14px; line-height: 1.9; margin: 17px 0; color: #475e80; overflow-wrap: anywhere; }
.dialog-highlights { display: flex; flex-wrap: wrap; gap: 7px; margin: 20px 0 15px; }
.dialog-highlights span { padding: 6px 10px; border-radius: 7px; background: #eaf1ff; border: 1px solid #dbe6fc; color: #3b68b2; font-size: 11px; }
.dialog-note { font-size: 11px; color: #7d8aa3; line-height: 1.8; border-top: 1px solid #e5ecfa; padding-top: 13px; margin: 0; }
.dialog-footer { flex-shrink: 0; display: flex; align-items: center; justify-content: flex-end; gap: 12px; padding: 16px 23px; background: #fff; border-top: 1px solid #e2eaf9; }
.quiet-button { border: 0; background: #eef3fc; color: #60759b; min-height: 43px; padding: 10px 17px; border-radius: 11px; font-size: 13px; }
.primary-button { display: flex; align-items: center; justify-content: center; gap: 17px; border-radius: 11px; min-height: 43px; padding: 10px 18px; background: linear-gradient(125deg, #2589fd, #2255da); color: #fff; font-size: 13px; font-weight: 650; box-shadow: 0 4px 9px #2a64d324; }
.modal[data-kind="agent"] .dialog-header { background: radial-gradient(ellipse at 100% 0, #ffedca, transparent 65%), #fffaf0; }
.modal[data-kind="agent"] .dialog-eyebrow { color: #a78449; }
.modal[data-kind="agent"] .dialog-header h2 { color: #684d22; }
@media (hover: hover) {

  .route-card:hover, .info-card:hover { transform: translateY(-2px); }
  .channel-card:hover { border-color: #96b8f8; }
  .download-button:hover, .support-card:hover .support-button { filter: brightness(1.04); }
}
@media (max-width: 600px) {
  :root { --header-height: calc(123px + env(safe-area-inset-top, 0px)); }
  .header-main { min-height: 78px; padding: 13px 16px; gap: 12px; }
  .brand img { width: min(var(--logo-width, 190px), 158px); }
  .brand-caption strong { font-size: 16px; letter-spacing: .5px; }
  .brand-caption span { font-size: 7px; letter-spacing: .9px; }
  .main-nav { padding: 0 10px; }
  .main-nav a { min-height: 44px; font-size: 15px; }
  .content { padding: 13px 12px 17px; }
  .hero { border-radius: 16px; }
  .notice { gap: 8px; margin: 13px 2px 16px; }
  .notice-label { padding-right: 8px; font-size: 14px; gap: 4px; }
  .notice-label img { width: 17px; height: 17px; }
  .notice p { font-size: 14px; }
  .notice-toggle { width: 44px; height: 44px; flex-basis: 44px; }
  .section { margin-bottom: 14px; }
  .panel { padding: 14px 11px; border-radius: 17px; }
  .section-heading { margin-bottom: 13px; }
  .section-heading h2 { font-size: 20px; gap: 7px; }
  .section-heading h2::before { height: 19px; width: 4px; }
  .section-heading > span { font-size: 14px; }
  .route-grid, .download-grid, .info-grid, .channel-grid, .support-grid { gap: 9px; }
  .route-card { display: grid; grid-template-columns: 32px minmax(0, 1fr) 12px; grid-template-rows: auto auto; padding: 12px 10px; min-height: 94px; gap: 6px 7px; border-radius: 12px; }
  .route-icon { grid-area: 1 / 1; width: 32px; height: 32px; }
  .route-icon img { width: 22px; height: 22px; }
  .route-copy { display: contents; }
  .route-copy strong { grid-area: 1 / 2; font-size: 19px; }
  .route-copy small { grid-column: 1 / -1; grid-row: 2; font-size: 14px; line-height: 1.6; margin: 0; }
  .route-arrow { grid-area: 1 / 3; justify-self: end; font-size: 25px; }
  .download-card { padding: 13px 10px 12px; border-radius: 13px; }
  .app-visual { height: 87px; margin-bottom: 7px; }
  .app-symbol { width: 66px; height: 66px; border-radius: 19px; }
  .app-symbol img { width: 42px; height: 42px; }
  .app-halo { width: 115px; height: 43px; }
  .platform-tag { font-size: 7px; }
  .download-copy h3 { font-size: 17px; }
  .download-copy p { min-height: 3.3em; font-size: 14px; margin: 7px 0 14px; }
  .download-button { font-size: 15px; min-height: 46px; gap: 5px; border-radius: 9px; }
  .download-button img { width: 16px; height: 16px; }
  .info-grid { margin-bottom: 14px; }
  .info-card { display: grid; grid-template-columns: 32px minmax(0, 1fr); min-height: 96px; padding: 13px 10px; gap: 8px; border-radius: 14px; }
  .info-icon { grid-area: 1 / 1; width: 32px; height: 32px; }
  .info-card > span:nth-child(2) { display: contents; }
  .info-card strong { grid-area: 1 / 2; font-size: 17px; }
  .info-card small { grid-column: 1 / -1; grid-row: 2; font-size: 14px; line-height: 1.6; margin: 0; }
  .info-arrow { display: none; }
  .channel-card { padding: 13px 9px; gap: 7px; border-radius: 12px; }
  .channel-icon { width: 32px; height: 32px; flex-basis: 32px; }
  .channel-card strong { font-size: 17px; }
  .channel-card small { font-size: 14px; margin-top: 4px; }
  .external-icon { width: 12px; height: 12px; }
  .support-card { padding: 18px 11px 15px; gap: 9px; border-radius: 14px; }
  .support-icon { width: 53px; height: 53px; }
  .support-copy strong { font-size: 22px; }
  .support-copy small { font-size: 14px; min-height: 3.4em; line-height: 1.7; }
  .support-button { font-size: 15px; min-height: 44px; padding: 8px 9px; gap: 9px; margin-top: 6px; }
  .service-strip { padding-top: 13px; }
  .service-strip strong { font-size: 13px; }
  .service-strip img { width: 26px; height: 26px; }
  .footer { padding-inline: 14px; }
  .footer p { font-size: 13px; }
  .dialog { border-radius: 20px; max-height: 88vh; max-height: 88dvh; }
  .dialog-header { padding: 23px 20px 16px; }
  .dialog-header > img { width: 48px; height: 48px; margin-bottom: 13px; }
  .dialog-header h2 { font-size: 24px; }
  .dialog-header > p:last-child { font-size: 12px; }
  .dialog-body { padding: 2px 20px 17px; }
  #dialogParagraphs p { font-size: 13px; }
  .dialog-footer { padding: 14px 18px; gap: 9px; }
  .primary-button, .quiet-button { font-size: 12px; }
}
@media (max-width: 430px) {
  .channel-card { display: grid; grid-template-columns: 1fr 16px; gap: 9px; padding: 14px 11px; align-items: start; }
  .channel-icon { grid-area: 1 / 1; width: 38px; height: 38px; }
  .channel-card > span { grid-row: 2; grid-column: 1 / -1; }
  .channel-card .external-icon { grid-area: 1 / 2; margin-top: 3px; width: 16px; height: 16px; }
}
@media (max-width: 359px) {
  .header-main { padding-inline: 13px; }
  .brand img { width: min(var(--logo-width, 190px), 137px); }
  .brand-caption strong { font-size: 14px; }
  .brand-caption span { font-size: 6px; letter-spacing: .5px; }
  .content { padding-inline: 9px; }
  .panel { padding-inline: 9px; }
  .route-card { grid-template-columns: 28px minmax(0, 1fr) 10px; padding: 12px 8px; gap: 7px 6px; }
  .route-icon { width: 28px; height: 28px; }
  .route-icon img { width: 19px; height: 19px; }
  .route-copy strong { font-size: 18px; }
  .route-copy small { font-size: 14px; }
  .route-arrow { font-size: 22px; }
  .info-card { grid-template-columns: 28px minmax(0, 1fr); gap: 7px; padding-inline: 8px; }
  .info-icon { width: 28px; height: 28px; }
  .info-card strong { font-size: 17px; }
  .info-card small { font-size: 14px; }
  .channel-card { padding-inline: 10px; }
  .channel-card strong { font-size: 17px; }
  .channel-card small { font-size: 14px; }
  .download-copy h3 { font-size: 16px; }
  .download-button { font-size: 15px; }
  .download-button > span:last-child { display: none; }
  .download-button > img { margin-right: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* V4.4: native, keyboard-accessible iOS accordion; download remains a direct link. */
.ios-install-steps { margin-top: 22px; border: 1px solid #c8d9f5; border-radius: 14px; background: linear-gradient(120deg, #f5f9ff, #ebf2ff); color: #2b456e; }
.ios-install-summary { min-height: 66px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 15px 17px; cursor: pointer; list-style: none; border-radius: 14px; }
.ios-install-summary::-webkit-details-marker { display: none; }
.ios-install-summary::marker { content: ""; }
.ios-summary-title { display: inline-flex; align-items: center; gap: 9px; color: #193f7c; font-size: 20px; line-height: 1.5; font-weight: 800; }
.ios-summary-title > img { flex: 0 0 22px; width: 22px; height: 22px; filter: brightness(0) saturate(100%) invert(25%) sepia(48%) saturate(1402%) hue-rotate(183deg) brightness(91%); }
.ios-summary-action { display: inline-flex; align-items: center; gap: 6px; flex-shrink: 0; padding: 5px 9px; border: 1px solid #ccddf5; border-radius: 8px; background: #ffffffc9; color: #2458a3; font-size: 15px; font-weight: 700; }
.ios-summary-chevron { width: 16px; height: 16px; transform: rotate(90deg); transition: transform .2s ease; }
.ios-label-collapse { display: none; }
.ios-install-steps[open] .ios-label-expand { display: none; }
.ios-install-steps[open] .ios-label-collapse { display: inline; }
.ios-install-steps[open] .ios-summary-chevron { transform: rotate(-90deg); }
.ios-install-content { padding: 17px 18px 20px; border-top: 1px solid #d3e0f5; }
.ios-install-steps ol { margin: 0; padding-left: 26px; font-size: 17px; font-weight: 600; line-height: 1.9; }
.ios-install-steps li { padding-left: 4px; margin: 0 0 12px; overflow-wrap: break-word; }
.ios-install-steps li:last-child { margin-bottom: 0; }
.ios-install-steps li::marker { color: #2366c8; font-weight: 800; }
.ios-install-steps strong { font-weight: 800; color: #244b81; }
.ios-install-steps p { margin: 15px 0 0; color: #45618b; font-size: 15px; line-height: 1.9; font-weight: 600; }
.ios-install-steps a { color: #155ec6; font-weight: 750; text-decoration: underline; text-underline-offset: 3px; }
.chat-noscript { max-width: 780px; margin: 0 auto; padding: 12px; text-align: center; font-size: 13px; color: #42628b; }
.chat-noscript a { text-decoration: underline; }
/* V4.3: readable activity sections and user-supplied institution artwork. */
.dialog { width: min(100%, 600px); }
#dialogParagraphs p { font-size: 16px; line-height: 1.9; }
.activity-section { padding: 17px 16px; margin: 17px 0 0; border: 1px solid #ead8ad; border-radius: 15px; background: linear-gradient(145deg, #fffdf6, #fff9ed); }
.activity-blue { background: linear-gradient(145deg, #f8fcff, #edf5ff); border-color: #cddff8; }
.activity-heading { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; }
.activity-label { display: inline-flex; padding: 4px 8px; border-radius: 6px; background: #f5e3b5; color: #76551a; font-size: 11px; font-weight: 750; }
.activity-blue .activity-label { color: #255eac; background: #dcecff; }
.activity-heading h3 { margin: 0; color: #5f431c; font-size: 20px; line-height: 1.45; font-weight: 800; }
.activity-blue .activity-heading h3 { color: #244e85; }
.activity-lead { font-size: 14px; line-height: 1.8; margin: 12px 0 2px; color: #7f6741; font-weight: 650; }
.activity-blue .activity-lead { color: #55769b; }
.reward-item { padding: 15px 0; border-bottom: 1px solid #e8d9b76e; }
.activity-blue .reward-item { border-bottom-color: #cbdff57a; }
.reward-item:last-child { border-bottom: 0; padding-bottom: 6px; }
.reward-item h4 { margin: 0 0 8px; color: #493c2b; font-size: 17px; line-height: 1.55; font-weight: 800; }
.activity-blue .reward-item h4 { color: #294d7b; }
.reward-item p { margin: 0 0 7px; color: #655d51; font-size: 15px; line-height: 1.9; }
.activity-blue .reward-item p { color: #4b668a; }
.reward-item p:last-child { margin-bottom: 0; }
.reward-item strong { color: #9a5a0c; font-weight: 800; }
.activity-blue .reward-item strong { color: #2262ae; }
.commission-rates { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 11px; }
.commission-rate { padding: 10px 6px; border: 1px solid #efdbaf; border-radius: 10px; background: #fffefa; text-align: center; }
.commission-rate span { display: block; color: #8b7554; font-size: 12px; }
.commission-rate strong { display: block; font-size: 22px; font-weight: 800; line-height: 1.4; margin-top: 4px; }
.activity-closing { margin: 13px 0 0; padding-top: 12px; border-top: 1px solid #e5d6b9; color: #7e6030; font-size: 14px; font-weight: 750; line-height: 1.85; }
.activity-blue .activity-closing { border-top-color: #cbdff5; color: #315f95; }
.activity-note { font-size: 13px; line-height: 1.85; color: #69809d; margin: 10px 0 0; }
.dialog-credentials { margin: 24px 0 0; padding-top: 19px; border-top: 1px solid #dce6f7; }
.dialog-credentials h3 { margin: 0 0 8px; color: #214479; font-size: 20px; line-height: 1.45; font-weight: 800; }
.credential-intro { margin: 0 0 14px; color: #617898; font-size: 14px; line-height: 1.8; }
.credential-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.credential-card { margin: 0; min-width: 0; border: 1px solid #d9e3f4; border-radius: 13px; overflow: hidden; background: #f6f9ff; }
.credential-visual { min-height: 106px; padding: 16px 12px; background: #281355; display: flex; align-items: center; justify-content: center; }
.license-crop { position: relative; overflow: hidden; width: min(100%, 312px); background: #281355; }
.license-crop img { position: absolute; display: block; width: 148.076923%; max-width: none; height: auto; left: -17.948718%; }
.license-crop--bvi { aspect-ratio: 312 / 80; }
.license-crop--bvi img { top: -17.5%; }
.license-crop--mga { aspect-ratio: 312 / 64; }
.license-crop--mga img { top: -279.6875%; }
.credential-card figcaption { padding: 13px 12px; }
.credential-card figcaption strong { display: block; font-size: 14px; line-height: 1.7; color: #354f77; }
.credential-card figcaption span { display: block; font-size: 11px; line-height: 1.75; color: #7285a4; margin-top: 5px; overflow-wrap: anywhere; }
.credential-afterword { margin: 17px 0 0; font-size: 15px; line-height: 1.9; color: #4c6385; }
.credential-source-note { margin: 13px 0 0; font-size: 12px; line-height: 1.85; color: #7788a2; }
.dialog-closing { margin: 20px 0 0; padding: 14px 16px; border-radius: 12px; background: #edf4ff; color: #315d97; font-size: 15px; line-height: 1.8; font-weight: 750; }
.primary-button > img { flex: 0 0 22px; width: 22px; height: 22px; }
@media (max-width: 600px) {
  .ios-install-steps { margin-top: 18px; }
  .ios-install-summary { min-height: 64px; padding: 14px 12px; gap: 8px; }
  .ios-summary-title { font-size: 18px; gap: 7px; }
  .ios-summary-title > img { width: 19px; height: 19px; flex-basis: 19px; }
  .ios-summary-action { font-size: 14px; padding: 4px 7px; }
  .ios-install-content { padding: 14px 12px 17px; }
  .ios-install-steps ol { font-size: 16px; padding-left: 22px; line-height: 1.9; }
  .ios-install-steps li { padding-left: 2px; margin-bottom: 13px; }
  .ios-install-steps p { font-size: 15px; line-height: 1.85; }
  #dialogParagraphs p { font-size: 15px; line-height: 1.9; }
  .activity-section { padding: 15px 12px; border-radius: 13px; }
  .activity-heading { gap: 8px; }
  .activity-heading h3 { font-size: 18px; }
  .activity-label { padding: 3px 6px; font-size: 10px; }
  .activity-lead { font-size: 13px; }
  .reward-item { padding: 14px 0; }
  .reward-item h4 { font-size: 16px; }
  .reward-item p { font-size: 15px; }
  .commission-rates { gap: 6px; }
  .commission-rate { padding: 9px 3px; }
  .commission-rate strong { font-size: 20px; }
  .activity-closing { font-size: 14px; }
  .credential-gallery { grid-template-columns: 1fr; }
  .dialog-credentials h3 { font-size: 19px; }
  .credential-visual { min-height: 106px; padding: 18px 14px; }
  .credential-card figcaption { padding: 12px 14px; }
  .credential-card figcaption strong { font-size: 15px; }
  .credential-card figcaption span { font-size: 12px; }
  .credential-source-note { font-size: 12px; }
  .dialog-closing { font-size: 14px; }
}


/* Mobile: keep the full 260px carousel and display the complete artwork. */
@media (max-width: 480px) {
  .carousel-bar { padding-inline: 8px; }
  .dots button { width: 24px; }
  .dots button::after { left: 9px; }
  .dots button[aria-current="true"]::after { width: 18px; left: 3px; }
  .carousel-actions { gap: 0; }
  .notice { padding: 6px 8px; }
}

/* V4.8 EN: accommodate longer English labels without clipping or page overflow. */
.brand-caption strong { font-size: 18px; letter-spacing: 0; }
.route-copy, .info-card > span, .channel-card > span, .support-copy { overflow-wrap: break-word; }
.dialog-footer { flex-wrap: wrap; }
.primary-button { text-align: center; gap: 8px; }
.activity-label, .commission-rate span { font-size: 14px; }
.activity-lead, .reward-item p, #dialogParagraphs p { font-size: 16px; }
@media (max-width: 600px) {
  .brand-caption strong { font-size: 14px; }
  .brand-caption span { font-size: 8px; letter-spacing: .4px; }
  .support-copy strong { font-size: 21px; letter-spacing: 0; }
  .info-card { flex-wrap: wrap; }
  .info-card strong { font-size: 18px; }
  .ios-summary-title { font-size: 17px; }
  .download-button { gap: 5px; padding-inline: 6px; font-size: 14px; }
  .download-button > img { width: 16px; height: 16px; }
}
@media (max-width: 380px) {
  .header-main { gap: 10px; }
  .brand-caption { max-width: 125px; }
  .brand-caption strong { font-size: 13px; }
  .brand-caption span { font-size: 7px; }
  .download-button > img { display: none; }
  .info-card, .channel-card { gap: 7px; }
  .info-card small, .channel-card small, .route-copy small { font-size: 14px; }
  .support-card { padding-inline: 10px; }
  .support-copy strong { font-size: 19px; }
  .support-button { font-size: 15px; gap: 5px; }
  .dialog-footer { gap: 8px; padding-inline: 12px; }
  .primary-button, .quiet-button { padding-inline: 10px; }
}
