/* Oficina de Conserto — mesma paleta do portal (navy, creme, dourado). */
.oc-page { max-width: 1000px; margin: 0 auto; }
.oc-page .kicker { margin: 0 0 6px; }
.oc-page [hidden] { display: none !important; }

/* Lista */
.oc-hero { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; margin: 8px 0 28px; }
.oc-hero > div { flex: 999 1 460px; min-width: 0; }
.oc-hero h1 { margin: 0 0 8px; font-size: clamp(32px, 5vw, 44px); }
.oc-hero .lead { margin: 0; max-width: 580px; }
.oc-score { flex: 1 1 240px; background: #1B2140; color: #F5F1E6; border-radius: 18px; padding: 18px 22px; }
.oc-score p { margin: 0; }
.oc-score-kicker { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: #E2C45A; font-weight: 700; }
.oc-score-total { font-size: 26px; font-weight: 700; margin: 4px 0 !important; }
.oc-score-note { font-size: 14px; color: #B9BFD6; }
.oc-level { margin-bottom: 28px; }
.oc-level-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 6px 14px; margin-bottom: 12px; }
.oc-level-head h2 { margin: 0; font-size: clamp(20px, 3vw, 26px); }
.oc-level-head span { color: #50566b; font-size: 14px; }
.oc-orders { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 170px), 1fr)); gap: 12px; }
.oc-order { display: flex; flex-direction: column; gap: 4px; padding: 0 0 14px; background: #fff; border: 1.5px solid #DADCCF; border-radius: 16px; overflow: hidden; text-decoration: none; color: #1B2140; }
.oc-order img { display: block; width: 100%; height: auto; aspect-ratio: 8 / 3; object-fit: cover; margin-bottom: 8px; }
.oc-order:hover { border-color: #1B2140; }
.oc-order:focus-visible { outline: 3px solid #1B2140; outline-offset: 2px; }
.oc-order-no, .oc-order-title, .oc-order-status { padding: 0 14px; }
.oc-order-no { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: #50566b; font-weight: 700; }
.oc-order-title { color: #1B2140; font-family: 'Fraunces', Georgia, serif; font-size: 18px; line-height: 1.2; font-weight: 600; }
.oc-order-status { margin-top: auto; padding-top: 6px; font-size: 14px; color: #50566b; font-weight: 700; }
.oc-order.is-done { background: #FBF8F0; }
.oc-order.is-done .oc-order-status { color: #8A6A12; letter-spacing: .04em; }
.oc-empty { background: #fff; border: 1px solid #DADCCF; border-radius: 16px; padding: 28px; }
.oc-empty h2 { margin-top: 0; }
.oc-footnote { color: #50566b; font-size: 14px; }

/* Peça */
.oc-game { display: flex; flex-direction: column; gap: 20px; }
.oc-head { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.oc-head > div { flex: 1 1 260px; min-width: 0; }
.oc-head h1 { margin: 0; font-size: clamp(26px, 4vw, 36px); }
.oc-leave { min-height: 44px; }
.oc-bench { background: #fff; border: 1px solid #DADCCF; border-radius: 18px; overflow: hidden; }
.oc-cover { display: block; width: 100%; height: auto; aspect-ratio: 8 / 3; }
.oc-text { padding: 22px clamp(16px, 4vw, 30px) 26px; font-size: 19px; line-height: 2.2; }
.oc-slot { display: inline-flex; align-items: center; justify-content: center; position: relative; min-width: 6.5em; min-height: 40px; padding: 0 10px; margin: 0 2px; vertical-align: middle; border: 2px dashed #9A8F6A; border-radius: 10px; background: #EFE9D8; color: #1B2140; font: inherit; font-weight: 700; line-height: 1.2; cursor: pointer; }
span.oc-slot { cursor: default; }
.oc-slot-no { font-size: 12px; color: #50566b; }
.oc-slot.is-filled { border-style: solid; border-color: #1B2140; background: #fff; }
.oc-slot.is-hover { outline: 3px solid #C9A227; outline-offset: 2px; }
.oc-slot.is-ok { border-color: #176849; background: #E4F1E7; color: #176849; cursor: default; }
.oc-slot.is-bad { border-color: #9A2638; background: #FBE7EA; color: #9A2638; }
.oc-slot-tag { margin-left: 8px; padding-left: 8px; border-left: 1px solid #9CC9AE; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; line-height: 1; }
.oc-slot:focus-visible, .oc-piece:focus-visible { outline: 3px solid #1B2140; outline-offset: 3px; }
.oc-tray { background: #FBF8F0; border: 1px solid #DADCCF; border-radius: 18px; padding: 18px 20px; }
.oc-tray h2 { margin: 0 0 12px; font-size: 20px; }
.oc-pieces { display: flex; flex-wrap: wrap; gap: 10px; min-height: 48px; }
.oc-piece { min-height: 48px; padding: 0 18px; border-radius: 12px; border: 2px solid #1B2140; background: #fff; color: #1B2140; font: inherit; font-weight: 700; cursor: grab; touch-action: none; user-select: none; -webkit-user-select: none; box-shadow: 0 2px 0 #DADCCF; }
.oc-piece[aria-pressed=true] { background: #FFBD08; border-color: #FFBD08; }
.oc-piece.is-dragging { opacity: .35; }
.oc-ghost { position: fixed; z-index: 50; pointer-events: none; transform: translate(-50%, -60%) rotate(-3deg); box-shadow: 0 10px 24px rgba(27, 33, 64, .25); }
.oc-hint { margin: 12px 0 0; font-size: 15px; color: #50566b; }
.oc-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.oc-actions .button { min-height: 48px; }
.oc-actions .button:disabled { opacity: .5; cursor: not-allowed; }
.oc-stars { font-size: 15px; font-weight: 700; color: #8A6A12; letter-spacing: .04em; }
.oc-feedback { background: #fff; border: 1px solid #DADCCF; border-radius: 16px; padding: 16px 20px; }
.oc-feedback-title { display: block; font-family: 'Fraunces', Georgia, serif; font-size: 20px; margin-bottom: 8px; }
.oc-feedback ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; }
.oc-feedback ul:empty { display: none; }
.oc-feedback p { margin: 10px 0 0; color: #50566b; }
@media (prefers-reduced-motion: no-preference) { .oc-slot.is-ok { animation: oc-pop .35s ease-out; } @keyframes oc-pop { 0% { transform: scale(.9); } 60% { transform: scale(1.06); } 100% { transform: scale(1); } } }
@media (max-width: 520px) { .oc-text { font-size: 17px; line-height: 2.3; } .oc-slot { min-width: 5.5em; } }
