/* FRBC V36.17 — SHELL MAÎTRE / MOBILE PAYSAGE / MAQUETTE PHOTOSHOP
   Reference: MENU GAME copie(1).jpg — iPhone 15 852x393
   No duplicate game controls, no changes to 3D, gameplay, portrait, or V36.13 desktop.
   Disabled actions KEEP THEIR ALLOCATED CELL. Dice KEEP TWO DISPLAY SLOTS.
*/
@media screen and (orientation:landscape) and (max-width:1100px) and (max-height:600px){
 html.frbc-v36-game-active.frbc-v28-demo:not(.frbc-mobile-vertical):not(.frbc-pc-horizontal){
  --shell-edge:max(6px,env(safe-area-inset-left));
  --shell-right-edge:max(6px,env(safe-area-inset-right));
  --shell-left:clamp(120px,17vw,188px);
  --shell-right:clamp(120px,17vw,188px);
  --shell-gutter:clamp(5px,1.1vw,12px);
  --shell-top:clamp(69px,22.5dvh,104px);
  --shell-pad:clamp(5px,1.3dvh,9px);
  --shell-cell-gap:clamp(3px,.95dvh,6px);
  --shell-cell:44px;
  --shell-frame-left:calc(var(--shell-edge) + var(--shell-left) + 34px + var(--shell-gutter));
  --shell-frame-right:calc(var(--shell-right-edge) + var(--shell-right) + 34px + var(--shell-gutter));
  --shell-frame-top:max(8px,13dvh);
  --shell-frame-bottom:max(7px,env(safe-area-inset-bottom));
  --shell-frame-width:max(0px,calc(100dvw - var(--shell-frame-left) - var(--shell-frame-right)));
  --shell-panel:linear-gradient(155deg,rgba(20,60,91,.97),rgba(8,32,54,.98));
  /* Retain aliases consumed by older V28/V36 styles. */
  --v36-edge:var(--shell-edge)!important;
  --v36-right-edge:var(--shell-right-edge)!important;
  --v36-left-width:var(--shell-left)!important;
  --v36-right-width:var(--shell-right)!important;
  --v36-official-top:var(--shell-top)!important;
  --v36-top:var(--shell-top)!important;
  --v36-right-rail-top:var(--shell-top)!important;
  --frbc-frame-left:var(--shell-frame-left)!important;
  --frbc-frame-right:var(--shell-frame-right)!important;
  --frbc-frame-top:var(--shell-frame-top)!important;
  --frbc-frame-bottom:var(--shell-frame-bottom)!important;
  --frbc-frame-width:var(--shell-frame-width)!important;
  --frbc-frame-height:calc(100dvh - var(--shell-frame-top) - var(--shell-frame-bottom))!important;
 }
 /* Game-only: language, account and credit widget belong to GENERAL menu. */
 html.frbc-v36-game-active.frbc-v28-demo:not(.frbc-mobile-vertical):not(.frbc-pc-horizontal)
 .topbar .top-actions,
 html.frbc-v36-game-active.frbc-v28-demo:not(.frbc-mobile-vertical):not(.frbc-pc-horizontal)
 .topbar :is(#language-switch,#hud-account,#hud-wallet,#menu-button){display:none!important;visibility:hidden!important;pointer-events:none!important}
 html.frbc-v36-game-active.frbc-v28-demo:not(.frbc-mobile-vertical):not(.frbc-pc-horizontal)
 .topbar #scoreboard.match-score{position:fixed!important;top:max(4px,env(safe-area-inset-top))!important;
  right:var(--shell-right-edge)!important;left:auto!important;width:var(--shell-right)!important;
  min-width:0!important;max-width:var(--shell-right)!important;max-height:48px!important;
  box-sizing:border-box!important;overflow:hidden!important}
 html.frbc-v36-game-active.frbc-v28-demo:not(.frbc-mobile-vertical):not(.frbc-pc-horizontal)
 :is(#v28-clock-indicator#v28-clock-indicator,#frbc-clock-display#frbc-clock-display):not([hidden]){
  position:fixed!important;top:max(52px,calc(env(safe-area-inset-top) + 49px))!important;
  right:var(--shell-right-edge)!important;left:auto!important;width:var(--shell-right)!important;
  max-width:var(--shell-right)!important;max-height:20px!important;overflow:hidden!important}
 /* LEFT: native live dock is the only owner of turn controls. Its grid slots never move. */
 html.frbc-v36-game-active.frbc-v28-demo:not(.frbc-mobile-vertical):not(.frbc-pc-horizontal):not(.frbc-v28-dock-closed)
 #game-dock#game-dock#game-dock:not([hidden]){
  display:grid!important;position:fixed!important;inset:var(--shell-top) auto auto var(--shell-edge)!important;
  width:var(--shell-left)!important;max-width:var(--shell-left)!important;min-width:0!important;
  height:auto!important;min-height:0!important;
  max-height:calc(100dvh - var(--shell-top) - max(6px,env(safe-area-inset-bottom)))!important;
  margin:0!important;padding:var(--shell-pad)!important;
  box-sizing:border-box!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  grid-template-rows:minmax(32px,auto) 33px var(--shell-cell) var(--shell-cell) var(--shell-cell) 46px!important;
  grid-auto-flow:row!important;align-content:start!important;align-items:stretch!important;
  gap:var(--shell-cell-gap)!important;overflow-x:hidden!important;overflow-y:auto!important;
  overscroll-behavior:contain!important;scrollbar-width:thin!important;
  border:1px solid rgba(160,210,238,.7)!important;border-radius:12px!important;
  background:var(--shell-panel)!important;box-shadow:0 9px 28px #0009!important;
  transform:none!important;z-index:96!important;
 }
 /* The V28 controls are actually inside dock-secondary; flatten only wrappers in this grid. */
 html.frbc-v36-game-active.frbc-v28-demo:not(.frbc-mobile-vertical):not(.frbc-pc-horizontal)
 #game-dock#game-dock#game-dock :is(.dock-actions,.dock-secondary,#frbc-v28-dock-controls){display:contents!important}
 html.frbc-v36-game-active.frbc-v28-demo:not(.frbc-mobile-vertical):not(.frbc-pc-horizontal)
 #game-dock#game-dock#game-dock .turn-info{
  display:block!important;grid-area:1/1/2/-1!important;width:100%!important;max-width:100%!important;
  min-width:0!important;min-height:0!important;height:auto!important;max-height:45px!important;
  margin:0!important;padding:0 2px 4px!important;text-align:center!important;
  border-bottom:1px solid rgba(160,210,238,.37)!important;overflow:hidden!important}
 html.frbc-v36-game-active.frbc-v28-demo:not(.frbc-mobile-vertical):not(.frbc-pc-horizontal)
 #game-dock#game-dock#game-dock #turn-kicker{display:block!important;font:800 clamp(8px,1.23vw,10px)/1.2 system-ui!important;
  letter-spacing:.065em!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
 html.frbc-v36-game-active.frbc-v28-demo:not(.frbc-mobile-vertical):not(.frbc-pc-horizontal)
 #game-dock#game-dock#game-dock #turn-title{display:block!important;min-height:14px!important;max-height:28px!important;
  margin:2px 0 0!important;font:800 clamp(10px,1.4vw,13px)/1.12 system-ui!important;
  color:#fff!important;white-space:normal!important;overflow:hidden!important}
 html.frbc-v36-game-active.frbc-v28-demo:not(.frbc-mobile-vertical):not(.frbc-pc-horizontal)
 #game-dock#game-dock#game-dock :is(#turn-help,#cube-note,#hint-button,#moves-button,#frbc-v298-game-state){display:none!important}
 html.frbc-v36-game-active.frbc-v28-demo:not(.frbc-mobile-vertical):not(.frbc-pc-horizontal)
 #game-dock#game-dock#game-dock #cube-button{
  display:flex!important;grid-area:2/1/3/-1!important;align-items:center!important;justify-content:center!important;
  flex-wrap:wrap!important;column-gap:5px!important;row-gap:0!important;
  width:100%!important;min-width:0!important;max-width:100%!important;
  height:33px!important;min-height:33px!important;max-height:33px!important;
  margin:0!important;padding:2px 4px!important;box-sizing:border-box!important;
  border:1px solid rgba(166,217,245,.4)!important;border-radius:8px!important;
  font:800 clamp(8px,1.12vw,10px)/1.1 system-ui!important;
  color:#eaf5ff!important;background:#214e7088!important;white-space:normal!important}
 /* Exact permanent coordinates: pause | abandon, heart | undo, dice | dice, primary. */
 html.frbc-v36-game-active.frbc-v28-demo:not(.frbc-mobile-vertical):not(.frbc-pc-horizontal)
 #game-dock#game-dock#game-dock [data-v28-command="pause"]{grid-area:3/1/4/2!important}
 html.frbc-v36-game-active.frbc-v28-demo:not(.frbc-mobile-vertical):not(.frbc-pc-horizontal)
 #game-dock#game-dock#game-dock [data-v28-command="abandon"]{grid-area:3/2/4/3!important}
 html.frbc-v36-game-active.frbc-v28-demo:not(.frbc-mobile-vertical):not(.frbc-pc-horizontal)
 #game-dock#game-dock#game-dock #frbc-v36-friend-button{grid-area:4/1/5/2!important}
 html.frbc-v36-game-active.frbc-v28-demo:not(.frbc-mobile-vertical):not(.frbc-pc-horizontal)
 #game-dock#game-dock#game-dock #undo-button{grid-area:4/2/5/3!important}
 html.frbc-v36-game-active.frbc-v28-demo:not(.frbc-mobile-vertical):not(.frbc-pc-horizontal)
 #game-dock#game-dock#game-dock :is([data-v28-command="pause"],[data-v28-command="abandon"],#frbc-v36-friend-button,#undo-button){
  display:grid!important;place-items:center!important;position:relative!important;
  min-width:0!important;max-width:100%!important;width:100%!important;
  min-height:var(--shell-cell)!important;max-height:var(--shell-cell)!important;height:var(--shell-cell)!important;
  margin:0!important;padding:0!important;box-sizing:border-box!important;
  background:#255675c9!important;color:#edf8ff!important;
  border:1px solid #83b6d7!important;border-radius:9px!important;
  box-shadow:none!important;font-size:0!important;touch-action:manipulation!important}
 html.frbc-v36-game-active.frbc-v28-demo:not(.frbc-mobile-vertical):not(.frbc-pc-horizontal)
 #game-dock#game-dock#game-dock :is([data-v28-command="pause"],[data-v28-command="abandon"],#frbc-v36-friend-button) svg{
  width:clamp(22px,2.9vw,29px)!important;height:clamp(22px,2.9vw,29px)!important;
  stroke:currentColor!important;fill:none!important}
 html.frbc-v36-game-active.frbc-v28-demo:not(.frbc-mobile-vertical):not(.frbc-pc-horizontal)
 #game-dock#game-dock#game-dock #undo-button::before{
  display:block!important;content:'↶'!important;font:900 29px/1 system-ui!important}
 html.frbc-v36-game-active.frbc-v28-demo:not(.frbc-mobile-vertical):not(.frbc-pc-horizontal)
 #game-dock#game-dock#game-dock #frbc-v36-friend-button[aria-pressed="true"] svg{fill:#fb7194!important;stroke:#ffe0e7!important}
 /* Disabled actions remain VISIBLE, gray and anchored to the same grid cell. */
 html.frbc-v36-game-active.frbc-v28-demo:not(.frbc-mobile-vertical):not(.frbc-pc-horizontal)
 #game-dock#game-dock#game-dock :is(#cube-button,#undo-button,#frbc-v36-friend-button,[data-v28-command="pause"],[data-v28-command="abandon"]):disabled{
  opacity:.42!important;filter:grayscale(.68)!important;cursor:not-allowed!important;pointer-events:none!important}
 /* Two visible gray dice slots before the roll. Native dice buttons REPLACE the placeholders. */
 html.frbc-v36-game-active.frbc-v28-demo:not(.frbc-mobile-vertical):not(.frbc-pc-horizontal)
 #game-dock#game-dock#game-dock #dice-values{
  display:flex!important;grid-area:5/1/6/-1!important;align-items:stretch!important;justify-content:flex-start!important;
  gap:var(--shell-cell-gap)!important;position:relative!important;
  width:100%!important;min-width:0!important;max-width:100%!important;
  height:var(--shell-cell)!important;min-height:var(--shell-cell)!important;max-height:var(--shell-cell)!important;
  margin:0!important;padding:0!important;overflow-x:auto!important;overflow-y:hidden!important;
  scrollbar-width:none!important;scroll-snap-type:x proximity!important;box-sizing:border-box!important}
 html.frbc-v36-game-active.frbc-v28-demo:not(.frbc-mobile-vertical):not(.frbc-pc-horizontal)
 #game-dock#game-dock#game-dock #dice-values::-webkit-scrollbar{display:none!important}
 html.frbc-v36-game-active.frbc-v28-demo:not(.frbc-mobile-vertical):not(.frbc-pc-horizontal)
 #game-dock#game-dock#game-dock #dice-values:empty::before,
 html.frbc-v36-game-active.frbc-v28-demo:not(.frbc-mobile-vertical):not(.frbc-pc-horizontal)
 #game-dock#game-dock#game-dock #dice-values:empty::after{
  content:'⚄';display:grid;place-items:center;flex:0 0 calc((100% - var(--shell-cell-gap))/2);
  height:100%;min-width:0;box-sizing:border-box;border:1px solid #9bbfd5;
  background:#c6d9e3;color:#33556a;opacity:.52;border-radius:8px;
  font:900 25px/1 system-ui;filter:grayscale(1);pointer-events:none}
 html.frbc-v36-game-active.frbc-v28-demo:not(.frbc-mobile-vertical):not(.frbc-pc-horizontal)
 #game-dock#game-dock#game-dock #dice-values>button{
  flex:0 0 max(44px,calc((100% - var(--shell-cell-gap))/2))!important;
  max-width:none!important;width:auto!important;height:44px!important;min-width:44px!important;
  min-height:44px!important;padding:0!important;margin:0!important;
  box-sizing:border-box!important;scroll-snap-align:start;
  border-radius:8px!important;display:grid!important;place-items:center!important;
  font:900 27px/1 system-ui!important;background:#e5eff5!important;color:#123e5d!important}
 html.frbc-v36-game-active.frbc-v28-demo:not(.frbc-mobile-vertical):not(.frbc-pc-horizontal)
 #game-dock#game-dock#game-dock #dice-values>button:disabled{opacity:.43!important;filter:grayscale(1)!important;pointer-events:none!important}
 /* One constant primary slot, no horizontal/vertical jump on roll vs validate. */
 html.frbc-v36-game-active.frbc-v28-demo:not(.frbc-mobile-vertical):not(.frbc-pc-horizontal)
 #game-dock#game-dock#game-dock :is(#roll-button,#confirm-button):not([hidden]){
  display:flex!important;grid-area:6/1/7/-1!important;align-items:center!important;justify-content:center!important;
  width:100%!important;max-width:100%!important;min-width:0!important;
  height:46px!important;max-height:46px!important;min-height:46px!important;
  margin:0!important;padding:4px!important;box-sizing:border-box!important;
  color:#082a43!important;background:linear-gradient(145deg,#f1faff,#a1d5f5)!important;
  border:1px solid #c8ecff!important;border-radius:9px!important;
  font:800 clamp(10px,1.5vw,13px)/1.13 system-ui!important;
  text-align:center!important;white-space:normal!important;cursor:pointer!important}
 html.frbc-v36-game-active.frbc-v28-demo:not(.frbc-mobile-vertical):not(.frbc-pc-horizontal)
 #game-dock#game-dock#game-dock :is(#roll-button,#confirm-button):disabled:not([hidden]){
  opacity:.48!important;filter:grayscale(.4)!important;cursor:not-allowed!important;pointer-events:none!important}
 html.frbc-v36-game-active.frbc-v28-demo:not(.frbc-mobile-vertical):not(.frbc-pc-horizontal)
 #game-dock#game-dock#game-dock .frbc-multiplayer-actions,
 html.frbc-v36-game-active.frbc-v28-demo:not(.frbc-mobile-vertical):not(.frbc-pc-horizontal)
 #game-dock#game-dock#game-dock .coach-strip:not([hidden]){display:none!important}
 html.frbc-v36-game-active.frbc-v28-demo:not(.frbc-mobile-vertical):not(.frbc-pc-horizontal)
 #game-dock#game-dock#game-dock [hidden]{display:none!important}
 /* Fold handles are kept independent, out of the central content. */
 html.frbc-v36-game-active.frbc-v28-demo:not(.frbc-mobile-vertical):not(.frbc-pc-horizontal)
 #v28-dock-handle#v28-dock-handle#v28-dock-handle{
  display:grid!important;place-items:center!important;
  position:fixed!important;left:calc(var(--shell-edge) + var(--shell-left) + 3px)!important;
  top:var(--shell-top)!important;bottom:auto!important;right:auto!important;
  width:31px!important;min-width:31px!important;height:44px!important;min-height:44px!important;
  border-radius:8px!important;z-index:97!important;transform:none!important}
 html.frbc-v36-game-active.frbc-v28-demo.frbc-v28-dock-closed:not(.frbc-mobile-vertical):not(.frbc-pc-horizontal)
 #v28-dock-handle#v28-dock-handle#v28-dock-handle{left:var(--shell-edge)!important}
 /* Right: scoreboard/clock and 12 genuine V28 actions (no duplicate buttons). */
 html.frbc-v36-game-active.frbc-v28-demo:not(.frbc-v28-rail-closed):not(.frbc-mobile-vertical):not(.frbc-pc-horizontal)
 #v28-rail#v28-rail#v28-rail:not([hidden]){
  display:block!important;position:fixed!important;top:var(--shell-top)!important;
  right:var(--shell-right-edge)!important;left:auto!important;bottom:auto!important;
  width:var(--shell-right)!important;min-width:0!important;max-width:var(--shell-right)!important;
  height:auto!important;max-height:calc(100dvh - var(--shell-top) - 6px)!important;
  padding:5px!important;margin:0!important;box-sizing:border-box!important;
  overflow-x:hidden!important;overflow-y:auto!important;scrollbar-width:thin!important;
  background:var(--shell-panel)!important;border:1px solid #98c8e8!important;
  border-radius:12px!important;box-shadow:0 9px 28px #0009!important;z-index:96!important}
 html.frbc-v36-game-active.frbc-v28-demo:not(.frbc-mobile-vertical):not(.frbc-pc-horizontal)
 #v28-rail#v28-rail#v28-rail .v28-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:4px!important}
 html.frbc-v36-game-active.frbc-v28-demo:not(.frbc-mobile-vertical):not(.frbc-pc-horizontal)
 #v28-rail#v28-rail#v28-rail .v28-grid>.v28-tile{
  display:flex!important;min-width:0!important;width:100%!important;
  min-height:44px!important;height:clamp(44px,10.8dvh,60px)!important;max-height:none!important;
  box-sizing:border-box!important;padding:3px!important;margin:0!important;
  border:1px solid #86b9db!important;border-radius:8px!important;
  background:#1b5074df!important;color:#ecf7ff!important;
  font-size:clamp(15px,2.45vw,21px)!important}
 html.frbc-v36-game-active.frbc-v28-demo:not(.frbc-mobile-vertical):not(.frbc-pc-horizontal)
 #v28-rail#v28-rail#v28-rail .v28-grid>.v28-tile:disabled{opacity:.46!important;filter:grayscale(.5)!important}
 html.frbc-v36-game-active.frbc-v28-demo:not(.frbc-mobile-vertical):not(.frbc-pc-horizontal)
 #v28-rail-handle#v28-rail-handle#v28-rail-handle{
  display:grid!important;place-items:center!important;position:fixed!important;
  top:var(--shell-top)!important;bottom:auto!important;left:auto!important;
  right:calc(var(--shell-right-edge) + var(--shell-right) + 3px)!important;
  width:31px!important;min-width:31px!important;height:44px!important;min-height:44px!important;
  transform:none!important;border-radius:8px!important;z-index:97!important}
 html.frbc-v36-game-active.frbc-v28-demo.frbc-v28-rail-closed:not(.frbc-mobile-vertical):not(.frbc-pc-horizontal)
 #v28-rail-handle#v28-rail-handle#v28-rail-handle{right:var(--shell-right-edge)!important}
 /* Central frame exists ONLY when native modal is open; 3D stays visible between columns otherwise. */
 html.frbc-v36-game-active.frbc-v28-demo:not(.frbc-mobile-vertical):not(.frbc-pc-horizontal)
 :is(#shop-modal#shop-modal,#frbc-lobby-modal#frbc-lobby-modal,#menu-modal#menu-modal):not([hidden]),
 html.frbc-v36-game-active.frbc-v28-demo:not(.frbc-mobile-vertical):not(.frbc-pc-horizontal)
 #frbc-chat-modal#frbc-chat-modal:not([hidden]):not(.is-collapsed){
  display:flex!important;flex-flow:column nowrap!important;align-items:stretch!important;justify-content:center!important;
  position:fixed!important;
  inset:var(--shell-frame-top) var(--shell-frame-right) var(--shell-frame-bottom) var(--shell-frame-left)!important;
  width:var(--shell-frame-width)!important;max-width:var(--shell-frame-width)!important;
  height:calc(100dvh - var(--shell-frame-top) - var(--shell-frame-bottom))!important;
  max-height:calc(100dvh - var(--shell-frame-top) - var(--shell-frame-bottom))!important;
  min-width:0!important;min-height:0!important;margin:0!important;padding:0!important;
  box-sizing:border-box!important;overflow:hidden!important;border:1px solid #a1d4f1!important;
  border-radius:12px!important;background:#112e49!important;backdrop-filter:none!important;
  z-index:17000!important;pointer-events:auto!important}
 html.frbc-v36-game-active.frbc-v28-demo:not(.frbc-mobile-vertical):not(.frbc-pc-horizontal)
 :is(#shop-modal#shop-modal,#frbc-lobby-modal#frbc-lobby-modal,#menu-modal#menu-modal):not([hidden])>* ,
 html.frbc-v36-game-active.frbc-v28-demo:not(.frbc-mobile-vertical):not(.frbc-pc-horizontal)
 #frbc-chat-modal#frbc-chat-modal:not([hidden]):not(.is-collapsed)>.frbc-chat-card{
  position:relative!important;inset:auto!important;transform:none!important;
  width:100%!important;max-width:100%!important;min-width:0!important;
  height:100%!important;max-height:100%!important;min-height:0!important;
  margin:0!important;padding:clamp(6px,1.6dvh,13px)!important;
  box-sizing:border-box!important;overflow-x:hidden!important;overflow-y:auto!important}
 html.frbc-v36-game-active.frbc-v28-demo:not(.frbc-mobile-vertical):not(.frbc-pc-horizontal)
 :is(#v28-sessions-panel#v28-sessions-panel,#moves-panel#moves-panel):not([hidden]){
  position:fixed!important;left:var(--shell-frame-left)!important;right:auto!important;
  top:50%!important;bottom:auto!important;transform:translateY(-50%)!important;
  width:var(--shell-frame-width)!important;max-width:var(--shell-frame-width)!important;
  max-height:calc(100dvh - var(--shell-frame-top) - var(--shell-frame-bottom))!important;
  overflow-y:auto!important;box-sizing:border-box!important}
 html.frbc-v36-game-active.frbc-v28-demo:not(.frbc-mobile-vertical):not(.frbc-pc-horizontal)
 #v28-match-hint#v28-match-hint:not([hidden]){
  left:var(--shell-edge)!important;right:auto!important;top:auto!important;
  bottom:max(6px,env(safe-area-inset-bottom))!important;
  width:var(--shell-left)!important;max-width:var(--shell-left)!important;
  max-height:38px!important;overflow-y:auto!important}
 html.frbc-v36-game-active.frbc-v28-demo:not(.frbc-mobile-vertical):not(.frbc-pc-horizontal)
 #toast#toast.show:not([hidden]){
  left:var(--shell-edge)!important;right:auto!important;top:auto!important;
  bottom:max(46px,env(safe-area-inset-bottom))!important;
  width:var(--shell-left)!important;max-width:var(--shell-left)!important;
  max-height:38px!important;overflow-y:auto!important}
 html.frbc-v36-game-active.frbc-v28-demo:not(.frbc-mobile-vertical):not(.frbc-pc-horizontal)
 :is(#shop-modal,#frbc-lobby-modal,#menu-modal,#frbc-chat-modal,#v28-sessions-panel,#moves-panel)[hidden]{display:none!important}
 html.frbc-v36-game-active.frbc-v28-demo:not(.frbc-mobile-vertical):not(.frbc-pc-horizontal)
 #frbc-chat-modal.is-collapsed{display:none!important}
}
/* Small landscape: reserve 44px touch cells and scroll internally, never shrink the buttons. */
@media (orientation:landscape) and (max-width:700px) and (max-height:400px){
 html.frbc-v36-game-active.frbc-v28-demo:not(.frbc-mobile-vertical):not(.frbc-pc-horizontal){
  --shell-left:120px;--shell-right:120px;--shell-top:clamp(69px,22dvh,84px);
  --shell-gutter:5px;--shell-pad:4px;--shell-cell-gap:3px}
}
@media (prefers-reduced-motion:no-preference){
 html.frbc-v36-game-active.frbc-v28-demo:not(.frbc-mobile-vertical):not(.frbc-pc-horizontal)
 :is(#game-dock,#v28-rail){transition:width .14s cubic-bezier(.22,1,.36,1)!important}
}

/* FRBC V36.18 - COLONNE GAUCHE = ARCHITECTURE DU RAIL V28 DE DROITE
   Master: Photoshop 'image(5).png' (852 x 393), references approved 30 October.
   Only active in landscape mobile game; original native buttons & handlers preserved.
   Fluid proportions, touch targets >= 44px; portrait/desktop V36.13 untouched.
*/
@media screen and (orientation:landscape) and (max-width:1100px) and (max-height:600px){
 html.frbc-v36-game-active.frbc-v28-demo:not(.frbc-mobile-vertical):not(.frbc-pc-horizontal){
  --frbc-mirror-edge:max(6px,env(safe-area-inset-left));
  --frbc-mirror-right-edge:max(6px,env(safe-area-inset-right));
  --frbc-mirror-width:clamp(132px,17.4vw,198px);
  --frbc-mirror-gap:clamp(3px,.9dvh,6px);
  --frbc-mirror-pad:clamp(5px,1.2dvh,8px);
  --frbc-mirror-row:clamp(44px,10.2dvh,56px);
  --frbc-mirror-top:max(88px,23.5dvh);
  --frbc-mirror-blue:rgba(28,78,112,.95);
  --frbc-mirror-border:rgba(137,188,221,.83);
  /* Preserve existing frame variables; maintain one central unobstructed lane. */
  --shell-left:var(--frbc-mirror-width);
  --shell-right:var(--frbc-mirror-width);
  --shell-top:var(--frbc-mirror-top);
  --shell-edge:var(--frbc-mirror-edge);
  --shell-right-edge:var(--frbc-mirror-right-edge);
  --shell-cell:var(--frbc-mirror-row);
  --shell-gutter:clamp(5px,.9vw,11px);
  --shell-frame-left:calc(var(--shell-edge) + var(--shell-left) + 34px + var(--shell-gutter));
  --shell-frame-right:calc(var(--shell-right-edge) + var(--shell-right) + 34px + var(--shell-gutter));
  --shell-frame-width:max(0px,calc(100dvw - var(--shell-frame-left) - var(--shell-frame-right)));
  --v36-left-width:var(--frbc-mirror-width);
  --v36-right-width:var(--frbc-mirror-width);
  --v36-official-top:var(--frbc-mirror-top);
  --v36-top:var(--frbc-mirror-top);
 }
 /* Exact logo anchor: one real FRBC brand, no fake logo. */
 html.frbc-v36-game-active.frbc-v28-demo:not(.frbc-mobile-vertical):not(.frbc-pc-horizontal)
 .topbar .brand#brand{
  position:fixed!important;top:max(6px,env(safe-area-inset-top))!important;
  left:var(--frbc-mirror-edge)!important;right:auto!important;bottom:auto!important;
  display:flex!important;align-items:center!important;justify-content:flex-start!important;
  height:clamp(44px,12dvh,55px)!important;width:calc(var(--frbc-mirror-width) + 35px)!important;
  min-width:0!important;max-width:calc(var(--frbc-mirror-width) + 35px)!important;
  margin:0!important;gap:clamp(5px,.8vw,11px)!important;z-index:88!important;
  background:transparent!important;transform:none!important;
 }
 html.frbc-v36-game-active.frbc-v28-demo:not(.frbc-mobile-vertical):not(.frbc-pc-horizontal)
 .topbar .brand#brand .brand-logo{
  width:clamp(43px,11dvh,55px)!important;height:clamp(43px,11dvh,55px)!important;
  flex:0 0 auto!important;object-fit:contain!important;
 }
 html.frbc-v36-game-active.frbc-v28-demo:not(.frbc-mobile-vertical):not(.frbc-pc-horizontal)
 .topbar .brand#brand span{display:block!important;font:750 clamp(8px,1.34vw,12px)/1.35 system-ui!important;
  letter-spacing:.09em!important;white-space:nowrap!important;color:#f4f8fc!important}
 html.frbc-v36-game-active.frbc-v28-demo:not(.frbc-mobile-vertical):not(.frbc-pc-horizontal)
 .topbar .brand#brand small{display:block!important;margin-top:3px!important;font:650 clamp(7px,1.05vw,10px)/1.2 system-ui!important;
  letter-spacing:.18em!important;color:#d4e5f2!important}
 /* The thinking / match status is a small independent line, matching Photoshop. */
 html.frbc-v36-game-active.frbc-v28-demo:not(.frbc-mobile-vertical):not(.frbc-pc-horizontal)
 #frbc-v36-left-status{
  display:block!important;position:fixed!important;
  left:var(--frbc-mirror-edge)!important;right:auto!important;
  top:calc(var(--frbc-mirror-top) - 25px)!important;bottom:auto!important;
  width:var(--frbc-mirror-width)!important;max-width:var(--frbc-mirror-width)!important;
  box-sizing:border-box!important;height:22px!important;max-height:22px!important;
  padding:3px 7px!important;overflow:hidden!important;
  border:1px solid rgba(165,207,231,.18)!important;border-radius:7px!important;
  background:rgba(16,24,34,.94)!important;color:#dceeff!important;
  white-space:nowrap!important;text-overflow:ellipsis!important;text-align:center!important;
  font:700 clamp(9px,1.4vw,11px)/15px system-ui!important;z-index:92!important;
 }
 /* ROOT: same panel border, background and width as the real right V28 rail. */
 html.frbc-v36-game-active.frbc-v28-demo:not(.frbc-mobile-vertical):not(.frbc-pc-horizontal):not(.frbc-v28-dock-closed)
 #game-dock#game-dock#game-dock:not([hidden]){
  display:grid!important;position:fixed!important;
  inset:var(--frbc-mirror-top) auto auto var(--frbc-mirror-edge)!important;
  left:var(--frbc-mirror-edge)!important;top:var(--frbc-mirror-top)!important;
  right:auto!important;bottom:auto!important;
  width:var(--frbc-mirror-width)!important;min-width:var(--frbc-mirror-width)!important;
  max-width:var(--frbc-mirror-width)!important;
  height:auto!important;min-height:0!important;
  max-height:calc(100dvh - var(--frbc-mirror-top) - max(4px,env(safe-area-inset-bottom)))!important;
  box-sizing:border-box!important;margin:0!important;padding:var(--frbc-mirror-pad)!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  grid-template-rows:60px 26px var(--frbc-mirror-row) var(--frbc-mirror-row) var(--frbc-mirror-row) var(--frbc-mirror-row)!important;
  grid-auto-rows:0!important;grid-auto-flow:row!important;
  align-items:stretch!important;align-content:start!important;justify-content:stretch!important;
  gap:var(--frbc-mirror-gap)!important;
  overflow-x:hidden!important;overflow-y:auto!important;overscroll-behavior:contain!important;
  scrollbar-width:thin!important;scrollbar-color:rgba(178,214,233,.42) transparent!important;
  background:linear-gradient(160deg,rgba(18,55,82,.97),rgba(7,29,50,.97))!important;
  border:1px solid #9bcbed9e!important;border-radius:11px!important;
  box-shadow:0 8px 25px #0007!important;backdrop-filter:blur(6px)!important;
  color:#edf6ff!important;z-index:96!important;transform:none!important;
 }
 /* Only the native node tree is used. Wrappers never compete for grid cells. */
 html.frbc-v36-game-active.frbc-v28-demo:not(.frbc-mobile-vertical):not(.frbc-pc-horizontal)
 #game-dock#game-dock#game-dock :is(.dock-actions,.dock-secondary,#frbc-v28-dock-controls){
  display:contents!important;min-width:0!important;margin:0!important;padding:0!important;
  width:auto!important;height:auto!important;max-height:none!important;overflow:visible!important;
 }
 /* Title block (fixed first row); info doesn't push buttons down on long translations. */
 html.frbc-v36-game-active.frbc-v28-demo:not(.frbc-mobile-vertical):not(.frbc-pc-horizontal)
 #game-dock#game-dock#game-dock .turn-info{
  display:block!important;grid-area:1/1/2/3!important;min-width:0!important;
  width:100%!important;max-width:100%!important;
  height:60px!important;max-height:60px!important;min-height:0!important;
  margin:0!important;padding:2px 3px 4px!important;box-sizing:border-box!important;
  overflow:hidden!important;text-align:left!important;border:0!important;
  border-bottom:1px solid rgba(165,212,238,.35)!important;
 }
 html.frbc-v36-game-active.frbc-v28-demo:not(.frbc-mobile-vertical):not(.frbc-pc-horizontal)
 #game-dock#game-dock#game-dock #turn-kicker{
  display:block!important;margin:0!important;font:800 clamp(8px,1.32vw,10px)/1.1 system-ui!important;
  letter-spacing:.075em!important;text-align:left!important;color:#b7d6ea!important;
  white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;
 }
 html.frbc-v36-game-active.frbc-v28-demo:not(.frbc-mobile-vertical):not(.frbc-pc-horizontal)
 #game-dock#game-dock#game-dock #turn-title{
  display:-webkit-box!important;margin:3px 0 0!important;height:auto!important;
  max-height:30px!important;min-height:0!important;
  overflow:hidden!important;-webkit-box-orient:vertical!important;-webkit-line-clamp:2!important;
  text-align:left!important;color:#fff!important;
  font:800 clamp(10px,1.8vw,15px)/1.12 system-ui!important;
 }
 html.frbc-v36-game-active.frbc-v28-demo:not(.frbc-mobile-vertical):not(.frbc-pc-horizontal)
 #game-dock#game-dock#game-dock #turn-help{
  display:-webkit-box!important;-webkit-box-orient:vertical!important;-webkit-line-clamp:2!important;
  max-height:20px!important;min-height:0!important;margin:2px 0 0!important;
  color:#c8ddeb!important;font:500 9px/1.08 system-ui!important;overflow:hidden!important;
 }
 html.frbc-v36-game-active.frbc-v28-demo:not(.frbc-mobile-vertical):not(.frbc-pc-horizontal)
 #game-dock#game-dock#game-dock :is(#cube-note,#coach-strip,#hint-button,#moves-button,#frbc-v298-game-state){display:none!important}
 /* V I D E A U occupies exactly one dedicated row and never shifts. */
 html.frbc-v36-game-active.frbc-v28-demo:not(.frbc-mobile-vertical):not(.frbc-pc-horizontal)
 #game-dock#game-dock#game-dock #cube-button{
  grid-area:2/1/3/3!important;display:flex!important;flex-flow:row wrap!important;align-items:center!important;
  justify-content:center!important;column-gap:4px!important;row-gap:0!important;
  position:relative!important;box-sizing:border-box!important;width:100%!important;max-width:100%!important;
  min-width:0!important;height:26px!important;min-height:26px!important;max-height:26px!important;
  padding:1px 3px!important;margin:0!important;
  font:700 clamp(8px,1.05vw,10px)/1 system-ui!important;color:#d3e8f5!important;
  border:1px solid rgba(159,204,232,.35)!important;border-radius:8px!important;
  background:rgba(33,78,112,.28)!important;white-space:nowrap!important;
 }
 html.frbc-v36-game-active.frbc-v28-demo:not(.frbc-mobile-vertical):not(.frbc-pc-horizontal)
 #game-dock#game-dock#game-dock #cube-button b{min-width:18px!important;padding:3px!important;margin:0!important;
  border:1px solid #82b6d059!important;border-radius:4px!important;text-align:center!important}
 html.frbc-v36-game-active.frbc-v28-demo:not(.frbc-mobile-vertical):not(.frbc-pc-horizontal)
 #game-dock#game-dock#game-dock #cube-button:disabled{opacity:.44!important;filter:grayscale(.5)!important}
 /* 2x2 actions are actual V28 buttons, with the same tile design as right. */
 html.frbc-v36-game-active.frbc-v28-demo:not(.frbc-mobile-vertical):not(.frbc-pc-horizontal)
 #game-dock#game-dock#game-dock [data-v28-command="pause"]{grid-area:3/1/4/2!important}
 html.frbc-v36-game-active.frbc-v28-demo:not(.frbc-mobile-vertical):not(.frbc-pc-horizontal)
 #game-dock#game-dock#game-dock [data-v28-command="abandon"]{grid-area:3/2/4/3!important}
 html.frbc-v36-game-active.frbc-v28-demo:not(.frbc-mobile-vertical):not(.frbc-pc-horizontal)
 #game-dock#game-dock#game-dock #frbc-v36-friend-button{grid-area:4/1/5/2!important}
 html.frbc-v36-game-active.frbc-v28-demo:not(.frbc-mobile-vertical):not(.frbc-pc-horizontal)
 #game-dock#game-dock#game-dock #undo-button{grid-area:4/2/5/3!important}
 html.frbc-v36-game-active.frbc-v28-demo:not(.frbc-mobile-vertical):not(.frbc-pc-horizontal)
 #game-dock#game-dock#game-dock :is([data-v28-command="pause"],[data-v28-command="abandon"],#frbc-v36-friend-button,#undo-button){
  display:grid!important;place-items:center!important;position:relative!important;
  min-width:0!important;max-width:100%!important;width:100%!important;
  min-height:var(--frbc-mirror-row)!important;max-height:var(--frbc-mirror-row)!important;
  height:var(--frbc-mirror-row)!important;padding:0!important;margin:0!important;box-sizing:border-box!important;
  border:1px solid var(--frbc-mirror-border)!important;border-radius:8px!important;
  background:var(--frbc-mirror-blue)!important;color:#edf8ff!important;
  font-size:0!important;box-shadow:none!important;touch-action:manipulation!important;
 }
 html.frbc-v36-game-active.frbc-v28-demo:not(.frbc-mobile-vertical):not(.frbc-pc-horizontal)
 #game-dock#game-dock#game-dock :is([data-v28-command="pause"],[data-v28-command="abandon"],#frbc-v36-friend-button) svg{
  display:block!important;width:clamp(22px,5.8dvh,30px)!important;height:clamp(22px,5.8dvh,30px)!important;
  stroke:currentColor!important;fill:none!important;
 }
 html.frbc-v36-game-active.frbc-v28-demo:not(.frbc-mobile-vertical):not(.frbc-pc-horizontal)
 #game-dock#game-dock#game-dock #frbc-v36-friend-button[aria-pressed="true"] svg{fill:#ff7898!important;stroke:#ffe1e8!important}
 html.frbc-v36-game-active.frbc-v28-demo:not(.frbc-mobile-vertical):not(.frbc-pc-horizontal)
 #game-dock#game-dock#game-dock #undo-button::before{content:'↶'!important;display:block!important;font:900 27px/1 system-ui!important}
 html.frbc-v36-game-active.frbc-v28-demo:not(.frbc-mobile-vertical):not(.frbc-pc-horizontal)
 #game-dock#game-dock#game-dock :is([data-v28-command="pause"],[data-v28-command="abandon"],#frbc-v36-friend-button,#undo-button):disabled{
  display:grid!important;opacity:.4!important;filter:grayscale(.6)!important;pointer-events:none!important;cursor:default!important;
 }
 /* Two dice cells ALWAYS occupy the same coordinates, gray when unavailable. */
 html.frbc-v36-game-active.frbc-v28-demo:not(.frbc-mobile-vertical):not(.frbc-pc-horizontal)
 #game-dock#game-dock#game-dock #dice-values{
  grid-area:5/1/6/3!important;display:flex!important;
  flex-flow:row nowrap!important;align-items:stretch!important;justify-content:flex-start!important;
  width:100%!important;max-width:100%!important;min-width:0!important;
  height:var(--frbc-mirror-row)!important;min-height:var(--frbc-mirror-row)!important;
  max-height:var(--frbc-mirror-row)!important;margin:0!important;padding:0!important;
  align-items:stretch!important;justify-items:stretch!important;
  gap:var(--frbc-mirror-gap)!important;box-sizing:border-box!important;
  overflow-x:auto!important;overflow-y:hidden!important;scrollbar-width:none!important;
 }
 html.frbc-v36-game-active.frbc-v28-demo:not(.frbc-mobile-vertical):not(.frbc-pc-horizontal)
 #game-dock#game-dock#game-dock #dice-values::before,
 html.frbc-v36-game-active.frbc-v28-demo:not(.frbc-mobile-vertical):not(.frbc-pc-horizontal)
 #game-dock#game-dock#game-dock #dice-values::after{
  content:'⚄'!important;position:relative!important;display:grid!important;place-items:center!important;
  flex:0 0 calc((100% - var(--frbc-mirror-gap))/2)!important;min-width:0!important;
  border-radius:8px!important;border:1px solid var(--frbc-mirror-border)!important;
  background:rgba(241,239,232,.94)!important;color:#12466c!important;
  font:900 21px/1 system-ui!important;opacity:.35!important;pointer-events:none!important;
  box-sizing:border-box!important;
 }
 /* Disable placeholder when there are real dice; real children have precedence. */
 html.frbc-v36-game-active.frbc-v28-demo:not(.frbc-mobile-vertical):not(.frbc-pc-horizontal)
 #game-dock#game-dock#game-dock #dice-values:not(:empty)::before,
 html.frbc-v36-game-active.frbc-v28-demo:not(.frbc-mobile-vertical):not(.frbc-pc-horizontal)
 #game-dock#game-dock#game-dock #dice-values:not(:empty)::after{display:none!important;content:none!important}
 html.frbc-v36-game-active.frbc-v28-demo:not(.frbc-mobile-vertical):not(.frbc-pc-horizontal)
 #game-dock#game-dock#game-dock #dice-values>*{
  flex:0 0 calc((100% - var(--frbc-mirror-gap))/2)!important;
  width:auto!important;min-width:44px!important;max-width:none!important;
  height:var(--frbc-mirror-row)!important;min-height:44px!important;max-height:var(--frbc-mirror-row)!important;
  padding:0!important;margin:0!important;box-sizing:border-box!important;
  background:#f0ede6!important;color:#184365!important;border-radius:8px!important;
  border:1px solid var(--frbc-mirror-border)!important;display:grid!important;place-items:center!important;
 }
 /* One primary slot: launch / validate swap without shifting the overall grid. */
 html.frbc-v36-game-active.frbc-v28-demo:not(.frbc-mobile-vertical):not(.frbc-pc-horizontal)
 #game-dock#game-dock#game-dock :is(#roll-button,#confirm-button):not([hidden]){
  grid-area:6/1/7/3!important;display:flex!important;align-items:center!important;justify-content:center!important;
  width:100%!important;max-width:100%!important;min-width:0!important;
  height:var(--frbc-mirror-row)!important;min-height:44px!important;max-height:var(--frbc-mirror-row)!important;
  padding:4px!important;margin:0!important;box-sizing:border-box!important;
  background:linear-gradient(145deg,#eaf7ff,#a3d3f1)!important;color:#0d2f47!important;
  border:1px solid #c3e8fd!important;border-radius:9px!important;
  font:800 clamp(10px,1.6vw,13px)/1.15 system-ui!important;text-align:center!important;white-space:normal!important;
 }
 html.frbc-v36-game-active.frbc-v28-demo:not(.frbc-mobile-vertical):not(.frbc-pc-horizontal)
 #game-dock#game-dock#game-dock :is(#roll-button,#confirm-button):disabled:not([hidden]){
  opacity:.48!important;filter:grayscale(.5)!important;pointer-events:none!important;
 }
 /* User-approved: no BACK TO LOBBY, no extra historic tools, and no shifting of cells. */
 html.frbc-v36-game-active.frbc-v28-demo:not(.frbc-mobile-vertical):not(.frbc-pc-horizontal)
 #game-dock#game-dock#game-dock :is(.frbc-multiplayer-actions,#frbc-match-lobby,#frbc-v298-game-state,#hint-button,#moves-button,#cube-note,#coach-strip){display:none!important}
 html.frbc-v36-game-active.frbc-v28-demo:not(.frbc-mobile-vertical):not(.frbc-pc-horizontal)
 #game-dock#game-dock#game-dock [hidden]{display:none!important}
 /* Fold handle should stay beside the left rail but never replace it at startup. */
 html.frbc-v36-game-active.frbc-v28-demo:not(.frbc-mobile-vertical):not(.frbc-pc-horizontal)
 #v28-dock-handle#v28-dock-handle#v28-dock-handle{
  left:calc(var(--frbc-mirror-edge) + var(--frbc-mirror-width) + 4px)!important;
  top:var(--frbc-mirror-top)!important;right:auto!important;bottom:auto!important;
  width:34px!important;min-width:34px!important;height:44px!important;min-height:44px!important;
  box-sizing:border-box!important;z-index:97!important;transform:none!important;
 }
 html.frbc-v36-game-active.frbc-v28-demo.frbc-v28-dock-closed:not(.frbc-mobile-vertical):not(.frbc-pc-horizontal)
 #v28-dock-handle#v28-dock-handle#v28-dock-handle{left:var(--frbc-mirror-edge)!important}
 /* Right controls: reuse real V28 tiles and same physical width as left. */
 html.frbc-v36-game-active.frbc-v28-demo:not(.frbc-mobile-vertical):not(.frbc-pc-horizontal):not(.frbc-v28-rail-closed)
 #v28-rail#v28-rail#v28-rail:not([hidden]){
  top:var(--frbc-mirror-top)!important;right:var(--frbc-mirror-right-edge)!important;
  width:var(--frbc-mirror-width)!important;max-width:var(--frbc-mirror-width)!important;
  max-height:calc(100dvh - var(--frbc-mirror-top) - 4px)!important;
  border-radius:11px!important;padding:var(--frbc-mirror-pad)!important;
 }
 html.frbc-v36-game-active.frbc-v28-demo:not(.frbc-mobile-vertical):not(.frbc-pc-horizontal)
 #v28-rail#v28-rail#v28-rail .v28-grid{gap:var(--frbc-mirror-gap)!important}
 html.frbc-v36-game-active.frbc-v28-demo:not(.frbc-mobile-vertical):not(.frbc-pc-horizontal)
 #v28-rail#v28-rail#v28-rail .v28-grid>.v28-tile{
  min-height:44px!important;height:var(--frbc-mirror-row)!important;max-height:var(--frbc-mirror-row)!important;
  border-radius:8px!important;border-color:var(--frbc-mirror-border)!important;
 }
 html.frbc-v36-game-active.frbc-v28-demo:not(.frbc-mobile-vertical):not(.frbc-pc-horizontal)
 #v28-rail-handle#v28-rail-handle#v28-rail-handle{
  top:var(--frbc-mirror-top)!important;right:calc(var(--frbc-mirror-right-edge) + var(--frbc-mirror-width) + 4px)!important;
  width:34px!important;min-width:34px!important;height:44px!important;min-height:44px!important;
 }
 html.frbc-v36-game-active.frbc-v28-demo.frbc-v28-rail-closed:not(.frbc-mobile-vertical):not(.frbc-pc-horizontal)
 #v28-rail-handle#v28-rail-handle#v28-rail-handle{right:var(--frbc-mirror-right-edge)!important}
 /* Center: existing V36.17 native modals remain in between; no fake panel overlay. */
 html.frbc-v36-game-active.frbc-v28-demo:not(.frbc-mobile-vertical):not(.frbc-pc-horizontal)
 :is(#shop-modal,#frbc-lobby-modal,#menu-modal,#frbc-chat-modal,#v28-sessions-panel,#moves-panel)[hidden]{display:none!important}
}
@media screen and (orientation:landscape) and (max-width:700px) and (max-height:400px){
 html.frbc-v36-game-active.frbc-v28-demo:not(.frbc-mobile-vertical):not(.frbc-pc-horizontal){
  --frbc-mirror-width:132px;--frbc-mirror-top:83px;
  --frbc-mirror-row:44px;--frbc-mirror-gap:3px;
 }
}

