:root{color-scheme:dark;--bg:#15120f;--panel:#231c15;--gold:#dbb572;--ink:#f5ead6;--muted:#bcae98;--line:#67523b}*{box-sizing:border-box}body{margin:0;background:radial-gradient(ellipse at top,#34271b,var(--bg) 65%);color:var(--ink);font:16px/1.55 Georgia,serif}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;cursor:pointer;color:inherit;border:1px solid var(--line);background:#30251b;border-radius:6px;min-height:44px;padding:9px 17px;touch-action:manipulation}button:hover{border-color:var(--gold);background:#45331f}button:focus-visible,a:focus-visible,[role=button]:focus-visible{outline:3px solid #ffe0a1;outline-offset:4px}button:disabled{opacity:.4;cursor:default}header{max-width:1180px;margin:auto;padding:22px 24px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #ffffff12}.brand{color:var(--ink);text-decoration:none;font-weight:bold;letter-spacing:.03em}.brand span{display:block;font:11px/1.6 system-ui;letter-spacing:.17em;text-transform:uppercase;color:var(--muted)}main{max-width:1100px;margin:auto;padding:20px 20px 45px}.heading{text-align:center;padding:20px 0 24px}.eyebrow{font:11px/1.5 system-ui;letter-spacing:.22em;color:var(--gold);margin:0 0 7px}h1{font-size:clamp(25px,4vw,39px);font-weight:normal;line-height:1.22;margin:0 0 13px}h2{font-weight:normal;font-size:26px;margin:0}p{margin:10px 0 17px}.heading>p:last-child,.subtle,.save-note{color:var(--muted)}.scene{position:relative;isolation:isolate;border:1px solid var(--line);border-radius:9px;overflow:hidden;background:#241b12}.backdrop{width:100%;display:block}.drawer{position:absolute;width:12.5%;height:10.8%;padding:0;border:1px solid transparent;border-radius:2px;background:transparent;display:flex;align-items:flex-start;justify-content:center;min-height:0}.drawer span{font:clamp(7px,1.2vw,13px)/1.3 Georgia,serif;background:#b8955a;color:#24180f;margin-top:9%;padding:3px 2px;width:75%;box-shadow:0 1px 5px #0009}.drawer:hover,.drawer:focus-visible{background:#e9c98322;box-shadow:inset 0 0 18px #e9c98344}.d1{left:37.7%;top:32.5%}.d2{left:51.5%;top:32.5%}.d3{left:37.7%;top:44.2%}.d4{left:51.5%;top:44.2%}.scene-link{position:absolute;bottom:3%;right:3%;background:#1b140eee;box-shadow:0 2px 12px #0009}.scene-link span{margin-left:15px}.bench{border:1px solid var(--line);border-top:0;border-radius:0 0 9px 9px;margin-top:-5px;padding:28px;background:linear-gradient(115deg,#302419,#211a14)}.bench-head{display:flex;gap:12px;justify-content:space-between;align-items:center}.bench>p{font-size:14px;color:var(--muted)}.assembly{border:1px solid #b8935a30;border-radius:9px;background:radial-gradient(ellipse,#5b412744,#100f0c88);margin:18px 0}.assembly svg{width:100%;display:block;overflow:visible}.assembly.empty{opacity:.35}.slot{cursor:pointer;outline:none}.slot .hit{fill:#dbb57206;stroke:#c9aa7155;stroke-dasharray:4 5}.slot:hover .hit,.slot:focus .hit{fill:#dbb57230;stroke:#ffe0a1;stroke-width:2}.slot text{fill:#d8c4a2;font:15px system-ui;pointer-events:none}.tools{display:flex;gap:12px}.tool{flex:1;display:flex;align-items:center;justify-content:center;gap:12px;padding:12px}.tool img{width:64px;height:42px;object-fit:contain}.tool[aria-pressed=true]{border-color:var(--gold);background:#654822;box-shadow:inset 0 0 0 1px var(--gold)}.tool span{font-size:14px}.actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:20px}.primary{background:#d9b374;color:#20170e;border-color:#e4c58e;font-weight:bold}.primary:hover{background:#edcd94}.primary span{margin-left:24px}.quiet{background:transparent}.save-note{font:12px/1.5 system-ui!important;margin-top:18px!important}footer{text-align:center;color:#a39076;font:12px system-ui;padding:0 20px 30px}dialog{max-width:650px;width:calc(100% - 28px);max-height:90vh;overflow:auto;border:1px solid #ae8851;border-radius:12px;background:#251d16;color:var(--ink);padding:32px;box-shadow:0 20px 100px #000}dialog::backdrop{background:#080603d9;backdrop-filter:blur(4px)}.close{position:absolute;right:10px;top:8px;background:transparent;border:0;font-size:28px;padding:0;width:44px;z-index:1}.preview-img{display:block;width:100%;max-height:290px;object-fit:contain;margin:20px 0;border-radius:7px}.lock-img{max-height:390px}.dialog-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px}.engraving{white-space:pre-wrap;font:italic 22px/1.8 Georgia,serif;border:1px solid #ba914e60;padding:28px 20px;background:linear-gradient(130deg,#75502a,#3a2919);color:#f5d49a}.treasure{margin:24px 0}.treasure #gravur{position:absolute;left:18%;top:22%;width:25%;height:39%;border:0;border-radius:50%;background:transparent}.treasure #gravur:hover,.treasure #gravur:focus-visible{box-shadow:0 0 25px #f3d88980,inset 0 0 22px #f3d88970;background:#e8c47e0a}.treasure #gravur span{position:absolute;left:50%;top:101%;transform:translateX(-50%);white-space:nowrap;background:#21170fe8;padding:5px 10px;border:1px solid #a5834f;font-size:13px;border-radius:4px}#meldung{color:#f0cb91;min-height:24px}#schatz{text-align:center}.blank-list{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:20px}.blank-list button{padding:15px 8px}[hidden]{display:none!important}@media(max-width:600px){header{padding:15px}main{padding:12px 10px 30px}.heading{padding:16px 7px}.heading>p:last-child{font-size:14px}.bench{padding:20px 12px}.bench-head{align-items:flex-start}.bench h2{font-size:22px}.bench-head button{padding:7px 10px;font-size:13px}.tools{gap:6px}.tool{flex-direction:column;gap:5px;padding:8px 2px}.tool span{font-size:12px}.tool img{height:36px;width:58px}.scene-link{font-size:12px;padding:5px 10px;min-height:36px}.drawer{width:14%;height:12%;min-width:44px;min-height:44px}.d1,.d3{left:37%}.d2,.d4{left:51%}.drawer span{font-size:7px}.assembly{margin-left:-3px;margin-right:-3px}.actions{flex-direction:column}.actions button{width:100%}dialog{padding:28px 18px}.engraving{font-size:19px}.treasure #gravur span{font-size:10px}.save-note{font-size:11px!important}}@media(prefers-reduced-motion:no-preference){button{transition:background .18s,border-color .18s}.shake{animation:shake .35s}@keyframes shake{25%,75%{transform:translateX(-5px)}50%{transform:translateX(5px)}}}

.mobile-slots{display:none}@media(max-width:600px){.mobile-slots{display:grid;grid-template-columns:repeat(4,1fr);gap:6px;margin:-5px 0 18px}.mobile-slots button{font:13px system-ui;min-height:46px;padding:8px 3px}}


.drawer span{display:none}
#keyBody{filter:drop-shadow(0 5px 4px #0008)}
#teeth{filter:drop-shadow(1px 2px 1px #0009)}
.slot .hit{fill:transparent;stroke:#c9aa7130;stroke-dasharray:2 7}
.slot:hover .hit,.slot:focus .hit{fill:#dbb57215;stroke:#ffe0a1}
.tool img{width:80px;height:42px;object-fit:contain}
.tool[data-tool="0"] img{width:42px}

.treasure #gravur,
.treasure #gravur:hover,
.treasure #gravur:active {
    left: 52.5%;
    top: 34.5%;
    width: 3%;
    height: 5%;
    min-width: 0;
    min-height: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    cursor: default;
}


.treasure #gravur:focus-visible {
    background: transparent;
    box-shadow: none;
    outline: 1px solid #dbb572;
}