/* InfiniWorld' Workshop (14/11, static/workshop.js): the Explorer (cyan/orange) and Alchemist (violet/pink) crafts,
   commissions and requests. Phone first; the dark look by default, html.light repaints it in the pastel card-back look. */
.wk-page { --ex: #3dd6ff; --ex2: #ff8a3d; --al: #a470ff; --al2: #ff4fa3; max-width: 860px; margin: 0 auto; }
.wk-head { display: flex; align-items: center; gap: 12px; margin: 4px 0 10px; }
.wk-head h1 { margin: 0; }
.wk-head p { margin: 2px 0 0; }
.wk-ico { flex: none; width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; color: #fff;
  background: linear-gradient(135deg, #ff8a3d, #ff4fa3 55%, #a470ff); box-shadow: 0 3px 10px rgba(255, 79, 163, .3); }
.wk-ico svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.wk-ico.big { width: 48px; height: 48px; border-radius: 15px; }
.wk-ico.big svg { width: 28px; height: 28px; }
.wk-ico.ex { background: linear-gradient(135deg, #3dd6ff, #2f86ff 60%, #ff8a3d); box-shadow: 0 3px 10px rgba(61, 214, 255, .3); }
.wk-ico.al { background: linear-gradient(135deg, #a470ff, #ff4fa3); box-shadow: 0 3px 10px rgba(164, 112, 255, .3); }
.wk-tabs { position: sticky; top: 0; z-index: 3; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 -2px 8px; }
.wk-tabs::-webkit-scrollbar { display: none; }
.wk-tabs .chip { flex: 1 0 auto; text-align: center; }
@media (max-width: 420px) { .wk-tabs { gap: 5px; } .wk-tabs .chip { padding: 6px 8px; font-size: 11.5px; } .wk-tabs .chip .n { margin-left: 2px; } }
.wk-body { transition: opacity .2s; }
.wk-body.busy { opacity: .55; pointer-events: none; }
.wk-page .chev { font-size: 22px; color: var(--muted); }
.wk-page .grow { flex: 1; min-width: 0; }

/* sections and rows */
.wk-sec { margin: 14px 0; padding: 14px; border-radius: 18px; background: var(--panel); border: 1px solid var(--line); }
.wk-h { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.wk-h h2 { margin: 0 0 6px; font-size: 17px; }
.wk-h small { color: var(--muted); font-weight: 700; font-size: 12px; }
.wk-note { margin: 8px 2px 0; }
.wk-tok { display: inline-flex; align-items: center; gap: 3px; padding: 1px 8px; border-radius: 99px; font: 800 12.5px Nunito, sans-serif;
  color: #0b3f47; background: linear-gradient(180deg, #a6f6ff, #3dd6ff); white-space: nowrap; }
.wk-coin { display: inline-flex; align-items: center; gap: 4px; font-weight: 800; white-space: nowrap; }
.wk-free { font: 800 11px Nunito, sans-serif; color: var(--good); white-space: nowrap; }
.wk-var { font-style: normal; font-size: 11px; font-weight: 800; color: #ffe27a; margin-left: 6px; }
.wk-newtag { font-style: normal; font: 800 10px Nunito, sans-serif; padding: 1px 7px; border-radius: 99px; background: var(--pink); color: #fff; vertical-align: 2px; }
.wk-bar { display: block; height: 8px; border-radius: 99px; background: rgba(255, 255, 255, .1); overflow: hidden; }
.wk-bar > i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--ex2, #ff8a3d), var(--al2, #ff4fa3) 55%, var(--ex, #3dd6ff)); }

/* news strip */
.wk-news { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 16px; color: inherit !important;
  background: linear-gradient(100deg, rgba(255, 79, 163, .2), rgba(164, 112, 255, .14)); border: 1px solid rgba(255, 79, 163, .45); }
.wk-news b, .wk-news small { display: block; }
.wk-news small { color: var(--muted); font-size: 12px; }

/* the two craft cards */
.wk-crafts { display: grid; gap: 12px; margin-top: 10px; }
@media (min-width: 720px) { .wk-crafts { grid-template-columns: 1fr 1fr; } }
.wk-craft { --c: var(--ex); --c2: var(--ex2); position: relative; padding: 14px; border-radius: 20px; overflow: hidden;
  background: radial-gradient(420px 160px at 100% 0, color-mix(in srgb, var(--c) 22%, transparent), transparent 70%), var(--panel);
  border: 1.5px solid color-mix(in srgb, var(--c) 55%, var(--line)); }
.wk-craft.al { --c: var(--al); --c2: var(--al2); }
.wk-ctop { display: flex; align-items: center; gap: 10px; }
.wk-ctop h2 { margin: 0; font-size: 21px; }
.wk-ctop .label { margin: 0; color: var(--c); }
.wk-lv { display: flex; flex-direction: column; align-items: center; min-width: 56px; padding: 4px 8px; border-radius: 14px;
  font: 700 26px/1 Fredoka, sans-serif; color: #fff; background: linear-gradient(160deg, var(--c), var(--c2)); box-shadow: 0 4px 12px color-mix(in srgb, var(--c) 40%, transparent); }
.wk-lv small { font: 800 9.5px Nunito, sans-serif; letter-spacing: 1px; text-transform: uppercase; opacity: .9; }
.wk-xp { margin: 12px 0 6px; }
.wk-xp small { display: block; margin-top: 4px; font-size: 12px; font-weight: 700; color: var(--muted); }
.wk-craft .wk-bar > i { background: linear-gradient(90deg, var(--c), var(--c2)); }
.wk-perks { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 6px; }
.wk-perks li { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 12px; background: rgba(255, 255, 255, .05); }
.wk-perks li > span { flex: 1; min-width: 0; }
.wk-perks b { display: block; font-size: 13.5px; }
.wk-perks small { display: block; font-size: 11.5px; color: var(--muted); line-height: 1.3; }
.wk-perks em { font: 700 17px Fredoka, sans-serif; font-style: normal; color: var(--c); white-space: nowrap; }
.wk-perks li.off { opacity: .6; }
.wk-perks li.off em { color: var(--muted); }
.wk-full { margin: 8px 2px 0; color: var(--c); font-weight: 800; }
.wk-earn { margin-top: 10px; }
.wk-earn summary { cursor: pointer; font-weight: 800; font-size: 13px; color: var(--c); }
.wk-earn ul { list-style: none; margin: 6px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 4px 12px; }
.wk-earn li { display: flex; justify-content: space-between; gap: 6px; font-size: 12.5px; padding: 3px 0; border-bottom: 1px dashed var(--line); }
.wk-earn li b { color: var(--c); white-space: nowrap; }
.wk-split { text-align: center; margin: 8px 6px 0; }

/* the alchemist's counter */
.wk-set { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.wk-set > span:first-child { flex: 1; min-width: 0; }
.wk-set b, .wk-set small { display: block; }
.wk-set small { font-size: 12px; color: var(--muted); }
.wk-tgl { flex: none; width: 52px; height: 30px; border-radius: 99px; border: 0; padding: 3px; cursor: pointer; background: rgba(255, 255, 255, .14); transition: background .2s; }
.wk-tgl i { display: block; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, .3); transition: transform .2s; }
.wk-tgl.on { background: linear-gradient(90deg, var(--al), var(--al2)); }
.wk-tgl.on i { transform: translateX(22px); }
.wk-step { display: inline-flex; align-items: center; gap: 8px; }
.wk-step button { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); background: var(--panel2); color: var(--text);
  font: 700 18px Fredoka, sans-serif; cursor: pointer; }
.wk-step button:disabled { opacity: .4; cursor: default; }
.wk-step .wk-tok { min-width: 54px; justify-content: center; font-size: 14px; padding: 3px 8px; }

/* the XP log */
.wk-log { list-style: none; margin: 0; padding: 0; }
.wk-log li { display: flex; align-items: center; gap: 10px; padding: 7px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.wk-log li:last-child { border-bottom: 0; }
.wk-log .wk-ico { width: 26px; height: 26px; border-radius: 8px; }
.wk-log .wk-ico svg { width: 15px; height: 15px; }
.wk-log b { white-space: nowrap; }
.wk-log small { color: var(--muted); font-size: 11.5px; white-space: nowrap; }

/* commissions */
.wk-com, .wk-req { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; padding: 10px; margin-top: 8px; border-radius: 14px;
  background: rgba(255, 255, 255, .04); border: 1px solid var(--line); }
.wk-com.new, .wk-req.new { border-color: var(--pink); box-shadow: 0 0 0 1px var(--pink) inset; }
.wk-com.in { border-color: color-mix(in srgb, var(--al) 60%, var(--line)); }
.wk-cmain { flex: 1; min-width: 150px; }
.wk-cmain b { display: block; font-size: 14px; }
.wk-cmain small { display: block; font-size: 12px; color: var(--muted); line-height: 1.45; }
.wk-cmain small a { color: inherit; font-weight: 800; text-decoration: underline dotted; }
.wk-mix { display: inline-flex; align-items: center; gap: 2px; flex: none; }
.wk-mix img { width: 38px; height: 38px; object-fit: contain; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .35)); }
.wk-mix b { font: 700 14px Fredoka, sans-serif; color: var(--muted); }
.wk-fz { position: relative; display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px;
  background: radial-gradient(circle, rgba(164, 112, 255, .35), transparent 70%); }
.wk-fz img { width: 44px; height: 44px; object-fit: contain; }
.wk-fz.q img { filter: brightness(0) opacity(.55); }
.wk-fz i { position: absolute; font: 700 20px Fredoka, sans-serif; font-style: normal; color: #fff; text-shadow: 0 0 8px #a470ff; }
.wk-fz.big { width: 64px; height: 64px; }
.wk-fz.big img { width: 64px; height: 64px; }
.wk-acts { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 6px; margin-left: auto; }
.wk-acts .btn svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; }
.wk-prob { flex-basis: 100%; text-align: right; color: var(--bad); font-weight: 700; font-size: 12px; }
.wk-st { display: inline-block; padding: 0 7px; border-radius: 99px; font: 800 10.5px Nunito, sans-serif; text-transform: uppercase; letter-spacing: .4px;
  background: rgba(255, 255, 255, .1); color: var(--text); }
.wk-st.wk-st-done { background: var(--good); color: #052616; }
.wk-st.wk-st-declined, .wk-st.wk-st-expired { background: rgba(255, 93, 115, .2); color: var(--bad); }
.wk-com .rx-badge { padding: 0 7px; font-size: 10.5px; vertical-align: 1px; }

/* the send form */
.wk-al { display: flex; align-items: center; gap: 10px; width: 100%; margin: 6px 0 10px; padding: 10px 12px; border-radius: 14px; cursor: pointer; text-align: left;
  font: inherit; color: inherit; background: var(--panel2); border: 1.5px dashed color-mix(in srgb, var(--al) 60%, var(--line)); }
.wk-al.full { border-style: solid; }
.wk-al b, .wk-al small { display: block; }
.wk-al small { color: var(--muted); font-size: 12px; }
.wk-al small b { display: inline; color: var(--al); }
.wk-slots { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: center; gap: 4px; }
.wk-slot, .wk-out { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 108px; padding: 8px 4px; border-radius: 16px; }
.wk-slot { cursor: pointer; font: inherit; color: inherit; background: rgba(255, 255, 255, .04); border: 1.5px dashed var(--line); }
.wk-slot.full { border-style: solid; border-color: color-mix(in srgb, var(--ex) 55%, var(--line)); background: radial-gradient(circle at 50% 35%, rgba(61, 214, 255, .16), transparent 70%); }
.wk-slot img { width: 58px; height: 58px; object-fit: contain; filter: drop-shadow(0 3px 4px rgba(0, 0, 0, .35)); }
.wk-slot > i { font: 700 30px Fredoka, sans-serif; font-style: normal; color: var(--muted); }
.wk-slot small, .wk-out small { font-size: 11.5px; font-weight: 800; text-align: center; line-height: 1.2; overflow-wrap: anywhere; }
.wk-slot em { font-style: normal; font-size: 10px; font-weight: 800; color: #ffe27a; }
.wk-out { background: radial-gradient(circle at 50% 40%, rgba(164, 112, 255, .22), transparent 70%); }
.wk-plus { font: 700 18px Fredoka, sans-serif; color: var(--muted); }
.wk-probs { margin: 10px 0 0; padding: 8px 12px 8px 26px; border-radius: 12px; background: rgba(255, 93, 115, .1); color: var(--bad); font-size: 12.5px; font-weight: 700; }
.wk-send #wk-send { margin-top: 12px; }

/* the sheets (modals) */
.wk-sheet .wk-q { margin: 6px 0 10px; }
.wk-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 8px; max-height: 56vh; overflow-y: auto; padding: 2px; }
.wk-pk { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 4px; border-radius: 14px; cursor: pointer; font: inherit; color: inherit;
  background: var(--panel2); border: 1px solid var(--line); }
.wk-pk:active { transform: scale(.97); }
.wk-pk img { width: 52px; height: 52px; object-fit: contain; }
.wk-pk b { font-size: 12px; line-height: 1.15; text-align: center; overflow-wrap: anywhere; }
.wk-pk small { font-size: 10.5px; color: var(--muted); text-align: center; }
.wk-pk.wish { border-color: var(--pink); }
.wk-byname { display: flex; gap: 8px; margin: 6px 0 12px; }
.wk-byname input { flex: 1; }
.wk-alist { display: grid; gap: 8px; }
.wk-arow { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 14px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line); }
.wk-arow .avatar { width: 36px; height: 36px; font-size: 16px; flex: none; }
.wk-arow a { color: inherit; }
.wk-arow small { display: block; font-size: 12px; color: var(--muted); }
.wk-arow.busy { opacity: .6; }

/* requests */
.wk-list { display: grid; gap: 0; }
.wk-rc { flex: none; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 12px; background: radial-gradient(circle, rgba(61, 214, 255, .22), transparent 70%); }
.wk-rc img { width: 48px; height: 48px; object-fit: contain; }
.wk-rew { display: inline-flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.wk-req.can { border-color: color-mix(in srgb, var(--good) 60%, var(--line)); }
.wk-can { color: var(--good) !important; }
.wk-postform .label { margin-top: 12px; }
.wk-chosen { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 14px; background: var(--panel2); }
.wk-chosen img { width: 52px; height: 52px; object-fit: contain; }
.wk-kinds { margin-bottom: 4px; }
.wk-rewin { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.wk-rewin label { display: flex; align-items: center; gap: 6px; }
.wk-rewin .tok { font-size: 18px; color: var(--cyan); }
.wk-postform .row { margin-top: 12px; }
.wk-copies { display: flex; gap: 10px; overflow-x: auto; padding: 4px 2px 10px; }
.wk-copy { flex: none; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 6px; border-radius: 16px; cursor: pointer; font: inherit; color: inherit;
  background: transparent; border: 2px solid transparent; }
.wk-copy.on { border-color: var(--good); background: rgba(63, 208, 138, .1); }
.wk-copy .card { width: 104px; pointer-events: none; }
.wk-copy small { font-weight: 800; font-size: 12px; }

/* a commission done (the alchemist's result) */
.wk-eggdone { display: flex; align-items: center; gap: 14px; }
.wk-eggdone .egg { flex: none; }
.wk-paid { font-weight: 800; }
.lab-alch { flex-basis: 100%; font-size: 12px; font-weight: 800; color: #c9a8ff; }

/* 14/11 (owner): the Explorer <-> Fusionist bar; the side levelled more is the title, the middle is the Infinaut */
.cpath { display: flex; flex-direction: column; align-items: center; gap: 6px; width: 100%; max-width: 360px; margin: 4px auto 2px; }
.cpath-title { display: inline-flex; align-items: center; gap: 7px; padding: 4px 14px 4px 5px; border-radius: 99px; color: #fff;
  font: 700 15px/1.2 Fredoka, sans-serif; letter-spacing: .02em; box-shadow: 0 4px 14px rgba(40, 20, 100, .3); }
.cpath-title i { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .25); font-style: normal; font-size: 15px; }
.cpath-title i svg { width: 16px; height: 16px; fill: none; stroke: #fff; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.cpath.explorer .cpath-title { background: linear-gradient(100deg, #2f86ff, #3dd6ff); }
.cpath.alchemist .cpath-title { background: linear-gradient(100deg, #a470ff, #ff4fa3); }
.cpath.hybrid .cpath-title { background: linear-gradient(100deg, #3dd6ff, #a470ff 50%, #ff4fa3); }
.cpath-row { display: flex; align-items: center; gap: 8px; width: 100%; }
.cpath-end { flex: none; display: inline-flex; align-items: center; gap: 5px; }
.cpath-end svg { width: 26px; height: 26px; padding: 4px; border-radius: 50%; fill: none; stroke: #fff; stroke-width: 2.1; stroke-linecap: round; stroke-linejoin: round; }
.cpath-end.ex svg { background: linear-gradient(135deg, #2f86ff, #3dd6ff); }
.cpath-end.al svg { background: linear-gradient(135deg, #a470ff, #ff4fa3); }
.cpath-lbl { display: flex; justify-content: space-between; width: 100%; margin-top: -2px; font: 800 10.5px/1.2 Nunito, sans-serif; letter-spacing: .03em; opacity: .9; }
.cpath-lbl b { font: 700 12.5px/1 Fredoka, sans-serif; }
.cpath-bar { position: relative; flex: 1; height: 10px; border-radius: 99px; background: linear-gradient(90deg, #3dd6ff, #a470ff 50%, #ff4fa3);
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, .3); }
.cpath-mid { position: absolute; top: -3px; bottom: -3px; left: 42%; right: 42%; border-radius: 99px; border: 2px dashed rgba(255, 255, 255, .75); }
.cpath-dot { position: absolute; top: 50%; width: 20px; height: 20px; margin: -10px 0 0 -10px; border-radius: 50%; background: #fff;
  border: 3px solid #a470ff; box-shadow: 0 0 0 3px rgba(255, 255, 255, .35), 0 3px 10px rgba(40, 20, 100, .45); transition: left .6s cubic-bezier(.3, 1.4, .5, 1); }
.cpath.explorer .cpath-dot { border-color: #2f86ff; }
.cpath.alchemist .cpath-dot { border-color: #ff4fa3; }
.cpath.in-ws { margin: 0 auto 12px; padding: 12px 14px; border-radius: 18px; background: var(--panel); border: 1px solid var(--line); max-width: none; }
html.light .cpath.in-ws { background: #fff; }
/* the player card: craft levels under the name (old badges, kept for other places) */
.pc-crafts { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 2px 0; }
.pc-craft { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px 3px 4px; border-radius: 99px; font: 800 11.5px Nunito, sans-serif; color: #fff;
  text-shadow: none; box-shadow: 0 2px 8px rgba(30, 15, 80, .25); }
.pc-craft svg { width: 18px; height: 18px; padding: 2px; border-radius: 50%; background: rgba(255, 255, 255, .25); fill: none; stroke: currentColor; stroke-width: 2.1;
  stroke-linecap: round; stroke-linejoin: round; }
.pc-craft.ex { background: linear-gradient(100deg, #2f86ff, #3dd6ff); }
.pc-craft.al { background: linear-gradient(100deg, #a470ff, #ff4fa3); }
.pc-actions .btn svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; }

/* InfiniWorld' page: the Explorer chip on the planet's HUD */
.wk-exchip { display: flex; align-items: center; gap: 8px; max-width: min(100%, 300px); margin-top: 8px; padding: 6px 10px 6px 6px; border-radius: 14px;
  background: rgba(12, 7, 36, .76); box-shadow: 0 0 0 1.5px #3dd6ff, 0 6px 16px rgba(5, 2, 25, .45); color: #fff !important; text-decoration: none; }
.wk-exchip .wk-ico { width: 30px; height: 30px; border-radius: 9px; }
.wk-exchip .wk-ico svg { width: 18px; height: 18px; }
.wk-exchip b { display: block; font: 700 12.5px/1.2 Fredoka, sans-serif; }
.wk-exchip small { display: block; font: 800 10.5px/1.3 Nunito, sans-serif; color: #a6f0ff; }
.wk-exchip .wk-bar { height: 4px; margin-top: 3px; }
.wk-exchip .wk-bar > i { background: linear-gradient(90deg, #3dd6ff, #ff8a3d); }
.wk-exchip .chev { color: #a6f0ff; font-size: 18px; }

/* ------------------------------------------------------------------ the light (pastel) look */
html.light .wk-sec, html.light .wk-craft { box-shadow: 0 6px 18px rgba(112, 84, 196, .1); }
html.light .wk-craft { background: radial-gradient(420px 160px at 100% 0, color-mix(in srgb, var(--c) 18%, transparent), transparent 70%), #fff; }
html.light .wk-perks li, html.light .wk-com, html.light .wk-req, html.light .wk-arow, html.light .wk-slot { background: #f8f5ff; }
html.light .wk-bar { background: #ece5fb; }
html.light .wk-tgl:not(.on) { background: #e4daf8; }
html.light .wk-step button { background: #fff; }
html.light .wk-var, html.light .wk-slot em { color: #b07a00; }
html.light .wk-st { background: #efe8ff; }
html.light .wk-st.wk-st-done { background: #c9f4dd; color: #12703f; }
html.light .wk-news { background: linear-gradient(100deg, #ffe4f2, #efe4ff); }
html.light .wk-tok { color: #075a66; background: linear-gradient(180deg, #d4fbff, #8eeaf7); }
html.light .wk-fz i { color: #7d55e6; text-shadow: 0 0 6px #fff; }
html.light .lab-alch { color: #7d55e6; }
html.light .wk-craft .wk-ctop .label { color: color-mix(in srgb, var(--c) 75%, #2c2650); }
html.light .wk-perks em, html.light .wk-earn summary, html.light .wk-earn li b, html.light .wk-full { color: color-mix(in srgb, var(--c) 70%, #2c2650); }

/* 16/11 (owner: "ideas 1, 5 and 6"): phases and mutations: the phase block, the Mutation sheet, the Workshop tab */
.ph-box { display: flex; align-items: center; gap: 8px; margin-top: 8px; padding: 7px 9px; border-radius: 12px; background: var(--panel2); border: 1px solid var(--line); }
.ph-badge { flex: none; padding: 3px 9px; border-radius: 99px; font: 800 11px Nunito, sans-serif; color: #fff; background: linear-gradient(135deg, #7b5cff, #ff4fa3); }
.ph-box.top .ph-badge { background: linear-gradient(135deg, #ffb347, #ff4fa3); }
.ph-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.ph-main small { font: 700 10.5px/1.3 Nunito, sans-serif; color: var(--muted); }
.ph-go { flex: none; }
.ph-fee { display: inline-flex; align-items: center; gap: 2px; margin-left: 4px; font: 800 11px Nunito, sans-serif; opacity: .9; }   /* 17/11 */
.mut-sheet { display: flex; flex-direction: column; gap: 8px; }
.mut-head { display: flex; align-items: center; gap: 12px; }
.mut-head img { width: 76px; height: 76px; object-fit: contain; filter: drop-shadow(0 4px 8px rgba(0, 0, 0, .3)); }
.mut-head b { display: block; font: 700 20px/1.1 Fredoka, sans-serif; }
.mut-ph { display: block; margin: 3px 0; font: 800 13px Nunito, sans-serif; }
.mut-ph i { font-style: normal; padding: 1px 8px; border-radius: 99px; background: var(--panel2); }
.mut-ph i.nx { color: #fff; background: linear-gradient(135deg, #7b5cff, #ff4fa3); }
.mut-head small { color: var(--muted); font-weight: 700; font-size: 11.5px; }
.mut-prob { margin: 0; padding: 7px 10px; border-radius: 10px; background: color-mix(in srgb, #ffb347 18%, transparent); font: 700 12px Nunito, sans-serif; }
.mut-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.mut-opt { display: flex; gap: 8px; align-items: flex-start; text-align: left; padding: 10px; border-radius: 14px; border: 1px solid var(--line); background: var(--panel); cursor: pointer; color: var(--text); }
.mut-opt:not([disabled]):hover { border-color: #7b5cff; box-shadow: 0 0 0 2px color-mix(in srgb, #7b5cff 25%, transparent); }
.mut-opt[disabled] { opacity: .55; cursor: default; }
.mut-opt .mo-ic { font-size: 22px; line-height: 1; }
.mut-opt b { display: block; font: 700 14px Fredoka, sans-serif; }
.mut-opt small { display: block; margin-top: 2px; font: 700 10.5px/1.3 Nunito, sans-serif; color: var(--muted); }
.mut-l { margin: 4px 0 0; }
.mut-fus { display: flex; flex-direction: column; gap: 6px; max-height: 240px; overflow-y: auto; }
.mut-f { display: flex; align-items: center; gap: 8px; padding: 7px 9px; border-radius: 12px; border: 1px solid var(--line); background: var(--panel); text-align: left; cursor: pointer; color: var(--text); }
.mut-f[disabled] { opacity: .5; cursor: default; }
.mut-f b { font: 700 13.5px Fredoka, sans-serif; }
.mut-f small { display: block; font: 700 10.5px Nunito, sans-serif; color: var(--muted); }
.mut-done { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.mut-dcard { display: flex; align-items: center; gap: 12px; }
.mut-dcard img { width: 110px; height: 110px; object-fit: contain; filter: drop-shadow(0 6px 14px rgba(123, 92, 255, .5)); }
.mut-dcard b { display: block; font: 700 30px Fredoka, sans-serif; color: #7b5cff; }
.mut-row .mut-pic { position: relative; flex: none; width: 52px; height: 52px; }
.mut-row .mut-pic img { width: 52px; height: 52px; object-fit: contain; }
.mut-row .mut-pic i { position: absolute; left: 50%; bottom: -4px; transform: translateX(-50%); padding: 0 6px; border-radius: 99px; font: 800 9.5px Nunito, sans-serif; font-style: normal; color: #fff; background: linear-gradient(135deg, #7b5cff, #ff4fa3); white-space: nowrap; }
.mut-rlist { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; }
.mut-rc { flex: none; width: 108px; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 6px; border-radius: 14px; border: 1px solid #b06bff; background: color-mix(in srgb, #b06bff 10%, var(--panel)); cursor: pointer; color: var(--text); }
.mut-rc img { width: 58px; height: 58px; object-fit: contain; }
.mut-rc b { font: 700 12.5px Fredoka, sans-serif; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mut-rc small { font: 800 10px Nunito, sans-serif; color: #7b5cff; }
.mut-mlist { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 4px; }
.mut-mlist li { display: flex; align-items: center; gap: 8px; padding: 6px 10px; border-radius: 10px; background: var(--panel2); font: 700 13px Nunito, sans-serif; }
.mut-mlist li.me { outline: 2px solid #7b5cff; }
.mut-mlist em { font-style: normal; font: 700 15px Fredoka, sans-serif; color: #ffb347; width: 18px; }
.mut-mlist b { flex: 1; }
.mut-mlist span { color: var(--muted); font-size: 12px; }
.mut-t { width: 100%; border-collapse: collapse; font: 700 12.5px Nunito, sans-serif; }
.mut-t th, .mut-t td { padding: 5px 6px; border-bottom: 1px solid var(--line); text-align: left; }
.mut-t .num { text-align: right; }
@media (max-width: 420px) { .mut-opts { grid-template-columns: 1fr; } }
/* 18/11: the complete order (crafts.py): what the fusion gets, the 4 attacks, the fusionist's view, eggs to send */
.wk-order, .wk-odet { flex-basis: 100%; display: grid; gap: 6px; margin-top: 6px; padding: 9px 10px; border-radius: 12px; border: 1px dashed var(--line); background: rgba(255, 255, 255, .03); }
.wk-oh { font: 800 13px Nunito, sans-serif; }
.wk-orow { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 12.5px; }
.wk-orow > b { font-weight: 800; }
.wk-mvs { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 6px; }
.wk-mv { text-align: left; padding: 6px 8px; border-radius: 10px; border: 1px solid var(--line); background: rgba(255, 255, 255, .04); color: inherit; cursor: pointer; }
.wk-mv b { display: block; font-size: 12.5px; } .wk-mv b i { font-style: normal; font-size: 10.5px; color: var(--muted); }
.wk-mv small { display: block; font-size: 11px; color: var(--muted); line-height: 1.3; }
.wk-mv.on { border-color: var(--al, #23d6b0); box-shadow: 0 0 0 1px var(--al, #23d6b0) inset; background: color-mix(in srgb, var(--al, #23d6b0) 12%, transparent); }
.wk-cp { display: flex; align-items: center; gap: 8px; font-size: 12px; }
.wk-cp img { width: 38px; height: 38px; object-fit: contain; }
.wk-cp b { display: block; font-size: 13px; } .wk-cp small { color: var(--muted); }
.wk-ab { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; font: 800 11px Nunito, sans-serif; font-style: normal; color: #fff; background: #7b5cff; flex: none; }
.wk-omvs { display: flex; flex-wrap: wrap; gap: 4px; }
.wk-omv { padding: 2px 8px; border-radius: 99px; border: 1px solid var(--line); font-size: 11.5px; font-weight: 700; }
.wk-odet.small-o { padding: 6px 8px; }
.wk-com.eggrow { border-color: color-mix(in srgb, #ffd23d 60%, var(--line)); }
.egg-order { display: block; font: 800 11.5px Nunito, sans-serif; color: #c8860a; }

/* 20/11 (owner: "compress the Workshop so it isn't all spread out"): "See all", slim finished rows, the order's detail
   and the phases on a tap, the perks two by two */
.wk-more { margin-top: 6px; }
.wk-more > summary { list-style: none; cursor: pointer; display: flex; justify-content: center; padding: 8px; border-radius: 12px; font: 800 12.5px Nunito, sans-serif;
  color: var(--al, #a470ff); background: color-mix(in srgb, var(--al, #a470ff) 10%, transparent); }
.wk-more > summary::-webkit-details-marker { display: none; }
.wk-more[open] > summary { margin-bottom: 4px; }
.wk-hist .wk-h small { font: 800 12px Nunito, sans-serif; color: var(--muted); }
.wk-com.done { flex-wrap: nowrap; gap: 8px; padding: 6px 8px; margin-top: 5px; border-radius: 12px; }
.wk-com.done .wk-mix img { width: 26px; height: 26px; }
.wk-com.done .wk-mix b { font-size: 11px; }
.wk-com.done .wk-fz, .wk-com.done .wk-fz img { width: 30px; height: 30px; }
.wk-com.done .wk-cmain { min-width: 0; flex: 1; }
.wk-com.done .wk-cmain b { font-size: 13px; }
.wk-com.done .wk-cmain small { display: block; font-size: 11px; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wk-com.done .wk-acts { flex: none; margin: 0; }
.wk-com.done .wk-acts .btn { padding: 4px 9px; font-size: 11.5px; min-height: 0; }
.wk-com.mut-row.done .mut-pic, .wk-com.mut-row.done .mut-pic img { width: 36px; height: 36px; }
.wk-com.mut-row.done .mut-pic i { font-size: 8.5px; bottom: -3px; }
.wk-odwrap { flex-basis: 100%; }
.wk-odwrap > summary { cursor: pointer; font: 800 12px Nunito, sans-serif; color: var(--al, #a470ff); padding: 6px 2px; list-style: none; }
.wk-odwrap > summary::-webkit-details-marker { display: none; }
.wk-odwrap > summary::after { content: " ▾"; }
.wk-odwrap[open] > summary::after { content: " ▴"; }
details.mut-how > summary { list-style: none; cursor: pointer; }
details.mut-how > summary::-webkit-details-marker { display: none; }
details.mut-how > summary h2::after { content: " ▾"; font-size: .8em; color: var(--muted); }
details.mut-how[open] > summary h2::after { content: " ▴"; }
.wk-perks { grid-template-columns: 1fr 1fr; }
.wk-perks li { flex-direction: column; align-items: flex-start; gap: 2px; padding: 7px 9px; }
.wk-perks li > span { order: 2; }
.wk-perks em { order: 1; font-size: 18px; }
.wk-perks b { font-size: 12.5px; }
.wk-perks small { font-size: 10.5px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* 21/11 (owner: "all the commissions in one place, didactic"): the Workshop's Commissions part in steps */
.wk-how { list-style: none; margin: 0 0 6px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.wk-how li { display: flex; flex-direction: column; gap: 3px; padding: 10px; border-radius: 14px; background: var(--panel); border: 1px solid var(--line); }
.wk-how b { font-size: 13px; }
.wk-how small { font-size: 11px; color: var(--muted); line-height: 1.3; }
.wk-num { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; flex: none; font: 900 12px Fredoka, Nunito, sans-serif; font-style: normal;
  background: linear-gradient(135deg, #b46cff, #ff7ac8); color: #fff; vertical-align: middle; }
.wk-cstep .wk-h h2 { display: flex; align-items: center; gap: 8px; }
.wk-sub { margin: 12px 0 6px; font-size: 14px; }
.wk-sub small { font-weight: 600; color: var(--muted); font-size: 11px; }
.wk-forme { border-color: rgba(255, 196, 80, .55); }
.wk-forme .wk-h .n { font-size: 11px; padding: 0 7px; border-radius: 99px; background: #ff4f6f; color: #fff; }
.wk-arow.on { border-color: #4fd18b; background: rgba(79, 209, 139, .1); }
.wk-byname.inline { display: flex; gap: 6px; margin-top: 10px; }
.wk-byname.inline input { flex: 1; min-width: 0; }
.wk-jcom { font-weight: 800; }
.lab2-out { font-style: normal; font-size: 10px; opacity: .7; margin-left: 2px; }
@media (max-width: 520px) { .wk-how { grid-template-columns: 1fr; } .wk-how li { flex-direction: row; flex-wrap: wrap; align-items: center; } .wk-how small { flex-basis: 100%; } }

/* 21/11 (owner: "one thing, with each one's benefits"): the window's choice on the class card */
.wk-cintro { margin: 6px 2px 10px; }
.wk-cpick { margin: 10px 0 12px; padding: 10px 12px; border-radius: 14px; background: rgba(255, 255, 255, .05); border: 1px dashed var(--line); }
.wk-cpick.on { border-style: solid; border-color: #ffc94f; background: rgba(255, 201, 79, .1); }
.wk-cpick .cls-perks { margin: 4px 0 8px; }
.wk-cnow { display: block; color: #ffc94f; font-size: 13px; }
.wk-cwait { display: block; font-size: 12px; color: var(--muted); }
.wk-craft.chosen { box-shadow: 0 0 0 2px #ffc94f, 0 8px 24px rgba(255, 201, 79, .18); }
.wk-lvlab { display: block; margin: 2px 0 6px; }