/* FRBC V36.19 — surgical polish of the V36.18 master.
   Approved shell, controls, columns, camera and gameplay are unchanged.
   Keep right rail scrollable but remove its ornamental scrollbar;
   reduce ONLY text scale for better visual balance at phone sizes.
*/
@media screen and (orientation:landscape) and (max-width:1100px) and (max-height:600px){
  html.frbc-v36-game-active.frbc-v28-demo:not(.frbc-mobile-vertical):not(.frbc-pc-horizontal):not(.frbc-v28-rail-closed) #v28-rail#v28-rail#v28-rail:not([hidden]){
    overflow-y:auto!important;
    overflow-x:hidden!important;
    scrollbar-width:none!important;
    -ms-overflow-style:none!important;
  }
  html.frbc-v36-game-active.frbc-v28-demo:not(.frbc-mobile-vertical):not(.frbc-pc-horizontal):not(.frbc-v28-rail-closed) #v28-rail#v28-rail#v28-rail::-webkit-scrollbar,
  html.frbc-v36-game-active.frbc-v28-demo:not(.frbc-mobile-vertical):not(.frbc-pc-horizontal) #v28-rail#v28-rail#v28-rail .v28-grid::-webkit-scrollbar{
    width:0!important;height:0!important;display:none!important;
  }
  /* Left header: visually closer to the right labels; no grid reflow. */
  html.frbc-v36-game-active.frbc-v28-demo:not(.frbc-mobile-vertical):not(.frbc-pc-horizontal) #game-dock#game-dock#game-dock #turn-kicker{
    font:800 clamp(8px,1.0vw,9px)/1.13 system-ui!important;
    letter-spacing:.045em!important;
  }
  html.frbc-v36-game-active.frbc-v28-demo:not(.frbc-mobile-vertical):not(.frbc-pc-horizontal) #game-dock#game-dock#game-dock #turn-title{
    font:800 clamp(10px,1.25vw,12px)/1.14 system-ui!important;
    letter-spacing:0!important;
  }
  html.frbc-v36-game-active.frbc-v28-demo:not(.frbc-mobile-vertical):not(.frbc-pc-horizontal) #game-dock#game-dock#game-dock #turn-help{
    font:500 8.5px/1.12 system-ui!important;
  }
  html.frbc-v36-game-active.frbc-v28-demo:not(.frbc-mobile-vertical):not(.frbc-pc-horizontal) #game-dock#game-dock#game-dock #cube-button{
    font:700 clamp(8px,.97vw,9px)/1 system-ui!important;
  }
  html.frbc-v36-game-active.frbc-v28-demo:not(.frbc-mobile-vertical):not(.frbc-pc-horizontal) #game-dock#game-dock#game-dock :is(#roll-button,#confirm-button):not([hidden]){
    font:800 clamp(10px,1.28vw,12px)/1.14 system-ui!important;
  }
  html.frbc-v36-game-active.frbc-v28-demo:not(.frbc-mobile-vertical):not(.frbc-pc-horizontal) #frbc-v36-left-status{
    font:700 clamp(8.5px,1.08vw,10px)/15px system-ui!important;
  }
  /* Right V28: preserve icons and 44px+ touch cells; only typographic scale. */
  html.frbc-v36-game-active.frbc-v28-demo:not(.frbc-mobile-vertical):not(.frbc-pc-horizontal) #v28-rail#v28-rail#v28-rail .v28-grid>.v28-tile{
    font:800 clamp(9px,1.12vw,11px)/1.08 system-ui,sans-serif!important;
    letter-spacing:.1px!important;
  }
  html.frbc-v36-game-active.frbc-v28-demo:not(.frbc-mobile-vertical):not(.frbc-pc-horizontal) #v28-rail#v28-rail#v28-rail .v28-grid>.v28-tile>.v28-tile-label{
    font:800 clamp(9px,1.12vw,10.5px)/1.08 system-ui,sans-serif!important;
    letter-spacing:.12px!important;
  }
  html.frbc-v36-game-active.frbc-v28-demo:not(.frbc-mobile-vertical):not(.frbc-pc-horizontal) #v28-rail#v28-rail#v28-rail .v28-grid .v28-shop-credit{
    font:800 clamp(12px,1.55vw,15px)/1 system-ui,sans-serif!important;
  }
}

