.ofc-root{position:fixed;inset:0;z-index:80;overflow:auto;background:#f6efe4;color:#2c2418;font-family:var(--body),Anuphan,"Noto Sans Thai",sans-serif}.ofc-root *{box-sizing:border-box}.ofc-loading{margin:22vh auto 0;text-align:center;font-family:var(--display),Mitr,sans-serif;font-size:22px}.ofc-top{display:flex;align-items:center;gap:10px;padding:10px 14px 0}.ofc-back{min-height:44px;padding:0 12px;border-radius:999px;background:#fff;color:#3a2a16;text-decoration:none;font-weight:700;display:inline-flex;align-items:center;border:1px solid #eadcc6}.ofc-ai{margin-left:auto;font-size:12px;font-weight:700;color:#6a5330;background:#fff6e4;border:1px solid #ead7b0;border-radius:999px;padding:6px 10px}.ofc-frame,.ofc-stage{position:relative}.ofc-stage{height:min(68vh,780px);min-height:380px;background:#d7d5d0}.ofc-stage canvas{display:block;width:100%;height:100%}.ofc-overlay{position:absolute;inset:0;pointer-events:none;z-index:2;overflow:hidden}.ofc-mark{transform:translate(-50%,-100%);display:none;align-items:center;gap:2px}.ofc-hud,.ofc-mark{position:absolute;flex-direction:column}.ofc-hud{inset:0;pointer-events:none;display:flex;padding:12px 14px 16px;z-index:3}.ofc-hud h1{margin:0;font-family:var(--display),Mitr,sans-serif;font-size:clamp(18px,2.2vw,28px);line-height:1.25;color:#2a2144;text-shadow:0 1px 0 rgba(255,255,255,.9)}.ofc-demo{margin:4px 0 0;font-size:13px;font-weight:700;color:#4d4168}.ofc-meta{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}.ofc-chip,.ofc-meta span{pointer-events:none;background:rgba(255,250,242,.88);border:1px solid rgba(90,60,20,.12);border-radius:999px;padding:4px 10px;font-size:13px;font-weight:700;color:#4a3820}.ofc-chip b{font-weight:800}.ofc-chip.working{color:#8a4b12}.ofc-chip.review{color:#8a5a10}.ofc-chip.done{color:#1d7a3a}.ofc-chip.err{color:#a32121}.ofc-meta span{background:rgba(255,252,255,.9);border:1px solid rgba(60,40,90,.12);color:#2c2418}.ofc-tools{pointer-events:auto;position:absolute;right:12px;bottom:12px;display:flex;flex-wrap:wrap;gap:8px;margin-top:0;justify-content:flex-end;max-width:min(520px,70%)}.ofc-tools button{min-height:44px;padding:0 14px;border-radius:999px;border:1px solid #e4d8f2;background:#fff;color:#2c2418;font-weight:700;cursor:pointer}.ofc-tools button[aria-pressed=true]{background:#6d4bff;color:#fff;border-color:#6d4bff}.ofc-tools .ofc-msg{align-self:center;font-size:13px;color:#4d4168}.ofc-legend{display:flex;flex-wrap:wrap;gap:6px;padding:8px 14px 0}.ofc-legend i{width:9px;height:9px;border-radius:50%;display:inline-block;margin-right:5px}.ofc-safe{position:absolute;inset:6%;border:1px dashed rgba(42,33,68,.35);pointer-events:none;border-radius:12px}.ofc-sheet{pointer-events:auto;position:absolute;left:12px;right:12px;bottom:12px;z-index:4;display:flex;gap:12px;align-items:center;background:#fffaf3;border-radius:18px;padding:10px 12px;box-shadow:0 12px 30px rgba(60,40,10,.16);border:1px solid #eadcc6}.ofc-sheet img{width:48px;height:56px;object-fit:contain;flex:none}.ofc-sheet b{font-family:var(--display),Mitr,sans-serif;font-size:18px;display:block}.ofc-sheet p{margin:0;font-size:13.5px;color:#5c4a32}.ofc-sheet button{margin-left:auto;min-height:44px;padding:0 12px;border-radius:12px;border:1px solid #eadcc6;background:#fff;cursor:pointer;font-weight:700}.ofc-label{pointer-events:none!important;display:flex;flex-direction:column;align-items:center;gap:3px}.ofc-dot{width:11px;height:11px;border-radius:50%;display:block;box-shadow:0 0 0 2px #fff,0 0 6px rgba(109,75,255,.4)}.ofc-name{display:block;width:max-content;max-width:92px;text-align:center;background:rgba(255,252,255,.94);color:#2a2144;font-size:10px;font-weight:800;padding:1px 6px;border-radius:999px;border:1px solid rgba(60,40,90,.14);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ofc-bubble{display:flex;flex-direction:column;align-items:flex-start;gap:1px;width:max-content;max-width:148px;background:#fffaf3;border:2px solid var(--c,#e0b030);border-radius:12px;padding:3px 7px;font-size:11px;font-weight:700;color:#2c2418;box-shadow:0 6px 14px rgba(40,24,8,.14)}.ofc-bubble b{font-size:11px;line-height:1.3}.ofc-bubble .tk{display:block;max-width:132px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-weight:600;color:#5c4a32}.ofc-bubble.st-error{background:#ffe4e4;border-color:#e04545}.ofc-bubble.st-done{background:#e9f8ee}.ofc-zone{font-family:var(--display),Mitr,sans-serif;font-weight:700;font-size:11px;color:#fff;white-space:nowrap;pointer-events:none;background:color-mix(in srgb,var(--c) 86%,#24180c);padding:1px 7px;border-radius:999px;box-shadow:0 0 12px color-mix(in srgb,var(--c) 65%,transparent)}.ofc-root[data-shot=close] .ofc-board,.ofc-root[data-shot=close] .ofc-legend,.ofc-root[data-shot=close] .ofc-top{display:none}.ofc-root[data-shot=close]{overflow:hidden;background:#d7d5d0}.ofc-root[data-shot=close] .ofc-stage{height:100vh;min-height:0}.ofc-stage canvas{touch-action:none}@keyframes ofc-pulse{50%{transform:scale(1.06)}}.ofc-board{padding:8px 14px 28px}.ofc-board h2{margin:8px 0 4px;font-family:var(--display),Mitr,sans-serif;font-size:clamp(22px,3vw,32px)}.ofc-filters{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:8px 0 12px}.ofc-filters label{display:flex;flex-direction:column;gap:4px;font-size:12px;font-weight:700;color:#6a5330}.ofc-filters select{min-height:44px;min-width:160px;border-radius:12px;border:1px solid #eadcc6;background:#fff;color:#2c2418;padding:0 10px;font:inherit;font-weight:600}.ofc-filters button{min-height:44px;padding:0 14px;border-radius:999px;border:1px solid #eadcc6;background:#fff;font-weight:700;cursor:pointer}.ofc-note{font-size:13px;color:#6a5330;margin:0 0 8px}.ofc-cols{display:flex;gap:10px;overflow-x:auto;padding-bottom:8px;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch}.ofc-col{flex:0 0 min(78vw,270px);scroll-snap-align:start;background:rgba(255,255,255,.55);border:1px solid #eadcc6;border-radius:16px;padding:8px;min-height:180px}.ofc-col header{display:flex;justify-content:space-between;align-items:baseline;gap:8px;margin-bottom:8px}.ofc-col h3{margin:0;font-size:14.5px;font-family:var(--display),Mitr,sans-serif}.ofc-col header span{font-size:12px;font-weight:800;color:#8a7352}.ofc-empty{margin:8px 4px;font-size:12.5px;color:#8a7352}.ofc-card{width:100%;text-align:left;display:grid;grid-gap:4px;gap:4px;border:1px solid #eadcc6;border-left:5px solid var(--c,#e0b030);background:#fffaf3;border-radius:12px;padding:8px 8px 8px 10px;margin-bottom:8px;cursor:pointer;color:inherit}.ofc-card b{font-size:14px;line-height:1.35}.ofc-card .who{display:flex;align-items:center;gap:6px;font-size:12.5px;color:#5c4a32}.ofc-card .who img{width:22px;height:26px;object-fit:contain}.ofc-card footer{display:flex;justify-content:space-between;gap:8px;font-size:12px;color:#6a5330}.ofc-card .grp{font-weight:800;border-radius:999px;padding:1px 7px;background:#f3e6c8;color:#5a4316}.ofc-card.is-hot{outline:2px solid var(--c,#e0b030);box-shadow:0 0 0 4px color-mix(in srgb,var(--c) 25%,transparent)}.ofc-card.is-dim{opacity:.45}.ofc-root[data-cine="1"] .ofc-board,.ofc-root[data-cine="1"] .ofc-legend,.ofc-root[data-cine="1"] .ofc-meta,.ofc-root[data-cine="1"] .ofc-sheet,.ofc-root[data-cine="1"] .ofc-tools,.ofc-root[data-cine="1"] .ofc-top{display:none}.ofc-root[data-cine="1"]{overflow:hidden}.ofc-root[data-cine="1"] .ofc-stage{height:100vh;min-height:0}.ofc-root[data-mode="16x9"] .ofc-board,.ofc-root[data-mode="16x9"] .ofc-legend,.ofc-root[data-mode="16x9"] .ofc-top,.ofc-root[data-mode="9x16"] .ofc-board,.ofc-root[data-mode="9x16"] .ofc-legend,.ofc-root[data-mode="9x16"] .ofc-top{display:none}.ofc-root[data-mode="16x9"],.ofc-root[data-mode="9x16"]{overflow:hidden;background:#1c160f}.ofc-root[data-mode="16x9"] .ofc-frame,.ofc-root[data-mode="9x16"] .ofc-frame{position:absolute;top:0;left:50%;width:var(--w);height:var(--h);transform:translateX(-50%) scale(var(--fit));transform-origin:top center}.ofc-root[data-mode="16x9"] .ofc-stage,.ofc-root[data-mode="9x16"] .ofc-stage{height:100%;min-height:0}@media (max-width:800px){.ofc-stage{height:58vh;min-height:320px}.ofc-hud{padding:8px}.ofc-hud h1{font-size:18px}.ofc-tools{right:8px;bottom:8px;max-width:100%}.ofc-chip,.ofc-meta span{font-size:11px;padding:2px 7px}.ofc-zone{font-size:10px;padding:1px 5px}.ofc-legend{display:none}.ofc-sheet{align-items:flex-start}.ofc-sheet button{margin-left:0}}@media (min-width:1100px){.ofc-cols{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));overflow:visible}.ofc-col{flex:none;min-height:240px}}@media (prefers-reduced-motion:reduce){.ofc-bubble{transition:none}}