body { padding: 0; margin: 0 }
#unity-container { position: absolute }
#unity-container.unity-desktop { left: 50%; top: 50%; transform: translate(-50%, -50%) }
#unity-container.unity-mobile { position: fixed; left: 0; top: 0; width: 100%; height: 100% }
#unity-canvas { background: #231F20 }
/* display:block (25/09/2026): a canvas is inline by default, which adds a few pixels of
   text-baseline space under it. That made the mobile page slightly taller than the
   screen, i.e. scrollable, and a scrolled page is exactly what shifted the picture away
   from where taps land. touch-action:none stops the browser from panning/zooming the
   page on drags over the game. */
.unity-mobile #unity-canvas { display: block; width: 100%; height: 100%; touch-action: none }
/* The page itself can never scroll on mobile; the dark background also fills the side
   strips iOS leaves around the notch in landscape (it used to be white). */
html.unity-mobile-page, html.unity-mobile-page body { width: 100%; height: 100%; overflow: hidden; overscroll-behavior: none; background: #231F20 }
html.unity-mobile-page body { position: fixed; left: 0; top: 0 }
/* Carregador e falha com a marca do jogo (29/10/2026): fundo da página, ouro do HUD (0.94, 0.75, 0.25), Cinzel do jogo. */
@font-face { font-family: "Cinzel"; src: url('Cinzel.ttf') format('truetype'); font-display: swap }
#unity-loading-bar { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: none; width: min(320px, 80vw); text-align: center; font-family: "Segoe UI", system-ui, sans-serif; color: #e9dcc0 }
#conquest-emblem { width: 96px; height: 96px; border-radius: 18px; box-shadow: 0 0 32px rgba(240, 191, 64, 0.25) }
#conquest-title { margin-top: 14px; font-family: "Cinzel", Georgia, serif; font-size: 28px; letter-spacing: 0.08em; color: #f0bf40 }
#unity-progress-bar-empty { width: 100%; height: 4px; margin-top: 18px; border-radius: 2px; background: rgba(240, 191, 64, 0.18); overflow: hidden }
#unity-progress-bar-full { width: 0%; height: 100%; background: #f0bf40; transition: width 0.2s linear }
#conquest-status { margin-top: 12px; font-size: 14px; line-height: 1.4; color: #b9ab90; min-height: 2.8em }
#conquest-fail { position: fixed; left: 50%; top: 50%; transform: translate(-50%, -50%); display: none; z-index: 10; box-sizing: border-box; width: min(440px, calc(100vw - 32px)); padding: 28px 24px 18px; text-align: center; background: #16121a; border: 1px solid rgba(240, 191, 64, 0.45); border-radius: 12px; font-family: "Segoe UI", system-ui, sans-serif; color: #e9dcc0 }
#conquest-fail img { width: 64px; height: 64px; border-radius: 12px }
#conquest-fail h1 { margin: 12px 0 8px; font-family: "Cinzel", Georgia, serif; font-size: 22px; font-weight: 400; color: #f0bf40 }
#conquest-fail-reason { margin: 0 0 18px; font-size: 16px; line-height: 1.45 }
#conquest-fail button { margin: 0 6px; padding: 10px 22px; font: inherit; font-size: 16px; border-radius: 8px; cursor: pointer; border: 1px solid #f0bf40; background: #f0bf40; color: #16121a }
#conquest-fail #conquest-dismiss { background: transparent; color: #f0bf40 }
#conquest-fail-detail { margin: 16px 0 0; font-size: 11px; line-height: 1.3; color: #7d7365; word-break: break-word }
#unity-footer { position: relative }
.unity-mobile #unity-footer { display: none }
#unity-logo-title-footer { float:left; width: 102px; height: 38px; background: url('unity-logo-title-footer.png') no-repeat center }
#unity-build-title { float: right; margin-right: 10px; line-height: 38px; font-family: arial; font-size: 18px }
#unity-fullscreen-button { cursor:pointer; float: right; width: 38px; height: 38px; background: url('fullscreen-button.png') no-repeat center }
#unity-warning { position: absolute; left: 50%; top: 5%; transform: translate(-50%); background: white; padding: 10px; display: none }