/* FRBC V36.20 — AXES MAITRES, strictement d'apres « MENU GAME copie(2).jpg »
   Correctif GEOMETRIE et ICONES seulement; la V36.19 reste la base.
   Les actions reelles du dock et du rail restent intactes, bureau / portrait exclus.
   Repere iPhone15 852x393 : logo+score > statut+chrono > dock+rail.
   Grilles symetriques : a gauche (2 cellules titre+videau) + 4 tuiles;
   a droite 6 rangees de tuiles. Meme hauteur totale, memes y, meme largeur.
*/
@media screen and (orientation:landscape) and (max-width:1100px) and (max-height:600px) {
 html.frbc-v36-game-active.frbc-v28-demo:not(.frbc-mobile-vertical):not(.frbc-pc-horizontal) {
  --frbc-align-margin: max(6px, env(safe-area-inset-left));
  --frbc-align-margin-right: max(6px, env(safe-area-inset-right));
  --frbc-align-width: clamp(132px, 16.67vw, 184px);
  --frbc-align-top: clamp(84px, 22.65dvh, 101px);
  --frbc-align-cell: clamp(44px, 11.20dvh, 50px);
  --frbc-align-gap: clamp(3px, 1.01dvh, 5px);
  --frbc-align-pad: clamp(5px, 1.27dvh, 6px);
  --frbc-align-cube:22px;
  --frbc-align-title:calc(2 * var(--frbc-align-cell) - var(--frbc-align-cube));
  --frbc-align-status-top:calc(var(--frbc-align-top) - 25px);
  --frbc-align-row-pair:calc(6 * var(--frbc-align-cell) + 5 * var(--frbc-align-gap) + 2 * var(--frbc-align-pad));
  --frbc-align-chevron:26px;
  --frbc-align-chevron-gap:4px;
  /* Update older aliases; only the official shell consumes these. */
  --frbc-mirror-edge:var(--frbc-align-margin);
  --frbc-mirror-right-edge:var(--frbc-align-margin-right);
  --frbc-mirror-width:var(--frbc-align-width);
  --frbc-mirror-top:var(--frbc-align-top);
  --frbc-mirror-row:var(--frbc-align-cell);
  --frbc-mirror-gap:var(--frbc-align-gap);
  --frbc-mirror-pad:var(--frbc-align-pad);
  --shell-left:var(--frbc-align-width)!important;
  --shell-right:var(--frbc-align-width)!important;
  --shell-edge:var(--frbc-align-margin)!important;
  --shell-right-edge:var(--frbc-align-margin-right)!important;
  --shell-top:var(--frbc-align-top)!important;
  --shell-cell:var(--frbc-align-cell)!important;
  /* Frame follows the same vector geometry: top beneath header, bottom aligned to rails. */
  --shell-frame-top:calc(var(--frbc-align-status-top) - 5px)!important;
  --shell-frame-bottom:max(4px,calc(100dvh - var(--frbc-align-top) - var(--frbc-align-row-pair)))!important;
  --shell-frame-left:calc(var(--frbc-align-margin) + var(--frbc-align-width) + var(--frbc-align-chevron) + 10px)!important;
  --shell-frame-right:calc(var(--frbc-align-margin-right) + var(--frbc-align-width) + var(--frbc-align-chevron) + 10px)!important;
  --shell-frame-width:max(0px,calc(100dvw - var(--shell-frame-left) - var(--shell-frame-right)))!important;
  --v36-official-top:var(--frbc-align-top)!important;
  --v36-right-rail-top:var(--frbc-align-top)!important;
 }
 /* Horizontal axis 1: logo and score start together; do not clip the scores. */
 html.frbc-v36-game-active.frbc-v28-demo:not(.frbc-mobile-vertical):not(.frbc-pc-horizontal) .topbar .brand#brand {
  left:var(--frbc-align-margin)!important;
  top:max(6px,env(safe-area-inset-top))!important;
  height:calc(var(--frbc-align-top) - 32px)!important;
  width:calc(var(--frbc-align-width) + 20px)!important;
  max-width:calc(var(--frbc-align-width) + 20px)!important;
  gap:6px!important;
  align-items:center!important;
 }
 html.frbc-v36-game-active.frbc-v28-demo:not(.frbc-mobile-vertical):not(.frbc-pc-horizontal) .topbar .brand#brand .brand-logo {
  width:clamp(43px,12.2dvh,51px)!important;
  height:clamp(43px,12.2dvh,51px)!important;
 }
 html.frbc-v36-game-active.frbc-v28-demo:not(.frbc-mobile-vertical):not(.frbc-pc-horizontal) .topbar .brand#brand span {
  font:750 clamp(8px,1.1vw,11px)/1.4 system-ui!important;
  letter-spacing:.085em!important;
 }
 html.frbc-v36-game-active.frbc-v28-demo:not(.frbc-mobile-vertical):not(.frbc-pc-horizontal) .topbar .brand#brand small {
  font:650 clamp(7px,.95vw,9px)/1.25 system-ui!important;
  letter-spacing:.18em!important;
 }
 html.frbc-v36-game-active.frbc-v28-demo:not(.frbc-mobile-vertical):not(.frbc-pc-horizontal) .topbar #scoreboard.match-score {
  left:auto!important;right:var(--frbc-align-margin-right)!important;
  top:max(6px,env(safe-area-inset-top))!important;
  width:var(--frbc-align-width)!important;min-width:0!important;
  max-width:var(--frbc-align-width)!important;
  height:calc(var(--frbc-align-top) - 32px)!important;
  min-height:0!important;max-height:calc(var(--frbc-align-top) - 32px)!important;
  overflow:hidden!important;
 }
 /* Horizontal axis 2: independent status and clock share the SAME baseline and size. */
 html.frbc-v36-game-active.frbc-v28-demo:not(.frbc-mobile-vertical):not(.frbc-pc-horizontal) #frbc-v36-left-status {
  top:var(--frbc-align-status-top)!important;
  left:var(--frbc-align-margin)!important;
  width:var(--frbc-align-width)!important;
  height:20px!important;max-height:20px!important;
  text-overflow:ellipsis!important;
 }
 html.frbc-v36-game-active.frbc-v28-demo:not(.frbc-mobile-vertical):not(.frbc-pc-horizontal)
 :is(#v28-clock-indicator#v28-clock-indicator,#frbc-clock-display#frbc-clock-display):not([hidden]) {
  top:var(--frbc-align-status-top)!important;
  left:auto!important;right:var(--frbc-align-margin-right)!important;
  width:var(--frbc-align-width)!important;max-width:var(--frbc-align-width)!important;
  height:20px!important;max-height:20px!important;
 }
 /* Horizontal axis 3: both side rails use one top coordinate, 6 rows and equal bottom. */
 html.frbc-v36-game-active.frbc-v28-demo:not(.frbc-mobile-vertical):not(.frbc-pc-horizontal):not(.frbc-v28-dock-closed)
 #game-dock#game-dock#game-dock:not([hidden]) {
  top:var(--frbc-align-top)!important;left:var(--frbc-align-margin)!important;
  right:auto!important;bottom:auto!important;
  width:var(--frbc-align-width)!important;min-width:var(--frbc-align-width)!important;
  max-width:var(--frbc-align-width)!important;
  height:var(--frbc-align-row-pair)!important;min-height:0!important;
  max-height:calc(100dvh - var(--frbc-align-top) - 4px)!important;
  padding:var(--frbc-align-pad)!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  grid-template-rows:var(--frbc-align-title) var(--frbc-align-cube) repeat(4,var(--frbc-align-cell))!important;
  grid-auto-rows:0!important;gap:var(--frbc-align-gap)!important;
  align-content:start!important;overflow-y:auto!important;
  scrollbar-width:none!important;
 }
 html.frbc-v36-game-active.frbc-v28-demo:not(.frbc-mobile-vertical):not(.frbc-pc-horizontal)
 #game-dock#game-dock#game-dock::-webkit-scrollbar {width:0!important;height:0!important;display:none!important}
 html.frbc-v36-game-active.frbc-v28-demo:not(.frbc-mobile-vertical):not(.frbc-pc-horizontal)
 #game-dock#game-dock#game-dock .turn-info {
  grid-area:1/1/2/3!important;
  height:var(--frbc-align-title)!important;
  max-height:var(--frbc-align-title)!important;
  padding:2px 3px!important;
  text-align:left!important;
 }
 html.frbc-v36-game-active.frbc-v28-demo:not(.frbc-mobile-vertical):not(.frbc-pc-horizontal)
 #game-dock#game-dock#game-dock #turn-kicker {
  font:800 clamp(8px,1.05vw,10px)/1.12 system-ui!important;
  letter-spacing:.075em!important;
 }
 html.frbc-v36-game-active.frbc-v28-demo:not(.frbc-mobile-vertical):not(.frbc-pc-horizontal)
 #game-dock#game-dock#game-dock #turn-title {
  font:800 clamp(10px,1.32vw,12px)/1.13 system-ui!important;
  max-height:30px!important;
  margin:3px 0 0!important;
 }
 html.frbc-v36-game-active.frbc-v28-demo:not(.frbc-mobile-vertical):not(.frbc-pc-horizontal)
 #game-dock#game-dock#game-dock #turn-help {
  font:500 clamp(8px,.95vw,9px)/1.16 system-ui!important;
  max-height:22px!important;
  margin:3px 0 0!important;
 }
 html.frbc-v36-game-active.frbc-v28-demo:not(.frbc-mobile-vertical):not(.frbc-pc-horizontal)
 #game-dock#game-dock#game-dock #cube-button {
  height:var(--frbc-align-cube)!important;min-height:var(--frbc-align-cube)!important;
  max-height:var(--frbc-align-cube)!important;
 }
 html.frbc-v36-game-active.frbc-v28-demo:not(.frbc-mobile-vertical):not(.frbc-pc-horizontal)
 #game-dock#game-dock#game-dock :is([data-v28-command="pause"],[data-v28-command="abandon"],#frbc-v36-friend-button,#undo-button) {
  height:var(--frbc-align-cell)!important;min-height:var(--frbc-align-cell)!important;
  max-height:var(--frbc-align-cell)!important;
  border-radius:8px!important;
 }
 html.frbc-v36-game-active.frbc-v28-demo:not(.frbc-mobile-vertical):not(.frbc-pc-horizontal)
 #game-dock#game-dock#game-dock :is([data-v28-command="pause"],[data-v28-command="abandon"],#frbc-v36-friend-button) svg {
  height:clamp(22px,6.25dvh,28px)!important;
  width:clamp(22px,6.25dvh,28px)!important;
  stroke-width:2.1!important;
 }
 /* Existing undo button, same icon as approved Photoshop: left-facing corner arrow. */
 html.frbc-v36-game-active.frbc-v28-demo:not(.frbc-mobile-vertical):not(.frbc-pc-horizontal)
 #game-dock#game-dock#game-dock #undo-button::before {
  content:''!important;
  width:28px!important;height:28px!important;display:block!important;
  background: center / 27px 27px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e9f6ff' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 9 5 14l5 5'/%3E%3Cpath d='M5 14h9a5 5 0 0 0 5-5V5'/%3E%3C/svg%3E")!important;
 }
 /* Same native dice slots, the exact five-dot motif from the Photoshop tiles. */
 html.frbc-v36-game-active.frbc-v28-demo:not(.frbc-mobile-vertical):not(.frbc-pc-horizontal)
 #game-dock#game-dock#game-dock #dice-values {
  height:var(--frbc-align-cell)!important;max-height:var(--frbc-align-cell)!important;
  min-height:var(--frbc-align-cell)!important;
 }
 html.frbc-v36-game-active.frbc-v28-demo:not(.frbc-mobile-vertical):not(.frbc-pc-horizontal)
 #game-dock#game-dock#game-dock #dice-values:empty::before,
 html.frbc-v36-game-active.frbc-v28-demo:not(.frbc-mobile-vertical):not(.frbc-pc-horizontal)
 #game-dock#game-dock#game-dock #dice-values:empty::after {
  content:''!important;
  background-color:#f1efe8!important;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='3' y='3' width='18' height='18' rx='1' fill='none' stroke='%230c3351' stroke-width='2'/%3E%3Ccircle cx='7.5' cy='7.5' r='1.7' fill='%230c3351'/%3E%3Ccircle cx='16.5' cy='7.5' r='1.7' fill='%230c3351'/%3E%3Ccircle cx='12' cy='12' r='1.7' fill='%230c3351'/%3E%3Ccircle cx='7.5' cy='16.5' r='1.7' fill='%230c3351'/%3E%3Ccircle cx='16.5' cy='16.5' r='1.7' fill='%230c3351'/%3E%3C/svg%3E")!important;
  background-repeat:no-repeat!important;
  background-position:center!important;
  background-size:25px 25px!important;
 }
 /* The second die has four pips, matching the separate right tile in the master. */
 html.frbc-v36-game-active.frbc-v28-demo:not(.frbc-mobile-vertical):not(.frbc-pc-horizontal)
 #game-dock#game-dock#game-dock #dice-values:empty::after {
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='3' y='3' width='18' height='18' rx='1' fill='none' stroke='%230c3351' stroke-width='2'/%3E%3Ccircle cx='7.5' cy='7.5' r='1.7' fill='%230c3351'/%3E%3Ccircle cx='16.5' cy='7.5' r='1.7' fill='%230c3351'/%3E%3Ccircle cx='7.5' cy='16.5' r='1.7' fill='%230c3351'/%3E%3Ccircle cx='16.5' cy='16.5' r='1.7' fill='%230c3351'/%3E%3C/svg%3E")!important;
 }
 html.frbc-v36-game-active.frbc-v28-demo:not(.frbc-mobile-vertical):not(.frbc-pc-horizontal)
 #game-dock#game-dock#game-dock :is(#roll-button,#confirm-button):not([hidden]) {
  height:var(--frbc-align-cell)!important;min-height:var(--frbc-align-cell)!important;
  max-height:var(--frbc-align-cell)!important;
  border-radius:8px!important;
  font:800 clamp(10px,1.25vw,12px)/1.15 system-ui!important;
 }
 /* Right rail mirrors left: exact 6x2 tile grid. No right-hand scrollbar. */
 html.frbc-v36-game-active.frbc-v28-demo:not(.frbc-mobile-vertical):not(.frbc-pc-horizontal):not(.frbc-v28-rail-closed)
 #v28-rail#v28-rail#v28-rail:not([hidden]) {
  top:var(--frbc-align-top)!important;right:var(--frbc-align-margin-right)!important;
  left:auto!important;bottom:auto!important;
  width:var(--frbc-align-width)!important;min-width:var(--frbc-align-width)!important;
  max-width:var(--frbc-align-width)!important;
  height:var(--frbc-align-row-pair)!important;min-height:0!important;
  max-height:calc(100dvh - var(--frbc-align-top) - 4px)!important;
  padding:var(--frbc-align-pad)!important;
  overflow-y:auto!important;scrollbar-width:none!important;
 }
 html.frbc-v36-game-active.frbc-v28-demo:not(.frbc-mobile-vertical):not(.frbc-pc-horizontal)
 #v28-rail#v28-rail#v28-rail .v28-grid {
  gap:var(--frbc-align-gap)!important;
 }
 html.frbc-v36-game-active.frbc-v28-demo:not(.frbc-mobile-vertical):not(.frbc-pc-horizontal)
 #v28-rail#v28-rail#v28-rail .v28-grid>.v28-tile {
  height:var(--frbc-align-cell)!important;max-height:var(--frbc-align-cell)!important;
  min-height:var(--frbc-align-cell)!important;
  border-radius:8px!important;
 }
 html.frbc-v36-game-active.frbc-v28-demo:not(.frbc-mobile-vertical):not(.frbc-pc-horizontal)
 #v28-rail-handle#v28-rail-handle#v28-rail-handle,
 html.frbc-v36-game-active.frbc-v28-demo:not(.frbc-mobile-vertical):not(.frbc-pc-horizontal)
 #v28-dock-handle#v28-dock-handle#v28-dock-handle {
  top:var(--frbc-align-top)!important;
  width:var(--frbc-align-chevron)!important;min-width:var(--frbc-align-chevron)!important;
  height:40px!important;min-height:40px!important;max-height:40px!important;
  padding:0!important;
  border-radius:8px!important;
 }
 html.frbc-v36-game-active.frbc-v28-demo:not(.frbc-mobile-vertical):not(.frbc-pc-horizontal)
 #v28-dock-handle#v28-dock-handle#v28-dock-handle {
  left:calc(var(--frbc-align-margin) + var(--frbc-align-width) + var(--frbc-align-chevron-gap))!important;
 }
 html.frbc-v36-game-active.frbc-v28-demo:not(.frbc-mobile-vertical):not(.frbc-pc-horizontal)
 #v28-rail-handle#v28-rail-handle#v28-rail-handle {
  right:calc(var(--frbc-align-margin-right) + var(--frbc-align-width) + var(--frbc-align-chevron-gap))!important;
 }
 /* Scope center frame to the actual space left between both chevrons. */
 html.frbc-v36-game-active.frbc-v28-demo:not(.frbc-mobile-vertical):not(.frbc-pc-horizontal)
 :is(#shop-modal,#frbc-lobby-modal,#menu-modal,#frbc-chat-modal,#v28-sessions-panel,#moves-panel)[hidden] {
  display:none!important;
 }
}


