body{margin:0;font-family:Verdana,sans-serif,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}code{font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace}.watermark{position:fixed;top:0;left:0;width:100%;height:100%;pointer-events:none;z-index:9999;overflow:hidden;background:repeating-linear-gradient(#0000001a,#0000001a 1px,#0000000d 1px,#0000000d 100px)}.watermark-text{position:absolute;top:44%;left:35%;transform:translate(-50%,-50%) rotate(-32deg);font-size:3.5rem;color:#fff;opacity:.2;font-weight:700;text-transform:uppercase;-webkit-user-select:none;user-select:none;pointer-events:none;line-height:120px}.menu-container{position:relative;z-index:10;margin:0;padding:0}.hamburger-menu{display:flex;flex-direction:column;justify-content:space-around;width:40px;height:40px;cursor:pointer;position:fixed;top:20px;left:10px;z-index:10}.hamburger-menu .bar{height:4px;background-color:#333;border-radius:2px;margin:4px 0}.menu-item{padding:5px 0;text-align:left}.menu-link{color:var(--color-fg);text-decoration:none;font-size:16px;display:block;padding:5px 10px;width:100%;text-align:left;box-sizing:border-box;border:none;background:none}.menu-link:hover{background-color:#555;border-radius:4px}.menu{position:fixed;top:50px;left:0;background-color:var(--menu-bg, #333);opacity:var(--menuOpacity, .85);color:var(--color-fg);padding:10px;min-width:150px;box-shadow:0 4px 8px #0003;border-top-right-radius:10px;border-bottom-right-radius:10px;transform:translate(-100%);transition:transform .3s cubic-bezier(.4,0,.2,1);z-index:100}.menu.open{transform:translate(0)}.menu-list{list-style:none;padding:0;margin:0}.menu-item{padding:5px 0;text-align:left;color:var(--color-fg)}.menu-item.menu-parent{font-weight:700;cursor:default;color:var(--submenu-heading-fg);padding:5px 10px}.menu-item.submenu-item{padding-left:20px}.menu-item.submenu-item .menu-link{text-decoration:none}.menu-item.submenu-item .menu-link:hover{background-color:#555;border-radius:4px}.menu-item .menu-link{text-decoration:none;font-size:16px;display:block;padding:5px 10px;width:100%;text-align:left;box-sizing:border-box}.menu-item .menu-link:hover{background-color:#555;border-radius:4px}.hamburger-menu{display:block}.profile-container{margin:0;padding:0}.profile-Menu svg{width:30px;height:30px;stroke:gray;color:gray;cursor:pointer;z-index:15}.profile-menu{display:flex;justify-content:center;align-items:center;cursor:pointer;position:fixed;top:16px;right:16px;width:40px;height:40px}.profile-menu img{width:45px!important;height:45px!important;border-radius:50%;object-fit:cover;background:#181b20;display:block;margin:0;padding:0}.profMenu{position:fixed;right:0;top:50px;background-color:var(--menu-bg, #333);color:var(--color-fg);padding:0 10px 10px;border-top-left-radius:10px;border-bottom-left-radius:10px;box-shadow:0 4px 8px #0003;transform:translate(100%);transition:transform .3s cubic-bezier(.4,0,.2,1);overflow:visible;display:block;z-index:100;opacity:var(--menuOpacity, .85)}.profMenu.open{transform:translate(0)}.settings-modal{background:var(--card-bg);border-radius:16px;box-shadow:0 8px 32px #0000002e,0 1.5px 8px #0000001a;padding:32px 28px 24px;min-width:250px;max-width:min(90vw,500px);min-height:0;position:relative;display:flex;flex-direction:column;gap:.5em;border:3px solid var(--border);z-index:1210}.feedback-modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#00000080;z-index:2000;display:flex;align-items:center;justify-content:center}.feedback-modal{background:var(--color-card, #23293a);color:var(--color-fg, #e6e6e6);border-radius:var(--border-radius, 12px);box-shadow:0 4px 24px var(--color-shadow, #0008);padding:32px 24px 24px;min-width:340px;max-width:95vw;width:420px;position:relative;display:flex;flex-direction:column;gap:16px}.feedback-modal h2{margin:0 0 8px;font-size:1.5em;text-align:center}.feedback-note{background:var(--color-bg, #1a1e29);color:var(--color-fg, #bfc9d9);border-radius:8px;padding:12px 16px;font-size:1em;margin-bottom:8px;text-align:center}.feedback-form label{font-weight:600;margin-top:8px;margin-bottom:4px;display:block}.feedback-type-select{width:100%;padding:6px 8px;border-radius:var(--border-radius, 8px);border:1.5px solid var(--color-border, #4f8cff);background:var(--color-bg, #23293a);color:var(--color-fg, #e6e6e6);margin-bottom:12px}.feedback-editor{min-height:120px;border:1.5px solid var(--color-border, #4f8cff);border-radius:var(--border-radius, 8px);background:var(--color-bg, #23293a);color:var(--color-fg, #e6e6e6);padding:8px;margin-bottom:12px}.feedback-editor button{background:none;border:none;color:var(--color-fg, #e6e6e6);font-size:1.1em;margin-right:8px;cursor:pointer;border-radius:4px;padding:2px 6px;transition:background .15s}.feedback-editor button.is-active{background:var(--color-border, #4f8cff);color:#fff}.feedback-editor .bubble-menu{display:flex;gap:4px;margin-bottom:4px}.feedback-actions{display:flex;gap:12px;justify-content:flex-end;margin-top:8px}.feedback-result{margin-top:10px;text-align:center;color:var(--color-success, #4f8cff)}.pageContainer{max-width:800px;padding:20px;border-radius:8px;box-shadow:0 4px 10px #0000001a}.form{display:flex;flex-direction:column}.saveButton{padding:10px 20px;border:none;border-radius:4px;background-color:#4caf50;color:#fff;font-size:16px;cursor:pointer;transition:background-color .2s ease-in-out}.saveButton:hover{background-color:#45a049}.groupSection{margin-top:30px;margin-bottom:20px}.groupListWithIcons,.playerSelection,.gameListWithIcons{display:flex;align-items:flex-start;gap:10px}.groupList,.playerList,.itemList{list-style-type:none;padding:0;margin:0;flex-grow:1;overflow-y:auto;max-height:40vh}.listMgtIcons{display:flex;flex-direction:column;gap:10px}.error{color:red;margin-top:10px}@media (max-width: 600px){.groupItem{flex:1 1 100%}}.inputField{padding:10px;margin:10px 0;border:1px solid #ccc;border-radius:4px}.playerSelection{margin-top:20px}.inputField,.form input,.form select,.form textarea{font-size:16px}.form .form-actions{display:flex;flex-direction:row;gap:12px;justify-content:flex-end;margin-top:10px}.form .form-actions button{flex:0 0 auto;min-width:110px;padding:10px 18px;border-radius:4px;font-size:16px}.form button{width:auto;display:inline-block;margin:0}.structured-rules-view{font-size:1rem;border-radius:8px;padding:1.7rem 1.2rem 1.2rem;margin:.5rem 0;box-shadow:0 1px 4px #0001;border:1px solid var(--color-border);position:relative}.rules-floating-label{position:absolute;top:-.6em;left:50%;transform:translate(-50%);background:#000;padding:0 2px;font-size:1.08em;font-weight:700;border-radius:1em;box-shadow:0 1px 4px #0001;z-index:2;pointer-events:none;width:auto;white-space:nowrap;margin:0;text-align:center}.rules-level-0>.rules-field{margin-bottom:1.1em}.rules-label{font-weight:600;margin-bottom:.2em;color:#4f8cff}.rules-value{margin-left:.5em;margin-bottom:.2em}.rules-level-1>.rules-field{margin-bottom:.7em}.rules-field-Points .rules-value .rules-level-3>.rules-field,.rules-field-Bonuses .rules-value .rules-level-3>.rules-field{display:inline-flex;border:2px solid #1976d2;border-radius:8px;overflow:hidden;margin-bottom:.5em;margin-right:.7em}.rules-field-Points .rules-value .rules-level-3>.rules-field>.rules-label,.rules-field-Bonuses .rules-value .rules-level-3>.rules-field>.rules-label{flex:none;padding:.3em .8em;border-right:2px dashed #1976d2;font-weight:600;color:#fff;display:flex;align-items:center;justify-content:flex-start;white-space:nowrap}.rules-field-Points .rules-value .rules-level-3>.rules-field>.rules-value,.rules-field-Bonuses .rules-value .rules-level-3>.rules-field>.rules-value{flex:none;padding:.3em .8em;display:flex;align-items:center;justify-content:flex-end;white-space:nowrap}.rules-field-Points .rules-value .rules-level-3,.rules-field-Bonuses .rules-value .rules-level-3{display:block;border:none;border-radius:0;overflow:visible;margin-bottom:0;white-space:normal}html,body{height:100%;margin:0}.hidden{display:none!important}.greenButton{padding:3px 7px;border:none;border-radius:4px;text-align:center;background-color:var(--button-green-bg, #4caf50);color:var(--button-green-text, black);font-size:16px;cursor:pointer;transition:background-color .2s ease-in-out}.greenButton:hover{background-color:var(--button-green-hover-bg, #45a049)}.resume-game-prompt{max-width:420px;margin:2rem auto 1.5rem;background:var(--modal-bg, #23293a);border-radius:14px;box-shadow:0 4px 32px var(--modal-shadow, rgba(0,0,0,.45));padding:2rem 1.5rem 1.5rem;color:var(--modal-text, #f3f6fa);text-align:center;border:1.5px solid var(--modal-border, #3a4256);font-family:var(--font-family, "Segoe UI", "Roboto", Arial, sans-serif)}.resume-game-prompt .resume-header{font-weight:600;font-size:1.15em;margin-bottom:.5em;color:var(--modal-header, #f8fafc);letter-spacing:.5px}.resume-game-prompt .resume-details{margin-bottom:.7em;font-size:1em;color:var(--modal-details, #bfc9d9)}.resume-game-prompt .resume-gameid{font-family:monospace;font-size:.95em;color:var(--modal-gameid, #4f8cff)}.resume-game-prompt .prompt-buttons{margin-top:1em}.resume-game-prompt .greenButton{min-width:100px;margin-right:8px}.resume-game-prompt .neutralButton{min-width:100px;background:var(--button-neutral-bg, #181b20);color:var(--button-neutral-text, #bfc9d9);border:1px solid var(--button-neutral-border, #3a4256);transition:background .18s,color .18s}.resume-game-prompt .neutralButton:hover{background:var(--button-neutral-hover-bg, #23293a);color:var(--button-neutral-hover-text, #fff)}.action-button-container{position:fixed;bottom:20px;right:20px;display:flex;flex-direction:column;align-items:center;gap:10px;z-index:100}.undo-button{border:1px solid var(--button-border, #222222);border-radius:8px;width:50px;height:50px;display:flex;align-items:center;justify-content:center;background-color:var(--button-bg, black);cursor:pointer;padding:0;box-sizing:border-box}.undo-button:hover{opacity:.7}.button-icon{width:40px;height:40px;stroke:var(--icon-stroke, lightgrey)}.undo-button:hover .button-icon{stroke:var(--icon-stroke-hover, white)}.view-toggle{display:flex;justify-content:center;align-items:center;width:50px;height:50px;border:1px solid var(--button-border, #222222);border-radius:8px;background-color:var(--button-bg, black);cursor:pointer;padding:0;box-sizing:border-box}.toggle-view{width:100%;height:100%;background:none;border:none;display:flex;justify-content:center;align-items:center;cursor:pointer}.view-icon{width:40px;height:40px;fill:var(--icon-fill, lightgrey)}.view-toggle:hover .view-icon{fill:var(--icon-fill-hover, white)}.trash-modal-overlay{position:fixed;top:0;left:0;width:100vw;height:100vh;background:var(--modal-overlay-bg, rgba(30, 30, 30, .55));display:flex;align-items:center;justify-content:center;z-index:2000;animation:fadeIn .2s}.trash-modal-content{padding:2.5em 2em 2em;border-radius:18px;box-shadow:0 6px 32px var(--modal-shadow, rgba(0,0,0,.18));text-align:center;position:relative;font-size:1.1em;background-color:var(--modal-content-bg, #fff);opacity:.72}.trash-modal-content:after{opacity:1}.trash-modal-content p{margin-bottom:1.5em;color:var(--modal-content-text, black)}.trash-modal-content button{margin:0 .5em;padding:.7em 1.5em;border:none;border-radius:6px;font-size:1em;cursor:pointer;background:var(--button-bg, #eee);color:var(--button-text, #222);transition:background .2s,color .2s}.trash-modal-content button:first-of-type{background:var(--button-danger-bg, #e53935);color:var(--button-danger-text, #fff)}.trash-modal-content button:last-of-type{background:var(--button-neutral-bg, #f5f5f5);color:var(--button-neutral-text, #333)}.trash-modal-content button:hover{filter:brightness(.95)}.score-message{text-align:center}.end-prompt-modal{background-color:var(--modal-bg, #23293a);border-radius:14px;box-shadow:0 4px 32px var(--modal-shadow, rgba(0,0,0,.45));padding:2rem 1.5rem;color:var(--modal-text, #f3f6fa);text-align:center;border:1.5px solid var(--modal-border, #3a4256);font-family:var(--font-family, "Segoe UI", "Roboto", Arial, sans-serif)}.round-note{margin-top:18px;margin-bottom:8px;text-align:center;font-size:.95em;color:var(--round-note-text, #666);opacity:.85}.simple-modal-overlay{position:fixed;z-index:2000;left:0;top:0;width:100vw;height:100vh;background:var(--modal-overlay-bg, rgba(0,0,0,.35));display:flex;align-items:center;justify-content:center}.modern-select{padding:10px 12px;border-radius:8px;border:1.5px solid var(--input-border, #bbb);background:var(--input-bg, #23272f);font-size:16px;color:var(--input-text, #fff);outline:none;transition:border .2s,background .2s;margin-top:2px}.modern-select:focus{border:1.5px solid var(--input-focus-border, #1976d2);background:var(--input-focus-bg, #444851);color:var(--input-focus-text, #fff)}.modern-btn{padding:10px 22px;border-radius:8px;border:none;background:var(--button-bg, #e0e4ea);color:var(--button-text, #222);font-size:16px;font-weight:500;cursor:pointer;transition:background .18s,color .18s}.modern-btn.primary{background:var(--button-green-bg, #2ecc40);color:var(--button-green-text, #fff);border:none;box-shadow:0 2px 8px var(--button-green-shadow, rgba(46,204,64,.08))}.modern-btn.primary:disabled{background:var(--button-green-disabled-bg, #7fdc9a);color:var(--button-green-disabled-text, #fff)}.modern-btn.cancel{background:var(--button-danger-bg, #e53935);color:var(--button-danger-text, #fff);border:none;box-shadow:none}.modern-btn.cancel:disabled{background:var(--button-danger-disabled-bg, #f7bdbb);color:var(--button-danger-disabled-text, #fff)}.modern-note{font-size:14px;color:var(--note-text, #fff);background:var(--note-bg, rgba(40,44,52,.72));border-radius:8px;padding:10px 14px;margin-bottom:8px}.rules-modal-overlay{position:fixed;top:0;left:0;width:100vw;height:100vh;background:var(--rules-modal-overlay-bg, rgba(10,10,20,.92));z-index:2000;display:flex;align-items:flex-start;justify-content:center;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}.rules-modal-content{width:80vw;height:100vh;background:var(--rules-modal-bg, linear-gradient(180deg, #181c24 90%, #23283a 100%));color:var(--rules-modal-text, #f2f2f2);border-radius:16px;margin-top:0;overflow-y:auto;position:relative;box-shadow:0 8px 32px var(--rules-modal-shadow, rgba(0,0,0,.55));border:1.5px solid var(--rules-modal-border, #333);border-top:4px solid var(--rules-modal-border-top, #2e8bff);border-bottom:4px solid var(--rules-modal-border-bottom, #2e8bff);display:flex;flex-direction:column;padding-bottom:0}.rules-modal-close{position:absolute;top:18px;right:32px;z-index:10;font-size:32px;background:none;border:none;color:var(--rules-modal-close, #f2f2f2);cursor:pointer;filter:drop-shadow(0 2px 4px #000a)}.rules-modal-body{padding:40px 48px;margin-top:48px;max-height:calc(100vh - 64px);overflow-y:auto;font-size:1.08rem;font-family:inherit;color:var(--rules-modal-body-text, #f2f2f2);scrollbar-color:var(--rules-modal-scrollbar, #2e8bff) var(--rules-modal-scrollbar-bg, #23283a);scrollbar-width:thin}.trash-drop-target{position:fixed;bottom:40px;left:50%;z-index:1000;width:70px;height:70px;display:flex;align-items:center;justify-content:center;border-radius:50%;transition:box-shadow .2s,border .2s,transform .2s;cursor:pointer}.trash-drop-target{box-shadow:0 2px 12px var(--trash-drop-shadow, rgba(0,0,0,.2)),inset 0 0 24px 6px var(--trash-drop-inset, rgba(0,0,0,.1))}.trash-drop-target[aria-dropeffect=move]{box-shadow:0 0 32px 8px var(--trash-drop-move-shadow, rgba(229,57,53,.35)),0 2px 12px var(--trash-drop-shadow, rgba(0,0,0,.2)),inset 0 0 24px 18px var(--trash-drop-move-inset, rgba(229,57,53,.35));transform:translate(-50%) scale(1.15)}.simple-modal-content{min-width:320px;max-width:400px;position:relative;background:var(--modal-bg, #23293a);border-radius:14px;box-shadow:0 4px 32px var(--modal-shadow, rgba(0,0,0,.45));padding:2rem 1.5rem 1.5rem;color:var(--modal-text, #f3f6fa);text-align:center;border:1.5px solid var(--modal-border, #3a4256);font-family:var(--font-family, "Segoe UI", "Roboto", Arial, sans-serif)}.fish-swim-layer{position:fixed;top:0;left:0;width:100vw;height:100vh;pointer-events:none;z-index:0;overflow:visible}.fish-swim{position:absolute;will-change:transform;pointer-events:none;opacity:.92}.fish-swim.right{left:-8vw;animation:fish-swim-right linear infinite}.fish-swim.left{right:-8vw;transform:scaleX(-1);animation:fish-swim-left linear infinite}@keyframes fish-swim-right{0%{left:-8vw}to{left:108vw}}@keyframes fish-swim-left{0%{right:-8vw}to{right:108vw}}.score-tracker-outer-container{height:100vh;display:flex;flex-direction:column}.main-flex-col{display:flex;flex-direction:column;height:100vh;min-height:0}.score-tiles-scrollable{flex:1 1 auto;overflow-y:auto;min-height:0;padding-bottom:90px}.score-footer-bar{position:fixed;left:0;right:0;bottom:0;display:flex;flex-direction:row;align-items:flex-end;justify-content:space-between;z-index:200;background:none;padding:0 18px 8px;min-height:72px;box-shadow:none;pointer-events:none}.footer-left,.footer-right{display:flex;align-items:flex-end;min-width:60px;pointer-events:auto}.footer-center{flex:1 1 auto;display:flex;align-items:flex-end;justify-content:center;min-width:0;pointer-events:auto}.round-note-footer{position:static;left:unset;right:unset;bottom:unset;z-index:unset;display:flex;justify-content:center;align-items:flex-end;background:none;pointer-events:auto;width:100%}.round-note-table{display:flex;flex-direction:row;border-radius:12px;overflow:hidden;border:2.5px solid var(--round-note-table-border, #4f8cff);background:var(--round-note-table-bg, #23293a);box-shadow:0 2px 12px var(--round-note-table-shadow, rgba(0,0,0,.18));min-width:220px;max-width:90vw;margin:18px 0;pointer-events:auto}.round-note-cell{padding:12px 18px;font-size:1.08em;color:var(--round-note-cell-text, #e3eafc);display:flex;align-items:center;background:none}.round-note-label{font-weight:600;border-right:2.5px dashed var(--round-note-label-border, #4f8cff);border-radius:12px 0 0 12px}.round-note-value{font-weight:400;border-radius:0 12px 12px 0;min-width:120px;max-width:60vw;word-break:break-word}.add-temp-player,.view-toggle{width:50px;height:50px;min-width:50px;min-height:50px;max-width:60px;max-height:60px;margin:0}@media (max-width: 600px){.score-footer-bar{flex-direction:row;align-items:flex-end;padding:0 4px 4px;min-height:0}.footer-left,.footer-right,.footer-center{min-width:0;justify-content:center}.footer-center{margin:4px 0}}.modal{background-color:var(--color-card);position:absolute!important;padding:0!important;box-sizing:border-box;border-radius:var(--border-radius);z-index:10}.modal-content{width:100%!important;height:100%!important;min-width:0!important;max-width:100%!important;padding:0!important;margin:0!important;display:flex!important;flex-direction:column;justify-content:center;align-items:center;box-sizing:border-box;border-radius:var(--border-radius);box-shadow:0 4px 10px var(--color-shadow);z-index:1001;position:relative;text-align:center;background:var(--color-card);color:var(--color-fg);overflow:hidden}.modal-content p{margin:0;font-size:18px;color:var(--color-fg);text-align:center;width:100%;box-sizing:border-box}.modal-content input{width:100%;min-width:0;max-width:100%;min-height:30px;text-align:center;color:var(--color-fg);background-color:transparent;margin:0;font-size:18px;border:1.5px solid var(--color-border);border-radius:var(--border-radius);box-sizing:border-box}.modal-content button{width:100%;min-width:0;max-width:100%;margin:0;box-sizing:border-box}.modal-content input::-webkit-outer-spin-button,.modal-content input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.modal-overlay{position:fixed;top:0;left:0;width:100vw;height:100vh;background:#00000080;z-index:1000;animation:fadeIn .3s ease;display:block!important}.modal-content select{margin:10px 0;padding:5px;width:100%;background:var(--color-bg);color:var(--color-fg);border:1.5px solid var(--color-border);border-radius:var(--border-radius);box-sizing:border-box}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}*{box-sizing:border-box}.score-tiles{display:flex;flex-wrap:wrap;gap:10px;width:100%;justify-content:flex-start}.score-message{margin-top:20px;font-size:18px;color:#333}.score-tile{height:100px;display:flex;align-items:center;justify-content:space-between;border-radius:10px;position:relative;box-shadow:0 4px 6px #0000001a;padding:5px;font-family:Arial,sans-serif;color:#000;box-sizing:border-box;gap:10px;transition:background-color .3s ease,opacity .3s ease;opacity:.95}.score-tile button{background:transparent;border:none;font-size:20px;cursor:pointer;margin:0 5px;color:#c0c0c0e6;background-color:#0000001a;font-weight:700;width:40px;height:40px;min-width:30px;min-height:30px;display:flex;align-items:center;justify-content:center;border-radius:50%;transition:background-color .2s ease-in-out;position:absolute;z-index:2;pointer-events:auto}.score-tile button.minus{left:5px}.score-tile button.plus{right:5px}.score-tile button:hover{background-color:#0006}.score-tile input{flex:1;text-align:center;background-color:transparent;color:#000;border:none;border-radius:5px;padding:5px;transition:width .2s ease-in-out;-moz-appearance:textfield;-webkit-appearance:textfield;appearance:textfield;width:auto;max-width:none;min-width:0;position:relative;z-index:1;pointer-events:auto}.score-tile input:focus{outline:none;border-color:#000;box-shadow:0 0 5px #0000004d}.score-tile input::-webkit-outer-spin-button,.score-tile input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.score-tile div{position:absolute;bottom:5px;font-size:14px;color:#000;text-align:center;width:100%}.score-tiles,.score-tile{margin:0;padding:0}.score-tiles.two-column .draggable{width:calc(50% - 10px);box-sizing:border-box;min-width:0}.score-tiles.single-column .draggable,.score-tiles .draggable .score-tile{width:100%}.score-tiles .draggable{min-height:50px;display:flex;align-items:center;justify-content:center}.score-tiles.two-column{display:flex;flex-wrap:wrap;flex-direction:row;gap:5px}.score-tiles.single-column{flex-direction:column;flex-wrap:nowrap}.score-tiles.single-column .draggable .score-tile{width:100%}@media (max-width: 300px){.score-tiles.two-column .draggable .score-tile{width:100%}}.scoreDiff{top:0;margin-top:3px;border-radius:50%;font-size:16px;z-index:0}.trophy-icon{top:-5px;position:absolute;border-radius:50%;padding:5px;font-size:16px;z-index:0}.scoreName label{font-size:.6em}.score-tile.highlight{border:3px dashed lightgrey;box-shadow:0 0 10px #ffa500cc}.draggable.inactive .score-tile{background-color:#d3d3d3!important;opacity:.5}.dragging{opacity:.5;box-shadow:0 4px 8px #0003;z-index:800;scale:.6}.team-section{border:1px solid #ccc;background-color:#383838;width:100%;margin:5px 0 8px;border-radius:5px;text-align:center;padding:0 3px}.editable-team-title-input{font-size:1.5rem;font-weight:700;border:1px solid #ccc;border-radius:4px;padding:4px;width:100%;box-sizing:border-box}.team-title{cursor:pointer;font-size:1.5rem;font-weight:700;color:#d3d3d3;margin:3px 0}@keyframes highlightFade{0%{box-shadow:0 0 15px orange}to{box-shadow:0 0 #ffa50000}}.score-tiles.single-column .score-tile button.plus,.score-tiles.single-column .score-tile button.minus{transform:scale(1.2)}.score-tiles.single-column .score-tile button.plus{right:0}.score-tiles.single-column .score-tile button.minus{left:0}.score-tile.drop-end-zone{min-height:48px;min-width:80px;border:2px dashed #bbb;background:#f8f8f8;display:flex;align-items:center;justify-content:center;margin:4px;border-radius:8px}.button-group{display:flex;flex-wrap:nowrap;gap:6px;justify-content:center;margin-left:auto;margin-right:auto;max-width:calc(100vw - 110px);margin-top:2px}.actionButton,.endButton{flex:0 1 auto}.actionButton,.endButton,.EndButtons button{padding:6px 12px;font-size:15px;font-weight:500;text-transform:uppercase;color:#fff;border:none;border-radius:8px;cursor:pointer;transition:all .3s ease;outline:none}@media (max-width: 350px){.button-group{flex-wrap:wrap}.actionButton,.endButton{flex:1 1 45%}}.actionButton:hover,.endButton:hover,.EndButtons button:hover{opacity:.85;transform:scale(1.1)}.actionButton:focus,.endButton:focus{border:2px solid #008c00;box-shadow:0 0 5px #008c0080}.endButton{background-color:#e53935}.actionButton:nth-child(3n+1){background-color:#1e88e5}.actionButton:nth-child(3n+2){background-color:#ffa000}.actionButton:nth-child(3n+3){background-color:#9c27b0}.actionButton{width:60px;height:60px;display:flex;align-items:center;justify-content:center;position:relative;overflow:hidden;text-align:center}.actionButton span{transform:rotate(-45deg);display:inline-block;font-size:12px;font-weight:700;text-transform:uppercase;white-space:nowrap;color:#fff}.endButton{width:60px;height:60px;display:flex;align-items:center;justify-content:center;position:relative;overflow:hidden;text-align:center;background-color:#e53935;border:none;border-radius:8px;cursor:pointer;transition:all .3s ease}.endButton span{transform:rotate(-45deg);display:inline-block;font-size:12px;font-weight:700;text-transform:uppercase;white-space:nowrap;color:#fff}.endButton:hover{opacity:.85;transform:scale(1.1)}.EndGameContainer{position:relative;display:inline-block}.EndGameContainer:has(.EndButtons:hover) .endButton{background-color:#a9a9a9}.EndButtons{position:absolute;top:100%;left:50%;transform:translate(-50%);display:flex;flex-direction:column;gap:1px;padding:1px;box-shadow:0 4px 6px #0000001a;z-index:10;border-radius:5px;visibility:hidden;opacity:0;transition:opacity .3s ease}.EndGameContainer:hover .EndButtons{visibility:visible;opacity:1}.EndButtons button{width:60px;height:40px;padding:6px 12px;font-size:14px;font-weight:500;text-transform:none;color:#fff;background-color:#e53935;border:none;border-radius:4px;cursor:pointer;transition:all .3s ease}.EndButtons button:hover{background-color:#616161}.startgamemodal-summary-list{max-width:98%;min-width:250px;width:400px;list-style:none;padding:0;margin:16px 0;border:1.5px solid var(--color-accent);border-radius:var(--border-radius);background:var(--color-card);overflow:hidden}.startgamemodal-summary-row{display:flex;flex-direction:column;border-bottom:none;position:relative;padding:0}.startgamemodal-summary-content{display:flex;flex-direction:row;align-items:center;justify-content:space-between;padding:12px 16px 4px;background:var(--color-card);color:var(--color-fg);font-size:16px;font-weight:500}.startgamemodal-summary-game{display:flex;flex-direction:row;align-items:center;gap:10px}.startgamemodal-summary-title{font-weight:700;color:var(--color-accent);font-size:1.08em;margin-right:8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.startgamemodal-summary-players{font-size:15px;color:var(--color-link);white-space:normal;overflow:visible;text-overflow:initial;word-break:break-word;margin-top:2px;margin-bottom:2px}.startgamemodal-summary-date-row{display:flex;flex-direction:row;align-items:center;justify-content:space-between;padding:0 16px 12px;background:var(--color-card);color:var(--color-muted);font-size:14px}.startgamemodal-summary-date{color:var(--color-muted);font-size:14px}.startgamemodal-summary-resume{margin-left:12px}.startgamemodal-summary-winner{color:var(--color-success);font-weight:600;margin-left:8px;font-size:15px}.startgamemodal-summary-trophy{font-size:1.1em;margin-right:2px}.games-modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#1e202652;z-index:1000;display:flex;align-items:center;justify-content:center;transition:background .2s}.games-modal-content{background:var(--color-card);border-radius:16px;box-shadow:0 8px 32px var(--color-shadow),0 1.5px 8px var(--color-shadow);padding:32px 28px 24px;min-width:250px;max-width:min(80vw,350px);min-height:0;position:relative;display:flex;flex-direction:column;gap:.5em}.modern-form-group{margin-bottom:18px;display:flex;flex-direction:column;gap:4px}.modern-select{padding:10px 12px;border-radius:var(--border-radius);border:1.5px solid var(--color-border);background:var(--color-bg);font-size:16px;color:var(--color-fg);outline:none;transition:border .2s,background .2s;margin-top:2px}.modern-select:focus{border:1.5px solid var(--color-accent);background:var(--color-card);color:var(--color-fg)}.modern-btn{padding:10px 22px;border-radius:var(--border-radius);border:none;background:var(--color-muted);color:var(--color-fg);font-size:16px;font-weight:500;cursor:pointer;transition:background .18s,color .18s}.modern-btn.primary{background:var(--color-accent);color:#fff;border:none;box-shadow:0 2px 8px #2ecc4014}.modern-btn.primary:disabled{background:#7fdc9a;color:#fff}.modern-btn.cancel{background:var(--color-danger);color:#fff;border:none;box-shadow:none}.modern-btn.cancel:disabled{background:#f7bdbb;color:#fff}.modern-form-actions{display:flex;flex-direction:row;gap:8px;margin-top:18px}.modern-note{font-size:14px;color:var(--color-fg);background:#282c34b8;border-radius:var(--border-radius);padding:10px 14px;margin-bottom:8px}.add-temp-player{position:static!important;left:unset!important;bottom:unset!important;right:unset!important;top:unset!important;margin:0!important;z-index:100;border:1px solid #222222;border-radius:8px;width:50px;height:50px;display:flex;align-items:center;justify-content:center;background-color:#000;cursor:pointer;padding:0;box-sizing:border-box}.add-temp-button{background-color:#000;color:#d3d3d3;border:0px;cursor:pointer}.quickAddIcon{width:30px;height:30px}.add-player-modal{display:flex;flex-direction:column;align-items:center;position:fixed;left:50%;transform:translate(-50%);height:auto;max-height:calc(100% - 72px);overflow-y:auto;z-index:1000;border:1px solid grey;background-color:#111;border-radius:8px;opacity:.92;top:72px;padding:10px}.add-player-form{align-items:center;text-align:center;padding:5px;margin:auto;border:1px solid grey;background-color:#111;border-radius:8px}.form-group{margin-bottom:10px}.add-player-form div{padding-top:5px}.error-message{color:red;border:1px solid red;border-radius:6px}.add-player-tabs{display:flex;width:100%;margin-bottom:16px;margin-top:8px;justify-content:center}.add-player-tabs button{flex:1;padding:12px 0;border:none;background:#e0e7ef;color:#222;font-size:1.1em;font-weight:500;cursor:pointer;transition:background .2s,color .2s;border-radius:0;outline:none}.add-player-tabs button.active{background:#1976d2;color:#fff}.add-player-modal{min-width:320px;max-width:400px;width:100%}.add-player-form{width:100%}.add-player-form input,.add-player-form select{width:90%;padding:10px 12px;margin-top:4px;margin-bottom:8px;border:1.5px solid #1976d2;border-radius:6px;background:#181c24;color:#e3eafc;font-size:1em;transition:border-color .2s,box-shadow .2s;outline:none;box-sizing:border-box}.add-player-form input:focus,.add-player-form select:focus{border-color:#42a5f5;box-shadow:0 0 0 2px #1976d255;background:#23293a}.add-player-form label{display:block;text-align:left;color:#b0b8c9;font-size:.98em;margin-bottom:2px;margin-left:5%;font-weight:500;letter-spacing:.01em}.view-games-modal{display:flex;justify-content:center;align-items:center;position:fixed;top:72px;left:0;width:100%;height:calc(100% - 72px);overflow-y:auto;z-index:1000}.historyHeader{margin:0}.historyClose{margin:3px}.history-content{padding:10px;border-radius:8px;max-width:max-content;margin:auto;overflow-y:auto;display:flex;flex-direction:column;align-items:center;gap:0px;width:100%;justify-content:center}.draggable-content{position:relative;transition:transform .2s ease;background-color:transparent;cursor:grab;will-change:transform;display:flex;flex:1;align-items:center;justify-content:space-between;overflow:hidden}.draggable-content.hm_dragging{cursor:grabbing;opacity:.6}.delete-cell{position:relative;padding:0!important;width:0;border:none!important;overflow:visible;display:table-cell}.delete-button{position:absolute;right:0;top:0;height:100%;width:60px;background-color:#ff4d4d;display:flex;align-items:center;justify-content:center;transform:translate(100%);opacity:0;transition:transform .2s ease,opacity .2s ease;z-index:1}.draggable-content{position:relative;overflow:hidden}.draggable-content.hm_DeleteVisible .delete-button{transform:translate(0)}.delete-button button{background:none;border:none;color:var(--color-fg);font-size:14px;cursor:pointer}.delete-button:hover{background-color:#e60000}.modal-list{max-width:98%;min-width:250px;width:400px;list-style:none;padding:0;margin:0;border:1px solid lightgrey;border-radius:8px;overflow:hidden}.list-header{display:flex;justify-content:space-between;background-color:var(--color-tb-header-bg);color:var(--color-tb-header-fg);font-weight:700;text-transform:uppercase;font-size:14px;border-bottom:1px solid lightgrey}.list-header>div,.list-row>.draggable-content{display:flex;flex:1;align-items:center;justify-content:space-between}.list-row{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid lightgrey;position:relative;transition:transform .2s ease;cursor:grab}.list-row:last-child{border-bottom:none}.list-row.hm_dragging{cursor:grabbing;opacity:.9}.game-name-cell,.date-cell{padding:8px;display:flex;justify-content:center;border-right:1px solid lightgrey}.game-name-cell{display:flex;flex-direction:column;align-items:flex-start;flex:2;text-align:left;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;height:100%}.date-cell{flex:1;text-align:center;white-space:wrap;overflow:auto;width:11ch;align-items:center}.date-cell:last-child{border-right:none}.game-title{font-weight:700;white-space:nowrap;overflow:hidden;width:100%;text-overflow:ellipsis}.player-names{font-size:12px;color:gray;white-space:nowrap;overflow:hidden;width:100%;text-overflow:ellipsis}.list-row .hm_DeleteVisible .delete-button{transform:translate(0);opacity:1;pointer-events:auto}body.hm_dragging{-webkit-user-select:none;user-select:none}.rules-box{display:-webkit-box;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis;white-space:normal;margin-bottom:10px;transition:all .3s ease}.games-container{padding:20px;max-width:800px;margin:0 auto;background-color:var(--card-bg);border-radius:8px;box-shadow:0 4px 8px #0000001a}.games-container h2,.games-container h3{text-align:center;color:#777}.add-game-form{margin-top:20px;padding:15px;border:1px solid blue;border-radius:8px}.add-game-form input,.add-game-form textarea{display:block;width:100%;padding:10px;margin-bottom:10px;border:1px solid #ddd;border-radius:4px;font-size:14px}.add-game-form input[type=checkbox]{display:inline-block;width:auto;margin-left:10px}.add-game-form textarea{resize:vertical;height:80px}.add-game-form label{display:flex;align-items:center;font-size:14px;color:#555}.add-game-form input:focus,.add-game-form textarea:focus{border-color:#2196f3;outline:none}.add-game-form button{display:block;width:100%;padding:10px;background-color:#4caf50;color:#fff;border:none;border-radius:4px;font-size:16px;cursor:pointer;transition:background-color .3s ease}.add-game-form button:hover{background-color:#388e3c}.gameListWithIcons{display:flex;justify-content:space-between;align-items:center;margin-top:20px}.point-guide-editor{margin-top:12px;margin-bottom:12px}.point-guide-section{margin-bottom:16px;background:#181818;border-radius:6px;border:1px solid #333;padding:12px 12px 8px}.point-guide-section-header{display:flex;align-items:center;justify-content:space-between;color:#7af;font-weight:600;font-size:16px;margin-bottom:8px}.point-guide-add-btn{background:#1976d2;color:#fff;border:none;border-radius:4px;padding:4px 12px;font-size:13px;font-weight:600;cursor:pointer;margin-left:12px;transition:background .2s}.point-guide-add-btn:hover{background:#1565c0}.point-guide-list{display:flex;flex-direction:column;gap:8px}.point-guide-row{display:flex;align-items:center;background:#222;border-radius:4px;padding:6px 8px;margin-bottom:2px;border:1px solid #444;gap:8px}.point-guide-key{color:#fff;font-weight:500;margin-right:8px;min-width:80px}.point-guide-value{color:#afa;font-weight:500;margin-right:8px;min-width:60px}.point-guide-edit-btn,.point-guide-remove-btn{background:none;border:none;color:#aaa;cursor:pointer;margin-left:4px;font-size:16px;padding:2px 4px;border-radius:3px;transition:background .2s}.point-guide-edit-btn:hover{background:#333;color:#7af}.point-guide-remove-btn:hover{background:#333;color:#f55}.point-guide-view{margin-top:6px;margin-bottom:6px}.point-guide-table-row-wrap{display:flex;flex-wrap:wrap;gap:8px;margin-top:4px}.point-guide-table-row{display:flex;border:2px solid #77aaff;border-radius:6px;overflow:hidden;margin-bottom:2px;background:#181818}.point-guide-table-cell{padding:4px 10px;font-size:14px;color:#fff;display:flex;align-items:center}.point-guide-table-cell.key{border-right:2px dashed #77aaff;font-weight:600;background:#222}.point-guide-table-cell.value{color:#afa;background:#181818}.point-guide-modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#1e202652;z-index:1200;display:flex;align-items:center;justify-content:center;transition:background .2s}.point-guide-modal-content{background:#23272f;border-radius:16px;box-shadow:0 8px 32px #0000002e,0 1.5px 8px #0000001a;padding:32px 28px 24px;min-width:250px;max-width:min(90vw,350px);min-height:0;position:relative;display:flex;flex-direction:column;gap:.5em}.point-guide-modal-fields{display:flex;flex-direction:row;gap:12px;margin-bottom:16px}.point-guide-modal-fields label{display:flex;flex-direction:column;color:#fff;font-size:15px;font-weight:500;gap:4px}.point-guide-modal-fields input[type=text]{padding:8px 10px;border-radius:6px;border:1.5px solid #bbb;background:#181818;color:#fff;font-size:15px;outline:none;margin-top:2px;transition:border .2s,background .2s}.point-guide-modal-fields input[type=text]:focus{border:1.5px solid #1976d2;background:#23272f}.point-guide-modal-error{color:#f55;font-size:14px;margin-bottom:8px;margin-top:-8px}.point-guide-modal-actions{display:flex;flex-direction:row;gap:10px;margin-top:10px;justify-content:flex-end}.point-guide-modal-actions .modal-btn{padding:8px 18px;border-radius:8px;border:none;background:#e0e4ea;color:#222;font-size:15px;font-weight:500;cursor:pointer;transition:background .18s,color .18s}.point-guide-modal-actions .modal-btn.primary{background:#1976d2;color:#fff}.point-guide-modal-actions .modal-btn:hover{background:#b0b8c2}.point-guide-modal-actions .modal-btn.primary:hover{background:#1565c0}.cheat-sheet-modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;width:100vw;height:100vh;background:#00000073;z-index:1200;display:flex;align-items:center;justify-content:center;pointer-events:auto;transition:background .2s}.cheat-sheet-modal{background:var(--color-bg);color:var(--color-fg);border-radius:14px;box-shadow:0 8px 32px var(--color-shadow);padding:32px 24px 20px;min-width:320px;max-width:95vw;max-height:90vh;overflow-y:auto;position:relative;display:flex;flex-direction:column;align-items:center;border:3px solid var(--color-border);z-index:1210}.cheat-sheet-modal-close{position:absolute;top:12px;right:16px;background:none;border:none;font-size:2rem;color:var(--color-muted);cursor:pointer;z-index:1}.cheat-sheet-modal-title{margin-top:0;margin-bottom:18px;font-size:1.5rem;font-weight:600;text-align:center}.cheat-sheet-section-checkboxes{display:flex;flex-wrap:wrap;gap:12px 18px;margin-bottom:18px;justify-content:center}.cheat-sheet-section-checkbox{font-size:1rem;display:flex;align-items:center;gap:6px}.cheat-sheet-preview-images{width:100%!important;flex:1 1 100%!important;display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:18px;justify-items:center;align-items:start}.cheat-sheet-preview-images-grid{width:100%;display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:18px;justify-items:center;align-items:start}@media (max-width: 400px){.cheat-sheet-preview-images,.cheat-sheet-preview-images-grid{grid-template-columns:1fr}}.cheat-sheet-preview-image{padding:0!important;margin:0!important;min-width:0!important;min-height:0!important;display:flex!important;flex-direction:column!important;align-items:center!important;border:none!important;background:none!important;box-shadow:none!important}.cheat-sheet-preview-image-scaled{transform:scale(.8);transform-origin:top center;padding:0;margin:0;width:auto;min-width:0;min-height:0;display:flex;flex-direction:column;align-items:center;background:none!important;border:none!important;box-shadow:none!important}.cheat-sheet-modal-buttons{display:flex;gap:16px;justify-content:center;margin-top:8px}.cheat-sheet-preview-loading{font-size:1.1rem;color:#888;margin:32px 0;text-align:center;height:300px}.cheat-sheet-condensed-html p,.cheat-sheet-condensed-html div,.cheat-sheet-condensed-html ul,.cheat-sheet-condensed-html ol,.cheat-sheet-condensed-html li,.cheat-sheet-condensed-html h1,.cheat-sheet-condensed-html h2,.cheat-sheet-condensed-html h3,.cheat-sheet-condensed-html h4,.cheat-sheet-condensed-html h5,.cheat-sheet-condensed-html h6,.cheat-sheet-condensed-html table,.cheat-sheet-condensed-html tr,.cheat-sheet-condensed-html td,.cheat-sheet-condensed-html th{margin-top:4px!important;margin-bottom:4px!important;padding-top:2px!important;padding-bottom:2px!important}.cheat-sheet-condensed-html ul,.cheat-sheet-condensed-html ol{padding-left:18px!important;margin-left:0!important}.cheat-sheet-condensed-html li{margin-left:0!important;padding-left:0!important}.cheat-sheet-condensed-html h1,.cheat-sheet-condensed-html h2,.cheat-sheet-condensed-html h3,.cheat-sheet-condensed-html h4,.cheat-sheet-condensed-html h5,.cheat-sheet-condensed-html h6{font-size:1.05em!important;font-weight:600;margin-top:6px!important;margin-bottom:4px!important}.cheat-sheet-condensed-html table{border-collapse:collapse;width:100%}.cheat-sheet-condensed-html th,.cheat-sheet-condensed-html td{border:1px solid #bbb;padding:2px 6px!important;font-size:.98em}.cheat-sheet-condensed-html{font-size:1em;line-height:1.25;word-break:break-word;z-index:100}.cheat-sheet-card-img{max-width:336px!important;max-height:210px!important;object-fit:contain;display:block;background:#f9f9f9;border-radius:4px;margin:0 auto;box-shadow:none!important}.cheat-sheet-preview-images .round-note-footer,.cheat-sheet-preview-images .round-note-table,.cheat-sheet-preview-images .round-note-cell,.cheat-sheet-preview-images .round-note-label,.cheat-sheet-preview-images .round-note-value{background:none!important;color:none!important}.exportRound-note{margin-top:8px;margin-bottom:2px;text-align:center;font-size:.95em;color:var(--round-note-text, #666);opacity:.85}.exportRound-note-footer{position:static;left:unset;right:unset;bottom:unset;z-index:unset;display:flex;justify-content:left;align-items:flex-end;background:none;pointer-events:auto;width:100%}.exportRound-note-table{display:flex;flex-direction:row;border-radius:12px;overflow:hidden;background:var(--round-note-table-bg, #23293a);box-shadow:0 2px 12px var(--round-note-table-shadow, rgba(0,0,0,.18));min-width:100px;max-width:95vw;margin:8px 0;pointer-events:auto}.exportRound-note-cell{padding:4px 8px;font-size:8px;min-width:10px;color:var(--round-note-cell-text, #e3eafc);display:flex;align-items:center;background:none}.exportRound-note-label{font-weight:600;border-right:2.5px dashed var(--round-note-label-border, #4f8cff);border-radius:12px 0 0 12px}.exportRound-note-value{border-radius:0 12px 12px 0;min-width:120px;max-width:90vw;word-break:break-word}#cheat-sheet-content{position:relative!important;z-index:20!important}.cheat-sheet-condensed-html,.cheat-sheet-content{position:relative;z-index:20}.listBox{display:flex;flex-direction:column;justify-content:flex-start;padding:10px;border:1px solid #ccc;border-radius:8px;margin-bottom:20px;flex-grow:1;overflow-y:auto}.listItem,.game-list li,.groupItem,.playerItem{padding:8px .8rem;cursor:pointer;border-radius:8px;margin:.5rem 0;display:flex;align-items:center;justify-content:flex-start;box-shadow:0 1px 4px #0001;border:2px solid transparent;width:100%;box-sizing:border-box;max-width:calc(100% - 32px);font-size:1.05rem}.category-header{font-size:1.1rem;font-weight:600;color:#222;padding:6px 12px;border-radius:6px 6px 0 0;margin-bottom:.2rem;letter-spacing:.5px;opacity:.95;-webkit-user-select:none;user-select:none;display:flex;align-items:center;position:relative;cursor:default}.category-header-toggle{display:flex;align-items:center;cursor:pointer;z-index:1000;pointer-events:auto;padding:4px 10px 4px 0;margin-right:10px;border-radius:4px;-webkit-user-select:none;user-select:none;font-weight:700;font-size:1.1em;outline-offset:2px}.category-header-arrow{margin-right:8px;font-size:1.2em;transition:transform .2s;display:inline-block}.category-header-arrow[data-visible=true]{transform:rotate(90deg)}.category-header-arrow[data-visible=false]{transform:rotate(0)}.listBox,.groupList,.playerList,.itemList{scrollbar-width:thin;scrollbar-color:#4caf50 #23272f}.listBox::-webkit-scrollbar,.groupList::-webkit-scrollbar,.playerList::-webkit-scrollbar,.itemList::-webkit-scrollbar{width:10px;background:#23272f;border-radius:8px}.listBox::-webkit-scrollbar-thumb,.groupList::-webkit-scrollbar-thumb,.playerList::-webkit-scrollbar-thumb,.itemList::-webkit-scrollbar-thumb{background:#4caf50;border-radius:8px;border:2px solid #23272f}.listBox::-webkit-scrollbar-thumb:hover,.groupList::-webkit-scrollbar-thumb:hover,.playerList::-webkit-scrollbar-thumb:hover,.itemList::-webkit-scrollbar-thumb:hover{background:#388e3c}.listBox::-webkit-scrollbar-corner,.groupList::-webkit-scrollbar-corner,.playerList::-webkit-scrollbar-corner,.itemList::-webkit-scrollbar-corner{background:#23272f}.selected{border:2px solid #4f8cff;border-radius:7px;margin-right:7px;width:calc(100% - 7px)}@media (max-width: 600px){.listItem,.groupItem{flex:1 1 100%}}.login-container{display:flex;justify-content:center;align-items:center;min-height:100vh;flex-direction:column;text-align:center;padding:0 10px;box-sizing:border-box;overflow-y:auto}.login-form{display:flex;flex-direction:column;padding:20px;border:1px solid grey;border-radius:10px;width:100%;max-width:500px;min-width:300px;box-sizing:border-box;margin-bottom:20px;background-color:#404040b3}.email-waiting-animation{background-color:#404040b3;border:1px solid grey;border-radius:10px;padding:20px;max-width:400px;width:100%;display:inline-block;box-sizing:border-box}.login-form input,.login-form button{padding:10px;margin-bottom:10px;border-radius:5px;border:1px solid #ccc;font-size:16px;width:100%;box-sizing:border-box}.login-form button{background-color:#4caf50;color:#fff;cursor:pointer;font-size:16px}.login-form button:hover{background-color:#45a049}.login-form h2{text-align:center;margin-bottom:20px}.login-logo{width:100%;height:auto;margin-top:20px;align-self:center;max-width:500px}.link-button{background:none;border:none;color:#4f8cff;text-decoration:underline;cursor:pointer;padding:0;font:inherit}.email-waiting-animation video{width:120px!important;height:120px!important;max-width:100%;display:block;margin:0 auto 16px;border-radius:8px;background:#222}.profile-page{max-width:420px;margin:48px auto;background:#23272f;border-radius:18px;box-shadow:0 4px 32px #00000073;padding:36px 32px 32px;color:#f3f6fa;font-family:Segoe UI,Roboto,Arial,sans-serif}.profile-page h1{text-align:center;margin-bottom:32px;font-size:2.2rem;font-weight:600;color:#f8fafc;letter-spacing:1px}.profile-fields-modern{margin-bottom:24px}.profile-row{display:flex;gap:16px}.profile-float-label{position:relative;flex:1}.profile-float-label input[type=text]{width:100%;padding:14px 12px;border:none;border-radius:7px;background:#181b20;color:#f3f6fa;font-size:1rem;margin-bottom:0;box-shadow:0 1px 2px #00000014}.profile-float-label label{position:absolute;left:14px;top:14px;color:#bfc9d9;font-size:1rem;pointer-events:none;background:transparent;transition:all .18s;opacity:.8}.profile-float-label input:focus+label,.profile-float-label input:not(:placeholder-shown)+label,.profile-float-label label.filled{top:-10px;left:8px;font-size:.85rem;color:#4f8cff;background:#23272f;padding:0 4px;opacity:1}.profile-page input[type=text]{width:100%;padding:11px 14px;margin-bottom:22px;border:none;border-radius:7px;background:#181b20;color:#f3f6fa;font-size:1rem;transition:background .2s,box-shadow .2s;box-shadow:0 1px 2px #00000014}.profile-page input:focus{outline:none;background:#23272f;box-shadow:0 0 0 2px #4f8cff}.profile-action-btn{background:#4f8cff;color:#fff;border:none;border-radius:8px;padding:10px 24px;font-size:1.1rem;font-weight:500;cursor:pointer;margin:24px auto;transition:background .2s,color .2s}.profile-action-btn:disabled{opacity:.5;cursor:not-allowed}.profile-action-btn:hover:not(:disabled){background:#2353a2}.avatar-section{background:#23293a;border:1.5px solid #3a4256;border-radius:14px;box-shadow:0 4px 18px #283c7821,0 1.5px #4f8cff inset;padding:18px 14px;margin:18px 0 24px;transition:box-shadow .2s}.avatar-tabs{display:flex;margin-bottom:8px}.avatar-tab-btn{flex:1;padding:8px;color:#fff;border:none;border-bottom:2px solid transparent;background:#181b20;cursor:pointer;font-size:1rem;border-radius:0;width:auto;margin-top:0;box-shadow:none;font-weight:400;transition:background .15s,border-bottom .15s}.avatar-tab-btn.active{background:#4f8cff;border-bottom:2px solid #4f8cff;color:#fff}.avatar-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(48px,1fr));gap:8px;max-height:300px;overflow-y:auto;background:#181b20;padding:8px;border-radius:8px}.avatar-grid-cell{width:48px;height:48px;border:1px solid #333;border-radius:8px;overflow:hidden;cursor:pointer}.custom-avatar-upload{border:2px dashed #4f8cff;border-radius:12px;padding:24px;text-align:center;background:#181b20;cursor:pointer;margin-bottom:18px;transition:background .2s,border .2s;color:#bfc9d9;font-size:16px}.custom-avatar-upload.drag-active{border:2px solid #4f8cff;background:#23293a}.custom-avatar-upload .upload-icon{font-size:32px;display:block;margin-bottom:8px}.custom-avatar-upload .upload-action{color:#4f8cff;text-decoration:underline}.cropContainer{width:100%;max-width:320px;aspect-ratio:1 / 1;margin:0 auto;position:relative;border-radius:18px;overflow:hidden;background:#181b20}.crop-zoom-slider{width:180px;margin-top:12px;text-align:center}.avatar-edit-btn{position:absolute;bottom:30px;right:-45px;background:none;border:none;border-radius:50%;padding:0;margin:0;cursor:pointer;box-shadow:none;display:flex;align-items:center;justify-content:center;transition:background .2s,border-color .2s,color .2s;outline:none;font:inherit;box-sizing:border-box;z-index:10}.avatar-edit-btn svg{width:30px;height:30px;color:#4f8cff;display:block}.avatar-edit-btn:hover svg{color:#fff}.linked-player-section{display:flex;align-items:center;gap:16px;margin-top:20px;background:#23293a;border-radius:10px;padding:14px 18px;box-shadow:0 2px 8px #0002}.linked-player-label{color:#bfc9d9;font-weight:500;margin-right:8px;min-width:120px}.linked-player-pill{display:flex;align-items:center;background:#181b20;border-radius:20px;padding:6px 16px;font-weight:500;color:#fff;gap:8px}.linked-player-pill .linked-player-icon{font-size:18px;color:#4f8cff}.linked-player-pill .linked-player-name{font-size:1em}.linked-player-pill .unlink-btn{background:none;border:none;color:#4f8cff;text-decoration:underline;cursor:pointer;font-size:.95em;margin-left:10px;padding:0;transition:color .2s}.linked-player-pill .unlink-btn:hover{color:#ff4f4f}.linked-player-section .choose-player-btn{background:none;border:none;color:#4f8cff;text-decoration:underline;cursor:pointer;font-size:1em;margin-left:8px;padding:0;transition:color .2s}.linked-player-section .choose-player-btn:hover{color:#2353a2}.modern-select-row{display:flex;justify-content:center;margin:18px 0 10px}.modern-select{padding:10px 18px;border-radius:8px;border:1.5px solid #4f8cff;background:#181b20;color:#f3f6fa;font-size:1.05rem;font-family:inherit;outline:none;transition:border-color .2s,box-shadow .2s;min-width:180px;box-shadow:0 1px 4px #0002}.modern-select:focus{border-color:#2353a2;box-shadow:0 0 0 2px #4f8cff44}.modern-select option{background:#23293a;color:#f3f6fa}.frame-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(72px,1fr));gap:16px}.frame-option{width:72px;height:72px;box-sizing:border-box;display:flex;align-items:center;justify-content:center;border-radius:8px;cursor:pointer}.frame-option svg{width:100%!important;height:100%!important;display:block;pointer-events:none}.avatar-frame{position:absolute;top:50%;left:50%;aspect-ratio:220 / 300;z-index:2;pointer-events:none;display:flex;align-items:center;justify-content:center}.avatar-frame-menu{height:90px!important;transform:translate(-50%,-54%)}.avatar-frame-profile{height:180px!important;transform:translate(-50%,-53%)}.avatar-frame svg{width:100%!important;height:100%!important;display:block;pointer-events:none}.avatar-container{position:relative;width:96px;height:96px;margin:0 auto;z-index:1;display:flex;flex-direction:column;align-items:center}.avatar-img{width:96px;height:96px;border-radius:50%;object-fit:cover;background:#181b20;position:relative;z-index:100}.avatar-placeholder{width:96px;height:96px;border-radius:50%;background:#181b20;display:flex;align-items:center;justify-content:center;color:#888;font-size:32px;position:relative;z-index:1}.profile-username{font-weight:500;font-size:18px;margin-top:32px;margin-bottom:18px;text-align:center}.profile-view-stats{margin-top:4px;text-align:center;font-size:15px}.profile-view-stats a{color:#4f8cff;text-decoration:underline;cursor:pointer}.profile-view-stats a:hover{color:#2353a2}.profile-modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#0006;display:flex;align-items:center;justify-content:center;z-index:2000}.profile-modal-content{background:#23293a;padding:10px;border-radius:12px;box-shadow:0 4px 24px #000a;display:flex;flex-direction:column;align-items:center}.profile-toast{position:fixed;bottom:32px;left:50%;transform:translate(-50%);background:#222;color:#fff;padding:12px 24px;border-radius:8px;box-shadow:0 2px 8px #000a;z-index:9999;font-size:16px;opacity:.95;pointer-events:none}.conflict-modal{background:#23293a;padding:32px;border-radius:12px;box-shadow:0 4px 24px #000a;display:flex;flex-direction:column;align-items:center;z-index:2100;width:90vw;max-width:340px;min-width:220px}.conflict-modal h3{margin-bottom:16px;font-size:1.1rem;font-weight:600;color:#f3f6fa}.conflict-modal table{width:100%;margin-bottom:12px;border-collapse:collapse;background:none;table-layout:fixed}.conflict-modal th,.conflict-modal td{padding:6px 10px;border-bottom:1px solid #333;text-align:left;font-size:.98em;word-break:break-word}.conflict-keep-btn{display:block;width:100%;margin-top:6px;background:#181b20;color:#fff;text-decoration:line-through;opacity:.7;font-weight:500;border:none;border-radius:4px;padding:4px 0;cursor:pointer;transition:background .2s,color .2s}.conflict-keep-btn.selected{background:#4f8cff;color:#fff;text-decoration:none;opacity:1}.conflict-modal-actions{margin-top:16px;display:flex;justify-content:center;gap:12px}.conflict-save-btn{background:#4f8cff;color:#fff;font-weight:600;border:none;border-radius:4px;padding:7px 18px;font-size:15px;cursor:pointer;transition:background .18s}.conflict-save-btn:hover{background:#2353a2}.conflict-cancel-btn{background:#23293a;color:#fff;font-weight:600;border:1.5px solid #3a4256;border-radius:4px;padding:7px 18px;font-size:15px;cursor:pointer;transition:background .18s,color .18s}.conflict-cancel-btn:hover{background:#ff4f4f;color:#fff}.profile-modal-content .chrome-picker{border-radius:16px!important;background:#23293a!important;box-shadow:0 4px 24px #000a!important;color:#f3f6fa!important}.profile-modal-content .chrome-picker input,.profile-modal-content .chrome-picker label,.profile-modal-content .chrome-picker span{color:#f3f6fa!important;background:#181b20!important;border-radius:6px}.profile-modal-content .chrome-picker .flexbox-fix{background:#23293a!important}.profile-modal-content .chrome-picker .saturation{border-radius:12px}.profile-modal-content .chrome-picker .hue-horizontal,.profile-modal-content .chrome-picker .alpha-horizontal{border-radius:8px}.profile-modal-content .accept-btn{margin-top:5px;background:#4f8cff;color:#fff;border:none;border-radius:8px;padding:5px 28px;font-size:1.08rem;font-weight:500;cursor:pointer;box-shadow:0 2px 8px #0003;transition:background .18s,color .18s}.profile-modal-content .accept-btn:hover{background:#2353a2}.qr-code-section{text-align:center;margin-top:28px}.qr-code-section .qr-maximized-bg{position:fixed;top:0;right:0;bottom:0;left:0;background:#181b20f7;z-index:9999;display:flex;align-items:center;justify-content:center}.avatar-frame-pulse:before{content:"";position:absolute;z-index:-1;top:50%;left:50%;transform:translate(-50%,-50%);width:120%;height:120%;border-radius:50%;background:radial-gradient(circle,var(--avatar-pulse-color, #4f8cff88) 0%,var(--avatar-pulse-color2, #4f8cff22) 70%,transparent 100%);opacity:.7;animation:avatar-glow-pulse 1s infinite alternate;pointer-events:none}@keyframes avatar-glow-pulse{0%{opacity:.7;filter:blur(4px)}to{opacity:1;filter:blur(14px)}}.reactEasyCrop_Container{position:absolute;top:0;left:0;right:0;bottom:0;overflow:hidden;-webkit-user-select:none;user-select:none;touch-action:none;cursor:move;display:flex;justify-content:center;align-items:center}.reactEasyCrop_Image,.reactEasyCrop_Video{will-change:transform}.reactEasyCrop_Contain{max-width:100%;max-height:100%;margin:auto;position:absolute;top:0;bottom:0;left:0;right:0}.reactEasyCrop_Cover_Horizontal{width:100%;height:auto}.reactEasyCrop_Cover_Vertical{width:auto;height:100%}.reactEasyCrop_CropArea{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);border:1px solid rgba(255,255,255,.5);box-sizing:border-box;box-shadow:0 0 0 9999em;color:#00000080;overflow:hidden}.reactEasyCrop_CropAreaRound{border-radius:50%}.reactEasyCrop_CropAreaGrid:before{content:" ";box-sizing:border-box;position:absolute;border:1px solid rgba(255,255,255,.5);top:0;bottom:0;left:33.33%;right:33.33%;border-top:0;border-bottom:0}.reactEasyCrop_CropAreaGrid:after{content:" ";box-sizing:border-box;position:absolute;border:1px solid rgba(255,255,255,.5);top:33.33%;bottom:33.33%;left:0;right:0;border-left:0;border-right:0}.export-import-container{padding:40px 20px;max-width:600px;margin:0 auto;text-align:center}input[type=file]{margin-top:10px}.error{color:red;margin-top:10px;font-size:.9rem}.offline-notice{position:absolute;bottom:10px;left:10px;z-index:1000;background-color:#000000b3;border-radius:50%;width:40px;height:40px;display:flex;align-items:center;justify-content:center}.offline-icon{color:#fff;font-size:20px;line-height:1}.friends-page{max-width:600px;margin:40px auto;background:#23293a;border-radius:12px;padding:24px;color:#e6eaf3}.friends-title{margin-bottom:18px;font-size:1.5em;color:#bfc9d9}.friends-empty{color:#888;text-align:center;margin:24px 0}.friends-list{list-style:none;padding:0;margin:0}.friends-list-item{border-bottom:none;padding:0;margin-bottom:20px}.friends-row{display:flex;align-items:center;background:#23293a;border-radius:12px;border:1.5px solid #38405a;box-shadow:0 2px 8px #1e283c1a;padding:18px 18px 14px;transition:box-shadow .2s;flex-wrap:nowrap;gap:12px}.friends-row:hover{box-shadow:0 4px 16px #1e283c2e;border-color:#4f8cff}.friends-avatar-container{position:relative;width:48px;height:48px;margin-right:18px;display:flex;align-items:center;justify-content:center}.friends-avatar-frame{position:absolute;left:0;top:0;width:48px;height:48px;pointer-events:none;z-index:2;display:none}.friends-avatar-img{width:40px;height:40px;border-radius:50%;position:absolute;left:4px;top:4px;z-index:1;object-fit:cover;background:transparent!important;box-shadow:none!important;border:none!important}.friends-avatar-label{display:flex;flex-direction:column;align-items:center;min-width:80px;max-width:140px;word-break:break-all;flex:0 0 auto}.friends-info{flex:1 1 0;min-width:140px;max-width:100%}.friends-name{font-size:1.1em;margin-bottom:4px;color:#e6eaf3}.friends-name-secondary{margin-left:8px;color:#bfc9d9;font-size:.95em}.friends-linked-player-row{margin-bottom:8px;margin-top:4px}.friends-linked-player-label{font-size:1em;display:block;margin-bottom:2px}.friends-link-player{margin-top:6px}.friends-select{padding:4px 8px;border-radius:6px;border:1px solid #3a4256;background:#181b20;color:#e6eaf3;margin-right:8px}.friends-btn{padding:4px 12px;border-radius:6px;border:none;background:#4f8cff;color:#fff;margin-right:6px;cursor:pointer;font-size:1em;transition:background .2s;margin-top:4px}.friends-btn:hover{background:#3570c9}.friends-remove-btn{background:#e74c3c;color:#fff;margin-left:16px}.friends-remove-btn:hover{background:#c0392b}.friends-linked-player{color:#4f8cff;font-weight:500}.friends-not-linked{color:#888}.share-modal{position:fixed;top:0;left:0;right:0;bottom:0;z-index:10000;display:flex;align-items:center;justify-content:center}.share-modal>div,.share-modal-content{background:#23293a;border-radius:14px;box-shadow:0 4px 24px #000a;padding:60px 24px 24px;max-width:360px;width:96vw;display:flex;flex-direction:column;align-items:center;position:relative;box-sizing:border-box;max-height:90vh;overflow-y:auto}.share-modal-content{min-width:340px;max-width:360px;min-height:480px;max-height:95vh;box-sizing:border-box}.share-modal h3{margin-bottom:12px;color:#f3f6fa;font-size:1.25rem;font-weight:600;text-align:center}.share-modal p{color:#bfc9d9;font-size:1rem;margin-bottom:18px;text-align:center}.share-modal .share-link-row{display:flex;align-items:center;gap:8px;margin-top:8px;width:100%}.share-modal input[type=text]{background:#181b20;color:#f3f6fa;border:1.5px solid #4f8cff;border-radius:7px;padding:8px 10px;font-size:1rem;width:100%;margin-right:0;outline:none;transition:border-color .2s}.share-modal input[type=text]:focus{border-color:#2353a2}.share-modal .copy-btn{background:#4f8cff;color:#fff;border:none;border-radius:7px;padding:7px 16px;font-size:1rem;font-weight:500;cursor:pointer;transition:background .18s}.share-modal .copy-btn:hover{background:#2353a2}.share-modal .share-btn{background:#4f8cff;color:#fff;border:none;border-radius:7px;padding:8px 22px;font-size:1.08rem;font-weight:500;cursor:pointer;margin-bottom:12px;margin-top:4px;box-shadow:0 2px 8px #0003;transition:background .18s}.share-modal .share-btn:hover{background:#2353a2}.share-modal .close-btn{background:none;color:#bfc9d9;border:1.5px solid #3a4256;border-radius:7px;padding:7px 10px;font-size:1rem;cursor:pointer;transition:background .18s,color .18s;display:block;z-index:1000;position:absolute;top:5px;right:5px;margin-top:0}.share-modal .close-btn:hover{background:#23293a;color:#fff}.share-modal .share-qr{margin:18px 0 8px;text-align:center;opacity:1}.share-icon{width:40px;height:40px;color:#fff;vertical-align:middle;display:inline-block}@media (max-width: 600px){.friends-row{flex-direction:column;align-items:stretch;padding:14px 8px;gap:8px}.friends-avatar-label{flex-direction:row;align-items:center;min-width:0;max-width:100%;margin-right:0;margin-bottom:8px;gap:10px}.friends-info{min-width:0;max-width:100%}.friends-btn.friends-remove-btn{margin-left:0;margin-top:8px;width:auto;align-self:flex-end}}.friends-share-scan-btns{display:flex;flex-direction:column;align-items:center;gap:12px;margin:12px 0 20px}.friends-share-btn,.friends-scan-btn{width:260px;max-width:90vw;background:#4f8cff;color:#fff;border:none;border-radius:7px;padding:12px 0;font-size:1.08rem;font-weight:500;cursor:pointer;box-shadow:0 2px 8px #0003;transition:background .18s;display:flex;align-items:center;justify-content:center;gap:8px}.friends-share-btn:hover,.friends-scan-btn:hover{background:#2353a2}@media (max-width: 400px){.friends-share-btn,.friends-scan-btn{width:98vw;font-size:1rem;padding:10px 0}}.share-modal .share-modal-content{min-width:340px;max-width:360px;min-height:480px;max-height:95vh;box-sizing:border-box}#qr-reader{width:300px!important;height:300px!important;min-width:300px!important;min-height:300px!important;max-width:300px!important;max-height:300px!important;margin:0 auto;background:#181b20;border-radius:16px;box-sizing:border-box}#qr-reader video{width:100%!important;height:100%!important;object-fit:cover!important;border-radius:12px;background:#111;z-index:10002}#qr-reader__dashboard_section_csr,#qr-reader__dashboard_section_swaplink{display:none!important}.share-modal,.share-modal *{pointer-events:auto!important}.qr-border{background:#fff;border-radius:24px;padding:16px;display:inline-block;box-shadow:0 2px 12px #0000001a}.qr-border svg{border-radius:16px;display:block}.arrow-btn{border:none;border-radius:50%;width:44px;height:44px;display:flex;align-items:center;justify-content:center;font-size:1.5rem;color:#4f8cff;box-shadow:0 1px 4px #0001;cursor:pointer;transition:color .15s;background:none}.arrow-btn:disabled{color:#bfc9d9;cursor:not-allowed}.arrow-btn:hover:not(:disabled){color:#2a3550}.details-header{display:flex;align-items:center;justify-content:flex-start;margin-bottom:1.1rem;position:relative}.details-title{font-size:1.3rem;font-weight:700;color:#2a3550}.edit-btn,.view-btn{margin-left:.5rem;background:#f0f4fa;border:none;border-radius:5px;padding:.3rem .7rem;color:#4f8cff;font-weight:500;cursor:pointer;transition:background .15s}.edit-btn:hover,.view-btn:hover{background:#e3f0ff}.edit-details-btn{position:absolute;right:.5rem;top:.2rem;background:#4f8cff;color:#fff;border:none;border-radius:50%;width:38px;height:38px;display:flex;align-items:center;justify-content:center;font-size:1.2rem;cursor:pointer;box-shadow:0 1px 4px #0002;transition:background .15s}.edit-details-btn:hover{background:#15b8ac}.game-details-section{margin:.5rem auto 0;max-width:700px;border-radius:12px;box-shadow:0 2px 8px #0001;padding:.5rem .2rem 1.7rem 1.2rem;position:relative}.lists-container{display:flex;flex-direction:row;gap:2rem;justify-content:center;align-items:stretch}.lists-container.narrow{flex-direction:column;gap:1.5rem}.lists-container.narrow .move-arrows{flex-direction:row;gap:2.5rem;margin:.7rem 0}.lists-container.wide .move-arrows{flex-direction:column}.manage-default-games-container{max-width:1100px;margin:0 auto;padding:2rem 1rem}.modal-content{background:#fff;border-radius:12px;padding:2rem 1.5rem;min-width:320px;max-width:90vw;max-height:90vh;overflow-y:auto;box-shadow:0 4px 24px #0002}.modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#3c50782e;z-index:1000;display:flex;align-items:center;justify-content:center}.move-arrows{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:1.2rem;min-width:60px}.save-bar{margin-top:2rem;text-align:center}.save-btn{background:linear-gradient(90deg,#4f8cff,#15b8ac);color:#fff;border:none;border-radius:8px;padding:.7rem 2.2rem;font-size:1.1rem;font-weight:600;cursor:pointer;box-shadow:0 2px 8px #0001;transition:background .18s}.save-btn:hover{background:linear-gradient(90deg,#15b8ac,#4f8cff)}.settings-page{max-width:500px;margin:40px auto;padding:24px;border-radius:12px;box-shadow:0 2px 12px #00000014;background:var(--card-bg);color:var(--card-text);border:3px solid var(--border)}.settings-page h2{margin-bottom:24px;font-size:2rem;text-align:center;color:var(--text)}.settings-list{list-style:none;padding:0;margin:0}.settings-item{display:flex;align-items:center;justify-content:space-between;padding:16px 0;border-bottom:1px solid #e0e0e0}.settings-label{display:flex;flex-direction:column}.settings-description{font-size:.9em;color:var(--hint-text)}.switch{position:relative;display:inline-block;width:46px;height:24px}.switch input{opacity:0;width:0;height:0}.slider{position:absolute;cursor:pointer;top:0;left:0;right:0;bottom:0;background-color:#ccc;transition:.4s;border-radius:24px}.slider:before{position:absolute;content:"";height:18px;width:18px;left:3px;bottom:3px;background-color:#fff;transition:.4s;border-radius:50%}input:checked+.slider{background-color:#4f8cff}input:checked+.slider:before{transform:translate(22px)}.settings-modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#1e202652;z-index:1200;display:flex;align-items:center;justify-content:center;transition:background .2s;pointer-events:auto}.settings-modal{background:var(--color-card, #fff);border-radius:16px;box-shadow:0 8px 32px #0000002e,0 1.5px 8px #0000001a;padding:32px 28px 24px;min-width:250px;max-width:min(90vw,500px);min-height:0;position:relative;display:flex;flex-direction:column;gap:.5em;border:3px solid var(--border);z-index:1210}.settings-close-btn{position:absolute;top:12px;right:12px;font-size:2rem;background:var(--modal-bg);color:var(--text);border:none;border-radius:50%;width:40px;height:40px;cursor:pointer;z-index:2;transition:background .2s,color .2s}.settings-close-btn:hover{background:var(--hint-bg);color:#e53935}:root{--color-bg: #181818;--color-fg: #f5f5f5;--color-accent: #4caf50;--color-accent-hover: #45a049;--color-danger: #ef476f;--color-border: #333;--color-card: #232323;--color-shadow: rgba(0,0,0,.15);--color-muted: #888;--color-link: #3a86ff;--color-link-hover: #118ab2;--color-warning: #ffd166;--color-success: #06d6a0;--color-error: #ef476f;--color-tb-header-bg: #222;--color-tb-header-fg: white;--font-main: "Segoe UI", Arial, sans-serif;--border-radius: 8px;--transition: background-color .3s ease, color .3s ease;--menuOpacity: .9;--menu-bg: #333;--submenu-heading-fg: #ffe066}body{background:var(--color-bg);color:var(--color-fg);font-family:var(--font-main);margin:0;padding:0}.listMgtButton{width:40px;height:40px;max-width:40px;font-size:20px;background-color:var(--color-accent);border:none;cursor:pointer;padding:5px;border-radius:50%;display:inline-block;color:#fff;transition:var(--transition)}.listMgtButton svg{height:25px;width:25px}.listMgtButton:hover{background-color:var(--color-accent-hover)}[data-theme=light]{--color-bg: #fff;--color-fg: #222;--color-accent: #4caf50;--color-accent-hover: #388e3c;--color-danger: #ef476f;--color-border: #e0e0e0;--color-card: #f8f9fa;--color-shadow: rgba(0,0,0,.08);--color-muted: #888;--color-link: #3a86ff;--color-link-hover: #118ab2;--color-warning: #ffd166;--color-success: #06d6a0;--color-error: #ef476f;--color-tb-header-bg: #ccc;--color-tb-header-fg: black;--font-main: "Segoe UI", Arial, sans-serif;--border-radius: 8px;--transition: background-color .3s ease, color .3s ease;--menu-bg: #bbb;--submenu-heading-fg: #ffe066}[data-theme=dark]{--color-bg: #181818;--color-fg: #f5f5f5;--color-accent: #4caf50;--color-accent-hover: #45a049;--color-danger: #ef476f;--color-border: #333;--color-card: #232323;--color-shadow: rgba(0,0,0,.15);--color-muted: #888;--color-link: #3a86ff;--color-link-hover: #118ab2;--color-warning: #ffd166;--color-success: #06d6a0;--color-error: #ef476f;--color-tb-header-bg: #222;--color-tb-header-fg: white;--font-main: "Segoe UI", Arial, sans-serif;--border-radius: 8px;--transition: background-color .3s ease, color .3s ease;--menu-bg: #333;--submenu-heading-fg: #ffe066}.admin-panel{max-width:900px;margin:32px auto;background:var(--color-card, #23293a);color:var(--color-fg, #e6e6e6);border-radius:var(--border-radius, 12px);box-shadow:0 4px 24px var(--color-shadow, #0008);padding:32px 24px 24px}.admin-panel h2{text-align:center;margin-bottom:24px}.admin-table{width:100%;border-collapse:collapse;margin-bottom:24px}.admin-table th,.admin-table td{border:1px solid var(--color-border, #4f8cff);padding:8px 12px;text-align:left}.admin-table th{background:var(--color-bg, #1a1e29)}.admin-table td{background:var(--color-card, #23293a)}.spinner{display:inline-block;width:18px;height:18px;border:3px solid #4f8cff;border-top:3px solid #222a3a;border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.tabs-row{display:flex;gap:0;border-bottom:2.5px solid var(--background-tertiary, #232a3a);margin-bottom:0;position:relative;z-index:2}.tab{background:var(--background-secondary, #232a3a);color:var(--text-secondary, #bfc9d9);border:2.5px solid var(--background-tertiary, #232a3a);border-bottom:none;border-radius:8px 8px 0 0;padding:10px 24px 12px;font-size:16px;font-weight:500;cursor:pointer;transition:color .2s,background .2s,border .2s;outline:none;margin-right:2px;position:relative;top:2.5px;z-index:3}.tab-active{background:var(--background-primary, #181c2a);color:var(--accent, #4f8cff);border-bottom:2.5px solid var(--background-primary, #181c2a);font-weight:600;z-index:4}.tab:hover:not(.tab-active){color:var(--accent, #4f8cff);background:var(--background-tertiary, #232a3a)}.tab:not(:last-child){margin-right:2px}.tab-panel{background:var(--background-primary, #181c2a);border:2.5px solid var(--background-tertiary, #232a3a);border-radius:0 0 8px 8px;border-top:none;padding:0;margin-top:0;position:relative;top:-2.5px;z-index:1}
