
html, body { height: 100%; overflow: hidden; scroll-behavior: auto; overscroll-behavior: none; }
body { font-size: 16px; }
#cv-society, #cv-at { position: fixed; left: 0; top: 0; width: 100vw; height: 100vh; height: 100dvh; display: block; }
#cv-society { image-rendering: pixelated; touch-action: none; cursor: crosshair; transform-origin: 50% 50%; z-index: 0; }
#cv-at { pointer-events: none; z-index: 1; opacity: 0; }
body.bottom #cv-at { pointer-events: auto; touch-action: none; cursor: grab; }

.mono-s { font-family: var(--mono); font-variation-settings: 'wdth' 87.5; }


.status { position: fixed; z-index: 19; top: 60px; left: 0; right: 0; margin: 0; padding: 7px var(--gutter) 8px; font-family: var(--mono); font-variation-settings: 'wdth' 87.5; font-size: 11px; letter-spacing: .02em; line-height: 1.5; color: var(--ink2); background: rgba(0, 0, 0, .72); border-bottom: 1px solid var(--line); }
.state { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-variation-settings: 'wdth' 87.5; font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink2); border: 1px solid var(--line); padding: 9px 12px; border-radius: 2px; white-space: nowrap; }
.state i { width: 7px; height: 7px; background: var(--ink3); display: block; }
.state.alive i { background: var(--amber); animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .35; } }