/* ========================================================================
   FRBC V36.21 — mobile paysage uniquement
   Finition du contenu : texte du tour et bandeau adversaire défilants DANS
   leur propre zone ; contenus SHOP et PARTIES adaptés à la frame centrale.
   AUCUNE modification des axes, cases, tailles ou positions des rails V36.20.
   ======================================================================== */
@media screen and (orientation:landscape) and (max-width:1100px) and (max-height:600px) {
  html.frbc-v36-game-active.frbc-v28-demo:not(.frbc-mobile-vertical):not(.frbc-pc-horizontal) {
    --frbc-v3621-copy-size:clamp(9px,1.18vw,11px);
  }
  /* Texte du tour : l'original reste dans le DOM et est lisible par un lecteur
     d'écran ; une copie visuelle défile uniquement si elle dépasse le cadre. */
  html.frbc-v36-game-active.frbc-v28-demo:not(.frbc-mobile-vertical):not(.frbc-pc-horizontal)
  #game-dock#game-dock#game-dock .turn-info {
    position:relative!important;isolation:isolate!important;overflow:hidden!important;
  }
  html.frbc-v36-game-active.frbc-v28-demo:not(.frbc-mobile-vertical):not(.frbc-pc-horizontal)
  #game-dock#game-dock#game-dock .turn-info.frbc-v3621-has-scroll-help #turn-help {
    color:transparent!important;text-shadow:none!important;opacity:0!important;
  }
  html.frbc-v36-game-active.frbc-v28-demo:not(.frbc-mobile-vertical):not(.frbc-pc-horizontal)
  #game-dock#game-dock#game-dock .turn-info .frbc-v3621-turn-window {
    display:block!important;position:absolute!important;left:3px!important;right:3px!important;
    width:auto!important;bottom:2px!important;height:13px!important;max-height:13px!important;
    padding:0!important;margin:0!important;overflow:hidden!important;white-space:nowrap!important;
    pointer-events:none!important;text-overflow:clip!important;z-index:2!important;
    font:500 var(--frbc-v3621-copy-size)/13px system-ui,Arial,sans-serif!important;
    color:#d3e7f5!important;
  }
  html.frbc-v36-game-active.frbc-v28-demo:not(.frbc-mobile-vertical):not(.frbc-pc-horizontal)
  #game-dock#game-dock#game-dock .turn-info .frbc-v3621-turn-window[hidden] {display:none!important}
  /* Le petit bandeau d'état conserve exactement son rectangle V36.20. */
  html.frbc-v36-game-active.frbc-v28-demo:not(.frbc-mobile-vertical):not(.frbc-pc-horizontal)
  #frbc-v36-left-status#frbc-v36-left-status {
    position:fixed!important;overflow:hidden!important;text-overflow:clip!important;
    white-space:nowrap!important;text-align:left!important;
  }
  html.frbc-v36-game-active.frbc-v28-demo:not(.frbc-mobile-vertical):not(.frbc-pc-horizontal)
  #frbc-v36-left-status .frbc-v3621-scroll-track,
  html.frbc-v36-game-active.frbc-v28-demo:not(.frbc-mobile-vertical):not(.frbc-pc-horizontal)
  .frbc-v3621-turn-window .frbc-v3621-scroll-track {
    display:inline-block!important;position:relative!important;width:max-content!important;
    max-width:none!important;margin:0!important;padding:0!important;
    overflow:visible!important;white-space:nowrap!important;
    vertical-align:top!important;letter-spacing:normal!important;word-spacing:normal!important;transform:translateX(0);
  }
  html.frbc-v36-game-active.frbc-v28-demo:not(.frbc-mobile-vertical):not(.frbc-pc-horizontal)
  .frbc-v3621-overlong>.frbc-v3621-scroll-track {
    animation:frbc-v3621-pan var(--frbc-v3621-duration,12s) linear 1s infinite!important;
  }
  /* Lire le début, révéler la fin, revenir à gauche — aucune sortie du cadre. */
  @keyframes frbc-v3621-pan {
    0%,16%{transform:translateX(0)}
    43%,59%{transform:translateX(var(--frbc-v3621-shift,-40px))}
    88%,100%{transform:translateX(0)}
  }

  /* Fenêtres centrales : seul le CONTENU interne change d'échelle.
     Le positionnement de la frame et les colonnes V28 sont inchangés. */
  html.frbc-v36-game-active.frbc-v28-demo:not(.frbc-mobile-vertical):not(.frbc-pc-horizontal)
  #shop-modal#shop-modal:not([hidden])>.shop-card,
  html.frbc-v36-game-active.frbc-v28-demo:not(.frbc-mobile-vertical):not(.frbc-pc-horizontal)
  #frbc-lobby-modal#frbc-lobby-modal:not([hidden])>.frbc-lobby {
    width:100%!important;max-width:100%!important;height:100%!important;
    max-height:100%!important;min-width:0!important;min-height:0!important;
    padding:clamp(7px,1.5dvh,12px)!important;box-sizing:border-box!important;
  }
  /* SHOP : garder les vraies cartes, aperçus 3D, sélections et paiements. */
  html.frbc-v36-game-active.frbc-v28-demo:not(.frbc-mobile-vertical):not(.frbc-pc-horizontal)
  #shop-modal#shop-modal .shop-card {display:flex!important;flex-flow:column nowrap!important;overflow:hidden!important}
  html.frbc-v36-game-active.frbc-v28-demo:not(.frbc-mobile-vertical):not(.frbc-pc-horizontal)
  #shop-modal#shop-modal .frbc-shop-scroll {
    min-height:0!important;min-width:0!important;flex:1 1 auto!important;
    overflow-x:hidden!important;overflow-y:auto!important;overscroll-behavior:contain!important;
    -webkit-overflow-scrolling:touch;
  }
  html.frbc-v36-game-active.frbc-v28-demo:not(.frbc-mobile-vertical):not(.frbc-pc-horizontal)
  #shop-modal#shop-modal .shop-heading {min-width:0!important;gap:6px!important;margin:0 40px 4px 0!important}
  html.frbc-v36-game-active.frbc-v28-demo:not(.frbc-mobile-vertical):not(.frbc-pc-horizontal)
  #shop-modal#shop-modal .shop-heading h2 {
    font-size:clamp(15px,2vw,21px)!important;line-height:1.15!important;
    margin:2px 0!important;min-width:0!important;
  }
  html.frbc-v36-game-active.frbc-v28-demo:not(.frbc-mobile-vertical):not(.frbc-pc-horizontal)
  #shop-modal#shop-modal .shop-wallet {min-width:0!important;max-width:42%!important;gap:0!important}
  html.frbc-v36-game-active.frbc-v28-demo:not(.frbc-mobile-vertical):not(.frbc-pc-horizontal)
  #shop-modal#shop-modal .shop-wallet b {font-size:clamp(14px,1.9vw,19px)!important}
  html.frbc-v36-game-active.frbc-v28-demo:not(.frbc-mobile-vertical):not(.frbc-pc-horizontal)
  #shop-modal#shop-modal .frbc-shop-selection {
    flex:0 0 auto!important;min-width:0!important;max-width:100%!important;
    padding:clamp(5px,1dvh,8px)!important;gap:5px!important;
    overflow-x:auto!important;scrollbar-width:none!important;
  }
  html.frbc-v36-game-active.frbc-v28-demo:not(.frbc-mobile-vertical):not(.frbc-pc-horizontal)
  #shop-modal#shop-modal :is(.credits-heading,.shop-collection-hero){
    min-width:0!important;flex-wrap:wrap!important;gap:5px!important;
  }
  html.frbc-v36-game-active.frbc-v28-demo:not(.frbc-mobile-vertical):not(.frbc-pc-horizontal)
  #shop-modal#shop-modal .credits-pack-grid {
    display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:clamp(4px,.8vw,8px)!important;
  }
  html.frbc-v36-game-active.frbc-v28-demo:not(.frbc-mobile-vertical):not(.frbc-pc-horizontal)
  #shop-modal#shop-modal .credits-pack-grid>button {
    min-width:0!important;min-height:44px!important;padding:5px 3px!important;
    white-space:normal!important;font-size:clamp(9px,1.2vw,11px)!important;
  }
  html.frbc-v36-game-active.frbc-v28-demo:not(.frbc-mobile-vertical):not(.frbc-pc-horizontal)
  #shop-modal#shop-modal .shop-tabs {
    display:flex!important;flex-flow:row nowrap!important;gap:4px!important;
    min-width:0!important;max-width:100%!important;overflow-x:auto!important;scrollbar-width:none!important;
  }
  html.frbc-v36-game-active.frbc-v28-demo:not(.frbc-mobile-vertical):not(.frbc-pc-horizontal)
  #shop-modal#shop-modal .shop-tabs button {flex:0 0 auto!important;min-height:44px!important;padding:6px 9px!important}
  html.frbc-v36-game-active.frbc-v28-demo:not(.frbc-mobile-vertical):not(.frbc-pc-horizontal)
  #shop-modal#shop-modal #shop-grid {grid-template-columns:minmax(0,1fr)!important;gap:7px!important}
  html.frbc-v36-game-active.frbc-v28-demo:not(.frbc-mobile-vertical):not(.frbc-pc-horizontal)
  #shop-modal#shop-modal #shop-grid .shop-item:has(.shop-product-media) {
    display:flex!important;flex-flow:row wrap!important;align-items:stretch!important;
    width:100%!important;min-width:0!important;gap:0!important;
  }
  html.frbc-v36-game-active.frbc-v28-demo:not(.frbc-mobile-vertical):not(.frbc-pc-horizontal)
  #shop-modal#shop-modal #shop-grid .shop-item>.shop-product-media {
    flex:0 0 clamp(95px,29%,150px)!important;
    width:clamp(95px,29%,150px)!important;min-width:0!important;max-width:42%!important;
    aspect-ratio:1.5!important;align-self:stretch!important;
  }
  html.frbc-v36-game-active.frbc-v28-demo:not(.frbc-mobile-vertical):not(.frbc-pc-horizontal)
  #shop-modal#shop-modal #shop-grid .shop-product-copy {
    flex:1 1 145px!important;width:auto!important;min-width:0!important;
    padding:clamp(6px,1.2dvh,10px)!important;
  }

  /* PARTIES : les cartes/commandes doivent être entièrement atteignables.
     On évite deux cartes étriquées côte à côte dans la frame centrale. */
  html.frbc-v36-game-active.frbc-v28-demo:not(.frbc-mobile-vertical):not(.frbc-pc-horizontal)
  #frbc-lobby-modal#frbc-lobby-modal .frbc-lobby-list,
  html.frbc-v36-game-active.frbc-v28-demo:not(.frbc-mobile-vertical):not(.frbc-pc-horizontal)
  #frbc-lobby-modal#frbc-lobby-modal #frbc-lobby-players {
    display:grid!important;grid-template-columns:minmax(0,1fr)!important;
    gap:5px!important;max-height:none!important;overflow:visible!important;
  }
  html.frbc-v36-game-active.frbc-v28-demo:not(.frbc-mobile-vertical):not(.frbc-pc-horizontal)
  #frbc-lobby-modal#frbc-lobby-modal header {gap:7px!important;padding-bottom:6px!important;min-width:0!important}
  html.frbc-v36-game-active.frbc-v28-demo:not(.frbc-mobile-vertical):not(.frbc-pc-horizontal)
  #frbc-lobby-modal#frbc-lobby-modal header h2 {
    font-size:clamp(15px,2vw,21px)!important;line-height:1.2!important;margin:0 0 3px!important;
  }
  html.frbc-v36-game-active.frbc-v28-demo:not(.frbc-mobile-vertical):not(.frbc-pc-horizontal)
  #frbc-lobby-modal#frbc-lobby-modal .frbc-lobby-player {
    display:flex!important;align-items:center!important;flex-wrap:wrap!important;
    gap:5px!important;padding:7px!important;min-width:0!important;max-width:100%!important;
    height:auto!important;min-height:0!important;overflow:visible!important;
  }
  html.frbc-v36-game-active.frbc-v28-demo:not(.frbc-mobile-vertical):not(.frbc-pc-horizontal)
  #frbc-lobby-modal#frbc-lobby-modal .frbc-player-actions {
    flex:1 1 auto!important;min-width:0!important;justify-content:flex-end!important;
    flex-wrap:wrap!important;gap:4px!important;
  }
  html.frbc-v36-game-active.frbc-v28-demo:not(.frbc-mobile-vertical):not(.frbc-pc-horizontal)
  #frbc-lobby-modal#frbc-lobby-modal .frbc-player-actions button {
    min-height:44px!important;min-width:44px!important;max-width:100%!important;
    padding:5px 8px!important;font-size:clamp(9px,1.15vw,11px)!important;
  }
  html.frbc-v36-game-active.frbc-v28-demo:not(.frbc-mobile-vertical):not(.frbc-pc-horizontal)
  #frbc-lobby-modal#frbc-lobby-modal :is(.frbc-lobby-tools,.frbc-lobby-join) {
    min-width:0!important;flex-wrap:wrap!important;gap:5px!important;margin:7px 0!important;
  }
  html.frbc-v36-game-active.frbc-v28-demo:not(.frbc-mobile-vertical):not(.frbc-pc-horizontal)
  #frbc-lobby-modal#frbc-lobby-modal :is(.frbc-lobby-tools,.frbc-lobby-join) input{
    flex:1 1 125px!important;min-width:0!important;max-width:100%!important;
  }
  html.frbc-v36-game-active.frbc-v28-demo:not(.frbc-mobile-vertical):not(.frbc-pc-horizontal)
  #frbc-lobby-modal#frbc-lobby-modal button {max-width:100%!important;overflow-wrap:anywhere!important}
  html.frbc-v36-game-active.frbc-v28-demo:not(.frbc-mobile-vertical):not(.frbc-pc-horizontal)
  #frbc-lobby-modal#frbc-lobby-modal .frbc-lobby {
    overflow-y:auto!important;overflow-x:hidden!important;overscroll-behavior:contain!important;
  }
}
@media (prefers-reduced-motion:reduce) {
 .frbc-v3621-overlong>.frbc-v3621-scroll-track {animation:none!important}
}


