.af-contest [hidden], .af-contest-banner[hidden], .af-contest-dialog [hidden] { display: none !important; }
/* Artifilum / Sm Market: public settings_fr.css, checked 2026-12-05.
 * Open Sans; taupe #c1b7a8 / hover #b4ab9d; links #304a5b / #816d4a.
 * Keep all production styles scoped to the contest. */
.af-contest, .af-contest-banner, .af-contest-dialog { font-family: 'Open Sans', sans-serif; font-size: 13px; font-weight: 400; line-height: 1.66666667; }
.af-contest-banner { background: #c1b7a8; color: #222; padding: 12px 24px; text-align: center; }
.af-contest-banner a { color: #304a5b; text-decoration: underline; margin-left: 18px; white-space: nowrap; }
.af-contest-banner a:hover { color: #816d4a; }
.af-contest-sheep { position: fixed; right: 24px; bottom: 30px; z-index: 99; width: 158px; padding: 8px; border: 1px solid #e5e5e5; border-radius: 2px; background: #fff; box-shadow: 0 5px 20px #00000014; color: #304a5b; cursor: pointer; animation: af-sheep-float 3.2s ease-in-out infinite; }
.af-contest-sheep:hover, .af-contest-sheep:focus, .af-contest-sheep:active { background: #fff; border: 1px solid #c1b7a8; color: #304a5b; }
.af-contest-sheep img { width: 100%; height: auto; display: block; mix-blend-mode: multiply; }
.af-contest-sheep span { color: #304a5b; display: block; font-size: 12px; font-weight: 600; }
@keyframes af-sheep-float { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-8px) rotate(2deg); } }
.af-contest-sheep:disabled { opacity: 1; cursor: progress; }
.af-contest-sheep.is-running { background: transparent; border-color: transparent; box-shadow: none; animation: af-sheep-run 1.1s cubic-bezier(.3, 0, .45, 1) forwards; will-change: transform; }
.af-contest-sheep.is-running:hover, .af-contest-sheep.is-running:focus { background: transparent; border-color: transparent; }
.af-contest-sheep.is-running img { transform-origin: 50% 80%; animation: af-sheep-gallop .18s ease-in-out infinite; }
.af-contest-sheep.is-running span { visibility: hidden; }
.af-contest-sheep.is-running::after { content: ''; position: absolute; right: -24px; bottom: 34px; width: 30px; height: 20px; background: repeating-linear-gradient(to bottom, transparent 0, transparent 5px, #c1b7a8 5px, #c1b7a8 7px); transform: skewX(-18deg); animation: af-sheep-dust .18s ease-out infinite; }
@keyframes af-sheep-run { 0% { transform: translateX(0); } 15% { transform: translateX(8px) rotate(3deg); } 85% { transform: translateX(var(--af-run-distance, -160px)) rotate(-3deg); } 100% { transform: translateX(var(--af-run-distance, -160px)) rotate(0); } }
@keyframes af-sheep-gallop { 0%, 100% { transform: translateY(0) rotate(-4deg) scale(1.02, .98); } 50% { transform: translateY(-9px) rotate(3deg) scale(.98, 1.02); } }
@keyframes af-sheep-dust { from { opacity: .8; transform: translateX(0) skewX(-18deg); } to { opacity: 0; transform: translateX(12px) skewX(-18deg); } }
.artifilum-contest-modal .modal-inner-wrap { max-width: 700px; border-top: 4px solid #c1b7a8; border-radius: 2px; background: #fff; overflow: hidden; }
.artifilum-contest-modal .modal-header { padding-top: 20px; }
.artifilum-contest-modal .modal-content { padding: 0 36px 30px; }
.af-contest-dialog { color: #333; }
.af-contest-ornament { text-align: center; font-size: 24px; color: #c1b7a8; }
.af-contest-eyebrow { text-align: center; text-transform: uppercase; letter-spacing: 1px; font-size: 11px; color: #816d4a; margin-top: 12px; }
.af-contest-dialog h2 { font-family: inherit; font-weight: 400; text-align: center; color: #222; font-size: 26px; line-height: 1.3; margin: 10px 0 18px; }
.af-contest-prize { text-align: center; font-size: 15px; }
.af-contest-message:not(:empty) { border-left: 3px solid #c1b7a8; background: #f5f5f5; padding: 12px; margin: 16px 0; }
.af-contest-question { margin: 24px 0 18px; border: 1px solid #e5e5e5; border-radius: 2px; padding: 16px; }
.af-contest-question legend { width: auto; padding: 0 8px; font-weight: 600; font-size: 16px; }
.af-contest-question label { display: inline-flex; gap: 7px; align-items: center; margin: 4px 24px 4px 0; cursor: pointer; }
.af-contest-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 14px 0; }
.af-contest-field { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: 13px; }
.af-contest-dialog input:not([type="radio"]):not([type="checkbox"]), .af-contest-dialog select { min-height: 42px; width: 100%; box-sizing: border-box; padding: 0 9px; border: 1px solid #e5e5e5; border-radius: 2px; background-color: #fff; color: #666; font-family: inherit; font-size: 13px; font-weight: 400; }
.af-contest-dialog input[type="radio"], .af-contest-dialog input[type="checkbox"] { accent-color: #816d4a; }
.af-contest-dialog input[readonly] { background-color: #f5f5f5 !important; color: #666; }
.af-contest-consent { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; line-height: 1.5; }
.af-contest-consent input { flex-shrink: 0; margin-top: 4px; }
.af-contest-note, .af-contest-footer { font-size: 12px; color: #666; line-height: 1.6; }
.af-contest-note { margin: 12px 0; }
.af-contest-dialog .action.primary { display: inline-block; box-sizing: border-box; min-height: 42px; background: #c1b7a8; border: none; color: #fff; border-radius: 0; padding: 9px 20px; font-family: inherit; font-size: 13px; font-weight: 400; line-height: 24px; text-decoration: none; text-align: center; }
.af-contest-dialog .action.primary:hover, .af-contest-dialog .action.primary:focus, .af-contest-dialog .action.primary:active { background: #b4ab9d; border: none; color: #fff; text-decoration: none; }
.af-contest-dialog .action.primary:disabled { opacity: .65; cursor: wait; }
.af-contest-dialog .action.secondary { display: inline-block; box-sizing: border-box; min-height: 42px; padding: 8px 20px; border: 1px solid #c1b7a8; border-radius: 0; color: #304a5b; font-family: inherit; font-size: 13px; line-height: 24px; text-decoration: none; text-align: center; }
.af-contest-dialog .action.secondary:hover { background: #f5f5f5; color: #816d4a; }
.af-contest-submit { width: 100%; }
.af-contest-auth { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; margin: 20px 0; }
.af-contest-footer { margin-top: 24px; padding-top: 18px; border-top: 1px solid #e5e5e5; }
.af-contest-dialog a { color: #304a5b; text-decoration: underline; }
.af-contest-dialog a:hover { color: #816d4a; }
.af-contest-sheep:focus-visible, .af-contest-banner a:focus-visible, .af-contest-dialog a:focus-visible, .af-contest-dialog button:focus-visible, .af-contest-dialog input:focus-visible, .af-contest-dialog select:focus-visible { outline: 2px solid #304a5b; outline-offset: 3px; }
.af-contest-trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 767px) {
    .af-contest-sheep { width: 112px; right: 12px; bottom: 16px; }
    .af-contest-sheep span { font-size: 10px; }
    .af-contest-banner { padding: 10px 14px; font-size: 12px; }
    .af-contest-banner a { display: block; margin: 4px 0 0; }
    .artifilum-contest-modal .modal-content { padding: 0 18px 22px; }
    .af-contest-dialog h2 { font-size: 25px; }
    .af-contest-fields { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
    .af-contest-sheep, .af-contest-sheep.is-running, .af-contest-sheep.is-running img, .af-contest-sheep.is-running::after { animation: none; }
    .af-contest-sheep.is-running::after { display: none; }
}
