/* _content/ouroboros/Components/PrLink/PrLinkView.razor.rz.scp.css */
.miniapp-landing[b-wp8ogqjthd] { color: var(--secondary-0, #0e1c34); font-family: Anuphan, sans-serif; font-size: var(--font-size-body-l); line-height: var(--line-height-body-l); min-height: 0; flex: 1; overflow-wrap: anywhere; background: var(--primary-99); }
.miniapp-landing[b-wp8ogqjthd], .miniapp-landing *[b-wp8ogqjthd] { box-sizing: border-box; }
.miniapp-landing section[b-wp8ogqjthd] { min-height: 0; }
.miniapp-landing h1[b-wp8ogqjthd],.miniapp-landing h2[b-wp8ogqjthd],.miniapp-landing p[b-wp8ogqjthd] { color: inherit; }
.landing-content[b-wp8ogqjthd] { display: grid; grid-template-columns: minmax(0,1fr); max-width: 1024px; margin: auto; }
.service-content[b-wp8ogqjthd] { min-width: 0; padding: var(--spacing-3xl) var(--spacing-xl); background: white; }
.service-identity[b-wp8ogqjthd] { display: flex; flex-direction: column; align-items: flex-start; gap: var(--spacing-xl); }
.service-heading[b-wp8ogqjthd] { min-width: 0; }
.service-logo[b-wp8ogqjthd] { width: 112px; height: 112px; max-width: 100%; object-fit: contain; background: white; border-radius: var(--radius-2xl); }
.service-category[b-wp8ogqjthd] { display: inline-block; max-width: 100%; padding: var(--spacing-xs) var(--spacing-lg); border-radius: var(--radius-full); background: var(--primary-90); color: var(--primary-20); font-size: var(--font-size-label-m); line-height: var(--line-height-label-m); font-weight: var(--font-weight-400); }
.miniapp-landing .service-title[b-wp8ogqjthd] { font-size: var(--font-size-headline-s); line-height: var(--line-height-headline-s); font-weight: var(--font-weight-700); margin: var(--spacing-md) 0 0; }
.service-heading > .service-title:first-child[b-wp8ogqjthd] { margin-top: 0; }
.miniapp-landing .service-description[b-wp8ogqjthd] { font-size: var(--font-size-body-l); line-height: var(--line-height-body-l); margin: var(--spacing-md) 0 0; color: var(--secondary-20); }
.action-group[b-wp8ogqjthd] { display: flex; flex-direction: column; gap: var(--spacing-xl); margin-top: var(--spacing-3xl); }
.primary-button[b-wp8ogqjthd],.secondary-button[b-wp8ogqjthd] { display: inline-flex; align-items: center; justify-content: center; gap: var(--spacing-md); min-height: 56px; width: 100%; padding: var(--spacing-lg) var(--spacing-3xl); border-radius: var(--radius-full); font: inherit; text-align: center; text-decoration: none; cursor: pointer; white-space: normal; }
.primary-button[b-wp8ogqjthd] { color: white; background: var(--primary-30-base); border: 1px solid var(--primary-30-base); }
.primary-button:hover[b-wp8ogqjthd] { color: white; background: var(--primary-20); }
.secondary-button[b-wp8ogqjthd] { background: white; color: inherit; border: 1px solid var(--neutral-90); }
.secondary-button:hover:not(:disabled)[b-wp8ogqjthd] { background: var(--primary-95); }
.primary-button.is-inactive[b-wp8ogqjthd],.primary-button[aria-disabled="true"][b-wp8ogqjthd],.secondary-button:disabled[b-wp8ogqjthd] { background: var(--neutral-94); color: var(--neutral-60); border-color: var(--neutral-94); cursor: not-allowed; }
.miniapp-landing :is(a,button,summary):focus-visible[b-wp8ogqjthd] { outline: 3px solid var(--primary-20); outline-offset: 4px; }
.miniapp-landing .service-status[b-wp8ogqjthd] { margin: var(--spacing-lg) 0 0; color: var(--neutral-60); font-size: var(--font-size-body-m); }
.handoff-panel[b-wp8ogqjthd] { display: contents; }
.qr-section[b-wp8ogqjthd] { display: none; }
.download-section[b-wp8ogqjthd] { padding: var(--spacing-3xl) var(--spacing-xl); background: white; border-top: var(--spacing-xl) solid var(--primary-99); }
.miniapp-landing .download-section h2[b-wp8ogqjthd] { font-size: var(--font-size-title-l); line-height: var(--line-height-title-l); font-weight: var(--font-weight-700); margin: 0; }
.miniapp-landing .download-section p[b-wp8ogqjthd] { margin: var(--spacing-xs) 0 var(--spacing-xl); color: var(--secondary-20); }
.store-buttons[b-wp8ogqjthd] { display: flex; align-items: center; flex-wrap: wrap; gap: var(--spacing-md); }
.store-link[b-wp8ogqjthd] { display: inline-flex; align-items: center; min-height: 48px; max-width: 100%; }
.store-link img[b-wp8ogqjthd] { display: block; width: auto; max-width: 100%; height: 40px; }
.device-art[b-wp8ogqjthd] { height: 240px; overflow: hidden; background: radial-gradient(ellipse at bottom left,var(--primary-90),transparent 65%),var(--primary-99); text-align: center; padding-top: var(--spacing-3xl); }
.device-art img[b-wp8ogqjthd] { width: 180px; height: auto; transform: rotate(-8deg); }
.sr-only[b-wp8ogqjthd] { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.landing-skeleton[b-wp8ogqjthd] { display: grid; gap: var(--spacing-xl); }
.skeleton-icon[b-wp8ogqjthd],.skeleton-line[b-wp8ogqjthd] { background: var(--neutral-92); border-radius: var(--radius-xl); }
.skeleton-icon[b-wp8ogqjthd] { width: 80px; height: 80px; }
.skeleton-line[b-wp8ogqjthd] { width: 100%; height: 24px; }
.skeleton-line.short[b-wp8ogqjthd] { width: 60%; }

@media (min-width: 640px) {
 .miniapp-landing[b-wp8ogqjthd] { background: radial-gradient(ellipse at bottom right,var(--primary-90),transparent 65%),var(--primary-99); }
 .landing-content[b-wp8ogqjthd] { padding: var(--spacing-4xl); gap: var(--spacing-4xl); }
 .service-content[b-wp8ogqjthd] { padding: 0; background: transparent; }
 .service-identity[b-wp8ogqjthd] { flex-direction: row; align-items: center; gap: var(--spacing-3xl); }
 .service-logo[b-wp8ogqjthd] { width: 144px; height: 144px; flex-shrink: 0; }
 .action-group[b-wp8ogqjthd] { flex-direction: row; flex-wrap: wrap; }
 .primary-button[b-wp8ogqjthd] { width: auto; flex: 1 1 240px; }
 .secondary-button[b-wp8ogqjthd] { width: auto; flex: 1 1 160px; }
 .handoff-panel[b-wp8ogqjthd] { display: block; background: white; padding: var(--spacing-3xl); border-radius: var(--radius-2xl); width: 100%; max-width: 360px; justify-self: center; }
 .qr-section[b-wp8ogqjthd] { display: block; text-align: center; }
 .miniapp-landing .qr-section h2[b-wp8ogqjthd] { font-size: var(--font-size-title-l); line-height: var(--line-height-title-l); margin: 0 0 var(--spacing-xl); color: var(--primary-20); }

 /* Keep the visible code and its white margin independent of the URL's module count.
    Padding reserves at least four modules even for the smallest QR (21 x 21). */
 .qr-image[b-wp8ogqjthd] { display: block; width: 210px; max-width: 100%; height: auto; padding: 29px; background: white; margin: auto; }

 .miniapp-landing .qr-section p[b-wp8ogqjthd] { margin: var(--spacing-xl) 0; font-size: var(--font-size-body-m); }
 .download-section[b-wp8ogqjthd] { border: 0; padding: 0; }
 .download-heading[b-wp8ogqjthd] { display: none; }
 .store-buttons[b-wp8ogqjthd] { justify-content: center; }
 .handoff-panel.without-qr .download-heading[b-wp8ogqjthd] { display: block; }
 .device-art[b-wp8ogqjthd] { display: none; }
}

@media (min-width: 1024px) {
 .landing-content[b-wp8ogqjthd] { grid-template-columns: minmax(0,1fr) 300px; gap: var(--spacing-4xl); align-items: center; padding-block: var(--spacing-6xl); }
 .miniapp-landing .service-title[b-wp8ogqjthd] { font-size: var(--font-size-display-s); line-height: var(--line-height-display-s); }
 .qr-image[b-wp8ogqjthd] { width: 264px; padding: 37px; }
 .handoff-panel[b-wp8ogqjthd] { padding: var(--spacing-xl); }
}

.miniapp-landing .service-title:focus[b-wp8ogqjthd] { outline: none; }

.service-content[b-wp8ogqjthd] { position: relative; }
.copy-toast[b-wp8ogqjthd] { position: absolute; bottom: var(--spacing-xl); right: var(--spacing-xl); padding: var(--spacing-md) var(--spacing-lg); border-radius: var(--radius-md); background: var(--neutral-30); color: var(--neutral-100); box-shadow: var(--shadow-custom); font-size: var(--font-size-body-m); pointer-events: none; }
.primary-button.is-loading[b-wp8ogqjthd] { color: var(--primary-20); background: var(--primary-90); border-color: var(--primary-90); cursor: wait; }
.action-spinner[b-wp8ogqjthd] { width: 18px; height: 18px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: action-spin-b-wp8ogqjthd .8s linear infinite; }

@keyframes action-spin-b-wp8ogqjthd {
 to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
 .action-spinner[b-wp8ogqjthd] { animation: none; }
}

/* V2 missing-service view: a single centered column with direct store links. */
.miniapp-landing.is-generic[b-wp8ogqjthd] {
 display: flex;
 flex-direction: column;
 background: radial-gradient(ellipse at bottom, #e5f8ed 0, transparent 65%), #f7fdfa;
}

.is-generic .not-found-content[b-wp8ogqjthd] {
 display: flex;
 flex: 0 0 auto;
 flex-direction: column;
 justify-content: center;
 align-items: center;
 width: 100%;
 max-width: 900px;
 margin: 0 auto;
 gap: 20px;
 padding: 20px 24px;
 text-align: center;
}

.is-generic .service-content[b-wp8ogqjthd] { width: 100%; padding: 0; background: transparent; }
.is-generic .not-found-identity[b-wp8ogqjthd] { flex-direction: column; align-items: center; gap: 16px; }

.is-generic .not-found-identity .service-logo[b-wp8ogqjthd] {
 width: 280px;
 height: auto;
 max-width: 100%;
 background: transparent;
 border-radius: 0;
}

.is-generic .service-title[b-wp8ogqjthd] { margin: 0; font-size: 48px; line-height: 1.35; }
.is-generic .service-description[b-wp8ogqjthd] { margin-top: 16px; font-size: 20px; line-height: 1.8; text-wrap: pretty; }
.is-generic .handoff-panel[b-wp8ogqjthd] { display: block; width: 100%; max-width: none; padding: 0; background: transparent; border-radius: 0; }
.is-generic .download-section[b-wp8ogqjthd] { padding: 0; border: 0; background: transparent; }
.is-generic .download-section[b-wp8ogqjthd]::before { content: ""; display: block; width: min(100%, 360px); height: 1px; margin: 0 auto 16px; background: #dcece3; }
.is-generic .download-heading[b-wp8ogqjthd] { display: block; }
.is-generic .download-section h2[b-wp8ogqjthd] { margin: 0 0 16px; font-size: 20px; line-height: 1.5; font-weight: 600; }
.is-generic .store-buttons[b-wp8ogqjthd] { justify-content: center; gap: 12px; }
.is-generic .store-link[b-wp8ogqjthd] { transition: opacity .15s ease; }
.is-generic .store-link:hover[b-wp8ogqjthd] { opacity: .8; }
.is-generic .store-link img[b-wp8ogqjthd] { height: 44px; }

@media (max-width: 639px) {
 .store-buttons[b-wp8ogqjthd] { justify-content: center; }
 .is-generic .not-found-content[b-wp8ogqjthd] { gap: 16px; padding: 16px 20px; }
 .is-generic .not-found-identity[b-wp8ogqjthd] { gap: 20px; }
 .is-generic .not-found-identity .service-logo[b-wp8ogqjthd] { width: 250px; }
 .is-generic .service-title[b-wp8ogqjthd] { font-size: 28px; }
 .is-generic .service-description[b-wp8ogqjthd] { margin-top: 12px; font-size: 16px; line-height: 1.8; }
 .is-generic .download-section h2[b-wp8ogqjthd] { font-size: 18px; }
 .is-generic .store-buttons[b-wp8ogqjthd] { max-width: 330px; margin: auto; gap: 8px 12px; }
 .is-generic .store-link img[b-wp8ogqjthd] { height: 40px; }
}

/* Fit the missing-service content to the viewport while keeping natural overflow
   available on very short screens and when users enlarge their text. */
.is-generic .not-found-content[b-wp8ogqjthd] {
 gap: clamp(12px, 2dvh, 20px);
 padding-block: clamp(12px, 2dvh, 20px);
}

.is-generic .not-found-identity[b-wp8ogqjthd] { gap: clamp(8px, 1.5dvh, 16px); }

.is-generic .not-found-identity .service-logo[b-wp8ogqjthd] {
 width: clamp(64px, calc(100dvh - 540px), 280px);
}

.is-generic .download-section[b-wp8ogqjthd]::before { margin-bottom: clamp(8px, 1.5dvh, 16px); }
.is-generic .download-section h2[b-wp8ogqjthd] { margin-bottom: clamp(8px, 1.5dvh, 16px); }

@media (max-width: 639px) {
 .is-generic .not-found-content[b-wp8ogqjthd] { gap: clamp(8px, 1.5dvh, 16px); padding-block: clamp(8px, 1.5dvh, 16px); }
 .is-generic .not-found-identity[b-wp8ogqjthd] { gap: clamp(8px, 1dvh, 12px); }
 .is-generic .not-found-identity .service-logo[b-wp8ogqjthd] { width: clamp(64px, calc(100dvh - 560px), 250px); }
}

@media (max-height: 740px) {
 .is-generic .service-title[b-wp8ogqjthd] { font-size: 32px; }
 .is-generic .service-description[b-wp8ogqjthd] { margin-top: 8px; font-size: 18px; line-height: 1.6; }
}

@media (max-width: 639px) and (max-height: 740px) {
 .is-generic .service-title[b-wp8ogqjthd] { font-size: 26px; }
 .is-generic .service-description[b-wp8ogqjthd] { font-size: 15px; }
 .is-generic .download-section h2[b-wp8ogqjthd] { font-size: 16px; }
}

/* Start service details near the top; allow longer descriptions to grow naturally. */
.is-service .landing-content[b-wp8ogqjthd] { width: 100%; max-width: 1200px; margin: 0 auto; align-items: start; }
.is-service .device-art[b-wp8ogqjthd] { display: none; }
.is-service .service-description[b-wp8ogqjthd] { white-space: pre-line; }

@media (min-width: 640px) {
 .is-service .landing-content[b-wp8ogqjthd] { grid-template-columns: minmax(0, 1fr) 280px; gap: 32px; padding: clamp(24px, 4dvh, 48px) 32px; }
 .is-service .service-identity[b-wp8ogqjthd] { align-items: flex-start; }
 .is-service .handoff-panel[b-wp8ogqjthd] { max-width: 280px; padding: 20px; }
 .is-service .qr-image[b-wp8ogqjthd] { width: 220px; padding: 30px; }
 .is-service .qr-section h2[b-wp8ogqjthd] { font-size: 20px; line-height: 1.5; margin-bottom: 16px; }
 .is-service .qr-section p[b-wp8ogqjthd] { margin: 16px 0; font-size: 16px; line-height: 1.5; }
 .is-service .store-buttons[b-wp8ogqjthd] { gap: 8px; }
 .is-service .store-link img[b-wp8ogqjthd] { height: 36px; }
 .is-service .action-group[b-wp8ogqjthd] { gap: 12px; margin-top: 24px; }
}

@media (min-width: 640px) and (max-width: 1023px) {
 .is-service .landing-content[b-wp8ogqjthd] { gap: 24px; padding-inline: 24px; }
 .is-service .service-identity[b-wp8ogqjthd] { flex-direction: column; gap: 16px; }
 .is-service .service-logo[b-wp8ogqjthd] { width: 112px; height: 112px; }
}

@media (max-width: 639px) {
 .is-service .service-content[b-wp8ogqjthd] { padding: 20px 16px 16px; }
 .is-service .service-identity[b-wp8ogqjthd] { flex-direction: row; align-items: flex-start; gap: 16px; }
 .is-service .service-logo[b-wp8ogqjthd] { flex-shrink: 0; width: 112px; height: 112px; }
 .is-service .service-title[b-wp8ogqjthd] { font-size: 26px; line-height: 1.4; }
 .is-service .service-description[b-wp8ogqjthd] { margin-top: 8px; font-size: 16px; line-height: 1.6; }
 .is-service .action-group[b-wp8ogqjthd] { gap: 8px; margin-top: 16px; }
 .is-service .primary-button[b-wp8ogqjthd], .is-service .secondary-button[b-wp8ogqjthd] { min-height: 48px; padding: 10px 16px; font-size: 16px; line-height: 1.5; }
 .is-service .download-section[b-wp8ogqjthd] { padding: 16px; border-top-width: 8px; }
 .is-service .download-section h2[b-wp8ogqjthd] { font-size: 18px; line-height: 1.5; }
 .is-service .download-section p[b-wp8ogqjthd] { margin: 4px 0 8px; font-size: 15px; line-height: 1.5; }
 .is-service .store-buttons[b-wp8ogqjthd] { flex-wrap: nowrap; gap: 8px; }
 .is-service .store-link[b-wp8ogqjthd] { min-width: 0; min-height: 44px; }
 .is-service .store-link img[b-wp8ogqjthd] { height: auto; max-height: 36px; width: 100%; }
}

@media (max-width: 639px) and (max-height: 740px) {
 .is-service .service-content[b-wp8ogqjthd] { padding-top: 16px; }
 .is-service .service-logo[b-wp8ogqjthd] { width: 72px; height: 72px; }
 .is-service .service-title[b-wp8ogqjthd] { font-size: 22px; }
 .is-service .service-description[b-wp8ogqjthd] { font-size: 15px; }
 .is-service .primary-button[b-wp8ogqjthd], .is-service .secondary-button[b-wp8ogqjthd] { min-height: 44px; padding-block: 8px; }
 .is-service .download-section[b-wp8ogqjthd] { padding-block: 12px; }
}
/* _content/ouroboros/Components/Shared/DgaFooter.razor.rz.scp.css */
/* Shared footer for both service and missing-service views. */
.dga-footer[b-q8iet8b5re] { box-sizing: border-box; width: 100%; padding: 20px 24px; border-top: 1px solid #dcece3; background: #9bfdd440; color: #06402d; font-family: Anuphan, sans-serif; font-size: 16px; line-height: 24px; text-align: left; }
.footer-details[b-q8iet8b5re] { display: flex; align-items: center; justify-content: center; gap: 12px; max-width: 1120px; margin: 0 auto; }
.image-dga[b-q8iet8b5re] { display: block; flex-shrink: 0; height: 40px; width: auto; max-width: 100%; margin: 0; padding: 0; }
.footer-contacts[b-q8iet8b5re] { min-width: 0; }
.footer-contact[b-q8iet8b5re] { margin: 0; font-weight: 600; font-size: 14px; line-height: 22px; color: inherit; overflow-wrap: anywhere; }
.footer-copyright[b-q8iet8b5re] { padding-top: 10px; font-weight: 400; font-size: 12px; line-height: 18px; text-align: center; overflow-wrap: anywhere; }

@media (max-width: 639px) {
 .dga-footer[b-q8iet8b5re] { padding: 16px; }
 .footer-contact[b-q8iet8b5re] { font-size: 13px; line-height: 22px; }
 .footer-copyright[b-q8iet8b5re] { font-size: 11px; line-height: 18px; }
}
/* _content/ouroboros/Components/Shared/PortalFrame.razor.rz.scp.css */
.portal-page[b-d1rz3x8wu8] { display: flex; flex-direction: column; min-height: 100vh; min-height: 100dvh; color: #0e1c34; font-family: Anuphan, sans-serif; }
.portal-body[b-d1rz3x8wu8] { display: flex; flex-direction: column; flex: 1; min-width: 0; }
/* _content/ouroboros/Components/Shared/PortalHeader.razor.rz.scp.css */
/* Independent of landing-page tokens so any portal page can reuse this header. */
.landing-header[b-0ddt2a6sov] { box-sizing: border-box; display: flex; align-items: center; gap: 8px; width: 100%; padding: 16px; background: white; border-bottom: 1px solid #edf3ef; color: #0e1c34; font-family: Anuphan, sans-serif; font-size: 16px; line-height: 24px; }
.landing-header *[b-0ddt2a6sov] { box-sizing: border-box; }
.brand[b-0ddt2a6sov] { display: flex; align-items: center; gap: 8px; color: #008858; font-size: 32px; line-height: 1.25; font-weight: 700; margin-right: auto; }
.brand img[b-0ddt2a6sov] { display: block; width: 48px; height: 48px; flex-shrink: 0; }
.header-action[b-0ddt2a6sov] { display: inline-flex; align-items: center; justify-content: center; width: 48px; min-height: 48px; background: transparent; border: 0; color: inherit; font-size: 24px; cursor: pointer; }
.header-menu[b-0ddt2a6sov] { position: relative; }
.header-menu summary[b-0ddt2a6sov] { list-style: none; }
.header-menu summary[b-0ddt2a6sov]::-webkit-details-marker { display: none; }
.header-menu a[b-0ddt2a6sov] { position: absolute; right: 0; min-width: 160px; padding: 16px; background: white; border: 1px solid #dde0e2; border-radius: 12px; z-index: 1; color: inherit; }
.landing-header :is(a,button,summary):focus-visible[b-0ddt2a6sov] { outline: 3px solid #006643; outline-offset: 4px; }

@media (min-width: 640px) {
 .landing-header[b-0ddt2a6sov] { padding: 24px max(24px, calc((100% - 1120px) / 2)); }
 .share-action[b-0ddt2a6sov],.header-menu[b-0ddt2a6sov] { display: none; }
}

@media (max-width: 639px) {
 .brand > span[b-0ddt2a6sov] { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
}
/* _content/ouroboros/Shared/MainLayout.razor.rz.scp.css */
