.board-preview{position:relative;overflow:hidden;background:#152b3a;color:white;container-type:inline-size;width:100%;margin:auto}.board-inner{position:absolute;inset:0;display:flex;flex-direction:column;padding:4%;gap:2%;overflow:hidden;font-family:"IBM Plex Sans Arabic",Tahoma,Arial,sans-serif;box-sizing:border-box;font-size:3cqw}.board-inner h2{font-size:5cqw;margin:0}.board-inner img,.board-inner video,.board-inner iframe,.board-inner object{max-width:100%;min-height:0;border:0}.board-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:2%;flex:1;min-height:0}.board-tile{min-height:0;overflow:hidden;display:flex;flex-direction:column;gap:4px}.board-tile img{height:65%;width:100%}.board-full{flex:1;min-height:0;width:100%;height:100%}.board-center{justify-content:center;text-align:center;align-items:center}.board-center h2{font-size:10cqw}.board-qr img,.board-qr canvas{max-width:100%;height:auto}.board-qr{background:white;padding:12px}.board-preview:fullscreen{width:100%;height:100%}
.board-inner{font-family:"IBM Plex Sans Arabic",Tahoma,Arial,sans-serif;padding:4.5%;gap:3%;line-height:1.35}.board-inner h2{font-weight:750;letter-spacing:-.02em;padding-bottom:2%;border-bottom:1px solid currentColor}.board-inner.board-center h2{border:0}.board-grid{gap:3%}.board-tile{border-radius:.7em;background:rgba(128,150,160,.13);padding:.45em;justify-content:center}.board-tile img{border-radius:.35em;object-fit:contain}.board-tile strong{font-size:1.1em}.board-inner:not(.board-center)>div:not(.board-grid):not(.board-qr){display:flex;flex-direction:column;gap:.35em;min-height:0}.board-inner.mode-slides,.board-inner.mode-web{padding:0;gap:0}.board-inner.mode-steps_images .board-tile{flex-direction:row;align-items:center}.board-inner.mode-steps_images .board-tile img{width:30%;height:auto;max-height:3em}.board-inner.mode-steps .board-tile{padding:.55em .8em}.board-inner.mode-products .board-tile{justify-content:flex-start}.board-inner.mode-products .board-tile img{flex:1;min-height:0}.board-inner.board-center{gap:4%}
/* Lawwha-inspired screen layout, shared by player and previews. */
.board-inner{padding:2.7%;gap:2%;font-family:"IBM Plex Sans Arabic",Tahoma,Arial,sans-serif}.board-heading{display:flex;align-items:center;justify-content:space-between;gap:2%;border-bottom:1px solid rgba(140,160,180,.2);padding-bottom:1.6%;flex:none}.board-inner .board-heading h2{font-size:4.1cqw;border:0;padding:0;margin:0;line-height:1.25}.board-clock{font-size:2.35cqw;color:#a4b4c6;white-space:nowrap}.board-light .board-clock{color:#536579}.board-inner.mode-products .board-grid{grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr));gap:1.2cqw;min-height:0;flex:1}.board-inner.mode-products .board-tile{background:#111d2b;border:1px solid #26323f;border-radius:1.2cqw;display:flex;align-items:center;justify-content:center;text-align:center;padding:1.3cqw;gap:.6cqw;min-width:0;min-height:0}.board-inner.mode-products.board-light .board-tile{background:#fff;border-color:#dce3ea}.board-item-name{font-size:2.5cqw;font-weight:700;overflow-wrap:anywhere;max-width:100%;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.board-inner.mode-products .board-price{background:#22c6b7;color:#062e30;border-radius:.65cqw;padding:.15cqw .65cqw;font-size:2.2cqw;line-height:1.35;max-width:100%;overflow-wrap:anywhere}.board-inner.mode-products .board-tile img,.board-inner.mode-products .board-tile video{width:100%;height:0;flex:1;min-height:0;object-fit:contain}.board-footer{display:flex;justify-content:space-between;align-items:center;color:#93a4b7;font-size:1.55cqw;flex:none}.board-light .board-footer{color:#536579}.board-inner.board-center .board-heading{width:100%}.board-inner.board-center .board-heading h2{font-size:7cqw}.board-preview{container-type:inline-size}.board-inner.mode-products{container-type:size}@container (max-aspect-ratio: 1/1){.board-inner.mode-products .board-grid{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(3,minmax(0,1fr))}}

.board-inner h2{letter-spacing:normal;font-weight:700}

/* SH-01: size-aware shared renderer */
.board-preview{container-type:size}.board-inner{container-type:normal!important}.board-inner.mode-products .board-grid{grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr))}
@container (max-aspect-ratio:1/1){.board-inner.mode-products .board-grid{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(3,minmax(0,1fr))}.board-inner.mode-steps_photos .board-steps-split{flex-direction:column}.board-inner.mode-qr .board-message{flex-direction:column}}
.board-inner.mode-steps_photos .board-steps-split{display:flex!important;flex-direction:row;flex:1;min-height:0;gap:2%}.board-steps-split>div:first-child{display:flex;flex-direction:column;gap:.35em;flex:1;min-width:0;min-height:0}.board-step-pictures{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:minmax(0,1fr);flex:1;min-width:0;min-height:0;gap:2%}.board-step-pictures img{width:100%;height:100%;min-height:0}.board-inner.mode-steps .board-tile,.board-inner.mode-steps_photos .board-tile{flex:1}.board-message{display:flex;flex:1;min-height:0;min-width:0;width:100%;align-items:center;justify-content:center;gap:4%}.board-lines{flex:1;min-width:0;overflow:auto;overflow-wrap:anywhere;white-space:pre-wrap}.board-qr{width:32%;max-height:90%;aspect-ratio:1;padding:2%;box-sizing:border-box}.board-qr img,.board-qr canvas{width:100%!important;height:auto!important}.board-inner.mode-text .board-heading h2{font-size:8cqw;overflow-wrap:anywhere}.board-inner.mode-text .board-lines{font-size:4cqw}.board-empty{margin:auto}.board-inner.mode-slides .board-full,.board-inner.mode-web .board-full{height:100%;width:100%;flex:1}

.board-inner.mode-steps .board-tile,.board-inner.mode-steps_photos .board-tile{overflow:auto}.board-inner.mode-steps .board-item-name,.board-inner.mode-steps_photos .board-item-name{display:block;overflow-wrap:anywhere;overflow:visible}.board-inner.mode-steps>div{flex:1}.board-inner.mode-text .board-heading h2{max-width:80%}@container (max-aspect-ratio:1/1){.board-inner.mode-steps_photos .board-steps-split{flex-direction:column!important}.board-inner.mode-qr .board-message{flex-direction:column!important}.board-qr{width:65%}}

.sh-app{overflow:hidden;gap:.4em}.sh-app-body{width:100%;min-height:0;overflow:auto;display:flex;flex-direction:column;align-items:center;gap:.25em}.sh-app-main{font-size:2.5em;font-weight:700;font-variant-numeric:tabular-nums}.sh-app-tile{padding:.25em .6em;border:1px solid currentColor;border-radius:.45em;max-width:95%;overflow-wrap:anywhere}.sh-app small{font-size:.55em;opacity:.8}.sh-analog{position:relative;width:5em;aspect-ratio:1;border:3px solid currentColor;border-radius:50%;background:radial-gradient(circle,currentColor 3%,transparent 4%)}.sh-analog i{position:absolute;bottom:50%;left:50%;width:3px;background:currentColor;transform-origin:bottom center}.sh-analog i:last-child{background:#22c6b7}
