/* i-rex.net — versione HTML5 */
html, body { margin: 0; padding: 0; }
body {
  background: #ffffff url('../img/ffx_background-1.jpg') no-repeat top center fixed;
  background-size: cover;
  cursor: pointer;
  font-family: 'Trebuchet MS', Tahoma, Helvetica, Arial, Verdana, sans-serif;
}
a { font-size: 9pt; text-decoration: none; transition: all .2s ease; }

/* box centrato come l'<object> 1024x1330 dell'originale */
#irx-page { display: flex; justify-content: center; }
#irx-box { position: relative; width: 1024px; height: 1330px; background: #f7f7f7; overflow: hidden; }
#irx-movie { position: absolute; left: 50%; top: 0; transform-origin: 0 0; }
#irx-loading { position: absolute; left: 0; right: 0; top: 40%; text-align: center; font: 11px 'Trebuchet MS', Arial, sans-serif; color: #999; letter-spacing: 3px; }
#irx-loading.done { display: none; }
#irx-enter { all: unset; position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; cursor: pointer; font-family: 'Trebuchet MS', Arial, sans-serif; color: #999; background: #f7f7f7; }
#irx-enter[hidden] { display: none; }
#irx-enter .t { font-size: 18px; letter-spacing: 2px; color: #bbb; }
#irx-enter .t b { color: #ff0066; font-weight: bold; }
#irx-enter .s { font-size: 11px; letter-spacing: 4px; }
#irx-enter:hover .s, #irx-enter:focus-visible .s { color: #333; }

/* testo alternativo nascosto visivamente */
.irx-alt { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- motore irx-player ---------- */
.irx-stage { position: relative; overflow: hidden; user-select: none; -webkit-user-select: none; }
.irx-stage, .irx-stage * { pointer-events: none; }
.irx-o { position: absolute; left: 0; top: 0; transform-origin: 0 0; }
.irx-o > img { position: absolute; display: block; max-width: none; user-select: none; -webkit-user-drag: none; }
.irx-svg { position: absolute; left: 0; top: 0; width: 1px; height: 1px; overflow: visible; }
.irx-svg text { white-space: pre; }
.irx-tf { position: absolute; box-sizing: border-box; overflow: hidden; }
.irx-tf.sel { user-select: text; -webkit-user-select: text; }
.irx-tf a { color: inherit; font-size: inherit; }
.irx-tf.links, .irx-tf.links * { pointer-events: auto; }
.irx-tf.links { overflow-y: auto; scrollbar-width: none; }
.irx-tf.links::-webkit-scrollbar { display: none; }
.irx-mask { visibility: hidden !important; }
.irx-hit { opacity: 0; }
.irx-hit, .irx-hit * { pointer-events: auto; cursor: pointer; }
.irx-btn.disabled .irx-hit, .irx-btn.disabled .irx-hit * { pointer-events: none; cursor: default; }
.irx-mclip, .irx-mclip * { pointer-events: auto; cursor: pointer; }
.irx-mclip .irx-mask, .irx-mclip .irx-mask * { pointer-events: none; }

/* ---------- finestra DHTML (inner) ---------- */
#dwindow01 { position: absolute; left: 20px; top: 20px; z-index: 1000; background: transparent; }
#dwindow01 .dw-title { position: absolute; left: 0; top: 0; height: 23px; width: 100%; display: flex; }
#dwindow01 .dw-title img { display: block; height: 23px; }
#dwindow01 .dw-bar {
  flex: 1; height: 23px; background: url('../images/skins/1.gif') repeat-x;
  color: #000; font: bold 14px 'Trebuchet MS', 'Inter', 'Poppins', Arial, sans-serif; line-height: 21px;
  padding-left: 4px; white-space: nowrap; overflow: hidden; cursor: move; user-select: none;
}
#dwindow01 .dw-content { position: absolute; left: 0; top: 23px; right: 0; bottom: 0; background: #fff; border-right: 1px solid #000; border-bottom: 1px solid #000; border-left: 1px solid #000; }
#dwindow01 iframe { display: block; width: 100%; height: 100%; border: 0; }
#dwindow01.dragging iframe { pointer-events: none; }
#dwindow01.minimized .dw-content { display: none; }
#dwindow01 button { all: unset; display: block; cursor: pointer; }
#NO-Open { position: absolute; left: 100px; top: 100px; width: 75px; height: 40px; z-index: 10000; background: rgb(235, 235, 240); border: 1px dashed #000; font: 11px 'Trebuchet MS', Arial, sans-serif; visibility: hidden; }
#NO-Open.show { visibility: visible; }

/* ---------- menu contestuale ---------- */
#contMenu {
  position: absolute; left: 0; top: 0; visibility: hidden; color: #666; background: #ccd; width: 100px;
  border: 2px outset #fff; padding: 2px; text-align: center; font-family: 'Inter', 'Poppins', 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 11px; cursor: default; z-index: 2000;
}
#contMenu .cm-logo { background: #fff; font-weight: bold; }

/* elenco "personal links": stesso stile dei testi del sito (Trebuchet, grigio scuro, evidenziazione arancione) */
.irx-tf[data-movie="~links"][data-var="list"] {
  font-family: "irx-main-97", "Trebuchet MS", Tahoma, Arial, sans-serif !important;
  font-style: normal !important; font-size: 11px !important; line-height: 16px !important;
  color: #333 !important; letter-spacing: .3px; padding: 6px 8px !important;
}
.irx-tf[data-movie="~links"][data-var="list"] a { font-size: 11px; color: #333; text-decoration: none; transition: color .2s; }
.irx-tf[data-movie="~links"][data-var="list"] a::before { content: "\25E6\00A0"; color: #ff3300; }
.irx-tf[data-movie="~links"][data-var="list"] a:hover { color: #ff3300; }

/* ---------- barra archivio storico ---------- */
#irx-archive {
  position: fixed; left: 0; right: 0; top: 0; z-index: 2000; height: 26px;
  display: flex; align-items: center; justify-content: center; gap: 18px;
  background: rgba(40, 40, 40, .88); color: #bbb; cursor: default;
  font: 11px/26px 'Trebuchet MS', Tahoma, Arial, sans-serif; letter-spacing: 1px;
  box-shadow: 0 1px 4px rgba(0,0,0,.3);
}
#irx-archive .a-t { color: #999; letter-spacing: 2px; }
#irx-archive .a-t b { color: #ff0066; }
#irx-archive a.a-go { font-size: 11px; color: #fff; padding: 0 10px; border-radius: 3px; background: #ff0066; line-height: 18px; }
#irx-archive a.a-go:hover, #irx-archive a.a-go:focus-visible { background: #f90; color: #000; }
#irx-archive[hidden] { display: none; }
body:has(#irx-archive:not([hidden])) { padding-top: 26px; }
@media (max-width: 760px) { #irx-archive .a-l { display: none; } }