/* FRBC V36.22 — PATCH CHIRURGICAL, MOBILE PAYSAGE UNIQUEMENT
   1. Notification V28 redondante derrière la colonne gauche supprimée VISUELLEMENT.
   2. Texte état + aide : boucle fluide de GAUCHE VERS DROITE sans inversion.
   3. Texte explicatif immédiatement sous le titre, sans changer la grille.
   4. Flèche V28 gauche conservée et fermeture garantie vers la gauche.
   Ne modifie ni les deux rails, ni les cases, ni SHOP/PARTIES, ni le desktop.
*/
@media screen and (orientation:landscape) and (max-width:1100px) and (max-height:600px) {
 html.frbc-v36-game-active.frbc-v28-demo:not(.frbc-mobile-vertical):not(.frbc-pc-horizontal)
 #v28-match-hint#v28-match-hint {
   display:none!important;visibility:hidden!important;pointer-events:none!important;
 }
 /* Chaque copie boucle derrière son propre masque. Aucun texte ne sort du cadre. */
 html.frbc-v36-game-active.frbc-v28-demo:not(.frbc-mobile-vertical):not(.frbc-pc-horizontal)
 :is(#frbc-v36-left-status,.frbc-v3621-turn-window) {
   overflow:hidden!important;clip-path:inset(0 round 0px)!important;
 }
 html.frbc-v36-game-active.frbc-v28-demo:not(.frbc-mobile-vertical):not(.frbc-pc-horizontal)
 #frbc-v36-left-status .frbc-v3621-scroll-track,
 html.frbc-v36-game-active.frbc-v28-demo:not(.frbc-mobile-vertical):not(.frbc-pc-horizontal)
 #game-dock#game-dock#game-dock .frbc-v3621-turn-window .frbc-v3621-scroll-track {
   display:flex!important;align-items:center!important;flex-wrap:nowrap!important;
   gap:0!important;white-space:nowrap!important;width:max-content!important;
   will-change:transform!important;max-width:none!important;
   animation:frbc-v3622-continuous var(--frbc-v3622-duration,14s) linear infinite!important;
 }
 html.frbc-v36-game-active.frbc-v28-demo:not(.frbc-mobile-vertical):not(.frbc-pc-horizontal)
 .frbc-v3621-scroll-track .frbc-v3622-copy {
   flex:0 0 auto!important;white-space:nowrap!important;display:inline-block!important;
   min-width:0!important;padding:0!important;margin:0!important;
 }
 @keyframes frbc-v3622-continuous {
   from {transform:translate3d(calc(-1 * var(--frbc-v3622-cycle,200px)),0,0)}
   to   {transform:translate3d(0,0,0)}
 }
 /* L'ancienne animation aller/retour ne peut plus prendre la priorité. */
 html.frbc-v36-game-active.frbc-v28-demo:not(.frbc-mobile-vertical):not(.frbc-pc-horizontal)
 .frbc-v3621-overlong>.frbc-v3621-scroll-track {
   animation-name:frbc-v3622-continuous!important;
   animation-delay:0s!important;
 }
 /* L'aide se place au-dessous du véritable titre (calculé par le module JS).
    Aucun déplacement du videau, des boutons ou de la hauteur du dock. */
 html.frbc-v36-game-active.frbc-v28-demo:not(.frbc-mobile-vertical):not(.frbc-pc-horizontal)
 #game-dock#game-dock#game-dock .turn-info .frbc-v3621-turn-window {
   top:var(--frbc-v3622-help-top,32px)!important;bottom:auto!important;
   height:13px!important;max-height:13px!important;
 }
 /* Fermer = masquer le seul dock gauche. Flèche toujours accessible sur le bord gauche. */
 html.frbc-v36-game-active.frbc-v28-demo.frbc-v28-dock-closed:not(.frbc-mobile-vertical):not(.frbc-pc-horizontal)
 #game-dock#game-dock#game-dock {
   display:none!important;visibility:hidden!important;pointer-events:none!important;
 }
 html.frbc-v36-game-active.frbc-v28-demo.frbc-v28-dock-closed:not(.frbc-mobile-vertical):not(.frbc-pc-horizontal)
 #v28-dock-handle#v28-dock-handle#v28-dock-handle {
   display:grid!important;visibility:visible!important;pointer-events:auto!important;
   left:var(--frbc-align-margin)!important;right:auto!important;
   top:var(--frbc-align-top)!important;
 }
}
@media (prefers-reduced-motion:reduce) {
 html.frbc-v36-game-active.frbc-v28-demo .frbc-v3621-scroll-track {
   animation:none!important;transform:none!important;
 }
}