.scale { position: fixed; z-index: 15; left: var(--gutter); bottom: 22px; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.scale ol { list-style: none; margin: 0; padding: 0 0 0 1px; position: relative; display: flex; flex-direction: column; }
.scale ol::before { content: ''; position: absolute; left: 4px; top: 8px; bottom: 8px; width: 1px; background: var(--line); }
.scale li button { all: unset; box-sizing: border-box; cursor: pointer; display: flex; align-items: flex-start; gap: 12px; padding: 5px 10px 5px 0; font-family: var(--mono); font-variation-settings: 'wdth' 87.5; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink3); }
.scale li button i { width: 9px; height: 9px; border: 1px solid var(--ink3); background: #000; display: block; margin-top: 2px; flex: none; position: relative; z-index: 1; }
.scale li .l { display: flex; flex-direction: column; gap: 2px; background: rgba(0, 0, 0, .66); padding: 1px 5px 2px; }
.scale li small { font-size: 9px; letter-spacing: .06em; text-transform: none; color: var(--ink3); }
.scale li button:hover, .scale li button:focus-visible { color: var(--ink); }
.scale li.passed button i { background: var(--ink2); border-color: var(--ink2); }
.scale li.here button { color: var(--ink); }
.scale li.here button i { background: var(--amber); border-color: var(--amber); }
.scale li.here small { color: var(--amber); }
.scale .z-plus, .scale .z-minus { width: 34px; height: 34px; background: rgba(0, 0, 0, .8); border: 1px solid var(--line); color: var(--ink); font-family: var(--mono); font-size: 16px; line-height: 1; cursor: pointer; border-radius: 2px; padding: 0; }
.scale .z-plus:hover, .scale .z-minus:hover { border-color: var(--amber); color: var(--amber); }
.scale .z-plus[disabled], .scale .z-minus[disabled] { opacity: .35; cursor: default; }
.scale .z-now { display: none; }


.drawer { position: fixed; z-index: 10; top: 106px; right: 16px; width: 356px; max-height: calc(100% - 122px); overflow-y: auto; background: rgba(0, 0, 0, .86); border: 1px solid var(--line); padding: 20px 20px 16px; scrollbar-width: thin; transition: opacity .35s; }
.drawer-handle { display: none; }
body.bottom .drawer { opacity: 0; visibility: hidden; }
.drawer h1 { font-weight: 300; font-size: 32px; line-height: 1.05; margin: 0 0 6px; letter-spacing: -.01em; }
.drawer h1 em { font-style: italic; }
.drawer .sub { font-family: var(--mono); font-variation-settings: 'wdth' 87.5; font-size: 10px; letter-spacing: .06em; color: var(--ink3); line-height: 1.7; margin: 0 0 4px; }
.drawer .datablock { margin: 10px 0 6px; font-size: 11.5px; grid-template-columns: 108px 1fr; }
.drawer .datablock dt, .drawer .datablock dd { padding: 7px 0; }
.drawer .datablock dt { padding-top: 9px; font-size: 9.5px; }
.drawer .datablock dd { font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.drawer .datablock dd small { display: inline; font-size: 10px; color: var(--ink3); }
.drawer h3 { margin: 20px 0 8px; font-size: 10px; }
.exact { color: var(--amber); }
.error { color: #ee8f8f; }
.hash { letter-spacing: .08em; }
.hash b { color: var(--ink); font-weight: 400; }
.lineage-list { font-family: var(--mono); font-variation-settings: 'wdth' 87.5; font-size: 10.5px; color: var(--ink2); display: grid; gap: 4px; }
.lineage-list .lin { display: grid; grid-template-columns: 10px 104px 40px 1fr; gap: 8px; align-items: center; font-variant-numeric: tabular-nums; }
.lineage-list .lin i { width: 10px; height: 10px; display: block; }
.lineage-list .lin u { height: 3px; display: block; background: var(--ink3); text-decoration: none; }
.lineage-list .plus { color: var(--ink3); }
.log { list-style: none; margin: 0; padding: 0; font-family: var(--mono); font-variation-settings: 'wdth' 87.5; font-size: 10.5px; line-height: 1.5; min-height: 120px; }
.log li { border-top: 1px solid var(--line); padding: 7px 0; color: var(--ink); overflow-wrap: anywhere; }
.log li span { display: block; color: var(--ink3); font-size: 9px; letter-spacing: .08em; text-transform: uppercase; }
.log li b { color: var(--amber); font-weight: 400; }
.log li.empty { color: var(--ink3); }
.ctrl-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.ctrl-row button, .ctrl-row select { background: #000; border: 1px solid var(--line); color: var(--ink); font-family: var(--mono); font-variation-settings: 'wdth' 87.5; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; padding: 8px 10px; cursor: pointer; border-radius: 2px; }
.ctrl-row select { text-transform: none; letter-spacing: .02em; padding: 7px 6px; max-width: 100%; }
.ctrl-row button:hover { border-color: var(--amber); color: var(--amber); }
.ctrl-row button[disabled] { color: var(--ink3); cursor: not-allowed; }
.ctrl-row button[disabled]:hover { border-color: var(--line); color: var(--ink3); }
.ctrl-row button.on { border-color: var(--amber); color: var(--amber); }
.ctrl-row .sel { display: flex; flex-direction: column; gap: 3px; font-family: var(--mono); font-variation-settings: 'wdth' 87.5; font-size: 9px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink3); }
#n-engine { margin: 10px 0 0; min-height: 1em; }
.floor { margin-top: 18px; border: 1px solid var(--line); padding: 14px 14px 12px; }
.floor h3 { margin-top: 0; color: var(--amber); }
.floor p { font-size: 14.5px; line-height: 1.5; margin: 0 0 10px; }
.floor p.footnote { font-size: 10px; }
.lend-btn { width: 100%; justify-content: center; margin-top: 6px; border: 0; white-space: normal; text-align: center; line-height: 1.5; text-decoration: none; }
.footer-note { margin: 14px 0 0; }


.card { position: fixed; z-index: 12; top: 106px; left: calc(var(--gutter) + 200px); width: 336px; max-height: calc(100% - 122px); overflow-y: auto; background: rgba(0, 0, 0, .9); border: 1px solid var(--ink3); padding: 16px 16px 14px; scrollbar-width: thin; }
.card[hidden] { display: none; }
.card .head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.card .head b { font-family: var(--mono); font-variation-settings: 'wdth' 87.5; font-weight: 500; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--amber); }
.card .head button { background: none; border: 1px solid var(--line); color: var(--ink2); font-family: var(--mono); font-size: 11px; padding: 4px 8px; cursor: pointer; border-radius: 2px; }
.card .head button:hover { color: var(--ink); border-color: var(--ink3); }
.card .gap { display: grid; grid-template-columns: 112px 1fr; gap: 12px; margin-top: 12px; align-items: start; }
.card .gap canvas { width: 112px; height: 112px; image-rendering: pixelated; background: #000; border: 1px solid var(--line); }
.card .datablock { margin: 0; font-size: 10.5px; grid-template-columns: 54px 1fr; }
.card .datablock dt, .card .datablock dd { padding: 4px 0; }
.card .datablock dt { font-size: 9px; padding-top: 5px; }
.card h3 { margin: 16px 0 6px; font-size: 9.5px; }
.card h3 span { color: var(--ink3); text-transform: none; letter-spacing: .02em; font-weight: 400; }
.card .anatomy { display: grid; grid-template-columns: 84px 20px 1fr; gap: 2px 8px; font-family: var(--mono); font-variation-settings: 'wdth' 87.5; font-size: 10.5px; color: var(--ink); }
.card .anatomy .n { text-align: right; font-variant-numeric: tabular-nums; }
.card .anatomy .d { color: var(--ink3); }
.card .parts { list-style: none; margin: 0; padding: 0; font-family: var(--mono); font-variation-settings: 'wdth' 87.5; font-size: 10px; line-height: 1.6; }
.card .parts li { display: grid; grid-template-columns: 20px 74px 1fr; gap: 6px; color: var(--ink2); }
.card .parts li b { font-weight: 400; color: var(--ink); }
.card .parts li.fire b { color: var(--amber); }
.card .parts li span { color: var(--ink3); }
.card details summary { cursor: pointer; font-family: var(--mono); font-variation-settings: 'wdth' 87.5; font-size: 9.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink2); margin: 16px 0 6px; }
.card .bars { display: grid; grid-template-columns: repeat(16, 1fr); gap: 2px; height: 36px; align-items: end; }
.card .bars i { display: block; min-height: 1px; }
.card .gen { width: 100%; image-rendering: pixelated; display: block; border: 1px solid var(--line); }
.card .topbar-e { height: 4px; background: rgba(231, 235, 238, .1); margin-top: 4px; }
.card .topbar-e i { display: block; height: 100%; }
.card .actions { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.card .actions button { background: #000; border: 1px solid var(--line); color: var(--ink); font-family: var(--mono); font-variation-settings: 'wdth' 87.5; font-size: 10px; letter-spacing: .1em; text-transform: uppercase; padding: 8px 10px; cursor: pointer; border-radius: 2px; }
.card .actions button:hover { border-color: var(--amber); color: var(--amber); }
.card .footnote { margin: 10px 0 0; }


.veil { position: fixed; z-index: 3; left: 50%; bottom: 9vh; transform: translateX(-50%); width: min(600px, calc(100% - 32px)); text-align: center; pointer-events: none; opacity: 0; background: rgba(0, 0, 0, .82); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 22px 24px 20px; }
.cell { position: fixed; z-index: 2; left: 0; top: 0; width: 10px; height: 10px; border: 1px solid var(--amber); pointer-events: none; opacity: 0; box-shadow: 0 0 0 1px rgba(0, 0, 0, .6); }
.cell span { position: absolute; left: -1px; bottom: 100%; margin-bottom: 6px; white-space: nowrap; font-family: var(--mono); font-variation-settings: 'wdth' 87.5; font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--amber); background: rgba(0, 0, 0, .8); padding: 3px 6px; }
.veil-a { font-family: var(--mono); font-variation-settings: 'wdth' 87.5; font-size: 13px; letter-spacing: .04em; line-height: 1.75; color: var(--ink); margin: 0 0 14px; }
.veil-b { font-family: var(--mono); font-variation-settings: 'wdth' 87.5; font-size: 10.5px; letter-spacing: .04em; line-height: 1.7; color: var(--ink3); margin: 0; }


.plate-at { position: fixed; z-index: 11; right: 16px; top: 106px; width: 356px; background: rgba(0, 0, 0, .86); border: 1px solid var(--line); padding: 14px 16px 14px; transition: opacity .35s; }
.plate-at[hidden] { display: none; }
.plate-at .pa-t { font-family: var(--mono); font-variation-settings: 'wdth' 87.5; font-weight: 500; font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--amber); }
.plate-at .datablock { margin: 8px 0 8px; font-size: 11px; grid-template-columns: 84px 1fr; }
.plate-at .datablock dt, .plate-at .datablock dd { padding: 6px 0; }
.plate-at .datablock dt { font-size: 9px; padding-top: 8px; }
.plate-at .footnote { margin: 0 0 10px; }

.loading { position: fixed; z-index: 4; left: 50%; top: 50%; transform: translate(-50%, -50%); font-family: var(--mono); font-variation-settings: 'wdth' 87.5; font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink2); text-align: center; pointer-events: none; white-space: pre-line; transition: opacity .4s; }
.loading.out { opacity: 0; }
.hint { position: fixed; z-index: 9; left: 50%; top: 112px; transform: translateX(-50%); font-family: var(--mono); font-variation-settings: 'wdth' 87.5; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink2); background: rgba(0, 0, 0, .8); border: 1px solid var(--line); padding: 8px 12px; white-space: nowrap; transition: opacity .6s; pointer-events: none; }
.hint.out { opacity: 0; }

