/* occ42: the occupations hub /occupations — hero, tabs, job cards, the job page (in place or on its own address), the quiz
   "อาชีพไหนเหมาะกับคุณ", the landing / homepage banner. Built on the web32 tokens (day / night: :root[data-theme]). */
.o42-body, .o42-banner, .o42-quiz, .o42-ov {
  --o42-warrior: #ff8a5c; --o42-scout: #46e0a0; --o42-arcane: #a487ff; --o42-faith: #ffd36a; --o42-soon: #93a6d6;
  --o42-card: var(--x32-panel, linear-gradient(180deg, rgba(40, 46, 116, .58), rgba(14, 16, 50, .8)));
  --o42-solid: var(--x32-panel-solid, #12153f);
  --o42-line: var(--x32-line, rgba(245, 205, 106, .2)); --o42-line2: var(--x32-line2, rgba(245, 205, 106, .52));
  --o42-ink: var(--x32-ink, #eef0ff); --o42-ink2: var(--x32-ink2, #c6cbef); --o42-mute: var(--x32-mute, #959cc9);
  --o42-head: var(--x32-head, #fff4d6); --o42-acc: var(--x32-acc, #f5cd6a);
  --o42-gold: var(--x32-gold, linear-gradient(180deg, #fff7d6 0%, #f8d77f 34%, #e1a73e 66%, #b4771a 100%));
  --o42-shadow: var(--x32-shadow, 0 24px 60px rgba(3, 4, 22, .55));
  --o42-chip: var(--x32-chip, rgba(18, 22, 62, .6));
  --o42-serif: var(--x32-serif, Kanit, "Noto Sans Thai", system-ui, sans-serif);
}
:root[data-theme="light"] .o42-body, :root[data-theme="light"] .o42-banner, :root[data-theme="light"] .o42-quiz, :root[data-theme="light"] .o42-ov,
.theme-light .o42-banner {
  --o42-warrior: #d9542a; --o42-scout: #0f9a63; --o42-arcane: #6a46e0; --o42-faith: #b9860f; --o42-soon: #5a6c9c;
}
.o42 *, .o42-banner *, .o42-quiz *, .o42-ov * { box-sizing: border-box; }
.p-warrior { --pc: var(--o42-warrior); } .p-scout { --pc: var(--o42-scout); } .p-arcane { --pc: var(--o42-arcane); } .p-faith { --pc: var(--o42-faith); } .p-soon { --pc: var(--o42-soon); }
html.o42-lock, html.o42-lock body { overflow: hidden; }

.o42 { max-width: var(--x32-wrap, 1200px); margin: 0 auto; padding: 18px 16px 96px; color: var(--o42-ink); overflow-wrap: anywhere; }
.o42 h1, .o42 h2, .o42 h3 { font-family: var(--o42-serif); color: var(--o42-head); margin: 0; line-height: 1.2; }
.o42 a { color: inherit; }
.o42-crumb { margin: 0 0 8px; font-size: .86rem; color: var(--o42-mute); }
.o42-crumb a { color: var(--o42-acc); text-decoration: none; }
.o42-crumb a:hover { text-decoration: underline; }

/* buttons */
.o42-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; padding: 10px 18px; border-radius: 999px; font: 600 .98rem/1.1 inherit; font-family: inherit;
  border: 1px solid var(--o42-line2); background: var(--o42-chip); color: var(--o42-ink); cursor: pointer; text-decoration: none; transition: transform .15s ease, box-shadow .15s ease, filter .15s ease; white-space: nowrap; }
.o42-btn:hover { transform: translateY(-2px); }
.o42-btn:focus-visible, .o42-tab:focus-visible, .o42-opt:focus-visible, .o42-cardlink:focus-visible { outline: 3px solid var(--o42-acc); outline-offset: 2px; }
.o42-gold, a.o42-gold, .o42 a.o42-gold { background: var(--o42-gold); color: #2a1a00; border-color: rgba(255, 236, 170, .9); box-shadow: 0 8px 26px rgba(225, 167, 62, .45), inset 0 1px 0 rgba(255, 255, 255, .7); }
.o42-gold:hover { filter: brightness(1.06); box-shadow: 0 10px 32px rgba(225, 167, 62, .6), inset 0 1px 0 rgba(255, 255, 255, .7); }
.o42-ghost { background: transparent; }
.o42-big { min-height: 54px; padding: 14px 28px; font-size: 1.1rem; }
.o42-small { min-height: 36px; padding: 6px 14px; font-size: .88rem; }
.o42-linkbtn { background: none; border: 0; color: var(--o42-mute); font: inherit; text-decoration: underline; cursor: pointer; padding: 10px; min-height: 44px; }
.o42-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }

/* hero */
.o42-hero { position: relative; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 20px; align-items: center; padding: 26px 26px 22px; border-radius: 28px; overflow: hidden;
  background: radial-gradient(120% 140% at 85% 20%, rgba(164, 135, 255, .28), transparent 55%), radial-gradient(90% 120% at 10% 100%, rgba(245, 205, 106, .18), transparent 60%), var(--o42-card);
  border: 1px solid var(--o42-line2); box-shadow: var(--o42-shadow); }
.o42-hero::before { content: ""; position: absolute; inset: -40% -10% auto auto; width: 70%; aspect-ratio: 1; background: conic-gradient(from 0deg, transparent, rgba(255, 220, 140, .12), transparent 30%); animation: o42spin 28s linear infinite; pointer-events: none; }
.o42-hero-in { position: relative; min-width: 0; }
.o42-hero h1 { font-size: clamp(1.7rem, 4.2vw, 2.9rem); background: var(--x32-headgrad, linear-gradient(180deg, #fffaf0, #ffe49d 46%, #e6a741)); -webkit-background-clip: text; background-clip: text; color: transparent; text-shadow: none; padding-bottom: 2px; }
.o42-lead { margin: 10px 0 0; color: var(--o42-ink2); font-size: 1.05rem; line-height: 1.55; max-width: 60ch; }
.o42-stats { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 0; padding: 0; }
.o42-stats li { display: flex; flex-direction: column; min-width: 92px; padding: 8px 14px; border-radius: 16px; background: var(--o42-chip); border: 1px solid var(--o42-line); }
.o42-stats b { font-family: var(--o42-serif); font-size: 1.5rem; color: var(--o42-acc); line-height: 1.1; }
.o42-stats span { font-size: .8rem; color: var(--o42-mute); }
.o42-stats .jc454-sub { font-size: .72rem; line-height: 1.25; color: var(--o42-mute); opacity: .9; margin-top: 2px; font-variant-numeric: tabular-nums; } /* jobs454: what the number counts (base + new) */
.o42-stats .o42-upd { flex-direction: column; justify-content: center; }
.o42-stats .o42-upd time { font-weight: 600; color: var(--o42-ink); font-size: .95rem; }
.o42-parade { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; justify-items: center; align-self: stretch; align-content: center; }
.o42-parade img { width: 100%; max-width: 128px; height: auto; filter: drop-shadow(0 10px 14px rgba(0, 0, 0, .4)); animation: o42bob 4s ease-in-out infinite; }
.o42-parade img:nth-child(3n+2) { animation-delay: -1.3s; transform: translateY(14px); }
.o42-parade img:nth-child(3n) { animation-delay: -2.6s; }
.o42-next { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 2px 12px; align-items: center; margin-top: 18px; padding: 12px 16px; border-radius: 18px;
  background: linear-gradient(90deg, rgba(255, 107, 138, .2), rgba(164, 135, 255, .12)); border: 1px solid rgba(255, 140, 170, .55); box-shadow: 0 0 24px rgba(255, 107, 138, .22); }
.o42-next-k { grid-row: span 2; font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: #ff8fab; padding: 4px 10px; border-radius: 999px; border: 1px solid currentColor; }
.o42-next strong { color: var(--o42-head); font-size: 1.05rem; }
.o42-next-t { font-size: .85rem; color: var(--o42-ink2); }
.o42-next .o42-cd { grid-column: 1 / -1; }
.o42-cd { display: inline-block; font-variant-numeric: tabular-nums; font-weight: 700; color: #ff9fb6; letter-spacing: .02em; }
.o42-cd.live { color: #6ef0b4; }
.o42-cd-big { font-size: 1.25rem; font-family: var(--o42-serif); }
:root[data-theme="light"] .o42-cd { color: #c72c58; }
:root[data-theme="light"] .o42-cd.live { color: #0f8a55; }
:root[data-theme="light"] .o42-next-k { color: #c72c58; }

/* tabs + grid */
.o42-list { margin-top: 26px; }
.o42-tabs { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 10px; scrollbar-width: thin; -webkit-overflow-scrolling: touch; position: sticky; top: 0; z-index: 3;
  background: linear-gradient(180deg, var(--o42-solid) 70%, transparent); margin: 0 -4px; padding-left: 4px; padding-right: 4px; }
.o42-tab { flex: 0 0 auto; min-height: 42px; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--o42-line2); background: var(--o42-chip); color: var(--o42-ink); font: 600 .95rem/1 inherit; font-family: inherit; cursor: pointer; white-space: nowrap; }
.o42-tab b { display: inline-block; min-width: 1.6em; margin-left: 4px; padding: 2px 7px; border-radius: 999px; background: rgba(255, 255, 255, .1); font-size: .82rem; }
.o42-tab.on { background: var(--o42-gold); color: #2a1a00; border-color: transparent; box-shadow: 0 6px 18px rgba(225, 167, 62, .4); }
.o42-tab.on b { background: rgba(0, 0, 0, .14); }
.o42-tabnote { margin: 4px 0 12px; color: var(--o42-ink2); font-size: .9rem; }
.o42-grid { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr)); gap: 14px; }
.o42-card { position: relative; border-radius: 22px; background: var(--o42-card); border: 1px solid color-mix(in srgb, var(--pc) 45%, transparent); box-shadow: var(--o42-shadow); overflow: hidden; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.o42-card[hidden] { display: none !important; }
.o42-card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 90% at 0% 0%, color-mix(in srgb, var(--pc) 26%, transparent), transparent 60%); pointer-events: none; }
.o42-card:hover { transform: translateY(-4px); border-color: var(--pc); box-shadow: 0 0 0 1px var(--pc), 0 14px 40px color-mix(in srgb, var(--pc) 35%, transparent); }
.o42-cardlink { position: relative; display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 4px 12px; padding: 12px 14px 14px 8px; text-decoration: none; color: inherit; height: 100%; border-radius: inherit; }
.o42-art { position: relative; display: flex; align-items: flex-end; justify-content: center; min-height: 124px; }
.o42-art img { width: 100%; height: auto; max-height: 132px; object-fit: contain; filter: drop-shadow(0 8px 10px rgba(0, 0, 0, .4)); transition: transform .25s ease; }
.o42-card:hover .o42-art img { transform: scale(1.06) translateY(-3px); }
.o42-card.is-soon .o42-art img { filter: grayscale(.45) brightness(.8) drop-shadow(0 8px 10px rgba(0, 0, 0, .4)); }
.o42-art > .o42-emb { position: absolute; left: 0; top: 0; width: 30px; height: 30px; }
.o42-badge { position: absolute; right: -2px; top: 2px; z-index: 1; padding: 3px 8px; border-radius: 999px; font-size: .7rem; font-weight: 800; letter-spacing: .03em; color: #fff; background: #ff5d84; box-shadow: 0 4px 12px rgba(255, 93, 132, .5); }
.o42-badge.soon { background: linear-gradient(180deg, #8b7bff, #5a48d6); box-shadow: 0 4px 12px rgba(90, 72, 214, .5); }
.o42-badge.open { background: linear-gradient(180deg, #3fd99a, #16a36a); }
.o42-dmeta .o42-badge, .o42-detail .o42-badge { position: static; display: inline-block; }
.o42-ctxt { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.o42-name { font-family: var(--o42-serif); font-size: 1.18rem; color: var(--o42-head); line-height: 1.15; }
.o42-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: .82rem; }
.o42-path { font-weight: 700; color: var(--pc); }
.o42-diff { color: var(--o42-acc); letter-spacing: 1px; }
.o42-diff i { font-style: normal; opacity: .25; }
.o42-roles { display: flex; flex-wrap: wrap; gap: 4px; margin: 0; }
.o42-chip { display: inline-block; padding: 2px 9px; border-radius: 999px; font-size: .75rem; background: color-mix(in srgb, var(--pc, #93a6d6) 16%, transparent); border: 1px solid color-mix(in srgb, var(--pc, #93a6d6) 40%, transparent); color: var(--o42-ink); }
.o42-pitch { font-size: .88rem; color: var(--o42-ink2); line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.o42-when { display: flex; flex-wrap: wrap; gap: 4px 10px; margin: 2px 0 0; font-size: .82rem; color: var(--o42-ink2); }
.o42-match { align-self: flex-start; padding: 3px 10px; border-radius: 999px; font-size: .78rem; font-weight: 700; background: rgba(110, 240, 180, .14); color: #7cf2bf; border: 1px solid rgba(110, 240, 180, .45); }
.o42-match.hi { background: var(--o42-gold); color: #2a1a00; border-color: transparent; }
:root[data-theme="light"] .o42-match { color: #0f7a4c; }

/* emblems */
.o42-emb { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; color: #1a1030; flex: 0 0 auto;
  background: radial-gradient(circle at 35% 30%, #fff 0%, var(--pc) 45%, color-mix(in srgb, var(--pc) 60%, #000) 100%); box-shadow: 0 0 12px color-mix(in srgb, var(--pc) 60%, transparent), inset 0 0 0 1.5px rgba(255, 255, 255, .5); }
.o42-emb svg { width: 64%; height: 64%; }
.o42-emb-big { width: 96px; height: 96px; }
.o42-art > .o42-emb-big { position: static; width: 84px; height: 84px; margin-bottom: 18px; }

/* paths + how-to */
.o42-paths, .o42-howto { margin-top: 34px; }
.o42-paths h2, .o42-howto h2 { font-size: clamp(1.35rem, 3vw, 1.9rem); }
.o42-sub { color: var(--o42-ink2); margin: 6px 0 14px; }
.o42-pgrid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 14px; }
.o42-pcard { position: relative; padding: 18px; border-radius: 22px; background: var(--o42-card); border: 1px solid color-mix(in srgb, var(--pc) 50%, transparent); box-shadow: var(--o42-shadow); overflow: hidden; }
.o42-pcard::after { content: ""; position: absolute; right: -40px; top: -40px; width: 160px; height: 160px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--pc) 35%, transparent), transparent 70%); pointer-events: none; }
.o42-pcard .o42-emb-big { width: 58px; height: 58px; }
.o42-pcard h3 { margin-top: 10px; font-size: 1.25rem; color: var(--pc); }
.o42-pcard h3 b { font-size: .9rem; color: var(--o42-mute); margin-left: 6px; }
.o42-pcard p { color: var(--o42-ink2); margin: 6px 0 0; line-height: 1.5; font-size: .92rem; }
.o42-pjobs { display: flex; flex-wrap: wrap; gap: 6px; }
.o42-pjobs a { padding: 3px 10px; border-radius: 999px; font-size: .8rem; text-decoration: none; background: var(--o42-chip); border: 1px solid var(--o42-line); color: var(--o42-ink); }
.o42-pjobs a.soon { opacity: .65; border-style: dashed; }
.o42-pjobs a:hover { border-color: var(--pc); }
.o42-howto ol { margin: 12px 0 0; padding: 18px 18px 18px 38px; border-radius: 22px; background: var(--o42-card); border: 1px solid var(--o42-line2); line-height: 1.6; color: var(--o42-ink2); }
.o42-howto li + li { margin-top: 6px; }

/* the job page */
.o42-jobpage { padding-top: 12px; }
.o42-detail { position: relative; color: var(--o42-ink); }
.o42-dhead { position: relative; display: grid; grid-template-columns: minmax(150px, 260px) minmax(0, 1fr); gap: 22px; align-items: center; padding: 22px; border-radius: 28px; overflow: hidden;
  background: radial-gradient(120% 120% at 15% 30%, color-mix(in srgb, var(--pc) 32%, transparent), transparent 60%), var(--o42-card); border: 1px solid color-mix(in srgb, var(--pc) 60%, transparent); box-shadow: var(--o42-shadow); }
.o42-dart { position: relative; display: grid; place-items: center; min-height: 220px; }
.o42-dart img { position: relative; width: 100%; max-width: 230px; height: auto; filter: drop-shadow(0 16px 20px rgba(0, 0, 0, .45)); animation: o42bob 4.5s ease-in-out infinite; }
.o42-halo { position: absolute; inset: 8% 4%; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--pc) 55%, transparent), transparent 68%); filter: blur(4px); animation: o42pulse 3.5s ease-in-out infinite; }
.o42-dtxt { min-width: 0; }
.o42-dtxt h1 { font-size: clamp(1.8rem, 5vw, 3rem); color: var(--o42-head); text-shadow: 0 0 24px color-mix(in srgb, var(--pc) 50%, transparent); }
.o42-dmeta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 8px 0; }
.o42-dpitch { font-size: 1.08rem; line-height: 1.55; color: var(--o42-ink2); margin: 10px 0 0; }
.o42-launch { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; margin-top: 12px; padding: 10px 14px; border-radius: 16px; border: 1px solid rgba(255, 140, 170, .55); background: rgba(255, 107, 138, .12); }
.o42-launch > span:first-child { font-weight: 700; color: #ff9fb6; }
:root[data-theme="light"] .o42-launch > span:first-child { color: #c72c58; }
.o42-dgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 16px; }
.o42-box { padding: 16px 18px; border-radius: 22px; background: var(--o42-card); border: 1px solid var(--o42-line2); box-shadow: var(--o42-shadow); min-width: 0; }
.o42-box h2 { font-size: 1.15rem; margin-bottom: 10px; color: var(--o42-head); display: flex; align-items: center; gap: 8px; }
.o42-box h2::before { content: ""; width: 6px; height: 1.05em; border-radius: 3px; background: var(--pc, var(--o42-acc)); box-shadow: 0 0 10px var(--pc, var(--o42-acc)); }
.o42-box ul, .o42-box ol { margin: 0; padding-left: 20px; line-height: 1.6; color: var(--o42-ink2); }
.o42-box li + li { margin-top: 4px; }
.o42-fit ul { list-style: none; padding: 0; }
.o42-fit li::before { content: "💡 "; }
.o42-hl ul { list-style: none; padding: 0; }
.o42-hl li::before { content: "✦ "; color: var(--pc); font-weight: 900; }
.o42-skills { grid-column: 1 / -1; }
.o42-skills ul { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 10px; }
.o42-skills li { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 10px; align-items: center; margin: 0; padding: 10px; border-radius: 16px; background: var(--o42-chip); border: 1px solid var(--o42-line); }
.o42-skills li div { display: flex; flex-direction: column; min-width: 0; }
.o42-skills strong { color: var(--o42-ink); }
.o42-skills span { font-size: .84rem; color: var(--o42-ink2); }
.o42-skills em { font-style: normal; font-size: .74rem; color: var(--o42-acc); text-align: right; white-space: nowrap; }
.o42-skic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; color: #fff; background: linear-gradient(145deg, color-mix(in srgb, var(--pc) 85%, #fff), color-mix(in srgb, var(--pc) 55%, #000)); box-shadow: 0 0 12px color-mix(in srgb, var(--pc) 50%, transparent), inset 0 1px 0 rgba(255, 255, 255, .5); }
.o42-skic svg { width: 66%; height: 66%; }
.o42-skic.e-fire { background: linear-gradient(145deg, #ffb36b, #d63c1c); } .o42-skic.e-water { background: linear-gradient(145deg, #8fd8ff, #1f6ed0); }
.o42-skic.e-wind { background: linear-gradient(145deg, #b8ffcf, #1d9b62); } .o42-skic.e-earth { background: linear-gradient(145deg, #e8c48f, #8a5a20); }
.o42-skic.e-holy { background: linear-gradient(145deg, #fff6c7, #d9a520); color: #3a2a00; } .o42-skic.e-shadow, .o42-skic.e-dark { background: linear-gradient(145deg, #b59bff, #3b2386); }
.o42-skic.e-poison { background: linear-gradient(145deg, #d6a0ff, #5f2a91); } .o42-skic.e-ghost { background: linear-gradient(145deg, #d8e0ff, #5c6aa8); }
.o42-note { margin: 10px 0 0; font-size: .82rem; color: var(--o42-mute); }
.o42-bars { list-style: none; padding: 0 !important; display: grid; gap: 8px; }
.o42-bars li { display: grid; grid-template-columns: minmax(70px, 30%) minmax(0, 1fr) 36px; gap: 10px; align-items: center; margin: 0 !important; }
.o42-bars span { font-size: .88rem; color: var(--o42-ink2); }
.o42-bars b { font-size: .8rem; color: var(--o42-mute); text-align: right; }
.o42-bar { position: relative; display: block; height: 12px; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid var(--o42-line); overflow: hidden; }
:root[data-theme="light"] .o42-bar { background: rgba(20, 50, 120, .07); }
.o42-bar > i { position: absolute; inset: 0 auto 0 0; border-radius: inherit; background: linear-gradient(90deg, color-mix(in srgb, var(--pc, #f5cd6a) 70%, #fff), var(--pc, #f5cd6a)); box-shadow: 0 0 10px var(--pc, #f5cd6a); animation: o42grow .9s ease-out both; }
.o42-bar > .v1 { width: 20%; } .o42-bar > .v2 { width: 40%; } .o42-bar > .v3 { width: 60%; } .o42-bar > .v4 { width: 80%; } .o42-bar > .v5 { width: 100%; }
.o42-gear dl { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 6px 14px; margin: 0; }
.o42-gear dt { color: var(--o42-mute); font-size: .88rem; }
.o42-gear dd { margin: 0; font-weight: 600; }
.o42-pc2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.o42-pc2 ul { list-style: none; padding: 0; }
.o42-pc2 .pro li::before { content: "＋ "; color: #5fe3a1; font-weight: 900; }
.o42-pc2 .con li::before { content: "－ "; color: #ff7f8f; font-weight: 900; }
.o42-play p { margin: 0; line-height: 1.6; color: var(--o42-ink2); }
.o42-get ol li::marker { color: var(--pc); font-weight: 800; }
.o42-prep { border-color: rgba(255, 140, 170, .55); }
.o42-rel { margin-top: 22px; }
.o42-rel h2 { font-size: 1.2rem; margin-bottom: 10px; }
.o42-mini { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(46%, 120px), 1fr)); gap: 10px; }
.o42-mini a { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px 6px; border-radius: 18px; background: var(--o42-card); border: 1px solid var(--o42-line); text-decoration: none; text-align: center; transition: transform .15s ease; }
.o42-mini a:hover { transform: translateY(-3px); border-color: var(--pc); }
.o42-mini img { width: 72px; height: auto; }
.o42-mini .o42-emb-big { width: 56px; height: 56px; }
.o42-mini span { font-weight: 600; font-size: .88rem; }
.o42-mini small { font-size: .72rem; color: #ff9fb6; }
.o42-back { margin-top: 22px; text-align: center; }

/* the job page opened in place (overlay) */
.o42-ov { position: fixed; inset: 0; z-index: 60; overflow-y: auto; overscroll-behavior: contain; background: rgba(4, 6, 26, .9); animation: o42fade .2s ease both; }
:root[data-theme="light"] .o42-ov { background: rgba(214, 226, 248, .94); }
.o42-ovin { position: relative; max-width: 1060px; margin: 0 auto; padding: max(14px, env(safe-area-inset-top)) 16px 90px; }
.o42-x { position: sticky; top: 8px; float: right; z-index: 4; width: 44px; height: 44px; margin: 0 0 -44px; border-radius: 50%; border: 1px solid var(--o42-line2); background: var(--o42-solid); color: var(--o42-ink); font-size: 1.1rem; cursor: pointer; box-shadow: var(--o42-shadow); }
.o42-x:hover { border-color: var(--o42-acc); }

/* floating quiz button */
.o42-fab { position: fixed; right: max(14px, env(safe-area-inset-right)); bottom: max(14px, env(safe-area-inset-bottom)); z-index: 50; display: inline-flex; align-items: center; gap: 6px; min-height: 50px; padding: 12px 18px;
  border-radius: 999px; border: 1px solid rgba(255, 236, 170, .9); background: var(--o42-gold); color: #2a1a00; font: 700 1rem/1 inherit; font-family: inherit; cursor: pointer; box-shadow: 0 10px 30px rgba(225, 167, 62, .55); animation: o42glow 2.8s ease-in-out infinite; }
html.o42-lock .o42-fab { display: none; }
/* kept clear of content: hidden while the tab row or the hero's own quiz button is on screen (occ42.js sets the class) */
.o42-fab { transition: opacity .2s, transform .2s; }
html.o42-fabhide .o42-fab { opacity: 0; transform: translateY(24px) scale(.9); pointer-events: none; }

/* the quiz */
.o42-quiz { position: fixed; inset: 0; z-index: 70; display: grid; place-items: center; padding: 12px; overflow-y: auto; background: rgba(4, 6, 26, .86); animation: o42fade .2s ease both; color: var(--o42-ink); }
:root[data-theme="light"] .o42-quiz { background: rgba(200, 215, 245, .88); }
.o42-qin { position: relative; width: min(100%, 720px); max-height: calc(100dvh - 24px); overflow-y: auto; padding: 22px 20px 20px; border-radius: 28px;
  background: radial-gradient(120% 80% at 50% 0%, rgba(164, 135, 255, .3), transparent 60%), var(--o42-solid); border: 1px solid var(--o42-line2); box-shadow: 0 30px 80px rgba(0, 0, 0, .55); }
.o42-qin .o42-x { position: absolute; right: 12px; top: 12px; float: none; margin: 0; }
.o42-qbody { display: flex; flex-direction: column; gap: 10px; }
.o42-qbody.o42-pop { animation: o42pop .35s ease both; }
.o42-qprog { height: 8px; border-radius: 999px; background: rgba(255, 255, 255, .1); overflow: hidden; margin-right: 52px; }
.o42-qprog > i { display: block; height: 100%; border-radius: inherit; background: var(--o42-gold); transition: width .25s ease; }
.o42-qn { margin: 0; font-size: .85rem; font-weight: 700; color: var(--o42-acc); }
.o42-qh { margin: 0; font-family: var(--o42-serif); color: var(--o42-head); font-size: clamp(1.3rem, 4vw, 1.9rem); line-height: 1.25; padding-right: 44px; }
.o42-qlead { margin: 0; color: var(--o42-ink2); line-height: 1.55; }
.o42-opts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 6px; }
.o42-opt { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; min-height: 132px; padding: 14px 10px; border-radius: 22px; border: 1px solid var(--o42-line2); background: var(--o42-card); color: var(--o42-ink);
  font: 600 .98rem/1.35 inherit; font-family: inherit; text-align: center; cursor: pointer; transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease; }
.o42-opt:hover, .o42-opt.on { transform: translateY(-3px); border-color: var(--o42-acc); box-shadow: 0 0 0 1px var(--o42-acc), 0 12px 30px rgba(245, 205, 106, .25); }
.o42-oic { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; font-size: 2.1rem; background: radial-gradient(circle at 35% 30%, rgba(255, 255, 255, .35), rgba(164, 135, 255, .25) 60%, transparent 72%); }
.o42-qnav { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.o42-qnav.center { justify-content: center; flex-direction: column; }
.o42-qhero { display: flex; justify-content: center; align-items: flex-end; gap: 0; margin: 6px auto 4px; }
.o42-qhero img { width: 22%; max-width: 110px; height: auto; margin: 0 -4%; filter: drop-shadow(0 10px 12px rgba(0, 0, 0, .45)); animation: o42bob 4s ease-in-out infinite; }
.o42-qhero img:nth-child(2n) { animation-delay: -1.5s; }
.o42-qhero img:nth-child(3) { width: 28%; z-index: 1; }
.o42-rlist { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.o42-res { position: relative; display: grid; grid-template-columns: 34px 64px minmax(0, 1fr) auto; gap: 4px 10px; align-items: center; padding: 10px 12px 14px; border-radius: 20px; background: var(--o42-card); border: 1px solid color-mix(in srgb, var(--pc) 45%, transparent); overflow: hidden; }
.o42-res.best { border-color: var(--o42-acc); box-shadow: 0 0 0 1px var(--o42-acc), 0 0 30px rgba(245, 205, 106, .3); background: radial-gradient(120% 120% at 0% 0%, rgba(245, 205, 106, .22), transparent 60%), var(--o42-card); }
.o42-rank { font-family: var(--o42-serif); font-weight: 800; font-size: 1.15rem; color: var(--o42-acc); text-align: center; }
.o42-rart img { width: 64px; height: auto; display: block; }
.o42-rart .o42-emb-big { width: 52px; height: 52px; }
.o42-rtx { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.o42-rtx strong { font-family: var(--o42-serif); font-size: 1.08rem; color: var(--o42-head); }
.o42-rpath { font-size: .78rem; font-weight: 700; color: var(--pc); }
.o42-rwhy { font-size: .84rem; color: var(--o42-ink2); }
.o42-rbtns { grid-column: 3 / -1; display: flex; flex-wrap: wrap; gap: 6px; }
.o42-rbtns .o42-btn { flex: 0 1 auto; }
.o42-pct { font-family: var(--o42-serif); font-size: 1.5rem; font-weight: 800; color: var(--o42-ink); }
.o42-pct.hi { background: var(--o42-gold); -webkit-background-clip: text; background-clip: text; color: transparent; }
.o42-pbar { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: rgba(255, 255, 255, .06); }
.o42-pbar > i, .o42-qprog > i { width: 0; }
.o42-pbar > i { display: block; height: 100%; background: linear-gradient(90deg, var(--pc), var(--o42-acc)); }
.o42-rsub { margin: 12px 0 0; font-size: 1rem; color: var(--o42-ink2); }
.o42-rlist.soon .o42-res { opacity: .92; border-style: dashed; }
.o42-w0 { width: 0 !important; } .o42-w1 { width: 5% !important; } .o42-w2 { width: 10% !important; } .o42-w3 { width: 15% !important; } .o42-w4 { width: 20% !important; } .o42-w5 { width: 25% !important; } .o42-w6 { width: 30% !important; }
.o42-w7 { width: 35% !important; } .o42-w8 { width: 40% !important; } .o42-w9 { width: 45% !important; } .o42-w10 { width: 50% !important; } .o42-w11 { width: 55% !important; } .o42-w12 { width: 60% !important; } .o42-w13 { width: 65% !important; }
.o42-w14 { width: 70% !important; } .o42-w15 { width: 75% !important; } .o42-w16 { width: 80% !important; } .o42-w17 { width: 85% !important; } .o42-w18 { width: 90% !important; } .o42-w19 { width: 95% !important; } .o42-w20 { width: 100% !important; }

.o42-toast { position: fixed; left: 50%; bottom: 84px; transform: translateX(-50%); z-index: 90; padding: 10px 18px; border-radius: 999px; background: var(--o42-solid, #12153f); color: var(--o42-ink, #fff); border: 1px solid var(--o42-line2, #f5cd6a); box-shadow: 0 10px 30px rgba(0, 0, 0, .4); }

/* the banner (landing pages /<lang>/ + the homepage /) */
.o42-banner { position: relative; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 18px; align-items: center; max-width: var(--x32-wrap, 1200px); margin: 34px auto; padding: 22px 26px; border-radius: 28px; overflow: hidden; color: var(--o42-ink);
  background: radial-gradient(90% 140% at 0% 50%, rgba(164, 135, 255, .35), transparent 60%), radial-gradient(70% 120% at 100% 0%, rgba(245, 205, 106, .25), transparent 60%), var(--o42-card);
  border: 1px solid var(--o42-line2); box-shadow: var(--o42-shadow), 0 0 40px rgba(164, 135, 255, .18); box-sizing: border-box; width: calc(100% - 32px); }
.o42-banner::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(115deg, transparent 0 40px, rgba(255, 255, 255, .025) 40px 80px); pointer-events: none; }
.o42-ban-art { position: relative; display: flex; justify-content: center; align-items: flex-end; min-height: 150px; }
.o42-ban-art img { width: 23%; max-width: 128px; height: auto; margin: 0 -3%; filter: drop-shadow(0 10px 14px rgba(0, 0, 0, .45)); animation: o42bob 4s ease-in-out infinite; }
.o42-ban-art img:nth-child(2n) { animation-delay: -1.4s; margin-bottom: 14px; }
.o42-ban-art img:nth-child(3) { width: 29%; z-index: 1; }
.o42-ban-txt { position: relative; min-width: 0; }
.o42-ban-k { margin: 0; font-size: .85rem; font-weight: 700; color: var(--o42-acc); letter-spacing: .02em; }
.o42-banner h2 { margin: 6px 0 0; font-family: var(--o42-serif); font-size: clamp(1.45rem, 3.4vw, 2.2rem); color: var(--o42-head); line-height: 1.2; }
.o42-ban-txt > p { margin: 8px 0 0; color: var(--o42-ink2); line-height: 1.55; }
.o42-ban-txt > .o42-ban-upd { font-size: .82rem; color: var(--o42-mute); }
.o42-banner .o42-btn { font-family: inherit; }

@keyframes o42bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -6px; } }
@keyframes o42pulse { 0%, 100% { opacity: .75; scale: 1; } 50% { opacity: 1; scale: 1.05; } }
@keyframes o42spin { to { transform: rotate(360deg); } }
@keyframes o42glow { 0%, 100% { box-shadow: 0 10px 30px rgba(225, 167, 62, .5); } 50% { box-shadow: 0 10px 40px rgba(255, 210, 110, .85); } }
@keyframes o42fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes o42pop { from { opacity: 0; transform: scale(.97); } to { opacity: 1; transform: none; } }
@keyframes o42grow { from { width: 0; } }

/* tablets */
@media (max-width: 980px) {
  .o42-dgrid { grid-template-columns: minmax(0, 1fr); }
  .o42-skills { grid-column: auto; }
}
/* phones (portrait + small landscape) */
@media (max-width: 720px) {
  .o42 { padding: 12px 16px 96px; }
  .o42-hero { grid-template-columns: minmax(0, 1fr); padding: 18px 16px; border-radius: 22px; }
  .o42-parade { order: -1; grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .o42-parade img:nth-child(n+6) { display: none; }
  .o42-parade img:nth-child(3n+2) { transform: none; }
  .o42-stats li { min-width: 0; flex: 1 1 28%; padding: 6px 10px; }
  .o42-stats .o42-upd { flex-basis: 100%; }
  .o42-cta .o42-btn { flex: 1 1 auto; }
  .o42-cardlink { grid-template-columns: 84px minmax(0, 1fr); }
  .o42-art { min-height: 104px; }
  .o42-dhead { grid-template-columns: minmax(0, 1fr); padding: 16px; text-align: center; border-radius: 22px; }
  .o42-dart { min-height: 0; }
  .o42-dart img { max-width: 160px; }
  .o42-dmeta, .o42-dhead .o42-roles, .o42-dhead .o42-cta { justify-content: center; }
  .o42-pc2 { grid-template-columns: minmax(0, 1fr); }
  .o42-opts { grid-template-columns: minmax(0, 1fr); }
  .o42-opt { flex-direction: row; justify-content: flex-start; min-height: 64px; text-align: left; padding: 10px 14px; }
  .o42-oic { width: 46px; height: 46px; font-size: 1.6rem; flex: 0 0 auto; }
  .o42-qin { padding: 18px 14px 16px; border-radius: 22px; }
  .o42-res { grid-template-columns: 28px 52px minmax(0, 1fr) auto; padding: 8px 10px 12px; }
  .o42-rart img { width: 52px; }
  .o42-rbtns { grid-column: 1 / -1; }
  .o42-rbtns .o42-btn { flex: 1 1 0; }
  .o42-pct { font-size: 1.2rem; }
  .o42-banner { grid-template-columns: minmax(0, 1fr); padding: 18px 16px; text-align: center; border-radius: 22px; }
  .o42-banner .o42-cta { justify-content: center; }
  .o42-ban-art { min-height: 110px; }
  .o42-fab span { display: none; }
  .o42-fab { padding: 12px 15px; font-size: 1.3rem; }
  /* every tab visible on phones: the row wraps (no hidden tabs behind a sideways scroll) */
  .o42-tabs { flex-wrap: wrap; overflow: visible; position: static; gap: 6px; margin: 0; padding: 4px 0 10px; background: none; }
  .o42-tab { flex: 1 1 auto; min-height: 38px; padding: 7px 9px; font-size: .86rem; letter-spacing: -.01em; }
  .o42-tab b { min-width: 0; margin-left: 2px; padding: 2px 5px; font-size: .76rem; }
}
/* short screens (phones in landscape): the quiz options in a row */
@media (max-height: 500px) and (min-width: 560px) {
  .o42-opts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .o42-opt { flex-direction: column; min-height: 96px; text-align: center; justify-content: center; }
  .o42-oic { width: 40px; height: 40px; font-size: 1.4rem; }
  .o42-qhero { display: none; }
  .o42-fab span { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .o42-hero::before, .o42-parade img, .o42-dart img, .o42-halo, .o42-fab, .o42-qhero img, .o42-ban-art img, .o42-bar > i { animation: none !important; }
  .o42-card, .o42-btn, .o42-opt, .o42-art img { transition: none !important; }
}

/* the website's own link colours (body.w2 a, the day theme's links) must not reach the buttons, cards and chips */
:root:root body .o42 a, :root:root body .o42-ov a, :root:root body .o42-banner a, :root:root body .o42-quiz a { color: inherit; }
:root:root body .o42-crumb a { color: var(--o42-acc); }
:root:root body a.o42-gold { color: #2a1a00; }
:root:root body a.o42-ghost, :root:root body .o42-pjobs a, :root:root body .o42-mini a { color: var(--o42-ink); }
/* jobs90: play styles (สาย) on the job page */
.o42-lines ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.o42-lines li { display: grid; gap: 2px; padding: 8px 10px; border-radius: 10px; background: rgba(255, 255, 255, .05); }
.o42-lines li span { opacity: .85; font-size: .92em; }
.o42-lines li em { font-style: normal; opacity: .75; font-size: .86em; }
/* farm92: recommended monsters per level band (job detail page) */
.o42-f92l { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.o42-f92l li { display: grid; gap: 4px; padding: 8px 10px; border-radius: 10px; background: rgba(255, 255, 255, .05); min-width: 0; }
.o42-f92l li span { display: flex; flex-wrap: wrap; gap: 4px; }
.o42-f92l li em { font-style: normal; opacity: .8; font-size: .92em; overflow-wrap: anywhere; }

/* mk298: skills made simple — three groups (starting / advanced / rebirth), what each skill is good for, "always on" passives */
.m298-lead { margin: -2px 0 10px; color: var(--o42-ink2); font-size: .9rem; }
.m298-gh { display: flex; align-items: baseline; gap: 8px; margin: 14px 0 8px; font-size: 1rem; color: var(--o42-ink); }
.m298-gh small { font-size: .78rem; padding: 1px 8px; border-radius: 999px; border: 1px solid var(--o42-line); color: var(--o42-mute); }
.m298-gh.g-core::before { content: '①'; } .m298-gh.g-adv::before { content: '②'; } .m298-gh.g-rb::before { content: '③'; }
.m298-sk .m298-gf { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 4px; }
.m298-sk .m298-gf b { font-weight: 600; font-size: .74rem; padding: 1px 8px; border-radius: 999px; background: color-mix(in srgb, var(--pc, #c9940f) 14%, transparent); color: var(--o42-ink); border: 1px solid var(--o42-line); }
.m298-sk em { line-height: 1.3; }
.m298-pas .o42-skic { opacity: .8; }
.m298-more { margin-top: 8px; }
.m298-more summary { cursor: pointer; padding: 8px 12px; border-radius: 12px; border: 1px dashed var(--o42-line2, var(--o42-line)); color: var(--o42-acc); font-weight: 600; width: fit-content; }
.m298-more[open] summary { margin-bottom: 8px; }
