/* Small earned companion: fixed footprint, exact game cloud, keyboard-accessible controls. */
.ar-website-sheep{position:fixed;left:24px;bottom:max(8px,env(safe-area-inset-bottom));width:220px;height:164px;z-index:32;pointer-events:none;contain:layout style;font-family:"Trebuchet MS",Arial,sans-serif;isolation:isolate;color:#30422d}
.ar-website-sheep[hidden],.ar-website-sheep [hidden]{display:none!important}
.ar-website-sheep-art{width:220px;height:164px;display:block;pointer-events:none!important}
.ar-website-sheep button{font:inherit;cursor:pointer;touch-action:manipulation;pointer-events:auto;box-sizing:border-box;box-shadow:none;text-shadow:none;letter-spacing:normal}
.ar-website-sheep-talk{position:absolute;left:54px;bottom:7px;width:116px;height:112px;padding:0;border:0!important;border-radius:44% 48% 24% 20%;background:transparent!important;color:transparent!important;opacity:1!important}
.ar-website-sheep-talk:focus-visible{outline:3px solid #d8b767!important;outline-offset:3px;background:rgba(241,222,167,.08)!important}
.ar-website-sheep-dismiss{position:absolute;right:0;top:0;display:grid;place-items:center;width:44px;min-width:44px;height:44px;min-height:44px;padding:0;border:1px solid #a29371;border-radius:50%;background:#faf3dc;color:#374431;font-size:25px;line-height:1}
.ar-website-sheep-dismiss:hover{background:#fff9e9}.ar-website-sheep button:focus-visible{outline:3px solid #807039;outline-offset:3px}
.ar-website-sheep-bubble{position:absolute;bottom:170px;left:0;box-sizing:border-box;max-width:calc(100vw - 24px);max-height:min(53vh,360px);overflow:auto;overscroll-behavior:contain;padding:32px 34px 28px;pointer-events:auto;background-color:#fff7da;background-size:100% 100%;background-repeat:no-repeat;border:1px solid #6b7350;border-radius:43% 36% 38% 32%/19% 24% 19% 23%;color:#30422d;text-align:center;box-shadow:0 6px 14px #17190925;scrollbar-width:thin}
.ar-website-sheep-kind{display:block;font-size:11px;line-height:1.4;letter-spacing:.08em;text-transform:uppercase;color:#516140}
.ar-website-sheep-words{margin:8px 0;font-size:15px;line-height:1.5;font-weight:700;color:#30422d}
.ar-website-sheep-reference{display:block;font-size:12px;line-height:1.4;color:#536043}
.ar-website-sheep-actions{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:6px;margin-top:10px}
.ar-website-sheep-actions button{min-height:44px;padding:7px 10px;border:1px solid #89946b;border-radius:16px;background:#f6edcd;color:#31402d;font-size:12px;line-height:1.2}
.ar-website-sheep-actions button:hover{background:#e9ddb4}.ar-website-sheep-sound{display:block;margin:6px auto 0;max-width:260px;color:#636a4b;font-size:10px;line-height:1.4}
/* A fail-closed CSS guard supplements runtime scoping and modal cancellation. */
body.ar-simple .ar-website-sheep:not([data-simple-manual="true"]),html[data-ar-theme="simple"] .ar-website-sheep:not([data-simple-manual="true"]),body.ar-library-player-open .ar-website-sheep,html.ar-library-player-open .ar-website-sheep{display:none!important}
@media(max-height:530px){.ar-website-sheep-bubble{bottom:146px;max-height:calc(100dvh - 166px);padding:20px 25px}.ar-website-sheep-words{font-size:13px}}
@media(forced-colors:active){.ar-website-sheep-bubble{background-image:none!important;background:Canvas;border:2px solid CanvasText;color:CanvasText}.ar-website-sheep :is(.ar-website-sheep-words,.ar-website-sheep-reference,.ar-website-sheep-kind,.ar-website-sheep-sound){color:CanvasText}.ar-website-sheep button:focus-visible{outline:3px solid Highlight}}
.ar-website-sheep-context{display:block;margin:5px 0;color:#536043;font-size:11px;line-height:1.4}
@media print{.ar-website-sheep{display:none!important}}

@media(max-height:330px){.ar-website-sheep-bubble{bottom:70px;max-height:calc(100dvh - 90px);border-radius:20px;padding:14px 18px}}

/* Rare visitors share this sheep's lifecycle and the stage's existing clip.
   No full-page overlay, external pointer target, text banner or game runtime. */
.ar-website-sheep-visitor{position:absolute;bottom:0;width:176px;height:248px;display:block;pointer-events:none!important;z-index:-1}
.ar-website-sheep-recall{position:absolute;top:0;display:grid;place-items:center;width:44px;min-width:44px;height:44px;min-height:44px;padding:0;border:1px solid #a29371;border-radius:50%;background:#faf3dc;color:#374431;font-size:25px;line-height:1}
.ar-website-sheep-recall:hover{background:#fff9e9}

/* Transparent silhouette: the illustrated cream cloud itself is the entire surface. */
.ar-website-sheep-bubble{background-color:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;filter:drop-shadow(0 5px 5px #17190930);overflow:visible;padding:30px 30px 32px}
.ar-sheep-cloud-content{position:relative;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;max-height:292px;padding:4px 3px;box-sizing:border-box}
.ar-website-sheep-bubble::before,.ar-website-sheep-bubble::after{content:'';position:absolute;background:#fff7da;border:1px solid #788055;border-radius:50%;pointer-events:none}
.ar-website-sheep-bubble::before{width:20px;height:15px;bottom:-9px;left:57%;transform:rotate(-20deg)}
.ar-website-sheep-bubble::after{width:9px;height:7px;bottom:-21px;left:54%}
.ar-website-sheep-actions button{border-radius:20px;background:#f1edccaa}
@media(max-width:420px){.ar-website-sheep-bubble{padding:28px 25px}.ar-website-sheep-words{font-size:14px}}
@media(max-height:330px){.ar-website-sheep-bubble{padding:18px 22px}.ar-website-sheep-bubble::before,.ar-website-sheep-bubble::after{display:none}}
@media(forced-colors:active){.ar-website-sheep-bubble{background:Canvas!important;border:2px solid CanvasText!important;border-radius:24px!important;filter:none}.ar-website-sheep-bubble::before,.ar-website-sheep-bubble::after{background:Canvas;border-color:CanvasText}}

/* r45: dry illustrated cloud and clear, opaque companion controls. */
.ar-website-sheep{font-family:ui-rounded,"Trebuchet MS",system-ui,sans-serif}
.ar-website-sheep-bubble{filter:drop-shadow(0 3px 3px #17190920);padding:45px 34px 38px}
.ar-website-sheep-words{font-size:15px;line-height:1.55;font-weight:600;letter-spacing:0;color:#304d41;text-wrap:pretty}
.ar-website-sheep-kind{font-size:11px;font-weight:700;letter-spacing:.055em;color:#52664c}
.ar-website-sheep-actions{gap:8px}
.ar-website-sheep-actions button{min-height:44px;max-width:100%;padding:9px 13px;border:1.5px solid #657850;border-radius:13px;background:#f5edcf;color:#304d41;font-size:13px;font-weight:600;line-height:1.3;white-space:normal;overflow-wrap:anywhere;box-shadow:0 2px 0 #65785022;outline-offset:3px}
.ar-website-sheep-actions button:hover{background:#e8e7bf;border-color:#4b6548}
.ar-website-sheep-actions button:active{background:#dedfb3;box-shadow:none}
.ar-website-sheep-context,.ar-website-sheep-reference{color:#4e6249;line-height:1.45}
@media(max-height:530px){.ar-website-sheep-words{font-size:14px;line-height:1.45}}
@media(forced-colors:active){.ar-website-sheep-bubble{filter:none}.ar-website-sheep-actions button{background:ButtonFace;color:ButtonText;border-color:ButtonText;box-shadow:none}.ar-website-sheep :is(.ar-website-sheep-words,.ar-website-sheep-reference,.ar-website-sheep-kind,.ar-website-sheep-context){color:CanvasText}}

/* r46: quieter visual buttons; the transparent surrounding hit area stays 44px tall. */
.ar-website-sheep-actions{gap:6px}
.ar-website-sheep-actions button{padding:7px 11px;min-height:44px;border:0;background:transparent;box-shadow:none;position:relative;isolation:isolate;font-size:12px}
.ar-website-sheep-actions button::before{content:"";position:absolute;inset:6px 0;border:1.5px solid #657850;border-radius:11px;background:#f5edcf;z-index:-1;pointer-events:none}
.ar-website-sheep-actions button:hover{background:transparent}
.ar-website-sheep-actions button:hover::before{background:#e8e7bf;border-color:#4b6548}
.ar-website-sheep-actions button:active{background:transparent}
.ar-website-sheep-actions button:active::before{background:#dedfb3}
@media(forced-colors:active){.ar-website-sheep-actions button::before{background:ButtonFace;border-color:ButtonText}}
/* r46: keep the eyebrow beneath the cloud's upper scallop dips. The existing
   content scroller contains long messages instead of displacing the controls. */
.ar-website-sheep-kind{padding-top:14px;padding-inline:8px;box-sizing:border-box;line-height:1.45}