@media (max-width: 1180px) and (min-width: 760px) {
  .drawer, .plate-at { width: 312px; }
  .card { left: calc(var(--gutter) + 176px); width: 300px; }
  .hint { display: none; }
}


@media (max-width: 759px) {
  .status { top: 56px; padding: 6px 16px 7px; font-size: 10px; }
  .state { display: none; }
  .scale { left: auto; right: 10px; top: 132px; bottom: auto; align-items: center; gap: 6px; }
  .scale ol { display: none; }
  .scale .z-now { display: block; font-family: var(--mono); font-variation-settings: 'wdth' 87.5; font-size: 8.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--amber); background: rgba(0, 0, 0, .8); border: 1px solid var(--line); padding: 5px 4px; writing-mode: vertical-rl; transform: rotate(180deg); max-height: 150px; }
  .scale .z-plus, .scale .z-minus { width: 40px; height: 40px; font-size: 18px; }
  .drawer { top: auto; bottom: 0; left: 0; right: 0; width: auto; max-height: 64%; border-left: 0; border-right: 0; border-bottom: 0; padding: 0 16px calc(12px + env(safe-area-inset-bottom)); }
  .drawer-handle { all: unset; box-sizing: border-box; display: flex; width: 100%; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 0 11px; font-family: var(--mono); font-variation-settings: 'wdth' 87.5; font-size: 10px; letter-spacing: .04em; color: var(--ink2); cursor: pointer; font-variant-numeric: tabular-nums; position: sticky; top: 0; background: rgba(0, 0, 0, .94); z-index: 1; }
  .drawer-handle .handle-arrow { color: var(--amber); font-size: 13px; flex: none; }
  .drawer-body { display: none; padding-top: 4px; }
  .drawer.opened .drawer-body { display: block; }
  .drawer.opened .handle-arrow { transform: rotate(180deg); }
  .drawer h1 { font-size: 26px; }
  .drawer .datablock { grid-template-columns: 100px 1fr; }
  .card { top: auto; bottom: 0; left: 0; right: 0; width: auto; max-height: 58%; border-left: 0; border-right: 0; border-bottom: 0; padding: 14px 16px calc(12px + env(safe-area-inset-bottom)); }
  .card .gap { grid-template-columns: 96px 1fr; }
  .card .gap canvas { width: 96px; height: 96px; }
  .plate-at { left: 0; right: 0; top: auto; bottom: 0; width: auto; border-left: 0; border-right: 0; border-bottom: 0; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); }
  .plate-at .footnote { font-size: 9.5px; }
  .veil { bottom: calc(60px + 6vh); padding: 16px 16px 14px; }
  .veil-a { font-size: 12px; }
  .cell span { font-size: 9px; left: 50%; transform: translateX(-50%); }
  .hint { bottom: auto; top: 112px; font-size: 9px; white-space: normal; text-align: center; width: max-content; max-width: calc(100% - 100px); }
}
@media (prefers-reduced-motion: reduce) {
  .state.alive i { animation: none; }
}


