/* Art Story – פאנל הנגישות */
.as-access-toggle { position:fixed;bottom:20px;left:20px;z-index:100;border:1px solid #c9a46a;background:#211a15;color:#f3ebdd;border-radius:99px;padding:13px 17px;min-height:48px;font:500 13px Heebo,Arial;box-shadow:0 4px 22px #0005;cursor:pointer }
.as-dialog { direction:rtl;width:min(520px,calc(100% - 32px));max-height:85vh;overflow:auto;padding:40px;border:1px solid #b89a6a;background:#2e231b;color:#f3ebdd;border-radius:4px;font:16px Heebo,Arial,sans-serif;box-sizing:border-box }
.as-dialog::backdrop { background:#080604bc;backdrop-filter:blur(8px) }
.as-dialog h2 { font-size:29px;line-height:1.35;font-weight:500;margin:20px 0 }
.as-dialog p { line-height:1.8;color:#dfd1bf }
.as-dialog-close { display:block;margin-inline-start:auto;background:none;color:#f3ebdd;border:1px solid #a99272;min-width:44px;min-height:44px;font-size:22px;cursor:pointer }
.as-access-options { display:grid;gap:12px }
.as-access-options button { background:#433428;color:#f3ebdd;padding:15px;text-align:right;border:1px solid #bda887;font:inherit;cursor:pointer }
.as-access-options button[aria-pressed=true] { background:#f3ebdd;color:#211a15 }
.as-dialog a { color:#efc481;text-underline-offset:5px }
.as-links a { text-decoration:underline!important;text-underline-offset:4px }
.as-large p, .as-large li, .as-large summary, .as-large label { font-size:20px!important }
.as-contrast body, .as-contrast section, .as-contrast footer, .as-contrast .tier, .as-contrast article { background:#15110f!important;color:#fff!important }
.as-contrast p, .as-contrast a, .as-contrast li, .as-contrast small, .as-contrast span, .as-contrast label { color:#fff!important }
.as-contrast .cta, .as-contrast .launch-link { color:#111!important }
.as-reduced * { scroll-behavior:auto!important;animation:none!important;transition:none!important }
.as-reduced [data-rv] { opacity:1!important;transform:none!important }
.as-reduced .tour { display:none!important }
.as-reduced .tour-fallback { display:grid!important;position:relative;min-height:60vh;place-items:center;padding:90px 25px 30px }
.as-reduced .tour-fallback img { max-height:65vh;width:auto;max-width:100% }
.as-reduced .story-frame { transform:none }
.as-access-options button:disabled { opacity:.6 }
@media (max-width:760px) { .as-access-toggle { left:12px;bottom:12px } }
@media (max-width:760px) { .as-dialog { padding:24px } }
.as-access-toggle { width:48px;height:48px;padding:10px;border-radius:50%;display:grid;place-items:center;background:#f0e5d3;color:#33261c;border:1px solid #b7a386;box-shadow:0 3px 15px #0003 }
.as-access-toggle svg { width:27px;height:27px }
.as-access-toggle:hover { background:#fff5e5 }
.as-access-panel { position:fixed;inset:auto auto 80px 20px;margin:0;width:320px;max-width:calc(100vw - 32px);max-height:calc(100dvh - 110px);padding:22px;z-index:101;border:1px solid #aa906b;box-shadow:0 10px 45px #0007;border-radius:8px;background:#2b221b }
.as-access-panel h2 { font-size:21px;margin:0 0 20px }
.as-access-panel .as-dialog-close { float:left;min-width:32px;min-height:32px;width:32px;height:32px;font-size:20px;border:0;margin:-6px -6px 4px 0;border-radius:3px }
.as-access-panel .as-access-options { clear:both;gap:8px }
.as-access-panel .as-access-options button { font-size:14px;padding:12px;border-color:#9b8566;border-radius:3px }
.as-access-panel p { font-size:12px;margin:18px 0 0 }
.as-access-panel::backdrop { display:none }
.as-large .as-access-panel p { font-size:16px!important }
@media (max-width:760px) { .as-access-panel { left:12px;bottom:72px;width:300px } }

/* ===== גרסה 2: חלון בהיר בצבעי האתר, ועוד אפשרויות ===== */
.as-access-panel { background: #f7f0e5 !important; color: #3a2216 !important; border: 1px solid rgba(58,34,22,.2) !important; border-radius: 16px !important; width: 340px !important; box-shadow: 0 30px 70px -20px rgba(36,20,12,.45) !important; }
.as-access-panel h2 { color: #3a2216 !important; font-weight: 800 !important; }
.as-access-panel .as-dialog-close { color: #3a2216 !important; background: rgba(58,34,22,.08) !important; border-radius: 50% !important; }
.as-text { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; font-weight: 700; font-size: 15px; }
.as-text span { flex: 1; }
.as-text button { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(58,34,22,.3); background: #fff; color: #3a2216; font: 700 20px/1 Heebo, Arial, sans-serif; cursor: pointer; }
.as-text output { min-width: 52px; text-align: center; font-variant-numeric: tabular-nums; }
.as-access-panel .as-access-options { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.as-access-panel .as-access-options button { background: #fff !important; color: #3a2216 !important; border: 1px solid rgba(58,34,22,.22) !important; border-radius: 10px !important; padding: 12px 10px !important; font: 600 14px Heebo, Arial, sans-serif !important; text-align: center !important; min-height: 48px; }
.as-access-panel .as-access-options button[aria-pressed=true] { background: #8cc4fe !important; border-color: #3a2216 !important; }
.as-reset { width: 100%; margin-top: 10px; min-height: 44px; border-radius: 999px; border: 1px solid rgba(58,34,22,.3); background: none; color: #3a2216; font: 700 14px Heebo, Arial, sans-serif; cursor: pointer; }
.as-access-panel p, .as-access-panel a { color: #3a2216 !important; }
.as-access-panel :focus-visible { outline: 3px solid #2f5f8f; outline-offset: 2px; }
.as-access-toggle:focus-visible { outline: 3px solid #2f5f8f; outline-offset: 3px; }

/* גודל טקסט: רמה גדולה מאוד */
.as-xlarge p, .as-xlarge li, .as-xlarge summary, .as-xlarge label, .as-xlarge dd, .as-xlarge blockquote { font-size: 24px !important; line-height: 1.7 !important; }
.as-large h1, .as-large .h-title, .as-large .title { font-size: max(1em, 44px) !important; }
/* גווני אפור */
html.as-gray { filter: grayscale(1); }
/* גופן קריא */
.as-readable body, .as-readable body * { font-family: Arial, 'Arial Hebrew', sans-serif !important; letter-spacing: .01em !important; }
/* ריווח טקסט (לפי WCAG 1.4.12) */
.as-spacing p, .as-spacing li, .as-spacing dd, .as-spacing summary, .as-spacing blockquote { line-height: 1.9 !important; letter-spacing: .12em !important; word-spacing: .16em !important; }
.as-spacing p { margin-bottom: 2em !important; }
/* הדגשת מיקוד */
.as-focus :focus { outline: 4px solid #2f5f8f !important; outline-offset: 3px !important; box-shadow: 0 0 0 7px #fff !important; }
/* סמן גדול */
.as-cursor, .as-cursor * { cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='44' viewBox='0 0 24 24'%3E%3Cpath d='M4 2l15 11-7 1 4 8-3 1-4-8-5 5z' fill='%23000' stroke='%23fff' stroke-width='1.4'/%3E%3C/svg%3E") 4 2, auto !important; }
/* מיקוד מקלדת תמיד נראה, גם בלי הפאנל */
:focus-visible { outline: 3px solid #2f5f8f; outline-offset: 3px; }
