*{box-sizing:border-box}body{margin:0;background:#080e16;color:#e8e8e5;font-family:Arial,'Noto Sans KR',sans-serif;font-size:16px}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;cursor:pointer}button:focus-visible,a:focus-visible{outline:2px solid #dbbe83;outline-offset:5px}header{min-height:100px;border-bottom:1px solid #ffffff19;display:flex;align-items:center;justify-content:space-between;padding:14px 4%;gap:20px;background:#0d141e}.brand{display:flex;align-items:center;gap:14px;text-decoration:none;color:#e6ded0;font-family:Georgia,serif;font-size:30px;letter-spacing:5px}.brand img{width:49px;height:65px;object-fit:contain;background:#fff;border-radius:4px}.brand small{display:block;font:10px Arial;letter-spacing:4px;margin-top:7px;color:#939aa6}nav{display:flex;gap:7px}nav button{padding:15px 22px;border:1px solid transparent;background:none;color:#9ca7b7;border-radius:5px}nav button[aria-pressed=true]{color:#eee6d6;border-color:#ada28a65;background:#b8a78613}.demo{font-size:12px;letter-spacing:1px;border:1px solid #baa47455;color:#d5c198;padding:9px 12px;border-radius:3px}main{max-width:1600px;margin:auto;padding:28px 3% 20px;display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:24px}.studio{border:1px solid #8f9aad33;border-radius:8px;overflow:hidden;background:#0b131e}.studio-top{display:flex;justify-content:space-between;align-items:center;padding:25px 30px;border-bottom:1px solid #ffffff0d;gap:12px}.eyebrow{font-size:11px;letter-spacing:2.6px;color:#b8aa8f;margin:0 0 9px}h1{font-weight:400;font-size:23px;margin:0;font-family:Georgia,serif}#sound{background:transparent;border:1px solid #ffffff23;border-radius:4px;color:#aeb5bf;padding:10px;font-size:12px;white-space:nowrap}.stage{position:relative;width:100%;aspect-ratio:1.5;max-height:620px;overflow:hidden;background:#060d17}.machine{width:100%;height:100%;object-fit:fill;display:block}canvas{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}.stage-label{position:absolute;left:5%;top:10%;max-width:30%}.stage-label>span{font-size:12px;letter-spacing:4px;color:#b9aa8b}.stage-label h2{font-size:clamp(20px,2.2vw,32px);font-weight:400;margin:12px 0 20px;font-family:Georgia,serif}.stage-label p{font-size:9px;line-height:1.8;letter-spacing:2px;color:#747f90}.stage-status{position:absolute;right:4%;top:10%;text-align:right}.pill{font-size:12px;color:#e8d5ad;border:1px solid #b6a68166;padding:7px 12px;border-radius:30px}.stage-status p{font-size:9px;letter-spacing:2px;color:#858e9a;margin-top:20px}.playbar{padding:22px 28px;display:flex;align-items:center;justify-content:space-between;gap:15px;border-top:1px solid #ffffff13;background:#111a25}.playbar p{font-size:13px;color:#9fa9b5;margin:0}.primary{border:1px solid #e4d5b6;background:linear-gradient(135deg,#eee7d9,#b9aa90);color:#161a20;border-radius:4px;padding:16px 24px;font-weight:bold;white-space:nowrap;box-shadow:0 5px 25px #b8a58413}.primary:disabled{opacity:.55;cursor:wait}aside{display:flex;flex-direction:column;gap:18px}.result-panel,.history-panel{padding:25px;border:1px solid #8f9aad33;border-radius:8px;background:linear-gradient(135deg,#172130,#0e1622)}.panel-heading{display:flex;align-items:center;justify-content:space-between;gap:8px}.panel-heading>span:last-child{font-size:12px;color:#8d98a7}h2{font-size:23px;font-weight:500;margin:24px 0 8px}.muted{color:#8996a7;font-size:13px}.result-panel .muted{line-height:1.7}#results{display:flex;gap:9px;flex-wrap:wrap;margin:27px 0 22px;min-height:112px;align-content:flex-start}.ball{width:48px;height:48px;flex-shrink:0;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;font-weight:bold;font-size:20px;color:#1c2635;background:radial-gradient(circle at 33% 22%,#fff,#d6dce4 45%,#8191a3);box-shadow:inset -3px -4px 7px #0005,0 5px 9px #0005;border:1px solid #ffffff58}.ball.placeholder{background:#0c1420;color:#435064;border:1px solid #58657945;box-shadow:inset 0 2px 10px #0004;font-size:16px}.ball.special{background:radial-gradient(circle at 33% 22%,#fff2ba,#dab349 45%,#80602b)}.ball.red{background:radial-gradient(circle at 33% 22%,#ffb3b3,#d62d42 45%,#731529);color:white}.ball.blue{background:radial-gradient(circle at 33% 22%,#aacbff,#326bcb 45%,#153566);color:white}.ball.reveal{animation:arrive .6s cubic-bezier(.16,1,.3,1)}@keyframes arrive{from{transform:translateY(-25px) scale(1.4);opacity:0}to{transform:none;opacity:1}}.status-line{font-size:13px;color:#b8c4d3;min-height:42px;line-height:1.7}.divider{height:1px;background:#ffffff15;margin:17px 0}.info-row{display:flex;justify-content:space-between;font-size:13px;margin:15px 0;color:#929dab}.info-row strong{color:#d5c19a;font-weight:400}.note{font-size:12px;line-height:1.8;color:#748296;margin:22px 0 0}.history-panel h3{font-size:15px;font-weight:400;margin:0}.empty{font-size:13px;line-height:1.8;color:#718197;margin:22px 0}.record{border-top:1px solid #ffffff10;padding:15px 0 3px;margin-top:15px}.record p{font-size:12px;color:#96a5b8;margin:0 0 12px}.record .ball{width:29px;height:29px;font-size:12px;margin-right:4px}.signature{text-align:center;padding:14px;font-family:Georgia,serif;color:#6d7682;font-size:20px;letter-spacing:5px}.signature span{display:block;font:8px Arial;letter-spacing:2px;margin-top:10px}footer{border-top:1px solid #ffffff10;padding:20px 4%;display:flex;justify-content:space-between;color:#627084;font-size:11px;gap:12px}#hero-ball{display:none;position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);z-index:3}#hero-ball .ball{width:95px;height:95px;font-size:40px;box-shadow:0 0 60px #afcaff55,inset -7px -8px 14px #0005}#hero-ball.show{display:block;animation:hero .65s ease-out}@keyframes hero{from{opacity:0;transform:translate(-50%,-100%) scale(.3)}to{opacity:1;transform:translate(-50%,-50%) scale(1)}}@media(min-width:1600px){main{padding-top:38px}.stage{max-height:none}}@media(max-width:1000px){main{grid-template-columns:minmax(0,1fr) 290px;gap:15px;padding:20px 2%}.result-panel,.history-panel{padding:20px}nav button{padding:12px}header{padding:14px 2%}.demo{display:none}.studio-top{padding:20px}h1{font-size:18px}.playbar{padding:20px;flex-wrap:wrap}.primary{width:100%}}@media(max-width:740px){header{flex-wrap:wrap;justify-content:center;padding:13px 16px;gap:14px}.brand{font-size:24px;margin-right:auto}.brand img{width:32px;height:43px}.brand small{font-size:8px}nav{width:100%;justify-content:space-between}nav button{flex:1;font-size:13px;padding:12px 8px}main{display:flex;flex-direction:column;padding:16px 12px;gap:16px}.studio-top{padding:18px 15px}h1{font-size:17px}.eyebrow{font-size:9px;letter-spacing:2px}.stage-label{left:4%;top:8%}.stage-label h2{font-size:18px;margin:9px 0}.stage-label p{display:none}.stage-label>span{font-size:9px;letter-spacing:2px}.stage-status{top:8%}.pill{font-size:10px;padding:5px 8px}.stage-status p{font-size:8px}.playbar{padding:17px}.playbar p{font-size:12px}.primary{padding:14px}aside{display:grid;grid-template-columns:1fr}.result-panel{padding:22px}#results{min-height:48px;gap:7px;flex-wrap:nowrap}.ball{width:40px;height:40px;font-size:18px}#hero-ball .ball{width:62px;height:62px;font-size:28px}.signature{display:none}footer{font-size:10px;flex-wrap:wrap}.result-panel h2{margin-top:17px}.status-line{min-height:0}.note{margin-top:15px}}

/* Paired chambers share the same Jeonsian machine asset. */
.draw-heading{padding:20px 28px;display:flex;justify-content:space-between;align-items:center;background:#0b121d}.draw-heading>div:last-child{text-align:right}.draw-heading h2{margin:7px 0 0;font-family:Georgia,serif;font-size:24px}.draw-heading #country-label{color:#b8aa8f;font-size:11px;letter-spacing:3px}.draw-heading #progress{font-size:10px;letter-spacing:2px;color:#8996a7;margin:14px 0 0}.stage{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);aspect-ratio:auto;max-height:none;gap:1px;background:#78889933}.drum{min-width:0;background:#080f18;position:relative;border-bottom:2px solid transparent;transition:border-color .3s}.drum.active{border-color:#d9c591}.drum-title{height:60px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;background:#101925;position:relative;z-index:2}.drum-title span{font-size:9px;letter-spacing:2px;color:#8290a2}.drum-title strong{font-size:15px;font-weight:400;color:#d5dce5}.drum.active .drum-title strong{color:#ead5a6}.drum-view{position:relative;overflow:hidden;aspect-ratio:.9}.drum-view .machine,.drum-view canvas{position:absolute;left:-33.3333%;top:0;width:166.6667%;height:100%;max-width:none}.stage #hero-ball{top:35%;left:25%}.stage #hero-ball.special-chamber{left:75%}.drum.waiting .drum-title strong{color:#8895a6}@media(max-width:740px){.draw-heading{padding:17px}.draw-heading h2{font-size:19px}.drum-title{height:54px}.drum-title strong{font-size:13px}.drum-title span{font-size:8px;letter-spacing:1px}.stage #hero-ball{top:40%}.studio-top h1{font-size:16px}}

.ball.gold{background:radial-gradient(circle at 33% 22%,#fff2ba,#dab349 45%,#80602b);color:#172236}.ball.green{background:radial-gradient(circle at 33% 22%,#c1ffe0,#27956a 45%,#083c2c);color:#fff}.ball.black{background:radial-gradient(circle at 33% 22%,#9098a4,#242b36 45%,#020408);color:#fff;border-color:#788493}.ball.white{background:radial-gradient(circle at 33% 22%,#fff,#e3e7ed 45%,#9aa7b8);color:#172236}

/* Video-reference mechanism: full feed rack, glass vessel, outlet, physical tray. */
.drum-view{aspect-ratio:3/4;background:radial-gradient(ellipse at 50% 38%,#1a2b40,#060d17 68%)}
.drum-view canvas{left:0;top:0;width:100%;height:100%}
.stage{background:#1b2838;gap:1px}.drum-title{background:#101925}
@media(max-width:740px){.playbar p{line-height:1.7}.drum-title strong{font-size:12px}}

/* All displayed balls enlarged 10%; layout dimensions grow with them. */
#results .ball{width:52.8px;height:52.8px;font-size:22px}
.record .ball{width:31.9px;height:31.9px;font-size:13.2px}
@media(max-width:740px){#results{gap:5px;flex-wrap:wrap}#results .ball{width:44px;height:44px;font-size:19.8px}}

/* One continuous black-and-gold architectural studio, shared by both machines. */
body{background:#080909;color:#eee7d9}header{background:linear-gradient(110deg,#111315,#080b0f);border-bottom-color:#c4a66a50}
.brand{color:#eadfc9}.brand img{border:1px solid #ba9b6040}.studio{background:#0c0d0f;border-color:#b99a5a45}
.studio-top,.draw-heading{background:linear-gradient(110deg,#151617,#0c1015)}.eyebrow,#country-label{color:#ccb381}
main{max-width:1800px;grid-template-columns:minmax(0,1fr) 310px;gap:20px;padding:24px 2%}
.luxury-stage{display:block;position:relative;aspect-ratio:3/2;background:#080909;overflow:hidden}
.studio-art{display:block;width:100%;height:100%;object-fit:contain}
.luxury-stage canvas{position:absolute;inset:0;width:100%;height:100%}
.luxury-stage .drum{position:absolute;top:87%;left:8%;width:30%;background:transparent;border:0;text-align:center;pointer-events:none}
.luxury-stage #special-drum{left:62%}.luxury-stage .drum span{display:block;font-size:9px;letter-spacing:3px;color:#baa882}
.luxury-stage .drum strong{display:block;font-size:14px;letter-spacing:1px;color:#d3c7b3;margin-top:6px;font-weight:400}
.luxury-stage .drum.active strong{color:#ffdf9c;text-shadow:0 0 16px #f3b34477}.receiver-label{position:absolute;left:40%;width:20%;top:87%;font-size:8px;letter-spacing:2px;color:#b49c75;text-align:center}
.playbar{background:#111315;border-top-color:#b99a5a40}.result-panel,.history-panel{background:linear-gradient(135deg,#1b1b1b,#101317);border-color:#b99a5a40}
.studio-links{background:#101214}.primary{background:linear-gradient(135deg,#eadcc0,#ae9160);border-color:#cdb88d}
@media(max-width:1100px){main{grid-template-columns:minmax(0,1fr)}aside{display:grid;grid-template-columns:1fr 1fr}.signature{display:none}#results{min-height:55px}}
@media(max-width:740px){main{padding:12px 8px}.luxury-stage .drum span{font-size:6px;letter-spacing:1px}.luxury-stage .drum strong{font-size:10px;margin-top:3px}.receiver-label{font-size:5px;letter-spacing:.8px}aside{display:flex}.studio-top{padding:15px}.draw-heading{padding:15px}.studio-top h1{font-size:15px}}
