.card-image-container{position:relative;width:100%;height:100%;background:#1a1a1a;border-radius:8px;overflow:hidden}.card-image{width:100%;height:100%;object-fit:contain;opacity:0;transition:opacity .3s ease-in}.card-image-loaded{opacity:1}.card-image-loading{opacity:0}.card-image-skeleton{position:absolute;top:0;left:0;width:100%;height:100%;background:linear-gradient(90deg,#2a2a2a 25%,#333,#2a2a2a 75%);background-size:200% 100%;animation:shimmer 1.5s infinite}@keyframes shimmer{0%{background-position:200% 0}to{background-position:-200% 0}}.card-image-error{display:flex;flex-direction:column;align-items:center;justify-content:center;width:100%;height:100%;background:#2a2a2a;color:#888;padding:20px;text-align:center}.card-image-error-icon{font-size:48px;margin-bottom:10px;opacity:.5}.card-image-error-text{font-size:12px;font-weight:500;word-break:break-word;margin-bottom:10px}.card-image-retry-button{background:#444;color:#fff;border:1px solid #666;border-radius:4px;padding:6px 12px;font-size:11px;cursor:pointer;transition:all .2s;margin-top:8px}.card-image-retry-button:hover{background:#555;border-color:#777}.card-image-retry-button:active{transform:scale(.95)}.card-image-small{width:100px;height:140px}.card-image-normal{width:200px;height:280px}.card-image-large{width:300px;height:420px}.card-image-battlefield{aspect-ratio:16/9!important;height:auto!important}.card-image-battlefield.card-image-small{width:140px;height:auto}.card-image-battlefield.card-image-normal{width:280px;height:auto}.card-image-battlefield.card-image-large{width:420px;height:auto}.card-image-battlefield .card-image{object-fit:contain}.card-filters{background:linear-gradient(135deg,#1a1a1af2,#1e1e1ef2);border-radius:8px;padding:16px;border:1px solid rgba(255,255,255,.05);box-shadow:0 4px 12px #0000004d}.card-filters-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}.card-filters-header h3{margin:0;font-size:16px;font-weight:700;color:#fff;text-transform:uppercase;letter-spacing:.5px}.filter-actions{display:flex;align-items:center;gap:12px}.active-filter-count{font-size:13px;color:#999;font-weight:500}.clear-filters-btn{background:#dc3545;color:#fff;border:none;border-radius:4px;padding:6px 12px;font-size:13px;cursor:pointer;transition:background .2s}.clear-filters-btn:hover{background:#c82333}.filter-section{margin-bottom:20px}.filter-section:last-child{margin-bottom:0}.filter-section label{display:block;font-size:13px;font-weight:600;color:#ccc;margin-bottom:8px}.search-input{width:100%;padding:8px 10px;border:1px solid rgba(255,255,255,.1);border-radius:4px;font-size:13px;background:#0000004d;color:#fff;transition:border-color .2s}.search-input:focus{outline:none;border-color:#4caf50;box-shadow:0 0 0 3px #4caf501a}.search-input::placeholder{color:#666}.filter-options{display:flex;flex-wrap:wrap;gap:8px}.filter-chip{background:#ffffff0d;border:1px solid rgba(255,255,255,.1);border-radius:20px;padding:6px 12px;font-size:12px;cursor:pointer;transition:all .2s;color:#999}.filter-chip:hover{border-color:#4caf50;color:#4caf50;background:#4caf501a}.filter-chip.active{background:#4caf50;border-color:#4caf50;color:#fff}.cost-range-inputs{display:flex;align-items:center;gap:10px}.cost-input{flex:1;max-width:70px;padding:6px 8px;border:1px solid rgba(255,255,255,.1);border-radius:4px;font-size:13px;background:#0000004d;color:#fff;transition:border-color .2s}.cost-input:focus{outline:none;border-color:#4caf50;box-shadow:0 0 0 3px #4caf501a}.cost-separator{font-size:13px;color:#666}.color-options{gap:6px}.color-chip{width:36px;height:36px;border-radius:50%;padding:0;font-weight:700;font-size:16px;display:flex;align-items:center;justify-content:center}.color-chip.color-w{background:#f8f6d8;border-color:#e6e0a8;color:#5a5a3a}.color-chip.color-w.active{background:khaki;border-color:#daa520}.color-chip.color-u{background:#d0e8f2;border-color:#a0c8e0;color:#1a4d6d}.color-chip.color-u.active{background:#4682b4;border-color:#1e5a7a;color:#fff}.color-chip.color-b{background:#d8d8d8;border-color:#a8a8a8;color:#2a2a2a}.color-chip.color-b.active{background:#4a4a4a;border-color:#2a2a2a;color:#fff}.color-chip.color-r{background:#f8d8d8;border-color:#e0a8a8;color:#6d1a1a}.color-chip.color-r.active{background:#dc143c;border-color:#a01020;color:#fff}.color-chip.color-g{background:#d8f8d8;border-color:#a8e0a8;color:#1a6d1a}.color-chip.color-g.active{background:#228b22;border-color:#156015;color:#fff}@media (max-width: 768px){.card-filters{padding:15px}.card-filters-header{flex-direction:column;align-items:flex-start;gap:10px}.filter-chip{font-size:12px;padding:5px 12px}.color-chip{width:32px;height:32px;font-size:14px}.filter-section label{font-size:13px}.search-input,.cost-input{font-size:13px;padding:8px 10px}}@media (max-width: 640px){.card-filters{padding:12px}.card-filters-header h3{font-size:16px}.filter-chip{font-size:11px;padding:4px 10px}.color-chip{width:28px;height:28px;font-size:12px}.cost-range-inputs{flex-direction:column;gap:8px}.cost-separator{display:none}}.draggable-card{position:relative;transition:opacity .2s ease}.draggable-card.dragging{opacity:.5}.draggable-card:active{cursor:grabbing}.card-preview{position:fixed;z-index:1000;pointer-events:none;display:flex;flex-direction:column;background:#2a2a2a;border:2px solid #444;border-radius:12px;box-shadow:0 8px 32px #000c;overflow:hidden;max-width:320px;animation:fadeIn .15s ease-in}@keyframes fadeIn{0%{opacity:0;transform:scale(.95)}to{opacity:1;transform:scale(1)}}.card-preview-image{width:100%;flex-shrink:0}.card-preview-details{padding:16px;background:#1a1a1a;border-top:1px solid #333}.card-preview-name{font-size:18px;font-weight:600;color:#fff;margin-bottom:12px;line-height:1.3}.card-preview-row{display:flex;justify-content:space-between;margin-bottom:8px;font-size:13px}.card-preview-label{color:#888;font-weight:500;margin-right:12px}.card-preview-value{color:#e0e0e0;text-align:right;flex:1}.card-preview-text{margin-top:12px;padding-top:12px;border-top:1px solid #333;font-size:13px;line-height:1.5;color:#ccc;font-style:italic}@media (max-width: 768px){.card-preview{max-width:280px}.card-preview-name{font-size:16px}.card-preview-row,.card-preview-text{font-size:12px}}.quick-add-controls{position:absolute;top:0;left:0;right:0;bottom:0;display:flex;flex-direction:column;justify-content:space-between;pointer-events:none;opacity:0;transition:opacity .2s ease}.card-grid-item:hover .quick-add-controls{opacity:1;pointer-events:auto}.quick-add-count-badge{position:absolute;top:8px;right:8px;background:#06c;color:#fff;font-weight:700;font-size:16px;min-width:32px;height:32px;border-radius:16px;display:flex;align-items:center;justify-content:center;padding:0 8px;box-shadow:0 2px 8px #0006;pointer-events:none}.quick-add-buttons{display:flex;gap:8px;padding:8px;background:linear-gradient(to top,rgba(0,0,0,.8),transparent);align-self:flex-end;width:100%;justify-content:center}.quick-add-btn{width:40px;height:40px;border:none;border-radius:50%;background:#ffffffe6;color:#1a1a1a;font-size:24px;font-weight:700;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .2s ease;box-shadow:0 2px 8px #0000004d;pointer-events:auto;line-height:1;padding:0}.quick-add-btn:hover:not(.disabled){transform:scale(1.1);background:#fff;box-shadow:0 4px 12px #0006}.quick-add-btn:active:not(.disabled){transform:scale(.95)}.quick-add-increment{background:#00c864e6;color:#fff}.quick-add-increment:hover:not(.disabled){background:#00dc6e}.quick-add-decrement{background:#dc3232e6;color:#fff}.quick-add-decrement:hover:not(.disabled){background:#f03c3c}.quick-add-btn.disabled{opacity:.3;cursor:not-allowed;pointer-events:none}@media (max-width: 768px){.quick-add-controls{opacity:1;pointer-events:auto}.quick-add-btn{width:36px;height:36px;font-size:20px}.quick-add-count-badge{min-width:28px;height:28px;font-size:14px}}.card-grid-container{width:100%;position:relative}.card-grid-window{margin:0 auto}.card-grid-item{width:200px;height:320px;position:relative;cursor:pointer;border-radius:8px;overflow:hidden;transition:transform .2s,box-shadow .2s}.card-grid-item-battlefield{width:356px!important;height:200px!important}.card-grid-item-battlefield .draggable-card{width:100%;height:100%}.card-grid-item-battlefield .card-image-container{width:100%;height:100%;aspect-ratio:16/9}.card-grid-item:hover{transform:translateY(-4px);box-shadow:0 8px 16px #0009;z-index:10}.card-grid-empty{text-align:center;padding:60px 20px;color:#888;font-size:16px}@media (max-width: 1024px){.card-grid-item{width:170px;height:270px}}@media (max-width: 768px){.card-grid-item{width:150px;height:240px}.card-grid-item:hover{transform:none}}@media (max-width: 640px){.card-grid-item{width:140px;height:220px}.card-grid-empty{padding:40px 15px;font-size:14px}}.mobile-filters-toggle{display:none}.visual-card-browser{display:flex;gap:20px;height:100%;min-height:600px;overflow:visible}.browser-sidebar{flex:0 0 260px;overflow-y:auto;overflow-x:hidden;order:2}.browser-main{flex:1;display:flex;flex-direction:column;overflow:visible;min-width:0;order:1}.browser-header{display:flex;justify-content:space-between;align-items:center;padding:12px 16px;background:linear-gradient(135deg,#1a1a1af2,#1e1e1ef2);border-radius:8px;margin-bottom:16px;border:1px solid rgba(255,255,255,.05);box-shadow:0 4px 12px #0000004d}.browser-header h3{margin:0;font-size:16px;font-weight:700;color:#fff;text-transform:uppercase;letter-spacing:.5px}.card-count{font-size:13px;color:#999;font-weight:500}@media (max-width: 1024px){.visual-card-browser{flex-direction:column}.browser-sidebar{flex:0 0 auto;max-height:400px}}@media (max-width: 768px){.visual-card-browser{gap:0;min-height:auto;height:auto;overflow:visible;flex-direction:column}.mobile-filters-toggle{display:flex!important;order:0}.browser-sidebar{display:none!important;max-height:300px;order:1}.visual-card-browser .browser-sidebar.mobile-visible{display:block!important;visibility:visible!important;opacity:1!important;min-height:200px!important;max-height:400px;overflow-y:auto;margin-bottom:16px;padding:16px;background:linear-gradient(135deg,#1a1a1af2,#1e1e1ef2);border-radius:8px;border:1px solid rgba(255,255,255,.05);position:relative;z-index:100;width:100%;order:1}.browser-main{overflow:visible;min-height:auto;height:auto;order:2}.browser-header{padding:12px 16px}.browser-header h3{font-size:16px}.card-count{font-size:13px}}@media (max-width: 640px){.visual-card-browser{gap:12px;min-height:400px}.browser-sidebar{max-height:250px}.browser-header{padding:10px 12px;flex-direction:column;align-items:flex-start;gap:8px}.browser-header h3{font-size:14px}.card-count{font-size:12px}}.deck-zone{position:relative}.gallery-container{display:flex;gap:24px}.gallery-sidebar{width:280px;flex-shrink:0}.gallery-main{flex:1;min-width:0}.deck-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:24px;margin-bottom:32px}.filter-toggle-mobile{display:none}@media (max-width: 1024px){.deck-grid{grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:20px}}@media (max-width: 768px){.gallery-container{flex-direction:column;gap:16px}.gallery-sidebar{width:100%;position:relative}.gallery-sidebar.collapsed{display:none}.filter-toggle-mobile{display:block;width:100%;padding:12px;margin-bottom:16px;background:#2a2a2a;border:1px solid #444;border-radius:6px;color:#fff;font-size:15px;font-weight:500;cursor:pointer;display:flex;align-items:center;justify-content:space-between}.deck-grid{grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:16px}.search-sort-bar{flex-direction:column!important}.search-sort-bar>*{width:100%!important;min-width:100%!important}}@media (max-width: 480px){.deck-grid{grid-template-columns:1fr;gap:12px}.gallery-main{padding:0}.deck-actions{flex-direction:column!important}.deck-actions>*{width:100%!important}}.primer-content h1{font-size:28px;font-weight:700;color:#fff;margin-top:40px;margin-bottom:20px;padding-bottom:12px;border-bottom:2px solid rgba(156,39,176,.3)}.primer-content h1:first-child{margin-top:0}.primer-content h2{font-size:24px;font-weight:600;color:#fff;margin-top:32px;margin-bottom:16px}.primer-content h3{font-size:20px;font-weight:600;color:#ddd;margin-top:24px;margin-bottom:12px}.primer-content p{margin-bottom:16px;line-height:1.8}.primer-content ul,.primer-content ol{margin-bottom:16px;padding-left:24px}.primer-content li{margin-bottom:8px;line-height:1.6}.primer-content ul li{list-style-type:disc}.primer-content ol li{list-style-type:decimal}.primer-content a{color:#4a9eff;text-decoration:underline;transition:color .2s ease}.primer-content a:hover{color:#6bb6ff}.primer-content code{background:#ffffff1a;padding:2px 6px;border-radius:3px;font-family:Courier New,monospace;font-size:14px;color:#ff9800}.primer-content pre{background:#0000004d;padding:16px;border-radius:6px;overflow-x:auto;margin-bottom:16px}.primer-content pre code{background:none;padding:0;color:#e0e0e0}.primer-content blockquote{border-left:4px solid rgba(156,39,176,.5);padding-left:16px;margin:16px 0;color:#999;font-style:italic}.primer-content strong{font-weight:600;color:#fff}.primer-content em{font-style:italic;color:#ddd}.primer-content hr{border:none;border-top:1px solid rgba(255,255,255,.1);margin:32px 0}.primer-content table{width:100%;border-collapse:collapse;margin-bottom:16px}.primer-content th,.primer-content td{padding:12px;border:1px solid rgba(255,255,255,.1);text-align:left}.primer-content th{background:#ffffff0d;font-weight:600;color:#fff}.primer-content img{max-width:100%;height:auto;border-radius:6px;margin:16px 0}html{scroll-behavior:smooth}.primer-content h1:target,.primer-content h2:target,.primer-content h3:target{animation:highlight 2s ease}@keyframes highlight{0%{background:#9c27b04d}to{background:transparent}}.primer-content .card-link{color:#ff9800;font-weight:600;cursor:help;text-decoration:underline;text-decoration-style:dotted;text-decoration-color:#ff980080;transition:all .2s ease;padding:0 2px}.primer-content .card-link:hover{color:#ffb74d;background:#ff98001a;text-decoration-color:#ff9800cc}*{margin:0;padding:0;box-sizing:border-box}body{font-family:-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;background:#1a1a1a;color:#e0e0e0}.container{max-width:1600px;margin:0 auto;padding:16px}.btn{padding:10px 20px;border:none;border-radius:6px;cursor:pointer;font-size:14px;font-weight:500;transition:all .2s}.btn-primary{background:#06c;color:#fff}.btn-primary:hover{background:#0052a3}.btn-secondary{background:#444;color:#fff}.btn-secondary:hover{background:#555}.card{background:#2a2a2a;border-radius:8px;padding:20px;margin-bottom:20px;box-shadow:0 2px 8px #0000004d;transition:transform .2s,box-shadow .2s}.card:hover{transform:translateY(-2px);box-shadow:0 4px 12px #0006}input,textarea,select{background:#333;border:1px solid #555;color:#e0e0e0;padding:8px 12px;border-radius:4px;font-size:14px}input:focus,textarea:focus,select:focus{outline:none;border-color:#06c}*{scrollbar-width:thin;scrollbar-color:rgba(255,255,255,.2) transparent}*::-webkit-scrollbar{width:8px;height:8px}*::-webkit-scrollbar-track{background:transparent}*::-webkit-scrollbar-thumb{background:#fff3;border-radius:4px;transition:background .2s}*::-webkit-scrollbar-thumb:hover{background:#ffffff4d}*::-webkit-scrollbar-thumb:active{background:#fff6}@media (max-width: 768px){.container{padding:12px}.card{padding:16px;margin-bottom:16px}.btn{padding:12px 16px;font-size:15px;min-height:44px}input,textarea,select{padding:12px;font-size:16px;min-height:44px}h1{font-size:24px}h2{font-size:20px}h3{font-size:18px}.mobile-menu-button{display:block!important;margin-right:-8px}.desktop-nav,.desktop-auth .user-info,.desktop-sign-in{display:none!important}.mobile-menu{display:block!important}nav{padding-left:12px!important;padding-right:12px!important}}@media (min-width: 769px){nav{padding-left:20px;padding-right:20px}}@media (max-width: 480px){.container{padding:8px}.card{padding:12px}.btn{width:100%;margin-bottom:8px}}@media (max-width: 1024px){.container{max-width:100%;padding:16px}.deck-grid{grid-template-columns:repeat(auto-fill,minmax(280px,1fr))!important}}@media (max-width: 768px){body{font-size:16px!important;overflow-x:hidden;-webkit-overflow-scrolling:touch}.container{padding:12px}button,a,input,select,textarea,.clickable{min-height:44px;min-width:44px}button{padding:12px 20px!important;font-size:15px!important}input,textarea,select{font-size:16px!important;padding:12px!important}h1{font-size:24px!important}h2{font-size:20px!important}h3{font-size:18px!important}p,span,div,label{font-size:15px!important;line-height:1.5!important}.desktop-nav{display:none!important}.mobile-menu-button,.mobile-menu{display:block!important}.nav-right button:not(.mobile-menu-button){display:none!important}.user-info{display:none!important}.desktop-sign-in{display:inline-block!important}.dashboard-header{flex-direction:column!important;align-items:flex-start!important;gap:16px!important;margin-bottom:20px!important}.dashboard-actions{width:100%!important;flex-direction:column!important;gap:10px!important}.dashboard-actions>*{width:100%!important}.dashboard-actions a,.dashboard-actions button{width:100%!important}.card>div:first-child{flex-direction:column!important;align-items:stretch!important;gap:16px!important}.card>div:first-child>div:last-child{flex-direction:column!important;width:100%!important;gap:10px!important}.card>div:first-child>div:last-child>button{width:100%!important}.deck-grid{grid-template-columns:1fr!important;gap:16px!important}.card .card>div:last-child{flex-direction:column!important;gap:8px!important}.card .card>div:last-child>button{width:100%!important}.deck-editor-header{flex-direction:column!important;align-items:flex-start!important;gap:16px!important}.deck-editor-header>div:last-child{width:100%!important;flex-wrap:wrap!important;gap:8px!important}.deck-editor-header>div:last-child>button,.deck-editor-header>div:last-child>div{flex:1 1 calc(50% - 4px)!important;min-width:140px!important}.deck-editor-header a{display:block!important;margin-bottom:8px!important}.deck-progress-meters{flex-direction:column!important;gap:12px!important;max-width:100%!important;overflow-x:hidden!important;box-sizing:border-box!important}.deck-progress-meters>div{width:100%!important;max-width:100%!important;min-width:0!important;flex-shrink:1!important}.deck-primer-container{margin-bottom:16px!important}.deck-primer-header{flex-wrap:wrap!important;gap:8px!important}.collapse-toggle{flex:1!important;min-width:200px!important}.riftbound-builder{flex-direction:column!important;height:auto!important;min-height:auto!important;max-height:none!important;overflow:visible!important;gap:0!important}.mobile-deck-toggle{display:flex!important}.deck-composition-sidebar{display:none!important;width:100%!important}.deck-composition-sidebar.mobile-visible{display:flex!important;width:100%!important;flex-shrink:1!important;max-height:500px!important;overflow-y:auto!important;margin-bottom:16px!important}.riftbound-builder>div:last-child{width:100%!important;flex:none!important}.deck-composition-sidebar>div{margin-bottom:12px!important}[role=tablist]{overflow-x:auto!important;overflow-y:hidden!important;white-space:nowrap!important;-webkit-overflow-scrolling:touch!important;scrollbar-width:none!important;display:flex!important;gap:4px!important}[role=tablist]::-webkit-scrollbar{display:none!important}[role=tab]{flex-shrink:0!important;min-width:100px!important;padding:12px 16px!important;font-size:14px!important}.card-grid{grid-template-columns:repeat(2,1fr)!important;gap:8px!important}.card-grid-mobile{width:100%!important;box-sizing:border-box!important}.card-grid-mobile>div{width:100%!important;box-sizing:border-box!important}.card-grid img{width:100%!important;height:auto!important}.card-grid-mobile .draggable-card,.card-grid-mobile .draggable-card img{width:100%!important;height:auto!important;display:block!important}.card-grid-mobile>div{display:flex!important;flex-direction:column!important}.deck-zones-container{flex-direction:column!important;gap:12px!important}.deck-zone{width:100%!important;min-height:150px!important}.legend-slot{width:100%!important;margin-bottom:16px!important}.deck-statistics{padding:12px!important}.deck-statistics-grid{grid-template-columns:repeat(2,1fr)!important;gap:8px!important}.riftbound-builder [style*="display: flex"][style*="alignItems: center"]{flex-wrap:wrap!important}.deck-list-view{max-height:300px!important;overflow-y:auto!important}.visual-card-browser{min-height:auto!important;max-height:none!important;height:auto!important;overflow:visible!important;max-width:100vw!important}.browser-main{min-height:auto!important;max-height:none!important;height:auto!important}.card-grid-container{max-width:100%!important;overflow-x:hidden!important;overflow-y:visible!important;height:auto!important;min-height:auto!important}.card-grid-mobile{height:auto!important;min-height:auto!important;overflow:visible!important}.browser-header{padding:10px 12px!important;max-width:100vw!important;overflow-x:hidden!important;box-sizing:border-box!important}.browser-header h3{font-size:14px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}.modal-overlay{padding:0!important}.modal-content{width:100%!important;max-width:100%!important;height:100%!important;max-height:100%!important;margin:0!important;border-radius:0!important;overflow-y:auto!important}.modal-header{padding:16px!important;position:sticky;top:0;background:#2a2a2a;z-index:10;border-bottom:1px solid #444}.modal-body{padding:16px!important}.modal-footer{padding:16px!important;flex-direction:column-reverse!important;gap:10px!important;position:sticky;bottom:0;background:#2a2a2a;border-top:1px solid #444}.modal-footer button{width:100%!important}.form-row{flex-direction:column!important;gap:12px!important}.form-group{width:100%!important}.form-actions{flex-direction:column!important;gap:10px!important}.form-actions button{width:100%!important}.history-panel{width:100%!important;max-width:100%!important;height:100%!important;max-height:100%!important;border-radius:0!important}.history-panel-header{padding:16px!important}.history-panel-content,.version-item{padding:12px!important}.version-actions{flex-direction:column!important;gap:8px!important}.version-actions button{width:100%!important}.card-detail-modal{width:100%!important;max-width:100%!important;height:100%!important;border-radius:0!important}.card-detail-image{max-width:100%!important;height:auto!important}.card-detail-info{padding:16px!important}.tooltip{display:none!important}.draggable-card{cursor:pointer!important}.mobile-stack{flex-direction:column!important}.mobile-full-width{width:100%!important}.mobile-hide{display:none!important}.mobile-show{display:block!important}.save-status{position:fixed!important;bottom:16px!important;right:16px!important;left:16px!important;width:auto!important;z-index:1001!important}[style*="padding: 16px 20px"]{padding:12px 16px!important;font-size:14px!important}}@media (max-width: 600px){.site-name{display:none!important}}@media (max-width: 480px){.container{padding:8px}.card{padding:12px!important;margin-bottom:12px!important}h1{font-size:20px!important}h2{font-size:18px!important}h3{font-size:16px!important}.card-grid{grid-template-columns:1fr!important;gap:6px!important}.deck-statistics-grid{grid-template-columns:1fr!important}button{padding:10px 16px!important;font-size:14px!important}.container>header>div>div:last-child>button,.container>header>div>div:last-child>div{flex:1 1 100%!important;min-width:100%!important}}@media (max-width: 896px) and (orientation: landscape){.modal-content{max-height:90vh!important}.history-panel{height:90vh!important;max-height:90vh!important}.deck-zones-container{flex-direction:row!important;flex-wrap:wrap!important}.deck-zone{width:calc(50% - 6px)!important}.card-grid{grid-template-columns:repeat(3,1fr)!important}}@media (hover: none) and (pointer: coarse){button,a,.clickable{padding:14px 20px!important}button:active,a:active,.clickable:active{opacity:.7;transform:scale(.98);transition:all .1s ease}.card:hover{transform:none!important}.card:active{transform:scale(.98)!important}}@keyframes slideIn{0%{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}