/* V36.22 — lorsqu'on replie la colonne, son bandeau d'état se replie aussi. */
@media screen and (orientation:landscape) and (max-width:1100px) and (max-height:600px){
 html.frbc-v36-game-active.frbc-v28-demo.frbc-v28-dock-closed:not(.frbc-mobile-vertical):not(.frbc-pc-horizontal)
 #frbc-v36-left-status#frbc-v36-left-status{display:none!important;visibility:hidden!important}
}


/* ======================================================================
   FRBC V36.23 — MICRO-CORRECTIONS EXCLUSIVES MOBILE PAYSAGE
   Reference VALIDEE : V36.22 / Photoshop. Rien dans les grilles ne bouge.
   ====================================================================== */
@media screen and (orientation:landscape) and (max-width:1100px) and (max-height:600px) {
  /* (1) Score compact : trois zones visibles DANS la largeur deja validee.
     L'ancien grid/padding dektop faisait disparaitre les chiffres en bas. */
  html.frbc-v36-game-active.frbc-v28-demo:not(.frbc-mobile-vertical):not(.frbc-pc-horizontal)
  .topbar #scoreboard.match-score {
    display:grid!important;
    grid-template-columns:minmax(0,1fr) minmax(43px,.95fr) minmax(0,1fr)!important;
    grid-template-rows:minmax(0,1fr)!important;
    align-items:center!important;justify-items:stretch!important;
    gap:2px!important;padding:2px 4px!important;
    height:calc(var(--frbc-align-top) - 32px)!important;
    min-height:0!important;max-height:calc(var(--frbc-align-top) - 32px)!important;
    overflow:hidden!important;
  }
  html.frbc-v36-game-active.frbc-v28-demo:not(.frbc-mobile-vertical):not(.frbc-pc-horizontal)
  .topbar #scoreboard.match-score > .player {
    display:flex!important;flex-flow:column nowrap!important;
    justify-content:center!important;align-items:center!important;
    gap:1px!important;min-width:0!important;max-width:100%!important;
    width:100%!important;height:100%!important;overflow:hidden!important;
    font-size:clamp(7px,.83vw,9px)!important;
    line-height:1.05!important;
  }
  html.frbc-v36-game-active.frbc-v28-demo:not(.frbc-mobile-vertical):not(.frbc-pc-horizontal)
  .topbar #scoreboard.match-score > .player :is(img,.frbc-score-portrait) {
    width:clamp(18px,5dvh,26px)!important;
    height:clamp(18px,5dvh,26px)!important;
    max-width:26px!important;max-height:26px!important;
    object-fit:cover!important;flex:0 0 auto!important;
  }
  html.frbc-v36-game-active.frbc-v28-demo:not(.frbc-mobile-vertical):not(.frbc-pc-horizontal)
  .topbar #scoreboard.match-score > .player :is(#name-white,#name-blue,.frbc-score-extras) {
    display:block!important;max-width:100%!important;min-width:0!important;
    overflow:hidden!important;text-overflow:ellipsis!important;
    white-space:nowrap!important;font-size:clamp(6px,.8vw,8px)!important;
    line-height:1.03!important;
  }
  html.frbc-v36-game-active.frbc-v28-demo:not(.frbc-mobile-vertical):not(.frbc-pc-horizontal)
  .topbar #scoreboard.match-score > .score-readout {
    min-width:0!important;width:100%!important;max-width:100%!important;
    height:100%!important;display:flex!important;flex-direction:column!important;
    justify-content:center!important;align-items:center!important;gap:1px!important;
  }
  html.frbc-v36-game-active.frbc-v28-demo:not(.frbc-mobile-vertical):not(.frbc-pc-horizontal)
  .topbar #scoreboard.match-score > .score-readout small {
    font:700 clamp(5px,.7vw,7px)/1 system-ui!important;
    letter-spacing:0!important;white-space:nowrap!important;
  }
  html.frbc-v36-game-active.frbc-v28-demo:not(.frbc-mobile-vertical):not(.frbc-pc-horizontal)
  .topbar #scoreboard.match-score #score {
    display:block!important;font:800 clamp(13px,2.2vw,19px)/1 system-ui!important;
    letter-spacing:0!important;white-space:nowrap!important;
  }
  html.frbc-v36-game-active.frbc-v28-demo:not(.frbc-mobile-vertical):not(.frbc-pc-horizontal)
  .topbar #scoreboard.match-score :is(#match-label,.round-progress) {display:none!important;}

  /* (2) Les deux poignées conservent leurs vrais events natifs.
     Seul le DESSIN de la flèche droite est réduit, pas la cible tactile. */
  html.frbc-v36-game-active.frbc-v28-demo:not(.frbc-mobile-vertical):not(.frbc-pc-horizontal)
  #v28-rail-handle#v28-rail-handle#v28-rail-handle {
    display:grid!important;place-items:center!important;
    width:44px!important;min-width:44px!important;max-width:44px!important;
    height:44px!important;min-height:44px!important;max-height:44px!important;
    border:none!important;box-shadow:none!important;
    background:transparent!important;color:#f4fbff!important;
    font:800 18px/1 system-ui!important;isolation:isolate!important;
    padding:0 0 0 18px!important;box-sizing:border-box!important;
  }
  html.frbc-v36-game-active.frbc-v28-demo:not(.frbc-mobile-vertical):not(.frbc-pc-horizontal)
  #v28-rail-handle#v28-rail-handle#v28-rail-handle::before {
    content:''!important;position:absolute!important;
    top:50%!important;left:auto!important;right:0!important;bottom:auto!important;
    transform:translateY(-50%)!important;
    width:27px!important;height:32px!important;border-radius:7px!important;
    border:1px solid #88c1e5!important;background:#173d5b!important;
    z-index:-1!important;pointer-events:none!important;
  }
  /* La poignée gauche se ferme sur commande V28 et reste visible après repli. */
  html.frbc-v36-game-active.frbc-v28-demo.frbc-v28-dock-closed:not(.frbc-mobile-vertical):not(.frbc-pc-horizontal)
  #game-dock#game-dock#game-dock,
  html.frbc-v36-game-active.frbc-v28-demo.frbc-v28-dock-closed:not(.frbc-mobile-vertical):not(.frbc-pc-horizontal)
  #frbc-v36-left-status#frbc-v36-left-status {
    display:none!important;visibility:hidden!important;pointer-events:none!important;
  }
  html.frbc-v36-game-active.frbc-v28-demo.frbc-v28-dock-closed:not(.frbc-mobile-vertical):not(.frbc-pc-horizontal)
  #v28-dock-handle#v28-dock-handle#v28-dock-handle {
    display:grid!important;visibility:visible!important;pointer-events:auto!important;
    left:var(--frbc-align-margin)!important;right:auto!important;
  }

  /* (3) Même taille optique des pictogrammes des deux grilles.
     Aucun bouton, dimensions de case ou palette n'est modifié. */
  html.frbc-v36-game-active.frbc-v28-demo:not(.frbc-mobile-vertical):not(.frbc-pc-horizontal)
  #game-dock#game-dock#game-dock :is([data-v28-command="pause"],[data-v28-command="abandon"],#frbc-v36-friend-button) svg {
    width:clamp(20px,5.8dvh,24px)!important;
    height:clamp(20px,5.8dvh,24px)!important;
  }
  html.frbc-v36-game-active.frbc-v28-demo:not(.frbc-mobile-vertical):not(.frbc-pc-horizontal)
  #game-dock#game-dock#game-dock #undo-button::before {
    content:''!important;display:block!important;position:absolute!important;
    top:50%!important;left:50%!important;right:auto!important;bottom:auto!important;
    width:26px!important;height:26px!important;min-width:0!important;min-height:0!important;
    transform:translate(-50%,-50%)!important;
    background:currentColor!important;
    -webkit-mask:url('data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2032%2032%22%3E%3Cpath%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%223.4%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20d%3D%22M14%208%207%2015l7%207M7%2015h13c3%200%205-2%205-5V7%22%2F%3E%3C%2Fsvg%3E') center/contain no-repeat!important;
    mask:url('data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2032%2032%22%3E%3Cpath%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%223.4%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20d%3D%22M14%208%207%2015l7%207M7%2015h13c3%200%205-2%205-5V7%22%2F%3E%3C%2Fsvg%3E') center/contain no-repeat!important;
  }
  /* (4) Les dés issus du moteur sont de VRAIS boutons, non de faux pictos.
     Ils doivent pouvoir etre choisis lorsque le coup est disponible. */
  html.frbc-v36-game-active.frbc-v28-demo:not(.frbc-mobile-vertical):not(.frbc-pc-horizontal)
  #game-dock#game-dock#game-dock #dice-values>button:not(:disabled) {
    opacity:1!important;filter:none!important;pointer-events:auto!important;cursor:pointer!important;
  }
  html.frbc-v36-game-active.frbc-v28-demo:not(.frbc-mobile-vertical):not(.frbc-pc-horizontal)
  #game-dock#game-dock#game-dock #dice-values>button.selected {
    border:2px solid #f5d083!important;
    box-shadow:inset 0 0 0 2px #244865,0 0 0 2px #f5d08388!important;
    background:#f6f2e8!important;
  }
  html.frbc-v36-game-active.frbc-v28-demo:not(.frbc-mobile-vertical):not(.frbc-pc-horizontal)
  #game-dock#game-dock#game-dock #dice-values>button:disabled {
    opacity:.4!important;filter:grayscale(1)!important;pointer-events:none!important;
  }
}
/* La lecture commence A GAUCHE puis sort a gauche; le message suivant
   arrive par LA DROITE. Boucle mathematiquement continue, sans aller-retour. */
@keyframes frbc-v3622-continuous {
  from {transform:translate3d(0,0,0)}
  to {transform:translate3d(calc(-1 * var(--frbc-v3622-cycle,200px)),0,0)}
}
