/* Europharm Adventssuche 1.1.0 — all selectors scoped to the plugin. */
.ep-game{--ep-navy:#001f47;--ep-gold:#edc36b;--ep-cream:#f8f6ef;box-sizing:border-box;position:relative;isolation:isolate;width:100%;max-width:100%;margin:20px auto 34px;overflow:hidden;border:1px solid #e8deca;border-radius:22px;background:var(--ep-cream);color:var(--ep-navy);font-family:Arial,Helvetica,sans-serif;font-size:16px;line-height:1.65;overflow-wrap:anywhere;box-shadow:0 18px 50px rgba(0,31,71,.09)}
.ep-game *, .ep-game *::before,.ep-game *::after{box-sizing:border-box;min-width:0}
.ep-game h1,.ep-game h2,.ep-game p,.ep-game span,.ep-game strong,.ep-game label{max-width:100%;overflow-wrap:anywhere;white-space:normal;letter-spacing:normal}
.ep-game .ep-hero{position:relative;overflow:hidden;padding:60px clamp(18px,5vw,62px) 54px;text-align:center;color:#fff;background:radial-gradient(ellipse at 50% 0%,#24496b 0%,#082b50 45%,#001936 100%)}
.ep-game .ep-hero::before,.ep-game .ep-hero::after{content:"";position:absolute;z-index:0;pointer-events:none;border:1px solid rgba(236,192,100,.2);border-radius:50%;width:290px;height:290px;top:-185px;left:-120px;box-shadow:0 0 0 30px rgba(255,255,255,.025),0 0 0 75px rgba(255,255,255,.018)}
.ep-game .ep-hero::after{left:auto;right:-170px;top:55px;width:320px;height:320px}
.ep-game .ep-hero>*:not(.ep-snow){position:relative;z-index:1}
.ep-game .ep-snow{position:absolute;inset:0;z-index:0;pointer-events:none;opacity:.65;background-image:radial-gradient(2px 2px at 12% 12%,#fff 95%,transparent),radial-gradient(2px 2px at 79% 19%,#fff 95%,transparent),radial-gradient(3px 3px at 87% 65%,#edc36b 95%,transparent),radial-gradient(2px 2px at 22% 78%,#fff 95%,transparent),radial-gradient(2px 2px at 51% 44%,#fff 95%,transparent),radial-gradient(2px 2px at 66% 88%,#fff 95%,transparent);background-size:340px 300px;animation:ep-snowfall 24s linear infinite}
@keyframes ep-snowfall{to{background-position:0 300px}}
.ep-game .ep-kicker{font-size:12px;font-weight:800;letter-spacing:2.2px!important;color:#f4d38e}
.ep-game .ep-deco{display:flex;justify-content:center;align-items:center;gap:clamp(12px,4vw,30px);margin:17px 0 20px;color:#f2c976;font-size:28px}
.ep-game .ep-deco span:nth-child(even){font-size:18px;opacity:.85}
.ep-game .ep-hero h1{color:#fff!important;font-family:Arial,Helvetica,sans-serif!important;font-size:clamp(30px,5.2vw,51px)!important;line-height:1.13!important;font-weight:800!important;letter-spacing:-.025em!important;max-width:780px!important;margin:0 auto 22px!important;text-wrap:balance}
.ep-game .ep-hero>p{color:#edf3fa!important;font-size:clamp(15px,1.8vw,18px)!important;line-height:1.65!important;max-width:620px!important;margin:0 auto 30px!important}
.ep-game .ep-prize{display:flex;align-items:center;gap:20px;max-width:690px;margin:0 auto;padding:22px 25px;text-align:left;border:1px solid #b99556;border-radius:16px;background:linear-gradient(135deg,rgba(28,67,106,.95),rgba(10,41,73,.95));box-shadow:0 12px 26px #0002}
.ep-game .ep-prize-icon{display:grid;place-items:center;flex:0 0 72px;width:72px;height:72px;border-radius:18px;background:rgba(255,255,255,.09);font-size:42px}
.ep-game .ep-prize-copy{display:grid;gap:5px}
.ep-game .ep-prize-label{font-size:10px;font-weight:800;letter-spacing:1.8px;color:#e8cb93}
.ep-game .ep-prize strong{display:block;color:#ffdb8a!important;font-size:clamp(18px,2.6vw,24px)!important;line-height:1.25}
.ep-game .ep-prize span{display:block;color:#f1f4f9;font-size:14px;line-height:1.55}
.ep-game .ep-content{padding:clamp(22px,5vw,48px);background:linear-gradient(180deg,#faf8f2,#f8f6ef)}
.ep-game .ep-section-eyebrow{margin:25px 0 6px;color:#9b722b;font-size:11px;font-weight:800;letter-spacing:1.7px}
.ep-game .ep-content>.ep-section-eyebrow:first-child{margin-top:0}
.ep-game .ep-content h2{margin:0 0 12px!important;color:var(--ep-navy)!important;font-size:clamp(23px,3.1vw,29px)!important;line-height:1.3!important;font-weight:800!important}
.ep-game .ep-content h2 span{font-size:.75em}
.ep-game .ep-content p{margin:0 0 18px!important;color:#27405d!important;line-height:1.7!important;font-size:15px!important}
.ep-game .ep-progress{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:8px;margin:28px 0 10px;font-size:14px}
.ep-game .ep-progress strong{color:var(--ep-navy)}
.ep-game .ep-bar{height:13px;margin:0 0 27px;border-radius:30px;overflow:hidden;background:#e4ddcc;box-shadow:inset 0 1px 3px #0001}
.ep-game .ep-bar>div{height:100%;width:0;background:linear-gradient(90deg,#b88a3a,#ffdf91);border-radius:30px;transition:width .4s ease}
.ep-game .ep-tiles{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:clamp(5px,1.5vw,15px);padding:18px 0 13px}
.ep-game .ep-tile{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;aspect-ratio:1/1.14;min-height:64px;border:1px solid #c69a4a;border-radius:48% 48% 50% 50%;background:radial-gradient(circle at 31% 24%,#fff0b0 0%,#f9d47e 21%,#d8a84c 57%,#a9772c 100%);color:#483211;text-align:center;box-shadow:inset -5px -8px 11px #734a1b38,0 6px 12px #39250924;transition:transform .2s}
.ep-game .ep-tile::before{content:"";position:absolute;top:-13px;left:50%;width:2px;height:12px;background:#d0ac68;transform:translateX(-50%)}
.ep-game .ep-tile-cap{position:absolute;top:-5px;left:50%;width:23px;height:10px;border-radius:4px 4px 1px 1px;transform:translateX(-50%);background:linear-gradient(90deg,#956a25,#f9e2a1,#b48635);box-shadow:0 1px 2px #0003}
.ep-game .ep-tile-symbol{font-size:clamp(20px,3.2vw,30px);line-height:1.1;font-weight:900;color:#65471f;text-shadow:0 1px 1px #fff7}
.ep-game .ep-tile-num{position:absolute;bottom:9px;font-size:10px;font-weight:800;color:#65471f}
.ep-game .ep-tile.ep-available{box-shadow:inset -5px -8px 11px #734a1b38,0 0 0 3px #ffdfa15c,0 8px 15px #39250924}
.ep-game .ep-tile.ep-found{background:radial-gradient(circle at 30% 25%,#fffbd9,#f4c95d 45%,#b88329 100%);border-color:#8d621e;transform:translateY(-3px)}
.ep-game .ep-tile.ep-found .ep-tile-symbol{color:#001f47}
.ep-game .ep-small{font-size:13px!important;color:#52657b!important}
.ep-game .ep-note{margin:8px 0 25px;padding:16px 18px;border:1px dashed #d5c7a6;border-radius:12px;background:#fffdf8}
.ep-game .ep-hints{margin:0 0 24px;padding-left:22px;color:#253f5d}
.ep-game .ep-hints li{margin:11px 0;line-height:1.6}
.ep-game .ep-entry{display:grid;gap:11px;max-width:620px;margin:14px 0 23px;padding:22px;border:1px solid #e5d9c1;border-radius:16px;background:#fff;box-shadow:0 5px 20px #001f470b}
.ep-game .ep-entry label{font-size:14px;font-weight:700;color:#001f47}
.ep-game .ep-entry input:not([type=checkbox]){display:block;width:100%;max-width:100%;min-height:45px;border:1px solid #b9c2cc;border-radius:9px;padding:10px 12px;background:#fff;color:#001f47;font:inherit}
.ep-game .ep-entry input:disabled{background:#f0f1f3;color:#6a7480}
.ep-game .ep-entry button{width:100%;min-height:46px;margin-top:5px;border:0;border-radius:9px;padding:12px 18px;background:#001f47;color:white;font-size:15px;font-weight:800;cursor:pointer}
.ep-game .ep-entry button:disabled{background:#9ca9b6;cursor:not-allowed}
.ep-game .ep-check{display:flex;align-items:flex-start;gap:10px;font-weight:400!important;line-height:1.5}
.ep-game .ep-check input{flex:0 0 auto;margin-top:5px}
.ep-game .ep-message{font-weight:700}
.ep-game .ep-orb{display:inline-flex;align-items:center;gap:12px;max-width:100%;border:2px solid #ac7d2b;border-radius:35px;padding:10px 19px;background:linear-gradient(135deg,#ffedae,#c28b32);color:#001f47;box-shadow:0 6px 16px #0002;font:700 15px Arial,Helvetica,sans-serif;cursor:pointer;white-space:normal}
.ep-game .ep-orb>span:first-child{font-size:28px}.ep-game .ep-orb.ep-claimed{background:#e4f3dc}
.ep-game .ep-orb:focus-visible,.ep-game .ep-entry button:focus-visible{outline:3px solid #2972c4;outline-offset:3px}
@media(max-width:680px){.ep-game .ep-hero{padding:38px 20px}.ep-game .ep-prize{padding:16px;gap:12px}.ep-game .ep-prize-icon{flex-basis:54px;width:54px;height:54px;font-size:30px}.ep-game .ep-tiles{grid-template-columns:repeat(4,minmax(0,1fr));row-gap:22px;padding-top:20px}.ep-game .ep-tile{max-width:100px;width:100%;justify-self:center}.ep-game .ep-content{padding:25px 20px}.ep-game .ep-progress{font-size:13px}}
@media(max-width:390px){.ep-game .ep-prize{flex-direction:column;text-align:center}.ep-game .ep-kicker{font-size:10px}.ep-game .ep-hero h1{font-size:29px!important}.ep-game .ep-entry{padding:16px}.ep-game .ep-tile{min-height:60px}}
@media(prefers-reduced-motion:reduce){.ep-game .ep-snow{animation:none}.ep-game .ep-bar>div,.ep-game .ep-tile{transition:none}}

/* v1.2: The header/banner is managed by the WordPress editor, not this plugin. */
.ep-game .ep-join{margin-top:36px;padding:24px clamp(16px,3vw,32px);border:1px solid #e7d7b6;border-radius:18px;background:linear-gradient(135deg,#fffaf0,#f1e8d4);text-align:center}
.ep-game .ep-join h2{margin:8px 0 12px!important}
.ep-game .ep-join p{max-width:680px;margin-left:auto!important;margin-right:auto!important}
.ep-game .ep-join-button{display:inline-flex;align-items:center;justify-content:center;gap:12px;max-width:100%;padding:15px 24px;border-radius:12px;background:#001f47;color:#fff!important;font-size:16px;font-weight:700;text-decoration:none!important;line-height:1.35;text-align:center;transition:background .2s,transform .2s}
.ep-game .ep-join-button:hover,.ep-game .ep-join-button:focus{background:#16436f;color:#fff!important;transform:translateY(-1px)}
.ep-game .ep-join-button:focus-visible{outline:3px solid #b88a3a;outline-offset:3px}
@media(max-width:480px){.ep-game .ep-join-button{width:100%;padding:14px 12px;font-size:15px}}

/* v1.3: Freestanding shortcode ornament. Not scoped to .ep-game: the hidden
   ornaments live on ordinary WordPress pages outside the landing-page wrapper. */
button.ep-orb, .entry-content button.ep-orb, .wp-block-post-content button.ep-orb {
  display:inline-flex!important; flex-direction:column!important; align-items:center!important;
  justify-content:center!important; gap:6px!important; box-sizing:border-box!important;
  width:220px!important; max-width:100%!important; min-height:290px!important;
  padding:0 8px 12px!important; margin:12px 0!important; border:0!important;
  border-radius:16px!important; background:transparent!important;
  box-shadow:none!important; color:#001f47!important; font:700 15px/1.35 Arial,Helvetica,sans-serif!important;
  text-align:center!important; white-space:normal!important; cursor:pointer!important;
  transition:transform .22s ease!important;
}
button.ep-orb:hover{transform:translateY(-5px) rotate(-2deg)}
button.ep-orb:focus-visible{outline:3px solid #235fa2!important;outline-offset:3px}
button.ep-orb .ep-orb-art{
  display:block!important; flex:none!important; width:200px!important; height:242px!important;
  max-width:100%!important; background-image:url('goldene-weihnachtskugel.svg')!important;
  background-size:contain!important; background-repeat:no-repeat!important;
  background-position:center!important; filter:drop-shadow(0 8px 8px #31200e38);
}
button.ep-orb .ep-orb-label{display:block!important; max-width:100%!important;
  padding:6px 10px!important; border-radius:30px!important;
  background:#fff7e5!important; color:#001f47!important;
  box-shadow:0 1px 5px #001f471c!important; font-weight:700!important;
  font-size:14px!important; line-height:1.4!important;
}
button.ep-orb.ep-claimed .ep-orb-label{background:#e9f6e5!important;color:#234d28!important}
@media(max-width:480px){button.ep-orb{width:180px!important;min-height:240px!important}
 button.ep-orb .ep-orb-art{width:165px!important;height:200px!important}}
@media(prefers-reduced-motion:reduce){button.ep-orb{transition:none!important}}

/* v1.4: One consistent SVG ornament on landing and content pages. */
.ep-game .ep-tiles{gap:clamp(5px,1.5vw,15px);padding-top:24px}
.ep-game .ep-tile{aspect-ratio:200/242;min-height:0!important;border:0!important;border-radius:0!important;background:transparent url('goldene-weihnachtskugel.svg') center/contain no-repeat!important;box-shadow:none!important;transform:none!important;position:relative;isolation:isolate;overflow:visible}
.ep-game .ep-tile::before,.ep-game .ep-tile-cap{display:none!important}
.ep-game .ep-tile-symbol{position:absolute;top:54%;left:50%;transform:translate(-50%,-50%);font-size:clamp(17px,2.7vw,30px);color:#5b390b!important;text-shadow:0 1px 2px #fff9;font-weight:900;line-height:1;z-index:1}
.ep-game .ep-tile-num{position:absolute;bottom:6%;left:50%;transform:translateX(-50%);font-size:clamp(9px,1vw,12px);color:#4a300c!important;z-index:1}
.ep-game .ep-tile.ep-found{filter:drop-shadow(0 0 8px #e4b349);transform:translateY(-2px)!important}
.ep-game .ep-tile.ep-found .ep-tile-symbol{color:#001f47!important}
button.ep-orb, .entry-content button.ep-orb, .wp-block-post-content button.ep-orb{min-height:0!important;padding:0!important;gap:0!important;width:220px!important}
button.ep-orb .ep-orb-art{position:relative!important;display:block!important}
button.ep-orb .ep-orb-letter{position:absolute;top:54%;left:50%;transform:translate(-50%,-50%);display:block;min-width:1em;color:#4a300c;font:900 54px/1 Arial,Helvetica,sans-serif;text-shadow:0 1px 3px #fff8;pointer-events:none}
button.ep-orb.ep-loading .ep-orb-art{filter:drop-shadow(0 0 13px #f3c05c)}
button.ep-orb.ep-loading .ep-orb-letter::after{content:'…';animation:ep-wait 1s ease-in-out infinite}
button.ep-orb.ep-claimed .ep-orb-art{filter:drop-shadow(0 0 12px #f3c05c)}
@keyframes ep-wait{50%{opacity:.25}}
@media(max-width:480px){button.ep-orb{width:180px!important}button.ep-orb .ep-orb-letter{font-size:44px}}
@media(prefers-reduced-motion:reduce){button.ep-orb.ep-loading .ep-orb-letter::after{animation:none}}

/* v1.5: Four-step guide; scoped so WordPress theme styles do not override it. */
.ep-game .ep-howto{margin:0 0 34px;border:1px solid #d9c59d;border-radius:20px;padding:clamp(18px,3.5vw,32px);background:#fffdf8;box-shadow:0 10px 28px #001f470b}
.ep-game .ep-howto-heading{text-align:center;margin-bottom:25px}
.ep-game .ep-howto-kicker{display:block;color:#9a6b20;font-size:11px;font-weight:800;letter-spacing:1.5px;margin-bottom:8px}
.ep-game .ep-howto-heading h2{font-size:clamp(22px,3vw,30px)!important;margin-bottom:10px!important}
.ep-game .ep-howto-heading p{max-width:710px;margin:0 auto!important}
.ep-game .ep-steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:0!important;padding:0!important;list-style:none!important;counter-reset:none}
.ep-game .ep-steps li{position:relative;display:flex;flex-direction:column;align-items:flex-start;gap:8px;margin:0!important;padding:20px 16px!important;border:1px solid #e5dcc9;border-radius:15px;background:#f8f6ef;color:#001f47;line-height:1.45;list-style:none!important;min-width:0}
.ep-game .ep-steps li::marker{content:''}
.ep-game .ep-step-icon{font-size:27px;line-height:1.2}
.ep-game .ep-step-number{position:absolute;right:14px;top:13px;font-weight:800;color:#a7782d;font-size:12px}
.ep-game .ep-steps li strong{display:block;font-size:15px;line-height:1.3;color:#001f47}
.ep-game .ep-steps li>span:last-child{font-size:13px;line-height:1.55;color:#334a62}
.ep-game .ep-join-wait{display:inline-block;margin:6px auto 18px!important;color:#001f47!important;font-weight:700}
@media(max-width:850px){.ep-game .ep-steps{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:500px){.ep-game .ep-steps{grid-template-columns:1fr}.ep-game .ep-steps li{padding:16px!important}.ep-game .ep-howto{padding:17px}}

/* v1.6: spacing after instructions and no ornament numbers */
.ep-game .ep-storage-note{margin-top:32px!important;}
.ep-game .ep-tile-num{display:none!important;}

/* v1.7.2: Quiet, warm hint card — visually separate without drawing focus. */
.ep-game .ep-hint-card{margin:36px 0 8px;padding:clamp(18px,3vw,25px);border:1px solid #e7dfd1;border-radius:16px;background:#f8f6ef;box-shadow:none;color:#001f47}
.ep-game .ep-hint-head{display:flex;align-items:center;gap:14px;padding-bottom:15px;border-bottom:1px solid #e7dfd1}
.ep-game .ep-hint-icon{display:grid;place-items:center;flex:0 0 42px;width:42px;height:42px;border-radius:11px;background:#fff;font-size:23px;line-height:1}
.ep-game .ep-hint-eyebrow{font-size:11px;line-height:1.5;font-weight:700;letter-spacing:.08em;color:#a18452}
.ep-game .ep-hint-head h2{margin:2px 0 0!important;font-size:clamp(18px,2.4vw,22px)!important;line-height:1.35!important}
.ep-game .ep-hint-body{padding-top:15px}
.ep-game .ep-hint-body p{margin:0 0 12px!important;font-size:14px!important;color:#444!important}
.ep-game .ep-hint-empty{margin-top:14px!important;padding:10px 12px;border-left:2px solid #c5a66a;background:#fff9ef;border-radius:0 7px 7px 0}
.ep-game .ep-hint-card .ep-hints{margin:14px 0 0;padding-left:22px;color:#444;font-size:14px}
.ep-game .ep-hint-card .ep-hints li{margin:8px 0}
@media(max-width:480px){.ep-game .ep-hint-card{margin-top:28px;padding:17px}.ep-game .ep-hint-head{gap:10px}.ep-game .ep-hint-icon{flex-basis:38px;width:38px;height:38px}}

/* v1.7.3: compact spacing around the ornament search and hint card */
.ep-game .ep-tiles{padding-bottom:5px}
.ep-game .ep-tiles + .ep-small{margin:4px 0 0!important;line-height:1.55!important}
.ep-game .ep-hint-card{margin:20px 0 0}
.ep-game .ep-hint-card + .ep-join{margin-top:22px}
@media(max-width:680px){
 .ep-game .ep-tiles{row-gap:17px;padding-bottom:5px}
 .ep-game .ep-tiles + .ep-small{margin-top:9px!important;line-height:1.6!important}
 .ep-game .ep-hint-card{margin-top:20px}
 .ep-game .ep-hint-card + .ep-join{margin-top:22px}
}
@media(max-width:390px){
 .ep-game .ep-tiles{row-gap:15px}
 .ep-game .ep-hint-card{padding:16px}
}
