:root {
  --paper: #fbfaf4;
  --surface: #ffffff;
  --ink: #0c1735;
  --muted: #5e6680;
  --line: #dfe3ea;
  --blue: #1456ff;
  --blue-dark: #0635c9;
  --lime: #c8ff18;
  --coral: #ff654d;
  --purple: #9a6cff;
  --sky: #55c7ff;
  --mint: #42d5b1;
  --yellow: #ffd83d;
  --shadow: 0 14px 30px rgba(20, 38, 82, .1);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-width: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 6%, rgba(85, 199, 255, .14), transparent 24rem),
    radial-gradient(circle at 90% 18%, rgba(200, 255, 24, .13), transparent 22rem),
    var(--paper);
  font-family: "Anuphan", sans-serif;
  line-height: 1.55;
}
body.dark {
  --paper: #0a1024;
  --surface: #111a34;
  --ink: #f8f9ff;
  --muted: #abb4cd;
  --line: #293453;
  --shadow: 0 16px 34px rgba(0, 0, 0, .24);
  background:
    radial-gradient(circle at 8% 6%, rgba(20, 86, 255, .2), transparent 24rem),
    radial-gradient(circle at 90% 18%, rgba(200, 255, 24, .1), transparent 22rem),
    var(--paper);
}

a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
img, svg, video, canvas { max-width: 100%; }
.shell { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.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; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid color-mix(in srgb, var(--line) 78%, transparent);
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(18px);
}
.nav-shell { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 9px; font-weight: 700; white-space: nowrap; }
.brand-lockup { width: 184px; height: auto; display: block; filter: drop-shadow(0 5px 5px rgba(78,52,190,.16)); transition: transform .25s ease, filter .25s ease; animation: brand-pop .55s cubic-bezier(.2,.9,.25,1.25) both; }
.brand:hover .brand-lockup { transform: translateY(-1px) rotate(-1deg) scale(1.02); filter: drop-shadow(0 7px 7px rgba(211,49,120,.2)); }
.brand-footer .brand-lockup { width: 196px; padding: 4px 9px; border-radius: 14px; background: rgba(255,255,255,.96); }
.brand-logo { width: 40px; height: 40px; display: block; filter: drop-shadow(-2px 1px 0 #25f4ee) drop-shadow(2px 0 0 #fe2c55) drop-shadow(0 6px 5px rgba(7,27,77,.18)); transition: transform .25s ease; animation: brand-pop .55s cubic-bezier(.2,.9,.25,1.25) both; }
.brand:hover .brand-logo { transform: rotate(-4deg) scale(1.04); }
.brand-wordmark { display: inline-flex; align-items: center; font-family: "Chakra Petch", "Anuphan", sans-serif; font-size: 1.42rem; font-weight: 700; line-height: 1; letter-spacing: -.055em; }
.brand-wordmark b { color: var(--ink); text-shadow: -1px 0 #25f4ee, 1px 0 #fe2c55; }
.brand-wordmark strong { margin-left: 3px; padding: 4px 8px 3px; border-radius: 8px; color: white; background: #08132d; font-size: .78em; font-style: normal; letter-spacing: -.04em; transform: rotate(-2deg); box-shadow: -3px 0 #25f4ee, 3px 0 #fe2c55, 0 5px 0 rgba(8,19,45,.12); }
.brand-wordmark small { margin-left: 6px; color: var(--muted); font: 700 .43em/1 "Anuphan", sans-serif; letter-spacing: .02em; }
.brand-footer .brand-wordmark b { color: white; }
.brand-footer .brand-wordmark small { color: #aebbe0; }
.desktop-nav { display: flex; align-items: center; gap: 28px; color: var(--muted); font-weight: 600; font-size: .9rem; }
.desktop-nav a, .desktop-nav .nav-contact-button, .mobile-nav a, .mobile-nav .nav-contact-button { transition: color .2s ease; }
.desktop-nav a:hover, .desktop-nav .nav-contact-button:hover, .mobile-nav a:hover, .mobile-nav .nav-contact-button:hover { color: var(--blue); }
.desktop-nav .direct-nav { min-height: 38px; padding: 7px 10px; display: inline-flex; align-items: center; gap: 6px; border: 1px solid rgba(106,73,255,.24); border-radius: 999px; color: white; background: linear-gradient(120deg, #135dff 0%, #6439ee 58%, #ff476f 125%); box-shadow: 0 8px 20px rgba(82,55,220,.22), inset 0 1px rgba(255,255,255,.3); position: relative; overflow: hidden; }
.desktop-nav .direct-nav::after { content: ""; width: 50%; height: 180%; position: absolute; inset: -45% auto auto -70%; transform: rotate(22deg); background: linear-gradient(90deg, transparent, rgba(255,255,255,.5), transparent); animation: direct-nav-shine 4.8s ease-in-out infinite; }
.desktop-nav .direct-nav:hover { color: white; transform: translateY(-1px); }
.direct-nav svg { width: 16px; height: 16px; }
.direct-nav b { padding: 2px 6px; border-radius: 999px; color: #172148; background: #caff26; font-size: .62rem; line-height: 1.25; box-shadow: 0 0 0 2px rgba(255,255,255,.18); }
.mobile-nav .direct-nav { margin: 5px 0 8px; padding: 11px 12px; display: flex; gap: 10px; align-items: center; border: 1px solid rgba(106,73,255,.22); border-radius: 15px; color: white; background: linear-gradient(120deg, #135dff, #6538ef 65%, #ff4c78); box-shadow: 0 9px 20px rgba(82,55,220,.18); }
.mobile-nav .direct-nav:hover { color: white; }
.mobile-nav .direct-nav span { display: grid; gap: 1px; margin-right: auto; }
.mobile-nav .direct-nav small { color: rgba(255,255,255,.8); font-size: .67rem; font-weight: 500; }
@keyframes direct-nav-shine { 0%, 72% { left: -70%; } 100% { left: 135%; } }
.nav-contact-button { padding: 0; border: 0; color: inherit; background: transparent; font-weight: inherit; cursor: pointer; }
.desktop-nav .line-nav, .mobile-nav .line-nav { color: #0a9d4a; font-weight: 700; }
.line-nav::before { content: ""; width: 7px; height: 7px; margin-right: 6px; border-radius: 50%; display: inline-block; background: #20c968; box-shadow: 0 0 0 3px rgba(32,201,104,.14); vertical-align: 1px; }
.nav-actions { display: flex; align-items: center; gap: 8px; }

.language-button {
  min-width: 82px;
  height: 40px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--navy);
  background: color-mix(in srgb, var(--surface) 91%, #dbe6ff);
  box-shadow: 0 8px 22px rgba(12, 36, 86, .08), inset 0 1px rgba(255, 255, 255, .8);
  font: 700 12px/1 "Chakra Petch", "Anuphan", sans-serif;
  cursor: pointer;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.language-button:hover {
  transform: translateY(-1px);
  border-color: #7b61ff;
  box-shadow: 0 10px 25px rgba(74, 48, 190, .15), inset 0 1px rgba(255, 255, 255, .85);
}
.language-button-current { color: #1456ff; }
.language-button-next { color: var(--muted); }
.language-button-divider { width: 1px; height: 14px; background: var(--line); }
.dark .language-button {
  color: #fff;
  background: rgba(255, 255, 255, .08);
  box-shadow: 0 8px 22px rgba(0, 0, 0, .2), inset 0 1px rgba(255, 255, 255, .08);
}
.dark .language-button-current { color: #9db5ff; }
.promo-link { min-height: 40px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; display: inline-flex; align-items: center; gap: 7px; background: var(--surface); font-size: .85rem; font-weight: 700; }
.promo-link svg { width: 16px; color: #ff9b19; fill: currentColor; }
.icon-button { width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 50%; display: grid; place-items: center; background: var(--surface); cursor: pointer; }
.icon-button svg { width: 18px; }
.mobile-menu-button { display: none; }
.mobile-nav { padding: 8px 20px 18px; border-top: 1px solid var(--line); background: var(--paper); }
.mobile-nav a, .mobile-nav .nav-contact-button { width: 100%; display: block; padding: 12px 0; text-align: left; font-weight: 600; }

.hero { position: relative; min-height: 540px; padding: 92px 160px 40px; overflow: hidden; text-align: center; display: flex; flex-direction: column; align-items: center; }
.hero > :not(.hero-art-piece) { position: relative; z-index: 1; }
.hero-art-piece { position: absolute; z-index: 0; width: 190px; height: 176px; object-fit: contain; pointer-events: none; user-select: none; }
.hero-art-image { top: 46px; left: -12px; transform: rotate(-5deg); }
.hero-art-lightning { top: 44px; right: -12px; transform: rotate(5deg); }
.hero-art-pdf { top: 238px; left: -28px; width: 176px; transform: rotate(4deg); }
.hero-art-scissors { top: 238px; right: -28px; width: 176px; transform: rotate(-4deg); }
.eyebrow, .section-kicker { margin: 0 0 8px; color: var(--blue); font-size: .76rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.eyebrow { display: flex; align-items: center; gap: 10px; color: var(--muted); }
.hero .eyebrow { text-transform: none; letter-spacing: .04em; }
.eyebrow span { width: 26px; height: 2px; background: var(--blue); }
.hero-title { width: 100%; margin: 14px 0 0; display: flex; flex-direction: column; align-items: center; gap: 13px; font-family: "Chakra Petch", "Anuphan", sans-serif; line-height: .95; }
.hero-brand-lockup { width: min(560px, 100%); height: auto; display: block; filter: drop-shadow(0 13px 11px rgba(78,52,190,.16)); animation: brand-hit .65s cubic-bezier(.18,.9,.25,1.2) both; }
.hero-title .hero-brand-name { position: relative; display: inline-flex; align-items: flex-end; color: #09142f; font-size: clamp(4.5rem, 8vw, 7.1rem); font-weight: 700; letter-spacing: -.09em; text-shadow: -4px 2px 0 #25f4ee, 4px -2px 0 #fe2c55; animation: brand-hit .65s cubic-bezier(.18,.9,.25,1.2) both; }
.hero-title .hero-brand-name::after { content: ""; position: absolute; left: 7%; right: -3%; bottom: -10px; height: 11px; border-radius: 50%; background: var(--lime); transform: rotate(-2deg); z-index: -1; }
.hero-title .hero-brand-name strong { margin-left: .07em; padding: .06em .15em .09em; border-radius: .19em; color: white; background: #09142f; font: inherit; letter-spacing: -.08em; text-shadow: none; transform: rotate(-2deg); box-shadow: -.08em 0 #25f4ee, .08em 0 #fe2c55, 0 .09em 0 rgba(9,20,47,.12); }
.hero-title .hero-brand-name small { margin: 0 0 .13em .55em; color: var(--blue); font: 700 .17em/1 "Anuphan", sans-serif; letter-spacing: 0; text-shadow: none; }
.hero-title .hero-service-name { position: relative; display: block; color: var(--ink); font-family: "Anuphan", sans-serif; font-size: clamp(1.45rem, 2.4vw, 2.15rem); font-weight: 700; line-height: 1.15; letter-spacing: -.035em; text-shadow: none; }
.hero-subtitle { margin: 15px 0 24px; font-size: clamp(1.05rem, 1.8vw, 1.35rem); font-weight: 600; }

@keyframes brand-pop { from { opacity: 0; transform: translateY(-9px) rotate(-8deg) scale(.72); } to { opacity: 1; transform: none; } }
@keyframes brand-hit { from { opacity: 0; transform: translateY(18px) scale(.88); filter: blur(5px); } to { opacity: 1; transform: none; filter: none; } }
.hero-search { width: min(700px, 100%); min-height: 66px; padding: 7px 7px 7px 24px; display: flex; align-items: center; gap: 12px; border: 2px solid var(--ink); border-radius: 999px; background: var(--surface); box-shadow: 0 8px 0 rgba(20, 86, 255, .09); }
.hero-search > svg { width: 21px; color: var(--muted); }
.hero-search input { min-width: 0; flex: 1; border: 0; outline: 0; color: var(--ink); background: transparent; font-size: 1rem; }
.hero-search input::placeholder { color: color-mix(in srgb, var(--muted) 70%, transparent); }
.hero-search kbd { padding: 2px 8px; border: 1px solid var(--line); border-radius: 8px; color: var(--muted); background: var(--paper); }
.hero-search button { width: 50px; height: 50px; border: 0; border-radius: 50%; display: grid; place-items: center; color: white; background: var(--blue); cursor: pointer; transition: transform .2s ease, background .2s ease; }
.hero-search button:hover { background: var(--blue-dark); transform: translateX(2px); }
.trust-chips { margin-top: 28px; display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; }
.trust-chips span { min-height: 36px; padding: 0 14px; border-radius: 999px; display: inline-flex; align-items: center; gap: 7px; font-size: .79rem; font-weight: 700; background: color-mix(in srgb, var(--blue) 10%, var(--surface)); }
.trust-chips span:nth-child(1) { background: color-mix(in srgb, var(--lime) 34%, var(--surface)); }
.trust-chips span:nth-child(3) { background: color-mix(in srgb, var(--coral) 18%, var(--surface)); }
.trust-chips span:nth-child(4) { background: color-mix(in srgb, var(--purple) 17%, var(--surface)); }
.trust-chips svg { width: 17px; color: var(--blue); }

.popular-section, .directory-section, .faq-section { padding-block: 44px 70px; }
.section-heading { margin-bottom: 24px; display: flex; align-items: end; justify-content: space-between; gap: 18px; }
.section-heading h2, .steps-privacy h2, .newsletter h2 { margin: 0; font-size: clamp(1.55rem, 2.5vw, 2.1rem); line-height: 1.18; }
.heading-icon { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 10px; color: white; background: var(--coral); }
.text-button { padding: 0; border: 0; display: inline-flex; align-items: center; gap: 8px; color: var(--blue); background: transparent; font-weight: 700; cursor: pointer; white-space: nowrap; }
.text-button svg { width: 18px; }

.tool-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.tool-card { min-width: 0; border: 1px solid var(--line); border-radius: var(--radius-md); overflow: hidden; background: var(--surface); box-shadow: 0 8px 22px rgba(19, 35, 76, .06); cursor: pointer; transition: transform .22s ease, box-shadow .22s ease; }
.tool-card:hover { transform: translateY(-6px) rotate(-.5deg); box-shadow: var(--shadow); }
.featured-direct-card { border-color: rgba(91,53,241,.48); box-shadow: 0 12px 32px rgba(64,38,195,.2), 0 0 0 3px rgba(202,255,38,.38); position: relative; }
.featured-direct-card::after { content: "ส่งตรง ไม่ฝากไฟล์"; position: absolute; left: 12px; top: 12px; z-index: 4; padding: 5px 9px; border-radius: 999px; color: #fff; background: rgba(12,22,68,.84); backdrop-filter: blur(8px); box-shadow: 0 5px 12px rgba(7,14,52,.25); font-size: .64rem; font-weight: 700; }
.featured-direct-card .tool-card-body { background: linear-gradient(135deg, rgba(235,239,255,.98), rgba(255,255,255,.98)); }
.featured-direct-badge { position: absolute; top: 11px; right: 11px; z-index: 5; padding: 4px 9px; border-radius: 999px; color: #172148; background: #caff26; box-shadow: 0 6px 14px rgba(22,35,72,.22); font-size: .66rem; font-weight: 800; animation: direct-badge-pulse 2.2s ease-in-out infinite; }
@keyframes direct-badge-pulse { 50% { transform: translateY(-2px) scale(1.04); box-shadow: 0 9px 20px rgba(88,55,220,.3); } }
.tool-card:focus-visible { outline: 3px solid color-mix(in srgb, var(--blue) 50%, transparent); outline-offset: 3px; }
.tool-card-visual { width: 100%; aspect-ratio: 3 / 2; display: block; position: relative; background: #eaf8ff; box-shadow: inset 0 1px rgba(255,255,255,.58), inset 0 -1px rgba(8,37,78,.12); overflow: hidden; }
.tool-card-visual::before, .tool-card-visual::after { display: none; }
.tool-button-image { width: 100%; height: 100%; display: block; object-fit: cover; object-position: center; transition: transform .34s cubic-bezier(.2,.8,.2,1), filter .34s ease; }
.tool-card:hover .tool-button-image { transform: scale(1.045); filter: saturate(1.04) contrast(1.025); }
.tool-card-icon { width: 78px; height: 78px; border: 5px solid rgba(255,255,255,.78); border-radius: 22px; display: grid; place-items: center; position: relative; z-index: 1; color: var(--tool-ink, white); background: rgba(255,255,255,.24); box-shadow: 0 10px 0 rgba(18,27,58,.09); transform: rotate(var(--icon-rotate)); }
.tool-card-icon svg { width: 43px; height: 43px; stroke-width: 2.2; }
.tool-card-art { width: 120px; height: 120px; object-fit: contain; position: relative; z-index: 1; transform: rotate(var(--icon-rotate)) scale(1.02); filter: saturate(1.05) contrast(1.03) drop-shadow(0 9px 7px rgba(8,27,61,.22)); transition: transform .22s ease, filter .22s ease; }
.tool-card-art[src*="-natural-"] { width: 134px; height: 134px; }
.tool-card:hover .tool-card-art { transform: rotate(0deg) scale(1.1); filter: saturate(1.09) contrast(1.04) drop-shadow(0 12px 8px rgba(8,27,61,.25)); }
.tool-card-body { min-height: 118px; padding: 16px 15px; position: relative; }
.tool-card-body h3 { margin: 0 30px 4px 0; font-size: .99rem; line-height: 1.3; }
.tool-card-body p { margin: 0; color: var(--muted); font-size: .76rem; line-height: 1.45; }
.tool-arrow { position: absolute; right: 13px; bottom: 14px; width: 27px; height: 27px; border: 1px solid var(--line); border-radius: 50%; display: grid; place-items: center; color: var(--blue); }
.tool-arrow svg { width: 14px; }
.empty-state { padding: 40px; border: 1px dashed var(--line); border-radius: var(--radius-md); text-align: center; color: var(--muted); background: var(--surface); }
.popular-extras { margin-top: 16px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.popular-extras[hidden] { display: none; }
.popular-extra { min-height: 82px; padding: 12px; border: 1px solid var(--line); border-radius: 17px; display: grid; grid-template-columns: 50px 1fr 20px; align-items: center; gap: 10px; color: var(--ink); text-align: left; background: var(--surface); cursor: pointer; box-shadow: 0 7px 18px rgba(19,35,76,.05); }
.popular-extra-word { color: white; border-color: transparent; background: linear-gradient(135deg, #a56cff, #8751e9); }
.popular-extra > svg { width: 17px; color: currentColor; }
.popular-extra-icon { width: 48px; height: 56px; border: 3px solid rgba(255,255,255,.74); border-radius: 13px; display: grid; place-items: center; background: rgba(255,255,255,.19); transform: rotate(-4deg); }
.popular-extra-icon svg { width: 26px; }
.popular-extra strong, .popular-extra small { display: block; }
.popular-extra strong { font-size: .82rem; line-height: 1.25; }
.popular-extra small { margin-top: 3px; color: inherit; opacity: .72; font-size: .64rem; }
.popular-extra-grid { width: 46px; height: 46px; padding: 8px; border-radius: 13px; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; color: var(--blue); background: color-mix(in srgb, var(--blue) 9%, var(--surface)); }
.popular-extra-grid i { border: 2px solid currentColor; border-radius: 3px; }
.popular-extra-all { border-style: dashed; font: inherit; }
.popular-extra-all strong { color: var(--blue); }
.popular-doodle { grid-column: span 3; min-height: 82px; position: relative; overflow: hidden; }
.popular-doodle span { position: absolute; width: 200px; height: 56px; right: 58px; top: 6px; border-bottom: 8px solid var(--blue); border-radius: 50%; transform: rotate(-9deg); }
.popular-doodle b { position: absolute; right: 16px; top: 5px; color: var(--lime-dark); font-size: 2rem; font-weight: 500; }
.popular-doodle b:last-child { right: 0; top: 38px; color: var(--blue); font-size: 1.35rem; }

.ad-banner { min-height: 148px; margin-block: 12px 54px; padding: 22px 28px; border-radius: 24px; display: grid; grid-template-columns: auto 1.2fr 1fr auto; align-items: center; gap: 24px; position: relative; overflow: hidden; }
.ad-banner::after { content: "✦"; position: absolute; right: 18px; top: 8px; font-size: 1.6rem; color: var(--lime); }
.ad-banner-blue { color: white; background: var(--blue); }
.ad-banner-coral { color: white; background: var(--coral); }
.ad-megaphone, .ad-screen { width: 94px; height: 94px; border: 5px solid rgba(255,255,255,.78); border-radius: 28px; display: grid; place-items: center; color: var(--ink); background: var(--lime); transform: rotate(-7deg); box-shadow: 0 8px 0 rgba(0,0,0,.1); }
.ad-screen { color: white; background: var(--blue); }
.ad-megaphone svg, .ad-screen svg { width: 48px; height: 48px; }
.ad-copy h2 { margin: 0; font-size: 2.15rem; line-height: 1; }
.ad-copy p { margin: 8px 0 0; color: rgba(255,255,255,.84); font-weight: 600; }
.ad-label { display: inline-block; padding: 3px 8px; margin-bottom: 8px; border-radius: 999px; color: var(--ink); background: var(--lime); font-size: .74rem; font-weight: 800; transform: rotate(-3deg); }
.ad-art { width: 118px; height: 104px; object-fit: contain; filter: drop-shadow(0 9px 8px rgba(0,0,0,.18)); transform: rotate(-6deg); }
.ad-art-laptop { width: 132px; transform: rotate(-3deg); }
.ad-mini-cards, .ad-floating-icons { display: flex; justify-content: center; gap: 10px; }
.ad-mini-cards span, .ad-floating-icons span { width: 58px; height: 70px; border-radius: 16px; display: grid; place-items: center; color: var(--blue); background: white; transform: rotate(-3deg); }
.ad-mini-cards span:nth-child(2), .ad-floating-icons span:nth-child(2) { color: var(--coral); transform: rotate(4deg); }
.ad-mini-cards span:nth-child(3), .ad-floating-icons span:nth-child(3) { color: #8b58eb; transform: rotate(-2deg); }
.ad-action { min-height: 48px; padding: 0 18px; border-radius: 999px; display: inline-flex; align-items: center; gap: 8px; justify-content: center; color: var(--ink); background: var(--lime); font-weight: 800; white-space: nowrap; }
.ad-action-dark { color: white; background: var(--ink); }
.ad-action svg { width: 17px; }

.govjobs-ad {
  min-height: 158px;
  margin-block: 8px 0;
  padding: 20px 22px;
  border: 1px solid rgba(74, 164, 255, .62);
  border-radius: 26px;
  display: grid;
  grid-template-columns: 190px minmax(280px, 1fr) 350px auto;
  align-items: center;
  gap: 22px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: white;
  background:
    radial-gradient(circle at 12% 10%, rgba(235, 26, 67, .42), transparent 18rem),
    radial-gradient(circle at 76% 110%, rgba(31, 115, 255, .46), transparent 23rem),
    linear-gradient(112deg, #132850 0%, #171837 49%, #08275d 100%);
  box-shadow: 0 18px 42px rgba(7, 35, 91, .2), inset 0 1px rgba(255, 255, 255, .14);
  transition: transform .26s ease, box-shadow .26s ease, border-color .26s ease;
}
.govjobs-ad::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: .22;
  background-image:
    linear-gradient(rgba(255,255,255,.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.12) 1px, transparent 1px);
  background-size: 30px 30px;
  mask-image: linear-gradient(90deg, transparent 2%, #000 40%, #000 82%, transparent 100%);
}
.govjobs-ad::after {
  content: "โฆษณา";
  position: absolute;
  top: 10px;
  right: 12px;
  z-index: 4;
  padding: 2px 7px;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 999px;
  color: rgba(255,255,255,.68);
  background: rgba(2, 18, 49, .34);
  font-size: .56rem;
  font-weight: 600;
  letter-spacing: .04em;
}
.govjobs-ad:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 186, 45, .9);
  box-shadow: 0 24px 52px rgba(7, 35, 91, .27), inset 0 1px rgba(255, 255, 255, .2);
}
.govjobs-ad:focus-visible { outline: 4px solid color-mix(in srgb, #ffb020 70%, white); outline-offset: 4px; }
.govjobs-ad-shine {
  width: 26%;
  height: 220%;
  position: absolute;
  top: -65%;
  left: -38%;
  z-index: 5;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.16), transparent);
  transform: rotate(18deg);
  animation: govjobs-shine 5.4s ease-in-out infinite;
}
.govjobs-brand, .govjobs-brand-lockup, .govjobs-brand-lockup > span, .govjobs-copy { display: flex; }
.govjobs-brand, .govjobs-brand-lockup > span, .govjobs-copy { flex-direction: column; }
.govjobs-brand { align-items: flex-start; gap: 10px; }
.govjobs-brand-lockup { align-items: center; gap: 10px; }
.govjobs-brand-lockup img { width: 54px; height: 54px; filter: drop-shadow(0 8px 10px rgba(0,0,0,.28)); }
.govjobs-brand-lockup > span { line-height: 1; }
.govjobs-brand-lockup strong { font-size: 1.27rem; font-weight: 800; letter-spacing: -.04em; white-space: nowrap; }
.govjobs-brand-lockup strong em { color: #ffb72d; font-style: normal; }
.govjobs-brand-lockup small { margin-top: 7px; color: #a9c6ec; font-size: .66rem; font-weight: 600; }
.govjobs-live {
  min-height: 25px;
  padding: 0 9px;
  border: 1px solid rgba(255, 105, 128, .36);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #ffdae0;
  background: rgba(232, 0, 45, .16);
  font-size: .66rem;
  font-weight: 700;
  white-space: nowrap;
}
.govjobs-live i { width: 7px; height: 7px; border-radius: 50%; background: #ff4665; box-shadow: 0 0 0 0 rgba(255,70,101,.6); animation: govjobs-live 1.7s ease-out infinite; }
.govjobs-copy { align-items: flex-start; min-width: 0; }
.govjobs-kicker { padding: 3px 9px; border-radius: 999px; color: #4b2d00; background: linear-gradient(135deg, #ffe285, #ffb020); font-size: .64rem; font-weight: 800; transform: rotate(-1.5deg); }
.govjobs-copy > strong { margin-top: 8px; font-size: clamp(1.65rem, 3vw, 2.55rem); font-weight: 800; line-height: 1; letter-spacing: -.055em; white-space: nowrap; }
.govjobs-copy > strong span { margin-left: .17em; color: #ffc449; text-shadow: 0 0 22px rgba(255, 185, 47, .23); }
.govjobs-copy > small { margin-top: 10px; color: #c1cee4; font-size: .77rem; font-weight: 600; line-height: 1.4; }
.govjobs-scene { height: 112px; position: relative; display: block; }
.govjobs-scene::before {
  content: "";
  width: 160px;
  height: 160px;
  position: absolute;
  left: 93px;
  top: -24px;
  border: 1px solid rgba(72, 168, 255, .32);
  border-radius: 50%;
  box-shadow: 0 0 0 14px rgba(56,168,255,.05), 0 0 54px rgba(48,123,255,.26);
  animation: govjobs-radar 3.2s ease-in-out infinite;
}
.govjobs-orbit { position: absolute; border: 1px dashed rgba(255,255,255,.22); border-radius: 50%; }
.govjobs-orbit-one { width: 200px; height: 92px; left: 44px; top: 8px; transform: rotate(-8deg); }
.govjobs-orbit-two { width: 118px; height: 118px; right: 5px; top: -3px; transform: rotate(16deg); }
.govjobs-job-card {
  min-height: 62px;
  padding: 10px 10px;
  border: 1px solid rgba(255,255,255,.82);
  border-radius: 16px;
  display: grid;
  grid-template-columns: 34px 1fr auto;
  align-items: center;
  gap: 8px;
  position: absolute;
  color: #112143;
  background: rgba(255,255,255,.96);
  box-shadow: 0 13px 28px rgba(0,0,0,.24), inset 0 1px white;
  backdrop-filter: blur(10px);
}
.govjobs-job-card > svg:first-child { width: 34px; height: 34px; padding: 7px; border-radius: 10px; color: white; background: linear-gradient(135deg, #ff4c68, #dd002b); }
.govjobs-job-card > span { min-width: 0; }
.govjobs-job-card b, .govjobs-job-card small { display: block; white-space: nowrap; }
.govjobs-job-card b { font-size: .72rem; }
.govjobs-job-card small { margin-top: 3px; color: #687590; font-size: .58rem; }
.govjobs-job-card em { padding: 3px 6px; border-radius: 999px; color: #8c3700; background: #ffe09a; font-size: .54rem; font-style: normal; font-weight: 800; }
.govjobs-job-card > svg:last-child { width: 20px; color: #12a85d; }
.govjobs-job-card-one { width: 190px; left: 4px; top: 3px; transform: rotate(-4deg); animation: govjobs-card-one 4.4s ease-in-out infinite; }
.govjobs-job-card-two { width: 185px; right: 4px; bottom: 1px; transform: rotate(3deg); animation: govjobs-card-two 4.8s ease-in-out infinite; }
.govjobs-scan-beam { width: 4px; height: 116px; position: absolute; left: 0; top: -2px; border-radius: 99px; background: #3da9ff; box-shadow: 0 0 8px #3da9ff, 0 0 24px #3da9ff; opacity: .72; animation: govjobs-scan 3.6s cubic-bezier(.45,0,.55,1) infinite; }
.govjobs-bolt { position: absolute; right: 20px; top: -17px; color: #ff3b58; font: 800 2.6rem/1 "Chakra Petch", sans-serif; transform: rotate(11deg); text-shadow: 0 0 18px rgba(255,59,88,.55); animation: govjobs-bolt 2.2s ease-in-out infinite; }
.govjobs-action {
  min-height: 46px;
  padding: 0 17px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  color: #302000;
  background: linear-gradient(135deg, #ffd66b, #ffad18);
  box-shadow: 0 8px 20px rgba(255,176,32,.25), inset 0 1px rgba(255,255,255,.7);
  font-size: .79rem;
  font-weight: 800;
  white-space: nowrap;
}
.govjobs-action svg { width: 17px; transition: transform .22s ease; }
.govjobs-ad:hover .govjobs-action svg { transform: translate(2px, -2px); }
@keyframes govjobs-shine { 0%, 58% { left: -38%; } 86%, 100% { left: 126%; } }
@keyframes govjobs-live { 0% { box-shadow: 0 0 0 0 rgba(255,70,101,.6); } 75%, 100% { box-shadow: 0 0 0 8px rgba(255,70,101,0); } }
@keyframes govjobs-radar { 0%, 100% { transform: scale(.94); opacity: .55; } 50% { transform: scale(1.04); opacity: 1; } }
@keyframes govjobs-card-one { 0%, 100% { transform: translateY(0) rotate(-4deg); } 50% { transform: translateY(-7px) rotate(-2deg); } }
@keyframes govjobs-card-two { 0%, 100% { transform: translateY(0) rotate(3deg); } 50% { transform: translateY(7px) rotate(1deg); } }
@keyframes govjobs-scan { 0%, 10% { left: 0; opacity: 0; } 20% { opacity: .72; } 80% { opacity: .72; } 90%, 100% { left: calc(100% - 4px); opacity: 0; } }
@keyframes govjobs-bolt { 0%, 100% { transform: rotate(11deg) scale(1); } 50% { transform: rotate(6deg) scale(1.11); } }

.ruen-ad {
  min-height: 156px;
  margin-block: 12px 54px;
  padding: 21px 24px;
  border: 1px solid #9c732d;
  border-radius: 24px;
  display: grid;
  grid-template-columns: 230px 290px minmax(330px, 1fr) auto;
  align-items: center;
  gap: 22px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #f8e6b4;
  background:
    radial-gradient(circle at 8% 10%, rgba(151, 47, 39, .27), transparent 18rem),
    radial-gradient(circle at 77% 65%, rgba(24, 113, 87, .28), transparent 20rem),
    linear-gradient(112deg, #102721 0%, #101b18 48%, #142b25 100%);
  box-shadow: 0 18px 40px rgba(10, 44, 36, .2), inset 0 1px rgba(255, 231, 166, .12), inset 0 0 0 4px rgba(7, 16, 14, .34);
  transition: transform .26s ease, box-shadow .26s ease, border-color .26s ease;
}
.ruen-ad::before {
  content: "";
  position: absolute;
  inset: 8px;
  z-index: -1;
  border: 1px solid rgba(216, 173, 84, .24);
  border-radius: 17px;
  background-image:
    radial-gradient(circle at 15% 30%, rgba(233, 196, 110, .23) 0 1px, transparent 1.5px),
    radial-gradient(circle at 77% 22%, rgba(233, 196, 110, .2) 0 1px, transparent 1.5px),
    radial-gradient(circle at 62% 78%, rgba(233, 196, 110, .17) 0 1px, transparent 1.5px);
  background-size: 44px 44px, 63px 63px, 78px 78px;
}
.ruen-ad::after {
  content: "โฆษณา";
  position: absolute;
  right: 12px;
  top: 9px;
  padding: 2px 7px;
  border: 1px solid rgba(223, 189, 113, .28);
  border-radius: 999px;
  color: rgba(246, 220, 158, .67);
  background: rgba(8, 26, 22, .5);
  font-size: .56rem;
  font-weight: 600;
}
.ruen-ad:hover { transform: translateY(-3px); border-color: #e0b85d; box-shadow: 0 25px 54px rgba(10,44,36,.27), 0 0 0 1px rgba(255,218,134,.18), inset 0 1px rgba(255,231,166,.16); }
.ruen-ad:focus-visible { outline: 4px solid color-mix(in srgb, #d9b25f 72%, white); outline-offset: 4px; }
.ruen-ad-glow {
  width: 34%;
  height: 250%;
  position: absolute;
  left: -45%;
  top: -78%;
  z-index: 5;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255, 226, 158, .13), transparent);
  transform: rotate(17deg);
  animation: ruen-shine 6.4s ease-in-out infinite;
}
.ruen-brand, .ruen-brand-copy, .ruen-copy { display: flex; }
.ruen-brand { align-items: center; gap: 13px; min-width: 0; }
.ruen-emblem { width: 70px; height: 70px; flex: none; position: relative; display: grid; place-items: center; }
.ruen-emblem::before { content: ""; position: absolute; inset: 6px; border: 1px solid rgba(241, 199, 107, .5); border-radius: 50%; box-shadow: 0 0 22px rgba(218,163,63,.28); animation: ruen-halo 2.8s ease-in-out infinite; }
.ruen-emblem img { width: 64px; height: 64px; position: relative; filter: drop-shadow(0 8px 10px rgba(0,0,0,.4)); }
.ruen-brand-copy, .ruen-copy { flex-direction: column; align-items: flex-start; min-width: 0; }
.ruen-brand-copy strong { color: #f1cb77; font-size: clamp(1.15rem, 2vw, 1.55rem); font-weight: 700; line-height: 1.1; letter-spacing: -.04em; white-space: nowrap; text-shadow: 0 0 18px rgba(220,169,69,.18); }
.ruen-brand-copy strong em { color: #ba8c3d; font-style: normal; }
.ruen-brand-copy small { max-width: 210px; margin-top: 7px; color: #a99870; font-size: .63rem; font-weight: 600; line-height: 1.35; }
.ruen-label { min-height: 24px; padding: 0 9px; border: 1px solid rgba(219,176,86,.35); border-radius: 999px; display: inline-flex; align-items: center; gap: 7px; color: #efcc7c; background: rgba(151,100,31,.16); font-size: .62rem; font-weight: 700; }
.ruen-label i { width: 7px; height: 7px; border-radius: 50%; background: #d64b3b; box-shadow: 0 0 0 0 rgba(214,75,59,.58); animation: ruen-live 1.8s ease-out infinite; }
.ruen-copy > strong { margin-top: 8px; color: #fff1ca; font-size: clamp(1.55rem, 2.7vw, 2.25rem); font-weight: 800; line-height: 1; letter-spacing: -.045em; white-space: nowrap; }
.ruen-copy > strong em { color: #d9aa4e; font-style: normal; text-shadow: 0 0 20px rgba(217,170,78,.22); }
.ruen-copy > small { margin-top: 9px; color: #b9ab87; font-size: .72rem; font-weight: 600; line-height: 1.4; }
.ruen-scene { height: 126px; position: relative; display: block; overflow: hidden; border-radius: 18px; }
.ruen-image-frame { position: absolute; inset: -48px -10px -92px; overflow: hidden; mix-blend-mode: screen; mask-image: linear-gradient(90deg, transparent 0, #000 12%, #000 89%, transparent 100%); }
.ruen-image-frame img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: 50% 34%; filter: saturate(1.12) brightness(1.08) contrast(1.06) drop-shadow(0 7px 12px rgba(0,0,0,.4)); transform: scale(1.05); animation: ruen-hero-float 7s ease-in-out infinite; }
.ruen-image-aura { width: 190px; height: 110px; position: absolute; left: 42%; top: 9px; z-index: -1; border-radius: 50%; background: rgba(206, 150, 54, .19); filter: blur(21px); animation: ruen-image-glow 3.2s ease-in-out infinite; }
.ruen-image-orbit { width: 126px; height: 126px; position: absolute; left: 41%; top: 0; border: 1px dashed rgba(239, 202, 118, .34); border-radius: 50%; box-shadow: inset 0 0 24px rgba(218,164,60,.1); animation: ruen-orbit 13s linear infinite; }
.ruen-star { position: absolute; color: #f2cf78; text-shadow: 0 0 10px rgba(238,198,104,.6); animation: ruen-twinkle 2s ease-in-out infinite; }
.ruen-star-one { left: 12%; top: 7px; }
.ruen-star-two { right: 11%; top: 14px; animation-delay: .6s; }
.ruen-star-three { left: 58%; bottom: 7px; animation-delay: 1.1s; }
.ruen-action { min-height: 46px; padding: 0 17px; border: 1px solid #e3bd68; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; color: #241704; background: linear-gradient(135deg, #f7d98f, #c89136); box-shadow: 0 9px 22px rgba(182,127,40,.22), inset 0 1px rgba(255,248,215,.82); font-size: .78rem; font-weight: 800; white-space: nowrap; }
.ruen-action svg { width: 17px; transition: transform .22s ease; }
.ruen-ad:hover .ruen-action svg { transform: translate(2px, -2px); }
@keyframes ruen-shine { 0%, 62% { left: -45%; } 88%, 100% { left: 125%; } }
@keyframes ruen-halo { 0%, 100% { transform: scale(.92); opacity: .5; } 50% { transform: scale(1.1); opacity: 1; } }
@keyframes ruen-live { 0% { box-shadow: 0 0 0 0 rgba(214,75,59,.58); } 75%, 100% { box-shadow: 0 0 0 8px rgba(214,75,59,0); } }
@keyframes ruen-hero-float { 0%, 100% { transform: translate3d(-5px, 3px, 0) scale(1.05); } 50% { transform: translate3d(7px, -5px, 0) scale(1.1); } }
@keyframes ruen-image-glow { 0%, 100% { opacity: .55; transform: scale(.88); } 50% { opacity: 1; transform: scale(1.12); } }
@keyframes ruen-orbit { to { transform: rotate(360deg); } }
@keyframes ruen-twinkle { 0%, 100% { transform: scale(.65) rotate(0); opacity: .35; } 50% { transform: scale(1.15) rotate(30deg); opacity: 1; } }

.directory-heading { align-items: center; }
.filter-pills { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.filter-pill { min-height: 38px; padding: 0 13px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); background: var(--surface); font-weight: 700; font-size: .8rem; cursor: pointer; }
.filter-pill.active { border-color: var(--blue); color: white; background: var(--blue); }
.directory-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.directory-card { min-width: 0; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--surface); }
.directory-card-header { margin-bottom: 12px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.directory-title { display: flex; align-items: center; gap: 9px; font-weight: 800; }
.directory-title span { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; color: var(--category-color); background: color-mix(in srgb, var(--category-color) 14%, transparent); }
.directory-title svg { width: 17px; }
.directory-card-header button { padding: 0; border: 0; color: var(--blue); background: transparent; font-size: .73rem; font-weight: 700; cursor: pointer; }
.directory-list { display: grid; gap: 2px; }
.directory-item { width: 100%; min-height: 40px; padding: 0 5px; border: 0; border-top: 1px solid color-mix(in srgb, var(--line) 70%, transparent); display: flex; align-items: center; gap: 9px; color: var(--muted); background: transparent; text-align: left; cursor: pointer; }
.directory-item:first-child { border-top: 0; }
.directory-item:hover { color: var(--blue); }
.directory-item > svg:first-child { width: 16px; color: var(--category-color); }
.directory-item span { flex: 1; font-size: .8rem; font-weight: 600; }
.directory-item > svg:last-child { width: 14px; }
.free-card { min-height: 100%; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius-md); display: flex; flex-direction: column; justify-content: center; background: repeating-linear-gradient(-12deg, color-mix(in srgb, var(--blue) 5%, var(--surface)) 0 8px, var(--surface) 8px 16px); }
.free-card strong { align-self: flex-start; padding: 5px 12px; border-radius: 50% 44% 48% 42%; font-size: 1.8rem; color: var(--ink); background: var(--lime); transform: rotate(-4deg); }
.free-card ul { margin: 18px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; font-weight: 700; font-size: .84rem; }
.free-card li::before { content: "•"; margin-right: 8px; color: var(--blue); }

.steps-privacy { padding-block: 46px 72px; display: grid; grid-template-columns: 1fr 1fr; gap: 34px; }
.steps-panel, .privacy-panel { min-width: 0; }
.steps-panel h2 span { color: var(--blue); text-decoration: underline var(--lime) 7px; text-underline-offset: 4px; }
.steps-list { margin: 28px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.steps-list li { position: relative; text-align: center; }
.steps-list li:not(:last-child)::after { content: "→"; position: absolute; top: 42px; right: -12px; color: var(--muted); }
.steps-list strong { position: absolute; top: -8px; left: 12px; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; color: white; background: var(--blue); z-index: 2; }
.steps-list li:nth-child(2) strong { color: var(--ink); background: var(--lime); }
.steps-list li:nth-child(3) strong { background: var(--purple); }
.step-icon { width: 84px; height: 84px; margin: 0 auto 14px; border-radius: 50%; display: grid; place-items: center; }
.step-icon svg { width: 36px; height: 36px; }
.step-blue { color: var(--blue); background: color-mix(in srgb, var(--blue) 13%, var(--surface)); }
.step-lime { color: #547000; background: color-mix(in srgb, var(--lime) 38%, var(--surface)); }
.step-purple { color: var(--purple); background: color-mix(in srgb, var(--purple) 16%, var(--surface)); }
.steps-list b, .steps-list small { display: block; }
.steps-list small { margin-top: 5px; color: var(--muted); font-size: .72rem; }
.privacy-panel { padding: 30px; border: 1px solid var(--line); border-radius: var(--radius-lg); display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 24px; background: var(--surface); }
.privacy-art { width: 140px; height: 142px; object-fit: contain; filter: drop-shadow(0 12px 10px rgba(16, 55, 111, .18)); }
.privacy-panel ul { margin: 20px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.privacy-panel li { display: flex; align-items: flex-start; gap: 9px; font-size: .84rem; font-weight: 600; }
.privacy-panel li svg { width: 18px; flex: 0 0 auto; color: #13a35d; }

.faq-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.faq-grid details { padding: 18px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); }
.faq-grid summary { font-weight: 700; cursor: pointer; }
.faq-grid p { margin: 10px 0 0; color: var(--muted); font-size: .8rem; }

.newsletter { margin-block: 0 72px; padding: 30px 34px; border-radius: var(--radius-lg); display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 28px; color: white; background: var(--blue); }
.newsletter .section-kicker { color: var(--lime); }
.newsletter form { display: flex; padding: 6px; border-radius: 999px; background: white; }
.newsletter input { min-width: 0; flex: 1; padding: 0 16px; border: 0; outline: 0; border-radius: 999px; color: var(--ink); }
.newsletter button { min-height: 46px; padding: 0 18px; border: 0; border-radius: 999px; display: inline-flex; align-items: center; gap: 8px; color: var(--ink); background: var(--lime); font-weight: 800; cursor: pointer; }
.newsletter button svg { width: 17px; }
.form-message { grid-column: 2; margin: -18px 12px 0; color: white; font-size: .82rem; }

.site-footer { padding: 50px 0 22px; color: #e9eeff; background: #071b4d; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: 34px; }
.brand-footer { color: white; }
.footer-grid h3 { margin: 0 0 14px; font-size: .96rem; }
.footer-grid p { margin: 12px 0; color: #aebce4; font-size: .8rem; }
.footer-grid > div:not(:first-child) > a { display: block; margin: 8px 0; color: #aebce4; font-size: .8rem; }
.footer-grid a:hover { color: var(--lime); }
.socials { margin-top: 18px; display: flex; gap: 8px; }
.socials a { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; color: white; background: rgba(255,255,255,.11); }
.socials svg { width: 15px; }
.footer-cta { min-height: 40px; padding: 0 14px; border: 1px solid rgba(255,255,255,.25); border-radius: 999px; display: inline-flex !important; align-items: center; justify-content: space-between; }
.footer-cta svg { width: 16px; }
.footer-bottom { margin-top: 34px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); display: flex; justify-content: space-between; gap: 20px; color: #8fa2d5; font-size: .72rem; }
.footer-bottom b { color: var(--lime); }

.tool-dialog { width: min(540px, calc(100% - 28px)); max-height: calc(100dvh - 28px); padding: 34px; border: 0; border-radius: 28px; overflow: auto; color: var(--ink); background: var(--surface); box-shadow: 0 30px 90px rgba(0,0,0,.28); }
.tool-dialog::backdrop { background: rgba(4, 12, 35, .68); backdrop-filter: blur(8px); }
.dialog-close { position: absolute; top: 16px; right: 16px; width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 50%; display: grid; place-items: center; background: var(--paper); cursor: pointer; }
.dialog-close svg { width: 18px; }
.dialog-icon { width: 76px; height: 76px; border-radius: 22px; display: grid; place-items: center; color: white; background: var(--dialog-color, var(--blue)); }
.dialog-icon svg { width: 38px; height: 38px; }
.dialog-category { margin: 18px 0 4px; color: var(--blue); font-size: .76rem; font-weight: 700; text-transform: uppercase; }
.tool-dialog h2 { margin: 0; font-size: 2rem; }
.tool-dialog > p:not(.dialog-category) { color: var(--muted); }
.dialog-demo { margin-top: 22px; padding: 20px; border: 1px dashed color-mix(in srgb, var(--blue) 50%, var(--line)); border-radius: 18px; background: color-mix(in srgb, var(--blue) 5%, var(--surface)); }
.contact-dialog { width: min(430px, calc(100% - 28px)); max-height: calc(100dvh - 28px); padding: 34px; border: 0; border-radius: 28px; overflow: auto; color: var(--ink); background: var(--surface); text-align: center; box-shadow: 0 30px 90px rgba(0,0,0,.28); }
.contact-dialog::backdrop { background: rgba(4,12,35,.68); backdrop-filter: blur(8px); }
.contact-dialog-close { position: absolute; top: 15px; right: 15px; width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 50%; display: grid; place-items: center; background: var(--paper); cursor: pointer; }
.contact-dialog-close svg { width: 18px; }
.contact-line-icon { width: 78px; height: 78px; margin: 0 auto 17px; border-radius: 25px; display: grid; place-items: center; color: white; background: linear-gradient(145deg,#28d875,#08a84c); box-shadow: 0 13px 25px rgba(8,168,76,.25), inset 0 2px rgba(255,255,255,.4); transform: rotate(-3deg); }
.contact-line-icon svg { width: 39px; height: 39px; }
.contact-dialog .section-kicker { margin-bottom: 2px; color: #0a9d4a; }
.contact-dialog h2 { margin: 0 0 16px; font: 700 2rem/1.1 "Chakra Petch","Anuphan",sans-serif; }
.contact-line-id { padding: 10px 10px 10px 18px; border: 1px solid color-mix(in srgb,#20c968 35%,var(--line)); border-radius: 17px; display: flex; align-items: center; justify-content: space-between; gap: 14px; background: color-mix(in srgb,#20c968 9%,var(--surface)); }
.contact-line-id strong { min-width: 0; font-size: 1.45rem; letter-spacing: .02em; }
.contact-line-id button { min-height: 40px; padding: 0 12px; border: 1px solid var(--line); border-radius: 12px; display: inline-flex; align-items: center; gap: 6px; color: var(--ink); background: var(--surface); font-size: .78rem; font-weight: 700; cursor: pointer; }
.contact-line-id button svg { width: 15px; }
.contact-copy-status { margin: 13px 0 18px; color: var(--muted); font-size: .82rem; }
.contact-line-action { min-height: 48px; padding: 0 19px; border-radius: 15px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; color: white; background: linear-gradient(135deg,#20c968,#08a84c); font-weight: 700; box-shadow: 0 9px 20px rgba(8,168,76,.22); }
.contact-line-action svg { width: 18px; }
.demo-upload { min-height: 120px; display: grid; place-items: center; text-align: center; }
.demo-upload input { max-width: 100%; }
.demo-form { display: grid; gap: 12px; }
.demo-form label { display: grid; gap: 6px; font-size: .8rem; font-weight: 700; }
.demo-form input, .demo-form textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; color: var(--ink); background: var(--surface); }
.demo-form textarea { min-height: 110px; resize: vertical; }
.demo-button { min-height: 46px; border: 0; border-radius: 12px; color: white; background: var(--blue); font-weight: 800; cursor: pointer; }
.demo-result { min-height: 34px; padding-top: 10px; color: var(--blue); font-weight: 800; }

@media (max-width: 1100px) {
  .desktop-nav { display: none; }
  .mobile-menu-button { display: grid; }
  .hero { padding-inline: 110px; }
  .tool-grid { grid-template-columns: repeat(3, 1fr); }
  .directory-grid { grid-template-columns: repeat(2, 1fr); }
  .ad-banner { grid-template-columns: auto 1fr auto; }
  .ad-mini-cards, .ad-floating-icons { display: none; }
  .govjobs-ad { grid-template-columns: 160px minmax(0, 1fr) 290px; gap: 16px; }
  .govjobs-brand-lockup img { width: 48px; height: 48px; }
  .govjobs-brand-lockup strong { font-size: 1.08rem; }
  .govjobs-copy > strong { font-size: clamp(1.55rem, 3.5vw, 2.15rem); }
  .govjobs-action { display: none; }
  .ruen-ad { grid-template-columns: 205px 230px minmax(0, 1fr); gap: 16px; }
  .ruen-brand { gap: 9px; }
  .ruen-emblem { width: 48px; height: 48px; }
  .ruen-emblem img { width: 44px; height: 44px; }
  .ruen-brand-copy strong { font-size: 1rem; }
  .ruen-brand-copy small { display: none; }
  .ruen-copy > strong { font-size: clamp(1.45rem, 3.5vw, 2rem); }
  .ruen-scene { height: 124px; }
  .ruen-image-frame { inset: -44px -8px -88px; }
  .ruen-image-orbit { left: 38%; }
  .ruen-action { display: none; }
  .steps-privacy { grid-template-columns: 1fr; }
  .faq-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1.25fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .icon-button { width: 44px; height: 44px; }
  .mobile-nav a, .mobile-nav .nav-contact-button { min-height: 48px; display: flex; align-items: center; }
}

@media (min-width: 721px) and (max-width: 1100px) {
  .shell { width: min(960px, calc(100% - 32px)); }
  .nav-shell { min-height: 68px; }
  .hero { min-height: 500px; padding: 72px 112px 34px; }
  .hero-art-piece { width: 158px; height: 148px; }
  .hero-art-image, .hero-art-lightning { top: 38px; }
  .hero-art-pdf, .hero-art-scissors { top: 218px; width: 148px; }
  .hero-title { gap: 10px; }
  .hero-brand-lockup { width: min(500px, 100%); }
  .hero-subtitle { margin: 13px 0 20px; }
  .trust-chips { margin-top: 22px; }
  .popular-section, .directory-section, .faq-section { padding-block: 38px 58px; }
  .ad-banner { margin-bottom: 46px; }
}

@media (max-width: 720px) {
  .shell { width: min(100% - 24px, 640px); }
  .site-header { position: sticky; }
  .nav-shell { min-height: 64px; gap: 10px; }
  .brand { font-size: .87rem; }
  .promo-link { display: none; }
  .hero { min-height: auto; padding: 64px 0 30px; }
  .hero-art-piece { width: 112px; height: 104px; opacity: .98; }
  .hero-art-image { top: 4px; left: -32px; }
  .hero-art-lightning { top: 4px; right: -32px; }
  .hero-art-pdf { top: 126px; left: -42px; width: 104px; }
  .hero-art-scissors { top: 126px; right: -42px; width: 104px; }
  .hero-title { width: 100%; max-width: 100%; gap: 14px; }
  .hero-brand-lockup { width: min(410px, 100%); }
  .hero-title .hero-brand-name { display: inline-flex; margin: 0; font-size: clamp(3.35rem, 17vw, 4.8rem); text-shadow: -3px 2px 0 #25f4ee, 3px -2px 0 #fe2c55; }
  .hero-title .hero-brand-name strong { display: inline-block; }
  .hero-title .hero-service-name { display: block; margin: 0; max-width: 330px; font-size: clamp(1.45rem, 7.3vw, 2rem); }
  .hero-subtitle { margin-top: 18px; font-size: 1.05rem; }
  .hero-search { min-height: 58px; padding-left: 16px; }
  .hero-search kbd { display: none; }
  .hero-search button { width: 44px; height: 44px; }
  .trust-chips { margin-top: 20px; gap: 7px; }
  .trust-chips span { min-height: 32px; padding-inline: 10px; font-size: .7rem; }
  .popular-section, .directory-section, .faq-section { padding-block: 34px 52px; }
  .section-heading, .directory-heading { align-items: flex-start; flex-direction: column; }
  .tool-grid { grid-template-columns: repeat(2, 1fr); gap: 11px; }
  .tool-card-visual { height: auto; padding: 0; }
  .tool-card-icon { width: 62px; height: 62px; border-radius: 17px; }
  .tool-card-icon svg { width: 33px; height: 33px; }
  .tool-card-visual::before, .tool-card-visual::after { display: none; }
  .tool-card-art { width: 94px; height: 94px; }
  .tool-card-art[src*="-natural-"] { width: 106px; height: 106px; }
  .tool-card-body { min-height: 108px; padding: 13px 12px; }
  .tool-card-body h3 { font-size: .9rem; }
  .tool-card-body p { font-size: .69rem; }
  .popular-extras { grid-template-columns: repeat(2, 1fr); gap: 11px; }
  .popular-doodle { display: none; }
  .popular-extra { grid-template-columns: 44px 1fr 17px; padding: 9px; gap: 7px; }
  .popular-extra-icon { width: 42px; height: 48px; }
  .ad-banner { min-height: auto; padding: 22px; grid-template-columns: auto 1fr; gap: 16px; }
  .ad-banner::after { display: none; }
  .ad-art { width: 82px; height: 76px; }
  .ad-art-laptop { width: 92px; }
  .ad-copy h2 { font-size: 1.55rem; }
  .ad-copy p { font-size: .78rem; }
  .ad-action { grid-column: 1 / -1; width: 100%; }
  .govjobs-ad {
    min-height: 340px;
    padding: 18px;
    grid-template-columns: 1fr;
    align-items: start;
    gap: 12px;
    border-radius: 22px;
  }
  .govjobs-ad::after { top: 9px; right: 10px; }
  .govjobs-brand { padding-right: 54px; flex-direction: row; align-items: center; justify-content: space-between; gap: 9px; }
  .govjobs-brand-lockup img { width: 45px; height: 45px; }
  .govjobs-brand-lockup strong { font-size: 1.03rem; }
  .govjobs-brand-lockup small { margin-top: 5px; }
  .govjobs-live { padding-inline: 7px; font-size: .58rem; }
  .govjobs-copy { align-items: center; text-align: center; }
  .govjobs-kicker { font-size: .58rem; }
  .govjobs-copy > strong { margin-top: 7px; font-size: clamp(1.7rem, 9.5vw, 2.25rem); }
  .govjobs-copy > small { max-width: 310px; margin-top: 7px; font-size: .69rem; }
  .govjobs-scene { width: 100%; height: 96px; }
  .govjobs-scene::before { width: 126px; height: 126px; left: 50%; top: -16px; transform: translateX(-50%); animation-name: govjobs-radar-mobile; }
  .govjobs-orbit-one { width: 176px; height: 80px; left: 16%; top: 4px; }
  .govjobs-orbit-two { width: 90px; height: 90px; right: 5%; top: 2px; }
  .govjobs-job-card { min-height: 54px; grid-template-columns: 29px 1fr auto; gap: 6px; border-radius: 14px; }
  .govjobs-job-card > svg:first-child { width: 29px; height: 29px; padding: 6px; }
  .govjobs-job-card b { font-size: .64rem; }
  .govjobs-job-card small { font-size: .52rem; }
  .govjobs-job-card-one { width: 168px; left: 0; top: 0; }
  .govjobs-job-card-two { width: 166px; right: 0; bottom: 0; }
  .govjobs-scan-beam { height: 98px; }
  .govjobs-bolt { right: 10px; top: -14px; font-size: 2rem; }
  .govjobs-action { width: 100%; min-height: 42px; display: inline-flex; }
  .ruen-ad {
    min-height: 406px;
    margin-bottom: 46px;
    padding: 19px 18px;
    grid-template-columns: 1fr;
    align-items: start;
    gap: 12px;
    border-radius: 22px;
  }
  .ruen-ad::after { top: 9px; right: 10px; }
  .ruen-brand { padding-right: 48px; justify-content: flex-start; }
  .ruen-brand { gap: 13px; }
  .ruen-emblem { width: 54px; height: 54px; }
  .ruen-emblem img { width: 50px; height: 50px; }
  .ruen-brand-copy strong { font-size: 1.08rem; }
  .ruen-brand-copy small { max-width: 240px; display: block; margin-top: 5px; font-size: .57rem; }
  .ruen-copy { align-items: center; text-align: center; }
  .ruen-copy > strong { margin-top: 7px; font-size: clamp(1.65rem, 8.8vw, 2.15rem); }
  .ruen-copy > small { margin-top: 7px; font-size: .65rem; }
  .ruen-scene { width: 100%; height: 150px; border-radius: 16px; }
  .ruen-image-frame { inset: -58px -16px -108px; mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 94%, transparent 100%); }
  .ruen-image-frame img { object-position: 50% 32%; }
  .ruen-image-aura { width: 210px; height: 130px; left: 25%; top: 9px; }
  .ruen-image-orbit { width: 142px; height: 142px; left: calc(50% - 71px); top: 4px; }
  .ruen-star-one { left: 10%; }
  .ruen-star-two { right: 9%; }
  .ruen-action { width: 100%; min-height: 42px; display: inline-flex; }
  .filter-pills { justify-content: flex-start; max-width: 100%; }
  .directory-grid { grid-template-columns: 1fr; }
  .steps-list { grid-template-columns: 1fr; gap: 20px; }
  .steps-list li { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 14px; text-align: left; }
  .steps-list li:not(:last-child)::after { content: "↓"; top: auto; bottom: -18px; right: auto; left: 39px; }
  .steps-list strong { left: -2px; }
  .step-icon { margin: 0; }
  .privacy-panel { padding: 24px; grid-template-columns: 1fr; }
  .privacy-art { width: 112px; height: 114px; }
  .faq-grid { grid-template-columns: 1fr; }
  .newsletter { padding: 24px; grid-template-columns: 1fr; }
  .newsletter form { border-radius: 18px; flex-direction: column; gap: 8px; background: transparent; }
  .newsletter input { min-height: 48px; background: white; }
  .newsletter button { justify-content: center; }
  input, select, textarea { font-size: 16px; }
  .filter-pill, .catalog-filter { min-height: 44px; }
  .tool-dialog, .contact-dialog { width: min(100% - 20px, 540px); max-height: calc(100dvh - 20px); padding: 26px 20px 22px; border-radius: 22px; }
  .dialog-close, .contact-dialog-close { width: 44px; height: 44px; top: 10px; right: 10px; }
  .contact-line-id { padding-left: 14px; }
  .contact-line-id strong { font-size: 1.25rem; }
  .contact-line-id button { min-height: 44px; }
  .contact-line-action { width: 100%; min-height: 50px; }
  .form-message { grid-column: 1; margin: -18px 0 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; }
}

@media (max-width: 390px) {
  .language-button { min-width: 70px; padding-inline: 9px; gap: 6px; }
  .brand-logo { width: 34px; height: 34px; }
  .brand-wordmark { font-size: 1.2rem; }
  .brand-wordmark small { display: none; }
  .brand-lockup { width: 150px; }
  .tool-grid { grid-template-columns: 1fr; }
  .tool-card { display: block; }
  .tool-card-visual { height: auto; min-height: 0; }
  .tool-card-visual::before, .tool-card-visual::after { display: none; }
  .tool-card-art { width: 102px; height: 102px; }
  .tool-card-art[src*="-natural-"] { width: 114px; height: 114px; }
  .popular-extras { grid-template-columns: 1fr; }
  .govjobs-brand { padding-right: 42px; }
  .govjobs-live { max-width: 88px; line-height: 1.15; text-align: left; white-space: normal; }
  .govjobs-copy > small { max-width: 285px; }
  .govjobs-job-card-one { width: 158px; }
  .govjobs-job-card-two { width: 157px; }
  .govjobs-job-card em { display: none; }
  .ruen-brand { padding-right: 40px; }
  .ruen-brand-copy small { max-width: 200px; }
  .footer-grid { grid-template-columns: 1fr; }
}

.operation-gate[hidden] { display: none !important; }
body.operation-gate-open { overflow: hidden; }
.operation-gate {
  position: fixed;
  inset: 0;
  z-index: 100000;
  padding: 24px;
  display: grid;
  place-items: center;
  opacity: 0;
  transition: opacity .24s ease;
}
.operation-gate.is-visible { opacity: 1; }
.operation-gate.is-finishing { opacity: 0; pointer-events: none; }
.operation-gate-backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 8%, rgba(35, 93, 255, .29), transparent 34rem),
    radial-gradient(circle at 86% 86%, rgba(143, 76, 255, .27), transparent 32rem),
    rgba(5, 14, 40, .78);
  backdrop-filter: blur(18px) saturate(1.2);
}
.operation-gate-panel {
  width: min(1080px, 100%);
  max-height: calc(100dvh - 36px);
  padding: 58px 28px 22px;
  border: 1px solid rgba(255, 255, 255, .72);
  border-radius: 34px;
  position: relative;
  overflow: auto;
  color: #0a1738;
  text-align: center;
  background:
    linear-gradient(145deg, rgba(255,255,255,.98), rgba(242,247,255,.96)),
    #fff;
  box-shadow: 0 40px 110px rgba(0, 8, 34, .46), inset 0 1px 0 #fff;
  transform: translateY(18px) scale(.97);
  transition: transform .34s cubic-bezier(.2,.85,.2,1);
}
.operation-gate.is-visible .operation-gate-panel { transform: none; }
.operation-gate-panel::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg, #18dfd2, #235dff 52%, #8f4cff);
}
.operation-gate-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  position: absolute;
  top: 20px;
  left: 24px;
}
.operation-gate-brand img { width: 28px; height: 28px; }
.operation-gate-brand > span { display: inline-flex; align-items: center; color: #102048; font: 700 1rem/1 "Chakra Petch", sans-serif; }
.operation-gate-brand strong { margin-left: 2px; padding: 3px 6px 4px; border-radius: 6px; color: #fff; background: #0b1736; }
.operation-gate-brand small { margin-left: 3px; color: #235dff; font-size: .52rem; }
.operation-gate-main {
  max-width: 760px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 164px minmax(0, 1fr);
  align-items: center;
  gap: 30px;
}
.operation-gate-eyebrow {
  margin: 0 0 10px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  color: #526282;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .06em;
}
.operation-gate-eyebrow i { width: 22px; height: 1px; background: #235dff; }
.operation-gate-donut {
  --gate-angle: 0deg;
  --gate-radius: 56px;
  width: 164px;
  height: 164px;
  margin: 0;
  display: grid;
  place-items: center;
  position: relative;
  isolation: isolate;
}
.operation-gate-donut::before {
  content: "";
  width: 108px;
  height: 108px;
  position: absolute;
  z-index: 1;
  border: 1px solid rgba(255,255,255,.9);
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 25%, rgba(255,255,255,.98), rgba(248,251,255,.9) 38%, rgba(230,240,255,.76) 100%);
  box-shadow:
    inset 0 0 0 1px rgba(35,93,255,.05),
    inset 0 -16px 28px rgba(56,102,255,.08),
    0 15px 34px rgba(31,76,188,.16);
}
.operation-gate-donut::after {
  content: "";
  width: 154px;
  height: 154px;
  position: absolute;
  z-index: 0;
  border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(47,255,228,.3), transparent 23%, rgba(40,119,255,.26) 54%, transparent 72%, rgba(176,68,255,.25));
  filter: blur(9px);
  animation: operation-gate-spin 7s linear infinite;
}
.operation-gate-donut svg { width: 146px; height: 146px; position: relative; z-index: 2; transform: rotate(-90deg); filter: drop-shadow(0 13px 17px rgba(35, 93, 255, .17)); }
.operation-gate-donut circle { fill: none; }
.operation-gate-halo { stroke: rgba(35,93,255,.23); stroke-width: 1.5; stroke-dasharray: 2 8; }
.operation-gate-track { stroke: #dfe8f7; stroke-width: 13; }
.operation-gate-value-glow { stroke: url(#operationGateGradient); stroke-width: 20; stroke-linecap: round; opacity: .18; transition: stroke-dashoffset .1s linear; }
.operation-gate-value { stroke: url(#operationGateGradient); stroke-width: 11; stroke-linecap: round; transition: stroke-dashoffset .1s linear; }
.operation-gate-inner-ring { stroke: rgba(35,93,255,.13); stroke-width: 1; stroke-dasharray: 3 5; }
.operation-gate-donut > div {
  position: absolute;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.operation-gate-donut strong {
  font: 800 2.55rem/.95 "Chakra Petch", sans-serif;
  letter-spacing: -.065em;
  color: #235dff;
  background: linear-gradient(115deg, #10204a 5%, #235dff 52%, #8f4cff 95%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 5px 10px rgba(35,93,255,.13));
}
.operation-gate-donut span { margin-top: 7px; color: #536787; font-size: .64rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.operation-gate-progress-dot {
  width: 11px;
  height: 11px;
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 4;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #2fffe4;
  box-shadow: 0 0 0 4px rgba(47,255,228,.16), 0 0 18px 5px rgba(47,255,228,.62);
  transform-origin: 0 0;
  transform: rotate(calc(-90deg + var(--gate-angle))) translateX(var(--gate-radius)) translate(-50%, -50%);
  transition: transform .1s linear;
}
.operation-gate-progress-dot::after {
  content: "";
  position: absolute;
  inset: -6px;
  border: 1px solid rgba(47,255,228,.72);
  border-radius: inherit;
  animation: operation-gate-ping 1.15s ease-out infinite;
}
.operation-gate-orbit { position: absolute; border-radius: 50%; pointer-events: none; }
.operation-gate-orbit-one { width: 158px; height: 158px; border: 1px dashed rgba(35, 93, 255, .2); animation: operation-gate-spin 10s linear infinite; }
.operation-gate-orbit-two { width: 170px; height: 170px; border: 1px solid rgba(24, 223, 210, .15); animation: operation-gate-spin 16s linear reverse infinite; }
.operation-gate-orbit-one::before, .operation-gate-orbit-two::before { content: ""; width: 8px; height: 8px; border-radius: 50%; position: absolute; top: 21px; right: 18px; background: #235dff; box-shadow: 0 0 0 6px rgba(35,93,255,.1); }
.operation-gate-orbit-two::before { top: auto; right: auto; left: 5px; bottom: 55px; background: #18cdbf; box-shadow: 0 0 0 6px rgba(24,205,191,.1); }
.operation-gate-copy { min-width: 0; text-align: left; }
.operation-gate-copy h2 { margin: 4px 0 7px; font-size: clamp(1.55rem, 4vw, 2rem); line-height: 1.15; }
.operation-gate-copy p { max-width: 540px; margin: 0; color: #61708e; font-size: .84rem; line-height: 1.65; }
.operation-gate-copy > strong {
  max-width: 540px;
  margin: 10px 0 0;
  padding: 7px 12px;
  border-radius: 999px;
  display: block;
  overflow: hidden;
  color: #235dff;
  background: #edf2ff;
  font-size: .73rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.operation-gate-steps { max-width: 760px; margin: 15px auto 10px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.operation-gate-steps span { display: flex; flex-direction: column; align-items: center; gap: 6px; color: #8a95ab; font-size: .62rem; font-weight: 700; transition: color .2s ease; }
.operation-gate-steps i { width: 25px; height: 25px; border: 1px solid #d8e0ef; border-radius: 50%; display: grid; place-items: center; background: #fff; font-style: normal; transition: all .2s ease; }
.operation-gate-steps span.is-active { color: #18325f; }
.operation-gate-steps span.is-active i { border-color: #235dff; color: #fff; background: #235dff; box-shadow: 0 5px 12px rgba(35,93,255,.25); }
.operation-gate-progress { max-width: 760px; height: 7px; margin-inline: auto; border-radius: 999px; overflow: hidden; background: #e5eaf4; }
.operation-gate-progress i { width: 0; height: 100%; display: block; border-radius: inherit; background: linear-gradient(90deg, #18d9cc, #235dff 58%, #8f4cff); box-shadow: 0 0 12px rgba(35,93,255,.42); transition: width .1s linear; }
.operation-gate-ads { margin-top: 17px; padding-top: 15px; border-top: 1px solid #e5ebf5; text-align: left; }
.operation-gate-ads-heading { margin-bottom: 10px; display: flex; align-items: end; justify-content: space-between; gap: 18px; }
.operation-gate-ads-heading > span { display: grid; gap: 2px; }
.operation-gate-ads-heading small { color: #235dff; font-size: .62rem; font-weight: 900; letter-spacing: .06em; }
.operation-gate-ads-heading strong { color: #10204a; font: 800 1.02rem/1.25 "Chakra Petch", "Anuphan", sans-serif; }
.operation-gate-ads-heading p { margin: 0; color: #73809a; font-size: .62rem; }
.operation-gate-ad-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 11px; }
.operation-gate-ad {
  min-width: 0;
  min-height: 196px;
  border: 1px solid rgba(26,48,93,.11);
  border-radius: 20px;
  display: grid;
  grid-template-rows: 104px 1fr;
  position: relative;
  overflow: hidden;
  color: #10204a;
  text-decoration: none;
  background: linear-gradient(145deg,#fff,#f6f9ff);
  box-shadow: 0 9px 24px rgba(14,34,74,.08), inset 0 1px #fff;
  animation: operation-gate-ad-enter .44s cubic-bezier(.2,.8,.2,1) both;
  animation-delay: calc(var(--ad-order) * 55ms);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.operation-gate-ad:hover { transform: translateY(-4px); border-color: rgba(35,93,255,.28); box-shadow: 0 16px 32px rgba(14,34,74,.14); }
.operation-gate-ad:focus-visible { outline: 3px solid rgba(35,93,255,.42); outline-offset: 3px; }
.operation-gate-ad-image { min-width: 0; display: block; position: relative; overflow: hidden; background: linear-gradient(135deg,#e9f2ff,#f4edff); }
.operation-gate-ad-image::after { content: ""; position: absolute; inset: auto 0 0; height: 54%; background: linear-gradient(transparent,rgba(7,22,53,.16)); pointer-events: none; }
.operation-gate-ad-image img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: center; transform: scale(1.03); animation: operation-gate-ad-image 7s ease-in-out infinite alternate; }
.operation-gate-ad-nganrat .operation-gate-ad-image img,
.operation-gate-ad-krobapps .operation-gate-ad-image img,
.operation-gate-ad-ruenpayakorn .operation-gate-ad-image img,
.operation-gate-ad-ea2you .operation-gate-ad-image img { padding: 3px; object-fit: contain; }
.operation-gate-ad-nganrat .operation-gate-ad-image { background: linear-gradient(135deg,#172757,#1b68be); }
.operation-gate-ad-krobapps .operation-gate-ad-image { background: linear-gradient(135deg,#e5f3ff,#ebe6ff); }
.operation-gate-ad-ruenpayakorn .operation-gate-ad-image { background: linear-gradient(135deg,#0b261c,#174633); }
.operation-gate-ad-ea2you .operation-gate-ad-image { background: linear-gradient(135deg,#f8fcff,#dceeff); }
.operation-gate-ad-roomlino .operation-gate-ad-image { background: linear-gradient(135deg,#eff9ee,#fff7de); }
.operation-gate-ad-copy { min-width: 0; padding: 10px 11px 11px; display: grid; align-content: start; }
.operation-gate-ad-copy small { overflow: hidden; color: #54709f; font-size: .49rem; font-weight: 900; letter-spacing: .045em; text-overflow: ellipsis; white-space: nowrap; }
.operation-gate-ad-copy strong { margin-top: 2px; overflow: hidden; color: #10204a; font: 800 .8rem/1.2 "Chakra Petch","Anuphan",sans-serif; text-overflow: ellipsis; white-space: nowrap; }
.operation-gate-ad-copy span { min-height: 30px; margin-top: 3px; overflow: hidden; color: #65738e; font-size: .59rem; font-weight: 600; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.operation-gate-ad-copy b { margin-top: 5px; color: #235dff; font-size: .58rem; }
.operation-gate-ad-copy b i { font-style: normal; }
.operation-gate-ad-badge { position: absolute; top: 7px; right: 7px; z-index: 3; padding: 2px 6px; border: 1px solid rgba(255,255,255,.55); border-radius: 999px; color: #fff; background: rgba(9,25,58,.48); backdrop-filter: blur(7px); font-size: .46rem; font-weight: 800; }
.operation-gate-footer { margin-top: 12px; display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.operation-gate-note { margin-top: 0; padding: 10px 13px; border: 1px solid #dce6f7; border-radius: 15px; display: flex; align-items: center; gap: 10px; text-align: left; background: #f8fbff; }
.operation-gate-note > svg { width: 24px; flex: 0 0 24px; color: #13a879; }
.operation-gate-note b, .operation-gate-note small { display: block; }
.operation-gate-note b { font-size: .72rem; }
.operation-gate-note small { margin-top: 2px; color: #71809b; font-size: .64rem; }
.operation-gate-cancel { margin-top: 0; padding: 10px 15px; border: 1px solid #dfe5f0; border-radius: 999px; color: #6d7890; background: #fff; font: 700 .72rem/1 "Anuphan", sans-serif; cursor: pointer; }
.operation-gate-cancel:hover { color: #eb4160; }
@keyframes operation-gate-spin { to { transform: rotate(360deg); } }
@keyframes operation-gate-ping { 0% { opacity: .9; transform: scale(.55); } 80%, 100% { opacity: 0; transform: scale(1.5); } }
@keyframes operation-gate-ad-enter { from { opacity: 0; transform: translateY(9px) scale(.98); } }
@keyframes operation-gate-ad-image { from { transform: scale(1.02) translateX(-2px); } to { transform: scale(1.08) translateX(3px); } }

@media (max-width: 900px) {
  .operation-gate-panel { width: min(720px, 100%); }
  .operation-gate-ad-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .operation-gate-ad { min-height: 162px; grid-template-rows: 82px 1fr; }
}

@media (max-width: 560px) {
  .operation-gate { padding: 12px; }
  .operation-gate-panel { padding: 58px 14px 14px; border-radius: 27px; }
  .operation-gate-brand { top: 18px; left: 18px; }
  .operation-gate-main { grid-template-columns: 112px minmax(0, 1fr); gap: 13px; }
  .operation-gate-eyebrow { margin-bottom: 5px; font-size: .53rem; letter-spacing: .02em; }
  .operation-gate-eyebrow i { width: 11px; }
  .operation-gate-donut { --gate-radius: 39px; width: 112px; height: 112px; }
  .operation-gate-donut::before { width: 77px; height: 77px; }
  .operation-gate-donut::after { width: 108px; height: 108px; filter: blur(7px); }
  .operation-gate-donut svg { width: 102px; height: 102px; }
  .operation-gate-donut strong { font-size: 1.7rem; }
  .operation-gate-donut span { margin-top: 4px; font-size: .48rem; }
  .operation-gate-progress-dot { width: 9px; height: 9px; }
  .operation-gate-orbit-one { width: 108px; height: 108px; }
  .operation-gate-orbit-two { width: 116px; height: 116px; }
  .operation-gate-copy h2 { margin-block: 2px 4px; font-size: 1.17rem; }
  .operation-gate-copy p { font-size: .65rem; line-height: 1.45; }
  .operation-gate-copy > strong { margin-top: 6px; padding: 5px 8px; font-size: .58rem; }
  .operation-gate-steps { margin-top: 10px; }
  .operation-gate-steps span { font-size: .56rem; }
  .operation-gate-steps i { width: 22px; height: 22px; }
  .operation-gate-ads { margin-top: 11px; padding-top: 10px; }
  .operation-gate-ads-heading { margin-bottom: 7px; align-items: start; }
  .operation-gate-ads-heading strong { font-size: .83rem; }
  .operation-gate-ads-heading small { font-size: .5rem; }
  .operation-gate-ads-heading p { max-width: 145px; font-size: .5rem; line-height: 1.35; text-align: right; }
  .operation-gate-ad-grid { gap: 7px; }
  .operation-gate-ad { min-height: 137px; grid-template-rows: 66px 1fr; border-radius: 14px; }
  .operation-gate-ad-copy { padding: 7px 8px 8px; }
  .operation-gate-ad-copy small { display: none; }
  .operation-gate-ad-copy strong { margin-top: 0; font-size: .66rem; }
  .operation-gate-ad-copy span { min-height: 25px; margin-top: 2px; font-size: .5rem; line-height: 1.28; }
  .operation-gate-ad-copy b { margin-top: 2px; font-size: .5rem; }
  .operation-gate-ad-badge { top: 5px; right: 5px; font-size: .4rem; }
  .operation-gate-footer { margin-top: 8px; }
  .operation-gate-note { min-width: 0; padding: 8px 9px; }
  .operation-gate-note b { font-size: .6rem; }
  .operation-gate-note small { font-size: .52rem; }
  .operation-gate-note > svg { width: 20px; flex-basis: 20px; }
  .operation-gate-cancel { padding: 9px 12px; font-size: .62rem; }
}

@media (prefers-reduced-motion: reduce) {
  .operation-gate, .operation-gate-panel, .operation-gate-value, .operation-gate-progress i { transition: none; }
  .operation-gate-orbit, .operation-gate-ad, .operation-gate-ad-image img { animation: none; }
  .brand-logo, .brand-lockup, .hero-brand-lockup, .hero-title .hero-brand-name { animation: none; }
  .govjobs-ad-shine, .govjobs-live i, .govjobs-scene::before, .govjobs-job-card, .govjobs-scan-beam, .govjobs-bolt { animation: none; }
  .govjobs-ad, .govjobs-action svg { transition: none; }
  .ruen-ad-glow, .ruen-emblem::before, .ruen-label i, .ruen-image-frame img, .ruen-image-aura, .ruen-image-orbit, .ruen-star { animation: none; }
  .ruen-ad, .ruen-action svg { transition: none; }
}

@keyframes govjobs-radar-mobile {
  0%, 100% { transform: translateX(-50%) scale(.94); opacity: .55; }
  50% { transform: translateX(-50%) scale(1.04); opacity: 1; }
}

/* Layered fortune banner — artwork layers are ready for Spine-style rigging */
.ruen-ad-spine {
  min-height: 226px;
  margin-block: 18px 54px;
  padding: 24px 26px;
  grid-template-columns: minmax(270px, 330px) minmax(390px, 1fr) 168px;
  gap: 20px;
  background:
    radial-gradient(circle at 56% 48%, rgba(207,146,45,.2), transparent 27rem),
    radial-gradient(circle at 4% 0%, rgba(133,42,45,.28), transparent 21rem),
    linear-gradient(112deg, #0d211c 0%, #101c18 43%, #142b24 100%);
}
.ruen-ad-spine .ruen-info { min-width: 0; display: grid; align-content: center; gap: 11px; position: relative; z-index: 3; }
.ruen-ad-spine .ruen-brand { gap: 11px; }
.ruen-ad-spine .ruen-emblem { width: 58px; height: 58px; }
.ruen-ad-spine .ruen-emblem img { width: 54px; height: 54px; }
.ruen-ad-spine .ruen-brand-copy strong { font-size: 1.13rem; }
.ruen-ad-spine .ruen-brand-copy small { margin-top: 3px; font-size: .59rem; }
.ruen-ad-spine .ruen-copy { align-items: flex-start; }
.ruen-ad-spine .ruen-copy > strong { margin-top: 5px; font-size: clamp(1.45rem, 2.35vw, 2.05rem); }
.ruen-ad-spine .ruen-copy > small { margin-top: 2px; color: rgba(244,223,168,.68); font-size: .63rem; }
.ruen-service-pills { display: flex; flex-wrap: wrap; gap: 6px; }
.ruen-service-pills b { padding: 5px 8px; border: 1px solid rgba(228,188,96,.22); border-radius: 999px; color: #f7d985; background: rgba(7,21,18,.46); box-shadow: inset 0 1px rgba(255,255,255,.05); font-size: .58rem; }
.ruen-spine-stage { height: 178px; min-width: 0; display: block; position: relative; z-index: 2; perspective: 900px; isolation: isolate; }
.ruen-stage-halo { width: 68%; height: 70%; position: absolute; left: 16%; top: 15%; border: 1px solid rgba(231,190,93,.22); border-radius: 50%; background: radial-gradient(circle, rgba(240,194,89,.22), rgba(28,80,62,.08) 45%, transparent 70%); box-shadow: 0 0 38px rgba(224,169,61,.16), inset 0 0 30px rgba(226,179,70,.08); animation: ruen-stage-breathe 4s ease-in-out infinite; }
.ruen-stage-halo::before, .ruen-stage-halo::after { content: ""; position: absolute; inset: -13px 12%; border: 1px dashed rgba(238,199,111,.21); border-radius: 50%; animation: ruen-stage-orbit 18s linear infinite; }
.ruen-stage-halo::after { inset: 9px -5%; animation-direction: reverse; animation-duration: 13s; }
.ruen-spine-item { position: absolute; inset: -14px 0 -12px; display: grid; grid-template-columns: minmax(0,1fr) 132px; align-items: center; gap: 4px; opacity: 0; transform: translate3d(22px,5px,0) rotateY(-5deg) scale(.94); animation: ruen-layer-cycle 12s cubic-bezier(.22,.72,.2,1) infinite both; }
.ruen-spine-item img { width: 100%; height: 204px; display: block; object-fit: contain; filter: saturate(1.06) contrast(1.03) drop-shadow(0 15px 12px rgba(0,0,0,.3)); }
.ruen-spine-item b { align-self: end; padding: 6px 9px 2px; color: #ffe39b; font: 700 .92rem/1.15 "Chakra Petch","Anuphan",sans-serif; text-shadow: 0 3px 13px rgba(0,0,0,.75); }
.ruen-spine-item small { grid-column: 2; align-self: start; padding: 0 9px; color: rgba(247,224,168,.7); font-size: .59rem; line-height: 1.5; }
.ruen-spine-tarot { animation-delay: 0s; }
.ruen-spine-siamsi { animation-delay: 4s; }
.ruen-spine-brahma { animation-delay: 8s; }
.ruen-spine-siamsi img { height: 196px; }
.ruen-spine-brahma img { height: 198px; }
.ruen-particles { position: absolute; inset: 0; pointer-events: none; }
.ruen-particles i { width: 4px; height: 4px; position: absolute; border-radius: 50%; background: #f8d672; box-shadow: 0 0 8px #f2bf47, 0 0 16px rgba(245,193,70,.58); animation: ruen-particle 3s ease-in-out infinite; }
.ruen-particles i:nth-child(1) { left: 9%; top: 19%; }
.ruen-particles i:nth-child(2) { left: 28%; top: 7%; animation-delay: .6s; }
.ruen-particles i:nth-child(3) { left: 47%; top: 27%; animation-delay: 1.1s; }
.ruen-particles i:nth-child(4) { left: 65%; top: 8%; animation-delay: 1.8s; }
.ruen-particles i:nth-child(5) { right: 8%; top: 35%; animation-delay: .3s; }
.ruen-particles i:nth-child(6) { left: 16%; bottom: 11%; animation-delay: 1.4s; }
.ruen-particles i:nth-child(7) { left: 57%; bottom: 6%; animation-delay: 2.1s; }
.ruen-particles i:nth-child(8) { right: 12%; bottom: 17%; animation-delay: .9s; }
.ruen-action-wrap { display: grid; place-items: center; gap: 7px; position: relative; z-index: 4; }
.ruen-action-wrap > small { color: rgba(244,222,165,.54); font-size: .52rem; }
.ruen-ad-spine:hover .ruen-spine-item img { filter: saturate(1.12) contrast(1.05) drop-shadow(0 18px 14px rgba(0,0,0,.34)); }
@keyframes ruen-layer-cycle {
  0%, 2% { opacity: 0; transform: translate3d(24px,7px,0) rotateY(-6deg) scale(.94); }
  7%, 27% { opacity: 1; transform: translate3d(0,-2px,0) rotateY(0) scale(1); }
  31%, 100% { opacity: 0; transform: translate3d(-22px,-5px,0) rotateY(5deg) scale(.96); }
}
@keyframes ruen-stage-breathe { 0%,100% { opacity: .58; transform: scale(.9); } 50% { opacity: 1; transform: scale(1.08); } }
@keyframes ruen-stage-orbit { to { transform: rotate(360deg); } }
@keyframes ruen-particle { 0%,100% { opacity: .2; transform: translateY(6px) scale(.55); } 50% { opacity: 1; transform: translateY(-7px) scale(1.35); } }

@media (max-width: 1100px) {
  .ruen-ad-spine { grid-template-columns: 245px minmax(0,1fr) 145px; gap: 12px; }
  .ruen-spine-item { grid-template-columns: minmax(0,1fr) 100px; }
  .ruen-spine-item img { height: 188px; }
  .ruen-spine-item small { grid-column: 2; }
}
@media (max-width: 720px) {
  .ruen-ad-spine { min-height: 590px; padding: 20px 18px; grid-template-columns: 1fr; grid-template-rows: auto 286px auto; align-items: start; gap: 9px; }
  .ruen-ad-spine .ruen-info { gap: 9px; }
  .ruen-ad-spine .ruen-brand { padding-right: 42px; }
  .ruen-ad-spine .ruen-copy { align-items: center; text-align: center; }
  .ruen-ad-spine .ruen-copy > strong { font-size: clamp(1.7rem,8.8vw,2.2rem); }
  .ruen-service-pills { justify-content: center; }
  .ruen-spine-stage { height: 286px; }
  .ruen-stage-halo { width: 92%; height: 66%; left: 4%; top: 17%; }
  .ruen-spine-item { inset: -4px 0; grid-template-columns: 1fr; grid-template-rows: minmax(0,1fr) auto auto; gap: 0; text-align: center; }
  .ruen-spine-item img, .ruen-spine-siamsi img, .ruen-spine-brahma img { height: 236px; }
  .ruen-spine-item b { padding-top: 0; font-size: 1rem; }
  .ruen-spine-item small { grid-column: 1; padding-bottom: 2px; }
  .ruen-action-wrap { width: 100%; }
  .ruen-action-wrap .ruen-action { width: 100%; }
}
@media (max-width: 390px) {
  .ruen-ad-spine { min-height: 575px; padding-inline: 15px; }
  .ruen-ad-spine .ruen-brand-copy strong { font-size: 1rem; }
  .ruen-spine-item img, .ruen-spine-siamsi img, .ruen-spine-brahma img { height: 224px; }
}
@media (prefers-reduced-motion: reduce) {
  .ruen-stage-halo, .ruen-stage-halo::before, .ruen-stage-halo::after, .ruen-particles i { animation: none !important; }
  .ruen-spine-item { animation: none !important; opacity: 0; }
  .ruen-spine-tarot { opacity: 1; transform: none; }
}

/* Image-led rotating hero advertisements */
.hero-ad-rotator { margin-block: 10px 0; position: relative; }
.hero-ad-rotator[data-ad-slot="primary"] { margin-top: 18px; }
.hero-ad-rotator[data-ad-slot="tertiary"] { margin-block: 8px 12px; }
.hero-ad-rotator[data-ad-slot="tertiary"] + .steps-privacy { padding-top: 14px; }
.hero-ad-stage { height: 184px; min-height: 184px; position: relative; }
.ad-rotator-slide {
  width: 100%;
  height: 184px;
  min-height: 184px;
  margin: 0;
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: scale(.985);
  transition: opacity .7s ease, transform .7s cubic-bezier(.2,.8,.2,1), visibility .7s;
}
.ad-rotator-slide.is-active { opacity: 1; visibility: visible; pointer-events: auto; transform: none; }
.hero-ad-rotator .govjobs-ad:hover, .hero-ad-rotator .krobapps-ad:hover, .hero-ad-rotator .home-pool-ad:hover { transform: none; }
.hero-ad-meta {
  height: 18px;
  padding: 0 8px;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 6px;
  position: absolute;
  left: 50%;
  bottom: 7px;
  z-index: 9;
  color: rgba(255,255,255,.74);
  background: rgba(3,18,48,.5);
  backdrop-filter: blur(7px);
  transform: translateX(-50%);
  pointer-events: none;
}
.hero-ad-dots { display: inline-flex; gap: 4px; }
.hero-ad-dots i { width: 5px; height: 5px; border-radius: 50%; background: rgba(255,255,255,.42); transition: width .3s ease, background .3s ease; }
.hero-ad-dots i.is-active { width: 14px; border-radius: 99px; background: #ffd056; }
.hero-ad-timer { width: 34px; height: 2px; overflow: hidden; border-radius: 99px; background: rgba(255,255,255,.2); }
.hero-ad-timer i { width: 100%; height: 100%; display: block; background: #8ff7dc; transform: scaleX(0); transform-origin: left; }
.hero-ad-timer.is-running i { animation: hero-ad-progress 30s linear forwards; }
.hero-ad-meta small { font-size: .5rem; font-weight: 700; white-space: nowrap; }

.hero-ad-rotator .govjobs-ad {
  padding: 21px 22px;
  grid-template-columns: 178px 250px minmax(390px, 1fr) auto;
  gap: 18px;
}
.hero-ad-rotator .govjobs-brand-lockup img { width: 48px; height: 48px; }
.hero-ad-rotator .govjobs-brand-lockup strong { font-size: 1.12rem; }
.hero-ad-rotator .govjobs-brand-lockup small { margin-top: 5px; }
.hero-ad-rotator .govjobs-copy > strong { font-size: clamp(1.55rem, 2.4vw, 2.12rem); }
.hero-ad-rotator .govjobs-copy > small { margin-top: 8px; }
.govjobs-photo { height: 136px; position: relative; display: block; overflow: hidden; border-radius: 18px; mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 94%, transparent 100%); }
.govjobs-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,31,73,.32), transparent 26%, transparent 80%, rgba(7,39,92,.2)); pointer-events: none; }
.govjobs-photo img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: 50% 43%; filter: saturate(1.05) contrast(1.03); transform: scale(1.025); }
.is-active .govjobs-photo img { animation: govjobs-people-pan 8s ease-in-out infinite; }
.govjobs-photo-scan { width: 3px; height: 100%; position: absolute; left: 5%; top: 0; z-index: 2; border-radius: 99px; background: #4bc4ff; box-shadow: 0 0 8px #4bc4ff, 0 0 22px #246eff; opacity: 0; }
.is-active .govjobs-photo-scan { animation: govjobs-photo-scan 4.6s ease-in-out infinite; }
.govjobs-photo-spark { position: absolute; right: 6%; top: 8%; z-index: 3; color: #ffe66a; font-size: 1.3rem; text-shadow: 0 0 12px rgba(255,230,106,.8); }
.is-active .govjobs-photo-spark { animation: govjobs-photo-spark 2s ease-in-out infinite; }

.krobapps-ad {
  padding: 21px 22px;
  border: 1px solid rgba(140, 174, 255, .78);
  border-radius: 26px;
  display: grid;
  grid-template-columns: 170px 260px minmax(400px, 1fr) auto;
  align-items: center;
  gap: 18px;
  isolation: isolate;
  overflow: hidden;
  color: white;
  background:
    radial-gradient(circle at 87% 15%, rgba(45,225,255,.36), transparent 18rem),
    radial-gradient(circle at 17% 110%, rgba(130,75,255,.52), transparent 22rem),
    linear-gradient(112deg, #101d72 0%, #2536b8 49%, #0878d5 100%);
  box-shadow: 0 18px 42px rgba(31,55,170,.24), inset 0 1px rgba(255,255,255,.2);
}
.krobapps-ad::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .26; background-image: radial-gradient(circle, rgba(255,255,255,.78) 0 1px, transparent 1.5px); background-size: 28px 28px; mask-image: linear-gradient(90deg, transparent, #000 25%, #000 90%, transparent); }
.krobapps-ad::after { content: "โฆษณา"; position: absolute; top: 9px; right: 12px; z-index: 6; padding: 2px 7px; border: 1px solid rgba(255,255,255,.27); border-radius: 999px; color: rgba(255,255,255,.7); background: rgba(17,31,112,.4); font-size: .56rem; font-weight: 600; }
.krobapps-ad:focus-visible { outline: 4px solid color-mix(in srgb, #9ff1d1 70%, white); outline-offset: 4px; }
.krobapps-shine { width: 28%; height: 230%; position: absolute; left: -40%; top: -68%; z-index: 5; pointer-events: none; background: linear-gradient(90deg, transparent, rgba(255,255,255,.17), transparent); transform: rotate(18deg); }
.is-active .krobapps-shine { animation: krobapps-shine 5.8s ease-in-out infinite; }
.krobapps-brand { display: flex; align-items: center; gap: 10px; }
.krobapps-brand img { width: 52px; height: 52px; flex: none; filter: drop-shadow(0 8px 11px rgba(12,20,101,.36)); }
.krobapps-brand > span { display: flex; flex-direction: column; line-height: 1; }
.krobapps-brand strong { font: 700 1.3rem/1 "Chakra Petch", "Anuphan", sans-serif; letter-spacing: -.04em; white-space: nowrap; }
.krobapps-brand strong em { color: #9ff1d1; font-style: normal; }
.krobapps-brand small { margin-top: 7px; color: #b7c8ff; font: 700 .56rem/1 "Chakra Petch", sans-serif; letter-spacing: .12em; }
.krobapps-copy { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; }
.krobapps-kicker { min-height: 24px; padding: 0 9px; border-radius: 999px; display: inline-flex; align-items: center; gap: 7px; color: #14204c; background: #9ff1d1; font-size: .62rem; font-weight: 800; }
.krobapps-kicker i { width: 7px; height: 7px; border-radius: 50%; background: #12a570; box-shadow: 0 0 0 0 rgba(159,241,209,.55); }
.is-active .krobapps-kicker i { animation: krobapps-live 1.8s ease-out infinite; }
.krobapps-copy > strong { margin-top: 8px; font-size: clamp(1.55rem, 2.5vw, 2.2rem); font-weight: 800; line-height: 1; letter-spacing: -.05em; white-space: nowrap; }
.krobapps-copy > strong span { margin-left: .17em; color: #9ff1d1; }
.krobapps-copy > small { margin-top: 9px; color: #d3dcff; font-size: .75rem; font-weight: 700; }
.krobapps-photo { height: 136px; position: relative; display: block; overflow: hidden; border-radius: 18px; background: #e9f1ff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.5); mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 94%, transparent 100%); }
.krobapps-photo > img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: 53% 37%; filter: saturate(1.04) contrast(1.02); transform: scale(1.03); }
.is-active .krobapps-photo > img { animation: krobapps-owner-pan 8s ease-in-out infinite; }
.krobapps-float-card { min-height: 36px; padding: 5px 8px; border: 1px solid rgba(255,255,255,.75); border-radius: 11px; display: flex; align-items: center; gap: 6px; position: absolute; z-index: 2; color: #283381; background: rgba(255,255,255,.88); box-shadow: 0 8px 18px rgba(31,55,160,.22); backdrop-filter: blur(8px); }
.krobapps-float-card svg { width: 18px; color: #6554e9; }
.krobapps-float-card b { font-size: .58rem; }
.krobapps-float-sales { left: 7%; top: 10%; transform: rotate(-3deg); }
.krobapps-float-jobs { left: 18%; bottom: 8%; transform: rotate(3deg); }
.is-active .krobapps-float-sales { animation: krobapps-card-one 3.8s ease-in-out infinite; }
.is-active .krobapps-float-jobs { animation: krobapps-card-two 4.2s ease-in-out infinite; }
.krobapps-photo-spark { position: absolute; right: 5%; top: 8%; z-index: 2; color: #fff3a6; font-size: 1.4rem; text-shadow: 0 0 12px rgba(255,243,166,.8); }
.is-active .krobapps-photo-spark { animation: govjobs-photo-spark 2.1s ease-in-out infinite; }
.krobapps-action { min-height: 46px; padding: 0 17px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; color: #14204c; background: linear-gradient(135deg, #b4ffe2, #72e4c0); box-shadow: 0 9px 22px rgba(57,220,180,.25), inset 0 1px rgba(255,255,255,.8); font-size: .78rem; font-weight: 800; white-space: nowrap; }
.krobapps-action svg { width: 17px; transition: transform .22s ease; }
.krobapps-ad:hover .krobapps-action svg { transform: translate(2px,-2px); }

.home-pool-ad {
  padding: 20px 22px;
  border: 1px solid rgba(255,255,255,.38);
  border-radius: 26px;
  display: grid;
  grid-template-columns: minmax(330px,1.05fr) minmax(310px,.9fr) auto;
  align-items: center;
  gap: 22px;
  isolation: isolate;
  overflow: hidden;
  box-shadow: 0 18px 42px rgba(21,42,83,.2), inset 0 1px rgba(255,255,255,.25);
}
.home-pool-ad::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .28; background-image: radial-gradient(circle,rgba(255,255,255,.75) 0 1px,transparent 1.5px); background-size: 30px 30px; mask-image: linear-gradient(90deg,transparent,#000 32%,#000 88%,transparent); }
.home-pool-ad::after { content: "โฆษณา"; position: absolute; top: 9px; right: 12px; z-index: 6; padding: 2px 7px; border: 1px solid currentColor; border-radius: 999px; opacity: .62; font-size: .54rem; font-weight: 700; }
.home-pool-ad:focus-visible { outline: 4px solid color-mix(in srgb,#8cecff 68%,white); outline-offset: 4px; }
.home-pool-visual { width: 100%; height: 142px; border-radius: 19px; display: block; position: relative; overflow: hidden; background: rgba(255,255,255,.14); box-shadow: inset 0 0 0 1px rgba(255,255,255,.22),0 12px 28px rgba(3,21,56,.2); }
.home-pool-visual img { width: 100%; height: 100%; display: block; object-fit: cover; transform: scale(1.025); }
.home-pool-visual--contain img { object-fit: contain; padding: 4px; }
.home-pool-visual i { position: absolute; inset: 0; background: linear-gradient(110deg,transparent 28%,rgba(255,255,255,.22) 47%,transparent 66%); transform: translateX(-130%); }
.is-active .home-pool-visual i { animation: home-pool-shine 6s ease-in-out infinite; }
.home-pool-copy { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; }
.home-pool-kicker { min-height: 23px; padding: 0 9px; border: 1px solid rgba(255,255,255,.32); border-radius: 999px; display: inline-flex; align-items: center; font-size: .59rem; font-weight: 800; letter-spacing: .02em; background: rgba(255,255,255,.13); }
.home-pool-brand { min-height: 28px; margin-top: 7px; display: flex; align-items: center; gap: 8px; }
.home-pool-brand img { width: 28px; height: 28px; object-fit: contain; }
.home-pool-brand b { font: 800 1rem/1 "Chakra Petch","Anuphan",sans-serif; }
.home-pool-copy > strong { margin-top: 6px; font-size: clamp(1.45rem,2.25vw,2rem); font-weight: 850; line-height: 1; letter-spacing: -.045em; white-space: nowrap; }
.home-pool-copy > strong span { margin-left: .18em; color: var(--pool-accent,#d7ff47); }
.home-pool-copy > small { margin-top: 8px; opacity: .82; font-size: .7rem; font-weight: 650; }
.home-pool-action { min-height: 46px; padding: 0 17px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; color: var(--pool-action-ink,#082448); background: var(--pool-accent,#d7ff47); box-shadow: 0 10px 24px color-mix(in srgb,var(--pool-accent,#d7ff47) 28%,transparent),inset 0 1px rgba(255,255,255,.8); font-size: .76rem; font-weight: 850; white-space: nowrap; }
.home-pool-action svg { width: 17px; }
.home-ruen-ad { --pool-accent:#e9bd61; --pool-action-ink:#251a08; color:#f7e3ae; background: radial-gradient(circle at 20% 120%,rgba(177,113,28,.38),transparent 24rem),linear-gradient(112deg,#071d18,#113226 54%,#24331d); border-color:rgba(223,178,80,.66); }
.home-ruen-ad .home-pool-visual { background: radial-gradient(circle,rgba(206,161,70,.22),transparent 65%),#071a15; }
.home-ea2you-ad { --pool-accent:#0964e8; --pool-action-ink:#fff; color:#0b2a57; background:radial-gradient(circle at 86% 0,rgba(77,171,255,.24),transparent 21rem),linear-gradient(112deg,#ffffff,#f2f9ff 58%,#e4f2ff); border-color:rgba(64,137,214,.46); box-shadow:0 18px 42px rgba(44,100,164,.18),inset 0 1px rgba(255,255,255,.96); }
.home-ea2you-ad::before { opacity:.2; background-image:linear-gradient(rgba(50,119,192,.19) 1px,transparent 1px),linear-gradient(90deg,rgba(50,119,192,.19) 1px,transparent 1px); background-size:30px 30px; mask-image:linear-gradient(90deg,#000,rgba(0,0,0,.5) 55%,transparent); }
.home-ea2you-ad .home-pool-visual { background:linear-gradient(145deg,#f8fcff,#e8f5ff); box-shadow:inset 0 0 0 1px rgba(80,147,214,.24),0 12px 28px rgba(55,111,170,.14); }
.home-ea2you-ad .home-pool-visual img { padding:3px; object-fit:contain; transform:none; }
.home-ea2you-ad .home-pool-kicker { color:#0757bd; border-color:rgba(8,104,231,.22); background:rgba(255,255,255,.72); }
.home-ea2you-ad .home-pool-brand b { font-size:1.16rem; letter-spacing:-.04em; font-style:italic; }
.home-ea2you-ad .home-pool-brand b span { color:#ff6426; }
.home-ea2you-ad .home-pool-copy > strong span { color:#0868e7; }
.home-ea2you-ad .home-pool-action { background:linear-gradient(135deg,#0b73f7,#0756c7); box-shadow:0 10px 24px rgba(8,104,231,.28),inset 0 1px rgba(255,255,255,.34); }
.home-roomlino-ad { --pool-accent:#174e3b; --pool-action-ink:#fff; color:#163a30; background: radial-gradient(circle at 82% 12%,rgba(255,255,255,.75),transparent 17rem),linear-gradient(112deg,#e9f7ee,#c9ebda 56%,#9fd6bd); border-color:rgba(39,126,95,.42); }
.home-roomlino-ad::before { opacity:.18; }
.home-roomlino-logo { width: 120px !important; height: 27px !important; object-position:left center; }

@keyframes home-pool-shine { 0%,62% { transform:translateX(-130%); } 88%,100% { transform:translateX(130%); } }

@keyframes hero-ad-progress { to { transform: scaleX(1); } }
@keyframes govjobs-people-pan { 0%,100% { transform: translateX(-5px) scale(1.025); } 50% { transform: translateX(6px) scale(1.055); } }
@keyframes govjobs-photo-scan { 0%,12% { left: 4%; opacity: 0; } 22%,78% { opacity: .72; } 88%,100% { left: 96%; opacity: 0; } }
@keyframes govjobs-photo-spark { 0%,100% { transform: scale(.7) rotate(0); opacity: .35; } 50% { transform: scale(1.16) rotate(24deg); opacity: 1; } }
@keyframes krobapps-shine { 0%,58% { left: -40%; } 86%,100% { left: 128%; } }
@keyframes krobapps-live { 0% { box-shadow: 0 0 0 0 rgba(159,241,209,.55); } 75%,100% { box-shadow: 0 0 0 8px rgba(159,241,209,0); } }
@keyframes krobapps-owner-pan { 0%,100% { transform: translateX(-4px) scale(1.03); } 50% { transform: translateX(6px) scale(1.07); } }
@keyframes krobapps-card-one { 0%,100% { transform: translateY(0) rotate(-3deg); } 50% { transform: translateY(-7px) rotate(-1deg); } }
@keyframes krobapps-card-two { 0%,100% { transform: translateY(0) rotate(3deg); } 50% { transform: translateY(6px) rotate(1deg); } }

@media (max-width: 1100px) {
  .hero-ad-rotator .govjobs-ad, .krobapps-ad { grid-template-columns: 155px 225px minmax(0,1fr); gap: 15px; }
  .hero-ad-rotator .govjobs-action, .krobapps-action { display: none; }
  .hero-ad-rotator .govjobs-brand-lockup img, .krobapps-brand img { width: 44px; height: 44px; }
  .hero-ad-rotator .govjobs-brand-lockup strong, .krobapps-brand strong { font-size: 1.02rem; }
  .hero-ad-rotator .govjobs-copy > strong, .krobapps-copy > strong { font-size: clamp(1.45rem,3.3vw,1.9rem); }
  .home-pool-ad { grid-template-columns: minmax(280px,1fr) minmax(280px,.9fr); gap:16px; }
  .home-pool-action { display:none; }
}

@media (max-width: 720px) {
  .hero-ad-stage { height: 414px; min-height: 414px; }
  .ad-rotator-slide { height: 414px; min-height: 414px; }
  .hero-ad-rotator .govjobs-ad, .krobapps-ad { padding: 18px; grid-template-columns: 1fr; grid-template-rows: auto auto minmax(0,1fr) auto; align-items: start; gap: 10px; border-radius: 22px; }
  .hero-ad-rotator .govjobs-brand, .krobapps-brand { padding-right: 48px; flex-direction: row; align-items: center; justify-content: flex-start; gap: 10px; }
  .hero-ad-rotator .govjobs-live { margin-left: auto; }
  .hero-ad-rotator .govjobs-copy, .krobapps-copy { align-items: center; text-align: center; }
  .hero-ad-rotator .govjobs-copy > strong, .krobapps-copy > strong { margin-top: 7px; font-size: clamp(1.65rem,8.8vw,2.2rem); }
  .hero-ad-rotator .govjobs-copy > small, .krobapps-copy > small { max-width: 305px; margin-top: 7px; font-size: .66rem; }
  .govjobs-photo, .krobapps-photo { width: 100%; height: 166px; border-radius: 16px; }
  .govjobs-photo img { object-position: 50% 45%; }
  .krobapps-photo > img { object-position: 54% 37%; }
  .hero-ad-rotator .govjobs-action, .krobapps-action { width: 100%; min-height: 42px; display: inline-flex; }
  .home-pool-ad { padding:18px; grid-template-columns:1fr; grid-template-rows:166px minmax(0,1fr) 42px; align-items:start; gap:10px; border-radius:22px; }
  .home-pool-visual { height:166px; border-radius:16px; }
  .home-pool-copy { align-items:center; text-align:center; }
  .home-pool-kicker { min-height:21px; font-size:.54rem; }
  .home-pool-brand { margin-top:5px; }
  .home-pool-copy > strong { margin-top:5px; font-size:clamp(1.55rem,8.3vw,2.05rem); white-space:normal; }
  .home-pool-copy > small { margin-top:6px; font-size:.64rem; }
  .home-pool-action { width:100%; min-height:42px; display:inline-flex; }
  .hero-ad-meta { bottom: 55px; }
}

@media (max-width: 390px) {
  .hero-ad-rotator .govjobs-brand-lockup img, .krobapps-brand img { width: 40px; height: 40px; }
  .hero-ad-rotator .govjobs-brand-lockup strong, .krobapps-brand strong { font-size: .96rem; }
  .hero-ad-rotator .govjobs-live { max-width: 76px; }
  .govjobs-photo, .krobapps-photo { height: 160px; }
}

@media (prefers-reduced-motion: reduce) {
  .ad-rotator-slide, .hero-ad-dots i { transition: none; }
  .hero-ad-timer i, .govjobs-photo img, .govjobs-photo-scan, .govjobs-photo-spark, .krobapps-shine, .krobapps-kicker i, .krobapps-photo > img, .krobapps-float-card, .krobapps-photo-spark, .home-pool-visual i { animation: none !important; }
}

/* EA2YOU × RoomLino animated brand banner */
.tool-directory:has(+ .network-ad-rotator) { padding-bottom: 28px; }
.network-ad-rotator { margin-block: 8px 12px; padding-bottom: 18px; position: relative; }
.network-ad-rotator + .steps-privacy { padding-top: 14px; padding-bottom: 30px; }
.steps-privacy + .faq-section { padding-top: 26px; }
.network-ad-stage { min-height: 194px; position: relative; }
.network-ad-slide { min-height: 194px; padding: 18px 24px; border-radius: 26px; display: grid; grid-template-columns: minmax(400px,520px) minmax(300px,1fr) auto; align-items: center; gap: 20px; position: absolute; inset: 0; overflow: hidden; opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(9px) scale(.993); transition: opacity .7s ease, transform .7s ease, visibility .7s; box-shadow: 0 20px 44px rgba(18,31,65,.17); }
.network-ad-slide.is-active { opacity: 1; visibility: visible; pointer-events: auto; transform: none; }
.network-ad-slide:focus-visible { outline: 4px solid color-mix(in srgb, #1456ff 70%, white); outline-offset: 4px; }
.network-ad-slide::after { content: "โฆษณา"; position: absolute; top: 9px; right: 12px; z-index: 8; padding: 2px 7px; border: 1px solid currentColor; border-radius: 999px; opacity: .54; font-size: .54rem; font-weight: 700; }
.network-ad-visual { height: 158px; min-width: 0; border-radius: 20px; display: block; position: relative; isolation: isolate; overflow: hidden; }
.network-ad-copy { min-width: 0; display: grid; justify-items: start; align-content: center; position: relative; z-index: 3; }
.network-ad-kicker { min-height: 25px; padding: 0 9px; border-radius: 999px; display: inline-flex; align-items: center; gap: 6px; font-size: .59rem; font-weight: 900; letter-spacing: .05em; }
.network-ad-kicker i { width: 6px; height: 6px; border-radius: 50%; animation: network-ad-pulse 1.8s ease-out infinite; }
.network-ad-copy > strong { margin-top: 8px; font-family: "Chakra Petch","Anuphan",sans-serif; font-size: clamp(1.38rem,1.85vw,1.68rem); line-height: 1.14; letter-spacing: -.02em; }
.network-ad-copy > strong span { display: block; }
.network-ad-copy > small { margin-top: 8px; opacity: .78; font-size: .65rem; font-weight: 650; line-height: 1.45; }
.network-ad-action { min-height: 48px; padding: 0 17px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; position: relative; z-index: 4; white-space: nowrap; font-size: .73rem; font-weight: 900; transition: transform .2s ease, box-shadow .2s ease; }
.network-ad-action svg { width: 16px; }
.network-ad-slide:hover .network-ad-action { transform: translateY(-2px); }

.ea2you-network-ad { color: #fff6e8; background: radial-gradient(circle at 68% 20%, rgba(132,70,255,.24), transparent 22rem), radial-gradient(circle at 20% 80%, rgba(28,219,139,.18), transparent 19rem), linear-gradient(112deg,#060907,#11120f 48%,#060807); border: 1px solid rgba(223,176,78,.34); }
.ea2you-network-ad::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.026) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.026) 1px,transparent 1px); background-size: 34px 34px; mask-image: linear-gradient(90deg,#000,transparent 75%); }
.ea2you-network-visual { border: 1px solid rgba(224,177,79,.5); background: #050705; box-shadow: inset 0 1px rgba(255,255,255,.15),0 12px 26px rgba(0,0,0,.3); }
.ea2you-network-visual::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg,transparent 45%,rgba(5,8,6,.25)),linear-gradient(0deg,rgba(5,8,6,.55),transparent 52%); }
.ea2you-network-visual > img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: 50% 58%; animation: ea2you-visual-pan 9s ease-in-out infinite alternate; }
.ea2you-network-visual > b { position: absolute; left: 14px; bottom: 10px; z-index: 4; color: #fff2ce; font-size: .57rem; letter-spacing: .13em; }
.ea2you-scan { width: 120%; height: 2px; position: absolute; left: -10%; top: 4%; z-index: 3; background: linear-gradient(90deg,transparent,#67ffc2,transparent); box-shadow: 0 0 14px #67ffc2; animation: ea2you-scan-line 4.2s ease-in-out infinite; }
.ea2you-node { width: 8px; height: 8px; position: absolute; z-index: 4; border: 2px solid #ffe098; border-radius: 50%; background: #fff; box-shadow: 0 0 0 5px rgba(255,204,91,.12),0 0 16px #ffd66b; animation: ea2you-node-pulse 2s ease-in-out infinite; }
.ea2you-node.node-one { left: 35%; top: 63%; }
.ea2you-node.node-two { left: 55%; top: 48%; animation-delay: .6s; }
.ea2you-node.node-three { left: 71%; top: 70%; animation-delay: 1.2s; }
.ea2you-wordmark { margin-top: 6px; font-family: "Chakra Petch","Anuphan",sans-serif; font-size: clamp(1.45rem,2vw,1.9rem); font-weight: 900; font-style: italic; line-height: 1; letter-spacing: -.07em; }
.ea2you-wordmark > span { display: inline; color: #ff552b; font-size: 1.14em; }
.ea2you-wordmark small { margin-left: 5px; color: #e2b850; font-size: .42em; letter-spacing: .01em; }
.ea2you-network-ad .network-ad-kicker { color: #ffd98a; background: rgba(228,178,69,.12); }
.ea2you-network-ad .network-ad-kicker i { background: #5effbb; box-shadow: 0 0 0 4px rgba(94,255,187,.13); }
.ea2you-network-ad .network-ad-copy > strong { margin-top: 8px; }
.ea2you-network-ad .network-ad-copy > strong span { color: #e5bb5e; }
.ea2you-network-ad .network-ad-copy > small { margin-top: 8px; }
.ea2you-network-ad .network-ad-action { color: #071009; background: linear-gradient(135deg,#f3ca6c,#fff0aa); box-shadow: 0 10px 23px rgba(225,175,62,.18); }

.roomlino-network-ad { color: #083a25; background: radial-gradient(circle at 12% 10%,rgba(220,177,78,.18),transparent 18rem),linear-gradient(112deg,#fffdf5,#f5eedb 60%,#edf7ec); border: 1px solid rgba(10,93,57,.28); }
.roomlino-network-ad::before { content: ""; position: absolute; width: 340px; height: 340px; right: -100px; bottom: -235px; border: 36px solid rgba(5,92,52,.08); border-radius: 50%; }
.roomlino-network-visual { border: 1px solid rgba(4,74,43,.18); background: linear-gradient(140deg,#f9f2dc,#e8f5ea); box-shadow: inset 0 1px #fff,0 12px 25px rgba(19,74,46,.12); }
.roomlino-dashboard-card { width: min(62%,280px); height: 120px; padding: 14px; position: absolute; left: 18px; top: 16px; border: 6px solid #173228; border-radius: 13px; display: grid; grid-template-columns: repeat(3,1fr); grid-template-rows: 21px 1fr; gap: 7px; background: #fff; box-shadow: 0 14px 23px rgba(11,57,35,.19); transform: rotate(-3deg); animation: roomlino-dashboard-float 5s ease-in-out infinite; }
.roomlino-dashboard-card > i { border-radius: 5px; background: #eaf4ed; }
.roomlino-dashboard-card > i:nth-child(2) { background: #fff0ca; }
.roomlino-dashboard-card > i:nth-child(3) { background: #e6eeff; }
.roomlino-dashboard-card > b { grid-column: 1 / -1; padding: 7px 8px 3px; display: flex; align-items: end; gap: 8px; border-radius: 7px; background: linear-gradient(#f8fbf9,#eef6f1); }
.roomlino-dashboard-card > b em { width: 22%; border-radius: 4px 4px 1px 1px; background: #0b8755; animation: roomlino-bars 2.8s ease-in-out infinite alternate; }
.roomlino-dashboard-card > b em:nth-child(1) { height: 42%; }
.roomlino-dashboard-card > b em:nth-child(2) { height: 68%; animation-delay: .4s; }
.roomlino-dashboard-card > b em:nth-child(3) { height: 51%; animation-delay: .8s; }
.roomlino-dashboard-card > b em:nth-child(4) { height: 87%; animation-delay: 1.2s; }
.roomlino-property-stack { width: min(45%,210px); position: absolute; right: 12px; top: 17px; display: grid; grid-template-columns: repeat(2,1fr); gap: 7px; transform: rotate(2deg); }
.roomlino-property-stack img { width: 100%; height: 54px; border: 3px solid #fff; border-radius: 9px; display: block; object-fit: cover; box-shadow: 0 7px 14px rgba(9,60,36,.15); animation: roomlino-property-float 4.4s ease-in-out infinite; }
.roomlino-property-stack img:nth-child(2) { animation-delay: .5s; }
.roomlino-property-stack img:nth-child(3) { animation-delay: 1s; }
.roomlino-property-stack img:nth-child(4) { animation-delay: 1.5s; }
.roomlino-occupancy { width: 64px; height: 64px; position: absolute; left: 54%; bottom: 8px; border: 6px solid #fff; border-radius: 50%; display: grid; place-items: center; align-content: center; color: #fff; background: conic-gradient(#0c8a57 0 72%,#f2bd4c 72%); box-shadow: 0 8px 18px rgba(7,66,39,.2); animation: roomlino-occupancy-pulse 3s ease-in-out infinite; }
.roomlino-occupancy::before { content: ""; position: absolute; inset: 8px; border-radius: 50%; background: #0b4f32; }
.roomlino-occupancy b,.roomlino-occupancy small { position: relative; z-index: 1; }
.roomlino-occupancy b { font-size: .75rem; }
.roomlino-occupancy small { font-size: .39rem; }
.roomlino-wordmark { width: min(180px,100%); height: 36px; margin-top: 3px; display: block; object-fit: contain; object-position: left center; }
.roomlino-network-ad .network-ad-kicker { color: #075134; background: rgba(7,111,68,.1); }
.roomlino-network-ad .network-ad-kicker i { background: #e5b84c; box-shadow: 0 0 0 4px rgba(229,184,76,.15); }
.roomlino-network-copy > strong span { color: #aa7520; }
.roomlino-network-ad .network-ad-action { color: #fff; background: linear-gradient(135deg,#075638,#0b8354); box-shadow: 0 10px 22px rgba(4,90,54,.18); }

.network-ad-meta { height: 18px; position: absolute; left: 22px; right: 22px; bottom: 0; display: flex; align-items: center; gap: 8px; color: var(--muted); }
.network-ad-dots { display: inline-flex; gap: 5px; }
.network-ad-dots i { width: 6px; height: 6px; border-radius: 999px; display: block; background: color-mix(in srgb,var(--muted) 25%,transparent); transition: width .3s ease,background .3s ease; }
.network-ad-dots i.is-active { width: 20px; background: var(--blue); }
.network-ad-timer { width: 76px; height: 3px; border-radius: 999px; overflow: hidden; background: color-mix(in srgb,var(--muted) 18%,transparent); }
.network-ad-timer i { width: 100%; height: 100%; display: block; border-radius: inherit; background: var(--blue); transform: scaleX(0); transform-origin: left; }
.network-ad-timer.is-running i { animation: network-ad-progress 15s linear forwards; }
.network-ad-meta small { font-size: .56rem; }

@keyframes network-ad-progress { to { transform: scaleX(1); } }
@keyframes network-ad-pulse { 0% { box-shadow: 0 0 0 0 currentColor; } 75%,100% { box-shadow: 0 0 0 8px transparent; } }
@keyframes ea2you-visual-pan { from { transform: scale(1.04) translateX(-4px); } to { transform: scale(1.11) translateX(7px); } }
@keyframes ea2you-scan-line { 0%,10% { top: 3%; opacity: 0; } 22%,78% { opacity: .85; } 92%,100% { top: 95%; opacity: 0; } }
@keyframes ea2you-node-pulse { 0%,100% { transform: scale(.8); opacity: .55; } 50% { transform: scale(1.18); opacity: 1; } }
@keyframes roomlino-dashboard-float { 0%,100% { transform: translateY(0) rotate(-3deg); } 50% { transform: translateY(-6px) rotate(-1deg); } }
@keyframes roomlino-bars { from { transform: scaleY(.7); transform-origin: bottom; } to { transform: scaleY(1.08); transform-origin: bottom; } }
@keyframes roomlino-property-float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
@keyframes roomlino-occupancy-pulse { 0%,100% { transform: scale(.96); } 50% { transform: scale(1.04); } }

@media (max-width: 1100px) {
  .network-ad-slide { grid-template-columns: minmax(300px,370px) minmax(230px,1fr); }
  .network-ad-action { display: none; }
}

@media (max-width: 760px) {
  .tool-directory:has(+ .network-ad-rotator) { padding-bottom: 22px; }
  .network-ad-rotator { margin-bottom: 12px; }
  .network-ad-rotator + .steps-privacy { padding-top: 14px; padding-bottom: 24px; }
  .steps-privacy + .faq-section { padding-top: 22px; }
  .network-ad-stage,.network-ad-slide { min-height: 490px; }
  .network-ad-slide { padding: 18px; grid-template-columns: 1fr; grid-template-rows: 224px auto 44px; align-items: start; gap: 12px; border-radius: 22px; }
  .network-ad-visual { width: 100%; height: 224px; }
  .network-ad-copy { justify-items: center; text-align: center; }
  .network-ad-copy > strong { font-size: clamp(1.65rem,8.4vw,2.2rem); }
  .network-ad-copy > small { max-width: 320px; }
  .network-ad-action { width: 100%; min-height: 44px; display: inline-flex; }
  .ea2you-network-visual > img { object-position: 50% 60%; }
  .roomlino-dashboard-card { width: 58%; height: 168px; top: 27px; }
  .roomlino-property-stack { width: 45%; right: 10px; top: 22px; }
  .roomlino-property-stack img { height: 80px; }
  .roomlino-occupancy { left: 51%; bottom: 9px; }
  .network-ad-meta { bottom: -1px; }
}

@media (max-width: 430px) {
  .network-ad-stage,.network-ad-slide { min-height: 505px; }
  .network-ad-slide { grid-template-rows: 214px auto 44px; padding: 15px; }
  .network-ad-visual { height: 214px; }
  .network-ad-copy > small { font-size: .61rem; }
  .ea2you-wordmark { font-size: 1.75rem; }
  .roomlino-dashboard-card { left: 10px; width: 61%; height: 157px; }
  .roomlino-property-stack { width: 43%; right: 7px; }
  .roomlino-property-stack img { height: 73px; }
  .roomlino-occupancy { width: 58px; height: 58px; left: 50%; }
}

@media (prefers-reduced-motion: reduce) {
  .network-ad-slide,.network-ad-dots i { transition: none; }
  .network-ad-timer i,.network-ad-kicker i,.ea2you-network-visual > img,.ea2you-scan,.ea2you-node,.roomlino-dashboard-card,.roomlino-dashboard-card > b em,.roomlino-property-stack img,.roomlino-occupancy { animation: none !important; }
}

/* Featured direct-send banner above the homepage ad rotator */
.direct-home-ad { min-height: 184px; margin-block: 18px 10px; padding: 16px 20px; border: 1px solid rgba(71,208,255,.68); border-radius: 27px; display: grid; grid-template-columns: minmax(315px,390px) minmax(300px,1fr) auto; align-items: center; gap: 20px; position: relative; isolation: isolate; overflow: hidden; color: #fff; background: radial-gradient(circle at 84% 4%,rgba(54,207,255,.23),transparent 22rem),radial-gradient(circle at 18% 105%,rgba(20,86,255,.28),transparent 21rem),linear-gradient(120deg,#071a46,#0b2a66 55%,#0a4776); box-shadow: 0 18px 42px rgba(10,54,122,.22),inset 0 1px rgba(255,255,255,.14); transition: transform .25s ease,box-shadow .25s ease,border-color .25s ease; }
.direct-home-ad::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .18; background-image: linear-gradient(rgba(255,255,255,.11) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.11) 1px,transparent 1px); background-size: 32px 32px; mask-image: linear-gradient(90deg,#000,transparent 76%); }
.direct-home-ad:hover { transform: translateY(-3px); border-color: #7fe7ff; box-shadow: 0 25px 54px rgba(20,35,110,.28),inset 0 1px rgba(255,255,255,.2); }
.direct-home-ad:focus-visible { outline: 4px solid color-mix(in srgb,#c8ff18 70%,white); outline-offset: 4px; }
.direct-home-shine { width: 24%; height: 230%; position: absolute; left: -35%; top: -65%; z-index: 7; pointer-events: none; background: linear-gradient(90deg,transparent,rgba(255,255,255,.17),transparent); transform: rotate(16deg); animation: direct-home-shine 6s ease-in-out infinite; }
.direct-home-copy { min-width: 0; display: grid; justify-items: start; align-content: center; position: relative; z-index: 4; }
.direct-home-kicker { min-height: 25px; padding: 0 10px; border: 1px solid rgba(159,239,255,.24); border-radius: 999px; display: inline-flex; align-items: center; gap: 7px; color: #c6f7ff; background: rgba(52,205,255,.1); font-size: .61rem; font-weight: 800; letter-spacing: .04em; }
.direct-home-kicker i { width: 7px; height: 7px; border-radius: 50%; background: #c8ff18; box-shadow: 0 0 0 0 rgba(200,255,24,.65); animation: direct-home-live 1.8s ease-out infinite; }
.direct-home-copy > strong { margin-top: 8px; font-family: "Chakra Petch","Anuphan",sans-serif; font-size: clamp(1.75rem,3vw,2.45rem); line-height: 1.12; letter-spacing: -.035em; }
.direct-home-copy > strong em { padding: .02em .22em .04em; border-radius: .25em; color: #102000; background: #c8ff18; font-style: normal; font-size: .72em; letter-spacing: -.02em; vertical-align: .12em; box-shadow: 0 5px 16px rgba(200,255,24,.16); }
.direct-home-copy > strong span { display: block; color: #79e9ff; text-shadow: 0 0 24px rgba(54,207,255,.2); }
.direct-home-copy > small { margin-top: 9px; color: #c9d6ef; font-size: .67rem; font-weight: 650; line-height: 1.45; }
.direct-home-trust { margin-top: 9px; display: flex; flex-wrap: wrap; gap: 6px; }
.direct-home-trust b { min-height: 23px; padding: 0 8px; border: 1px solid rgba(255,255,255,.12); border-radius: 999px; display: inline-flex; align-items: center; color: #e8eeff; background: rgba(255,255,255,.07); font-size: .54rem; font-weight: 700; }
.direct-home-trust .direct-home-limit { gap: 5px; border-color: rgba(121,233,255,.34); color: #d9fbff; background: rgba(54,207,255,.14); font-weight: 850; }
.direct-home-limit svg { width: 12px; height: 12px; color: #c8ff18; stroke-width: 2.5; }
.direct-home-visual { height: 150px; min-width: 0; border: 1px solid rgba(99,225,255,.48); border-radius: 20px; display: block; position: relative; overflow: hidden; background: #071a46; box-shadow: inset 0 1px rgba(255,255,255,.14),0 13px 28px rgba(1,26,73,.28); }
.direct-home-visual::after { content: ""; position: absolute; inset: 0; z-index: 2; background: linear-gradient(90deg,rgba(4,20,61,.28),transparent 30% 72%,rgba(4,29,73,.18)),linear-gradient(0deg,rgba(2,18,53,.38),transparent 48%); }
.direct-home-visual > img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: 50% 48%; animation: direct-home-image 8s ease-in-out infinite alternate; }
.direct-home-beam { width: 125%; height: 3px; position: absolute; left: -12%; top: 8%; z-index: 4; background: linear-gradient(90deg,transparent,#82f2ff 35% 65%,transparent); box-shadow: 0 0 16px #36cfff,0 0 30px rgba(20,86,255,.48); animation: direct-home-scan 4.2s ease-in-out infinite; }
.direct-home-file { width: 33px; height: 38px; position: absolute; z-index: 5; border: 1px solid rgba(255,255,255,.68); border-radius: 10px; display: grid; place-items: center; color: #10255f; background: rgba(255,255,255,.9); box-shadow: 0 8px 18px rgba(3,9,52,.32); opacity: 0; }
.direct-home-file svg { width: 16px; }
.direct-home-file.file-one { top: 25px; animation: direct-home-file-flight 5.2s ease-in-out infinite; }
.direct-home-file.file-two { top: 62px; color: #1456ff; animation: direct-home-file-flight 5.2s 1.7s ease-in-out infinite; }
.direct-home-file.file-three { top: 94px; color: #087f69; animation: direct-home-file-flight 5.2s 3.4s ease-in-out infinite; }
.direct-home-route { min-height: 23px; padding: 0 9px; position: absolute; left: 50%; bottom: 8px; z-index: 6; border: 1px solid rgba(255,255,255,.18); border-radius: 999px; display: inline-flex; align-items: center; gap: 7px; color: #f7fbff; background: rgba(4,12,49,.72); backdrop-filter: blur(8px); transform: translateX(-50%); font-size: .53rem; }
.direct-home-route i { width: 6px; height: 6px; border-radius: 50%; background: #59f5c2; box-shadow: 0 0 9px #59f5c2; }
.direct-home-route i:last-child { background: #36cfff; box-shadow: 0 0 9px #36cfff; }
.direct-home-action { min-width: 134px; min-height: 48px; padding: 0 17px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; position: relative; z-index: 5; color: #102000; background: linear-gradient(135deg,#c8ff18,#edff8f); box-shadow: 0 11px 24px rgba(194,255,24,.2); font-size: .75rem; font-weight: 900; white-space: nowrap; }
.direct-home-action svg { width: 17px; transition: transform .22s ease; }
.direct-home-ad:hover .direct-home-action svg { transform: translateX(3px); }
.direct-home-disclosure { position: absolute; right: 12px; top: 9px; z-index: 8; padding: 2px 7px; border: 1px solid rgba(255,255,255,.3); border-radius: 999px; color: rgba(255,255,255,.68); background: rgba(4,12,49,.25); font-size: .53rem; font-weight: 700; }

@keyframes direct-home-shine { 0%,58% { left:-35%; opacity:0; } 68% { opacity:1; } 86%,100% { left:125%; opacity:0; } }
@keyframes direct-home-live { 0% { box-shadow:0 0 0 0 rgba(200,255,24,.6); } 80%,100% { box-shadow:0 0 0 9px rgba(200,255,24,0); } }
@keyframes direct-home-image { from { transform:scale(1.03) translateX(-3px); } to { transform:scale(1.1) translateX(5px); } }
@keyframes direct-home-scan { 0%,9% { top:5%; opacity:0; } 22%,78% { opacity:.9; } 92%,100% { top:94%; opacity:0; } }
@keyframes direct-home-file-flight { 0%,9% { left:12%; opacity:0; transform:translateY(7px) rotate(-8deg) scale(.7); } 25% { opacity:1; } 70% { opacity:1; } 91%,100% { left:82%; opacity:0; transform:translateY(-7px) rotate(8deg) scale(.92); } }

@media (max-width: 1080px) {
  .direct-home-ad { grid-template-columns: minmax(285px,345px) minmax(250px,1fr) auto; gap: 15px; }
  .direct-home-action { min-width: 112px; padding-inline: 13px; }
  .direct-home-trust b:last-child { display: none; }
}

@media (max-width: 800px) {
  .direct-home-ad { min-height: 458px; padding: 16px; grid-template-columns: 1fr; grid-template-rows: auto 205px 44px; align-items: start; gap: 13px; border-radius: 23px; }
  .direct-home-copy { justify-items: center; text-align: center; }
  .direct-home-copy > strong { font-size: clamp(2rem,8.4vw,2.55rem); line-height: 1.13; }
  .direct-home-copy > small { font-size: .64rem; }
  .direct-home-trust { justify-content: center; }
  .direct-home-trust b:last-child { display: inline-flex; }
  .direct-home-visual { width: 100%; height: 205px; }
  .direct-home-visual > img { object-position: 50% 50%; }
  .direct-home-action { width: 100%; min-height: 44px; }
}

@media (max-width: 430px) {
  .direct-home-ad { min-height: 450px; margin-top: 14px; padding: 14px; grid-template-rows: auto 194px 44px; }
  .direct-home-kicker { min-height: 23px; }
  .direct-home-copy > strong { font-size: clamp(1.85rem,9vw,2.15rem); }
  .direct-home-trust { margin-top: 7px; }
  .direct-home-trust b { min-height: 21px; padding-inline: 7px; }
  .direct-home-visual { height: 194px; }
}

@media (prefers-reduced-motion: reduce) {
  .direct-home-ad,.direct-home-shine,.direct-home-kicker i,.direct-home-visual > img,.direct-home-beam,.direct-home-file,.direct-home-action svg { animation:none !important; transition:none !important; }
  .direct-home-file { opacity:.8; }
  .direct-home-file.file-one { left:18%; }
  .direct-home-file.file-two { left:48%; }
  .direct-home-file.file-three { left:76%; }
}
