/* jobs16a: the mega update — schedule, countdowns, NEW badges, drawn flags in names, the Q&A highlight, the website showcase */
canvas.flag.f16 { display: inline-block; width: 18px; height: 12px; vertical-align: -1px; margin: 0 1px; border-radius: 2px; box-shadow: 0 0 0 .5px rgba(0,0,0,.35); }
.j16-new { display: inline-block; margin-left: 6px; padding: 0 6px; border-radius: 9px; font-size: 10px; font-weight: 700; line-height: 16px; vertical-align: 2px;
  color: #1a1418; background: linear-gradient(90deg, #ffd24a, #ff9a3c); box-shadow: 0 0 8px rgba(255,190,70,.6); animation: j16-pulse 1.6s ease-in-out infinite; }
@keyframes j16-pulse { 50% { box-shadow: 0 0 14px rgba(255,190,70,.9); } }
@media (prefers-reduced-motion: reduce) { .j16-new { animation: none; } }
.j16-soon { display: inline-block; margin-left: 6px; padding: 0 6px; border-radius: 9px; font-size: 10px; line-height: 16px; vertical-align: 2px; color: #cfd6e2; background: rgba(120,130,160,.28); }
.j16-cd { font-variant-numeric: tabular-nums; font-weight: 600; color: #ffd24a; white-space: nowrap; }
.j16-soonchip { display: inline-flex; flex-wrap: wrap; gap: 2px; align-items: center; max-width: 100%; white-space: normal; }
.j16-banner { margin: 0 0 10px; padding: 8px 12px; border-radius: 10px; background: rgba(90,110,170,.22); border: 1px solid rgba(140,160,220,.35); font-weight: 600; }
.j16-banner.open { background: rgba(255,200,80,.14); border-color: rgba(255,200,80,.4); }

.j16-sched { display: grid; gap: 10px; }
.j16-hero { display: grid; gap: 2px; padding: 12px 14px; border-radius: 12px; background: linear-gradient(135deg, rgba(255,210,74,.18), rgba(120,90,220,.18)); border: 1px solid rgba(255,210,74,.35); }
.j16-hero b { font-size: 17px; }
.j16-next { display: flex; flex-wrap: wrap; gap: 6px; align-items: baseline; margin-top: 4px; }
.j16-weeks { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.j16-week { padding: 8px 10px; border-radius: 10px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); }
.j16-week.open { border-color: rgba(255,210,74,.35); }
.j16-wh { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; margin-bottom: 4px; }
.j16-wd { opacity: .85; font-size: 13px; }
.j16-jobs { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.j16-job { display: grid; grid-template-columns: 18px 1fr auto; gap: 6px; align-items: start; padding: 4px 2px; }
.j16-jt { display: grid; min-width: 0; }
.j16-jt small { overflow-wrap: anywhere; }
.j16-am { color: #ffd28a; }
.j16-st { font-size: 11px; padding: 1px 7px; border-radius: 9px; white-space: nowrap; }
.j16-st.ok { background: rgba(80,200,120,.25); color: #b6f5c8; }
.j16-st.soon { background: rgba(120,130,160,.28); color: #cfd6e2; }
.j16-up { margin-top: 10px; }
.j16-up summary { cursor: pointer; }
.j16-ammo table { width: 100%; margin-bottom: 8px; }
.j16-ammo td { overflow-wrap: anywhere; }

.qa-item.qa-hot { border: 1px solid rgba(255,210,74,.55); background: linear-gradient(90deg, rgba(255,210,74,.14), transparent); border-radius: 10px; }
.qa-item.qa-hot .qa-qm { background: #ffd24a; color: #1a1418; }
.man-hl.j16-hl.qa .man-hl-v { color: #ffd24a; }

/* website showcase (web12 landing + the game site at /) */
.w12-j16 .j16w-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.w12-j16 .j16w-card { position: relative; align-content: start; padding: 10px 12px; border-radius: 12px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); display: grid; gap: 2px; }
.w12-j16 .j16w-card.open { border-color: rgba(255,210,74,.45); }
.w12-j16 .j16w-card b { font-size: 15px; }
.w12-j16 .j16w-card small { opacity: .8; }
.w12-j16 .j16w-tag { justify-self: start; font-size: 10px; font-weight: 700; padding: 0 6px; border-radius: 8px; background: #ffd24a; color: #1a1418; line-height: 16px; }
.w12-j16 .j16w-tag.soon { background: rgba(120,130,160,.5); color: #fff; }
.w12-j16 .j16w-wk { margin: 14px 0 6px; font-weight: 700; }
@media (max-width: 480px) { .w12-j16 .j16w-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .j16-job { grid-template-columns: 16px 1fr; } .j16-job .j16-st { grid-column: 2; justify-self: start; } }
.w12-j16 .j16w-why { margin: 0 0 12px; padding: 12px 14px; border-radius: 12px; border: 1px solid rgba(255,210,74,.5); background: linear-gradient(90deg, rgba(255,210,74,.14), transparent); }
.w12-j16 .j16w-why p { margin: 4px 0 0; }
.w12-j16 ul { list-style: none; padding: 0; margin: 0; }
/* light theme: darker text colours on the parchment */
[data-theme="light"] .j16-cd { color: #9a5b0c; }
[data-theme="light"] .j16-am { color: #8a5310; }
[data-theme="light"] .j16-st.soon, [data-theme="light"] .j16-soon { background: rgba(70,80,110,.14); color: #3f4660; }
[data-theme="light"] .j16-st.ok { background: rgba(40,150,80,.16); color: #17663a; }
[data-theme="light"] .j16-week { background: rgba(255,255,255,.35); border-color: rgba(120,90,40,.18); }
[data-theme="light"] .j16-banner { background: rgba(90,110,170,.12); border-color: rgba(90,110,170,.3); }
[data-theme="light"] .w12-j16 .j16w-card { background: rgba(255,255,255,.5); border-color: rgba(120,90,40,.18); }
[data-theme="light"] .w12-j16 .j16w-tag.soon { background: rgba(70,80,110,.18); color: #3f4660; }
