:root{--orange-primary:#f97316;--orange-600:#ea580c;--yellow-accent:#f59e0b;--yellow-600:#d97706;--gray-900:#111827;--gray-800:#1f2937;--gray-700:#374151;--gray-600:#4b5563;--gray-500:#6b7280;--gray-400:#9ca3af;--gray-300:#d1d5db;--gray-850:#181f2f;--gray-750:#2b3544;--gray-650:#5a6373;--gray-550:#7f8898;--gray-450:#838b99;--gray-350:#b8bec7;--green-500:#22c55e;--red-500:#ef4444;--blue-500:#3b82f6;--purple-500:#a855f7}*{-webkit-box-sizing:border-box;box-sizing:border-box}html,body{height:100%;-ms-touch-action:pan-x pan-y;touch-action:pan-x pan-y}body.codex-tcg{margin:0;padding:0;font-family:'Open Sans',sans-serif;background-color:var(--gray-900);color:#fff}[data-long-press-delay]{-webkit-touch-callout:none;-webkit-user-select:none;user-select:none;touch-action:manipulation}#app{position:relative;max-width:430px;height:100%;margin:0 auto;overflow-x:hidden}.turbolinks-progress-bar{height:3px;background-color:var(--orange-primary)}.iziToast-wrapper{width:calc(100% - 30px);top:12px;left:15px;right:15px}.iziToast-wrapper .iziToast{border-radius:16px;padding:14px 45px 14px 0}.iziToast-wrapper .iziToast .iziToast-body{display:flex;align-items:center;min-height:28px}.iziToast-wrapper .iziToast .iziToast-texts,.iziToast-wrapper .iziToast .iziToast-message{margin:0}::-webkit-scrollbar{width:2px;height:8px}::-webkit-scrollbar-track{background:var(--gray-800)}::-webkit-scrollbar-thumb{background:var(--gray-600);border-radius:2px}@-webkit-keyframes spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}body.codex-tcg .market-price-label{color:var(--green-500)}body.codex-tcg .meta-value-label{color:var(--blue-500)}body.codex-tcg .own-price-label{color:var(--yellow-accent)}body.codex-tcg .badge.has-foil{position:relative;padding-left:20px!important}body.codex-tcg .badge.has-foil .foil-label{background:#f9a100;padding:2px 5px;border-radius:50%;position:absolute;top:3px;left:2px}body.codex-tcg .item-img{-o-object-fit:scale-down;object-fit:scale-down}body.codex-tcg .container-image-preview{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:80%;border-radius:8px;overflow:hidden;box-shadow:0 4px 20px rgba(0,0,0,.3);z-index:1066}body.codex-tcg .container-image-preview img{width:100%}body.codex-tcg .container-image-backdrop{position:absolute;top:0;left:0;width:100%;height:100%;background-color:rgba(0,0,0,.5);z-index:1065}body.codex-tcg .card-number{color:var(--gray-400);font-weight:normal}body.codex-tcg .btn-sm{border-radius:var(--bs-border-radius)}body.codex-tcg .btn-change-variant{display:flex;flex-direction:row;align-items:center;justify-content:start;height:auto!important;padding:12px 8px;background-color:var(--gray-850);border:1px solid var(--gray-700);color:#fff;text-align:left;line-height:1.3;transition:all .2s ease-in-out}body.codex-tcg .btn-change-variant:hover,body.codex-tcg .btn-change-variant:focus,body.codex-tcg .btn-change-variant:active{background-color:var(--gray-800);border-color:var(--orange-primary);box-shadow:0 0 0 .25rem rgba(249,115,22,.25);color:#fff}body.codex-tcg .btn-change-variant .variant-logo{display:flex;align-items:center;justify-content:center;flex-shrink:0;margin-bottom:0;margin-right:10px}body.codex-tcg .btn-change-variant .variant-logo .img-loader-content{min-height:unset}body.codex-tcg .btn-change-variant .variant-logo .img-loader-content img{height:32px;width:auto;filter:invert(1) brightness(1.2)}body.codex-tcg .btn-change-variant .variant-details{flex-grow:1;min-width:0}body.codex-tcg .btn-change-variant .variant-name{font-weight:600;font-size:15px;color:#fff;margin-bottom:1px}body.codex-tcg .btn-change-variant .variant-sub-info{font-size:11px;font-weight:normal;color:var(--gray-400)}body.codex-tcg .btn-change-variant .variant-arrow{flex-shrink:0;margin-left:10px;color:var(--gray-500)}body.codex-tcg .list-cards .card-item{cursor:pointer;text-align:center}body.codex-tcg .list-cards .card-item.selected{background-color:var(--gray-800);border-radius:8px}body.codex-tcg .list-cards .card-item .img-loader-content{min-height:160px;margin-bottom:0}body.codex-tcg .list-cards .card-item .img-loader-content .item-img{max-width:100%;width:100%;border-radius:8px}body.codex-tcg .list-cards .card-item .title{margin-top:2px;font-size:11px;line-height:16px;color:#fff}body.codex-tcg .list-cards .card-item .edition{font-size:10px;font-weight:500;color:var(--gray-300)}body.codex-tcg .list-cards .card-item .expansion,body.codex-tcg .detail-sheet .expansion{display:inline-block;font-size:12px;vertical-align:middle}body.codex-tcg .list-cards .card-item .card-info{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:end;-ms-flex-pack:end;justify-content:end;position:relative;margin-top:-24px;margin-right:2px}body.codex-tcg .list-cards .card-item .card-info .badge{position:relative;border-radius:4px;padding:4px 5px;margin-bottom:5px;background-color:rgb(59 59 59/70%)}body.codex-tcg .list-cards .card-item .expansion .img-loader-content,body.codex-tcg .detail-sheet .expansion .img-loader-content{display:inline-block;min-height:unset}body.codex-tcg .list-cards .card-item .expansion .img-loader-content img,body.codex-tcg .detail-sheet .expansion .img-loader-content img{width:20px;height:auto;-webkit-filter:invert(1) brightness(2) contrast(2);filter:invert(1) brightness(2) contrast(2)}body.codex-tcg .list-cards .card-item .expansion .img-loader-content .item-loader-img,body.codex-tcg .detail-sheet .expansion .img-loader-content .item-loader-img{width:12px;height:12px;margin-right:5px;border-width:2px}body.codex-tcg .modal-scroll .list-cards,body.codex-tcg.scan-index .modal-scroll .list-draft-items{overflow-y:auto;min-height:0}body.codex-tcg .card-preview{text-align:center}body.codex-tcg .card-preview img{width:200px;-o-object-fit:cover;object-fit:cover}body.codex-tcg .card-row{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row}body.codex-tcg .card-row .card-preview .img-loader-content{min-width:80px;margin-right:10px}body.codex-tcg .card-row .card-preview .img-loader-content .item-img{width:80px;border-radius:8px}body.codex-tcg .card-row .card-preview .img-loaded.has-foil::after{border-radius:8px}body.codex-tcg .card-row .card-input-group{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-ms-flex-align:center;align-items:center}body.codex-tcg .card-row .card-input-group .input-group{max-width:165px}body.codex-tcg .card-row .card-input-group .input-group label{margin-right:20px;margin-bottom:0}body.codex-tcg .card-row .card-input-group .input-group input{-moz-appearance:textfield;-webkit-appearance:textfield;appearance:textfield}body.codex-tcg .card-row .card-input-group .input-group input::-webkit-outer-spin-button,body.codex-tcg .card-row .card-input-group .input-group input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}body.codex-tcg .splash-loading{position:absolute;top:0;left:0;width:100%;height:100%;background-color:rgb(17 24 39/20%);display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;z-index:4000}body.codex-tcg .splash-loading .loader{border:4px solid var(--gray-700);border-top:4px solid var(--orange-primary);border-radius:50%;width:40px;height:40px;-webkit-animation:spin 1s linear infinite;animation:spin 1s linear infinite}body.codex-tcg .img-loader-content{display:-webkit-box;display:-ms-flexbox;display:flex;position:relative;min-height:70px;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}body.codex-tcg .img-loader-content .item-loader-img{border:4px solid var(--gray-700);border-top:4px solid var(--orange-primary);border-radius:50%;width:25px;height:25px;-webkit-animation:spin 1s linear infinite;animation:spin 1s linear infinite}body.codex-tcg .top-nav{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;padding:12px 16px;background-color:var(--gray-900);border-bottom:1px dashed var(--gray-700)}body.codex-tcg .top-nav .nav-title{width:100%;text-align:center;font-weight:bold;margin-bottom:0}body.codex-tcg .bottom-nav{position:fixed;bottom:0;left:50%;-webkit-transform:translateX(-50%);-ms-transform:translateX(-50%);transform:translateX(-50%);width:100%;max-width:430px;background:-o-linear-gradient(bottom,rgba(17,24,39,.98) 80%,transparent);background:-webkit-gradient(linear,left bottom,left top,color-stop(80%,rgba(17,24,39,.98)),to(transparent));background:linear-gradient(to top,rgba(17,24,39,.98) 80%,transparent);padding:0;z-index:1060}body.codex-tcg .bottom-nav .bottom-nav-inner{background:var(--gray-800);border-radius:24px 24px 0 0;padding:12px 8px;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-pack:distribute;justify-content:space-around;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-shadow:0 -4px 20px rgba(0,0,0,.3);box-shadow:0 -4px 20px rgba(0,0,0,.3);-webkit-transition:border-radius 1s;-o-transition:border-radius 1s;transition:border-radius 1s}body.codex-tcg.modal-open .bottom-nav .bottom-nav-inner{border-radius:0}body.codex-tcg .bottom-nav .nav-item{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:center;-ms-flex-align:center;align-items:center;gap:4px;color:var(--gray-500);text-decoration:none;padding:6px 12px;border-radius:12px;-webkit-transition:all .2s ease;-o-transition:all .2s ease;transition:all .2s ease}body.codex-tcg .bottom-nav .nav-item.active{color:var(--orange-primary)}body.codex-tcg .bottom-nav .nav-item span{font-size:10px;font-weight:500;line-height:normal}body.codex-tcg .bottom-nav .nav-item svg{width:24px;height:24px}body.codex-tcg .form-control,body.codex-tcg .form-select{background-color:var(--gray-800);border:1px solid var(--gray-600);color:#fff;-webkit-box-shadow:none!important;box-shadow:none!important}body.codex-tcg .form-select{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23ffffff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e")}body.codex-tcg .form-control::-webkit-input-placeholder{color:var(--gray-400);opacity:1}body.codex-tcg .form-control::-moz-placeholder{color:var(--gray-400);opacity:1}body.codex-tcg .form-control:-ms-input-placeholder{color:var(--gray-400);opacity:1}body.codex-tcg .form-control::-ms-input-placeholder{color:var(--gray-400);opacity:1}body.codex-tcg .form-control::placeholder{color:var(--gray-400);opacity:1}body.codex-tcg .input-group .input-group-text{background-color:var(--gray-800);border:1px solid var(--gray-600);color:#fff}body.codex-tcg .table{width:100%;margin-bottom:1rem;color:var(--gray-400);border-collapse:collapse;border:1px solid var(--gray-700);border-radius:12px;overflow:hidden}body.codex-tcg .table th{background-color:var(--gray-800);color:var(--gray-400);font-weight:600;border-color:var(--gray-700)}body.codex-tcg .table td{background-color:var(--gray-800);color:var(--gray-400);border-color:var(--gray-700)}body.codex-tcg .custom-checkbox-group label{line-height:normal}body.codex-tcg .dropdown-menu{background-color:var(--gray-800);border:1px solid var(--gray-700);border-radius:12px;padding:4px 0;margin-bottom:4px!important;overflow:hidden}body.codex-tcg .dropdown-menu .dropdown-item{color:var(--gray-300)}body.codex-tcg .dropdown-menu .dropdown-item:hover,body.codex-tcg .dropdown-menu .dropdown-item:focus{background-color:var(--gray-700);color:#fff}body.codex-tcg .dropdown-menu .dropdown-item.active,body.codex-tcg .dropdown-item:active{background-color:var(--orange-primary);color:#fff}body.codex-tcg .modal.modal-full .modal-dialog,body.codex-tcg .modal.modal-full .modal-content{height:100%}body.codex-tcg .modal.modal-swipe.fade{transition-duration:65ms}body.codex-tcg .modal.modal-swipe.fade .modal-dialog{transition-duration:140ms}body.codex-tcg .modal.modal-swipe .modal-header{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-ms-flex-align:center;align-items:center}body.codex-tcg .modal.modal-swipe .modal-header.modal-header-text{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;text-align:center}body.codex-tcg .modal.modal-swipe .modal-header.modal-header-close{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row}body.codex-tcg .modal.modal-swipe .modal-header.modal-header-close .btn-link{padding:0;color:#fff;text-decoration:none}body.codex-tcg .modal.modal-swipe .modal-header .modal-title{width:100%;font-size:18px}body.codex-tcg .modal.modal-swipe .modal-header .modal-subtitle{font-size:14px;color:var(--gray-400);margin-bottom:4px}body.codex-tcg .modal.modal-swipe .modal-header .close{opacity:1;float:none;color:var(--gray-400);text-shadow:none;font-size:22px}body.codex-tcg .modal.modal-swipe.fade .modal-dialog{-webkit-transform:translate(-50%,100%);-ms-transform:translate(-50%,100%);transform:translate(-50%,100%);left:50%;max-width:430px}body.codex-tcg .modal.modal-swipe.fade.show .modal-dialog{-webkit-transform:translate(-50%,0);-ms-transform:translate(-50%,0);transform:translate(-50%,0)}body.codex-tcg .modal.modal-swipe .modal-dialog{position:fixed;top:auto;right:auto;left:auto;bottom:75px;width:100%;margin:0}body.codex-tcg .modal.modal-swipe .modal-content{position:relative;border-radius:0;border-top-left-radius:20px;border-top-right-radius:20px;-webkit-box-shadow:none;box-shadow:none;background-color:var(--gray-900);color:#fff}body.codex-tcg .modal.modal-swipe .modal-header{border-color:var(--gray-700)}body.codex-tcg .modal.modal-swipe .modal-header .modal-title{font-weight:600;color:#fff}body.codex-tcg .modal.modal-swipe .modal-footer{border-color:var(--gray-700)}body.codex-tcg .modal-scroll.modal-dialog{max-height:calc(100% - 75px - var(--bs-modal-margin)*2);height:calc(100% - 75px - var(--bs-modal-margin)*2);display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}body.codex-tcg .modal-scroll .modal-content{max-height:100%;height:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;overflow:hidden}body.codex-tcg .modal-scroll .modal-header,body.codex-tcg .modal-scroll .modal-footer{-ms-flex-negative:0;flex-shrink:0}body.codex-tcg .modal-scroll .modal-body{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;min-height:0;-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto;overflow:hidden}body.codex-tcg .actions{position:fixed;bottom:0;left:50%;-webkit-transform:translateX(-50%);-ms-transform:translateX(-50%);transform:translateX(-50%);width:100%;max-width:430px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:end;-ms-flex-align:end;align-items:flex-end;margin-bottom:95px;padding-right:12px;padding-bottom:10px;gap:1rem;z-index:1050;pointer-events:none}body.codex-tcg .actions>*{pointer-events:auto}body.codex-tcg .actions .btn{width:56px;height:56px;background-color:var(--yellow-accent);border-radius:50%}body.codex-tcg .btn-primary{background-color:var(--orange-primary);border-color:var(--orange-primary);color:#fff}body.codex-tcg .btn-primary:hover,body.codex-tcg .btn-primary:focus,body.codex-tcg .btn-primary:active,body.codex-tcg .btn-primary.active{background-color:var(--orange-600);border-color:var(--orange-600);color:#fff}body.codex-tcg .btn-secondary{background-color:var(--gray-600);border-color:var(--gray-600);color:#fff}body.codex-tcg .btn-secondary:hover,body.codex-tcg .btn-secondary:focus,body.codex-tcg .btn-secondary:active,body.codex-tcg .btn-secondary.active{background-color:var(--gray-700);border-color:var(--gray-700);color:#fff}body.codex-tcg .btn-warning{background-color:var(--yellow-accent);border-color:var(--yellow-accent);color:#fff}body.codex-tcg .btn-warning:hover,body.codex-tcg .btn-warning:focus,body.codex-tcg .btn-warning:active,body.codex-tcg .btn-warning.active{background-color:var(--yellow-600);border-color:var(--yellow-600);color:#fff}body.codex-tcg .btn-outline-primary{color:var(--orange-primary);border-color:var(--orange-primary)}body.codex-tcg .btn-outline-primary:hover,body.codex-tcg .btn-outline-primary:focus,body.codex-tcg .btn-outline-primary:active,body.codex-tcg .btn-outline-primary.active{background-color:var(--orange-primary);border-color:var(--orange-primary);color:#fff}body.codex-tcg .btn-outline-secondary{color:var(--gray-500);border-color:var(--gray-500)}body.codex-tcg .btn-outline-secondary:hover,body.codex-tcg .btn-outline-secondary:focus,body.codex-tcg .btn-outline-secondary:active,body.codex-tcg .btn-outline-secondary.active{background-color:var(--gray-600);border-color:var(--gray-600);color:#fff}body.codex-tcg .btn-outline-warning{color:var(--yellow-accent);border-color:var(--yellow-accent)}body.codex-tcg .btn-outline-warning:hover,body.codex-tcg .btn-outline-warning:focus,body.codex-tcg .btn-outline-warning:active,body.codex-tcg .btn-outline-warning.active{background-color:var(--yellow-accent);border-color:var(--yellow-accent);color:#fff}body.codex-tcg .fab{width:56px;height:56px;border-radius:16px;border:0;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-shadow:0 4px 15px rgba(0,0,0,.3);box-shadow:0 4px 15px rgba(0,0,0,.3);-webkit-transition:-webkit-transform .2s ease,-webkit-box-shadow .2s ease;-o-transition:transform .2s ease,box-shadow .2s ease;transition:transform .2s ease,box-shadow .2s ease,-webkit-transform .2s ease,-webkit-box-shadow .2s ease}body.codex-tcg .fab:hover{-webkit-transform:scale(1.05);-ms-transform:scale(1.05);transform:scale(1.05);-webkit-box-shadow:0 6px 20px rgba(0,0,0,.4);box-shadow:0 6px 20px rgba(0,0,0,.4)}body.codex-tcg .fab-yellow{background:-o-linear-gradient(315deg,var(--yellow-accent),var(--yellow-600));background:linear-gradient(135deg,var(--yellow-accent),var(--yellow-600));color:#fff}body.codex-tcg .fab-orange{background:-o-linear-gradient(315deg,var(--orange-primary),var(--orange-600));background:linear-gradient(135deg,var(--orange-primary),var(--orange-600));color:#fff}body.codex-tcg .fab-container{position:fixed;bottom:100px;right:calc(50% - 200px);display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;gap:12px;z-index:999}@media(max-width:430px){body.codex-tcg .fab-container{right:16px}}body.codex-tcg .price-up{color:var(--green-500)}body.codex-tcg .price-down{color:var(--red-500)}body.codex-tcg .page-container{overflow-y:scroll;max-height:calc(100% - 130px);height:100%;padding:10px 12px}body.codex-tcg.scan-index .scanner-container{position:absolute;top:0;left:0;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%;padding-bottom:80px;overflow:hidden}body.codex-tcg.scan-index .scanner-container #scanner-canvas{width:100%;height:100%;-o-object-fit:cover;object-fit:cover;display:block}body.codex-tcg.scan-index .scanner-container #output-canvas{position:fixed;top:10px;right:10px;width:100px;border:2px solid var(--green-500);display:none}body.codex-tcg.scan-index .scanner-container .scanner-content{position:absolute}body.codex-tcg.scan-index .scanner-container .scanner-paused{position:absolute;top:0;left:0;width:100%;height:100%;background:rgba(17,24,39,.85);display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;z-index:20;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}body.codex-tcg.scan-index .scanner-container .paused-content{text-align:center;padding:2.5rem}body.codex-tcg.scan-index .scanner-container .paused-content p{color:var(--gray-300);margin-bottom:1.5rem;font-size:1.1rem}body.codex-tcg.scan-index .scanner-container .btn-resume-scan{background-color:var(--orange-primary);color:#fff;border:0;padding:.8rem 2rem;font-weight:600;border-radius:12px;-webkit-transition:-webkit-transform .2s;transition:-webkit-transform .2s;-o-transition:transform .2s;transition:transform .2s;transition:transform .2s,-webkit-transform .2s}body.codex-tcg.scan-index .scanner-container .btn-resume-scan:active{-webkit-transform:scale(.95);-ms-transform:scale(.95);transform:scale(.95)}body.codex-tcg.scan-index .scanner-container .error-text{color:var(--red-500);font-size:16px;font-weight:600;background:rgba(31,41,55,.8);padding:12px 16px;border-radius:10px;max-width:300px;text-align:center}body.codex-tcg.scan-index .right-actions{position:absolute;top:16px;right:16px;background-color:var(--gray-700);border-radius:20px;padding:12px 0;z-index:10}body.codex-tcg.scan-index .right-actions .scan-control-item{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding:12px;cursor:pointer}body.codex-tcg.scan-index .right-actions .scan-counter{position:absolute;top:35px;right:4px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;background:var(--orange-primary);color:#fff;font-size:12px;font-weight:700;width:18px;height:18px;border-radius:50%}body.codex-tcg.scan-index .right-actions .scan-counter[data-count='0'],body.codex-tcg.scan-index .right-actions .scan-counter[data-count='-']{display:none}body.codex-tcg.scan-index .scan-controls{position:absolute;bottom:95px;left:50%;-webkit-transform:translateX(-50%);-ms-transform:translateX(-50%);transform:translateX(-50%);display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;width:auto;gap:8px;border-radius:20px;padding:0 16px;background-color:var(--gray-700);z-index:10}body.codex-tcg.scan-index .scan-controls .scan-control-item{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding:10px 16px;border-radius:20px;cursor:pointer;white-space:nowrap}body.codex-tcg.scan-index .scan-controls.locked .scan-control-item{opacity:.3}body.codex-tcg.scan-index .scan-controls .scan-control-text{color:#fff;font-size:13px;font-weight:500}body.codex-tcg.scan-index .scan-controls .scan-control-text.muted{color:var(--gray-400)}body.codex-tcg.scan-index .scan-controls .btn-scan-reset{opacity:1!important}body.codex-tcg.scan-index .detected-card{position:absolute;bottom:150px;left:16px;right:16px;cursor:pointer;background:rgba(31,41,55,.5);-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);border-radius:16px;padding:12px;display:-webkit-box;display:-ms-flexbox;display:flex;gap:12px;-webkit-box-align:center;-ms-flex-align:center;align-items:center;z-index:10}body.codex-tcg.scan-index .detected-card .detected-card-thumbnail{width:56px;height:78px;border-radius:6px;-o-object-fit:cover;object-fit:cover}body.codex-tcg.scan-index .detected-card .detected-card-thumbnail img{width:100%}body.codex-tcg.scan-index .detected-card .detected-card-info{-webkit-box-flex:1;-ms-flex:1;flex:1;min-width:0}body.codex-tcg.scan-index .detected-card .detected-card-header{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;gap:6px;margin-bottom:4px}body.codex-tcg.scan-index .detected-card .detected-card-name{font-size:16px;font-weight:600;color:#fff}body.codex-tcg.scan-index .detected-card .detected-card-extra{font-size:13px;font-weight:500;color:var(--gray-300)}body.codex-tcg.scan-index .detected-card .detected-card-badge{background:var(--purple-500);color:#fff;font-size:10px;font-weight:700;padding:2px 6px;border-radius:4px}body.codex-tcg.scan-index .detected-card .detected-card-sub{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;gap:4px}body.codex-tcg.scan-index .detected-card .detected-card-price-label{color:var(--green-500);font-size:14px;font-weight:600}body.codex-tcg.scan-index .detected-card .detected-card-price-value{color:#fff;font-size:14px;font-weight:600}body.codex-tcg.scan-index .detected-card .detected-card-meta-label{color:var(--blue-500);font-size:14px;font-weight:600}body.codex-tcg.scan-index .detected-card .detected-card-meta-value{color:#fff;font-size:14px;font-weight:600}body.codex-tcg.scan-index .detected-card .detected-card-arrow{color:var(--gray-400)}body.codex-tcg.scan-index .list-draft-items{padding:8px}body.codex-tcg.scan-index .list-draft-items .card-row{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}body.codex-tcg.scan-index .list-draft-items .card-row+.divider{margin-bottom:8px;padding-bottom:8px;border-bottom:1px solid var(--gray-700);margin-left:-8px;margin-right:-8px}body.codex-tcg.scan-index .list-draft-items .card-row+.divider:last-child{display:none}body.codex-tcg.scan-index .list-draft-items .card-row .card-info{display:-webkit-box;display:-ms-flexbox;display:flex;margin-bottom:8px}body.codex-tcg.scan-index .list-draft-items .card-row .card-details{width:100%}body.codex-tcg.scan-index .list-draft-items .card-row .card-actions{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;gap:12px}body.codex-tcg.scan-index .list-draft-items .card-row .card-actions .input-group{max-width:140px}body.codex-tcg.scan-index .list-draft-items .card-row .card-actions .input-group input{-moz-appearance:textfield;-webkit-appearance:textfield;appearance:textfield}body.codex-tcg.scan-index .list-draft-items .card-row .card-actions .input-group input::-webkit-outer-spin-button,body.codex-tcg.scan-index .list-draft-items .card-row .card-actions .input-group input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}body.codex-tcg.scan-index .list-draft-items .card-row .card-info:last-child{margin-bottom:0}body.codex-tcg.scan-index .list-draft-items .card-row .card-preview{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}body.codex-tcg.scan-index .list-draft-items .card-row .item-img{border-radius:8px}body.codex-tcg.scan-index .list-draft-items .card-row .img-loaded.has-foil::after{border-radius:8px}body.codex-tcg.scan-index .list-draft-items .card-title-container{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;font-size:16px;margin-bottom:4px}body.codex-tcg.scan-index .list-draft-items .card-title-container .card-quantity{font-weight:bold;color:#fff;white-space:nowrap}body.codex-tcg.scan-index .list-draft-items .card-title-container .card-name{color:var(--gray-300)}body.codex-tcg.scan-index .list-draft-items .card-title-container .card-divider{width:1px;height:16px;background-color:var(--gray-600);margin:0 8px}body.codex-tcg.scan-index .list-draft-items .card-extra-info{display:-webkit-box;display:-ms-flexbox;display:flex;text-align:center;gap:10px;margin-bottom:8px}body.codex-tcg.scan-index .list-draft-items .card-extra-info>div{font-size:12px;font-weight:500}body.codex-tcg.scan-index .list-draft-items .card-badge-container{margin-bottom:4px}body.codex-tcg.scan-index .list-draft-items .card-badge-container .badge{border-radius:20px;padding:5px 10px;background-color:rgb(0 0 0/30%);position:relative}body.codex-tcg.scan-index .btn-scan-manual{padding:5px 8px;margin-right:1px}body.codex-tcg.auth-login .login-view{height:100vh;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;padding:24px;background:-o-radial-gradient(top right,circle,var(--gray-800),var(--gray-900));background:radial-gradient(circle at top right,var(--gray-800),var(--gray-900))}body.codex-tcg.auth-login .login-content{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:center;-ms-flex-align:center;align-items:center;gap:48px;width:100%}body.codex-tcg.auth-login .brand-section{text-align:center;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:center;-ms-flex-align:center;align-items:center}body.codex-tcg.auth-login .logo-container{width:96px;height:96px;background:-o-linear-gradient(315deg,var(--orange-primary),var(--yellow-accent));background:linear-gradient(135deg,var(--orange-primary),var(--yellow-accent));border-radius:24px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;margin-bottom:24px;-webkit-box-shadow:0 20px 40px rgba(249,115,22,.2);box-shadow:0 20px 40px rgba(249,115,22,.2);-webkit-transform:rotate(-5deg);-ms-transform:rotate(-5deg);transform:rotate(-5deg)}body.codex-tcg.auth-login .logo-icon{width:48px;height:48px;color:#fff}body.codex-tcg.auth-login img{width:100%;max-width:300px;background:#fff;border-radius:50%;padding:24px}body.codex-tcg.auth-login .actions-section{width:100%;max-width:320px}body.codex-tcg.auth-login .login-btn{width:100%;height:56px;border-radius:16px;border:0;font-size:16px;font-weight:600;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;gap:12px;cursor:pointer;-webkit-transition:all .2s ease;-o-transition:all .2s ease;transition:all .2s ease;position:relative;overflow:hidden}body.codex-tcg.auth-login .login-btn:active{-webkit-transform:scale(.96);-ms-transform:scale(.96);transform:scale(.96)}body.codex-tcg.auth-login .google-btn{background:#fff;color:var(--gray-800);-webkit-box-shadow:0 4px 12px rgba(0,0,0,.1);box-shadow:0 4px 12px rgba(0,0,0,.1)}body.codex-tcg.auth-login .google-btn:hover{background:#f8f9fa;-webkit-box-shadow:0 6px 16px rgba(0,0,0,.15);box-shadow:0 6px 16px rgba(0,0,0,.15)}body.codex-tcg.auth-login .btn-icon{width:24px;height:24px}body.codex-tcg.auth-login .login-btn:disabled{opacity:.6;cursor:not-allowed;-webkit-filter:grayscale(100%);filter:grayscale(100%);-webkit-transform:none;-ms-transform:none;transform:none;-webkit-box-shadow:none;box-shadow:none}body.codex-tcg.auth-login .google-btn:disabled:hover{background:#fff;-webkit-box-shadow:none;box-shadow:none}body.codex-tcg .collection-card{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;cursor:pointer;text-decoration:none;background-color:var(--gray-800);border:1px solid var(--gray-700);border-radius:8px;color:#fff;margin-bottom:12px}body.codex-tcg .collection-card:last-child{margin-bottom:0}body.codex-tcg .collection-card .collection-card-strip{width:4px;background:-o-linear-gradient(315deg,var(--orange-primary),var(--yellow-accent));background:linear-gradient(135deg,var(--orange-primary),var(--yellow-accent));border-top-left-radius:6px;border-bottom-left-radius:6px}body.codex-tcg .collection-card .collection-card-body{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-ms-flex-align:center;align-items:center}body.codex-tcg .collection-card .card-title{font-weight:600;margin-bottom:4px}body.codex-tcg .collection-card .item-count{color:var(--gray-400);font-size:14px}body.codex-tcg.collection-index .collection-container .chart-container{width:200px;height:200px;position:relative;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}body.codex-tcg.collection-index .collection-container .chart-donut{width:100%;height:100%;background:conic-gradient(var(--green-500) 0% 40%,var(--red-500) 40% 70%,var(--yellow-accent) 70% 100%);mask:radial-gradient(transparent 60%,black 61%);-webkit-mask:radial-gradient(transparent 60%,black 61%)}body.codex-tcg.collection-detail .filters{display:-webkit-box;display:-ms-flexbox;display:flex}body.codex-tcg.collection-detail .filters .form-control{margin-right:8px}body.codex-tcg.collection-detail .filters .view-mode{display:-webkit-box;display:-ms-flexbox;display:flex;gap:8px}body.codex-tcg.collection-detail #itemsGridView,body.codex-tcg.collection-detail #itemsTableView{margin-left:-12px;margin-right:-12px}body.codex-tcg.collection-detail #itemsGridView>div,body.codex-tcg.collection-detail #itemsTableView>div{padding-right:1px;padding-left:1px}body.codex-tcg.collection-detail .table-mode .collection-item-row{cursor:pointer}body.codex-tcg.collection-detail .table-mode .collection-item-row td{padding:4px}body.codex-tcg.collection-detail .table-mode .collection-item-row .collection-card{display:-webkit-box;display:-ms-flexbox;display:flex}body.codex-tcg.collection-detail .table-mode .collection-item-row .collection-card .img-loader-content{min-height:unset}body.codex-tcg.collection-detail .table-mode .collection-item-row .collection-card .img-loader-content{min-width:50px;margin-right:12px}body.codex-tcg.collection-detail .table-mode .collection-item-row .collection-card .img-loader-content .item-img{width:50px;border-radius:4px}body.codex-tcg.collection-detail .table-mode .collection-item-row .collection-card .card-title-container{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;margin-bottom:4px}body.codex-tcg.collection-detail .table-mode .collection-item-row .collection-card .card-title{color:var(--gray-300)}body.codex-tcg.collection-detail .table-mode .collection-item-row .collection-card .card-subtitle{font-size:14px;color:var(--gray-400)}body.codex-tcg.collection-detail .table-mode .collection-item-row .collection-card .card-divider{width:1px;height:16px;background-color:var(--gray-600);margin:0 8px}body.codex-tcg.collection-detail .table-mode .collection-item-row .collection-card .card-quantity{font-weight:bold;color:#fff}body.codex-tcg.collection-detail .table-mode .collection-item-row .collection-card .collection-card-body{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}body.codex-tcg.collection-detail .grid-mode .card-body{padding:0 2px;margin:0}body.codex-tcg.collection-detail .table-mode .collection-item-row .collection-card .collection-card-body .card-badge-container{display:-webkit-box;display:-ms-flexbox;display:flex;gap:4px;font-size:13px}body.codex-tcg.collection-detail .table-mode .collection-item-row .collection-card .collection-card-body .card-extra-info{display:-webkit-box;display:-ms-flexbox;display:flex;flex-wrap:wrap;color:var(--gray-400);gap:4px;margin-bottom:4px}body.codex-tcg.collection-detail .table-mode .collection-item-row .collection-card .collection-card-body .card-extra-info>div{font-size:12px}body.codex-tcg.collection-detail .table-mode .collection-item-row .collection-card .collection-card-body .badge{border-radius:20px;padding:5px 10px;background-color:rgb(0 0 0/30%)}body.codex-tcg.collection-detail .grid-mode .collection-item-card{cursor:pointer;background-color:var(--gray-850);border-radius:6px;padding:0;text-align:center;height:100%}body.codex-tcg.collection-detail .grid-mode .collection-item-card .position-relative{height:100%}body.codex-tcg.collection-detail .grid-mode .collection-item-card .img-loader-content{min-height:160px;overflow:hidden}body.codex-tcg.collection-detail .grid-mode .collection-item-card .img-loader-content .item-img{max-width:100%;height:auto;border-radius:6px}body.codex-tcg .img-loader-content.img-loaded.has-foil .item-img{-webkit-filter:contrast(110%) grayscale(10%);filter:contrast(110%) grayscale(10%)}body.codex-tcg .img-loader-content.img-loaded.has-foil::after{content:'';position:absolute;inset:0;background:-o-linear-gradient(315deg,rgba(255,0,0,.5) 0%,rgba(255,154,0,.5) 10%,rgba(208,222,33,.5) 20%,rgba(79,220,74,.5) 30%,rgba(63,218,216,.5) 40%,rgba(47,201,226,.5) 50%,rgba(28,127,238,.5) 60%,rgba(95,21,242,.5) 70%,rgba(186,12,248,.5) 80%,rgba(251,7,217,.5) 90%,rgba(255,0,0,.5) 100%);background:linear-gradient(135deg,rgba(255,0,0,.5) 0%,rgba(255,154,0,.5) 10%,rgba(208,222,33,.5) 20%,rgba(79,220,74,.5) 30%,rgba(63,218,216,.5) 40%,rgba(47,201,226,.5) 50%,rgba(28,127,238,.5) 60%,rgba(95,21,242,.5) 70%,rgba(186,12,248,.5) 80%,rgba(251,7,217,.5) 90%,rgba(255,0,0,.5) 100%);mix-blend-mode:color-dodge;opacity:.7;z-index:2;pointer-events:none;border-radius:6px}body.codex-tcg.collection-detail .grid-mode .collection-item-card .card-title{font-weight:600;margin-top:8px;color:#fff}body.codex-tcg.collection-detail .grid-mode .collection-item-card .card-info{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;margin-top:-22px}body.codex-tcg.collection-detail .grid-mode .collection-item-card .card-info .badge{border-radius:4px;padding:4px 5px;background-color:rgb(59 59 59/70%);position:relative;z-index:2}body.codex-tcg.collection-detail .modal-scroll .form-search{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;min-height:0;-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto;overflow:hidden}body.codex-tcg.collection-detail .modal-scroll .form-search .input-group{-ms-flex-negative:0;flex-shrink:0}body.codex-tcg.collection-detail #itemsTableView .badge.has-foil .foil-label{top:3px;left:3px}body.codex-tcg.collection-detail #itemsGridView>div,body.codex-tcg.collection-detail #itemsTableView>div{margin-top:2px}body.codex-tcg.collection-detail #itemsGridView .badge,body.codex-tcg.collection-detail #itemsTableView .badge{position:relative}body.codex-tcg.collection-detail #itemsGridView .badge.has-foil .foil-label{top:2px}body.codex-tcg.collection-detail #cardDetailModal .modal-content{background-color:transparent!important;border:0!important;-webkit-box-shadow:none!important;box-shadow:none!important}body.codex-tcg.collection-detail #cardDetailModal .detail-image-wrapper{width:100%;overflow:hidden;pointer-events:auto;padding:10px 0;margin-bottom:1rem;position:relative;text-align:center}body.codex-tcg.collection-detail #cardDetailModal .detail-image-container{position:relative;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;overflow:visible;margin-left:auto;margin-right:auto;height:45vh}body.codex-tcg.collection-detail #cardDetailModal .carousel-card{position:absolute;left:50%;top:50%;-webkit-transform:translate3d(-50%,-50%,0);-ms-transform:translate3d(-50%,-50%,0);transform:translate3d(-50%,-50%,0);width:auto;height:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;will-change:transform,opacity;-webkit-transition:transform .3s cubic-bezier(.23,1,.32,1),opacity .3s ease;-o-transition:transform .3s cubic-bezier(.23,1,.32,1),opacity .3s ease;transition:transform .3s cubic-bezier(.23,1,.32,1),opacity .3s ease;-webkit-backface-visibility:hidden;backface-visibility:hidden}body.codex-tcg.collection-detail #cardDetailModal .carousel-card .img-loader-content{background-color:transparent!important;height:100%;width:auto;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}body.codex-tcg.collection-detail #cardDetailModal .carousel-card img{border-radius:6px;width:auto;height:auto;max-height:100%;max-width:75vw;-o-object-fit:contain;object-fit:contain;display:block}body.codex-tcg.collection-detail #cardDetailModal .btn-nav-prev,body.codex-tcg.collection-detail #cardDetailModal .btn-nav-next{color:rgba(255,255,255,.6)!important;-webkit-transition:all .2s ease;-o-transition:all .2s ease;transition:all .2s ease;background:rgba(0,0,0,.3);border-radius:50%;width:40px;height:40px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);z-index:20}body.codex-tcg.collection-detail #cardDetailModal .btn-nav-prev:hover,body.codex-tcg.collection-detail #cardDetailModal .btn-nav-next:hover{color:#fff!important;background:rgba(0,0,0,.6)}body.codex-tcg.collection-detail #cardDetailModal .btn-nav-prev{left:5px}body.codex-tcg.collection-detail #cardDetailModal .btn-nav-next{right:5px}body.codex-tcg.collection-detail #cardDetailModal .detail-sheet{background-color:var(--gray-900)!important;border-top-left-radius:20px;border-top-right-radius:20px;width:100%;min-height:180px;padding-bottom:env(safe-area-inset-bottom,20px);-webkit-box-shadow:0 -5px 25px rgba(0,0,0,.3);box-shadow:0 -5px 25px rgba(0,0,0,.3);padding:1.5rem;color:#fff;position:relative}body.codex-tcg.collection-detail #cardDetailModal .detail-info-container{text-align:center;width:100%}body.codex-tcg.collection-detail #cardDetailModal .detail-title{font-size:1.25rem;color:#fff;margin-bottom:.25rem}body.codex-tcg.collection-detail #cardDetailModal .detail-title .card-quantity{font-weight:700}body.codex-tcg.collection-detail #cardDetailModal .detail-title .card-number{color:var(--gray-400)}body.codex-tcg.collection-detail #cardDetailModal .detail-subtitle{font-size:.95rem;color:var(--gray-400);margin-bottom:1rem}body.codex-tcg.collection-detail #cardDetailModal .detail-badges{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;gap:.5rem;margin-bottom:10px}body.codex-tcg.collection-detail #cardDetailModal .detail-badges .badge{border-radius:20px;padding:5px 10px;background-color:rgb(0 0 0/30%)}body.codex-tcg.collection-detail #cardDetailModal .detail-extra{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;flex-wrap:wrap;gap:10px;margin-bottom:1.5rem}body.codex-tcg.collection-detail #cardDetailModal .detail-extra>div{font-size:14px;font-weight:500}body.codex-tcg.collection-detail #cardDetailModal .detail-actions{margin-top:auto;border-top:1px solid var(--gray-700);padding-top:1rem}body.codex-tcg.collection-detail #cardDetailModal .detail-actions-inner{display:-webkit-box;display:-ms-flexbox;display:flex;gap:1rem;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}@media(max-height:700px){body.codex-tcg.collection-detail #cardDetailModal .detail-image-container{height:37vh}body.codex-tcg.collection-detail #cardDetailModal .detail-sheet{padding:1rem}body.codex-tcg.collection-detail #cardDetailModal .detail-extra>div{font-size:12px}}body.codex-tcg .is-selected{position:relative;border-radius:8px}body.codex-tcg .collection-item-row.is-selected td{background-color:rgba(249,115,22,.1)}body.codex-tcg .bulk-actions-bar{position:fixed;bottom:0;left:50%;transform:translateX(-50%);width:100%;max-width:430px;padding:1rem;padding-bottom:max(1rem,env(safe-area-inset-bottom));border-top:1px solid var(--gray-700);background-color:var(--gray-800);z-index:1070}body.codex-tcg .bulk-actions-bar .btn-action{display:flex;flex-direction:column;align-items:center;color:var(--gray-400);background:none;border:0;font-size:.75rem;gap:4px}body.codex-tcg .bulk-actions-bar .btn-action svg{stroke:currentColor}body.codex-tcg .bulk-actions-bar .btn-action:active,body.codex-tcg .bulk-actions-bar .btn-action:focus{color:var(--orange-primary)}body.codex-tcg .bulk-actions-bar .btn-action{flex-direction:row;justify-content:center;font-size:14px;font-weight:500;padding:10px}body.codex-tcg .selection-overlay{position:absolute;top:0;left:0;width:100%;height:100%;background-color:rgba(31,41,55,.5);display:flex;flex-direction:column;align-items:center;justify-content:space-between;border-radius:8px;z-index:10;color:var(--orange-primary);padding:4px 0}body.codex-tcg .selection-overlay.single-mode{justify-content:center}body.codex-tcg .selection-overlay .check-icon{width:24px;height:24px;stroke:#fff;stroke-width:3;margin-bottom:2px}body.codex-tcg .selection-overlay .selection-content{display:flex;flex-direction:column;align-items:center;justify-content:center;position:relative;padding:14px;margin:4px 0;pointer-events:none;border-radius:50%;background-color:var(--orange-primary);opacity:.95}body.codex-tcg .selection-overlay .btn-qty{display:flex;justify-content:center;align-items:center;flex-grow:1;width:100%;background:transparent;color:#fff;border:0;cursor:pointer;min-height:40px}body.codex-tcg .selection-overlay .selection-value{position:absolute;right:4px;bottom:2px;padding:2px 6px;font-weight:bold;background-color:rgb(0 0 0/50%);color:#fff;font-size:12px;line-height:1;border-radius:10px}body.codex-tcg .bulk-actions-top{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;width:100%;padding:12px 16px;background-color:var(--gray-900);border-bottom:1px dashed var(--gray-700);position:absolute;top:0;left:0;z-index:1050}body.codex-tcg .bulk-actions-top .nav-title{width:100%;text-align:center;font-weight:bold;margin-bottom:0}body.codex-tcg .bulk-actions-top .btn-cancel-selection,body.codex-tcg .bulk-actions-top .btn-select-all{color:#fff;padding:0}@-webkit-keyframes hover-color{from{border-color:#c0c0c0}to{border-color:#4563bf}}@keyframes hover-color{from{border-color:#c0c0c0}to{border-color:#4563bf}}.custom-checkbox-group .input-radio,.custom-checkbox-group .input-checkbox{display:none;position:absolute}.custom-checkbox-group .input-radio[disabled],.custom-checkbox-group .input-checkbox[disabled]{cursor:not-allowed}.custom-checkbox-group .input-radio+label,.custom-checkbox-group .input-checkbox+label{cursor:pointer;display:block;margin-bottom:0;position:relative}.custom-checkbox-group .input-radio.input-with-text+label,.custom-checkbox-group .input-checkbox.input-with-text+label{margin-bottom:.5rem;padding-left:30px}.custom-checkbox-group .input-radio+label:hover:before,.custom-checkbox-group .input-checkbox+label:hover:before{-webkit-animation-duration:.4s;animation-duration:.4s;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-name:hover-color;animation-name:hover-color}.custom-checkbox-group .input-radio+label:before,.custom-checkbox-group .input-checkbox+label:before{border:1px solid #c0c0c0;content:'';display:inline-block;height:20px;left:0;position:absolute;top:0;width:20px}.custom-checkbox-group .input-radio+label:after,.custom-checkbox-group .input-checkbox+label:after{content:'';display:none;position:absolute}.custom-checkbox-group .input-radio[disabled]+label,.custom-checkbox-group .input-checkbox[disabled]+label{color:#e4e4e4;cursor:not-allowed}.custom-checkbox-group .input-radio[disabled]+label:hover,.custom-checkbox-group .input-radio[disabled]+label:before,.custom-checkbox-group .input-radio[disabled]+label:after,.custom-checkbox-group .input-checkbox[disabled]+label:hover,.custom-checkbox-group .input-checkbox[disabled]+label:before,.custom-checkbox-group .input-checkbox[disabled]+label:after{cursor:not-allowed}.custom-checkbox-group .input-radio[disabled]+label:hover:before,.custom-checkbox-group .input-checkbox[disabled]+label:hover:before{-webkit-animation-name:none;animation-name:none}.custom-checkbox-group .input-radio[disabled]+label:before,.custom-checkbox-group .input-checkbox[disabled]+label:before{border-color:#e4e4e4}.custom-checkbox-group .input-radio:checked+label:before,.custom-checkbox-group .input-checkbox:checked+label:before{-webkit-animation-name:none;animation-name:none}.custom-checkbox-group .input-radio:checked+label:after,.custom-checkbox-group .input-checkbox:checked+label:after{display:block}.custom-checkbox-group .input-radio+label:before{border-radius:50%}.custom-checkbox-group .input-radio+label:after{background:#4563bf;border-radius:50%;height:8px;left:6px;top:6px;width:8px}.custom-checkbox-group .input-radio:checked+label:before{border:1px solid #4563bf}.custom-checkbox-group .input-radio:checked[disabled]+label:before{border:1px solid #c9e2f9}.custom-checkbox-group .input-radio:checked[disabled]+label:after{background:#c9e2f9}.custom-checkbox-group .input-checkbox+label:before{border-radius:3px}.custom-checkbox-group .input-checkbox+label:after{border-color:#fff;border-style:solid;border-left:0;border-top:0;border-width:2px;-webkit-box-sizing:border-box;box-sizing:border-box;height:12px;left:7px;top:2px;-webkit-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg);width:6px}.custom-checkbox-group .input-checkbox:checked+label:before{background:#4563bf;border-color:#5e7bb5}.custom-checkbox-group .input-checkbox:checked[disabled]+label:before{-webkit-filter:opacity(.4);filter:opacity(.4)}.custom-switch{display:inline-block;height:20px;position:relative;width:40px}.custom-switch input{height:0;opacity:0;width:0}.custom-switch label{background-color:#ccc;border-radius:34px;bottom:0;cursor:pointer;left:0;position:absolute;right:0;top:0;-webkit-transition:.4s;-o-transition:.4s;transition:.4s}.custom-switch label:before{background-color:#fff;border-radius:50%;bottom:3px;content:'';height:14px;left:4px;position:absolute;-webkit-transition:.4s;-o-transition:.4s;transition:.4s;width:14px}.custom-switch input:checked+label{background-color:#3c3c3c}.custom-switch input:focus+label{-webkit-box-shadow:0 0 1px #3c3c3c;box-shadow:0 0 1px #3c3c3c}.custom-switch input:checked+label:before{-webkit-transform:translateX(18px);-ms-transform:translateX(18px);transform:translateX(18px)}.loading-logo{position:relative;width:80px;height:80px}.loading-cards{position:absolute;inset:0;display:flex;align-items:center;justify-content:center}.loading-card{position:absolute;width:32px;height:44px;background:linear-gradient(135deg,#f97316,#f59e0b);border-radius:4px;box-shadow:0 4px 15px rgba(249,115,22,.3)}.loading-card:nth-child(1){animation:loading-epic-rotate-1 1.5s ease-in-out infinite}.loading-card:nth-child(2){animation:loading-epic-rotate-2 1.5s ease-in-out infinite}.loading-card:nth-child(3){animation:loading-epic-rotate-3 1.5s ease-in-out infinite}@keyframes loading-epic-rotate-1{0%,100%{transform:rotate(-20deg) translateX(-8px);opacity:.7}50%{transform:rotate(0deg) translateX(0) scale(1.1);opacity:1}}@keyframes loading-epic-rotate-2{0%,100%{transform:rotate(0deg) translateY(0);opacity:1}50%{transform:rotate(10deg) translateY(-5px) scale(1.05);opacity:.8}}@keyframes loading-epic-rotate-3{0%,100%{transform:rotate(20deg) translateX(8px);opacity:.7}50%{transform:rotate(0deg) translateX(0) scale(1.1);opacity:1}}.loading-spinner{position:absolute;inset:-10px;border:3px solid transparent;border-top-color:#f97316;border-radius:50%;animation:loading-epic-spin 1s linear infinite}.loading-spinner::before{content:'';position:absolute;inset:3px;border:3px solid transparent;border-top-color:#f59e0b;border-radius:50%;animation:loading-epic-spin 1.5s linear reverse infinite}@keyframes loading-epic-spin{to{transform:rotate(360deg)}}