
#santa-tape-scene{--st-ink:#283d32;--st-paper:#f4ead5;--st-brass:#cba65f;--st-red:#aa3f30;width:100%;padding:0;color:var(--st-ink);font-family:Arial,Helvetica,sans-serif}
#santa-tape-scene *{box-sizing:border-box}
#santa-tape-scene [hidden]{display:none!important}
#santa-tape-scene .st-page{position:relative;isolation:isolate;overflow:hidden;width:100%;background-color:var(--st-paper);background-image:linear-gradient(105deg,rgba(255,250,237,.80),rgba(255,250,237,.65)),url("./assets/paper.webp");background-size:auto,650px;box-shadow:inset 0 0 80px rgba(130,95,39,.06);border-radius:18px;padding:30px 26px 22px}
#santa-tape-scene .st-header{position:relative;z-index:2;text-align:center;margin:0 0 28px}
#santa-tape-scene h2{margin:0;padding:0;font:400 clamp(26px,4.6vw,38px)/1.2 "Courier New",Courier,monospace;letter-spacing:-1.3px;color:var(--st-ink)}
#santa-tape-scene .st-stage{position:relative;display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,.92fr);gap:2px;align-items:start;min-height:450px;padding:16px 0 128px;user-select:none;-webkit-user-select:none}
#santa-tape-scene .st-cable{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;z-index:1}
#santa-tape-scene .st-deck-column{width:100%;min-width:0}
#santa-tape-scene .st-deck-wrap{position:relative;z-index:2;width:100%;filter:drop-shadow(0 16px 11px rgba(42,35,21,.15))}
#santa-tape-scene .st-deck{position:relative;background:linear-gradient(135deg,#596351,#353f34 55%,#2c372e);border:2px solid #787b64;border-bottom:7px solid #243329;border-radius:15px;height:298px;box-shadow:inset 0 1px 0 #a5a68a,inset 0 -1px 0 #18281f,inset 7px 0 12px rgba(254,243,200,.06)}
#santa-tape-scene .st-deck:before{content:"";position:absolute;inset:0;border-radius:12px;opacity:.13;pointer-events:none;background:repeating-linear-gradient(0deg,transparent,transparent 3px,#ced2b8 4px)}
#santa-tape-scene .st-deck-label{position:absolute;top:11px;left:24px;font:400 12px/1.2 "Courier New",monospace;letter-spacing:2px;color:#e4d5af}
#santa-tape-scene .st-bow{position:absolute;z-index:7;left:54%;top:-18px;width:68px;height:34px;transform:translateX(-50%) rotate(-5deg);pointer-events:none;filter:drop-shadow(0 2px 2px #19282044)}
#santa-tape-scene .st-bow:before,#santa-tape-scene .st-bow:after{content:"";position:absolute;top:3px;width:30px;height:23px;border:1px solid #813c31;border-radius:65% 45% 55% 45%;background:linear-gradient(145deg,#d18169,#a64738 58%,#813a30);box-shadow:inset 0 1px 2px #f6cfaa88}
#santa-tape-scene .st-bow:before{right:32px;transform:rotate(18deg)}
#santa-tape-scene .st-bow:after{left:32px;transform:scaleX(-1) rotate(18deg)}
#santa-tape-scene .st-bow-knot{position:absolute;z-index:2;left:29px;top:10px;width:11px;height:12px;border:1px solid #79362b;border-radius:4px;background:linear-gradient(100deg,#9d3e31,#df9879,#9c4536)}
#santa-tape-scene .st-bow-tail{position:absolute;top:20px;width:13px;height:21px;background:linear-gradient(90deg,#983c30,#c4624d);border:1px solid #813c31;clip-path:polygon(0 0,100% 0,100% 100%,50% 77%,0 100%)}
#santa-tape-scene .st-bow-tail-left{left:24px;transform:rotate(18deg)}
#santa-tape-scene .st-bow-tail-right{left:34px;transform:rotate(-20deg)}
#santa-tape-scene .st-screw{position:absolute;width:7px;height:7px;border-radius:50%;background:linear-gradient(45deg,#8c8e76 40%,#343c31 43%,#343c31 55%,#b2b19b 58%);box-shadow:0 1px 1px #15251e;z-index:5}
#santa-tape-scene .st-screw-tl{left:8px;top:8px}#santa-tape-scene .st-screw-tr{right:8px;top:8px}#santa-tape-scene .st-screw-bl{left:8px;bottom:8px}#santa-tape-scene .st-screw-br{right:8px;bottom:8px}
#santa-tape-scene .st-reels{position:absolute;display:flex;justify-content:space-between;align-items:center;left:18px;right:18px;top:50px;height:120px}
#santa-tape-scene .st-reel{position:relative;flex:0 0 44%;aspect-ratio:1;border-radius:50%;padding:0;margin:0;border:0;background:radial-gradient(circle,#62452c 0 60%,#382e21 61% 68%,#b0af92 69% 72%,#3c4535 73% 74%,#b8b69a 75%);box-shadow:0 5px 8px #13261a66,0 -1px 0 #dad8bc;touch-action:none}
#santa-tape-scene .st-reel-control{cursor:grab}
#santa-tape-scene .st-reel-control:disabled{cursor:default}
#santa-tape-scene .st-reel-control:active:not(:disabled){cursor:grabbing}
#santa-tape-scene .st-spool{position:absolute;inset:3%;border-radius:50%;background:radial-gradient(circle at 36% 25%,#cbcbb2,#abae92 55%,#929a7e);box-shadow:inset 0 0 0 1px #e5dfb6,inset 0 0 0 3px #939c80;transform:rotate(0deg)}
#santa-tape-scene .st-hole{position:absolute;width:19%;height:36%;left:40.5%;top:7%;border-radius:50% 50% 40% 40%;background:radial-gradient(ellipse at 40% 70%,#3c3e2f,#28382d);box-shadow:inset 1px 2px 2px #16261f;transform-origin:50% 120%}
#santa-tape-scene .st-hole-b{transform:rotate(120deg)}#santa-tape-scene .st-hole-c{transform:rotate(240deg)}
#santa-tape-scene .st-hub{position:absolute;inset:34%;border-radius:50%;background:radial-gradient(circle,#25392c 0 19%,#777e5f 20% 29%,#ddc896 30% 56%,#8f9c79 57% 70%,#47543c 71%);box-shadow:1px 2px 3px #1d2e2766}
#santa-tape-scene .st-reel-handle{position:absolute;right:14%;bottom:14%;width:17%;height:17%;border-radius:50%;background:radial-gradient(circle at 35% 25%,#f7dfab,#c19b59 50%,#67532f);box-shadow:0 3px 3px #20312399;z-index:2}
#santa-tape-scene .st-head{height:34px;width:20px;display:flex;align-items:center;justify-content:center;gap:2px;background:#22382b;box-shadow:inset 1px 1px 3px #16231b;border-radius:3px}
#santa-tape-scene .st-head span{height:17px;width:2px;background:#7f8663;border-radius:1px}
#santa-tape-scene .st-guides{position:absolute;left:13px;right:13px;top:177px;display:flex;justify-content:space-between}
#santa-tape-scene .st-guides span{width:16px;height:16px;border-radius:50%;background:radial-gradient(circle,#c9c8a8 0 20%,#48513c 23% 35%,#b2ad87 38% 65%,#1f3025 70%);box-shadow:0 2px 4px #14241b}
#santa-tape-scene .st-tape-area{position:absolute;left:10px;right:10px;top:178px;height:65px}
#santa-tape-scene .st-tape-window{position:absolute;inset:7px 0 7px;width:100%;height:51px;border:0;border-radius:2px;overflow:hidden;padding:0;margin:0;background:#69452f;box-shadow:inset 0 4px 5px #261b1466,inset 0 -2px 2px #291c1866;touch-action:none;cursor:grab;user-select:none}
#santa-tape-scene .st-tape-window:disabled{cursor:default}
#santa-tape-scene .st-tape-window:before,#santa-tape-scene .st-tape-window:after{content:"";position:absolute;z-index:3;top:0;bottom:0;width:28px;pointer-events:none}
#santa-tape-scene .st-tape-window:before{left:0;background:linear-gradient(90deg,#413023,transparent)}
#santa-tape-scene .st-tape-window:after{right:0;background:linear-gradient(-90deg,#413023,transparent)}
#santa-tape-scene .st-tape-track{position:absolute;left:0;top:0;display:flex;height:51px;will-change:transform}
#santa-tape-scene .st-name-cell{position:relative;flex:0 0 112px;width:112px;display:flex;align-items:center;justify-content:center;height:51px;color:#302b22;font:400 22px/1 "Courier New",monospace;background:linear-gradient(0deg,transparent 0 5px,#ae865955 6px 7px,transparent 8px 42px,#2b201c44 43px 44px,transparent 45px)}
#santa-tape-scene .st-name-cell:after{content:"";position:absolute;right:0;top:0;bottom:0;width:1px;background:#d0b08655;transform:rotate(7deg)}
#santa-tape-scene .st-name-cell b{font-weight:400;display:block;min-width:81px;padding:7px 4px 5px;background:#eee0b9;box-shadow:0 1px 2px #352b1b55;transform:rotate(-1deg)}
#santa-tape-scene .st-name-cell:nth-child(even) b{transform:rotate(1deg)}
#santa-tape-scene .st-selection{position:absolute;z-index:5;left:50%;width:103px;height:8px;border-left:2px solid #eed295;border-right:2px solid #eed295;transform:translateX(-50%);pointer-events:none}
#santa-tape-scene .st-selection-top{top:0;border-top:2px solid #eed295}
#santa-tape-scene .st-selection-bottom{bottom:0;border-bottom:2px solid #eed295}
#santa-tape-scene .st-jack{position:absolute;left:25px;bottom:7px;width:39px;height:39px;border-radius:50%;background:radial-gradient(circle,#15251c 0 28%,#999d77 29% 33%,#293c2d 34% 46%,#b5b391 47% 63%,#535c42 64% 72%,#929672 73%);box-shadow:0 2px 3px #15231c,inset 0 1px 2px #e2dbb3;transition:box-shadow .15s}
#santa-tape-scene .st-jack-hole{position:absolute;inset:36%;border-radius:50%;background:#101d16}
#santa-tape-scene .st-jack.is-near .st-jack-hole{background:#f0cd79;box-shadow:0 0 8px 2px #ffd581}
#santa-tape-scene .st-jack-label{position:absolute;bottom:19px;left:75px;font:400 11px/1 "Courier New",monospace;letter-spacing:1px;color:#dfd5b5}
#santa-tape-scene .st-led{position:absolute;right:19px;bottom:28px;width:8px;height:8px;border-radius:50%;background:#202e23;box-shadow:inset 0 1px 2px #0d1a12}
#santa-tape-scene .st-stage[data-connected="true"] .st-led{background:#cddc93;box-shadow:0 0 8px #b2d28a}
#santa-tape-scene .st-vu{position:absolute;bottom:26px;right:40px;display:flex;align-items:end;gap:3px;height:15px}
#santa-tape-scene .st-vu span{display:block;width:4px;height:3px;background:#cbb983;opacity:.4;transition:height .08s}
#santa-tape-scene .st-deck-foot{position:absolute;bottom:-8px;width:42px;height:9px;border-radius:0 0 4px 4px;background:#21342a;z-index:-1}
#santa-tape-scene .st-deck-foot-left{left:24px}#santa-tape-scene .st-deck-foot-right{right:24px}
#santa-tape-scene .st-santa{position:relative;align-self:start;z-index:2;width:100%;margin-top:0}
#santa-tape-scene .st-santa-figure{position:relative;width:116%;margin-left:-8%}
#santa-tape-scene .st-santa-image{display:block;width:100%;height:auto;pointer-events:none;filter:drop-shadow(0 8px 4px #48331d13)}
#santa-tape-scene .st-hand-slip{position:absolute;left:51.5%;top:54.8%;transform:translate(-50%,-50%) rotate(-6deg);width:43%;height:13.5%;min-height:34px;display:flex;align-items:center;justify-content:center;background:#e9d6a6;box-shadow:1px 3px 3px #38291444;color:#3b3026;font:400 22px/1 "Courier New",monospace;border-top:5px solid #795139;border-bottom:5px solid #795139;clip-path:polygon(1% 0,100% 2%,98% 100%,0 98%)}
#santa-tape-scene .st-plug{position:absolute;left:0;top:0;z-index:6;width:44px;height:118px;border:0;padding:0;background:none;touch-action:none;user-select:none;cursor:grab;transform:translate(var(--plug-x,118px),var(--plug-y,296px));transform-origin:22px 46px;filter:drop-shadow(3px 5px 2px #34291c30)}
#santa-tape-scene .st-plug:active{cursor:grabbing}
#santa-tape-scene .st-plug.is-connected{cursor:grab;transform:translate(var(--plug-x,118px),var(--plug-y,296px)) rotate(-10deg)}
#santa-tape-scene .st-plug.is-connected .st-plug-tip{visibility:hidden}
#santa-tape-scene .st-stage:has(.st-plug.is-connected) .st-jack{background:radial-gradient(circle at 50% 50%,#bdbb9d 0 27%,#999d77 29% 33%,#717b61 34% 46%,#b5b391 47% 63%,#535c42 64% 72%,#929672 73%)}
#santa-tape-scene .st-stage:has(.st-plug.is-connected) .st-jack-hole{visibility:hidden}
#santa-tape-scene .st-plug-tip{position:absolute;left:17px;top:0;width:10px;height:44px;border-radius:7px 7px 1px 1px;background:linear-gradient(90deg,#8a8876,#e0dcc3 28%,#f6efd2 48%,#a7a38f 72%,#6d7462);box-shadow:0 1px 1px #15251a}
#santa-tape-scene .st-plug-tip span{position:absolute;left:0;right:0;height:3px;background:#253c2e}
#santa-tape-scene .st-plug-tip span:first-child{top:18px}#santa-tape-scene .st-plug-tip span:last-child{top:32px}
#santa-tape-scene .st-plug-collar{position:absolute;left:12px;top:41px;width:20px;height:11px;border-radius:3px;background:linear-gradient(90deg,#777b68,#c2c1a7 38%,#999e83 75%,#54624a);box-shadow:0 -1px 0 #e0dec6}
#santa-tape-scene .st-plug-grip{position:absolute;left:9px;top:51px;width:26px;height:50px;border-radius:5px 5px 8px 8px;background:repeating-linear-gradient(0deg,transparent 0 3px,#182d2544 3px 4px),linear-gradient(90deg,#2f493a,#5f7359 38%,#3e5843 76%,#22392c);box-shadow:inset 1px 0 1px #859278}
#santa-tape-scene .st-plug-grip:after{content:"";position:absolute;top:7px;left:0;right:0;height:6px;background:#c49250}
#santa-tape-scene .st-plug-tail{position:absolute;left:16px;top:99px;width:12px;height:17px;border-radius:0 0 3px 3px;background:repeating-linear-gradient(0deg,#293d2e 0 3px,#1a2d21 3px 5px)}
#santa-tape-scene .st-flying-slip{position:absolute;z-index:8;left:0;top:0;width:102px;height:51px;display:flex;align-items:center;justify-content:center;background:#e9d6a6;border-top:6px solid #795139;border-bottom:6px solid #795139;box-shadow:1px 5px 4px #38291444;color:#3b3026;font:400 23px/1 "Courier New",monospace;pointer-events:none;will-change:transform}
#santa-tape-scene .st-bottom{position:relative;z-index:4;text-align:center}
#santa-tape-scene .st-instruction{display:grid;place-items:center;min-height:2.8em;margin:0 0 20px;text-align:center;text-wrap:balance;overflow-wrap:anywhere;color:var(--st-ink);font:400 20px/1.4 "Courier New",Courier,monospace;letter-spacing:-.35px}
#santa-tape-scene .st-line{max-width:520px;margin:8px auto 0;color:#525b42;font:400 17px/1.5 Arial,Helvetica,sans-serif}
#santa-tape-scene .st-actions{display:flex;flex-wrap:wrap;gap:10px 22px;justify-content:center;align-items:center}
#santa-tape-scene .st-actions:has(> button:not([hidden])){margin-top:14px;min-height:34px}
#santa-tape-scene .st-actions button{display:flex;align-items:center;gap:7px;border:0;border-bottom:1px solid #a6ac8b;padding:4px 0;background:transparent;color:#3d503d;font:400 15px/1.4 Arial,Helvetica,sans-serif}
#santa-tape-scene .st-actions button:disabled{opacity:.6}
#santa-tape-scene .st-actions svg{width:17px;height:17px}
#santa-tape-scene .st-sound-on,#santa-tape-scene .st-sound-off{display:inline-flex}
#santa-tape-scene .st-sr{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
#santa-tape-scene .st-plug:focus-visible:after{content:"Enter — podłącz";position:absolute;left:42px;top:62px;white-space:nowrap;background:#f4ead5;color:#243b2d;font:400 14px/1.3 Arial;padding:6px 8px;border-radius:3px}
#santa-tape-scene .st-plug.is-connected:focus-visible:after{content:"Enter — odłącz"}
#santa-tape-scene .st-reel-control:focus-visible:after{content:"Strzałki — przewiń";position:absolute;left:50%;top:100%;white-space:nowrap;transform:translateX(-50%);z-index:10;background:#f4ead5;color:#243b2d;font:400 14px/1.3 Arial;padding:6px 8px;border-radius:3px}
@media(min-width:850px){#santa-tape-scene .st-page{padding-left:45px;padding-right:45px}#santa-tape-scene .st-stage{max-width:850px;margin:auto;min-height:485px}#santa-tape-scene .st-deck{height:335px}#santa-tape-scene .st-reels{top:54px;height:148px}#santa-tape-scene .st-tape-area{top:215px}#santa-tape-scene .st-guides{top:211px}}
@media(max-width:580px){#santa-tape-scene .st-page{padding:26px 16px 18px}#santa-tape-scene .st-header{margin-bottom:10px}#santa-tape-scene h2{font-size:29px}#santa-tape-scene .st-stage{grid-template-columns:1fr;gap:0;min-height:0;padding:6px 0 4px}#santa-tape-scene .st-deck-column{max-width:385px;justify-self:center}#santa-tape-scene .st-deck{height:302px}#santa-tape-scene .st-santa{width:240px;max-width:77%;justify-self:end;margin-top:18px;margin-right:-5px}#santa-tape-scene .st-santa-figure{width:110%;margin-left:-5%}#santa-tape-scene .st-hand-slip{font-size:22px}#santa-tape-scene .st-actions button{min-height:38px}#santa-tape-scene .st-instruction{font-size:19px}}
@media(max-width:360px){#santa-tape-scene .st-page{padding-left:12px;padding-right:12px}#santa-tape-scene h2{font-size:26px}#santa-tape-scene .st-deck{height:283px}#santa-tape-scene .st-reels{top:45px;height:107px;left:13px;right:13px}#santa-tape-scene .st-tape-area{top:163px}#santa-tape-scene .st-guides{top:162px}#santa-tape-scene .st-jack-label{left:71px}#santa-tape-scene .st-vu{right:34px;gap:2px}#santa-tape-scene .st-led{right:14px}#santa-tape-scene .st-santa{margin-top:20px}}
@media(prefers-reduced-motion:reduce){#santa-tape-scene *{transition:none!important}}
html,body{margin:0;min-height:100%;background:#f4ead5}
body{padding:0;box-sizing:border-box;background-image:linear-gradient(105deg,rgba(255,250,237,.80),rgba(255,250,237,.65)),url("./assets/paper.webp");background-size:auto,650px}
#santa-tape-scene .st-page{min-height:100vh;background:transparent;box-shadow:none;border-radius:0}
#santa-tape-scene .st-header{max-width:1040px;margin-inline:auto}
#santa-tape-scene .qa-controls{position:relative;z-index:4;display:grid;grid-template-columns:minmax(0,1fr);gap:10px 14px;align-items:end;max-width:850px;margin:0 auto 8px;padding:14px 16px;background:#fbf6e9c9;border:1px solid #74664433;border-radius:12px;color:#283d32;font:400 14px/1.45 Arial,Helvetica,sans-serif}
#santa-tape-scene .qa-controls label{display:grid;gap:5px;font-weight:700}
#santa-tape-scene .qa-controls select,#santa-tape-scene .qa-import input[type=file]{width:100%;min-width:0;min-height:40px;padding:7px 10px;border:1px solid #72735b66;border-radius:7px;background:#fffaf0;color:#283d32;font:inherit}
#santa-tape-scene .qa-controls button{min-height:40px;padding:8px 16px;border:1px solid #71694599;border-radius:999px;background:#f4ead5;color:#283d32;font:700 14px/1.3 Arial,Helvetica,sans-serif;cursor:pointer}
#santa-tape-scene .qa-controls button:disabled{opacity:.52;cursor:not-allowed}
#santa-tape-scene .qa-controls button:focus-visible,#santa-tape-scene .qa-controls select:focus-visible,#santa-tape-scene .qa-controls input:focus-visible,#santa-tape-scene .st-actions button:focus-visible,#santa-tape-scene .st-plug:focus-visible,#santa-tape-scene .st-reel-control:focus-visible,#santa-tape-scene .st-tape-window:focus-visible{outline:3px solid #b17832;outline-offset:3px}
#santa-tape-scene .qa-import{grid-column:1/-1;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:7px 10px;align-items:end}
#santa-tape-scene .qa-import label{grid-column:1/-1}
#santa-tape-scene #qa-roster-status,#santa-tape-scene #qa-import-status{grid-column:1/-1;margin:0;color:#495043;overflow-wrap:anywhere}
#santa-tape-scene #qa-import-settings{grid-column:1/-1}
#santa-tape-scene #qa-import-settings summary{width:fit-content;cursor:pointer}
#santa-tape-scene #qa-import-settings[open] .qa-import{margin-block:8px}
#santa-tape-scene .qa-giver-picker{position:relative;min-width:0}
#santa-tape-scene .qa-giver-caption{display:block;margin-bottom:6px;font-weight:700}
#santa-tape-scene .qa-controls .qa-giver-trigger{display:flex;align-items:center;justify-content:space-between;gap:18px;width:100%;min-height:46px;padding:10px 14px 10px 16px;text-align:left;border:1px solid #9a9a80;border-radius:8px;background:#fffaf0;font-weight:500}
#santa-tape-scene .qa-giver-trigger:hover:not(:disabled){border-color:#4b6853;background:#fffdf6}
#santa-tape-scene #qa-giver-label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#santa-tape-scene .qa-chevron{width:20px;height:20px;flex:none;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;transition:transform .16s ease}
#santa-tape-scene .qa-giver-trigger[aria-expanded="true"] .qa-chevron{transform:rotate(180deg)}
#santa-tape-scene .qa-giver-menu{position:absolute;z-index:20;top:calc(100% + 6px);left:0;right:0;max-height:min(280px,45vh);overflow-y:auto;padding:6px;border:1px solid #a8a38a;border-radius:10px;background:#fffaf0;box-shadow:0 12px 28px #302b1c24;overscroll-behavior:contain}
#santa-tape-scene .qa-controls .qa-giver-option{display:block;width:100%;min-height:42px;padding:10px 12px;border:0;border-radius:6px;background:transparent;text-align:left;font-weight:500;overflow-wrap:anywhere}
#santa-tape-scene .qa-controls .qa-giver-option:hover,#santa-tape-scene .qa-controls .qa-giver-option:focus-visible{background:#e8eee2;outline:0}
#santa-tape-scene .qa-controls .qa-giver-option[aria-selected="true"]{background:#dce8d8;color:#213d2c;font-weight:700}
#santa-tape-scene #qa-ip-notice{grid-column:1/-1;margin:0;color:#526352;font-size:13px;line-height:1.4}
#santa-tape-scene .qa-controls:has(> #qa-personal-info:not([hidden])){
  display:block;max-width:850px;padding:0;border:0;border-radius:0;background:transparent
}
#santa-tape-scene #qa-personal-info{
  display:grid;grid-template-columns:minmax(0,1fr) clamp(36px,12%,94px);
  column-gap:clamp(12px,3vw,28px);row-gap:4px;align-content:center;
  min-width:0;padding:14px clamp(16px,3vw,26px);border-radius:10px;
  color:#fff2cd;background:linear-gradient(112deg,#40594a,#253c30 78%,#314738);
  box-shadow:0 3px 6px #24312322;font-family:"Courier New",monospace
}
#santa-tape-scene #qa-personal-info::after{
  content:"";grid-area:1/2/3/3;align-self:center;height:32px;
  background:radial-gradient(circle at 2px 2px,#15271e 1.3px,transparent 1.8px) 0 0/5px 5px,
    radial-gradient(circle at 2px 3px,#68765b 1.4px,transparent 1.9px) 0 0/5px 5px
}
#santa-tape-scene .qa-radio-label{grid-column:1;color:#e6cf9a;font:700 10px/1.3 Arial,Helvetica,sans-serif;letter-spacing:.15em;text-transform:uppercase}
#santa-tape-scene .qa-radio-name{grid-column:1;overflow-wrap:anywhere;font-size:clamp(19px,2.4vw,25px);line-height:1.2}
#santa-tape-scene #qa-personal-info.is-error{grid-template-columns:1fr;color:#fff0d0;background:#5a3d32}
#santa-tape-scene #qa-personal-info.is-error::after{display:none}
#santa-tape-scene .qa-fm{
  grid-column:1/-1;display:grid;margin-top:5px;color:#efdcad
}
#santa-tape-scene .qa-fm-readout{justify-self:end;font:700 15px/1.2 "Courier New",monospace;white-space:nowrap}
#santa-tape-scene .qa-fm-scale{
  position:relative;height:34px;margin:12px 1ch 4px;
  background:repeating-linear-gradient(90deg,#d3bd89 0 1px,transparent 1px 2.5%) left bottom / 100% 6px no-repeat;
  border-bottom:1px solid #ad9b70
}
#santa-tape-scene .qa-fm-marks span{position:absolute;top:0;transform:translateX(-50%);font:12px/1.2 "Courier New",monospace}
#santa-tape-scene .qa-fm-marks span::after{content:"";position:absolute;top:17px;left:50%;height:15px;width:1px;background:#d3bd89}
#santa-tape-scene .qa-fm-marks span:nth-child(1){left:0}
#santa-tape-scene .qa-fm-marks span:nth-child(2){left:20%}
#santa-tape-scene .qa-fm-marks span:nth-child(3){left:40%}
#santa-tape-scene .qa-fm-marks span:nth-child(4){left:60%}
#santa-tape-scene .qa-fm-marks span:nth-child(5){left:80%}
#santa-tape-scene .qa-fm-marks span:nth-child(6){left:100%}
#qa-fm-dial{
  position:absolute;bottom:-8px;left:-8px;width:calc(100% + 16px);height:44px;
  appearance:none;background:transparent;margin:0;padding:0;border:0;cursor:ew-resize;touch-action:pan-y
}
#qa-fm-dial::-webkit-slider-thumb{
  appearance:none;width:16px;height:28px;border:0;
  background:linear-gradient(90deg,transparent 6px,#ff9877 6px 10px,transparent 10px);
  clip-path:polygon(0 0,100% 0,100% 85%,50% 100%,0 85%)
}
#qa-fm-dial::-moz-range-thumb{
  width:16px;height:28px;border:0;border-radius:0;
  background:linear-gradient(90deg,transparent 6px,#ff9877 6px 10px,transparent 10px)
}
#qa-fm-dial::-moz-range-track{background:transparent}
#santa-tape-scene .qa-fm-presets{position:absolute;inset:0}
#santa-tape-scene .qa-fm-presets button{
  position:absolute;left:var(--fm-mark);bottom:0;transform:translateX(-50%);width:12px;height:18px;min-height:0;
  border:0;border-radius:0;padding:0;background:transparent;color:#e1ac80
}
#santa-tape-scene .qa-fm-presets button::after{
  content:"";position:absolute;bottom:0;left:50%;transform:translateX(-50%);
  width:2px;height:12px;background:currentColor
}
#santa-tape-scene .qa-fm-presets button[aria-pressed="true"]{color:#ffa084}
#santa-tape-scene .qa-fm-controls{display:flex;align-items:center;justify-content:space-between}
#santa-tape-scene .qa-controls .qa-fm-power{
  display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:44px;min-width:70px;
  padding:0 12px;border:1px solid #222e25;border-radius:6px;
  background:linear-gradient(#ebdbb5,#c7b187 80%,#a78e65);color:#333a2d;
  box-shadow:inset 0 1px 0 #fff0ca,0 3px 0 #17291f,0 4px 5px #15221b88;
  font:700 13px/1 "Courier New",monospace;letter-spacing:.08em
}
#santa-tape-scene .qa-fm-power svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}
#santa-tape-scene .qa-fm-power::after{content:"";width:6px;height:6px;border-radius:50%;background:#66654f}
#santa-tape-scene .qa-fm-power[aria-pressed="true"]{transform:translateY(2px);background:#c6b48f;box-shadow:inset 0 2px 3px #463d2b66,0 1px 0 #18281e}
#santa-tape-scene .qa-fm-power[aria-pressed="true"]::after{background:#e1ffc1;box-shadow:0 0 5px #b1ea79}
#santa-tape-scene[data-guide="plug"] .st-plug{
  filter:drop-shadow(0 0 2px #fff3bc) drop-shadow(0 0 6px #da941f);
}
@media(min-width:850px){
  #santa-tape-scene .st-reel{flex-basis:42%}
}
#santa-tape-scene .st-deck-controls{position:absolute;z-index:7;right:14px;top:8px;display:flex;gap:7px}
#santa-tape-scene .st-icon-button{display:grid;place-items:center;width:38px;height:38px;padding:8px;border:1px solid #766b4c55;border-radius:50%;background:#f8efd9;color:#304b3c;box-shadow:0 2px 7px #23311e28;cursor:pointer}
#santa-tape-scene .st-icon-button:hover:not(:disabled){background:#fffaf0;color:#1b392a}
#santa-tape-scene .st-icon-button:disabled{opacity:.55;cursor:default}
#santa-tape-scene .st-icon-button:focus-visible{outline:3px solid #b17832;outline-offset:3px}
#santa-tape-scene .st-icon-button svg{display:block;width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
#santa-tape-scene .st-replay{position:absolute;z-index:7;right:1%;bottom:12%}
#santa-tape-scene .st-icon-button.st-replay{border:0;border-radius:0;background:transparent;box-shadow:none}
#santa-tape-scene .st-icon-button.st-replay:hover:not(:disabled){background:transparent;color:#9a5736}
#santa-tape-scene .qa-sound-off{display:none}
#santa-tape-scene .st-mute[aria-pressed="true"] .qa-sound-on{display:none}
#santa-tape-scene .st-mute[aria-pressed="true"] .qa-sound-off{display:block}
#santa-tape-scene .st-mute[aria-pressed="true"]{background:#ded5bf;color:#80503e}
#santa-tape-scene .is-error,#santa-tape-scene .qa-controls .is-error{color:#9b352a}
#santa-tape-scene .st-actions button:not(:disabled){cursor:pointer}
#santa-tape-scene .st-name-cell{flex-basis:160px;width:160px;font-size:17px;line-height:1.15;overflow-wrap:anywhere;white-space:normal;text-align:center}
#santa-tape-scene .st-name-cell b{min-width:0;max-width:100%;padding:5px 8px;font-size:var(--st-name-size,1em);overflow-wrap:anywhere}
#santa-tape-scene .st-hand-slip{width:min(82%,340px);height:auto;min-height:34px;max-height:none;padding:6px 9px;text-align:center;font-size:var(--st-ticket-size,22px);line-height:1.15;overflow-wrap:anywhere;white-space:normal}
#santa-tape-scene .st-flying-slip{min-width:160px;max-width:min(320px,88%);height:auto;min-height:51px;padding:6px 9px;text-align:center;line-height:1.15;overflow-wrap:anywhere;white-space:normal}
#santa-tape-scene .st-actions{flex-wrap:wrap}
#santa-tape-scene .st-stage[data-connected="false"] .st-reels{filter:saturate(.72) brightness(.9)}
#santa-tape-scene .st-stage[data-connected="false"] .st-tape-area{filter:saturate(.65) brightness(.88)}
#santa-tape-scene[data-guide="identity"] .qa-controls .qa-giver-trigger:not(:disabled){border-color:#b58e45;box-shadow:0 0 0 3px #dfbc6d77,0 0 18px #d9a94855;animation:st-guide-field 2s ease-in-out infinite}
@keyframes st-guide-field{50%{box-shadow:0 0 0 5px #dfbc6d99,0 0 24px #d9a94888}}
#santa-tape-scene[data-guide="reel"] .st-reel-control::before{content:"";position:absolute;inset:-3px;border:2px solid #f3d592;border-radius:50%;box-shadow:0 0 13px 4px #e6bb69a6;pointer-events:none;animation:st-guide-reel 1.8s ease-in-out infinite}
@keyframes st-guide-reel{50%{opacity:.55}}
@media(max-width:580px){
  #santa-tape-scene .qa-controls{grid-template-columns:1fr;padding:12px}
  .qa-import{grid-template-columns:1fr}.qa-import>*{grid-column:1}
  #santa-tape-scene #qa-giver-label{white-space:normal;overflow-wrap:anywhere}
  #santa-tape-scene .st-tape-window,#santa-tape-scene .st-name-cell{container-type:inline-size}
  #santa-tape-scene .st-tape-window::before,#santa-tape-scene .st-tape-window::after{width:6px}
  #santa-tape-scene .st-name-cell{flex-basis:calc(100cqi / 3);width:calc(100cqi / 3);font-size:15px;line-height:1}
  #santa-tape-scene .st-name-cell b{max-width:calc(100% - 12px);padding:3px 4px;font-size:clamp(9px,calc((100cqi - 20px) * var(--st-name-fit,1)),1em);display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}
  #santa-tape-scene .st-selection{width:calc(100% / 3)}
  #santa-tape-scene .st-hand-slip{font-size:min(var(--st-ticket-size,22px),15px);min-height:0;padding:3px 5px}
}
@media(max-width:360px){
  #santa-tape-scene .st-name-cell{font-size:14px}
  #santa-tape-scene .st-hand-slip{font-size:min(var(--st-ticket-size,22px),13px)}
}
@media(prefers-reduced-motion:reduce){#santa-tape-scene .st-flying-slip,#santa-tape-scene[data-guide] .qa-giver-trigger,#santa-tape-scene[data-guide="reel"] .st-reel-control::before{animation:none!important}}

/* Proporcje mechanizmu i wykończenie obudowy */
#santa-tape-scene .st-deck{
  background:linear-gradient(145deg,#586a59 0%,#394e40 48%,#263a30 100%);
  border-color:#74816b;
  border-bottom-color:#20332a;
  box-shadow:inset 0 1px 0 #c1c8a66b,inset 0 -2px 5px #14251d80;
}
#santa-tape-scene .st-deck:before{opacity:.07}
#santa-tape-scene .st-deck-label{color:#e9d9ad;font-weight:700;letter-spacing:.15em}
#santa-tape-scene .st-reel{max-width:130px;background:radial-gradient(circle,#6d5035 0 60%,#382f24 61% 68%,#bab99e 69% 72%,#414c3c 73% 74%,#c9c5a7 75%)}
#santa-tape-scene .st-spool{
  background:repeating-radial-gradient(circle,transparent 0 2px,#5c625312 2.5px 3px),
    conic-gradient(from 24deg,#9ba48b,#e2dfc6 55deg,#adb39d 108deg,#929b83 165deg,#d4d4b9 234deg,#a6b099 290deg,#9ba48b);
}
#santa-tape-scene .st-reel-handle{box-shadow:0 2px 4px #14271caa,inset 0 1px 1px #fff2c499}
#santa-tape-scene .st-icon-button{width:44px;height:44px;padding:11px}
@media(min-width:850px){
  #santa-tape-scene .st-reel{max-width:148px}
}
@media(max-width:580px){
  #santa-tape-scene .st-deck{height:315px}
  #santa-tape-scene .st-reels{top:50px;height:130px}
  #santa-tape-scene .st-tape-area{top:194px}
  #santa-tape-scene .st-guides{top:190px}
  #santa-tape-scene .st-deck-controls{right:12px;top:6px}
}
@media(max-width:360px){
  #santa-tape-scene .st-deck{height:295px}
  #santa-tape-scene .st-reels{top:45px;height:115px}
  #santa-tape-scene .st-reel{max-width:115px}
  #santa-tape-scene .st-tape-area{top:175px}
  #santa-tape-scene .st-guides{top:171px}
}