#cv-sea { position: fixed; inset: 0; width: 100vw; height: 100vh; height: 100dvh; z-index: 2; pointer-events: none; }
body.bottom #cv-sea { opacity: 0; }


.intro { position: fixed; inset: 0; z-index: 40; background: #000; pointer-events: none; }
.intro canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.intro-txt { position: absolute; left: 0; right: 0; bottom: 18vh; text-align: center; padding: 0 var(--gutter); }
.intro-txt p { margin: 0; font-family: var(--mono); font-variation-settings: 'wdth' 87.5; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink2); line-height: 2; }
.intro-txt p:first-child { color: var(--ink); }


.voice { position: fixed; z-index: 16; left: 50%; bottom: 13vh; transform: translateX(-50%); width: min(820px, calc(100% - 2 * var(--gutter))); text-align: center; pointer-events: none; opacity: 0; }
.voice.on { animation: voice-in 4.6s ease both; }
@keyframes voice-in { 0% { opacity: 0; transform: translate(-50%, 10px); } 12% { opacity: 1; transform: translate(-50%, 0); } 82% { opacity: 1; } 100% { opacity: 0; } }
.voice-a { margin: 0; font-family: var(--serif); font-weight: 300; font-size: clamp(30px, 5.2vw, 58px); line-height: 1.04; letter-spacing: -.015em; color: var(--ink); text-shadow: 0 2px 18px #000, 0 0 2px #000; }
.voice-b { margin: 12px auto 0; max-width: 560px; font-family: var(--serif); font-style: italic; font-weight: 300; font-size: clamp(16px, 1.9vw, 21px); line-height: 1.4; color: var(--ink2); text-shadow: 0 1px 10px #000, 0 0 2px #000; }


.island-hud { display: none; }
body.island-mode .island-hud { position: fixed; z-index: 18; top: 92px; left: 0; right: 0; display: flex; justify-content: space-between; gap: 12px; padding: 8px var(--gutter); font-family: var(--mono); font-variation-settings: 'wdth' 87.5; font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink2); pointer-events: none; }
.island-hud b { color: var(--amber); font-weight: 500; }
.island-hud .ih-r { text-align: right; }
.island-hud .ih-r small { display: block; font-size: 9px; letter-spacing: .06em; text-transform: none; color: var(--ink3); margin-top: 2px; }
body.bottom .island-hud, body.bottom .feed, body.bottom .voice { opacity: 0; }
body.island-mode .hint { display: none; }


.feed { position: fixed; z-index: 14; right: var(--gutter); bottom: 22px; list-style: none; margin: 0; padding: 0; text-align: right; font-family: var(--mono); font-variation-settings: 'wdth' 87.5; font-size: 10px; letter-spacing: .06em; line-height: 1.9; color: var(--ink3); pointer-events: none; max-width: 46vw; }
.feed li:first-child { color: var(--ink); }
.feed li.amber { color: var(--amber); }


@media (min-width: 760px) {
  body.island-mode .drawer { top: 136px; width: 410px; padding: 0; background: transparent; border-color: transparent; max-height: calc(100% - 156px); }
  body.island-mode .drawer.opened { background: rgba(0, 0, 0, .88); border-color: var(--line); padding: 0 20px 16px; }
  body.island-mode .drawer-handle { all: unset; box-sizing: border-box; display: flex; width: 100%; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 12px; font-family: var(--mono); font-variation-settings: 'wdth' 87.5; font-size: 9.5px; letter-spacing: .04em; color: var(--ink2); cursor: pointer; font-variant-numeric: tabular-nums; position: sticky; top: 0; background: rgba(0, 0, 0, .8); border: 1px solid var(--line); z-index: 1; white-space: nowrap; overflow: hidden; }
  body.island-mode .drawer.opened .drawer-handle { border: 0; border-bottom: 1px solid var(--line); padding: 12px 0; background: rgba(0, 0, 0, .94); }
  body.island-mode .drawer-handle .handle-arrow { color: var(--amber); flex: none; }
  body.island-mode .drawer-body { display: none; padding-top: 6px; }
  body.island-mode .drawer.opened .drawer-body { display: block; }
}
@media (max-width: 759px) {
  body.island-mode .island-hud { top: 100px; flex-direction: column; gap: 2px; }
  body.island-mode .island-hud .ih-r { text-align: left; }
  .voice { bottom: 21vh; }
  .feed { left: var(--gutter); right: auto; text-align: left; bottom: 56px; max-width: 76vw; }
  body.island-mode .scale { bottom: 74px; }
}


.btn-prova { background: #000; border: 1px solid var(--line); color: var(--ink2); font-family: var(--mono); font-variation-settings: 'wdth' 87.5; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; padding: 9px 12px; border-radius: 2px; cursor: pointer; white-space: nowrap; font-variant-numeric: tabular-nums; }
.btn-prova b { color: var(--ink); font-weight: 500; }
.btn-prova b.amber { color: var(--amber); }
.btn-prova:hover, .btn-prova[aria-expanded="true"] { border-color: var(--amber); color: var(--ink); }
.proof { position: fixed; z-index: 22; top: 0; right: 0; bottom: 0; width: 440px; max-width: 100%; overflow-y: auto; background: #000; border-left: 1px solid var(--line); padding: 18px 22px calc(28px + env(safe-area-inset-bottom)); scrollbar-width: thin; }
.proof[hidden] { display: none; }
.pf-head { display: flex; justify-content: space-between; align-items: baseline; position: sticky; top: -18px; background: #000; padding: 4px 0 8px; margin-top: -4px; }
.pf-head b { font-family: var(--mono); font-variation-settings: 'wdth' 87.5; font-weight: 500; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--amber); }
.pf-head button { background: none; border: 1px solid var(--line); color: var(--ink2); font-family: var(--mono); font-size: 12px; padding: 6px 10px; cursor: pointer; border-radius: 2px; }
.proof h2 { font-weight: 300; font-size: 34px; line-height: 1.05; margin: 6px 0 10px; letter-spacing: -.01em; }
.proof h2 em { font-style: italic; }
.proof h3 { margin: 26px 0 8px; font-family: var(--mono); font-variation-settings: 'wdth' 87.5; font-weight: 400; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--amber); }
.pf-lead { font-size: 16px; line-height: 1.5; color: var(--ink2); margin: 0; }
.pf-note { font-family: var(--mono); font-variation-settings: 'wdth' 87.5; font-size: 10.5px; line-height: 1.65; color: var(--ink3); margin: 6px 0; }
.pf-note code { color: var(--ink2); }
.pf-note a { color: var(--ink2); }
.pf-now { font-family: var(--mono); font-variation-settings: 'wdth' 87.5; font-size: 11px; line-height: 1.7; color: var(--ink); margin: 8px 0; }
.pf-now i { display: inline-block; width: 7px; height: 7px; margin-right: 8px; background: var(--amber); animation: pulse 1.2s ease-in-out infinite; }
.proof button[data-id], .pf-now button { all: unset; cursor: pointer; color: var(--amber); font-family: var(--mono); font-variation-settings: 'wdth' 87.5; font-size: 11px; text-decoration: underline; text-underline-offset: 3px; }
.pf-list { list-style: none; margin: 8px 0; padding: 0; border-top: 1px solid var(--line); }
.pf-list li { display: grid; grid-template-columns: auto 1fr auto; gap: 4px 10px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line); }
.pf-list li .pf-bars, .pf-list li .pf-note { grid-column: 1 / -1; }
.pf-l { font-family: var(--mono); font-variation-settings: 'wdth' 87.5; font-size: 10px; color: var(--ink3); font-variant-numeric: tabular-nums; }
.pf-cs { display: flex; gap: 3px; }
.pf-c { width: 15px; height: 15px; display: grid; place-items: center; border: 1px solid var(--line); font-family: var(--mono); font-size: 8.5px; color: var(--ink3); }
.pf-c.ok { background: var(--amber); border-color: var(--amber); color: var(--amber-ink); }
.pf-bars { display: grid; gap: 4px; margin: 8px 0 2px; }
.pf-b { display: grid; grid-template-columns: 58px 1fr 52px; gap: 8px; align-items: center; font-family: var(--mono); font-variation-settings: 'wdth' 87.5; font-size: 9.5px; color: var(--ink3); text-transform: uppercase; letter-spacing: .06em; }
.pf-b i { height: 8px; background: rgba(231, 235, 238, .06); display: block; }
.pf-b u { display: block; height: 100%; background: var(--ink3); text-decoration: none; }
.pf-b u.neg { background: rgba(231, 235, 238, .2); }
.pf-b.eu { color: var(--ink); }
.pf-b.eu u { background: var(--amber); }
.pf-b b { font-weight: 400; text-align: right; font-variant-numeric: tabular-nums; color: var(--ink2); text-transform: none; }
.pf-controls { list-style: none; margin: 8px 0; padding: 0; border-top: 1px solid var(--line); }
.pf-controls li { padding: 9px 0; border-bottom: 1px solid var(--line); }
.pf-ct { display: grid; grid-template-columns: 74px 1fr auto; gap: 10px; align-items: center; font-family: var(--mono); font-variation-settings: 'wdth' 87.5; font-size: 10.5px; color: var(--ink2); }
.pf-ct b { font-weight: 500; color: var(--ink); }
.pf-ct em { font-style: normal; font-size: 10px; letter-spacing: .06em; text-transform: uppercase; }
.pf-ct em.ok { color: var(--amber); }
.pf-ct em.poor { color: #ff6b5a; }
.pf-ct button { background: #000; border: 1px solid var(--line); color: var(--ink); font-family: var(--mono); font-variation-settings: 'wdth' 87.5; font-size: 9.5px; letter-spacing: .08em; text-transform: uppercase; padding: 7px 9px; cursor: pointer; border-radius: 2px; white-space: nowrap; }
.pf-ct button:hover { border-color: var(--amber); color: var(--amber); }
.pf-tab { width: 100%; border-collapse: collapse; font-family: var(--mono); font-variation-settings: 'wdth' 87.5; font-size: 10.5px; font-variant-numeric: tabular-nums; }
.pf-tab th { text-align: left; font-weight: 400; color: var(--ink3); font-size: 9px; letter-spacing: .1em; text-transform: uppercase; padding: 6px 6px 6px 0; border-bottom: 1px solid var(--line); }
.pf-tab td { padding: 7px 6px 7px 0; border-bottom: 1px solid var(--line); color: var(--ink2); }
.pf-false { margin-top: 14px; border: 1px solid rgba(235, 162, 60, .4); padding: 12px 14px; }
.pf-false b { font-family: var(--mono); font-variation-settings: 'wdth' 87.5; font-weight: 500; font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--amber); }
.pf-false p { margin: 6px 0 0; font-size: 14.5px; line-height: 1.5; color: var(--ink2); }
.proof .lend-btn { margin-top: 10px; }
.pf-rungs { list-style: none; margin: 4px 0; padding: 0; font-family: var(--mono); font-variation-settings: 'wdth' 87.5; font-size: 10px; color: var(--ink3); }
.pf-rungs li { display: grid; grid-template-columns: 16px 1fr auto; gap: 8px; padding: 3px 0; border-bottom: 1px solid var(--line); }
.pf-rungs li b { font-weight: 400; color: var(--ink2); }
.pf-rungs li.ok, .pf-rungs li.ok b { color: var(--amber); }
@media (max-width: 759px) {
  .btn-prova { padding: 8px 9px; font-size: 9px; letter-spacing: .04em; }
  .pf-lg-only { display: none; }
  body.with-card .feed { display: none; }
  .proof { width: 100%; border-left: 0; padding: 14px 16px calc(28px + env(safe-area-inset-bottom)); }
  .proof h2 { font-size: 30px; }
  .pf-ct { grid-template-columns: 64px 1fr auto; }
}
.pf-err { color: #ff6b5a; font-style: normal; font-family: var(--mono); font-size: 10px; }


.arq-strip { position: fixed; z-index: 7; left: 50%; transform: translateX(-50%); bottom: 64px; display: flex; flex-direction: column; align-items: center; gap: 6px; pointer-events: none; max-width: calc(100vw - 24px); }
.arq-live { font-family: var(--mono); font-variation-settings: 'wdth' 87.5; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink2); background: rgba(0,0,0,.7); padding: 4px 8px; }
.arq-live b { color: var(--amber); font-weight: 500; } .arq-live i { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #e5484d; margin-right: 6px; vertical-align: 1px; animation: arq-pulse 1.4s ease-in-out infinite; }
@keyframes arq-pulse { 50% { opacity: .3; } }
.arq-isl { display: flex; gap: 6px; pointer-events: auto; overflow-x: auto; max-width: 100%; padding-bottom: 2px; }
.arq-isl button { position: relative; flex: 0 0 auto; width: 52px; height: 52px; padding: 0; border: 1px solid var(--line); background: #060a0e; cursor: pointer; border-radius: 2px; overflow: hidden; color: var(--ink); }
.arq-isl button.on { border-color: var(--amber); box-shadow: 0 0 0 1px var(--amber); }
.arq-isl img { position: absolute; inset: 0; width: 100%; height: 100%; image-rendering: pixelated; opacity: .85; }
.arq-isl span, .arq-isl small { position: relative; display: block; font-family: var(--mono); text-shadow: 0 0 4px #000; }
.arq-isl span { font-size: 12px; margin-top: 8px; } .arq-isl small { font-size: 9px; color: var(--ink2); }
body.modo-arq .scale { bottom: 150px; }
@media (max-width: 700px) {
  body.modo-arq .topbar .where, body.modo-arq .topbar .state, body.modo-arq .topbar .btn-indice { display: none; }
  .arq-isl button { width: 40px; height: 40px; } .arq-isl span { margin-top: 4px; font-size: 11px; }
}


body.modo-arq #status, body.modo-arq .drawer, body.modo-arq .btn-prova, body.modo-arq .topbar .where, body.modo-arq .topbar .state, body.modo-arq #steps .l small { display: none; }
