/* Coleta / oficina sobre o cliente compilado (public-extra/coleta.js). Reusa as classes do cliente
   (hunt-entry, hunt-detail, options-menu, shop-window) e só acrescenta o que ele não tem. */
.oc-tier { display: inline-flex; align-items: center; justify-content: center; min-width: 26px; height: 18px; padding: 0 5px; border-radius: 4px;
  font: 700 10px/1 system-ui, sans-serif; letter-spacing: .04em; color: #e9e6da; background: #3b4261; margin-right: 8px; flex: 0 0 auto; }
.oc-tier[data-tier="1"] { background: #4a4f5c; } .oc-tier[data-tier="2"] { background: #2f6b3a; } .oc-tier[data-tier="3"] { background: #2d5f9a; }
.oc-tier[data-tier="4"] { background: #6b3c9a; } .oc-tier[data-tier="5"] { background: #9a6a1c; }
.oc-gather .hunt-loot-entry.oc-res { display: flex; align-items: center; gap: 6px; }

/* cartão dentro do mapa de coleta */
#oc-gather-card { position: fixed; right: 12px; bottom: 336px; z-index: 900; display: flex; flex-direction: column; gap: 8px; padding: 10px 12px;
  background: linear-gradient(#1f2438, #161a2a); border: 1px solid #3b4261; border-radius: 8px; box-shadow: 0 6px 18px #00000080; color: #ece6d8;
  font: 12px/1.3 system-ui, sans-serif; min-width: 220px; }
#oc-gather-card[hidden] { display: none; }
#oc-gather-card .oc-card-title { display: flex; flex-direction: column; gap: 2px; }
#oc-gather-card .oc-card-eyebrow { font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: #d6a940; }
#oc-gather-card .oc-card-actions { display: flex; gap: 6px; flex-wrap: wrap; }
#oc-gather-card .hud-city-action { height: 28px; padding: 0 12px; border-radius: 4px; border: 1px solid #3b4261; background: linear-gradient(#2c3452, #1a1e30);
  color: #ece6d8; font: 600 11px/1 system-ui, sans-serif; letter-spacing: .05em; text-transform: uppercase; cursor: pointer; }
#oc-gather-card .hud-city-action:hover { filter: brightness(1.1); }
#oc-gather-card .oc-leave.leaving { border-color: #d6a940; color: #ffd978; }
@media (max-width: 1000px) { #oc-gather-card { right: 8px; bottom: 150px; min-width: 0; } }

/* foco de coleta */
.oc-focus-overlay .options-entries { display: flex; flex-direction: column; gap: 6px; }
.oc-focus-overlay .oc-focus-row { display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 8px; }
.oc-focus-overlay .oc-focus-row button { width: 28px; height: 24px; padding: 0; border-radius: 4px; border: 1px solid #3b4261; background: #1a1e30; color: #ece6d8; cursor: pointer; }
.oc-focus-overlay .oc-focus-row button:disabled { opacity: .35; cursor: default; }
.oc-focus-overlay .options-menu header .oc-close { margin-left: auto; background: none; border: 0; color: inherit; font-size: 18px; cursor: pointer; }

/* abas de skills na ficha */
.sheet-skill-tabs { display: flex; gap: 6px; margin: 0 0 8px; }
.sheet-skill-tab { padding: 4px 10px; border-radius: 4px; border: 1px solid #3b4261; background: #1a1e30; color: #b9b4a6; font: 600 11px/1 system-ui, sans-serif; letter-spacing: .05em; text-transform: uppercase; cursor: pointer; }
.sheet-skill-tab[aria-selected="true"] { background: #2c3452; color: #ece6d8; border-color: #d6a940; }
.sheet-skill-panel[hidden] { display: none; }
.sheet-skill-panel .sheet-skills th[scope="row"] .sheet-icon { display: inline-block; width: 1.4em; }
.sheet-skill-panel .sheet-empty { color: #9c988c; font-size: 12px; margin: 6px 0; }

/* oficina (mesma janela da loja do cliente) */
.oc-workshop header { display: flex; align-items: center; justify-content: space-between; padding: 8px 12px; border-bottom: 1px solid #3b4261; font-weight: 600; }
.oc-workshop header .oc-close { background: none; border: 0; color: inherit; font-size: 18px; cursor: pointer; }
.oc-workshop .oc-wk-tabs { display: flex; gap: 4px; padding: 6px 12px 0; }
.oc-workshop .oc-wk-tabs .tab { padding: 4px 12px; border-radius: 4px 4px 0 0; border: 1px solid #3b4261; border-bottom: 0; background: #1a1e30; color: #b9b4a6; cursor: pointer; font: 600 11px/1 system-ui, sans-serif; text-transform: uppercase; letter-spacing: .05em; }
.oc-workshop .oc-wk-tabs .tab.active { background: #2c3452; color: #ece6d8; }
.oc-workshop .oc-wk-body { display: grid; grid-template-columns: minmax(240px, 42%) 1fr; gap: 0; flex: 1; min-height: 0; border-top: 1px solid #3b4261; }
.oc-workshop .shop-list-pane { display: flex; flex-direction: column; min-height: 0; border-right: 1px solid #3b4261; }
.oc-workshop .shop-search { padding: 8px; }
.oc-workshop .shop-search input { width: 100%; box-sizing: border-box; padding: 6px 8px; border-radius: 4px; border: 1px solid #3b4261; background: #11131d; color: #ece6d8; }
.oc-workshop .oc-wk-offers { overflow: auto; min-height: 0; padding: 0 8px 8px; display: flex; flex-direction: column; gap: 4px; }
/* o .shop-offer do cliente é um quadrado de 48px com overflow escondido (ícone da loja): a receita da
   oficina é uma LINHA com selo, nome e custo — todas as medidas do cliente são sobrescritas aqui */
.oc-workshop .shop-offer.oc-offer { position: relative; width: 100%; height: auto; min-height: 44px; overflow: visible; place-items: unset;
  display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; align-items: center; column-gap: 8px; text-align: left; padding: 6px 8px; border-radius: 4px;
  border: 1px solid transparent; background: #1f2438; color: #ece6d8; cursor: pointer; box-sizing: border-box; font: 12px/1.3 system-ui, sans-serif; }
.oc-workshop .oc-offer .oc-tier { grid-row: 1 / span 2; margin-right: 0; }
.oc-workshop .oc-offer .oc-offer-name { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.oc-workshop .oc-offer .oc-offer-meta { font-size: 11px; color: #9c988c; }
.oc-workshop .oc-offer .oc-offer-meta.ok { color: #7fc98b; }
.oc-workshop .shop-offer.oc-offer.selected, .oc-workshop .shop-offer.oc-offer:hover { border-color: #d6a940; background: #2c3452; box-shadow: none; }
.oc-workshop .oc-wk-transaction { overflow: auto; padding: 12px 14px; min-height: 0; }
.oc-workshop .shop-detail-eyebrow { font-size: 10px; letter-spacing: .08em; color: #d6a940; }
.oc-workshop .shop-detail-name { font-size: 16px; font-weight: 700; margin: 2px 0 8px; }
.oc-workshop .oc-wk-desc { color: #b9b4a6; margin: 0 0 8px; }
.oc-workshop .oc-wk-stats { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 4px 12px; margin: 0 0 10px; }
.oc-workshop .oc-wk-stats div { display: flex; justify-content: space-between; gap: 6px; border-bottom: 1px dotted #3b4261; padding: 2px 0; }
.oc-workshop .oc-wk-stats dt { color: #9c988c; } .oc-workshop .oc-wk-stats dd { margin: 0; }
.oc-workshop h4 { margin: 8px 0 4px; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: #9c988c; }
.oc-workshop .oc-wk-ings { list-style: none; margin: 0 0 12px; padding: 0; display: flex; flex-direction: column; gap: 3px; }
.oc-workshop .oc-wk-ings li { display: flex; justify-content: space-between; gap: 8px; padding: 3px 6px; border-radius: 4px; background: #1a1e30; }
.oc-workshop .oc-wk-ings li.ok b { color: #7fc98b; } .oc-workshop .oc-wk-ings li.missing b { color: #e07a6a; }
.oc-workshop .shop-transaction-total { display: flex; justify-content: flex-end; }
.oc-workshop .shop-buy { padding: 8px 18px; border-radius: 4px; border: 1px solid #d6a940; background: linear-gradient(#3a3320, #2a2415); color: #ffd978; font-weight: 700; cursor: pointer; }
.oc-workshop .shop-buy:disabled { opacity: .45; cursor: default; }
.oc-workshop .oc-wk-status { min-height: 20px; padding: 6px 12px; border-top: 1px solid #3b4261; font-size: 11px; color: #d6a940; white-space: pre-line; }
.oc-workshop .shop-transaction-empty { color: #9c988c; padding: 8px; }
@media (max-width: 640px) { .oc-workshop .oc-wk-body { grid-template-columns: 1fr; grid-template-rows: 45% 1fr; } .oc-workshop .shop-list-pane { border-right: 0; border-bottom: 1px solid #3b4261; } }
/* joalheria: espera de 32 s na oficina */
.oc-workshop .oc-wk-wait { margin: 8px 0 0; padding: 6px 8px; border: 1px solid #d6a940; border-radius: 4px; color: #ffd978; font: 600 12px/1.3 system-ui, sans-serif; }
