.sorobanWrapper{width:100%;position:relative}.configurationWrapper{z-index:999;background:rgba(0,0,0,.5);justify-content:center;align-items:flex-start;padding-top:80px;display:flex;position:fixed;top:0;bottom:0;left:0;right:0}.configuration{color:#fff;text-align:left;background:rgba(20,20,20,.95);border:1px solid rgba(255,255,255,.1);border-radius:12px;max-width:90vw;max-height:80vh;padding:1.5rem;overflow-y:auto;box-shadow:0 8px 32px rgba(0,0,0,.5)}.configuration>h1{text-align:center;color:#fff;margin-bottom:1rem;font-size:1.25rem;font-weight:600}.configuration .choice{cursor:pointer;border:2px solid transparent;border-radius:4px;padding:4px;line-height:0;transition:border-color .2s;display:inline-block}.configuration .choice:hover{border-color:rgba(0,153,238,.5)}.configuration .choice.selected{border-color:#09e}.configuration>table{width:100%}.configuration>table>tbody>tr>th,.configuration>table>tbody>tr>td{vertical-align:middle;padding:.5rem}.configuration>table>tbody>tr>th{white-space:nowrap;color:rgba(255,255,255,.8);font-size:.875rem;font-weight:500}.configuration>table>tbody>tr>td{text-align:left}.configuration select{color:#fff;cursor:pointer;background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.2);border-radius:6px;min-width:120px;padding:.5rem .75rem;font-size:.875rem}.configuration select:hover{background:rgba(255,255,255,.15)}.configuration select:focus{border-color:#09e;outline:none}.configuration input[type=checkbox]{cursor:pointer;accent-color:#09e;width:18px;height:18px}.configuration label{cursor:pointer;color:rgba(255,255,255,.7);align-items:center;gap:.5rem;font-size:.875rem;display:flex}.configuration button{color:#fff;cursor:pointer;background:linear-gradient(135deg,#3b82f6,#2563eb);border:none;border-radius:8px;width:100%;margin-top:.5rem;padding:.75rem 1.5rem;font-size:.875rem;font-weight:500;transition:all .2s}.configuration button:hover{background:linear-gradient(135deg,#2563eb,#1d4ed8);transform:translateY(-1px)}.controls{z-index:10;gap:.5rem;padding:.75rem;display:flex;position:absolute;top:.75rem}.leftControls{left:.75rem}.rightControls{right:.75rem}.controls button{-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);color:#fff;cursor:pointer;background:rgba(0,0,0,.6);border:none;border-radius:8px;justify-content:center;align-items:center;width:44px;height:44px;padding:0;font-size:20px;transition:all .2s;display:flex;box-shadow:0 2px 8px rgba(0,0,0,.3)}.controls button:hover{background:rgba(0,0,0,.8);transform:scale(1.05)}.controls button:active{transform:scale(.95)}.sorobanWrapper:-webkit-full-screen{background:#1a1a1a}.sorobanWrapper:fullscreen{background:#1a1a1a}.sorobanWrapper:-webkit-full-screen .contentWrapper{height:100vh;max-height:none}.sorobanWrapper:fullscreen .contentWrapper{height:100vh;max-height:none}.contentWrapper{text-align:center;background:#3c3225 url(../media/soroban.2dc4ac8b.jpg) 50%/cover;justify-content:center;align-items:center;width:100%;height:70vh;min-height:500px;max-height:800px;display:flex;position:relative;overflow:hidden}.content{text-align:center;flex-direction:column;justify-content:center;align-items:center;display:flex}.digits{justify-content:center;margin-bottom:.75rem;font-family:Arima Madurai,monospace;display:flex}.digits>.digit{text-shadow:-1px -1px rgba(0,0,0,.5),1px 1px rgba(255,255,255,.15),0 2px 4px rgba(0,0,0,.3);text-align:center;color:#f5f5f5;font-weight:500;display:inline-block}.frame{background:#161616;border:12px solid #1a1a1a;border-radius:10px;line-height:0;display:inline-block;position:relative;overflow:hidden;box-shadow:0 4px 20px rgba(0,0,0,.6),inset 0 0 20px rgba(0,0,0,.3)}.background,.foreground{pointer-events:none}.foreground{position:absolute;top:0;left:0}@media (max-width:768px){.contentWrapper{height:60vh;min-height:400px}.configuration{margin:1rem;padding:1rem}.configuration>h1{font-size:1.1rem}.controls button{width:40px;height:40px;font-size:18px}.frame{border-width:8px}}@media (max-width:480px){.contentWrapper{height:55vh;min-height:350px}.configuration{padding:.75rem}.configuration>table>tbody>tr>th{font-size:.75rem}.controls{padding:.5rem}.controls button{width:36px;height:36px;font-size:16px}}.valueDisplay{-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);color:#fff;z-index:10;text-align:center;background:rgba(0,0,0,.75);border-radius:12px;min-width:120px;padding:.5rem 1rem;position:absolute;bottom:1rem;left:50%;transform:translate(-50%);box-shadow:0 4px 12px rgba(0,0,0,.3)}.valueDisplayHeader{justify-content:space-between;align-items:center;margin-bottom:.25rem;display:flex}.valueDisplayLabel{color:rgba(255,255,255,.6);text-transform:uppercase;letter-spacing:.5px;font-size:.75rem}.valueDisplayClose{color:rgba(255,255,255,.5);cursor:pointer;background:0 0;border:none;justify-content:center;align-items:center;padding:0;transition:color .2s;display:flex}.valueDisplayClose:hover{color:#fff}.valueDisplayNumber{letter-spacing:1px;font-family:Arima Madurai,monospace;font-size:1.75rem;font-weight:600}.valueDisplayToggle{-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);color:#fff;cursor:pointer;z-index:10;background:rgba(0,0,0,.6);border:none;border-radius:8px;justify-content:center;align-items:center;width:40px;height:40px;transition:all .2s;display:flex;position:absolute;bottom:1rem;left:50%;transform:translate(-50%);box-shadow:0 2px 8px rgba(0,0,0,.3)}.valueDisplayToggle:hover{background:rgba(0,0,0,.8);transform:translate(-50%)scale(1.05)}.guideOverlay{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);z-index:1000;background:rgba(0,0,0,.8);justify-content:center;align-items:center;padding:1rem;display:flex;position:fixed;top:0;bottom:0;left:0;right:0}.guideContent{color:#fff;background:linear-gradient(135deg,#1a1a1a 0%,#2d2d2d 100%);border:1px solid rgba(255,255,255,.1);border-radius:16px;width:100%;max-width:500px;max-height:90vh;padding:2rem;position:relative;overflow-y:auto;box-shadow:0 20px 60px rgba(0,0,0,.5)}.guideClose{color:rgba(255,255,255,.5);cursor:pointer;background:0 0;border:none;border-radius:8px;justify-content:center;align-items:center;padding:.5rem;transition:color .2s;display:flex;position:absolute;top:1rem;right:1rem}.guideClose:hover{color:#fff;background:rgba(255,255,255,.1)}.guideContent h2{text-align:center;color:#fff;margin-bottom:1.5rem;font-size:1.5rem;font-weight:600}.guideSection{margin-bottom:1.5rem}.guideSection h3{color:#3b82f6;margin-bottom:.5rem;font-size:1rem;font-weight:600}.guideSection p{color:rgba(255,255,255,.8);margin-bottom:.5rem;font-size:.9rem;line-height:1.5}.guideSection ul{margin:0;padding:0;list-style:none}.guideSection li{color:rgba(255,255,255,.8);padding:.35rem 0 .35rem 1.25rem;font-size:.9rem;position:relative}.guideSection li:before{content:"•";color:#3b82f6;position:absolute;left:0}.guideSection li strong{color:#fff}.guideButton{color:#fff;cursor:pointer;background:linear-gradient(135deg,#3b82f6,#2563eb);border:none;border-radius:10px;width:100%;margin-top:1rem;padding:.875rem 1.5rem;font-size:1rem;font-weight:500;transition:all .2s}.guideButton:hover{background:linear-gradient(135deg,#2563eb,#1d4ed8);transform:translateY(-2px);box-shadow:0 4px 12px rgba(59,130,246,.4)}@media (max-width:480px){.guideContent{padding:1.5rem}.guideContent h2{font-size:1.25rem}.valueDisplay{min-width:100px;padding:.4rem .75rem}.valueDisplayNumber{font-size:1.5rem}}
