/* ULITE Palermo — the page is Televideo: teletext pages 100–199, a remote, fastext keys. Reference: RAI Televideo. Built for over-sixties: big type, high contrast, phone first. */
:root { --fs: 27px; --y: #FFF200; --c: #00E5FF; --g: #33FF57; --m: #FF5BE8; --r: #FF4B4B; --b: #3D6BFF; --w: #FFFFFF; --bg: #000; --shell: #1C1C1C; --mono: 'VT323', 'Courier New', monospace; }
* { box-sizing: border-box; } body { margin: 0; background: #0A0A0A; color: var(--w); font: var(--fs)/1.18 var(--mono); } a { color: var(--c); } button { font: inherit; color: inherit; } [hidden] { display: none !important; } ::selection { background: var(--y); color: #000; }
.tv { max-width: 1120px; margin: 0 auto; padding: 22px 20px 40px; display: grid; grid-template-columns: minmax(0, 1fr) 230px; gap: 26px; align-items: start; }
.screen { background: var(--bg); border: 8px solid #2A2A2A; border-radius: 14px; padding: 14px 22px 22px; box-shadow: 0 0 0 2px #111, 0 30px 60px -30px rgba(0,0,0,.9), inset 0 0 80px rgba(0,229,255,.05); min-height: 640px; position: relative; overflow: hidden; }
.screen::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(0deg, rgba(255,255,255,.025) 0 1px, transparent 1px 3px); }
.hdr { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; border-bottom: 2px solid #333; padding-bottom: 6px; margin-bottom: 10px; } .hdr .p { color: var(--w); } .hdr .t { color: var(--c); } .hdr .d { color: var(--y); }
#page { min-height: 500px; }
.row { display: block; margin: 0; white-space: pre-wrap; word-break: break-word; } .row.gap { height: .6em; }
.dh { font-size: 1.9em; line-height: 1; letter-spacing: .02em; display: block; margin: 4px 0 6px; } .dh.c { color: var(--c); } .dh.y { color: var(--y); }
.y { color: var(--y); } .c { color: var(--c); } .g { color: var(--g); } .m { color: var(--m); } .r { color: var(--r); } .w { color: var(--w); } .bb { background: #1F3BB3; color: #fff; padding: 0 .35em; } .by { background: var(--y); color: #000; padding: 0 .35em; } .bc { background: var(--c); color: #000; padding: 0 .35em; } .bg { background: var(--g); color: #000; padding: 0 .35em; }
.mos { display: block; height: .55em; margin: 6px 0 10px; background: repeating-linear-gradient(90deg, var(--c) 0 .55em, transparent .55em .8em, var(--y) .8em 1.35em, transparent 1.35em 1.6em); }
.pg { background: none; border: 0; color: var(--c); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; padding: 0 .1em; } .pg:hover, .pg:focus-visible { background: var(--c); color: #000; outline: none; }
.idx { display: grid; grid-template-columns: 1fr; gap: 2px; margin: 4px 0; } .idx .row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 8px; align-items: baseline; } .idx .row .dots { overflow: hidden; white-space: nowrap; color: #666; min-width: 0; } .idx .row .dots::after { content: ' . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .'; }
.tel { color: var(--y); text-decoration: none; font-size: 1.15em; } .tel:hover { background: var(--y); color: #000; }
.fkeys { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 18px; } .fkeys button { border: 0; padding: 6px 10px; text-align: left; cursor: pointer; color: #000; font-size: .9em; line-height: 1.1; border-radius: 3px; } .fk-r { background: var(--r); } .fk-g { background: var(--g); } .fk-y { background: var(--y); } .fk-b { background: var(--b); color: #fff !important; } .fkeys button:hover { filter: brightness(1.15); }
/* remote */
.remote { background: var(--shell); border-radius: 20px; padding: 14px; display: grid; gap: 8px; position: sticky; top: 20px; border: 1px solid #2E2E2E; } .remote .disp { background: #000; color: var(--g); text-align: right; padding: 6px 12px; font-size: 1.25em; letter-spacing: .12em; min-height: 1.5em; border-radius: 6px; border: 1px solid #333; } .remote .lbl { font-size: .72em; color: #9A9A9A; letter-spacing: .12em; text-transform: uppercase; margin: 2px 0 0; }
.keys { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; } .keys button, .remote .k2 button, .remote .wide, .remote .zoom button, .remote .lang button { font-size: 1.05em; background: #333; color: #fff; border: 0; border-radius: 10px; padding: 9px 0; cursor: pointer; } .keys button:hover, .remote .k2 button:hover, .remote .wide:hover, .remote .zoom button:hover, .remote .lang button:not(.is-on):hover { background: #4A4A4A; } .remote .k2 { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; } .remote .wide { width: 100%; } .remote .idxk { background: var(--y); color: #000; } .remote .idxk:hover { background: #FFF87A; } .remote .lang { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; } .remote .lang button.is-on { background: var(--c); color: #000; }
.remote .zoom { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; } .remote .zoom button { font-size: .95em; }
.note { font-size: .7em; color: #8C8C8C; line-height: 1.25; margin: 4px 0 0; text-align: center; } .note a { color: #8C8C8C; }
/* a photo print standing under the set, outside the teletext screen (teletext has no photographs) */
.print { grid-column: 1; grid-row: 2; margin: 0 0 0 18px; display: flex; align-items: flex-end; gap: 22px; }
.print img { display: block; flex: none; width: 230px; max-width: 100%; height: auto; background: #F4F1E8; padding: 8px 8px 26px; border-radius: 2px; transform: rotate(-2deg); box-shadow: 0 18px 30px -14px rgba(0,0,0,.95), 0 0 0 1px #000; }
.print figcaption { font-size: .78em; line-height: 1.2; color: #B8B8B8; max-width: 26ch; padding-bottom: 6px; } .print small { display: block; margin-top: 6px; font-size: .78em; color: #8C8C8C; }
/* phone */
@media (max-width: 860px) { .tv { grid-template-columns: 1fr; padding: 10px 10px 30px; gap: 12px; } .screen { border-width: 5px; padding: 10px 12px 16px; min-height: 0; border-radius: 10px; } #page { min-height: 0; } .remote { position: static; grid-template-columns: 1fr 1fr; } .remote .disp, .remote .lbl, .remote .wide, .remote .lang, .remote .zoom { grid-column: 1 / -1; } .keys { grid-column: 1 / -1; grid-template-columns: repeat(6, 1fr); } .keys button { padding: 8px 0; } .remote .k2 { grid-column: 1 / -1; } .fkeys { grid-template-columns: 1fr 1fr; } .hdr { font-size: .9em; } .print { grid-row: auto; margin: 4px 6px 0; gap: 16px; } .print img { width: 150px; padding: 6px 6px 18px; } .print figcaption { font-size: .7em; } }
/* doc */
.doc { max-width: 760px; margin: 0 auto; padding: 30px 20px 60px; } .doc h1 { font-size: 1.9em; color: var(--c); margin: 0 0 10px; } .doc h2 { color: var(--y); font-size: 1.1em; margin: 22px 0 6px; } .doc p { margin: 0 0 8px; }

/* logo files (sites/_brand/build.py) */
.remote .rlogo { width: 100%; height: auto; display: block; margin: 2px 0 6px; grid-column: 1 / -1; } @media (max-width: 860px) { .remote .rlogo { max-width: 260px; } }

/* == legal == cookie banner + seller block (generated by sites/_legal/gen.py; the banner look comes from _legal/cookie-styles.css) */
.ck { position: fixed; left: 16px; bottom: 16px; z-index: 9999; max-width: 400px; font-family: inherit; font-size: 14px; line-height: 1.5; letter-spacing: 0; text-transform: none; text-align: left; }
.ck, .ck * { box-sizing: border-box; } .ck .ck-k { display: block; } .ck .ck-t, .ck .ck-p { margin: 0; } .ck .b { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-top: 12px; }
.ck button, .ck a.more { cursor: pointer; text-decoration: none; line-height: 1.2; margin: 0; }
/* banner: ulite-palermo */
.ck { left: 16px; bottom: 16px; width: 440px; background: #000; color: var(--w); border: 4px solid #2A2A2A; padding: 10px 14px 14px; font: 22px/1.15 var(--mono); box-shadow: 0 0 0 2px #111, 0 24px 50px -20px rgba(0,0,0,.9); }
.ck .ck-k { display: inline-block; background: #1F3BB3; color: #fff; padding: 0 .4em; margin-bottom: 6px; } .ck .ck-t b { font: inherit; font-size: 1.35em; line-height: 1; color: var(--y); display: block; margin-bottom: 4px; } .ck .ck-p { color: var(--w); }
.ck .b { margin-top: 10px; gap: 6px; } .ck button, .ck .more { border: 0; border-radius: 2px; padding: 4px 12px; font: inherit; color: #000; } .ck .ok { background: var(--g); } .ck .no { background: var(--r); } .ck .more { background: var(--y); }

@media (max-width: 600px) { .ck { left: 10px; right: 10px; bottom: var(--ck-bottom, 10px); width: auto; max-width: none; transform: none; } }
.seller { font-size: 12.5px; line-height: 1.6; color: inherit; padding: 22px 24px 26px; border-top: 1px solid rgba(128,128,128,.35); letter-spacing: 0; text-transform: none; font-family: inherit; }
.seller-in { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 28px; }
.seller b { display: block; font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; opacity: .7; margin-bottom: 4px; font-weight: 700; }
.seller a { color: inherit; } .seller address { font-style: normal; } .seller strong { font-weight: 700; }
.seller.panel { display: none; position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 9998; background: #fff; color: #111; border-radius: 14px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.5); max-width: 940px; margin: 0 auto; border-top: 0; padding: 24px 26px 22px; }
.seller.panel:target { display: block; }
.seller .x { position: absolute; top: 6px; right: 12px; text-decoration: none; font-size: 22px; line-height: 1; padding: 6px 8px; }
.ck-page .st { padding: 10px 14px; border: 1px solid rgba(128,128,128,.4); border-radius: 8px; margin: 10px 0 14px; font-weight: 700; } .ck-page .b { display: flex; gap: 8px; flex-wrap: wrap; } .ck-page button { font: inherit; font-weight: 700; padding: 9px 16px; border-radius: 999px; border: 1px solid currentColor; background: transparent; color: inherit; cursor: pointer; }
@media (max-width: 760px) { table.lgl-t, table.lgl-t tbody, table.lgl-t tr, table.lgl-t td { display: block; width: auto; } table.lgl-t thead { display: none; } table.lgl-t tr { padding: 10px 0; border-bottom: 1px solid rgba(128,128,128,.35); } table.lgl-t td { border: 0 !important; padding: 2px 0 !important; overflow-wrap: anywhere; } table.lgl-t td::before { content: attr(data-l) ": "; font-weight: 700; } }
table.lgl-t code { overflow-wrap: anywhere; }
.lead-note.lead-note { font-size: 12px; line-height: 1.5; margin: 0; letter-spacing: 0; text-transform: none; font-weight: 400; font-style: normal; text-align: left; max-width: 62ch; } .lead-note.lead-note a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
@media (max-width: 700px) { .seller-in { grid-template-columns: 1fr; } .seller.panel { left: 8px; right: 8px; bottom: 8px; max-height: 80dvh; overflow: auto; } }
