/* Profession mini-games and enchanting materials, 10 October 2026 (package profs). */

/* Shared: first screen, result, marks */
.pg-wrap .mg-msg { max-width: 340px; }
.pg-rewards { list-style: none; margin: 2px 0 4px; padding: 0; font-size: 12.5px; text-align: left; color: #e2d5bf; }
.pg-rewards li { margin: 2px 0; }
.ggrade-s { font-family: var(--pixel); font-size: 12px; margin-right: 4px; }
.ggrade-s.good { color: #9fd08a; } .ggrade-s.great { color: #6aaaf0; } .ggrade-s.perfect { color: var(--gold); }
.pg-got { font-size: 13px; color: #e2d5bf; }
.pg-body .vr-info { width: 100%; max-width: 340px; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.pg-body .gmarks { font-size: 15px; }
.pg-flash { min-height: 20px; margin: 0; font-size: 14px; color: #ffd27a; text-align: center; }
.pg-press { touch-action: none; user-select: none; -webkit-user-select: none; }
.pg-press.on, #pour.on { filter: brightness(1.25); transform: translateY(1px); }
.pg-star { background: rgba(240, 210, 90, .92) !important; border-color: #ffe08a !important; }
.loom-shuttle.meh, .needle.meh { background: #e8c35a; } .needle.hit { background: #7fd06a; box-shadow: 0 0 8px #7fd06a; } .needle.miss { background: #d0604a; }
.fnote.miss { background: #6a3a30; }

/* Leatherworking: two lanes */
.pg-lanes { position: relative; width: 100%; max-width: 260px; height: 230px; overflow: hidden; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pg-lane { position: relative; background: repeating-linear-gradient(0deg, #5b3a22 0 10px, #634026 10px 20px); border: 3px solid #0a0a0a; border-radius: 10px; overflow: hidden; }
.pg-line { position: absolute; left: 0; right: 0; top: 82%; height: 4px; margin-top: -2px; background: var(--gold); box-shadow: 0 0 8px var(--gold); }
.pg-stitch { position: absolute; width: 34px; height: 14px; margin: -7px 0 0 -17px; border-radius: 7px; background: #e9dfc0; border: 2px solid #2a1a10; opacity: 0; z-index: 1; }
.pg-stitch.l0 { left: calc(25% - 2.5px); } .pg-stitch.l1 { left: calc(75% + 2.5px); }
.pg-stitch.good { background: #7fd06a; } .pg-stitch.meh { background: #e8c35a; } .pg-stitch.miss { background: #d0604a; }
.pg-two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; width: 100%; max-width: 260px; }
.pg-two .btn, .pg-three .btn { min-width: 0; margin: 0; }

/* Skinning: notches */
.pg-cutbar { max-width: 340px; overflow: visible; }
.pg-notch { position: absolute; top: -8px; bottom: -8px; width: 3px; margin-left: -1.5px; background: #fff7e0; border-radius: 2px; }
.pg-notch.hit { background: #7fd06a; } .pg-notch.meh { background: #e8c35a; } .pg-notch.miss { background: #d0604a; }
.pg-knife { z-index: 2; }

/* Alchemy: the flask */
.pg-mix { display: flex; align-items: center; gap: 16px; }
.pg-flask { position: relative; width: 70px; height: 210px; border: 3px solid #0a0a0a; border-radius: 10px 10px 18px 18px; background: rgba(30, 40, 60, .7); overflow: hidden; }
.pg-fill { position: absolute; left: 0; right: 0; bottom: 0; height: 0; background: linear-gradient(#8ad0ff, #4a7ad0); }
.pg-target { position: absolute; left: -2px; right: -2px; height: 3px; margin-bottom: -1.5px; background: var(--gold); box-shadow: 0 0 6px var(--gold); }
.pg-target span { position: absolute; left: 4px; top: -17px; font-size: 11px; color: #ffe8a0; text-shadow: 0 1px 2px #000; white-space: nowrap; }
.pg-amt { min-width: 110px; font-size: 16px; font-variant-numeric: tabular-nums; }

/* Woodworking: the grain */
.pg-grain { position: relative; width: 100%; max-width: 300px; height: 120px; border: 3px solid #0a0a0a; border-radius: 10px; background: repeating-linear-gradient(90deg, #8a5a32 0 7px, #7a4e2a 7px 15px); display: grid; place-items: center; overflow: hidden; }
.pg-grain b { font-size: 60px; line-height: 1; color: #fff3d0; text-shadow: 0 2px 4px #000; }
.pg-grain b.knot { font-size: 30px; color: #ffb0a0; }
.pg-fade { position: absolute; left: 0; bottom: 0; height: 6px; width: 0; background: var(--gold); }
.pg-three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; width: 100%; max-width: 300px; }
.pg-three .btn { font-size: 28px; min-height: 64px; }

/* Jewelcrafting: settings */
.pg-setting { display: flex; gap: 6px; justify-content: center; flex-wrap: wrap; min-height: 48px; max-width: 340px; }
.pg-gem { width: 40px; height: 40px; }
.pg-slot { width: 44px; height: 44px; border-radius: 8px; border: 2px dashed #8a7a60; display: grid; place-items: center; }
.pg-slot.ok { border: 2px solid #7fd06a; } .pg-slot.bad { border: 2px solid #ff5a4a; background: rgba(255, 90, 74, .15); }
.pg-gembtns { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; width: 100%; max-width: 340px; }
.pg-gembtns .btn { min-width: 0; margin: 0; padding: 6px 2px; display: flex; flex-direction: column; align-items: center; gap: 2px; }
.pg-gembtns small { font-size: 11px; }

/* Enchanting: the rune grid */
.pg-runes { position: relative; width: 270px; height: 270px; display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(3, 1fr); touch-action: none;
  background: radial-gradient(circle at 50% 50%, rgba(120, 90, 200, .35), rgba(20, 14, 30, .8)); border: 3px solid #0a0a0a; border-radius: 14px; }
.pg-runes svg { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 1; }
.pg-runes polyline { fill: none; stroke: #c9a6ff; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 2px #a070ff); }
.pg-rp { background: none; border: 0; padding: 0; display: grid; place-items: center; touch-action: none; }
.pg-rp i { width: 34px; height: 34px; border-radius: 50%; background: #2a2040; border: 3px solid #6a58a0; transition: background .1s, box-shadow .1s; }
.pg-rp.lit i { background: #c9a6ff; box-shadow: 0 0 16px #b080ff; border-color: #fff; }
.pg-rp.ok i { background: #8fd16a; border-color: #d8ffc0; } .pg-rp.bad i { background: #e0483a; border-color: #ffb0a0; }

/* Herbalism: what to pick */
.pg-want { display: flex; align-items: center; gap: 8px; font-size: 13px; color: #e2d5bf; }
.gp-c:disabled { cursor: default; }

/* Enchanting screen: materials */
.ench-mats { display: flex; flex-wrap: wrap; gap: 4px 10px; justify-content: center; margin: 4px 0 0; font-size: 13px; }
.ench-mats span { display: inline-flex; align-items: center; gap: 3px; white-space: nowrap; }
.ench-mats .itemico { width: 22px; height: 22px; }
.enopt small .mneed { display: inline-block; margin-right: 6px; white-space: nowrap; }
.rankpill { font-size: 10px; padding: 1px 5px; border-radius: 6px; margin-left: 4px; background: #3a2c50; color: #d9c6ff; vertical-align: middle; }
.ench-refine { margin: 8px 12px; }
