/* Spielzeit 2.4 – friendly hand-painted forest cards, responsive victory screen and lightweight motion */
:root{--stage:#0e2e21;--leaf:#aac98d;--honey:#f5d18d}
.gameart{background:radial-gradient(circle at 35% 25%,#8daf7c,#305d41 82%)}
.gameart .art-chip{z-index:3}
.gameart .art-icon{z-index:2}
.gameart>img{z-index:2;transition:transform .3s ease;object-fit:contain}
.gamecard:hover .gameart>img{transform:translateY(-5px) rotate(-2deg)}
.gamecard{animation:card-rise .35s both}
.gamecard:nth-child(2){animation-delay:.04s}.gamecard:nth-child(3){animation-delay:.08s}
.gamecard:nth-child(4){animation-delay:.12s}.gamecard:nth-child(5){animation-delay:.16s}.gamecard:nth-child(6){animation-delay:.20s}
@keyframes card-rise{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}
.game-shell .show-main,.lobby-shell .paper{animation:stage-in .25s ease both}
@keyframes stage-in{from{opacity:.65;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}
.category-count{display:inline-block;margin-left:5px;font-size:11px;opacity:.72;font-weight:750;white-space:nowrap}
.checkgrid .checkitem{justify-content:flex-start;align-items:center}
.checkgrid .checkitem span{flex:1;display:flex;justify-content:space-between;flex-wrap:wrap;gap:4px}
.sound-toggle{font-size:19px;min-width:38px;padding:8px}
.final-screen{padding:4px 0 10px}
.final-screen h2.final-heading{font-size:clamp(30px,4.5vw,48px);margin:12px 0 9px;color:#f8f7e9}
.final-screen>p{margin-bottom:23px}
.podium-grid{display:flex;justify-content:center;align-items:flex-end;gap:10px;flex-wrap:wrap;margin:26px auto 31px}
.podium-card{flex:1 1 130px;max-width:240px;min-width:0;border:1px solid #5a795b;background:linear-gradient(170deg,#2b553a,#1f4732);border-radius:18px;min-height:183px;padding:18px 10px;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;gap:8px;animation:podium-up .45s cubic-bezier(.2,1,.3,1) both;box-shadow:0 10px 24px #071c1120}
.podium-card.place-1{order:2;min-height:240px;background:linear-gradient(165deg,#5b6943,#2d5038);border:2px solid #e5c779;animation-delay:.15s}
.podium-card.place-2{order:1;animation-delay:.24s}.podium-card.place-3{order:3;animation-delay:.32s}
.podium-card.mine{box-shadow:0 0 0 2px #b8d69e,0 10px 25px #09201540}
.podium-medal{font-size:38px;filter:drop-shadow(0 4px 4px #0b291755)}
.podium-position{font-size:12px;letter-spacing:.08em;font-weight:900;color:#d9e7d1}
.podium-player{font-size:clamp(13px,2vw,18px);font-weight:950;color:#fcfbf0;overflow-wrap:anywhere}
.podium-points{font:900 clamp(18px,2.7vw,29px)/1.3 system-ui;color:#f4dc92}
.podium-points small{font-size:11px;color:#d1dfc9}
@keyframes podium-up{from{opacity:0;transform:translateY(25px) scale(.96)}to{opacity:1;transform:translateY(0) scale(1)}}
.final-rank-list{display:grid;gap:6px;margin:14px 0 22px}
.final-rank-row{background:#274e39;padding:13px 15px;border:1px solid #436d4d;border-radius:12px;display:flex;align-items:center;gap:13px;color:#eaf4e6}
.final-rank-row.mine{background:#3b6347}
.final-rank{font-size:20px;flex:0 0 32px;text-align:center}
.final-name{flex:1;font-size:14px;font-weight:780;overflow-wrap:anywhere}
.final-name small{color:#cee6c5}
.final-rank-row strong{white-space:nowrap;font-variant-numeric:tabular-nums;color:#eed493;font-size:13px}
.final-actions{display:grid;gap:10px}
.final-actions .stage-action{margin-top:0}
@media(max-width:600px){
 .podium-grid{gap:5px;flex-wrap:nowrap}
 .podium-card{flex:1 1 0;padding:13px 5px;min-height:150px;border-radius:12px}
 .podium-card.place-1{min-height:210px}
 .podium-player{font-size:12px}
 .podium-medal{font-size:29px}
 .podium-points{font-size:17px}
 .podium-points small{display:block;font-size:9px}
 .final-rank-row{padding:12px 9px;gap:7px}
 .final-rank-row strong{font-size:12px}
}
@media(prefers-reduced-motion:reduce){
 .gamecard,.game-shell .show-main,.lobby-shell .paper,.podium-card{animation:none!important;transition:none!important}
}

/* User-generated turtle illustrations: all images are local, compressed and cached by filename. */
.hero{background:#1d4631 url('art/hero-hd.webp') center center/cover no-repeat!important;min-height:360px}
.hero:before{background:linear-gradient(90deg,rgba(13,41,28,.97) 0%,rgba(13,41,28,.92) 38%,rgba(13,41,28,.45) 66%,rgba(13,41,28,.05) 100%)!important}
.hero h1,.hero p.lead{color:#faf6e6!important;text-shadow:0 2px 4px rgba(15,34,22,.18)}
.hero-content{max-width:700px}
.hero .mini-note{color:#dbe9d1}
.gameart{background:#436f49!important;overflow:hidden}
.gameart:before{display:none!important}
.gameart>img{width:100%!important;height:100%!important;position:absolute!important;inset:0!important;right:auto!important;bottom:auto!important;object-fit:cover!important;object-position:center!important;filter:none!important}
.gameart .art-chip{z-index:3;background:#153b2bea;color:#f2f6e6;font-weight:850;box-shadow:0 3px 9px #071f1035}
.gamecard:hover .gameart>img{transform:scale(1.045)!important}
.game-shell .show-header{background-image:linear-gradient(90deg,rgba(12,39,28,.95),rgba(14,46,29,.84) 60%,rgba(21,51,32,.4)),url('art/schaetz-hd.webp')!important;background-position:center!important;background-size:cover!important}
.game-shell .show-header>img{display:none}
@media(max-width:700px){
 .hero{min-height:425px;background-position:65% bottom!important}
 .hero:before{background:linear-gradient(180deg,rgba(13,41,28,.96),rgba(13,41,28,.95) 52%,rgba(13,41,28,.18) 100%)!important}
 .gameart{height:145px}
}


.auction-product{display:block;width:100%;max-height:300px;object-fit:contain;background:white;border-radius:16px}.auction-art{display:grid;place-items:center;font-size:4rem}.auction-art .art-chip{font-size:.7rem}#auction-offer{margin-bottom:1rem}

/* Spielzeit 2.5: quiet movement, contextual help and persistent player progress. */
.help-button{display:inline-grid;place-items:center;flex:0 0 32px;width:32px;height:32px;padding:0;border:1px solid #94b58c;border-radius:50%;background:#254b36;color:#f8e5ac;font-weight:800;cursor:pointer}.cardfoot>span{margin-right:auto}.cardfoot{gap:9px}.help-button:hover{background:#52734a;transform:rotate(-8deg) scale(1.08)}
.game-help-dialog{box-sizing:border-box;width:min(640px,calc(100vw - 28px));max-height:85dvh;overflow:auto;padding:clamp(22px,5vw,36px);background:#173d2c;color:#f4f1de;border:1px solid #8eaa72;border-radius:24px;box-shadow:0 25px 90px #0008}.game-help-dialog::backdrop{background:#06180ec7;backdrop-filter:blur(5px)}.game-help-dialog h2{font-size:2rem;color:#fff0c7;margin:.4em 0}.game-help-dialog p{line-height:1.6;color:#d9e2d0}.help-close{float:right;border:0;border-radius:50%;width:34px;height:34px;background:#35583d;color:#fff;font-size:24px;cursor:pointer}.guide-steps{list-style:none;padding:0;margin:24px 0}.guide-steps li{display:flex;gap:16px;margin:0 0 24px;align-items:flex-start}.guide-steps li>span{display:grid;place-items:center;flex:0 0 38px;height:38px;border-radius:12px;background:#dabb77;color:#233b29;font-weight:900}.guide-steps h3{margin:0 0 5px;color:#fff1ca}.guide-steps p{margin:0;line-height:1.6}.onboarding{max-width:860px;margin:20px auto}.onboarding h1{font-size:clamp(2rem,5vw,3.5rem)}.help-game-list{display:flex;gap:10px;flex-wrap:wrap}.quick-options,.extra-settings{margin:14px 0;padding:12px;border-radius:12px;background:#203f2d}.quick-options summary,.extra-settings summary{cursor:pointer;font-weight:700}.quick-options small,.extra-settings small{font-weight:400;color:#bccdb4;margin-left:8px}.quick-options label,.extra-settings label{margin-top:12px}.lot-categories summary{font-weight:800;cursor:pointer}
.level-card{border:1px solid #719365;border-radius:18px;padding:20px;margin:18px 0 25px;background:linear-gradient(135deg,#2f573b,#183728)}.level-card h3{font-size:2.4rem;margin:.2em 0;color:#f1d28a}.level-card progress{appearance:none;width:100%;height:12px;border:0;border-radius:10px;overflow:hidden;background:#112c21}.level-card progress::-webkit-progress-bar{background:#112c21}.level-card progress::-webkit-progress-value{background:linear-gradient(90deg,#8dbd6d,#edd18b)}.level-card progress::-moz-progress-bar{background:#bdd382}.profile-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:20px 0}.profile-stats span{display:grid;font-size:.85rem}.profile-stats b{font-size:1.4rem;color:#f2d99d}.level-card small{color:#c4d4bd;line-height:1.5}
.ambient-leaves{position:fixed;inset:0;overflow:hidden;pointer-events:none;z-index:0;contain:strict}.wrap,.footer{position:relative;z-index:1}.ambient-leaves i{position:absolute;left:3%;top:14%;width:9px;height:17px;border-radius:80% 0 80% 0;background:#91b46d;opacity:.15;animation:leaf-drift 18s ease-in-out infinite}.ambient-leaves i:nth-child(2){left:94%;top:32%;animation-delay:-6s}.ambient-leaves i:nth-child(3){left:8%;top:76%;animation-delay:-10s;scale:.7}.ambient-leaves i:nth-child(4){left:90%;top:86%;animation-delay:-13s}.ambient-leaves i:nth-child(5){left:55%;top:4%;animation-delay:-3s;scale:.6}
@keyframes leaf-drift{0%,100%{transform:translate(0,0) rotate(-20deg)}50%{transform:translate(15px,-38px) rotate(90deg)}}
@keyframes soft-arrive{from{opacity:0;transform:translateY(9px)}to{opacity:1;transform:translateY(0)}}
@keyframes turtle-breathe{0%,100%{transform:translateY(0) rotate(-3deg)}50%{transform:translateY(-4px) rotate(3deg)}}
.gamecard,.player,.paper,.px-hero,.lot-hero{animation:soft-arrive .35s ease-out both}.gamecard:nth-child(2n){animation-delay:.04s}.gamecard:nth-child(3n){animation-delay:.08s}.gamecard{transition:transform .24s ease,box-shadow .24s ease}.gamecard:hover{transform:translateY(-5px);box-shadow:0 12px 25px #06160d66}.gameart img{transition:transform .8s ease}.gamecard:hover .gameart img{transform:scale(1.035)}.player-avatar{animation:turtle-breathe 4.5s ease-in-out infinite}.player:nth-child(even) .player-avatar{animation-delay:-2s}.primary,.soft,.ghost{transition:background-color .2s ease,transform .15s ease,box-shadow .2s ease}.primary:active,.soft:active{transform:scale(.98)}.game-help-dialog[open]{animation:soft-arrive .22s ease-out}.lot-slip,.round-result-row{animation:soft-arrive .3s ease-out}.hero{background-image:url('art/hero-fixed-hd.webp')!important}
@media(max-width:600px){.game-help-dialog{padding:22px}.guide-steps li{gap:12px}.profile-stats{gap:6px}.ambient-leaves i{opacity:.09}.cardfoot{gap:5px}.cardfoot>span{font-size:.75rem}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}.ambient-leaves{display:none}}
.player-avatar img,.leader-avatar img{width:100%;height:100%;object-fit:contain}.extra-settings:has(.auction-clock[hidden]){display:none}
@media(max-width:660px){.sitebar .topnav{display:flex;order:3;width:100%;margin:0;gap:22px;justify-content:center;border-top:1px solid #60815c44;padding-top:5px}.sitebar .topnav button{font-size:13px;padding:5px 12px}.cardfoot{flex-wrap:wrap}.cardfoot>span{flex:1 0 100%}}
