/* main.css */
body{font-family:"Lato",sans-serif !important;height:auto}.body-full{height:auto}.break{flex-basis:100%;height:0}.color-scry{color:#3fc1b2}.bg-scry{background-color:#3fc1b2 !important}.color-scrylight{color:#3fc1b2}.bg-scrylight{background-color:#e8fdfb !important}.color-mine{color:#303030}.bg-mine{background-color:#303030 !important}.gradient{background:#9e9fa3;background:linear-gradient(49deg, rgb(158, 159, 163) 0%, rgb(82, 118, 223) 60%, rgb(65, 166, 193) 75%);background:linear-gradient(49deg, rgb(158, 159, 163) 0%, rgb(82, 118, 223) 60%, rgb(65, 166, 193) 75%);background:-webkit-linear-gradient(49deg, rgb(158, 159, 163) 0%, rgb(82, 118, 223) 60%, rgb(65, 166, 193) 75%);background:-moz-linear-gradient(49deg, rgb(158, 159, 163) 0%, rgb(82, 118, 223) 60%, rgb(65, 166, 193) 75%);background:-o-linear-gradient(49deg, rgb(158, 159, 163) 0%, rgb(82, 118, 223) 60%, rgb(65, 166, 193) 75%);background:-ms-linear-gradient(49deg, rgb(158, 159, 163) 0%, rgb(82, 118, 223) 60%, rgb(65, 166, 193) 75%)}.skeleton-gradient{background:#9e9fa3}@keyframes placeHolderShimmer{0%{background-position:-468px 0}100%{background-position:468px 0}}.animated-background{animation-duration:1s;animation-fill-mode:forwards;animation-iteration-count:infinite;animation-name:placeHolderShimmer;animation-timing-function:linear;background:#f6f7f8;background:linear-gradient(to right, #eeeeee 8%, #dddddd 18%, #eeeeee 33%);background-size:800px 104px;height:24px;width:30%;position:relative}.animated-background-titulo{animation-duration:1s;animation-fill-mode:forwards;animation-iteration-count:infinite;animation-name:placeHolderShimmer;animation-timing-function:linear;background:#f6f7f8;background:linear-gradient(to right, #eeeeee 8%, #dddddd 18%, #eeeeee 33%);background-size:800px 104px;height:43px;position:relative}.animated-background-edicion{animation-duration:1s;animation-fill-mode:forwards;animation-iteration-count:infinite;animation-name:placeHolderShimmer;animation-timing-function:linear;background:#f6f7f8;background:linear-gradient(to right, #eeeeee 8%, #dddddd 18%, #eeeeee 33%);background-size:800px 104px;height:24px;width:50%;position:relative}.animated-background-imagen{animation-duration:1s;animation-fill-mode:forwards;animation-iteration-count:infinite;animation-name:placeHolderShimmer;animation-timing-function:linear;background:#f6f7f8;background:linear-gradient(to right, #eeeeee 8%, #dddddd 18%, #eeeeee 33%);background-size:800px 104px;height:64px;width:100%;position:relative}img.logo{max-width:260px}img.teferi-suscripcion{max-width:100px;border-radius:50%;margin-bottom:20px}.logos-tienda .logo-tienda{display:flex;justify-content:center;align-items:center;padding:10px 25px}.logos-tienda .logo-tienda img{max-width:100px;max-height:60px}.logos-tienda .logo-tienda p{font-size:12px}@media(max-width: 768px){.logos-tienda .logo-tienda{padding:5px}.logos-tienda .logo-tienda img{width:30px;height:auto}}@media only screen and (max-device-width: 768px){.logos-tienda .logo-tienda{padding:5px}.logos-tienda .logo-tienda img{width:30px;height:auto}}#suscribeForm{position:fixed !important;width:100%;margin:0 auto;left:0;right:0;bottom:0;z-index:9999;padding-right:1rem}#suscribeForm h3{color:#fff}#suscribeForm p{line-height:1.2rem}#suscribeForm p small{font-size:11px;color:rgba(0,0,0,.4)}#suscribeForm .mc-field-group{display:flex;flex-direction:row;justify-content:center;margin:15px 0 5px}#suscribeForm .mc-field-group input[type=email]{margin:0 5px;border-radius:6px;border:0;min-width:250px}#suscribeForm .mc-field-group button#submit-form{font-size:11px;border-radius:6px;border:0}#suscribeForm .btn-close{padding:5px;top:5px;right:5px;font-size:12px}#top-bar{z-index:999}.main-adv{display:flex;margin:0 auto 20px;justify-content:center;align-items:center;width:100%;height:50px;background:#eaeaea;color:#000;border:1px solid rgba(0,0,0,.12)}@media(max-width: 768px){.main-adv{height:50px}}@media only screen and (max-device-width: 768px){.main-adv{height:50px}}.main-adv p{margin:0;padding:0}#bookmarks{position:fixed;top:0;right:0;height:100%;background-color:#f6f6f6;width:50%;z-index:9999999;transition:all 100ms ease-in-out}@media(max-width: 991px){#bookmarks{width:75%}}@media only screen and (max-device-width: 768px){#bookmarks{width:75%}}@media(max-width: 768px){#bookmarks{width:100%}}@media only screen and (max-device-width: 768px){#bookmarks{width:100%}}#bookmarks.dissappear{opacity:0;right:-50px;visibility:hidden;transition:all 100ms cubic-bezier(0.68, -0.55, 0.265, 1.55);transition-timing-function:cubic-bezier(0.68, -0.55, 0.265, 1.55)}#overlay-bookmarks{position:fixed;top:0;right:0;height:100%;background-color:rgba(0,0,0,.5);width:100%;height:100%;z-index:999999;transition:all 100ms ease-in-out;cursor:pointer}#overlay-bookmarks.dissappear{opacity:0;visibility:hidden;transition:all 100ms cubic-bezier(0.68, -0.55, 0.265, 1.55);transition-timing-function:cubic-bezier(0.68, -0.55, 0.265, 1.55)}.item-carta .card{border-top-left-radius:10px !important;border-top-right-radius:10px !important}.ultimas-cartas .form-floating{width:200px}@media(max-width: 768px){.ultimas-cartas .form-floating{width:100%}}@media only screen and (max-device-width: 768px){.ultimas-cartas .form-floating{width:100%}}.filter-card{border-radius:12px;background:#fafafa}.filter-card .card-body{padding:1rem 1.5rem}.filter-card .form-label{font-size:.8rem;font-weight:600;color:#555}.filter-card .form-select,.filter-card .form-control,.filter-card .input-group-text{border-radius:6px !important}.dropdown-menu{min-width:220px}.sidebar-filtros{font-size:.85rem}.sidebar-filtros .form-label{margin-bottom:.25rem;font-weight:500}.sidebar-filtros hr{margin:.4rem 0}.sidebar-filtros .form-check{margin-bottom:.2rem}.sidebar-filtros img{max-width:22px}.sidebar-filtros .input-group-text,.sidebar-filtros .form-select,.sidebar-filtros .form-control{font-size:.85rem}.sidebar-filtros .btn-sm{padding-top:.35rem;padding-bottom:.35rem}.img-head-registro{height:200px;background-size:cover;background-position:center center;background-repeat:no-repeat}#container_results tbody#results td{line-height:1.2rem}#container_results tbody#results td a.btn-primary{line-height:1rem}table#latest-marketplace td{vertical-align:middle}table#latest-marketplace td img{width:80px}.img-perfil-tienda{width:50px;height:50px;border-radius:50%;background-size:cover;background-position:center center}.item-lista-tienda{margin-bottom:1.2rem}.item-lista-tienda .card-header{text-align:center;min-height:200px;padding:0;background-repeat:no-repeat;background-size:cover;background-position:center center;position:relative;background-color:rgba(63,193,178,.5)}.item-lista-tienda .card-header a{display:block;position:absolute;width:100%;height:100%;z-index:1;text-decoration:none}.item-lista-tienda img{max-width:100%}#paginacion.btn-group span.btn{padding:0}#paginacion.btn-group span.btn.lk{padding:15px}#paginacion.btn-group span.btn a{padding:15px}@media(max-width: 768px){#filtros-tienda .filtro{width:100%}}@media only screen and (max-device-width: 768px){#filtros-tienda .filtro{width:100%}}.badges-resultados span.badge{display:flex;align-items:center}.badges-resultados span.badge img{height:15px}.contenedor-imagen-carta{position:relative;overflow:hidden}.contenedor-imagen-carta .es-foil{position:absolute;inset:0;pointer-events:none;z-index:5;opacity:.55;mix-blend-mode:screen;background:linear-gradient(115deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 215, 0, 0.25) 15%, rgba(0, 255, 255, 0.25) 30%, rgba(255, 0, 255, 0.25) 45%, rgba(255, 255, 255, 0.1) 60%, rgba(255, 215, 0, 0.25) 75%, rgba(255, 255, 255, 0.05) 100%);background-size:200% 200%;animation:foilMove 4s linear infinite}@keyframes foilMove{0%{background-position:0% 0%}50%{background-position:100% 100%}100%{background-position:0% 0%}}@media(max-width: 768px){#landing-bienvenida{background-position-y:100%;background-size:100%}}@media only screen and (max-device-width: 768px){#landing-bienvenida{background-position-y:100%;background-size:100%}}#landing-bienvenida .img-bienvenido{max-width:100%}#landing-bienvenida h3.crea-tu-tienda a{color:#000}.contenedor-imagen-carta{position:relative;overflow:hidden}.es-foil{position:absolute;inset:0;pointer-events:none;mix-blend-mode:screen;opacity:1;animation:foilMove 4s linear infinite;background:linear-gradient(115deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 215, 0, 0.25) 15%, rgba(0, 255, 255, 0.25) 30%, rgba(255, 0, 255, 0.25) 45%, rgba(255, 255, 255, 0.1) 60%, rgba(255, 215, 0, 0.25) 75%, rgba(255, 255, 255, 0.05) 100%);background-size:200% 200%}@keyframes foilMove{0%{background-position:0% 0%}50%{background-position:100% 100%}100%{background-position:0% 0%}}.mana-symbol{width:18px;height:18px;vertical-align:middle}.btn-header{font-size:.95rem;padding:.45rem 1.1rem;border-radius:.6rem}.btn-header{font-size:.9rem;padding:.45rem 1rem;border-radius:.6rem}@media(max-width: 575.98px){.header-actions{flex-direction:column;align-items:stretch;gap:.5rem}.btn-header{width:100%;text-align:center}}.info-box{background:#fff;border:1px solid #e6e6e6;border-radius:12px;box-shadow:0 2px 6px rgba(0,0,0,.05);transition:box-shadow .2s ease}.info-box:hover{box-shadow:0 4px 12px rgba(0,0,0,.08)}.contenedor-imagen-carta{position:relative}.card-flip-wrap{perspective:1000px}.card-flip-inner{position:relative;width:100%;transform-style:preserve-3d;transition:transform 420ms cubic-bezier(0.2, 0.8, 0.2, 1)}.card-flip-inner.is-flipped{transform:rotateY(180deg)}.card-face{display:block;width:100%;height:auto;backface-visibility:hidden;-webkit-backface-visibility:hidden}.card-back{position:absolute;inset:0;transform:rotateY(180deg)}.card-flip-wrap.no-flip .card-flip-inner{transform:none !important}.contenedor-imagen-carta .js-card-flip{z-index:5}.contenedor-imagen-carta .overlay-sin-stock{z-index:4}.btn-add-cart{background-color:#3fc1b2;color:#fff;font-weight:600;border:1px solid rgb(56.2637795276,174.2362204724,160.624015748);cursor:pointer;transition:background-color .15s ease,box-shadow .15s ease,transform .05s ease}.btn-add-cart i{opacity:.95}.btn-add-cart:hover{background-color:rgb(55.0188976378,170.3811023622,157.0700787402);box-shadow:0 4px 12px rgba(63,193,178,.35);color:#fff}.btn-add-cart:active{background-color:rgb(50.0393700787,154.9606299213,142.8543307087);transform:translateY(1px);box-shadow:inset 0 2px 6px rgba(0,0,0,.15)}.btn-add-cart.disabled,.btn-add-cart[aria-disabled=true]{background-color:#e8fdfb;border-color:rgb(159.3779527559,224.1220472441,216.6515748031);color:rgba(63,193,178,.5);cursor:not-allowed;box-shadow:none;transform:none}.btn-add-cart.disabled i,.btn-add-cart[aria-disabled=true] i{opacity:.5}.scry-store-title{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}@media(max-width: 576px){.scry-store-title{white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}}.scry-pill-verified{background:rgba(63,193,178,.18);border-color:rgba(63,193,178,.35);color:#0b6b63}.scry-pill-unverified{background:rgba(255,214,0,.2);border-color:rgba(255,214,0,.55);color:#7a5a00}.ratio-3x4{position:relative;width:100%;padding-top:133.3333%}.ratio-3x4>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}.staple-card{transition:transform .15s ease,box-shadow .15s ease;cursor:pointer}.staple-card:hover{transform:translateY(-2px);background-color:#e8fdfb}.staple-card:hover .border{box-shadow:0 6px 18px rgba(0,0,0,.12)}th.sortable{cursor:pointer;user-select:none}th.sortable:hover{text-decoration:underline}.sort-indicator{font-size:12px;margin-left:6px;opacity:.75}#homeSearchTabs li.nav-item button.active{background-color:#e8fdfb !important}.scry-buybar{border-radius:14px;padding:10px;background:#fff;position:fixed}.scry-buybar__qty{width:64px;height:34px;padding-top:0;padding-bottom:0}.scry-buybar__add{height:34px;padding:0 12px;display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:10px;line-height:1;font-size:.95rem;flex:1 1 auto}.scry-buybar__cart{width:42px;height:34px;padding:0;display:inline-flex;align-items:center;justify-content:center}.scry-buybar__feedback{margin-top:8px;display:none}.scry-buybar__feedback.is-show{display:block;animation:scryFadeUp 250ms ease-out}@keyframes scryFadeUp{from{opacity:0;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}.scry-buybar__add.is-loading{opacity:.85;pointer-events:none}.scry-buybar__add.is-loading .scry-buybar__add-text{opacity:.9}.scry-logo-mobile{height:22px;width:auto;max-width:100%;object-fit:contain;display:block}.scry-slogan-mobile{font-size:12px;line-height:1.1;margin-top:2px}.scry-cartbtn{width:52px;height:36px;padding:0;border-radius:12px;display:inline-flex;align-items:center;justify-content:center}.scry-cartbadge{top:-10px !important;right:-9px;transform:none !important}body{padding-top:var(--scry-sticky-total-h, 0px);padding-top:0 !important}.scry-sticky-topbar{position:sticky;top:0;z-index:200}.scry-sticky-header{position:sticky;top:var(--scry-topbar-h, 0px);z-index:100;box-shadow:0 6px 18px rgba(0,0,0,.08)}.hero-bg{position:relative;background-color:#e8fdfb}.hero-bg::before{content:"";position:absolute;inset:0;background-image:radial-gradient(circle, rgba(63, 193, 178, 0.35) 1px, transparent 1.6px);background-size:14px 14px;background-position:center;pointer-events:none}.hero-bg::after{content:"";position:absolute;inset:0;background:linear-gradient(to bottom, #ffffff 0%, rgba(232, 253, 251, 0.95) 25%, rgba(232, 253, 251, 0.85) 45%, rgba(232, 253, 251, 0.6) 65%, rgba(232, 253, 251, 0) 85%);pointer-events:none}.hero-bg>*{position:relative;z-index:1}.settings-tabs-wrap{overflow-x:auto;-webkit-overflow-scrolling:touch}.settings-tabs{flex-wrap:nowrap;white-space:nowrap}.settings-tabs .nav-link{padding:.55rem .75rem;font-size:.95rem;line-height:1;border-radius:.6rem .6rem 0 0}.settings-tabs .tab-label{white-space:nowrap}.settings-tabs-wrap::-webkit-scrollbar{height:8px}.settings-tabs-wrap::-webkit-scrollbar-thumb{border-radius:999px}@media(max-width: 420px){.settings-tabs .nav-link{padding:.5rem .65rem;font-size:.9rem}}.scry-hero{overflow:hidden}.scry-hero .scry-badge{background:rgba(63,193,178,.18);color:#303030;border:1px solid rgba(63,193,178,.35);font-weight:600}.scry-hero .hero-title{color:#303030;font-weight:800;letter-spacing:-0.02em;line-height:1.1;margin:0}.scry-hero .hero-title span{color:rgb(40.0803149606,124.1196850394,114.4228346457);display:inline-block}.scry-hero .hero-sub{color:rgba(48,48,48,.86);font-size:1.05rem;line-height:1.45;max-width:38rem}.scry-hero .btn-scry-primary{background:#3fc1b2;border:1px solid rgb(52.5291338583,162.6708661417,149.9622047244);color:#fff;font-weight:700;padding:.75rem 1.1rem;border-radius:12px}.scry-hero .btn-scry-primary:hover{background:rgb(55.0188976378,170.3811023622,157.0700787402);border-color:rgb(47.5496062992,147.2503937008,135.7464566929);color:#fff}.scry-hero .btn-scry-outline{background:rgba(0,0,0,0);border:1px solid rgba(63,193,178,.7);color:rgb(40.0803149606,124.1196850394,114.4228346457);font-weight:700;padding:.75rem 1.1rem;border-radius:12px}.scry-hero .btn-scry-outline:hover{background:rgba(63,193,178,.1);color:rgb(35.1007874016,108.6992125984,100.2070866142)}.scry-hero .hero-note{color:rgba(48,48,48,.72);font-size:.9rem}.scry-hero .hero-img-wrap{position:relative;border-radius:16px;overflow:hidden;border:1px solid rgba(63,193,178,.25)}.scry-hero .hero-img-wrap:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg, rgba(63, 193, 178, 0.2) 0%, rgba(0, 0, 0, 0) 55%);pointer-events:none}.scry-hero .hero-img{display:block;width:100%;height:auto;transform:scale(1.02)}.scry-hero .hero-carousel .carousel-inner{min-height:3.4em;display:flex;align-items:center}.scry-hero .hero-carousel .carousel-item{text-align:left}.scry-hero .hero-carousel .hero-sub{line-height:1.45}.scry-hero .hero-carousel .carousel-control-prev,.scry-hero .hero-carousel .carousel-control-next{width:44px;opacity:.55}@media(max-width: 576px){.scry-hero .hero-carousel .carousel-inner{min-height:4.2em}}@media(max-width: 991.98px){.scry-hero{border-radius:12px}.scry-hero .hero-title{font-size:2rem}.scry-hero .hero-sub{font-size:1rem}.scry-hero .hero-carousel .carousel-control-prev,.scry-hero .hero-carousel .carousel-control-next{display:none}}.scry-hero .hero-stats{display:flex;flex-wrap:wrap;gap:12px;margin-top:12px}.scry-hero .hero-stat{background:#fff;border:1px solid rgba(63,193,178,.35);border-radius:12px;padding:8px 12px;min-width:120px;text-align:center}.scry-hero .hero-stat strong{display:block;color:#303030;font-weight:800;font-size:1rem;line-height:1.1}.scry-hero .hero-stat span{display:block;color:rgba(48,48,48,.7);font-size:.75rem;white-space:nowrap}@media(max-width: 576px){.scry-hero .hero-stats{overflow-x:auto;flex-wrap:nowrap;padding-bottom:4px}}.hero-tagline-wrap{position:relative;overflow:hidden;min-height:3.6em;display:flex;align-items:center}.hero-sub{line-height:1.45}@media(max-width: 576px){.hero-tagline-wrap{min-height:4.4em}}.feature-scry{border-color:rgba(48,48,48,.1) !important;box-shadow:0 10px 24px rgba(0,0,0,.04);position:relative;overflow:hidden}.feature-scry::before{content:"";position:absolute;inset:0;background:linear-gradient(120deg, #e8fdfb 0%, white 55%);opacity:.55;pointer-events:none}.feature-scry>*{position:relative}.feature-alt::before{background:linear-gradient(120deg, white 0%, #e8fdfb 70%);opacity:.65}.feature-link{color:#3fc1b2;text-decoration:none}.feature-link:hover{text-decoration:underline}.btn-scry{background:#3fc1b2;border-color:#3fc1b2;color:#fff;font-weight:600;border-radius:12px}.btn-scry:hover{background-color:#303030;color:#fff}.feature-badge{background:hsla(0,0%,100%,.9);border:1px solid rgba(48,48,48,.12);color:rgba(48,48,48,.75);padding:.6rem .9rem;border-radius:999px;font-weight:500}.feature-panel{background:hsla(0,0%,100%,.75);border:1px solid rgba(48,48,48,.1);border-radius:16px;padding:16px}.feature-logo{height:74px;flex:1 1 0;border-radius:14px;border:1px solid rgba(48,48,48,.1);background:#fff;display:flex;align-items:center;justify-content:center;padding:12px}.feature-logo img{max-height:42px;max-width:180px;object-fit:contain}.feature-mini-grid{display:grid;grid-template-columns:repeat(3, minmax(0, 1fr));gap:12px}.feature-mini-card{border:1px solid rgba(48,48,48,.1);background:#fff;border-radius:14px;padding:12px}@media(max-width: 991.98px){.feature-mini-grid{grid-template-columns:1fr}}#btn-google-register:hover{background:#f8f9fa !important;border-color:#d2d6da !important}#btn-google-login:hover{background:#f8f9fa !important;border-color:#d2d6da !important}
/* scry-components.css */
.scry-article-copy { min-width: 0; flex: 1 1 14rem; overflow-wrap: anywhere; }
.scry-article-row { border-bottom: 1px solid var(--bs-border-color); }
.scry-articles-page aside p { max-width: 65ch; }
.scry-articles-page .scry-article-row:last-child { border-bottom: 0; }
.scry-articles-page .scry-article-row:first-child { padding-top: 0 !important; }
.scry-articles-page .scry-article-row:last-child { padding-bottom: 0 !important; }
.scry-articles-page .scry-article-row .btn { min-height: 2.75rem; display: inline-flex; align-items: center; }
.scry-article-status { display: inline-block; padding: 0.25rem 0.5rem; border-radius: 0.25rem; font-size: 0.75rem; font-weight: 700; }
@media (max-width: 575.98px) {
  .scry-articles-page .scry-article-row > form,
  .scry-articles-page .scry-article-row > a { width: 100%; }
  .scry-articles-page .scry-article-row > form .btn { width: 100%; justify-content: center; }
  .scry-articles-page .scry-article-row > a { justify-content: center; }
}

.scry-page-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--scry-space-4);
  flex-wrap: wrap;
}

.scry-page-heading {
  min-width: 0;
}

.scry-page-title {
  margin: 0;
  color: var(--scry-text-primary);
  font-size: 2rem;
  line-height: 1.1;
  font-weight: 800;
}

.scry-page-subtitle {
  margin: 0.35rem 0 0;
  color: var(--scry-text-secondary);
  font-size: 0.92rem;
  line-height: 1.45;
}

.scry-page-actions {
  display: flex;
  align-items: center;
  gap: var(--scry-space-3);
  flex-wrap: wrap;
}

.scry-surface-card {
  border: 1px solid var(--scry-border-default);
  border-radius: var(--scry-radius-md);
  background: linear-gradient(180deg, var(--scry-surface-0) 0%, var(--scry-surface-1) 100%);
  box-shadow: var(--scry-shadow-sm);
}

.scry-surface-card-soft {
  border-color: var(--scry-border-soft);
  background: linear-gradient(180deg, var(--scry-surface-2) 0%, var(--scry-surface-0) 100%);
}

.scry-surface-card-accent {
  border-color: var(--scry-border-strong);
  background:
    radial-gradient(circle at top right, rgba(var(--scry-accent-primary-soft-rgb), 0.24) 0%, rgba(var(--scry-accent-primary-soft-rgb), 0) 42%) padding-box,
    linear-gradient(180deg, var(--scry-surface-2) 0%, var(--scry-surface-0) 100%) padding-box;
}

.scry-surface-card-body {
  padding: 1rem 1.05rem;
}

.scry-section-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--scry-border-soft);
  border-radius: var(--scry-radius-xl);
  background:
    radial-gradient(circle at top left, rgba(var(--scry-accent-primary-soft-rgb), 0.24) 0%, rgba(var(--scry-accent-primary-soft-rgb), 0) 42%) padding-box,
    linear-gradient(180deg, var(--scry-surface-2) 0%, var(--scry-surface-0) 100%) padding-box;
  box-shadow: var(--scry-shadow-md);
}

.scry-section-card-body {
  padding: 1rem 1.05rem;
}

.scry-report-period__heading {
  margin-bottom: 1rem;
}

.scry-report-period__shortcuts {
  display: flex;
  gap: 0.5rem;
  margin: 0 0 1.15rem;
  overflow-x: auto;
  padding-bottom: 0.15rem;
}

.scry-report-period__shortcut {
  flex: 0 0 auto;
  border: 1px solid var(--scry-border-default);
  border-radius: var(--scry-radius-sm);
  background: var(--scry-surface-0);
  color: var(--scry-text-secondary);
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.2;
  padding: 0.55rem 0.72rem;
  text-decoration: none;
}

.scry-report-period__shortcut:hover,
.scry-report-period__shortcut:focus,
.scry-report-period__shortcut.is-active {
  border-color: var(--scry-border-strong);
  background: var(--scry-surface-2);
  color: var(--scry-text-primary);
  text-decoration: none;
}

.scry-report-period__scope {
  color: var(--scry-text-secondary);
  font-size: 0.88rem;
  line-height: 1.4;
  margin-top: 1rem;
}

.scry-report-period__output {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 1rem;
  border-top: 1px solid var(--scry-border-soft);
  padding-top: 1rem;
}

.scry-report-period__metric-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.scry-report-period__metric-grid .is-net {
  grid-column: 1 / -1;
}

.scry-report-export {
  border-left: 1px solid var(--scry-border-soft);
  padding-left: 1rem;
}

.scry-report-export__types {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  border: 0;
  margin: 0;
  padding: 0;
}

.scry-report-export__types legend {
  color: var(--scry-text-primary);
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 0.55rem;
}

.scry-report-export__type {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  min-width: 0;
  border: 1px solid var(--scry-border-default);
  border-radius: var(--scry-radius-md);
  background: var(--scry-surface-0);
  color: var(--scry-text-primary);
  cursor: pointer;
  padding: 0.85rem 0.9rem;
}

.scry-report-export__type::before {
  content: '';
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  margin-top: 0.1rem;
  border: 2px solid var(--scry-border-default);
  border-radius: 50%;
}

.scry-report-export__type:has(input:checked) {
  border-color: var(--scry-border-strong);
  background: var(--scry-surface-2);
}

.scry-report-export__type:has(input:checked)::before {
  border-color: var(--scry-accent-primary);
  background: var(--scry-accent-primary);
  box-shadow: inset 0 0 0 3px var(--scry-surface-0);
}

.scry-report-export__type:has(input:focus-visible) {
  outline: 2px solid var(--scry-accent-primary);
  outline-offset: 2px;
}

.scry-report-export__type input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.scry-report-export__type span {
  min-width: 0;
}

.scry-report-export__type strong,
.scry-report-export__type small {
  display: block;
}

.scry-report-export__type small {
  color: var(--scry-text-secondary);
  line-height: 1.35;
  margin-top: 0.2rem;
}

.scry-report-export__footer {
  align-items: center;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  margin-top: 1rem;
}

.scry-metric-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.scry-metric-grid.is-sales-summary {
  grid-template-columns: minmax(0, 1.18fr) repeat(4, minmax(0, 1fr));
}

.scry-metric-card {
  border: 1px solid var(--scry-border-default);
  border-radius: var(--scry-radius-md);
  background: linear-gradient(180deg, var(--scry-surface-0) 0%, var(--scry-surface-1) 100%);
  box-shadow: var(--scry-shadow-sm);
  padding: 1rem 1.05rem;
  height: 100%;
}

.scry-metric-card.is-compact {
  padding: 0.9rem 1rem;
}

.scry-metric-card.is-primary {
  border-color: var(--scry-border-strong);
  background: linear-gradient(180deg, var(--scry-surface-2) 0%, var(--scry-surface-0) 100%);
}

.scry-metric-label {
  margin: 0 0 0.35rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(31, 41, 55, 0.58);
}

[data-bs-theme="dark"] .scry-metric-label,
body[data-bs-theme="dark"] .scry-metric-label {
  color: rgba(229, 237, 245, 0.58);
}

.scry-metric-value {
  margin: 0;
  color: var(--scry-text-primary);
  font-size: 1.7rem;
  line-height: 1.05;
  font-weight: 800;
}

.scry-metric-value.is-money {
  font-size: 2rem;
}

.scry-metric-card.is-compact .scry-metric-value,
.scry-metric-card.is-compact .scry-metric-value.is-money {
  font-size: 1.65rem;
}

.scry-referral-panel {
  border: 1px solid var(--scry-border-default);
  border-radius: var(--scry-radius-md);
  background:
    linear-gradient(135deg, rgba(var(--scry-accent-primary-soft-rgb), 0.18) 0%, rgba(var(--scry-accent-primary-soft-rgb), 0) 46%) padding-box,
    linear-gradient(180deg, var(--scry-surface-0) 0%, var(--scry-surface-1) 100%) padding-box;
  box-shadow: var(--scry-shadow-sm);
  padding: 1rem;
}

.scry-referral-panel__content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.scry-referral-panel__copy {
  min-width: 0;
}

.scry-referral-panel__eyebrow {
  display: inline-flex;
  align-items: center;
  margin-bottom: 0.35rem;
  color: var(--scry-accent-primary-strong);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.scry-referral-panel h2 {
  margin: 0;
  color: var(--scry-text-primary);
  font-size: 1.05rem;
  line-height: 1.25;
  font-weight: 800;
}

.scry-referral-panel p {
  max-width: 54rem;
  margin: 0.35rem 0 0;
  color: var(--scry-text-secondary);
  font-size: 0.9rem;
  line-height: 1.45;
}

.scry-referral-help {
  margin-top: 0.35rem;
  font-weight: 700;
  text-decoration: none;
}

.scry-referral-panel__actions {
  width: min(100%, 31rem);
  flex: 0 0 min(100%, 31rem);
}

.scry-referral-panel__stats {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 0.55rem;
  color: var(--scry-text-secondary);
  font-size: 0.78rem;
}

.scry-referral-panel__stats span {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.2rem 0.45rem;
  border: 1px solid var(--scry-border-soft);
  border-radius: var(--scry-radius-sm);
  background: var(--scry-surface-0);
}

.scry-referral-link-group .form-control {
  min-width: 0;
  font-size: 0.8rem;
}

.scry-referrals-page {
  color: var(--scry-text-primary);
}

.scry-referrals-hero,
.scry-referrals-panel,
.scry-referrals-rules,
.scry-referrals-final {
  border: 1px solid var(--scry-border-default);
  border-radius: var(--scry-radius-lg);
  background: linear-gradient(180deg, var(--scry-surface-0) 0%, var(--scry-surface-1) 100%);
  box-shadow: var(--scry-shadow-sm);
}

.scry-referrals-hero {
  background:
    linear-gradient(135deg, rgba(var(--scry-accent-primary-soft-rgb), 0.2) 0%, rgba(var(--scry-accent-primary-soft-rgb), 0) 46%),
    linear-gradient(180deg, var(--scry-surface-0) 0%, var(--scry-surface-1) 100%);
}

.scry-referrals-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 28rem;
  padding: clamp(1.25rem, 4vw, 3rem);
}

.scry-referrals-kicker {
  margin-bottom: 0.55rem;
  color: var(--scry-accent-primary-strong);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.scry-referrals-hero h1 {
  max-width: 44rem;
  margin: 0;
  color: var(--scry-text-primary);
  font-size: 4.1rem;
  line-height: 0.98;
  font-weight: 900;
}

.scry-referrals-lead {
  max-width: 44rem;
  margin: 1rem 0 0;
  color: var(--scry-text-secondary);
  font-size: 1.18rem;
  line-height: 1.5;
}

.scry-referrals-actions,
.scry-referrals-proof-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.scry-referrals-actions {
  margin-top: 1.25rem;
}

.scry-referrals-link-box {
  width: min(100%, 42rem);
  margin-top: 1.25rem;
}

.scry-referrals-link-group .form-control {
  min-width: 0;
  min-height: 2.75rem;
  border-color: var(--scry-border-default);
  background: var(--scry-surface-0);
  color: var(--scry-text-primary);
  font-weight: 700;
}

.scry-referrals-link-group .btn {
  min-height: 2.75rem;
  font-weight: 800;
}

.scry-referrals-link-group .btn-outline-primary {
  color: var(--scry-text-primary);
  border-color: var(--scry-border-strong);
  background: var(--scry-surface-0);
}

.scry-referrals-link-group .btn-outline-primary:hover,
.scry-referrals-link-group .btn-outline-primary:focus {
  color: var(--scry-text-primary);
  border-color: var(--scry-border-strong);
  background: var(--scry-surface-2);
}

.scry-referrals-link-group .btn-outline-success {
  color: #052e16;
  border-color: rgba(187, 247, 208, 0.82);
  background: #bbf7d0;
}

.scry-referrals-link-group .btn-outline-success:hover,
.scry-referrals-link-group .btn-outline-success:focus {
  color: #052e16;
  border-color: rgba(134, 239, 172, 0.95);
  background: #86efac;
}

.scry-referrals-btn-primary,
.scry-referrals-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 2.75rem;
  border-radius: var(--scry-radius-md);
  padding: 0.65rem 1rem;
  font-weight: 800;
  line-height: 1.2;
}

.scry-referrals-btn-primary {
  color: #052e16;
  border-color: rgba(20, 184, 166, 0.35);
  background: linear-gradient(180deg, #67e8f9 0%, #34d399 100%);
}

.scry-referrals-btn-primary:hover,
.scry-referrals-btn-primary:focus {
  color: #052e16;
  filter: brightness(0.98);
}

.scry-referrals-btn-secondary {
  color: var(--scry-text-primary);
  border: 1px solid var(--scry-border-default);
  background: var(--scry-surface-0);
}

.scry-referrals-btn-secondary:hover,
.scry-referrals-btn-secondary:focus {
  color: var(--scry-text-primary);
  border-color: var(--scry-border-strong);
}

.scry-referrals-proof-grid {
  margin-top: 1.25rem;
}

.scry-referrals-proof {
  min-width: 8.5rem;
  border: 1px solid var(--scry-border-soft);
  border-radius: var(--scry-radius-md);
  background: var(--scry-surface-0);
  padding: 0.75rem 0.85rem;
}

.scry-referrals-proof strong {
  display: block;
  color: var(--scry-text-primary);
  font-size: 1.35rem;
  line-height: 1.05;
  font-weight: 900;
}

.scry-referrals-proof span {
  display: block;
  margin-top: 0.25rem;
  color: var(--scry-text-secondary);
  font-size: 0.82rem;
  line-height: 1.3;
}

.scry-referrals-hero__media {
  position: relative;
  min-height: 28rem;
  height: 100%;
  background: #0f172a;
}

.scry-referrals-hero__media img {
  width: 100%;
  height: 100%;
  min-height: 28rem;
  display: block;
  object-fit: cover;
  object-position: center;
}

.scry-referrals-hero__badge {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--scry-radius-md);
  background: rgba(15, 23, 42, 0.86);
  color: #ffffff;
  padding: 0.85rem 1rem;
  backdrop-filter: blur(10px);
}

.scry-referrals-hero__badge span,
.scry-referrals-hero__badge strong {
  display: block;
}

.scry-referrals-hero__badge span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.scry-referrals-hero__badge strong {
  margin-top: 0.2rem;
  font-size: 1rem;
  line-height: 1.25;
}

.scry-referrals-panel,
.scry-referrals-rules,
.scry-referrals-final {
  padding: 1rem;
}

.scry-referrals-panel__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  margin-bottom: 0.8rem;
  border-radius: var(--scry-radius-md);
  color: #052e16;
  background: linear-gradient(180deg, #a7f3d0 0%, #67e8f9 100%);
}

.scry-referrals-panel h2,
.scry-referrals-rules h2,
.scry-referrals-final h2 {
  margin: 0;
  color: var(--scry-text-primary);
  font-weight: 800;
  line-height: 1.18;
}

.scry-referrals-panel h2 {
  font-size: 1.15rem;
}

.scry-referrals-rules h2,
.scry-referrals-final h2 {
  font-size: 1.85rem;
}

.scry-referrals-panel p {
  margin: 0.55rem 0 0;
  color: var(--scry-text-secondary);
  line-height: 1.45;
}

.scry-referrals-rule-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  margin-top: 1rem;
}

.scry-referrals-rule {
  border: 1px solid var(--scry-border-soft);
  border-radius: var(--scry-radius-md);
  background: var(--scry-surface-0);
  padding: 0.85rem;
}

.scry-referrals-rule strong,
.scry-referrals-rule span {
  display: block;
}

.scry-referrals-rule strong {
  color: var(--scry-text-primary);
  font-weight: 800;
}

.scry-referrals-rule span {
  margin-top: 0.35rem;
  color: var(--scry-text-secondary);
  font-size: 0.9rem;
  line-height: 1.45;
}

.scry-referrals-final {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.scry-referrals-final h2 {
  max-width: 45rem;
}

@media (max-width: 991.98px) {
  .scry-referral-panel__content {
    align-items: stretch;
    flex-direction: column;
  }

  .scry-referral-panel__actions {
    width: 100%;
    flex-basis: auto;
  }

  .scry-referrals-hero__copy,
  .scry-referrals-hero__media,
  .scry-referrals-hero__media img {
    min-height: auto;
  }

  .scry-referrals-hero__media img {
    aspect-ratio: 16 / 10;
  }

  .scry-referrals-hero h1 {
    font-size: 3rem;
  }

  .scry-referrals-lead {
    font-size: 1.05rem;
  }

  .scry-referrals-rule-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 575.98px) {
  .scry-referrals-actions,
  .scry-referrals-btn-primary,
  .scry-referrals-btn-secondary {
    width: 100%;
  }

  .scry-referrals-proof {
    flex: 1 1 100%;
  }

  .scry-referrals-rule-grid {
    grid-template-columns: 1fr;
  }

  .scry-referrals-link-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
  }

  .scry-referrals-link-group .form-control {
    grid-column: 1 / -1;
    width: 100%;
    border-radius: var(--scry-radius-md) !important;
  }

  .scry-referrals-link-group .btn {
    width: 100%;
    border-radius: var(--scry-radius-md) !important;
  }

  .scry-referrals-hero h1 {
    font-size: 2.35rem;
  }

  .scry-referrals-rules h2,
  .scry-referrals-final h2 {
    font-size: 1.45rem;
  }
}

/* Editor de carta: flujo operativo de publicación, imagen y configuración. */
.scry-card-editor {
  max-width: 1280px;
  margin: 0 auto;
  color: var(--scry-text-primary);
}

.scry-card-editor__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--scry-border-soft);
}

.scry-card-editor__title,
.scry-card-editor__section-title {
  color: var(--scry-text-primary);
  overflow-wrap: anywhere;
}

.scry-card-editor__title {
  font-size: clamp(1.5rem, 2.5vw, 2.2rem);
  font-weight: 800;
  line-height: 1.12;
}

.scry-card-editor__section-title {
  margin: 0 0 .9rem;
  font-size: 1.05rem;
  font-weight: 800;
}

.scry-card-editor__image-card {
  background: var(--scry-surface-elevated);
}

.scry-card-editor__image {
  display: block;
  width: 100%;
  aspect-ratio: 5 / 7;
  background: var(--scry-surface-2);
  object-fit: contain;
  object-position: center;
}

.scry-card-editor .card-image-fallback-panel {
  background: rgba(var(--scry-accent-primary-soft-rgb), .08);
  border-color: rgba(var(--scry-accent-primary-soft-rgb), .28) !important;
}

.scry-card-editor .card-image-fallback-panel .form-control {
  min-width: 0;
}

.scry-card-editor__folders {
  min-width: 0;
  margin: 0;
  padding: .9rem;
  border: 1px solid var(--scry-border-soft);
  border-radius: var(--scry-radius-md);
  background: var(--scry-surface-0);
}

.scry-card-editor__folders legend {
  float: none;
  width: auto;
  margin: 0;
  padding: 0 .25rem;
  color: var(--scry-text-primary);
  font-size: .9rem;
  font-weight: 800;
  line-height: 1.25;
}

.scry-card-editor__folders .form-check {
  min-height: 2rem;
  margin-bottom: .15rem;
}

.scry-card-editor__folders .form-check-label {
  overflow-wrap: anywhere;
}

.scry-card-editor__offers {
  border: 1px solid var(--scry-border-default);
  border-radius: var(--scry-radius-md);
  background: var(--scry-surface-0);
}

.scry-card-editor__offers > summary {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .9rem 1rem;
  color: var(--scry-text-primary);
  cursor: pointer;
  font-weight: 800;
}

.scry-card-editor__offers > summary::marker {
  content: '';
}

.scry-card-editor__offers > summary > .small {
  min-width: 0;
  margin-left: auto;
  text-align: right;
}

.scry-card-editor__offers-indicator {
  width: .55rem;
  height: .55rem;
  flex: 0 0 auto;
  margin: -.25rem .2rem 0 0;
  border: solid currentColor;
  border-width: 0 2px 2px 0;
  transform: rotate(-45deg);
  transition: transform .16s ease;
}

.scry-card-editor__offers[open] .scry-card-editor__offers-indicator {
  margin-top: -.3rem;
  transform: rotate(45deg);
}

.scry-card-editor__offers-body {
  padding: 0 1rem 1rem;
  border-top: 1px solid var(--scry-border-soft);
}

.scry-card-editor__metadata {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--scry-border-soft);
}

.scry-card-editor__metadata-danger {
  display: flex;
  justify-content: flex-end;
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--scry-border-soft);
}

.scry-card-editor__readonly {
  background: var(--scry-surface-2) !important;
  border-color: var(--scry-border-default) !important;
  color: var(--scry-text-secondary) !important;
}

.scry-card-editor__identity-lock {
  pointer-events: none;
  cursor: not-allowed;
  background: var(--scry-surface-2) !important;
  color: var(--scry-text-secondary) !important;
}

.scry-card-editor__image-lock-notice {
  margin: .7rem 0 0;
  color: var(--scry-text-secondary);
}

.scry-card-editor__actions {
  margin: 0;
  padding: 0;
  background: transparent;
}

.scry-card-editor__actions-primary {
  display: flex;
  align-items: center;
}

.scry-card-editor__actions-primary {
  justify-content: space-between;
  gap: .75rem;
}

.scry-card-editor__actions .btn,
.scry-card-editor .pos-btn-primary {
  min-height: 2.45rem;
  font-weight: 700;
}

@media (max-width: 767.98px) {
  .scry-card-editor__header {
    align-items: stretch;
    flex-direction: column;
  }

  .scry-card-editor .pos-btn-primary,
  .scry-card-editor__actions-primary .btn {
    width: 100%;
  }

  .scry-card-editor__actions-primary {
    align-items: stretch;
    flex-direction: column;
  }

  .scry-card-editor__metadata-danger .btn {
    width: auto;
  }

  .scry-card-editor__image-card {
    max-width: 340px;
    margin: 0 auto;
  }

  .scry-card-editor__offers > summary > .small {
    max-width: 58%;
  }
}

@media (pointer: coarse) {
  .scry-card-editor .form-control,
  .scry-card-editor .form-select,
  .scry-card-editor .btn {
    min-height: 2.75rem;
  }
}

.scry-metric-meta {
  margin: 0.3rem 0 0;
  color: var(--scry-text-secondary);
  font-size: 0.78rem;
  font-weight: 700;
}

.scry-metric-copy {
  margin: 0.4rem 0 0;
  color: var(--scry-text-secondary);
  line-height: 1.4;
  font-size: 0.88rem;
}

.scry-note-card {
  border: 1px solid var(--scry-border-default);
  border-radius: var(--scry-radius-md);
  background: var(--scry-surface-0);
  box-shadow: var(--scry-shadow-sm);
  padding: 0.9rem 1rem;
}

.scry-note-card p:last-child,
.scry-note-card .small:last-child {
  margin-bottom: 0;
}

.scry-sales-summary-toggle {
  width: 100%;
  border: 1px solid var(--scry-border-default);
  border-radius: var(--scry-radius-md);
  background:
    radial-gradient(circle at top left, rgba(var(--scry-accent-primary-soft-rgb), 0.22) 0%, rgba(var(--scry-accent-primary-soft-rgb), 0) 48%),
    linear-gradient(180deg, var(--scry-surface-2) 0%, var(--scry-surface-0) 100%);
  box-shadow: var(--scry-shadow-sm);
  color: var(--scry-text-primary);
  cursor: pointer;
}

.scry-sales-summary-toggle:focus-visible {
  outline: 0;
  box-shadow: 0 0 0 0.2rem rgba(var(--scry-accent-primary-soft-rgb), 0.42);
}

.scry-sales-summary-toggle__content {
  min-width: 0;
}

.scry-sales-summary-toggle__eyebrow {
  display: block;
  color: var(--scry-text-secondary);
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.15;
  text-transform: uppercase;
}

.scry-sales-summary-toggle__primary {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.45rem;
  align-items: baseline;
  margin-top: 0.18rem;
  font-size: 0.92rem;
  line-height: 1.25;
}

.scry-sales-summary-toggle__primary strong {
  font-size: 1.1rem;
  line-height: 1.15;
}

.scry-sales-summary-toggle__meta {
  align-self: center;
  border: 1px solid var(--scry-border-soft);
  border-radius: 999px;
  padding: 0.22rem 0.55rem;
  color: var(--scry-text-secondary);
  font-size: 0.73rem;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
}

.scry-sales-summary-toggle__icon {
  color: var(--scry-text-secondary);
  line-height: 1;
  transition: transform 180ms ease, color 180ms ease;
}

.scry-sales-summary-toggle[aria-expanded="true"] .scry-sales-summary-toggle__icon {
  color: var(--scry-text-primary);
  transform: rotate(180deg);
}

.scry-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--scry-space-3);
  flex-wrap: wrap;
}

.scry-toolbar-group {
  display: flex;
  align-items: center;
  gap: var(--scry-space-3);
  flex-wrap: wrap;
  min-width: 0;
}

.scry-toolbar-label {
  color: var(--scry-text-secondary);
  font-size: 0.82rem;
  line-height: 1.2;
  white-space: nowrap;
}

.scry-toolbar-control {
  min-width: 0;
}

.scry-toolbar-control.is-search {
  width: 220px;
}

.scry-toolbar-control.is-length {
  width: 90px;
}

.scry-table-shell {
  border: 1px solid var(--scry-border-default);
  border-radius: var(--scry-radius-md);
  background: var(--scry-surface-0);
  box-shadow: var(--scry-shadow-sm);
  overflow: hidden;
}

.scry-table-shell .table {
  margin-bottom: 0;
}

.scry-table-shell .table thead th {
  border-top: 0;
  color: var(--scry-table-head-text);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.scry-table-shell .table tbody tr > * {
  background-color: transparent;
}

.scry-table-shell .table tbody tr:nth-child(even) {
  background: var(--scry-table-row-alt);
}

.scry-table-shell .table tbody tr:hover {
  background: var(--scry-table-row-hover);
}

.scry-table-clickable-row {
  cursor: pointer;
}

.scry-table-clickable-row:focus-visible {
  outline: 2px solid var(--scry-accent-primary);
  outline-offset: -2px;
}

.scry-table-shell .col-action {
  width: 1%;
  white-space: nowrap;
}

.scry-order-action {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.25rem;
}

.scry-order-action__origin {
  background-color: #0dcaf0 !important;
  color: #071018 !important;
}


.scry-reception-reminders {
  border: 1px solid var(--scry-border-soft);
  border-radius: 1rem;
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.98), rgba(255, 255, 255, 0.98));
  padding: 1rem;
}

.scry-reception-reminders__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.85rem;
}

.scry-reception-reminders__eyebrow {
  color: var(--scry-accent-primary-strong);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.scry-reception-reminders__title {
  color: var(--bs-body-color, #212529);
  font-size: 1rem;
  font-weight: 800;
}

.scry-reception-reminders__deadline {
  color: var(--bs-secondary-color, #6c757d);
  font-size: 0.86rem;
  font-weight: 700;
  text-align: right;
}

.scry-reception-reminders__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}

.scry-reception-reminders__item {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  border: 1px solid var(--scry-border-soft);
  border-radius: 0.8rem;
  background: rgba(255, 255, 255, 0.7);
  padding: 0.75rem;
}

.scry-reception-reminders__icon {
  align-items: center;
  border-radius: 999px;
  display: inline-flex;
  flex: 0 0 auto;
  height: 1.65rem;
  justify-content: center;
  width: 1.65rem;
}

.scry-reception-reminders__item.is-sent .scry-reception-reminders__icon {
  background: rgba(25, 135, 84, 0.14);
  color: #198754;
}

.scry-reception-reminders__item.is-pending .scry-reception-reminders__icon {
  background: rgba(108, 117, 125, 0.14);
  color: #6c757d;
}

.scry-reception-reminders__item-body {
  display: grid;
  gap: 0.12rem;
  min-width: 0;
}

.scry-reception-reminders__item-title {
  color: var(--bs-body-color, #212529);
  font-size: 0.9rem;
  font-weight: 800;
}

.scry-reception-reminders__item-copy,
.scry-reception-reminders__note {
  color: var(--bs-secondary-color, #6c757d);
  font-size: 0.82rem;
  line-height: 1.35;
}

.scry-reception-reminders__note {
  margin-top: 0.75rem;
}

.scry-chat-operational-header .scry-reception-reminders--chat {
  width: 100%;
  max-width: 100%;
  margin: 0.35rem auto 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 0.62rem 0.72rem 0.68rem;
  text-align: left;
}

.scry-chat-operational-header .scry-reception-reminders--chat .scry-reception-reminders__header {
  align-items: center;
  margin-bottom: 0.4rem;
}

.scry-chat-operational-header .scry-reception-reminders--chat .scry-reception-reminders__title {
  font-size: 0.92rem;
}

.scry-chat-operational-header .scry-reception-reminders--chat .scry-reception-reminders__deadline {
  font-size: 0.78rem;
}

.scry-chat-operational-header .scry-reception-reminders--chat .scry-reception-reminders__grid {
  gap: 0.4rem;
}

.scry-chat-operational-header .scry-reception-reminders--chat .scry-reception-reminders__item {
  border-color: rgba(var(--scry-accent-primary-soft-rgb), 0.24);
  border-radius: 0.58rem;
  background: rgba(var(--scry-accent-primary-soft-rgb), 0.08);
  gap: 0.45rem;
  padding: 0.44rem 0.5rem;
}

.scry-chat-operational-header .scry-reception-reminders--chat .scry-reception-reminders__item-title {
  font-size: 0.78rem;
}

.scry-chat-operational-header .scry-reception-reminders--chat .scry-reception-reminders__item-copy {
  font-size: 0.74rem;
}

@media (max-width: 768px) {
  .scry-reception-reminders__header {
    display: grid;
  }

  .scry-reception-reminders__deadline {
    text-align: left;
  }

  .scry-reception-reminders__grid {
    grid-template-columns: 1fr;
  }

  .scry-chat-operational-header .scry-reception-reminders--chat {
    margin-top: 0.3rem;
    padding: 0.48rem 0.5rem 0.52rem;
  }

  .scry-chat-operational-header .scry-reception-reminders--chat .scry-reception-reminders__header {
    gap: 0.35rem;
    margin-bottom: 0.34rem;
  }

  .scry-chat-operational-header .scry-reception-reminders--chat .scry-reception-reminders__deadline {
    text-align: left;
  }

  .scry-chat-operational-header .scry-reception-reminders--chat .scry-reception-reminders__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.22rem;
  }

  .scry-chat-operational-header .scry-reception-reminders--chat .scry-reception-reminders__item {
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 0.24rem;
    min-width: 0;
    min-height: 4.15rem;
    padding: 0.42rem 0.22rem 0.38rem;
    text-align: center;
  }

  .scry-chat-operational-header .scry-reception-reminders--chat .scry-reception-reminders__icon {
    width: 1.42rem;
    height: 1.42rem;
    font-size: 0.68rem;
  }

  .scry-chat-operational-header .scry-reception-reminders--chat .scry-reception-reminders__item-body {
    justify-items: center;
    gap: 0;
  }

  .scry-chat-operational-header .scry-reception-reminders--chat .scry-reception-reminders__item-title {
    font-size: 0.64rem;
    line-height: 1.14;
    text-wrap: balance;
  }

  .scry-chat-operational-header .scry-reception-reminders--chat .scry-reception-reminders__item-copy {
    font-size: 0.62rem;
    line-height: 1.1;
  }
}

@media (max-width: 420px) {
  .scry-chat-operational-header .scry-reception-reminders--chat .scry-reception-reminders__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Compact email reminder timeline: milestones, not action buttons. */
.scry-chat-operational-header .scry-reception-reminders--chat .scry-reception-reminders__header {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 0.18rem;
  justify-content: center;
  text-align: center;
}

.scry-chat-operational-header .scry-reception-reminders--chat .scry-reception-reminders__channel {
  display: inline;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.scry-chat-operational-header .scry-reception-reminders--chat .scry-reception-reminders__deadline {
  text-align: center;
}

.scry-chat-operational-header .scry-reception-reminders--chat .scry-reception-reminders__grid {
  position: relative;
  gap: 0.25rem;
}

.scry-chat-operational-header .scry-reception-reminders--chat .scry-reception-reminders__grid::before {
  background: var(--scry-border-soft);
  content: '';
  height: 1px;
  left: 12.5%;
  position: absolute;
  right: 12.5%;
  top: 1.8rem;
}

.scry-chat-operational-header .scry-reception-reminders--chat .scry-reception-reminders__item {
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 0;
  display: flex;
  flex-direction: column;
  gap: 0.22rem;
  min-width: 0;
  padding: 0.1rem 0.2rem;
  position: relative;
  text-align: center;
  z-index: 1;
}

.scry-chat-operational-header .scry-reception-reminders--chat .scry-reception-reminders__item-title {
  font-size: 0.72rem;
  line-height: 1.15;
  white-space: nowrap;
}

.scry-chat-operational-header .scry-reception-reminders--chat .scry-reception-reminders__icon {
  height: 1.42rem;
  width: 1.42rem;
  font-size: 0.68rem;
}

.scry-chat-operational-header .scry-reception-reminders--chat .scry-reception-reminders__item-copy {
  font-size: 0.68rem;
  line-height: 1.1;
}

@media (max-width: 420px) {
  .scry-chat-operational-header .scry-reception-reminders--chat .scry-reception-reminders__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .scry-chat-operational-header .scry-reception-reminders--chat .scry-reception-reminders__grid::before {
    left: 12.5%;
    right: 12.5%;
  }
}

.scry-delivery-note {
  border-radius: 1rem;
  border-color: var(--scry-border-soft) !important;
  box-shadow: none;
}

.scry-shipping-extension .btn,
.scry-delivery-note--closure-mail .btn {
  min-height: 44px;
}

.scry-delivery-note--neutral {
  background: radial-gradient(circle at top left, rgba(var(--scry-accent-primary-soft-rgb), 0.18) 0%, rgba(var(--scry-accent-primary-soft-rgb), 0) 52%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 255, 253, 0.96)) !important;
  color: var(--scry-text-primary);
}

.scry-delivery-note--info {
  background: radial-gradient(circle at top left, rgba(var(--scry-accent-primary-soft-rgb), 0.28) 0%, rgba(var(--scry-accent-primary-soft-rgb), 0) 52%),
    linear-gradient(180deg, rgba(242, 255, 252, 0.98), rgba(255, 255, 255, 0.98)) !important;
  color: var(--scry-text-primary);
}

.scry-delivery-note--success {
  background: linear-gradient(180deg, rgba(236, 253, 245, 0.98), rgba(255, 255, 255, 0.98)) !important;
  color: var(--scry-text-primary);
}

.scry-delivery-note--warning {
  background: linear-gradient(180deg, rgba(255, 248, 225, 0.98), rgba(255, 255, 255, 0.98)) !important;
  color: var(--scry-text-primary);
}

.scry-delivery-note--danger {
  background: linear-gradient(180deg, rgba(255, 244, 242, 0.98), rgba(255, 255, 255, 0.98)) !important;
  border-color: #f4b8b1 !important;
  color: var(--scry-text-primary);
}

.ampliacion-catalog-page { padding-bottom:6.5rem; }
.ampliacion-catalog-notice { color:var(--scry-text-secondary); font-size:.875rem; line-height:1.45; }
.ampliacion-catalog-toolbar { display:flex; align-items:center; justify-content:space-between; gap:1rem; color:var(--scry-text-secondary); font-size:.85rem; }
.ampliacion-catalog-filters { display:flex; flex-wrap:wrap; gap:.7rem; }
.ampliacion-catalog-filter { display:grid; gap:.25rem; min-width:9.5rem; color:var(--scry-text-secondary); font-size:.78rem; font-weight:700; }
.ampliacion-catalog-filter .form-select { min-height:2.75rem; border-color:var(--scry-border-default); background-color:var(--scry-surface-elevated); color:var(--scry-text-primary); }
.ampliacion-catalog-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(190px,1fr)); gap:1rem; }
.ampliacion-catalog-card { overflow:hidden; border:1px solid var(--scry-border-default); border-radius:var(--scry-radius-md); background:var(--scry-surface-elevated); box-shadow:var(--scry-shadow-sm); transition:border-color .16s ease,box-shadow .16s ease; }
.ampliacion-catalog-card.is-selected { border-color:var(--scry-accent-primary); box-shadow:0 8px 20px rgba(var(--scry-accent-primary-soft-rgb),.15); }
.ampliacion-catalog-card > img { display:block; width:100%; aspect-ratio:5 / 7; object-fit:cover; background:var(--scry-surface-2); }
.ampliacion-catalog-card__body { display:grid; gap:.35rem; padding:.8rem; color:var(--scry-text-secondary); font-size:.82rem; }
.ampliacion-catalog-card__body strong { color:var(--scry-text-primary); font-size:.95rem; line-height:1.2; }
.ampliacion-catalog-card__bottom { display:flex; align-items:end; justify-content:space-between; gap:.6rem; margin-top:.35rem; color:var(--scry-text-primary); }
.ampliacion-catalog-card__bottom small { display:block; margin-top:.18rem; color:var(--scry-text-secondary); }
.ampliacion-card-selector { min-width:6.2rem; text-align:right; }
.ampliacion-card-selector__add { min-width:6.2rem; min-height:2.75rem; }
.ampliacion-stepper { display:inline-grid; grid-template-columns:2.75rem 2rem 2.75rem; align-items:center; overflow:hidden; min-height:2.75rem; border:1px solid var(--scry-accent-primary); border-radius:var(--scry-radius-sm); color:var(--scry-text-primary); }
.ampliacion-stepper button { min-height:2.75rem; border:0; background:transparent; color:var(--scry-accent-primary-strong); font-size:1.2rem; line-height:1; }
.ampliacion-stepper button:hover,.ampliacion-stepper button:focus-visible { background:var(--scry-surface-2); outline:0; }
.ampliacion-stepper output { text-align:center; font-weight:800; }
.ampliacion-catalog-pagination { display:flex; flex-wrap:wrap; justify-content:center; gap:.5rem; }
.ampliacion-selection-bar { position:fixed; z-index:1040; right:1rem; bottom:1rem; display:flex; align-items:center; justify-content:space-between; gap:1rem; width:min(34rem,calc(100% - 2rem)); padding:.75rem .85rem; border:1px solid var(--scry-border-default); border-radius:var(--scry-radius-md); background:var(--scry-surface-elevated); box-shadow:var(--scry-shadow-lg); }
.ampliacion-selection-bar__summary { flex:1 1 auto; padding:0; border:0; background:transparent; color:inherit; text-align:left; }
.ampliacion-selection-bar__summary:hover strong,.ampliacion-selection-bar__summary:focus-visible strong { color:var(--scry-accent-primary-strong); text-decoration:underline; }
.ampliacion-selection-bar__summary:focus-visible { outline:2px solid var(--scry-accent-primary); outline-offset:4px; border-radius:var(--scry-radius-sm); }
.ampliacion-selection-bar strong,.ampliacion-selection-bar span { display:block; }
.ampliacion-selection-bar span { margin-top:.12rem; color:var(--scry-text-secondary); font-size:.82rem; }
.ampliacion-selection-bar small { display:block; margin-top:.2rem; color:var(--scry-text-muted); font-size:.72rem; line-height:1.25; }
.ampliacion-summary-modal .modal-content { border:1px solid var(--scry-border-default); background:var(--scry-surface-elevated); color:var(--scry-text-primary); box-shadow:var(--scry-shadow-lg); }
.ampliacion-summary-modal .modal-header,.ampliacion-summary-modal .modal-footer { border-color:var(--scry-border-default); }
.ampliacion-summary-modal .modal-header p { color:var(--scry-text-secondary); }
.ampliacion-summary-item { display:grid; grid-template-columns:3rem minmax(0,1fr) auto; align-items:center; gap:.75rem; padding:.8rem 0; border-bottom:1px solid var(--scry-border-soft); }
.ampliacion-summary-item__image { display:block; width:3rem; aspect-ratio:5 / 7; object-fit:cover; border:1px solid var(--scry-border-default); border-radius:var(--scry-radius-sm); background:var(--scry-surface-2); }
.ampliacion-summary-item:last-child { border-bottom:0; }
.ampliacion-summary-item strong,.ampliacion-summary-item span { display:block; }
.ampliacion-summary-item > div { min-width:0; overflow-wrap:anywhere; }
.ampliacion-summary-item span { margin-top:.16rem; color:var(--scry-text-secondary); font-size:.85rem; }
.ampliacion-summary-item .btn { min-height:2.75rem; }
.ampliacion-confirmacion-estado { border-color:rgba(var(--scry-warning-rgb,154,103,0),.36); }
.ampliacion-confirmacion-estado strong { color:var(--scry-text-primary); }
.ampliacion-solicitud-list { display:grid; gap:.55rem; }
.ampliacion-solicitud-item { display:grid; grid-template-columns:2.75rem minmax(0,1fr) auto; gap:.75rem; align-items:center; padding:.65rem 0; border-bottom:1px solid var(--scry-border-soft); }
.ampliacion-solicitud-item:last-child { border-bottom:0; }
.ampliacion-solicitud-item img { display:block; width:2.75rem; aspect-ratio:5/7; object-fit:cover; border-radius:var(--scry-radius-sm); }
.ampliacion-solicitud-item__copy { min-width:0; display:grid; gap:.12rem; }.ampliacion-solicitud-item__copy strong { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }.ampliacion-solicitud-item__copy span,.ampliacion-solicitud-item__price small { color:var(--scry-text-secondary); font-size:.82rem; }.ampliacion-solicitud-item__price { text-align:right; font-weight:700; }.ampliacion-solicitud-item__price small { display:block; }
.ampliacion-pago-resumen { text-align:left; }.ampliacion-pago-resumen__title { margin-bottom:.25rem; color:var(--scry-text-primary); font-size:.82rem; }.scry-chat-operational-header .ampliacion-pago-resumen { margin-top:.65rem; padding:.62rem .75rem; }.scry-chat-operational-header .ampliacion-pago-resumen .ampliacion-solicitud-item { padding:.55rem 0; }
.ampliacion-solicitud-actions { display:grid; gap:.7rem; padding-top:1rem; border-top:1px solid var(--scry-border-default); }.ampliacion-solicitud-actions__heading { display:grid; gap:.16rem; }.ampliacion-solicitud-actions__heading span { color:var(--scry-text-secondary); font-size:.84rem; }
@media (max-width:575.98px) {
  .ampliacion-catalog-toolbar { align-items:flex-start; flex-direction:column; gap:.25rem; }
  .ampliacion-catalog-filters { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:.55rem; }
  .ampliacion-catalog-filter { min-width:0; }
  .ampliacion-catalog-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:.65rem; }
  .ampliacion-catalog-card__body { padding:.65rem; font-size:.78rem; }
  .ampliacion-catalog-card__body strong { font-size:.88rem; }
  .ampliacion-catalog-card__bottom { align-items:flex-start; flex-direction:column; gap:.5rem; }
  .ampliacion-card-selector,.ampliacion-card-selector__add { width:100%; min-width:0; }
  .ampliacion-stepper { width:100%; grid-template-columns:repeat(3,1fr); }
  .ampliacion-selection-bar { bottom:.5rem; }
  .ampliacion-summary-item { align-items:start; }
  .ampliacion-selection-bar .btn { flex:0 0 auto; }
}

.scry-feedback-summary {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--scry-border-soft);
}

.scry-feedback-summary__icon {
  width: 2.75rem;
  height: 2.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border-radius: 50%;
  color: #fff;
  font-size: 1.2rem;
}

.scry-feedback-summary--positive .scry-feedback-summary__icon {
  background: #0e9f6e;
}

.scry-feedback-summary--negative .scry-feedback-summary__icon {
  background: #dc2626;
}

.scry-feedback-summary__title {
  color: var(--scry-text-primary);
  font-weight: 700;
  line-height: 1.2;
}

.scry-feedback-summary__copy {
  color: var(--scry-text-muted);
  font-size: 0.875rem;
  line-height: 1.35;
  margin-top: 0.15rem;
}

.scry-order-feedback {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(230px, 270px);
  align-items: center;
  gap: 1rem 1.25rem;
  padding: 1rem 1.1rem;
}

.scry-order-feedback__content {
  display: grid;
  gap: 0.55rem;
  min-width: 0;
}

.scry-order-feedback__type {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  color: var(--scry-text-primary);
  font-size: 0.94rem;
  font-weight: 900;
}

.scry-order-feedback--positive .scry-order-feedback__type {
  color: #11845b;
}

.scry-order-feedback--negative .scry-order-feedback__type {
  color: #b42318;
}

.scry-order-feedback__tags {
  display: flex;
  gap: 0.38rem;
  flex-wrap: wrap;
}

.scry-order-feedback__tags span {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  padding: 0.2rem 0.52rem;
  border: 1px solid rgba(57, 198, 189, 0.28);
  border-radius: 999px;
  background: rgba(57, 198, 189, 0.08);
  color: var(--scry-accent-primary-strong);
  font-size: 0.76rem;
  font-weight: 800;
  line-height: 1.2;
}

.scry-order-feedback__comment {
  max-width: 75ch;
  margin: 0;
  color: var(--scry-text-primary);
  font-size: 0.96rem;
  line-height: 1.45;
}

.scry-order-feedback__empty {
  color: var(--scry-text-secondary);
  font-size: 0.9rem;
}

.scry-order-feedback__actions {
  display: grid;
  gap: 0.5rem;
  align-content: center;
}

.scry-order-feedback__actions .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.42rem;
  width: 100%;
}

@media (max-width: 767.98px) {
  .scry-order-feedback {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .scry-order-feedback__actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 575.98px) {
  .scry-order-feedback__actions {
    grid-template-columns: 1fr;
  }
}

/* El formulario intermedio debe poder encogerse para que el cuerpo haga scroll. */
.scry-coupon-modal .modal-content > form {
  display: flex;
  flex-direction: column;
  min-height: 0;
  max-height: calc(100vh - 3.5rem);
  max-height: calc(100dvh - 3.5rem);
}

.scry-coupon-modal .modal-body {
  min-height: 0;
  overflow-y: auto;
}

.scry-feedback-modal .modal-content {
  border: 1px solid var(--scry-border-soft);
  border-radius: 1rem;
  overflow: hidden;
  background: var(--scry-surface-elevated);
  color: var(--scry-text-primary);
  box-shadow: var(--scry-shadow-lg);
}

.scry-feedback-modal__header {
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--scry-border-soft);
  background: linear-gradient(180deg, rgba(var(--scry-accent-primary-soft-rgb), 0.35), rgba(var(--scry-accent-primary-soft-rgb), 0.14));
}

.scry-feedback-modal__header .modal-title {
  color: var(--scry-text-primary);
  font-weight: 800;
  line-height: 1.15;
}

.scry-feedback-modal__subtitle {
  margin-top: 0.2rem;
  color: var(--scry-text-muted);
  font-size: 0.875rem;
  line-height: 1.2;
}

.scry-feedback-modal__body {
  padding: 1rem 1.25rem 1.25rem;
}

.scry-feedback-modal__stack {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.scry-feedback-modal__section {
  padding: 0;
}

.scry-feedback-modal .opciones_positivo,
.scry-feedback-modal .opciones_negativo,
.scry-feedback-modal .opciones_positivo + .opciones_negativo + .scry-feedback-modal__section {
  padding-top: 0.875rem;
  border-top: 1px solid var(--scry-border-soft);
}

.scry-feedback-modal__section-title {
  display: block;
  margin-bottom: 0.625rem;
  color: var(--scry-text-primary);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
}

.scry-feedback-modal__rating,
.scry-feedback-modal__chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}

.scry-feedback-modal .button-feedback,
.scry-feedback-modal .btn-label-feedback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  margin: 0;
  border-radius: 0.65rem;
  font-weight: 700;
  line-height: 1.15;
  cursor: pointer;
  transition: background-color 0.16s ease, border-color 0.16s ease, color 0.16s ease, box-shadow 0.16s ease;
}

.scry-feedback-modal .button-feedback {
  min-height: 2.5rem;
  padding: 0.65rem 0.95rem;
  border: 1px solid var(--scry-border-strong);
  background: var(--scry-surface-elevated);
  color: var(--scry-text-muted);
  font-size: 0.92rem;
}

.scry-feedback-modal input[type="radio"]:checked + .button-feedback.positive {
  border-color: rgba(14, 159, 110, 0.9);
  background: #0e9f6e;
  color: #fff;
  box-shadow: 0 0 0 0.2rem rgba(14, 159, 110, 0.12);
}

.scry-feedback-modal input[type="radio"]:checked + .button-feedback.negative {
  border-color: rgba(220, 38, 38, 0.9);
  background: #dc2626;
  color: #fff;
  box-shadow: 0 0 0 0.2rem rgba(220, 38, 38, 0.12);
}

.scry-feedback-modal .btn-label-feedback {
  min-height: 2.15rem;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--scry-border-strong);
  background: rgba(var(--scry-accent-primary-soft-rgb), 0.12);
  color: var(--scry-accent-primary);
  font-size: 0.85rem;
}

.scry-feedback-modal .btn-input:checked + .btn-label-feedback {
  border-color: var(--scry-accent-primary);
  background: var(--scry-accent-primary);
  color: #fff;
  box-shadow: 0 0 0 0.18rem rgba(var(--scry-accent-primary-soft-rgb), 0.35);
}

.scry-feedback-modal__textarea {
  min-height: 4.5rem;
  resize: vertical;
  border-color: var(--scry-border-soft);
  border-radius: 0.75rem;
  font-size: 0.92rem;
}

.scry-feedback-modal__submit {
  align-self: center;
  min-width: 10rem;
  font-weight: 700;
}

.scry-confirm-reception-modal {
  max-width: 520px;
}

.scry-confirm-reception-modal .modal-content {
  border: 1px solid var(--scry-border-soft);
  border-radius: 1rem;
  overflow: hidden;
  background: var(--scry-surface-elevated);
  color: var(--scry-text-primary);
  box-shadow: var(--scry-shadow-lg);
}

.scry-confirm-reception-modal__header {
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.9rem 1rem 0.78rem;
  border-bottom: 1px solid var(--scry-border-soft);
  background: linear-gradient(180deg, rgba(var(--scry-accent-primary-soft-rgb), 0.32), rgba(var(--scry-accent-primary-soft-rgb), 0.12));
}

.scry-confirm-reception-modal__header .modal-title {
  color: var(--scry-text-primary);
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.15;
}

.scry-confirm-reception-modal__header .btn-close {
  margin: -0.35rem -0.25rem -0.35rem auto;
  opacity: 0.58;
  filter: invert(1) grayscale(100%);
}

.scry-confirm-reception-modal__subtitle {
  margin-top: 0.15rem;
  color: var(--scry-text-muted);
  font-size: 0.82rem;
  line-height: 1.2;
}

.scry-confirm-reception-modal__body {
  padding: 1rem;
}

.scry-confirm-reception-modal__notice {
  border: 1px solid rgba(var(--scry-accent-primary-soft-rgb), 0.28);
  border-radius: 0.75rem;
  background: rgba(var(--scry-accent-primary-soft-rgb), 0.1);
  padding: 0.9rem;
  color: var(--scry-text-muted);
  font-size: 0.94rem;
  line-height: 1.42;
}

.scry-confirm-reception-modal__notice-title {
  margin-bottom: 0.28rem;
  color: var(--scry-text-primary);
  font-weight: 800;
  line-height: 1.2;
}

.scry-confirm-reception-modal__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.75rem 1rem 0.9rem;
  border-top: 1px solid var(--scry-border-soft);
}

.scry-confirm-reception-modal__footer .btn {
  min-height: 2.45rem;
  font-weight: 700;
}

.scry-confirm-reception-modal__footer .btn-link {
  padding-right: 0;
  padding-left: 0;
}

.scry-confirm-reception-modal__submit {
  min-width: 15rem;
}

.scry-shipping-modal {
  max-width: 460px;
}

@media (min-width: 992px) {
  .scry-shipping-modal {
    max-width: 760px;
  }
}

.scry-shipping-modal .modal-content {
  border: 1px solid var(--scry-border-soft);
  border-radius: 1rem;
  overflow: hidden;
  background: var(--scry-surface-elevated);
  color: var(--scry-text-primary);
  box-shadow: var(--scry-shadow-lg);
}

.scry-shipping-modal__header {
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.85rem 1rem 0.75rem;
  border-bottom: 1px solid var(--scry-border-soft);
  background: linear-gradient(180deg, rgba(var(--scry-accent-primary-soft-rgb), 0.32), rgba(var(--scry-accent-primary-soft-rgb), 0.12));
}

.scry-shipping-modal__header .modal-title {
  color: var(--scry-text-primary);
  font-size: 1.12rem;
  font-weight: 800;
  line-height: 1.15;
}

.scry-shipping-modal__header .btn-close {
  margin: -0.35rem -0.25rem -0.35rem auto;
  opacity: 0.58;
  filter: invert(1) grayscale(100%);
}

.scry-shipping-modal__subtitle {
  margin-top: 0.15rem;
  color: var(--scry-text-muted);
  font-size: 0.82rem;
  line-height: 1.2;
}

.scry-shipping-modal__body {
  padding: 0.85rem 1rem 0.75rem;
}

.scry-shipping-modal__stack {
  display: grid;
  gap: 0.7rem;
}

.scry-shipping-modal__field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
}

.scry-shipping-modal .form-label {
  margin-bottom: 0.25rem;
  color: var(--scry-text-primary);
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.2;
}

.scry-shipping-modal__optional {
  color: var(--scry-text-muted);
  font-size: 0.75rem;
  font-weight: 600;
}

.scry-shipping-modal .form-control {
  min-height: 2.45rem;
  padding: 0.45rem 0.72rem;
  border-color: var(--scry-border-soft);
  border-radius: 0.5rem;
  background: var(--scry-surface-0);
  color: var(--scry-text-primary);
  font-size: 0.94rem;
  line-height: 1.2;
}

.scry-shipping-modal .form-control:focus {
  border-color: var(--scry-accent-primary);
  box-shadow: 0 0 0 0.16rem rgba(var(--scry-accent-primary-soft-rgb), 0.28);
}

.scry-shipping-modal .form-control:disabled {
  background: rgba(var(--scry-accent-primary-soft-rgb), 0.08);
  color: var(--scry-text-muted);
  opacity: 1;
}

.scry-shipping-modal__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.75rem 1rem 0.9rem;
  border-top: 1px solid var(--scry-border-soft);
}

.scry-shipping-modal__footer .btn {
  min-height: 2.45rem;
  font-weight: 700;
}

.scry-shipping-modal__footer .btn-link {
  padding-right: 0;
  padding-left: 0;
}

.scry-push-modal .modal-dialog {
  max-width: 500px;
}

.scry-push-modal__content {
  border: 1px solid var(--scry-border-soft);
  border-radius: 1rem;
  overflow: hidden;
  background: var(--scry-surface-elevated);
  color: var(--scry-text-primary);
  box-shadow: var(--scry-shadow-lg);
}

.scry-push-modal__header {
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.85rem 1rem 0.75rem;
  border-bottom: 1px solid var(--scry-border-soft);
  background: linear-gradient(180deg, rgba(var(--scry-accent-primary-soft-rgb), 0.32), rgba(var(--scry-accent-primary-soft-rgb), 0.12));
}

.scry-push-modal__header .modal-title {
  color: var(--scry-text-primary);
  font-size: 1.12rem;
  font-weight: 800;
  line-height: 1.15;
}

.scry-push-modal__header .btn-close {
  margin: -0.35rem -0.25rem -0.35rem auto;
  opacity: 0.58;
  filter: invert(1) grayscale(100%);
}

.scry-push-modal__body {
  padding: 0.9rem 1rem 0.8rem;
}

.scry-push-modal__copy {
  margin: 0 0 0.85rem;
  padding: 0.72rem 0.82rem;
  border: 1px solid rgba(var(--scry-accent-primary-soft-rgb), 0.28);
  border-radius: 0.75rem;
  background: rgba(var(--scry-accent-primary-soft-rgb), 0.1);
  color: var(--scry-text-muted);
  font-size: 0.86rem;
  line-height: 1.38;
}

.scry-push-modal__ios-copy {
  display: none;
}

.scry-push-modal__ios-copy--visible {
  display: block;
}

.scry-push-modal__options {
  display: grid;
  gap: 0.5rem;
}

.scry-push-modal__option {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-height: 2.55rem;
  margin: 0;
  padding: 0.62rem 0.72rem;
  border: 1px solid var(--scry-border-soft);
  border-radius: 0.75rem;
  background: var(--scry-surface-0);
  color: var(--scry-text-primary);
  cursor: pointer;
  transition: background-color 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}

.scry-push-modal__option:hover {
  border-color: rgba(var(--scry-accent-primary-soft-rgb), 0.65);
  background: rgba(var(--scry-accent-primary-soft-rgb), 0.08);
}

.scry-push-modal__radio-input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.scry-push-modal__radio-control {
  position: relative;
  width: 1.05rem;
  height: 1.05rem;
  flex: 0 0 1.05rem;
  border: 2px solid var(--scry-border-strong);
  border-radius: 50%;
  background: var(--scry-surface-elevated);
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}

.scry-push-modal__radio-control::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--scry-accent-primary);
  transform: translate(-50%, -50%) scale(0);
  transition: transform 0.16s ease;
}

.scry-push-modal__radio-input:checked + .scry-push-modal__radio-control {
  border-color: var(--scry-accent-primary);
  box-shadow: 0 0 0 0.16rem rgba(var(--scry-accent-primary-soft-rgb), 0.25);
}

.scry-push-modal__radio-input:checked + .scry-push-modal__radio-control::after {
  transform: translate(-50%, -50%) scale(1);
}

.scry-push-modal__radio-input:checked ~ .scry-push-modal__option-text {
  color: var(--scry-text-primary);
  font-weight: 800;
}

.scry-push-modal__radio-input:focus-visible + .scry-push-modal__radio-control {
  outline: 2px solid var(--scry-accent-primary);
  outline-offset: 2px;
}

.scry-push-modal__option:has(.scry-push-modal__radio-input:checked) {
  border-color: rgba(var(--scry-accent-primary-soft-rgb), 0.72);
  background: rgba(var(--scry-accent-primary-soft-rgb), 0.12);
}

.scry-push-modal__option-text {
  color: var(--scry-text-primary);
  font-size: 0.94rem;
  font-weight: 600;
  line-height: 1.25;
}

.scry-push-modal__schedule {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
  margin-top: 0.85rem;
}

.scry-push-modal__schedule--disabled {
  opacity: 0.55;
}

.scry-push-modal__field .form-label {
  margin-bottom: 0.25rem;
  color: var(--scry-text-primary);
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.2;
}

.scry-push-modal__field .form-control {
  min-height: 2.45rem;
  padding: 0.45rem 0.72rem;
  border-color: var(--scry-border-soft);
  border-radius: 0.5rem;
  background: var(--scry-surface-0);
  color: var(--scry-text-primary);
  font-size: 0.94rem;
  line-height: 1.2;
}

.scry-push-modal__field .form-control:focus {
  border-color: var(--scry-accent-primary);
  box-shadow: 0 0 0 0.16rem rgba(var(--scry-accent-primary-soft-rgb), 0.28);
}

.scry-push-modal__field .form-control:disabled {
  background: rgba(var(--scry-accent-primary-soft-rgb), 0.08);
  color: var(--scry-text-muted);
  opacity: 1;
}

.scry-push-modal__footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
  padding: 0.75rem 1rem 0.9rem;
  border-top: 1px solid var(--scry-border-soft);
}

.scry-push-modal__footer .btn {
  min-height: 2.45rem;
  font-weight: 700;
}

.scry-transient-container {
  max-width: 720px;
}

.scry-transient-container--wide {
  max-width: 760px;
}

.scry-transient-panel {
  background: var(--scry-surface-elevated);
  color: var(--scry-text-primary);
  border-color: var(--scry-border-soft) !important;
  box-shadow: var(--scry-shadow-sm) !important;
}

.scry-transient-badge {
  background: var(--scry-pill-soft-bg);
  border-color: var(--scry-pill-soft-border) !important;
  color: var(--scry-pill-soft-text);
}

.scry-transient-muted {
  color: var(--scry-text-secondary);
}

.feedback-direct-card {
  max-width: 780px;
  margin: 0 auto;
  background: var(--scry-surface-elevated);
  color: var(--scry-text-primary);
  border-color: var(--scry-border-soft) !important;
  box-shadow: var(--scry-shadow-sm) !important;
}

.feedback-direct__badge {
  background: var(--scry-pill-soft-bg);
  border-color: var(--scry-pill-soft-border) !important;
  color: var(--scry-pill-soft-text);
}

.feedback-direct__muted {
  color: var(--scry-text-secondary);
}

.feedback-direct__alert {
  border: 1px solid transparent;
  color: var(--scry-text-primary);
}

.feedback-direct__alert--success {
  background: var(--scry-success-bg);
  border-color: rgba(16, 185, 129, 0.24);
}

.feedback-direct__alert--warning {
  background: var(--scry-warning-bg);
  border-color: rgba(245, 158, 11, 0.24);
}

.feedback-direct__summary {
  background: var(--scry-surface-2);
  color: var(--scry-text-primary);
  border-color: var(--scry-border-default) !important;
}

.feedback-direct__comment {
  max-height: none;
  overflow: visible;
  overflow-wrap: anywhere;
  text-overflow: clip;
  white-space: normal;
  word-break: normal;
  -webkit-line-clamp: unset;
  -webkit-box-orient: initial;
}

.feedback-direct input[type="radio"][name="tipo_feedback"] {
  display: none;
}

.feedback-direct .button-feedback {
  display: inline-block;
  padding: 10px 20px;
  border: 1px solid var(--scry-border-strong);
  border-radius: 10px;
  background: var(--scry-surface-0);
  color: var(--scry-text-secondary);
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s, color 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.feedback-direct input[type="radio"][name="tipo_feedback"]:checked + .button-feedback.positive {
  background-color: #007f4e;
  border-color: #007f4e;
  color: #fff;
}

.feedback-direct input[type="radio"][name="tipo_feedback"]:checked + .button-feedback.negative {
  background-color: #202020;
  border-color: #202020;
  color: #fff;
}

.feedback-direct .btn-input {
  display: none;
}

.feedback-direct .btn-label-feedback {
  display: inline-block;
  padding: 10px 15px;
  margin: 5px;
  border: 1px solid var(--scry-accent-primary);
  border-radius: 10px;
  color: var(--scry-accent-primary);
  font-size: 14px;
  cursor: pointer;
  transition: background-color 0.3s, color 0.3s, border-color 0.3s;
}

.feedback-direct .btn-input:checked + .btn-label-feedback {
  background-color: var(--scry-accent-primary);
  border-color: var(--scry-accent-primary);
  color: var(--scry-cta-primary-text);
}

@media (max-width: 575.98px) {
  .scry-feedback-modal {
    margin: 0.5rem;
  }

  .scry-feedback-modal__header {
    padding: 0.8rem 0.9rem;
  }

  .scry-feedback-modal__body {
    padding: 0.8rem 0.9rem 0.95rem;
  }

  .scry-feedback-modal__stack {
    gap: 0.65rem;
  }

  .scry-feedback-modal .opciones_positivo,
  .scry-feedback-modal .opciones_negativo,
  .scry-feedback-modal .opciones_positivo + .opciones_negativo + .scry-feedback-modal__section {
    padding-top: 0.65rem;
  }

  .scry-feedback-modal__section-title {
    margin-bottom: 0.45rem;
    font-size: 0.88rem;
  }

  .scry-feedback-modal .button-feedback {
    min-height: 2.25rem;
    padding: 0.55rem 0.75rem;
  }

  .scry-feedback-modal .btn-label-feedback {
    min-height: 2rem;
    padding: 0.45rem 0.62rem;
    font-size: 0.8rem;
  }

  .scry-feedback-modal__textarea {
    min-height: 3.75rem;
  }

  .scry-feedback-modal__submit {
    width: 100%;
  }

  .scry-confirm-reception-modal {
    width: calc(100vw - 1.25rem);
    max-width: none;
    margin: 0.5rem auto;
  }

  .scry-confirm-reception-modal .modal-content {
    border-radius: 0.85rem;
  }

  .scry-confirm-reception-modal__header {
    padding: 0.65rem 0.75rem 0.58rem;
  }

  .scry-confirm-reception-modal__header .modal-title {
    font-size: 0.98rem;
  }

  .scry-confirm-reception-modal__subtitle {
    font-size: 0.74rem;
  }

  .scry-confirm-reception-modal__body {
    padding: 0.7rem;
  }

  .scry-confirm-reception-modal__notice {
    padding: 0.72rem;
    font-size: 0.86rem;
  }

  .scry-confirm-reception-modal__footer {
    align-items: center;
    flex-direction: row;
    gap: 0.65rem;
    padding: 0.58rem 0.7rem 0.7rem;
  }

  .scry-confirm-reception-modal__footer .btn {
    width: auto;
    min-height: 2.3rem;
    font-size: 0.88rem;
  }

  .scry-confirm-reception-modal__footer .btn-link {
    flex: 0 0 auto;
  }

  .scry-confirm-reception-modal__submit {
    flex: 0 1 auto;
    min-width: 0;
    margin-left: auto;
  }

  .scry-shipping-modal {
    width: calc(100vw - 1.25rem);
    max-width: none;
    max-height: calc(100vh - 0.7rem);
    max-height: calc(100dvh - 0.7rem);
    margin: 0.35rem auto;
  }

  .scry-shipping-modal .modal-content,
  .scry-shipping-modal form {
    display: flex;
    flex-direction: column;
    max-height: calc(100vh - 0.7rem);
    max-height: calc(100dvh - 0.7rem);
    min-height: 0;
  }

  .scry-shipping-modal .modal-content {
    border-radius: 0.85rem;
  }

  .scry-shipping-modal__header {
    flex: 0 0 auto;
    padding: 0.55rem 0.72rem 0.48rem;
  }

  .scry-shipping-modal__header .modal-title {
    font-size: 0.96rem;
  }

  .scry-shipping-modal__subtitle {
    margin-top: 0.08rem;
    font-size: 0.74rem;
  }

  .scry-shipping-modal__body {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    padding: 0.52rem 0.7rem 0.48rem;
  }

  .scry-shipping-modal__stack {
    gap: 0.42rem;
  }

  .scry-shipping-modal__field-grid {
    gap: 0.42rem 0.5rem;
  }

  .scry-shipping-modal .form-label {
    margin-bottom: 0.14rem;
    font-size: 0.76rem;
    line-height: 1.12;
  }

  .scry-shipping-modal__optional {
    font-size: 0.66rem;
  }

  .scry-shipping-modal .form-control {
    min-height: 2.05rem;
    padding: 0.32rem 0.55rem;
    border-radius: 0.42rem;
    font-size: 0.86rem;
  }

  .scry-shipping-modal__footer {
    flex: 0 0 auto;
    flex-wrap: nowrap;
    gap: 0.58rem;
    padding: 0.48rem 0.7rem 0.55rem;
  }

  .scry-shipping-modal__footer .btn {
    min-height: 2.12rem;
    font-size: 0.88rem;
  }

  .scry-shipping-modal__footer .btn-primary {
    flex: 1 1 auto;
  }
}

.scry-detail-panel {
  border: 1px solid var(--scry-border-soft) !important;
  border-radius: 1rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(250, 255, 253, 0.98));
  box-shadow: var(--scry-shadow-sm);
  overflow: hidden;
}

.scry-detail-panel__header {
  background: transparent;
  border-bottom: 1px solid var(--scry-border-soft) !important;
}

.scry-chat-header {
  position: relative;
  z-index: 4;
  background: var(--scry-surface-0);
  padding: 0.6rem 0.95rem;
}

.scry-chat-header--empty {
  display: none;
}

.scry-chat-header--operational-only {
  padding: 0;
}

.scry-chat-header--operational-only .scry-chat-operational-header {
  margin: 0;
  border-top: 0;
}

.scry-chat-peer {
  display: flex;
  align-items: center;
  min-width: 0;
}

.scry-chat-peer .logo-letter {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  font-size: 0.95rem;
}

.scry-chat-moderation-note {
  line-height: 1.32;
}

.scry-chat-moderation-note--footer {
  color: var(--scry-text-muted, #98a2b3);
  text-align: center;
}

.scry-order-summary-card {
  border: 1px solid var(--scry-border-soft);
  border-radius: 1rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(248, 255, 252, 0.98));
  box-shadow: var(--scry-shadow-xs);
}

.scry-accepted-adjustment {
  margin: 0 0 1rem;
  padding: 0.9rem 1rem;
  border: 1px solid var(--scry-border-strong);
  border-radius: 0.95rem;
  background: var(--scry-surface-accented);
}

.scry-accepted-adjustment__header {
  display: grid;
  grid-template-columns: 2rem minmax(0, 1fr);
  align-items: start;
  gap: 0.7rem;
}

.scry-accepted-adjustment__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: var(--scry-pill-soft-bg);
  color: var(--scry-pill-soft-text);
}

.scry-accepted-adjustment__title {
  margin: 0;
  color: var(--scry-text-primary);
  font-size: 0.94rem;
  font-weight: 800;
  line-height: 1.25;
}

.scry-accepted-adjustment__copy {
  margin: 0.2rem 0 0;
  color: var(--scry-text-secondary);
  font-size: 0.86rem;
  line-height: 1.4;
}

.scry-accepted-adjustment__list {
  display: grid;
  gap: 0.5rem;
  margin: 0.8rem 0 0;
  padding: 0.8rem 0 0;
  list-style: none;
  border-top: 1px solid var(--scry-border-soft);
}

.scry-accepted-adjustment__item {
  display: flex;
  flex-wrap: wrap;
  gap: 0.2rem 0.45rem;
  color: var(--scry-text-secondary);
  font-size: 0.84rem;
  line-height: 1.35;
}

.scry-accepted-adjustment__item strong {
  color: var(--scry-text-primary);
}

.scry-pending-adjustment {
  margin: 0 0 1rem;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(180, 83, 9, 0.3);
  border-radius: 0.95rem;
  background: rgba(254, 252, 232, 0.72);
}

.scry-pending-adjustment__header {
  display: grid;
  grid-template-columns: 2rem minmax(0, 1fr);
  align-items: start;
  gap: 0.7rem;
}

.scry-pending-adjustment__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: rgba(180, 83, 9, 0.12);
  color: #9a6700;
}

.scry-pending-adjustment__title {
  margin: 0;
  color: var(--scry-text-primary);
  font-size: 0.94rem;
  font-weight: 800;
  line-height: 1.25;
}

.scry-pending-adjustment__copy {
  margin: 0.2rem 0 0;
  color: var(--scry-text-secondary);
  font-size: 0.86rem;
  line-height: 1.4;
}

.scry-pending-adjustment__list {
  display: grid;
  gap: 0.5rem;
  margin: 0.8rem 0 0;
  padding: 0.8rem 0 0;
  list-style: none;
  border-top: 1px solid rgba(180, 83, 9, 0.18);
}

.scry-pending-adjustment__item {
  display: flex;
  flex-wrap: wrap;
  gap: 0.2rem 0.45rem;
  color: var(--scry-text-secondary);
  font-size: 0.84rem;
  line-height: 1.35;
}

.scry-pending-adjustment__item strong {
  color: var(--scry-text-primary);
}

.scry-adjustment-trace__items {
  display: grid;
  gap: 0.65rem;
  margin: 0.8rem 0 0;
  padding: 0.8rem 0 0;
  border-top: 1px solid var(--scry-border-soft);
}

.scry-adjustment-trace__toggle {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  width: 100%;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.75rem;
  padding: 0.7rem 0.75rem;
  border: 1px solid var(--scry-border-soft);
  border-radius: 0.75rem;
  color: var(--scry-text-primary);
  background: transparent;
  font-size: 0.84rem;
  font-weight: 750;
  line-height: 1.3;
  text-align: left;
}

.scry-adjustment-trace__toggle:hover {
  background: var(--scry-surface-muted);
}

.scry-adjustment-trace__toggle-icon {
  color: var(--scry-text-secondary);
  line-height: 1;
  transition: transform 180ms ease, color 180ms ease;
}

.scry-adjustment-trace__toggle[aria-expanded="true"] .scry-adjustment-trace__toggle-icon {
  color: var(--scry-text-primary);
  transform: rotate(180deg);
}

.scry-adjustment-trace__item {
  padding-bottom: 0.65rem;
  border-bottom: 1px solid var(--scry-border-soft);
}

.scry-adjustment-trace__item:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.scry-adjustment-trace__item-name {
  margin: 0 0 0.35rem;
  color: var(--scry-text-primary);
  font-size: 0.88rem;
  font-weight: 800;
  line-height: 1.35;
}

.scry-adjustment-trace__unchanged {
  margin: 0;
  color: var(--scry-text-secondary);
  font-size: 0.82rem;
  line-height: 1.4;
}

.scry-adjustment-trace__line {
  display: grid;
  grid-template-columns: 5.8rem minmax(0, 1fr);
  gap: 0.4rem;
  margin: 0.2rem 0 0;
  color: var(--scry-text-secondary);
  font-size: 0.82rem;
  line-height: 1.4;
}

.scry-adjustment-trace__label {
  color: var(--scry-text-primary);
  font-weight: 700;
}

.scry-adjustment-trace__removed {
  color: #a53d1e;
}

.scry-adjustment-trace__totals {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 0.8rem;
  padding-top: 0.8rem;
  border-top: 1px solid var(--scry-border-soft);
}

.scry-adjustment-trace__total {
  display: grid;
  gap: 0.12rem;
  color: var(--scry-text-secondary);
  font-size: 0.78rem;
  line-height: 1.3;
}

.scry-adjustment-trace__total strong {
  color: var(--scry-text-primary);
  font-size: 0.9rem;
}

.scry-adjustment-trace__actions {
  margin-top: 0.9rem;
}

@media (max-width: 575.98px) {
  .scry-adjustment-trace__line {
    grid-template-columns: 1fr;
    gap: 0.08rem;
  }

  .scry-adjustment-trace__totals {
    grid-template-columns: 1fr;
    gap: 0.55rem;
  }
}

.scry-summary-panel {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.scry-detail-row {
  --bs-gutter-x: 1.5rem;
}

.scry-detail-row > [class*="col-"] {
  padding-right: calc(var(--bs-gutter-x) * 0.5);
  padding-left: calc(var(--bs-gutter-x) * 0.5);
}

.scry-detail-row--chat-primary {
  justify-content: center;
}

.scry-buyer-contact-card {
  padding: 0.9rem 0.95rem;
  border: 1px solid var(--scry-border-soft);
  border-radius: 1rem;
  background: var(--scry-surface-accented);
  box-shadow: var(--scry-shadow-sm);
}

.scry-buyer-contact-card__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 0.65rem;
}

.scry-buyer-contact-card__item {
  display: grid;
  grid-template-columns: 2rem minmax(0, 1fr);
  align-items: center;
  min-width: 0;
  gap: 0.65rem;
  padding: 0.68rem 0.75rem;
  border: 1px solid var(--scry-border-default);
  border-radius: 0.85rem;
  background: var(--scry-surface-elevated);
}

.scry-buyer-contact-card__icon {
  width: 2rem;
  height: 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--scry-pill-soft-bg);
  color: var(--scry-accent-primary-strong);
  font-size: 0.9rem;
}

.scry-buyer-contact-card__body {
  display: flex;
  flex-direction: column;
  min-width: 0;
  gap: 0.12rem;
}

.scry-buyer-contact-card__label {
  color: var(--scry-text-secondary);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  line-height: 1.2;
  text-transform: uppercase;
}

.scry-buyer-contact-card__value {
  min-width: 0;
  color: var(--scry-text-primary);
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.scry-buyer-contact-card__value--muted,
.scry-buyer-contact-card__item.is-muted .scry-buyer-contact-card__value {
  color: var(--scry-text-muted);
}

.scry-buyer-contact-card__item.is-muted .scry-buyer-contact-card__icon {
  background: var(--scry-surface-3);
  color: var(--scry-text-muted);
}

.scry-buyer-contact-card__link {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.16em;
  border-bottom: 0;
}

.scry-buyer-contact-card__link:hover,
.scry-buyer-contact-card__link:focus {
  color: var(--scry-link-color, var(--scry-accent-primary-strong));
}

.scry-detail-inline-action {
  padding-right: 0.75rem;
  padding-left: 0.75rem;
  margin-bottom: 2rem;
}
.scry-detail-action-section { display:flex; align-items:center; justify-content:space-between; gap:1rem; margin-top:1.5rem; padding:1rem .75rem; border-top:1px solid var(--scry-border-default); }.scry-detail-action-section__copy { display:grid; gap:.16rem; min-width:0; }.scry-detail-action-section__copy strong { color:var(--scry-text-primary); }.scry-detail-action-section__copy span { color:var(--scry-text-secondary); font-size:.84rem; }.scry-detail-action-section > .btn,.scry-detail-action-section > form { flex:0 0 auto; }.scry-detail-action-section > form .btn { white-space:nowrap; }.scry-detail-action-section--proposal { align-items:flex-start; }.scry-detail-action-section--proposal .scry-detail-action-section__actions { display:grid; gap:.5rem; flex:0 0 auto; min-width:10.25rem; }.scry-detail-action-section--proposal .scry-detail-action-section__actions .btn { width:100%; white-space:nowrap; }.scry-detail-action-section--danger { margin-top:2rem; }
.scry-detail-inline-action--separated { display:grid; gap:.65rem; padding-top:1.25rem; border-top:1px solid var(--scry-border-default); }.scry-detail-inline-action__heading { display:grid; gap:.14rem; }.scry-detail-inline-action__heading span { color:var(--scry-text-secondary); font-size:.84rem; }

.scry-detail-page {
  padding-bottom: 7rem;
}

.scry-detail-page .scry-security-note {
  margin-bottom: 2rem;
}

.scry-detail-row--closing {
  margin-bottom: 2rem;
}

.scry-detail-support-col {
  padding-bottom: 2rem;
}

.scry-detail-page .scry-detail-inline-action:last-child {
  margin-bottom: 2.5rem !important;
}

.scry-detail-inline-action--support {
  margin-top: 1.5rem;
  margin-bottom: 3rem;
}

#layoutSidenav #layoutSidenav_content > main {
  flex: 1 0 auto;
  min-height: 0;
}

#layoutSidenav #layoutSidenav_content > .admin-footer-signature-shell {
  position: relative;
  z-index: 2;
  flex: 0 0 auto;
  pointer-events: auto;
}

/* The SB Admin template uses position:relative + top:56px on #layoutSidenav_content
   to clear the fixed topnav. This shifts the visual rendering 56px below the layout
   box, so the page scroll stops 56px short of the footer. margin-bottom compensates. */
.sb-nav-fixed #layoutSidenav #layoutSidenav_content {
  margin-bottom: 56px;
}

.scry-section-title {
  color: var(--scry-text-primary);
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.25;
  text-transform: uppercase;
}

.scry-section-heading {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.scry-section-heading__icon {
  width: 2rem;
  height: 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 2rem;
  border-radius: 0.65rem;
  background: var(--scry-accent-primary-soft);
  color: var(--scry-accent-primary-strong);
  font-size: 0.82rem;
}

.scry-detail-summary-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(118px, 1fr));
  align-items: start;
  gap: 0.55rem 0.75rem;
  padding: 0.8rem 0.95rem;
  border: 1px solid var(--scry-border-soft);
  border-radius: 1rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 255, 252, 0.98));
  box-shadow: var(--scry-shadow-sm);
}

.scry-detail-summary-strip__item {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.18rem;
  padding: 0.15rem 0.3rem;
}

.scry-detail-summary-strip__item--payment {
  min-width: 0;
}

.scry-detail-summary-strip__item--status {
  grid-column: span 2;
}

.scry-detail-summary-strip__item--status .badge {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  max-width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
  line-height: 1.2;
  text-align: left;
  padding: 0.45rem 0.65rem;
}

.scry-detail-summary-strip__item--status .status-countdown-text {
  display: inline;
  white-space: normal;
}

.scry-detail-summary-strip__item--mobile-toggle {
  display: none;
}

.scry-summary-mobile-toggle {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  color: var(--scry-text-primary);
  background: var(--scry-surface-0);
  border: 1px solid var(--scry-border-soft);
  box-shadow: none;
}

.scry-summary-mobile-toggle:hover,
.scry-summary-mobile-toggle:focus {
  color: var(--scry-text-primary);
  background: var(--scry-surface-1);
  border-color: var(--scry-border-strong);
}

.scry-summary-mobile-toggle .fa-chevron-down {
  transition: transform 0.16s ease;
}

.scry-detail-summary-strip.is-expanded .scry-summary-mobile-toggle .fa-chevron-down {
  transform: rotate(180deg);
}

.scry-detail-summary-strip__label {
  font-size: 0.72rem;
  line-height: 1.2;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--scry-text-secondary);
  font-weight: 700;
}

.scry-detail-summary-strip__value {
  min-width: 0;
  color: var(--scry-text-primary);
  font-weight: 700;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.scry-detail-summary-strip__value a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid rgba(var(--scry-accent-primary-soft-rgb), 0.45);
}

.scry-detail-summary-strip__value a:hover {
  color: var(--scry-link-color, var(--scry-text-primary));
}

.scry-payment-state {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  min-width: 0;
  font-size: 0.92rem;
  line-height: 1.25;
}

.scry-payment-state__dot {
  width: 0.62rem;
  height: 0.62rem;
  flex: 0 0 0.62rem;
  border-radius: 999px;
  background: #f59e0b;
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.14);
}

.scry-payment-state.is-paid .scry-payment-state__dot {
  background: #10b981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.14);
}

.scry-payment-state.is-unpaid .scry-payment-state__dot {
  background: var(--scry-text-muted, #94a3b8);
  box-shadow: 0 0 0 3px rgba(148, 163, 184, 0.14);
}

.scry-summary-meta-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
}

.scry-summary-meta-card {
  min-width: 0;
  padding: 0.95rem 1rem;
  border: 1px solid var(--scry-border-soft);
  border-radius: 1rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(245, 255, 251, 0.96));
}

.scry-summary-meta-card--status {
  grid-column: span 2;
}

.scry-summary-meta-card__label {
  margin-bottom: 0.4rem;
  font-size: 0.75rem;
  line-height: 1.2;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--scry-text-secondary);
  font-weight: 700;
}

.scry-summary-meta-card__value {
  min-width: 0;
  color: var(--scry-text-primary);
  font-weight: 700;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.scry-summary-meta-card__value a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid rgba(var(--scry-accent-primary-soft-rgb), 0.45);
}

.scry-summary-meta-card__value a:hover {
  color: var(--scry-link-color, var(--scry-text-primary));
}

.scry-security-note {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.9rem;
  padding: 1rem 1.1rem;
  border: 1px solid var(--scry-border-soft);
  border-radius: 1rem;
  background: radial-gradient(circle at top left, rgba(var(--scry-accent-primary-soft-rgb), 0.22) 0%, rgba(var(--scry-accent-primary-soft-rgb), 0) 52%),
    linear-gradient(180deg, rgba(255, 250, 235, 0.98), rgba(255, 255, 255, 0.98));
  box-shadow: var(--scry-shadow-xs);
}

.scry-security-note__icon {
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #d97706;
  background: rgba(245, 158, 11, 0.14);
  flex: 0 0 auto;
}

.scry-security-note__title {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--scry-text-primary);
  margin-bottom: 0.25rem;
}

.scry-security-note__copy {
  color: var(--bs-secondary-color, #6c757d);
  line-height: 1.6;
}

@media (max-width: 1199.98px) {
  .scry-summary-meta-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .scry-summary-meta-card--status {
    grid-column: span 2;
  }
}

@media (max-width: 767.98px) {
  .scry-detail-row {
    --bs-gutter-x: 1rem;
  }

  .scry-detail-inline-action {
    padding-right: 0.5rem;
    padding-left: 0.5rem;
  }

  .scry-detail-action-section { align-items:flex-start; flex-direction:column; }.scry-detail-action-section > .btn,.scry-detail-action-section > form,.scry-detail-action-section > form .btn,.scry-detail-action-section--proposal .scry-detail-action-section__actions { width:100%; }

  .scry-detail-summary-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem;
  }

  .scry-buyer-contact-card__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .scry-detail-summary-strip__item--status {
    grid-column: 1 / -1;
  }
}

@media (max-width: 575.98px) {
  .scry-buyer-contact-card {
    padding: 0.78rem;
  }

  .scry-buyer-contact-card__item {
    padding: 0.62rem 0.65rem;
  }

  .scry-detail-summary-strip {
    padding: 0.85rem;
  }

  .scry-detail-summary-strip.is-mobile-collapsed {
    gap: 0.5rem;
    padding: 0.72rem 0.78rem;
  }

  .scry-detail-summary-strip.is-mobile-collapsed:not(.is-expanded) {
    grid-template-columns: minmax(0, 1fr);
  }

  .scry-detail-summary-strip.is-mobile-collapsed:not(.is-expanded) .scry-detail-summary-strip__item:not(.scry-detail-summary-strip__item--mobile-visible):not(.scry-detail-summary-strip__item--mobile-toggle) {
    display: none;
  }

  .scry-detail-summary-strip.is-mobile-collapsed .scry-detail-summary-strip__item--mobile-toggle {
    display: block;
    grid-column: 1 / -1;
    padding: 0.15rem 0.25rem 0;
  }

  .scry-detail-summary-strip.is-mobile-collapsed:not(.is-expanded) .scry-detail-summary-strip__item--mobile-visible {
    padding: 0.1rem 0.25rem;
  }

  .scry-detail-summary-strip.is-mobile-collapsed:not(.is-expanded) .scry-detail-summary-strip__item--payment {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
  }

  .scry-detail-summary-strip.is-mobile-collapsed .scry-detail-summary-strip__item--status {
    grid-column: 1 / -1;
  }

  .scry-detail-summary-strip.is-mobile-collapsed:not(.is-expanded) .scry-detail-summary-strip__item--status .badge {
    padding: 0.4rem 0.6rem;
    font-size: 0.72rem;
  }

  .scry-summary-meta-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .scry-summary-meta-card--status {
    grid-column: auto;
  }
}

.scry-pill-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  background: var(--scry-accent-primary-soft);
  color: var(--scry-text-secondary);
  text-decoration: none;
  line-height: 1.2;
}

/* Home shared blocks */
.scry-top10-grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 12px;
  scrollbar-color: rgba(57, 198, 189, 0.48) transparent;
  scrollbar-width: thin;
}

.scry-top10-grid::-webkit-scrollbar {
  height: 8px;
}

.scry-top10-grid::-webkit-scrollbar-track {
  background: rgba(57, 198, 189, 0.08);
  border-radius: 999px;
}

.scry-top10-grid::-webkit-scrollbar-thumb {
  border: 1px solid rgba(57, 198, 189, 0.14);
  border-radius: 999px;
  background: rgba(57, 198, 189, 0.48);
}

.scry-top10-card {
  overflow: hidden;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.scry-top10-card:hover {
  transform: translateY(-2px);
}

.scry-top10-cover {
  position: relative;
  height: 112px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #f2f4f7;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.scry-top10-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 15, 23, 0.06) 0%, rgba(8, 15, 23, 0.2) 100%);
}

.scry-top10-cover.is-empty {
  background-image: linear-gradient(135deg, rgba(63, 193, 178, 0.14) 0%, rgba(15, 23, 42, 0.03) 100%);
}

.scry-top10-card-body {
  padding-top: 0.7rem;
}

.scry-top10-logo {
  width: 54px;
  height: 54px;
  object-fit: cover;
  object-position: center;
  display: block;
  background: #fff;
  flex: 0 0 54px;
  margin-top: -40px;
  position: relative;
  z-index: 1;
  padding: 0;
  overflow: hidden;
  box-sizing: border-box;
}

.scry-top10-rank {
  min-width: 44px;
  text-align: center;
  font-weight: 600;
}

.scry-top10-rating {
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.1;
}

.scry-top10-meta {
  font-size: 13px;
  line-height: 1.25;
}

.home-feedback-strip {
  display: flex;
  gap: 0.65rem;
  overflow-x: auto;
  padding-bottom: 0.65rem;
  scroll-snap-type: x proximity;
  scrollbar-color: rgba(57, 198, 189, 0.48) transparent;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}

.home-feedback-strip::-webkit-scrollbar {
  height: 8px;
}

.home-feedback-strip::-webkit-scrollbar-track {
  background: rgba(57, 198, 189, 0.08);
  border-radius: 999px;
}

.home-feedback-strip::-webkit-scrollbar-thumb {
  border: 1px solid rgba(57, 198, 189, 0.14);
  border-radius: 999px;
  background: rgba(57, 198, 189, 0.48);
}

.home-feedback-card {
  display: flex;
  flex-direction: column;
  gap: 0.86rem;
  flex: 0 0 auto;
  width: max-content;
  min-width: min(64vw, 238px);
  max-width: min(78vw, 340px);
  min-height: 188px;
  padding: 1rem;
  scroll-snap-align: start;
  text-decoration: none;
}

.home-feedback-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  max-width: 100%;
}

.home-feedback-card-head .home-card-title {
  max-width: 24ch;
}

.home-feedback-logo {
  width: 34px;
  height: 34px;
  object-fit: cover;
  object-position: center;
  display: block;
  flex: 0 0 34px;
  background: #fff;
}

.home-feedback-tags {
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  gap: 0.35rem;
  max-width: 100%;
  min-height: 49px;
  margin-bottom: 0.28rem;
}

.home-feedback-tags.is-empty {
  pointer-events: none;
}

.home-feedback-tag {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  max-width: 100%;
  padding: 0.18rem 0.46rem;
  border: 1px solid rgba(57, 198, 189, 0.3);
  border-radius: 999px;
  background: rgba(57, 198, 189, 0.08);
  color: var(--scry-home-accent-strong);
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.1;
  overflow-wrap: anywhere;
  text-overflow: clip;
  white-space: normal;
}

.home-feedback-quote {
  display: block;
  max-height: none;
  overflow: visible;
  overflow-wrap: anywhere;
  max-width: 32ch;
  margin-bottom: 0.62rem;
  color: var(--scry-home-muted);
  font-size: 0.86rem;
  line-height: 1.35;
  text-overflow: clip;
  white-space: normal;
  word-break: normal;
  -webkit-line-clamp: unset;
  -webkit-box-orient: initial;
}

.home-feedback-date {
  align-self: flex-end;
  margin-top: auto;
  padding-top: 0.12rem;
  color: var(--scry-home-muted);
  font-size: 0.76rem;
  line-height: 1.1;
}

.home-new-store-logo {
  width: 52px;
  height: 52px;
  object-fit: cover;
  object-position: center;
  display: block;
  flex: 0 0 52px;
  padding: 0;
  overflow: hidden;
  box-sizing: border-box;
}

.home-new-store-desc {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.3;
  min-height: 2.6em;
}

.hv-grid-wrap {
  max-height: 520px;
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 4px;
}

.hv-grid {
  display: grid;
  grid-template-columns: repeat(9, minmax(0, 1fr));
  gap: 12px;
}

.hv-meta {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
}

.feature-logo__label {
  color: inherit;
}

@media (max-width: 575.98px) {
  .scry-top10-grid {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
  }

  .scry-top10-grid > a {
    flex: 0 0 min(78vw, 300px);
    width: min(78vw, 300px);
    scroll-snap-align: start;
  }

  .scry-top10-cover {
    height: 96px;
  }

  .scry-top10-logo {
    width: 50px;
    height: 50px;
    flex-basis: 50px;
    margin-top: -36px;
  }

  .hv-grid-wrap {
    max-height: 70vh;
  }

  .hv-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .hv-img {
    height: 160px !important;
  }
}

@media (min-width: 576px) and (max-width: 767.98px) {
  .scry-top10-grid {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 8px;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
  }

  .scry-top10-grid > a {
    flex: 0 0 min(58vw, 320px);
    width: min(58vw, 320px);
    scroll-snap-align: start;
  }

  .hv-grid-wrap {
    max-height: 70vh;
  }

  .hv-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 768px) {
  .scry-top10-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-feedback-card {
    min-width: 250px;
    max-width: 360px;
  }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  .hv-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 992px) {
  .scry-top10-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
  .hv-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}

/* Homepage header handoff and campaign banner */
.scry-campaign-banner {
  position: relative;
}

.scry-campaign-banner[hidden] {
  display: none !important;
}

.scry-campaign-banner .scry-hobbit-top-banner {
  padding-right: 3.1rem;
}

.scry-campaign-banner__close {
  position: absolute;
  top: 50%;
  right: 0.65rem;
  z-index: 2;
  display: inline-flex;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 999px;
  background: rgba(4, 16, 28, 0.32);
  color: #ffffff;
  font-size: 0.8rem;
  transform: translateY(-50%);
}

.scry-campaign-banner__close:hover,
.scry-campaign-banner__close:focus-visible {
  border-color: rgba(255, 255, 255, 0.72);
  background: rgba(4, 16, 28, 0.58);
  color: #ffffff;
  outline: 0;
  box-shadow: 0 0 0 0.18rem rgba(79, 213, 199, 0.22);
}

.scry-sticky-header--home .scry-home-header-filter {
  display: none;
}

.scry-sticky-header--home.is-home-search-docked .scry-home-header-filter {
  display: block;
}

@media (prefers-reduced-motion: no-preference) {
  .scry-sticky-header--home.is-home-search-docked .scry-home-header-filter {
    animation: scry-home-filter-in 160ms ease-out both;
  }
}

@keyframes scry-home-filter-in {
  from {
    opacity: 0;
    transform: translateY(-0.35rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 767.98px) {
  .scry-brandbar__brand {
    width: auto;
    max-width: none;
    min-width: 0;
    flex: 1 1 auto;
  }

  .scry-brandbar__actions {
    width: auto;
    max-width: none;
    flex: 0 0 auto;
    margin-left: auto;
  }

  .scry-brandbar--home {
    padding-top: 0.55rem !important;
    padding-bottom: 0.55rem !important;
  }

  .scry-brandbar .scry-slogan-mobile {
    display: block;
    max-width: none !important;
    margin-top: 0.1rem;
    overflow: visible;
    text-overflow: clip;
    white-space: nowrap;
  }

  .scry-campaign-banner .scry-hobbit-top-banner {
    min-height: 44px;
    gap: 0.45rem;
    padding: 0.4rem 2.9rem 0.4rem 0.65rem;
  }

  .scry-campaign-banner .scry-hobbit-top-banner__badge {
    display: none;
  }

  .scry-campaign-banner .scry-hobbit-top-banner__copy {
    min-width: 0;
    overflow: hidden;
    font-size: 0.78rem;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .scry-campaign-banner .scry-hobbit-top-banner__cta {
    flex: 0 0 auto;
    font-size: 0.72rem;
  }

  .scry-campaign-banner__close {
    right: 0.45rem;
    width: 30px;
    height: 30px;
  }
}

@media (min-width: 992px) {
  .scry-brandbar__layout:not(.scry-brandbar__layout--with-filter) {
    display: flex;
    align-items: center;
  }

  .scry-brandbar__layout:not(.scry-brandbar__layout--with-filter) > .scry-brandbar__brand {
    width: auto;
    max-width: none;
    flex: 1 1 auto;
  }

  .scry-brandbar__layout:not(.scry-brandbar__layout--with-filter) > .scry-brandbar__actions {
    width: auto;
    max-width: none;
    flex: 0 0 auto;
    margin-left: auto !important;
  }

  .scry-brandbar__layout--with-filter {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 380px) minmax(0, 1fr);
    align-items: center;
    column-gap: clamp(1rem, 2.5vw, 2.5rem);
  }

  .scry-brandbar__layout--with-filter > .scry-brandbar__brand,
  .scry-brandbar__layout--with-filter > .scry-brandbar__filter,
  .scry-brandbar__layout--with-filter > .scry-brandbar__actions {
    width: auto;
    max-width: none;
    margin-top: 0 !important;
  }

  .scry-brandbar__layout--with-filter > .scry-brandbar__brand {
    grid-column: 1;
  }

  .scry-brandbar__layout--with-filter > .scry-brandbar__filter {
    grid-column: 2;
  }

  .scry-brandbar__layout--with-filter > .scry-brandbar__actions {
    grid-column: 3;
    margin-left: 0 !important;
  }

  .scry-brandbar__identity {
    flex-direction: row !important;
    align-items: center;
    gap: 0.75rem;
  }

  .scry-brandbar .scry-slogan-mobile {
    max-width: none !important;
    min-width: 0;
    margin: 0;
    overflow: visible;
    text-overflow: clip;
  }
}

/* Home foundations */
.home-sections {
  --scry-home-accent: #39c6bd;
  --scry-home-accent-strong: #0f9b96;
  --scry-home-accent-soft: #edfdfa;
  --scry-home-ink: #1f2937;
  --scry-home-muted: #5f6c7b;
  --scry-home-border: rgba(57, 198, 189, 0.22);
  --scry-home-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
  --scry-home-shadow-soft: 0 10px 24px rgba(15, 23, 42, 0.05);
  background: transparent;
}

.scry-defer-section {
  content-visibility: visible;
}

.scry-lazy-bg {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.home-panel {
  border: 1px solid transparent;
  border-radius: 24px;
  background:
    radial-gradient(circle at top left, rgba(57, 198, 189, 0.08) 0%, rgba(57, 198, 189, 0) 42%) padding-box,
    linear-gradient(180deg, #fbfffe 0%, #f6fffd 44%, #ffffff 100%) padding-box,
    linear-gradient(135deg, rgba(123, 229, 222, 0.78) 0%, rgba(218, 250, 246, 0.98) 48%, rgba(123, 229, 222, 0.56) 100%) border-box;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.045);
  background-clip: padding-box, padding-box, border-box;
  overflow: hidden;
}

.home-panel-section {
  position: relative;
  overflow: hidden;
}

.home-panel-section::before {
  display: none;
}

.scry-live-ad-section {
  display: block;
  width: 100%;
  margin: 0 0 1rem;
  padding: 1rem;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #f3f4f6;
}

.home-sections .scry-live-ad-section {
  margin: 0 0 1.25rem;
}

.scry-live-ad-section--catalog {
  margin: 1rem 0 0;
}

.scry-catalog-ad-row .scry-live-ad-section--catalog {
  margin: 0;
}

.scry-live-ad {
  display: flex;
  justify-content: center;
  width: 100%;
}

.scry-live-ad__slot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  width: 100%;
  max-width: 100%;
  color: inherit;
  text-decoration: none;
}

.scry-live-ad__slot:hover,
.scry-live-ad__slot:focus {
  color: inherit;
  text-decoration: none;
}

.scry-live-ad__media-link {
  display: block;
  width: min(728px, 100%);
  max-width: 100%;
  color: inherit;
  text-decoration: none;
}

.scry-live-ad__media-link:hover,
.scry-live-ad__media-link:focus {
  color: inherit;
  text-decoration: none;
}

.scry-live-ad--has-desktop .scry-live-ad__slot--mobile {
  display: none;
}

.scry-live-ad__frame {
  display: block;
  width: min(728px, 100%);
  max-width: 100%;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.38);
  border-radius: 8px;
  background: #e5e7eb;
}

.scry-live-ad__media-link .scry-live-ad__frame {
  width: 100%;
}

.scry-live-ad__frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.scry-live-ad--front_page .scry-live-ad__slot--desktop .scry-live-ad__frame,
.scry-live-ad--search_results .scry-live-ad__slot--desktop .scry-live-ad__frame {
  aspect-ratio: 728 / 90;
}

.scry-live-ad__slot--mobile .scry-live-ad__frame {
  width: min(180px, 100%);
  aspect-ratio: 180 / 150;
}

.scry-live-ad__slot--mobile .scry-live-ad__media-link {
  width: min(180px, 100%);
}

.scry-live-ad__label {
  color: #64748b;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.25;
  text-align: center;
}

@media (max-width: 575.98px) {
  .scry-live-ad--has-mobile .scry-live-ad__slot--desktop {
    display: none;
  }

  .scry-live-ad--has-mobile .scry-live-ad__slot--mobile {
    display: flex;
  }
}

.home-panel-soft {
  background:
    radial-gradient(circle at top right, rgba(57, 198, 189, 0.08) 0%, rgba(57, 198, 189, 0) 44%) padding-box,
    linear-gradient(180deg, #fcfffe 0%, #f7fffd 40%, #ffffff 100%) padding-box,
    linear-gradient(135deg, rgba(123, 229, 222, 0.72) 0%, rgba(221, 250, 247, 0.98) 50%, rgba(123, 229, 222, 0.5) 100%) border-box;
}

.home-sections .hero-stat {
  min-width: 0;
  width: fit-content;
  flex: 0 0 auto;
  padding: 0.8rem 0.95rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(57, 198, 189, 0.18);
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.05);
  backdrop-filter: blur(10px);
}

.home-sections .hero-stat strong {
  display: block;
  font-size: 1.02rem;
  line-height: 1.1;
  color: var(--scry-home-ink);
}

.home-sections .hero-stat span {
  display: block;
  margin-top: 0.18rem;
  color: var(--scry-home-muted);
  font-size: 0.8rem;
  line-height: 1.25;
  white-space: nowrap;
}

.home-sections .hero-note {
  color: var(--scry-home-accent-strong);
  font-weight: 600;
}

.home-hero-proof {
  position: relative;
  overflow: hidden;
}

.home-hero-proof::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(57, 198, 189, 0.10) 0%, rgba(57, 198, 189, 0) 42%);
  pointer-events: none;
}

.home-hero-proof-item {
  position: relative;
  z-index: 1;
}

.home-hero-proof-icon {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: var(--scry-home-accent-soft) !important;
  border-color: rgba(57, 198, 189, 0.24) !important;
  color: var(--scry-home-accent-strong);
}

.home-sections .btn-scry-primary,
.home-sections .btn-scry {
  border-radius: 14px;
  font-weight: 700;
  box-shadow: 0 10px 22px rgba(57, 198, 189, 0.18);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.home-sections .btn-scry-primary,
.home-sections .btn-scry {
  background: linear-gradient(135deg, #3ecbbd 0%, #1bb3ad 100%);
  border-color: #1bb3ad;
  color: #071018 !important;
}

.home-sections .btn-scry:hover,
.home-sections .btn-scry:focus,
.home-sections .btn-scry-primary:hover,
.home-sections .btn-scry-primary:focus {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(57, 198, 189, 0.24);
}

.home-sections .feature-badge,
.home-sections .badge.feature-badge,
.home-sections .home-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.48rem 0.85rem;
  border-radius: 999px;
  background: var(--scry-home-accent-soft);
  border: 1px solid rgba(57, 198, 189, 0.20);
  color: #156f71;
  font-weight: 600;
}

.home-sections .feature-panel,
.home-side-cta {
  background:
    radial-gradient(circle at top left, rgba(57, 198, 189, 0.08) 0%, rgba(57, 198, 189, 0) 44%),
    linear-gradient(180deg, #f8fffe 0%, #ffffff 100%);
  border: 1px solid rgba(123, 229, 222, 0.58);
  border-radius: 20px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.home-sections .feature-logo {
  min-height: 86px;
  padding: 0.9rem 1rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(57, 198, 189, 0.16);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 0;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.04);
}

.home-sections .feature-logo img {
  max-width: 100%;
  max-height: 48px;
  object-fit: contain;
}

.home-sections .feature-footnote {
  color: var(--scry-home-muted) !important;
}

.home-link-reset {
  display: block;
  color: inherit;
  text-decoration: none;
}

.home-card-surface {
  border-color: rgba(123, 229, 222, 0.48) !important;
  border-radius: 18px !important;
  background:
    radial-gradient(circle at top left, rgba(57, 198, 189, 0.06) 0%, rgba(57, 198, 189, 0) 40%),
    linear-gradient(180deg, #ffffff 0%, #fbfffe 100%);
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.04);
}

.home-card-title {
  color: var(--scry-home-ink) !important;
  line-height: 1.25;
}

.home-card-meta {
  color: var(--scry-home-muted) !important;
  line-height: 1.35;
}

.home-badge-soft {
  background: var(--scry-home-accent-soft) !important;
  border: 1px solid rgba(57, 198, 189, 0.18) !important;
  color: #156f71 !important;
  font-weight: 600;
}

.home-pill-positive {
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%) !important;
  color: #f8fffc !important;
  border: 0 !important;
  font-weight: 700;
}

.home-cta-primary {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  font-weight: 800 !important;
  letter-spacing: 0.01em;
}

.home-brand-pill {
  background: rgba(255, 255, 255, 0.94);
  border-color: rgba(57, 198, 189, 0.18) !important;
}

.footer-payments { display: flex; align-items: center; flex-wrap: wrap; gap: .75rem 1rem; }
.footer-payments__logos { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem; }
.footer-payments__logos img { display: block; width: 92px; height: 40px; padding: 7px 9px; object-fit: contain; background: #fff; border: 1px solid rgba(31, 41, 55, .16); border-radius: 6px; }

.footer-partner-pill { display: inline-flex; align-items: center; justify-content: center; width: 142px; height: 52px; padding: .45rem .65rem; border: 1px solid rgba(31, 41, 55, .16); border-radius: .75rem; background: #fff; }
.footer-partner-pill img { display: block; max-width: 122px; max-height: 32px; object-fit: contain; }
.footer-partner-pill--edhrec img { max-width: 104px; }
.footer-partner-pill--set-play img { max-width: 88px; max-height: 42px; }
@media (max-width: 575.98px) { .footer-partner-pill { width: 132px; } }

.home-sections .scry-top10-card {
  border-color: rgba(57, 198, 189, 0.18) !important;
  box-shadow: var(--scry-home-shadow-soft);
  background: linear-gradient(180deg, #ffffff 0%, #fbfffe 100%) !important;
}

.home-sections .scry-top10-card .home-active-store-body {
  padding-bottom: 0.75rem;
}

.home-sections .scry-top10-card:hover {
  box-shadow: var(--scry-home-shadow);
}

.home-new-store-card {
  padding: 1rem;
  border: 1px solid rgba(123, 229, 222, 0.52);
  border-radius: 18px;
  background:
    radial-gradient(circle at top left, rgba(57, 198, 189, 0.07) 0%, rgba(57, 198, 189, 0) 46%),
    linear-gradient(180deg, #ffffff 0%, #fbfffe 100%);
  min-height: 100%;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.04);
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.home-new-store-card .flex-grow-1,
.home-mini-store-card .flex-grow-1,
.scry-top10-card .min-w-0 {
  min-width: 0;
}

.home-new-store-card .home-card-title,
.home-mini-store-card .home-card-title {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.home-new-store-card:hover,
.home-new-store-card:focus {
  transform: translateY(-2px);
  box-shadow: var(--scry-home-shadow-soft);
  border-color: rgba(57, 198, 189, 0.28);
}

.home-active-store-card {
  min-height: 100%;
  border: 1px solid rgba(123, 229, 222, 0.52);
  border-radius: 20px;
  overflow: hidden;
  background:
    radial-gradient(circle at top left, rgba(57, 198, 189, 0.07) 0%, rgba(57, 198, 189, 0) 46%),
    linear-gradient(180deg, #ffffff 0%, #fbfffe 100%);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.04);
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.home-active-store-card:hover,
.home-active-store-card:focus {
  transform: translateY(-2px);
  box-shadow: var(--scry-home-shadow);
  border-color: rgba(57, 198, 189, 0.28);
}

.home-active-store-cover {
  position: relative;
  height: 86px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #edf7f6;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.home-active-store-cover.is-empty {
  background-image: linear-gradient(135deg, rgba(63, 193, 178, 0.18) 0%, rgba(15, 23, 42, 0.04) 100%);
}

.home-active-store-body {
  padding: 0.85rem 0.95rem 0.95rem;
}

.home-active-store-logo {
  width: 54px;
  height: 54px;
  object-fit: cover;
  object-position: center;
  display: block;
  flex: 0 0 54px;
  background: #fff;
  margin-top: -34px;
  position: relative;
  z-index: 1;
  overflow: hidden;
  box-sizing: border-box;
}

.home-active-store-time {
  flex: 0 0 auto;
  white-space: nowrap;
}

.home-active-store-badge {
  width: fit-content;
}

.home-active-store-cta {
  color: var(--scry-home-accent-strong);
}

.home-deck-card {
  min-height: 100%;
  border: 1px solid rgba(123, 229, 222, 0.52);
  border-radius: 20px;
  overflow: hidden;
  background:
    radial-gradient(circle at top left, rgba(57, 198, 189, 0.07) 0%, rgba(57, 198, 189, 0) 46%),
    linear-gradient(180deg, #ffffff 0%, #fbfffe 100%);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.04);
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.home-deck-card:hover,
.home-deck-card:focus {
  transform: translateY(-2px);
  box-shadow: var(--scry-home-shadow);
  border-color: rgba(57, 198, 189, 0.28);
}

.home-deck-cover {
  height: 118px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #edf7f6;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.home-deck-cover.is-empty {
  background-image: linear-gradient(135deg, rgba(63, 193, 178, 0.18) 0%, rgba(15, 23, 42, 0.04) 100%);
}

.public-decks-page .home-deck-cover img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.public-decks-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.public-decks-title {
  color: var(--scry-text-primary);
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.05;
}

.public-deck-filters {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(170px, 0.5fr) minmax(180px, 0.55fr) auto auto;
  gap: 0.6rem;
  align-items: end;
  padding: 0.85rem;
  margin-bottom: 1rem;
  border: 1px solid var(--scry-border-default);
  border-radius: 14px;
  background: var(--scry-surface-1);
  box-shadow: 0 8px 22px rgba(13, 32, 64, 0.05);
}

.public-deck-filters label {
  display: block;
  margin-bottom: 0.2rem;
  color: var(--scry-text-muted);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.public-deck-filters .form-control,
.public-deck-filters .form-select {
  min-height: 42px;
  border-radius: 10px;
}

.public-decks-empty {
  padding: 3rem 1.25rem;
  border: 1px dashed var(--scry-border-default);
  border-radius: 18px;
  background: var(--scry-surface-0);
  color: var(--scry-text-secondary);
  text-align: center;
}

@media (max-width: 991.98px) {
  .public-deck-filters {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 575.98px) {
  .public-deck-filters {
    grid-template-columns: 1fr;
  }
}

.home-deck-body {
  padding: 0.9rem 0.95rem 0.95rem;
}

.home-deck-card .min-w-0 {
  min-width: 0;
}

.home-deck-price {
  flex: 0 0 auto;
  color: var(--scry-home-accent-strong);
  font-weight: 800;
  white-space: nowrap;
}

.home-deck-mana {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  flex-wrap: wrap;
}

.home-deck-mana-pill {
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.92);
}

.home-deck-mana-pill img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.home-deck-format {
  max-width: 112px;
  color: var(--scry-home-muted);
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1.1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.home-accessory-category-pills {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: -0.15rem 0 0.9rem;
  padding-bottom: 0.2rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.home-accessory-category-pill {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0.36rem 0.78rem;
  border: 1px solid rgba(57, 198, 189, 0.38);
  border-radius: 999px;
  background: rgba(57, 198, 189, 0.08);
  color: var(--scry-home-accent-strong);
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.1;
  white-space: nowrap;
  text-decoration: none;
}

.home-accessory-category-pill:hover,
.home-accessory-category-pill:focus {
  border-color: rgba(57, 198, 189, 0.6);
  background: rgba(57, 198, 189, 0.14);
  color: var(--scry-home-accent-strong);
  text-decoration: none;
}

.home-accessory-scroll {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding-bottom: 0.65rem;
  scroll-snap-type: x proximity;
  scrollbar-color: rgba(57, 198, 189, 0.48) transparent;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}

.home-accessory-scroll::-webkit-scrollbar {
  height: 8px;
}

.home-accessory-scroll::-webkit-scrollbar-track {
  background: transparent;
}

.home-accessory-scroll::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(57, 198, 189, 0.42);
}

.home-accessory-scroll-item {
  flex: 0 0 160px;
  width: 160px;
  max-width: 160px;
  scroll-snap-align: start;
}

.home-accessory-card {
  min-height: 100%;
}

.home-accessory-thumb {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #edf7f6;
}

.home-accessory-thumb.is-empty {
  background-image: linear-gradient(135deg, rgba(63, 193, 178, 0.18) 0%, rgba(15, 23, 42, 0.04) 100%);
}

.home-accessory-title {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  min-height: 2.5em;
  overflow: hidden;
}

.home-accessory-price {
  margin-top: 0.2rem;
  color: var(--scry-home-accent-strong);
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1.15;
}

.home-accessory-meta {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  min-height: 2.7em;
  overflow: hidden;
}

@media (max-width: 575.98px) {
  .home-active-store-cover {
    height: 76px;
  }

  .home-active-store-logo {
    width: 50px;
    height: 50px;
    flex-basis: 50px;
    margin-top: -30px;
  }

  .home-active-store-body {
    padding: 0.8rem 0.85rem 0.9rem;
  }

  .home-store-row-scroll {
    flex-wrap: nowrap;
    overflow-x: auto;
    margin-left: 0;
    margin-right: 0;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
  }

  .home-store-row-scroll > [class*="col-"] {
    flex: 0 0 min(86vw, 320px);
    width: min(86vw, 320px);
    max-width: none;
    padding-left: 4px;
    padding-right: 4px;
  }

  .home-deck-cover {
    height: 104px;
  }

  .home-accessory-scroll {
    gap: 0.55rem;
  }

  .home-accessory-scroll-item {
    flex-basis: 148px;
    width: 148px;
    max-width: 148px;
  }
}

.home-mini-store-card {
  padding: 0.75rem;
  border-radius: 16px;
  border: 1px solid rgba(123, 229, 222, 0.48);
  background:
    radial-gradient(circle at top left, rgba(57, 198, 189, 0.06) 0%, rgba(57, 198, 189, 0) 42%),
    linear-gradient(180deg, #ffffff 0%, #fbfffe 100%);
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.04);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.home-mini-store-card:hover,
.home-mini-store-card:focus {
  transform: translateY(-1px);
  box-shadow: var(--scry-home-shadow-soft);
}

.home-testimonial-card {
  background:
    radial-gradient(circle at top right, rgba(57, 198, 189, 0.08) 0%, rgba(57, 198, 189, 0) 44%) padding-box,
    linear-gradient(180deg, #ffffff 0%, #f8fffe 100%) padding-box,
    linear-gradient(135deg, rgba(123, 229, 222, 0.72) 0%, rgba(221, 250, 247, 0.98) 50%, rgba(123, 229, 222, 0.48) 100%) border-box;
  border-color: transparent !important;
}

.home-point-card {
  border-radius: 18px;
  border-color: rgba(123, 229, 222, 0.52) !important;
  background:
    radial-gradient(circle at top left, rgba(57, 198, 189, 0.07) 0%, rgba(57, 198, 189, 0) 44%),
    linear-gradient(180deg, #ffffff 0%, #fbfffe 100%);
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.04);
}

.home-point-card .badge,
.home-point-badge {
  width: max-content;
  margin: 0.75rem 0 0 0.75rem;
  background: var(--scry-home-accent-soft) !important;
  color: #156f71 !important;
  border-color: rgba(57, 198, 189, 0.18) !important;
  border-radius: 999px;
  font-weight: 600;
}

.home-pickup-chips {
  margin-bottom: 0;
}

.home-pickup-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.home-pickup-card {
  min-height: 100%;
}

.home-pickup-card .card-body {
  min-height: 100%;
}

.home-pickup-content {
  min-width: 0;
}

.home-pickup-name {
  line-height: 1.2;
}

.home-point-card .home-pickup-badge {
  margin: 0;
}

.home-pickup-logo {
  width: 96px;
  height: 54px;
  padding: 0.35rem;
  object-fit: contain;
  object-position: center;
  background-color: #ffffff;
  display: block;
  flex: 0 0 auto;
}

.home-pickup-meta {
  display: grid;
  gap: 0.45rem;
  color: var(--scry-home-muted);
  line-height: 1.35;
}

.home-pickup-meta-row {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  min-width: 0;
}

.home-pickup-meta-row i {
  width: 1rem;
  margin-top: 0.12rem;
  color: var(--scry-home-accent-strong);
  text-align: center;
  flex: 0 0 1rem;
}

.home-pickup-meta-row span {
  min-width: 0;
}

.home-pickup-aside {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.home-pickup-aside .home-feature-image {
  width: 100%;
  max-height: 220px;
  display: block;
}

@media (max-width: 767.98px) {
  .home-pickup-grid {
    grid-template-columns: 1fr;
  }

  .home-pickup-logo {
    width: 84px;
    height: 50px;
  }
}

.home-sections .bd-grid > a,
.home-sections .hv-grid > a,
.home-sections .staple-card {
  transition: transform 0.15s ease;
}

.home-sections .bd-grid > a:hover,
.home-sections .hv-grid > a:hover,
.home-sections .staple-card:hover {
  transform: translateY(-2px);
}

.home-sections .bd-grid > a .rounded.border,
.home-sections .hv-grid > a .rounded.border,
.home-sections .staple-card > div,
.home-card-surface {
  border-color: rgba(123, 229, 222, 0.48) !important;
  border-radius: 18px !important;
  background:
    radial-gradient(circle at top left, rgba(57, 198, 189, 0.06) 0%, rgba(57, 198, 189, 0) 40%),
    linear-gradient(180deg, #ffffff 0%, #fbfffe 100%);
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.04);
}

.home-sections .bd-grid > a .badge.bg-success {
  background: linear-gradient(135deg, #23b7a5 0%, #169c96 100%) !important;
}

.home-set-card {
  border-radius: 18px !important;
  border-color: rgba(123, 229, 222, 0.52) !important;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
  overflow: hidden;
}

.home-featured-sets-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.home-featured-set-card {
  display: block;
  position: relative;
  aspect-ratio: 46 / 19;
  min-height: 90px;
  overflow: hidden;
  border: 1px solid rgba(123, 229, 222, 0.52);
  border-radius: 14px;
  background: #111827;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
  color: inherit;
}

.home-featured-set-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transition: transform 180ms ease;
}

.home-featured-set-card:hover .home-featured-set-image,
.home-featured-set-card:focus-visible .home-featured-set-image {
  transform: scale(1.03);
}

.home-featured-set-card:focus-visible {
  outline: 2px solid rgba(57, 198, 189, 0.72);
  outline-offset: 3px;
}

/* Filtros de rareza para las ediciones: el SVG del set se usa como máscara para
   conservar su silueta y aplicar el color semántico de cada rareza. */
.edition-set-symbol {
  position: relative;
  display: inline-block;
  width: 1.1rem;
  height: 1.1rem;
  flex: 0 0 auto;
  background-color: currentColor;
  -webkit-mask: var(--edition-set-icon) center / contain no-repeat;
  mask: var(--edition-set-icon) center / contain no-repeat;
}

.edition-set-symbol-fallback {
  display: none;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: .62rem;
  font-weight: 800;
  line-height: 1;
  font-family: Lato, sans-serif;
}

.edition-set-symbol.is-fallback {
  background: transparent;
  mask: none;
  -webkit-mask: none;
}

.edition-set-symbol.is-fallback .edition-set-symbol-fallback {
  display: inline-flex;
}

.edition-rarity-filters {
  display: inline-flex;
  align-items: center;
  gap: .25rem;
  min-height: 2rem;
}

.edition-rarity-filters-label {
  margin-right: .1rem;
}

.edition-rarity-filter,
.home-featured-set-rarity {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: .6rem;
  background: transparent;
  text-decoration: none;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.edition-rarity-filter {
  min-width: 2rem;
  height: 2rem;
  padding: .3rem .42rem;
  font-size: .75rem;
  font-weight: 700;
  color: var(--scry-text-secondary, #5f6c7b);
}

.edition-rarity-filter:hover,
.edition-rarity-filter:focus-visible,
.edition-rarity-filter.is-active {
  border-color: rgba(15, 155, 150, .42);
  background: rgba(63, 193, 178, .12);
  color: var(--scry-text-primary, #1f2937);
}

.edition-rarity-filter:focus-visible,
.home-featured-set-rarity:focus-visible,
.home-featured-set-image-link:focus-visible {
  outline: 2px solid rgba(15, 155, 150, .72);
  outline-offset: 2px;
}

.edition-rarity-filter.is-common,
.home-featured-set-rarity.is-common { color: #252b36; }
.edition-rarity-filter.is-uncommon,
.home-featured-set-rarity.is-uncommon { color: #7b8794; }
.edition-rarity-filter.is-rare,
.home-featured-set-rarity.is-rare { color: #af7b11; }
.edition-rarity-filter.is-mythic,
.home-featured-set-rarity.is-mythic { color: #c55a1b; }

.edition-rarity-filter.is-active.is-common,
.edition-rarity-filter.is-common:hover,
.edition-rarity-filter.is-common:focus-visible { color: #252b36; }
.edition-rarity-filter.is-active.is-uncommon,
.edition-rarity-filter.is-uncommon:hover,
.edition-rarity-filter.is-uncommon:focus-visible { color: #65717f; }
.edition-rarity-filter.is-active.is-rare,
.edition-rarity-filter.is-rare:hover,
.edition-rarity-filter.is-rare:focus-visible { color: #926406; }
.edition-rarity-filter.is-active.is-mythic,
.edition-rarity-filter.is-mythic:hover,
.edition-rarity-filter.is-mythic:focus-visible { color: #ac4812; }

.home-featured-set-card {
  display: flex;
  flex-direction: column;
  aspect-ratio: auto;
}

.home-featured-set-image-link {
  display: block;
  aspect-ratio: 46 / 19;
  flex: 0 0 auto;
  overflow: hidden;
}

.home-featured-set-image-link picture {
  display: block;
  width: 100%;
  height: 100%;
}

.home-featured-set-image-link:hover .home-featured-set-image,
.home-featured-set-image-link:focus-visible .home-featured-set-image {
  transform: scale(1.03);
}

.home-featured-set-rarities {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: .5rem;
  min-height: 2.25rem;
  padding: .38rem .65rem;
  border-top: 1px solid rgba(123, 229, 222, .3);
  background: rgba(255, 255, 255, .92);
}

.home-featured-set-rarity {
  width: 1.9rem;
  height: 1.7rem;
}

.home-featured-set-rarity:hover,
.home-featured-set-rarity:focus-visible {
  border-color: currentColor;
  background: rgba(15, 155, 150, .08);
  transform: translateY(-1px);
}

.home-sections a.small,
.home-sections .small.fw-semibold.text-decoration-none {
  color: #0f7f82;
  text-decoration-color: rgba(15, 127, 130, 0.28);
  text-underline-offset: 0.14em;
}

.home-hero-mark {
  height: 37px;
  margin: 0;
  margin-top: -6px;
}

.home-grid-card-link {
  display: block;
  color: inherit;
}

.home-grid-card-media,
.home-scroll-card-media {
  height: 195px;
}

.home-card-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.home-grid-deal-badge {
  left: 8px;
  top: 8px;
}

.home-grid-meta-caption {
  font-size: 12px;
}

.home-scroll-card {
  min-width: 140px;
  max-width: 140px;
  flex: 0 0 auto;
  color: inherit;
}

.home-staple-card {
  min-width: 160px;
  max-width: 160px;
  color: inherit;
}

.home-offer-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: 0.45rem;
  padding: 0.24rem 0.5rem;
  border: 1px solid rgba(15, 155, 150, 0.28);
  border-radius: 999px;
  background: #edfdfa;
  color: #087d79;
  font-size: 0.69rem;
  font-weight: 700;
  line-height: 1.1;
}

.home-social-links {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}

.home-social-link {
  display: flex;
  min-width: 0;
  min-height: 5.5rem;
  align-items: center;
  justify-content: flex-start;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(31, 41, 55, 0.12);
  border-radius: 0.95rem;
  background: #fff;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.04);
  color: #1f2937;
  font-size: 0.82rem;
  font-weight: 800;
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.home-social-link__icon {
  display: inline-flex;
  width: 3.2rem;
  height: 3.2rem;
  flex: 0 0 3.2rem;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #edfdfa;
}
.home-social-link__icon i { font-size: 1.45rem; }
.home-social-link strong,
.home-social-link small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.home-social-link strong { font-size: 0.92rem; }
.home-social-link small { margin-top: 0.18rem; color: #5f6c7b; font-size: 0.72rem; font-weight: 600; }
.home-social-link:hover { color: #1f2937; transform: translateY(-1px); border-color: rgba(15, 155, 150, 0.52); box-shadow: 0 11px 22px rgba(15, 23, 42, 0.09); }
.home-social-link:focus-visible { outline: 3px solid rgba(57, 198, 189, 0.38); outline-offset: 2px; }
.home-social-link--instagram .home-social-link__icon { background: rgba(193, 53, 132, 0.11); }.home-social-link--instagram i { color: #c13584; }
.home-social-link--youtube .home-social-link__icon { background: rgba(230, 33, 23, 0.1); }.home-social-link--youtube i { color: #e62117; }
.home-social-link--whatsapp .home-social-link__icon { background: rgba(22, 139, 80, 0.11); }.home-social-link--whatsapp i { color: #168b50; }
.home-social-link--tiktok .home-social-link__icon { background: rgba(17, 24, 39, 0.08); }.home-social-link--tiktok i { color: #111827; }

.offers-available-intro { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.offers-available-intro p { max-width: 680px; color: #5f6c7b; }
.offers-available-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 1rem; }
.offers-available-card { display: flex; min-width: 0; flex-direction: column; overflow: hidden; border: 1px solid rgba(31, 41, 55, 0.12); border-radius: 0.95rem; background: #fff; color: #1f2937; box-shadow: 0 8px 20px rgba(15, 23, 42, 0.04); transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease; }
.offers-available-card:hover { color: #1f2937; transform: translateY(-2px); border-color: rgba(15, 155, 150, 0.48); box-shadow: 0 14px 28px rgba(15, 23, 42, 0.1); }
.offers-available-card:focus-visible { outline: 3px solid rgba(57, 198, 189, 0.38); outline-offset: 2px; }
.offers-available-card > img { width: 100%; aspect-ratio: 3 / 4; object-fit: contain; object-position: center; display: block; background: #f7fffd; }
.offers-available-card__body { display: flex; min-height: 9.3rem; flex-direction: column; align-items: flex-start; padding: 0.75rem; }
.offers-available-card__name { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; font-size: 0.88rem; font-weight: 800; line-height: 1.2; }
.offers-available-card__price { margin-top: 0.55rem; font-size: 0.9rem; font-weight: 800; color: #087d79; }
.offers-available-card__store { overflow: hidden; width: 100%; margin-top: 0.18rem; color: #5f6c7b; font-size: 0.76rem; text-overflow: ellipsis; white-space: nowrap; }
.offers-available-card .home-offer-chip { margin-top: auto; }
.offers-available-empty { padding: 2rem; border: 1px dashed rgba(15, 155, 150, 0.35); border-radius: 0.95rem; color: #5f6c7b; text-align: center; }

@media (max-width: 575.98px) {
  .home-social-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-social-link { min-height: 4.85rem; gap: 0.6rem; padding: 0.7rem; }
  .home-social-link__icon { width: 2.7rem; height: 2.7rem; flex-basis: 2.7rem; }
  .home-social-link__icon i { font-size: 1.2rem; }
  .offers-available-intro { flex-direction: column; }
  .offers-available-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem; }
}

.home-store-thumb-sm {
  width: 44px;
  height: 44px;
  object-fit: cover;
  object-position: center;
  display: block;
  flex-shrink: 0;
  padding: 0;
  overflow: hidden;
  box-sizing: border-box;
}

.home-verified-icon {
  font-size: 12px;
}

.bd-grid-wrap {
  max-height: 590px;
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 4px;
}

.bd-grid {
  display: grid;
  grid-template-columns: repeat(9, minmax(0, 1fr));
  gap: 12px;
}

.home-set-card-shell {
  min-height: 100px;
  border-radius: 14px;
  background-color: #1b1b1b;
}

.home-set-card-shell.has-bg {
  background-size: cover;
  background-position: center;
}

.home-set-icon-frame {
  width: 44px;
  height: 44px;
}

.home-set-icon {
  max-height: 40px;
  max-width: 40px;
}

.home-set-icon-on-dark {
  filter: brightness(0) invert(1) drop-shadow(0 1px 2px rgba(0, 0, 0, 0.6));
}

.home-set-code-fallback {
  display: none;
}

.home-set-name {
  line-height: 1.1;
}

.home-testimonial-avatar {
  width: 80px;
  height: 80px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.home-point-logo {
  height: 52px;
  width: auto;
}

.home-point-location {
  max-width: 340px;
}

.home-feature-image {
  max-height: 260px;
  object-fit: cover;
}

.home-youtube-banner {
  display: block;
  max-width: 100%;
  height: auto;
  margin-right: auto;
  margin-left: auto;
}

.home-banner-commander {
  max-width: 100%;
}

.home-inline-cover {
  background-position: center;
  background-size: cover;
}

.home-register-hero {
  background-image: url("../img/img-head-registro.jpg");
}

@media (max-width: 575.98px) {
  .bd-grid-wrap {
    max-height: 70vh;
  }

  .bd-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .bd-img {
    height: 160px !important;
  }
}

@media (min-width: 576px) and (max-width: 767.98px) {
  .bd-grid-wrap {
    max-height: 70vh;
  }

  .bd-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  .bd-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
  .bd-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}

@media (max-width: 767.98px) {
  .home-panel {
    border-radius: 20px;
  }

  .home-sections .hero-stat {
    min-width: 0;
  }

  .home-hero-proof {
    padding: 1.1rem !important;
  }

  .home-sections .feature-logo {
    min-height: 74px;
  }
}

@media (max-width: 991.98px) {
  .home-featured-sets-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 575.98px) {
  .home-featured-sets-grid {
    grid-template-columns: 1fr;
  }

  .home-featured-set-card {
    min-height: 104px;
  }
}

.home-folder-card {
  position: relative;
  min-height: 118px;
  border-radius: 14px;
  overflow: hidden;
  color: #fff;
  background-color: #17212b;
  background-size: cover;
  background-position: center;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.10);
  transition: transform 0.14s ease, box-shadow 0.14s ease;
}

.home-folder-card:hover,
.home-folder-card:focus {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.16);
}

.home-folder-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.86) 0%, rgba(15, 23, 42, 0.60) 58%, rgba(15, 23, 42, 0.38) 100%);
}

.home-folder-card-body {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.65rem;
  padding: 0.9rem;
}

.home-folder-store {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: rgba(255, 255, 255, 0.78);
}

.home-folder-title {
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.15;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.28);
}

.home-folder-count {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  padding: 0.18rem 0.55rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-weight: 800;
  font-size: 0.9rem;
}

.home-folder-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.home-folder-meta {
  font-size: 0.76rem;
  color: rgba(255, 255, 255, 0.82);
  white-space: nowrap;
}

.home-folder-mana {
  display: inline-flex;
  align-items: center;
  gap: 0.22rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.home-folder-mana-pill {
  width: 19px;
  height: 19px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.18);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.18);
}

.home-folder-mana-pill img {
  width: 17px;
  height: 17px;
  object-fit: contain;
}

@media (max-width: 767.98px) {
  .home-folder-card {
    min-height: 108px;
  }

  .home-folder-card-body {
    padding: 0.75rem;
  }

  .home-folder-title {
    font-size: 0.92rem;
  }

  .home-folder-footer {
    align-items: flex-end;
  }

  .home-folder-meta {
    white-space: normal;
    line-height: 1.15;
  }
}

.store-folders-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.public-folders-head {
  max-width: 760px;
}

.public-folders-title {
  color: var(--scry-text-primary);
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.05;
}

.public-folders-intro {
  max-width: 65ch;
  color: var(--scry-text-secondary);
}

.public-folder-filters {
  display: grid;
  grid-template-columns: minmax(230px, 1.15fr) minmax(155px, 0.55fr) minmax(210px, 0.75fr) auto auto auto;
  gap: 0.65rem;
  align-items: end;
  padding: 0.9rem;
  margin-bottom: 1.25rem;
  border-radius: 14px;
  background: var(--scry-surface-1);
  box-shadow: 0 8px 22px rgba(13, 32, 64, 0.06);
}

.public-folder-filters > div:not(.public-folder-verified) > label {
  display: block;
  margin-bottom: 0.2rem;
  color: var(--scry-text-muted);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.public-folder-filters .form-control,
.public-folder-filters .form-select {
  min-height: 42px;
  border-radius: 10px;
}

.public-folder-color-filter .dropdown {
  width: 100%;
}

.public-folder-multiselect {
  display: flex;
  width: 100%;
  min-height: 42px;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.45rem 0.75rem;
  border: 1px solid var(--bs-border-color);
  border-radius: 10px;
  background: var(--scry-surface-0);
  color: var(--scry-text-primary);
  font: inherit;
  text-align: left;
}

.public-folder-multiselect:hover {
  border-color: var(--scry-border-strong);
}

.public-folder-multiselect:focus-visible {
  border-color: var(--scry-accent-primary);
  outline: 3px solid rgba(63, 193, 178, 0.24);
  outline-offset: 1px;
}

.public-folder-multiselect::after {
  flex: 0 0 auto;
}

.public-folder-multiselect > span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.public-folder-multiselect-menu {
  width: 100%;
  min-width: 220px;
  padding: 0.45rem;
  border: 1px solid var(--scry-border-default);
  border-radius: 12px;
  background: var(--scry-surface-0);
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.16);
}

.public-folder-color-option {
  min-height: 38px;
  margin: 0;
  padding: 0.45rem 0.55rem 0.45rem 2rem;
  border-radius: 8px;
}

.public-folder-color-option:hover {
  background: var(--scry-surface-2);
}

.public-folder-color-option .form-check-input {
  margin-top: 0.2rem;
}

.public-folder-color-option .form-check-label {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--scry-text-primary);
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
}

.public-folder-color-option .form-check-label img {
  display: block;
  width: 19px;
  height: 19px;
  object-fit: contain;
}

.public-folder-multiselect-separator {
  height: 1px;
  margin: 0.25rem 0;
  background: var(--scry-border-default);
}

.public-folder-verified {
  display: flex;
  min-height: 42px;
  align-items: center;
  padding: 0 0.2rem;
}

.public-folder-verified .form-check {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0;
}

.public-folder-verified .form-check-label {
  color: var(--scry-text-secondary);
  font-size: 0.86rem;
  font-weight: 700;
  white-space: nowrap;
}

.public-folder-card {
  position: relative;
  display: block;
  min-height: 190px;
  height: 100%;
  overflow: hidden;
  border-radius: 14px;
  background-color: #17212b;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.14);
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.public-folder-card:hover,
.public-folder-card:focus-visible {
  color: #fff;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.2);
}

.public-folder-card:focus-visible {
  outline: 3px solid var(--scry-accent-primary);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .public-folder-card {
    transition: none;
  }

  .public-folder-card:hover,
  .public-folder-card:focus-visible {
    transform: none;
  }
}

/* Commander builder */
#home-commander-section { position: relative; z-index: 2; }
.home-sections #home-commander-section .home-commander-panel { overflow: visible; }

.home-commander-builder {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.home-commander-builder__copy { max-width: 48rem; }
.home-commander-edhrec { display: inline-flex; flex: 0 0 auto; align-items: center; gap: .35rem; color: #607284; font-size: .64rem; font-weight: 800; line-height: 1; text-decoration: none; white-space: nowrap; }
.home-commander-edhrec img { display: block; width: 54px; height: auto; }
.home-commander-edhrec:hover { color: #0f766e; text-decoration: underline; }
.home-commander-edhrec:focus-visible { outline: 3px solid rgba(63, 193, 178, .5); outline-offset: 3px; border-radius: .25rem; }

.home-commander-lookup { display: flex; align-items: stretch; flex-direction: column; width: 100%; gap: .55rem; margin-top: .25rem; }
.home-commander-lookup__search { width: 100%; min-width: 0; z-index: 2; }
.home-commander-edhrec { align-self: flex-end; }
.home-commander-recommendations { margin-top: .75rem; }

.home-commander-lookup__field {
  display: flex;
  align-items: center;
  gap: .45rem;
  min-height: 2.35rem;
  padding: .2rem .45rem .2rem .7rem;
  border: 1px solid rgba(15, 155, 150, .34);
  border-radius: .75rem;
  background: #fff;
  box-shadow: 0 8px 20px rgba(15, 23, 42, .05);
}

.home-commander-lookup__field > i { color: #0f9b96; }
.home-commander-lookup__field .form-control { min-width: 0; border: 0; box-shadow: none; background: transparent; font-size: 1.05rem; }
.home-commander-lookup__field:focus-within { border-color: #0f9b96; box-shadow: 0 0 0 .2rem rgba(63, 193, 178, .18); }

/* Blog editorial en portada */
.home-blog-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; padding-bottom: 1rem; border-bottom: 1px solid; }
.home-blog-heading > div { min-width: 0; }
.home-blog-all,
.home-blog-write,
.home-blog-cta { display: inline-flex; align-items: center; gap: .45rem; font-weight: 800; text-decoration: none; }
.home-blog-all { flex: 0 0 auto; min-height: 44px; margin-top: -.55rem; font-size: .82rem; }
.home-blog-rail { display: flex; gap: 1rem; overflow-x: auto; margin: 1rem -.25rem 0; padding: .25rem .25rem .85rem; scroll-snap-type: x proximity; scrollbar-width: thin; }
.home-blog-card { min-width: 0; flex: 0 0 calc((100% - 3rem) / 4); scroll-snap-align: start; }
.home-blog-card > a { display: flex; align-items: flex-start; gap: 1rem; min-height: 164px; height: 100%; padding: 1rem; border: 1px solid; border-radius: var(--scry-radius-sm); text-decoration: none; }
.home-blog-media { display: block; width: 88px; aspect-ratio: 1; flex: 0 0 auto; overflow: hidden; border-radius: var(--scry-radius-sm); }
.home-blog-media img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.home-blog-copy { display: flex; align-self: stretch; flex-direction: column; min-width: 0; }
.home-blog-copy time { font-size: .75rem; line-height: 1.45; font-variant-numeric: tabular-nums; }
.home-blog-title { display: -webkit-box; overflow: hidden; margin: .4rem 0 .85rem; font-size: 1rem; font-weight: 800; line-height: 1.3; overflow-wrap: anywhere; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.home-blog-cta { margin-top: auto; font-size: .78rem; }
.home-blog-write { min-height: 44px; margin-top: .15rem; font-size: .8rem; }
.home-blog-empty { padding: 1.25rem 0 .75rem; font-size: .9rem; }
.home-blog-card a:hover .home-blog-title,
.home-blog-all:hover,
.home-blog-write:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .22em; }
.home-blog-card a:focus-visible,
.home-blog-all:focus-visible,
.home-blog-write:focus-visible { outline: 3px solid; outline-offset: 3px; }

@media (max-width: 1199.98px) {
  .home-blog-card { flex-basis: calc((100% - 1rem) / 2); }
}

@media (max-width: 767.98px) {
  .home-blog-heading { align-items: baseline; }
  .home-blog-all { margin-top: 0; }
  .home-blog-card { flex-basis: min(88vw, 360px); }
  .home-blog-card > a { min-height: 154px; padding: .9rem; gap: .75rem; }
  .home-blog-media { width: 72px; }
}

/* Commander Workshop landing */
.edh-workshop { max-width: 1280px; }
.edh-workshop__topbar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.edh-workshop__topbar h1 { margin: 0; color: #1f2937; font-size: clamp(1.45rem, 2.4vw, 2rem); font-weight: 800; line-height: 1.12; }
.edh-workshop__back { color: #0f766e; font-size: .86rem; font-weight: 800; text-decoration: none; white-space: nowrap; }
.edh-workshop__back:hover { color: #087d79; text-decoration: underline; }
.edh-workshop__back:focus-visible, .edh-workshop__source:focus-visible { outline: 3px solid rgba(63, 193, 178, .5); outline-offset: 3px; }
.edh-workshop__panel { padding: clamp(1.1rem, 2.3vw, 1.75rem); border: 1px solid rgba(15, 155, 150, .28); border-radius: 1rem; background: linear-gradient(135deg, #f7fffd, #fff 64%); box-shadow: 0 10px 24px rgba(15, 23, 42, .05); }
.edh-workshop__heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 1.5rem; }
.edh-workshop__heading h2 { margin: 0; color: #1f2937; font-size: clamp(1.2rem, 2vw, 1.5rem); font-weight: 800; line-height: 1.15; }
.edh-workshop__heading p { max-width: 65ch; margin: .42rem 0 0; color: #5f6c7b; font-size: .92rem; line-height: 1.45; }
.edh-workshop__source { display: inline-flex; flex: 0 0 auto; align-items: center; gap: .45rem; margin-top: .12rem; color: #607284; font-size: .68rem; font-weight: 800; line-height: 1; text-decoration: none; white-space: nowrap; }
.edh-workshop__source img { display: block; width: 68px; height: auto; }
.edh-workshop__source:hover { color: #0f766e; text-decoration: underline; }
.edh-workshop__form { width: min(100%, 720px); margin-top: 1.25rem; }
.edh-workshop__form label { display: block; margin: 0 0 .45rem; color: #4c6273; font-size: .82rem; font-weight: 800; }
.edh-workshop__form .form-control { min-height: 2.55rem; border-color: rgba(15, 155, 150, .36); box-shadow: 0 7px 18px rgba(15, 23, 42, .04); }
.edh-workshop__form .form-control:focus { border-color: #0f9b96; box-shadow: 0 0 0 .2rem rgba(63, 193, 178, .18); }
.edh-workshop__hint { margin-top: .65rem; color: #607284; font-size: .8rem; }

.edh-results { max-width: 1180px; }
.edh-results__topbar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.edh-results__back { color: #0f766e; font-size: .86rem; font-weight: 800; text-decoration: none; }
.edh-results__back:hover { color: #087d79; text-decoration: underline; }
.edh-results__commander-search { width: min(100%, 320px); }
.edh-results__commander-search .form-control { min-height: 2.5rem; border-color: rgba(15, 155, 150, .32); }
.edh-results__commander {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.1rem 1.25rem;
  border: 1px solid rgba(15, 155, 150, .24);
  border-radius: 1rem;
  background: linear-gradient(135deg, #f7fffd, #fff 64%);
  box-shadow: 0 10px 24px rgba(15, 23, 42, .05);
}
.edh-results__commander-image { width: 98px; height: 136px; flex: 0 0 auto; cursor: zoom-in; object-fit: contain; border: 1px solid rgba(15, 23, 42, .16); border-radius: .62rem; box-shadow: 0 7px 18px rgba(15, 23, 42, .14); }
.edh-results__commander-copy { min-width: 0; flex: 1 1 auto; }
.edh-results__eyebrow { margin: 0 0 .2rem; color: #0f9b96; font-size: .72rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.edh-results__commander h1 { margin: 0; color: #1f2937; font-size: clamp(1.35rem, 2.4vw, 1.8rem); font-weight: 800; line-height: 1.15; }
.edh-results__meta { display: flex; flex-wrap: wrap; gap: .45rem 1rem; margin-top: .6rem; color: #4c6273; font-size: .82rem; font-weight: 700; }
.edh-results__meta i { color: #0f9b96; }
.edh-results__description { max-width: 65ch; margin: .55rem 0 0; color: #5f6c7b; font-size: .88rem; }
.edh-results__source { display: inline-flex; flex: 0 0 auto; flex-direction: column; align-items: flex-start; gap: .32rem; min-width: 126px; margin-left: auto; padding: .65rem .75rem; border: 1px solid rgba(15, 155, 150, .28); border-radius: .72rem; background: #fff; box-shadow: 0 7px 18px rgba(15, 23, 42, .08); color: #4c6273; font-size: .65rem; font-weight: 800; letter-spacing: .02em; line-height: 1.1; text-decoration: none; transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease; }
.edh-results__source:hover { transform: translateY(-1px); background: #edfdfa; box-shadow: 0 10px 22px rgba(15, 23, 42, .14); color: #1f2937; }
.edh-results__source:focus-visible { outline: 3px solid rgba(63, 193, 178, .5); outline-offset: 3px; }
.edh-results__source img { display: block; width: 92px; height: auto; }
.edh-results__tools { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin: 1.25rem 0 .7rem; }
.edh-results__filter-wrap { display: flex; align-items: center; width: min(100%, 480px); gap: .65rem; padding: .14rem .7rem; border: 1px solid rgba(31, 41, 55, .16); border-radius: .75rem; background: #fff; }
.edh-results__filter-wrap:focus-within { border-color: #0f9b96; box-shadow: 0 0 0 .2rem rgba(63, 193, 178, .16); }
.edh-results__filter-wrap i { color: #0f9b96; }
.edh-results__filter-wrap input { width: 100%; min-height: 2.25rem; border: 0; outline: 0; background: transparent; color: #1f2937; }
.edh-results__filter-status { color: #5f6c7b; font-size: .82rem; font-weight: 700; white-space: nowrap; }
.edh-organization-toggle { display: flex; align-items: center; gap: .4rem; margin-bottom: .55rem; }
.edh-organization-toggle__label { color: #5f6c7b; font-size: .76rem; font-weight: 800; }
.edh-organization-toggle__button { padding: .34rem .65rem; border: 1px solid rgba(31, 41, 55, .14); border-radius: 999px; background: #fff; color: #5f6c7b; font-size: .75rem; font-weight: 800; }
.edh-organization-toggle__button i { margin-right: .28rem; }
.edh-organization-toggle__button:hover, .edh-organization-toggle__button.is-active { border-color: rgba(15, 155, 150, .48); background: #edfdfa; color: #087d79; }
.edh-type-filters { display: flex; gap: .45rem; overflow-x: auto; padding-bottom: .35rem; }
.edh-type-filter { flex: 0 0 auto; padding: .36rem .68rem; border: 1px solid rgba(31, 41, 55, .14); border-radius: 999px; background: #fff; color: #4c6273; font-size: .76rem; font-weight: 800; }
.edh-type-filter span { margin-left: .18rem; color: #7b8794; }
.edh-type-filter:hover, .edh-type-filter.is-active { border-color: rgba(15, 155, 150, .48); background: #edfdfa; color: #087d79; }
.edh-type-filter.is-active span { color: inherit; }
.edh-results__groups { margin-top: .8rem; }
.edh-card-group { margin-top: .75rem; overflow: hidden; border: 1px solid rgba(31, 41, 55, .12); border-radius: .95rem; background: #fff; box-shadow: 0 7px 18px rgba(15, 23, 42, .035); }
.edh-card-group summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .85rem 1rem; cursor: pointer; list-style: none; }
.edh-card-group summary::-webkit-details-marker { display: none; }
.edh-card-group__title { display: inline-flex; align-items: center; gap: .55rem; color: #1f2937; font-weight: 800; }
.edh-card-group__title i { color: #0f9b96; }
.edh-card-group__actions { display: inline-flex; align-items: center; gap: .65rem; }
.edh-card-group__recommendation { display: inline-flex; align-items: center; gap: .28rem; padding: .3rem .52rem; border: 1px solid rgba(15, 155, 150, .28); border-radius: 999px; background: #edfdfa; color: #087d79; font-size: .68rem; font-weight: 800; white-space: nowrap; }
.edh-card-group__recommendation i { color: #0f9b96; }
.edh-card-group__sort { width: 142px; border-color: rgba(31, 41, 55, .16); color: #4c6273; font-size: .74rem; font-weight: 800; }
.edh-card-group__rarity { width: 132px; border-color: rgba(31, 41, 55, .16); color: #4c6273; font-size: .74rem; font-weight: 800; }
.edh-card-group__count { color: #7b8794; font-size: .78rem; font-weight: 700; white-space: nowrap; }
.edh-card-group__count i { margin-left: .35rem; transition: transform 160ms ease; }
.edh-card-group[open] .edh-card-group__count i { transform: rotate(180deg); }
.edh-store-group { margin-top: .75rem; overflow: hidden; border: 1px solid rgba(31, 41, 55, .12); border-radius: .95rem; background: #fff; box-shadow: 0 7px 18px rgba(15, 23, 42, .035); }
.edh-store-group summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .9rem 1rem; cursor: pointer; list-style: none; }
.edh-store-group summary::-webkit-details-marker { display: none; }
.edh-store-group__title { display: inline-flex; align-items: center; gap: .55rem; color: #1f2937; font-weight: 800; }
.edh-store-group__title i, .edh-store-type__header > span > i { color: #0f9b96; }
.edh-store-group[open] .edh-card-group__count i { transform: rotate(180deg); }
.edh-store-group__types { border-top: 1px solid rgba(31, 41, 55, .1); }
.edh-store-type + .edh-store-type { border-top: 1px solid rgba(31, 41, 55, .1); }
.edh-store-type__header { display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding: .65rem .8rem; background: #f8fafc; color: #334155; font-size: .8rem; font-weight: 800; }
.edh-store-type__header small { margin-left: .2rem; color: #7b8794; font-size: .72rem; }
.edh-card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: .8rem; padding: .8rem; border-top: 1px solid rgba(31, 41, 55, .1); }
.edh-recommendation-card { display: flex; min-width: 0; flex-direction: column; padding: .6rem; border: 1px solid rgba(31, 41, 55, .11); border-radius: .78rem; background: #fff; box-shadow: 0 5px 14px rgba(15, 23, 42, .035); transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease; }
.edh-recommendation-card:hover { border-color: rgba(15, 155, 150, .36); box-shadow: 0 10px 22px rgba(15, 23, 42, .09); transform: translateY(-1px); }
.edh-recommendation-card__media { display: block; width: 100%; aspect-ratio: 5 / 7; overflow: hidden; padding: 0; border: 0; border-radius: .52rem; background: #eef4f5; cursor: zoom-in; }
.edh-recommendation-card__media img { display: block; width: 100%; height: 100%; object-fit: contain; }
.edh-recommendation-card__body { display: grid; gap: .18rem; min-width: 0; padding: .6rem .08rem .45rem; }
.edh-recommendation-card__body h3 { overflow: hidden; margin: 0; color: #1f2937; font-size: .84rem; font-weight: 800; line-height: 1.2; text-overflow: ellipsis; white-space: nowrap; }
.edh-recommendation-card__type, .edh-recommendation-card__availability { overflow: hidden; color: #6b7280; font-size: .68rem; line-height: 1.25; text-overflow: ellipsis; white-space: nowrap; }
.edh-recommendation-card__purchase { display: flex; align-items: center; justify-content: space-between; gap: .45rem; margin-top: auto; }
.edh-recommendation-card__purchase > strong { color: #087d79; font-size: .82rem; font-weight: 900; white-space: nowrap; }
.edh-recommendation-card__offers { min-height: 2rem; padding: .35rem .52rem; border: 1px solid rgba(15, 155, 150, .42); border-radius: .55rem; background: #edfdfa; color: #087d79; font-size: .7rem; font-weight: 800; white-space: nowrap; }
.edh-recommendation-card__offers:hover { border-color: #0f9b96; background: #d8f8f3; }
#edhOffersModal { z-index: 1100; }
#edhOffersModal .modal-dialog { pointer-events: auto; }
.edh-offers-modal { opacity: 1 !important; border: 1px solid rgba(15, 155, 150, .22); border-radius: .95rem; background-color: #fff !important; color: #1f2937; }
.edh-offers-modal .modal-header { align-items: flex-start; border-color: rgba(31, 41, 55, .1); }
.edh-offers-modal .modal-body { background-color: #fff; }
.edh-offers-modal .edh-results__eyebrow { margin-bottom: .12rem; }
.edh-offer { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; align-items: center; gap: .7rem; padding: .65rem 0; border-bottom: 1px solid rgba(31, 41, 55, .09); }
.edh-offer:last-child { border-bottom: 0; }
.edh-offer > img { width: 48px; height: 66px; border: 1px solid rgba(31, 41, 55, .14); border-radius: .4rem; object-fit: cover; }
.edh-offer__body { display: grid; gap: .18rem; min-width: 0; }
.edh-offer__body > strong { overflow: hidden; color: #1f2937; font-size: .84rem; text-overflow: ellipsis; white-space: nowrap; }
.edh-offer__body > span { color: #6b7280; font-size: .7rem; }
.edh-offer__verified { color: #087d79 !important; font-size: .68rem !important; font-weight: 800; }
.edh-offer__edition { overflow: hidden; color: #526171; font-size: .7rem; line-height: 1.25; text-overflow: ellipsis; white-space: nowrap; }
.edh-offer__purchase { display: grid; justify-items: end; gap: .35rem; }
.edh-offer__purchase > strong { color: #087d79; font-size: .82rem; }
.edh-listing { display: grid; grid-template-columns: 42px minmax(0, 1fr) auto auto; align-items: center; gap: .7rem; min-width: 0; padding: .6rem .8rem; border-bottom: 1px solid rgba(31, 41, 55, .08); color: inherit; }
.edh-listing:nth-child(odd) { border-right: 1px solid rgba(31, 41, 55, .08); }
.edh-listing:hover { position: relative; z-index: 1; background: #f4fdfb; color: inherit; }
.edh-listing__media { width: 42px; height: 58px; overflow: hidden; border: 1px solid rgba(31, 41, 55, .14); border-radius: .38rem; box-shadow: 0 4px 10px rgba(15, 23, 42, .08); }
.edh-listing__image { width: 100%; height: 100%; display: block; object-fit: cover; }
.edh-listing__media:focus-visible, .edh-listing__body:focus-visible, .edh-listing__cart:focus-visible { outline: 3px solid rgba(63, 193, 178, .44); outline-offset: 2px; }
.edh-listing__body { display: grid; min-width: 0; gap: .12rem; color: inherit; text-decoration: none; }
.edh-listing__name { overflow: hidden; color: #1f2937; font-size: .88rem; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }
.edh-listing__edhrec { overflow: hidden; color: #0f766e; font-size: .68rem; font-weight: 800; line-height: 1.25; text-overflow: ellipsis; white-space: nowrap; }
.edh-listing__edhrec i { margin-right: .16rem; color: #0f9b96; }
.edh-listing__type, .edh-listing__store { overflow: hidden; color: #6b7280; font-size: .72rem; line-height: 1.25; text-overflow: ellipsis; white-space: nowrap; }
.edh-listing__price { align-self: start; color: #087d79; font-size: .84rem; font-weight: 900; white-space: nowrap; }
.edh-listing__cart { display: inline-flex; align-items: center; justify-content: center; gap: .32rem; min-height: 2rem; padding: .35rem .52rem; border: 1px solid rgba(15, 155, 150, .42); border-radius: .55rem; background: #edfdfa; color: #087d79; font-size: .72rem; font-weight: 800; white-space: nowrap; }
.edh-listing__cart:hover { border-color: #0f9b96; background: #d8f8f3; }
.edh-listing__cart.is-loading { cursor: wait; opacity: .62; }
.edh-listing__cart.is-loading i { animation: edh-cart-spin .75s linear infinite; }
@keyframes edh-cart-spin { to { transform: rotate(360deg); } }
.edh-card-group__more { display: block; width: calc(100% - 1.6rem); margin: .65rem .8rem .8rem; padding: .55rem .75rem; border: 1px solid rgba(15, 155, 150, .28); border-radius: .65rem; background: #f7fffd; color: #087d79; font-size: .8rem; font-weight: 800; }
.edh-card-group__more:hover { background: #edfdfa; }
.edh-results__empty { margin: 1rem 0; padding: 1rem; border: 1px dashed rgba(31, 41, 55, .22); border-radius: .85rem; color: #5f6c7b; text-align: center; }
.edh-card-hover-preview { position: fixed; z-index: 9999; width: min(320px, calc(100vw - 28px)); overflow: hidden; border-radius: .85rem; background: #111827; box-shadow: 0 18px 50px rgba(2, 6, 23, .34); pointer-events: none; }
.edh-card-hover-preview img { display: block; width: 100%; height: auto; }

@media (max-width: 767.98px) {
  .edh-workshop__topbar { align-items: flex-start; flex-direction: column-reverse; gap: .55rem; }
  .edh-workshop__heading { align-items: stretch; flex-direction: column; gap: .9rem; }
  .edh-workshop__source { align-self: flex-start; }
  .edh-workshop__form { width: 100%; }
  .home-commander-edhrec { align-self: flex-start; }
  .edh-results__topbar { align-items: stretch; flex-direction: column-reverse; }
  .edh-results__commander-search { width: 100%; }
  .edh-results__commander { align-items: stretch; flex-direction: column; gap: 1rem; padding: 1rem; }
  .edh-results__commander-image { width: 128px; height: 178px; align-self: center; }
  .edh-results__description { font-size: .81rem; }
  .edh-results__source { align-self: stretch; flex-direction: row; align-items: center; justify-content: space-between; margin-left: 0; }
  .edh-results__tools { align-items: stretch; flex-direction: column; gap: .5rem; }
  .edh-organization-toggle { overflow-x: auto; padding-bottom: .1rem; }
  .edh-organization-toggle__label { display: none; }
  .edh-card-group summary { align-items: flex-start; flex-wrap: wrap; }
  .edh-card-group__title { flex-basis: 100%; }
  .edh-card-group__actions { display: grid; width: 100%; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .45rem; }
  .edh-card-group__recommendation { grid-column: 1 / -1; justify-self: start; }
  .edh-card-group__sort, .edh-card-group__rarity { width: 100%; min-width: 0; }
  .edh-card-group__count { grid-column: 1 / -1; }
  .edh-store-type__header { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .45rem; }
  .edh-store-type__header > span { grid-column: 1 / -1; }
  .edh-store-type__header .edh-card-group__recommendation { grid-column: 1 / -1; justify-self: start; }
  .edh-store-type__header .edh-card-group__sort, .edh-store-type__header .edh-card-group__rarity { width: 100%; min-width: 0; }
  .edh-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .55rem; padding: .55rem; }
  .edh-recommendation-card { padding: .45rem; }
  .edh-recommendation-card__body h3 { font-size: .76rem; }
  .edh-recommendation-card__availability { white-space: normal; }
  .edh-recommendation-card__purchase { display: grid; grid-template-columns: minmax(0, 1fr); align-items: stretch; gap: .4rem; }
  .edh-recommendation-card__purchase > strong { justify-self: start; }
  .edh-recommendation-card__purchase .edh-recommendation-card__offers,
  .edh-recommendation-card__purchase .edh-listing__cart { width: 100%; min-height: 2.15rem; }
  .edh-listing:nth-child(odd) { border-right: 0; }
}

.public-folder-card__cover {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.public-folder-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(7, 16, 24, 0.92) 0%, rgba(7, 16, 24, 0.7) 55%, rgba(7, 16, 24, 0.38) 100%);
}

.public-folder-card__body {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 190px;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.1rem;
}

.public-folder-card__store {
  display: block;
  margin-bottom: 0.45rem;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.25;
}

.public-folder-card__store .fa-check-circle {
  margin-left: 0.2rem;
  color: #8be7dd;
}

.public-folder-card__title {
  display: -webkit-box;
  overflow: hidden;
  color: #fff;
  font-size: 1.3rem;
  font-weight: 800;
  line-height: 1.15;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.32);
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.public-folder-card__footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.75rem;
}

.public-folder-card__mana {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  flex-wrap: wrap;
}

.public-folder-card__mana-pill {
  display: inline-flex;
  width: 21px;
  height: 21px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.public-folder-card__mana-pill img {
  display: block;
  width: 19px;
  height: 19px;
  object-fit: contain;
}

.public-folder-card__availability {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: #fff;
  font-size: 0.84rem;
  font-weight: 800;
  white-space: nowrap;
}

.public-folders-empty {
  padding: 3rem 1.25rem;
  border: 1px dashed var(--scry-border-default);
  border-radius: 14px;
  background: var(--scry-surface-0);
  color: var(--scry-text-secondary);
  text-align: center;
}

@media (max-width: 1199.98px) {
  .public-folder-filters {
    grid-template-columns: 1fr 0.65fr 0.85fr;
  }
}

@media (max-width: 767.98px) {
  .public-folders-title {
    font-size: 1.55rem;
  }

  .public-folder-filters {
    grid-template-columns: 1fr 1fr;
  }

  .public-folder-card,
  .public-folder-card__body {
    min-height: 160px;
  }
}

@media (max-width: 575.98px) {
  .public-folder-filters {
    grid-template-columns: 1fr;
  }

  .public-folder-filters .btn {
    width: 100%;
  }

  .public-folder-card__body {
    padding: 0.9rem;
  }
}

.store-folders-title {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.05;
  color: var(--scry-text-primary);
}

.store-folder-card {
  position: relative;
  display: block;
  min-height: 152px;
  height: 100%;
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  color: #fff;
  background-color: #17212b;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border: 1px solid rgba(48, 48, 48, 0.10);
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.10);
  transition: transform 0.14s ease, box-shadow 0.14s ease, border-color 0.14s ease;
}

.store-folder-card:hover,
.store-folder-card:focus {
  color: #fff;
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.18);
  outline: 0;
}

.store-folder-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(16, 24, 40, 0.88) 0%, rgba(16, 24, 40, 0.58) 58%, rgba(16, 24, 40, 0.38) 100%);
}

.store-folder-card__body {
  position: relative;
  z-index: 1;
  height: 100%;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.75rem;
}

.store-folder-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.8rem;
}

.store-folder-card__title {
  font-weight: 800;
  font-size: 1.12rem;
  line-height: 1.15;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.28);
}

.store-folder-card__availability {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.28);
}

.store-folder-card__availability-text {
  font-weight: 800;
  font-size: 0.78rem;
  opacity: 0.92;
  white-space: nowrap;
}

.store-folder-card__count {
  flex: 0 0 auto;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-weight: 800;
  font-size: 0.9rem;
}

.store-folder-card__bottom {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.store-folder-card__mana {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.25rem;
  flex-wrap: wrap;
}

.store-folder-card__mana-pill {
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.25);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 1px 10px rgba(0, 0, 0, 0.18);
}

.store-folder-card__mana-pill img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

@media (max-width: 767.98px) {
  .store-folders-head {
    align-items: flex-start;
  }

  .store-folders-title {
    font-size: 1.55rem;
  }

  .store-folder-card {
    min-height: 128px;
  }

  .store-folder-card__body {
    padding: 0.75rem;
  }

  .store-folder-card__top {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
  }

  .store-folder-card__title {
    font-size: 1rem;
  }

  .store-folder-card__availability {
    width: 100%;
    flex-wrap: wrap;
  }

  .store-folder-card__availability-text {
    white-space: normal;
  }
}

.store-reputation-page {
  color: var(--scry-text-primary);
}

.store-reputation-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.store-reputation-title {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.05;
  color: var(--scry-text-primary);
}

.store-reputation-verified {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 34px;
  padding: 0.42rem 0.7rem;
  border: 1px solid rgba(57, 198, 189, 0.28);
  border-radius: 999px;
  background: rgba(57, 198, 189, 0.08);
  color: var(--scry-accent-primary-strong);
  font-size: 0.82rem;
  font-weight: 800;
}

.store-reputation-summary {
  display: grid;
  grid-template-columns: minmax(190px, 0.85fr) minmax(0, 2fr);
  gap: 1rem;
  padding: 1rem;
  border: 1px solid var(--scry-border-soft);
  border-radius: 8px;
  background: var(--scry-public-panel);
  box-shadow: var(--scry-shadow-sm);
}

.store-reputation-scorebox {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 126px;
}

.store-reputation-score {
  font-size: 2.35rem;
  font-weight: 900;
  line-height: 1;
  color: var(--scry-text-primary);
}

.store-reputation-stars {
  margin-top: 0.45rem;
  color: #f5b342;
  font-size: 1.05rem;
  letter-spacing: 0;
}

.store-reputation-kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}

.store-reputation-kpi {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 96px;
  padding: 0.82rem;
  border: 1px solid var(--scry-border-soft);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.52);
}

.store-reputation-kpi span {
  color: var(--scry-text-primary);
  font-size: 1.3rem;
  font-weight: 900;
  line-height: 1.1;
}

.store-reputation-kpi small {
  margin-top: 0.25rem;
  color: var(--scry-text-secondary);
  font-weight: 700;
  line-height: 1.2;
}

.scry-store-secondary > .scry-store-description + .scry-store-description-note {
  margin-top: 0.5rem;
  padding-top: 0.5rem;
  border-top: 1px solid var(--scry-border-soft, rgba(15, 23, 42, 0.1));
}

.scry-reputation-link {
  display: inline-flex;
  align-items: center;
  margin-top: 0.65rem;
  color: var(--scry-accent-primary-strong);
  font-size: 0.86rem;
  font-weight: 800;
  text-decoration: none;
}

.scry-reputation-link:hover,
.scry-reputation-link:focus {
  color: var(--scry-accent-primary-strong);
  text-decoration: underline;
}

.scry-store-stat-opinions-link {
  color: var(--scry-accent-primary-strong);
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.16em;
}

.scry-store-stat-opinions-link:hover,
.scry-store-stat-opinions-link:focus {
  color: var(--scry-accent-primary-strong);
}

.scry-reputation-footer {
  display: flex;
  justify-content: flex-end;
  margin-top: 0.75rem;
}

.scry-reputation-footer .scry-reputation-link {
  gap: 0.4rem;
  margin-top: 0;
  text-decoration: underline;
  text-underline-offset: 0.16em;
}

.scry-store-stat-opinions-link:focus-visible,
.scry-reputation-footer .scry-reputation-link:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}

.store-reputation-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.store-reputation-filter,
.store-reputation-page-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0.45rem 0.78rem;
  border: 1px solid var(--scry-border-soft);
  border-radius: 999px;
  background: var(--scry-public-panel);
  color: var(--scry-text-secondary);
  font-size: 0.88rem;
  font-weight: 800;
  text-decoration: none;
}

.store-reputation-filter:hover,
.store-reputation-filter:focus,
.store-reputation-page-link:hover,
.store-reputation-page-link:focus,
.store-reputation-filter.is-active {
  border-color: rgba(57, 198, 189, 0.46);
  background: rgba(57, 198, 189, 0.1);
  color: var(--scry-accent-primary-strong);
  text-decoration: none;
}

.store-reputation-result-count {
  color: var(--scry-text-secondary);
  font-size: 0.86rem;
  font-weight: 700;
}

.store-reputation-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.store-reputation-review,
.store-reputation-empty {
  border: 1px solid var(--scry-border-soft);
  border-radius: 8px;
  background: var(--scry-public-panel);
  box-shadow: var(--scry-shadow-sm);
}

.store-reputation-review {
  display: flex;
  flex-direction: column;
  gap: 0.82rem;
  min-height: 196px;
  padding: 1rem;
}

.store-reputation-review__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}

.store-reputation-review__type {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  color: var(--scry-text-primary);
  font-size: 0.9rem;
  font-weight: 900;
}

.store-reputation-review__type.is-positive {
  color: #11845b;
}

.store-reputation-review__type.is-negative {
  color: #b42318;
}

.store-reputation-review__date,
.store-reputation-review__foot,
.store-reputation-review__empty-comment {
  color: var(--scry-text-secondary);
  font-size: 0.82rem;
  line-height: 1.35;
}

.store-reputation-review__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.store-reputation-review__tags span {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  padding: 0.18rem 0.5rem;
  border: 1px solid rgba(57, 198, 189, 0.28);
  border-radius: 999px;
  background: rgba(57, 198, 189, 0.08);
  color: var(--scry-accent-primary-strong);
  font-size: 0.74rem;
  font-weight: 800;
  line-height: 1.15;
  overflow-wrap: anywhere;
  text-overflow: clip;
  white-space: normal;
}

.store-reputation-review__comment {
  display: block;
  margin: 0;
  max-height: none;
  overflow: visible;
  overflow-wrap: anywhere;
  color: var(--scry-text-primary);
  font-size: 0.96rem;
  line-height: 1.45;
  text-overflow: clip;
  white-space: normal;
  word-break: normal;
  -webkit-line-clamp: unset;
  -webkit-box-orient: initial;
}

.store-reputation-review__seller-response {
  display: grid;
  gap: 0.35rem;
  padding: 0.78rem;
  border: 1px solid rgba(57, 198, 189, 0.28);
  border-radius: 8px;
  background: rgba(57, 198, 189, 0.08);
}

.store-reputation-review__seller-label {
  display: flex;
  align-items: center;
  gap: 0.38rem;
  flex-wrap: wrap;
  color: var(--scry-accent-primary-strong);
  font-size: 0.78rem;
  font-weight: 900;
  line-height: 1.2;
}

.store-reputation-review__seller-label span {
  color: var(--scry-text-secondary);
  font-weight: 800;
}

.store-reputation-review__seller-text {
  color: var(--scry-text-primary);
  font-size: 0.88rem;
  line-height: 1.42;
}

.store-reputation-review__foot {
  margin-top: auto;
  padding-top: 0.25rem;
  font-weight: 700;
}

.store-reputation-empty {
  padding: 1.25rem;
  color: var(--scry-text-secondary);
  font-weight: 700;
}

.store-reputation-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.store-reputation-page-status {
  color: var(--scry-text-secondary);
  font-size: 0.88rem;
  font-weight: 800;
}

@media (max-width: 991.98px) {
  .store-reputation-summary {
    grid-template-columns: 1fr;
  }

  .store-reputation-kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .store-reputation-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 575.98px) {
  .store-reputation-title {
    font-size: 1.55rem;
  }

  .store-reputation-kpis {
    grid-template-columns: 1fr;
  }

  .store-reputation-review__top {
    flex-direction: column;
    gap: 0.35rem;
  }
}

.scry-seller-reputation {
  color: var(--scry-text-primary);
}

.seller-reputation-summary {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.85rem;
  margin-bottom: 1rem;
}

.seller-reputation-stat {
  min-height: 94px;
  padding: 0.9rem;
  border: 1px solid var(--scry-border-soft);
  border-radius: 8px;
  background: var(--scry-surface-elevated, #fff);
  box-shadow: var(--scry-shadow-sm);
}

.seller-reputation-stat span {
  display: block;
  color: var(--scry-text-primary);
  font-size: 1.42rem;
  font-weight: 900;
  line-height: 1.1;
}

.seller-reputation-stat small {
  display: block;
  margin-top: 0.35rem;
  color: var(--scry-text-secondary);
  font-weight: 800;
  line-height: 1.25;
}

.seller-reputation-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.seller-reputation-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.seller-reputation-filter,
.seller-reputation-page-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0.42rem 0.75rem;
  border: 1px solid var(--scry-border-soft);
  border-radius: 999px;
  background: var(--scry-surface-elevated, #fff);
  color: var(--scry-text-secondary);
  font-size: 0.86rem;
  font-weight: 800;
  text-decoration: none;
}

.seller-reputation-filter:hover,
.seller-reputation-filter:focus,
.seller-reputation-page-link:hover,
.seller-reputation-page-link:focus,
.seller-reputation-filter.is-active {
  border-color: rgba(57, 198, 189, 0.48);
  background: rgba(57, 198, 189, 0.1);
  color: var(--scry-accent-primary-strong);
  text-decoration: none;
}

.seller-reputation-count,
.seller-reputation-muted {
  color: var(--scry-text-secondary);
  font-size: 0.88rem;
  font-weight: 700;
}

.seller-reputation-empty {
  padding: 1rem;
  border: 1px solid var(--scry-border-soft);
  border-radius: 8px;
  background: var(--scry-surface-elevated, #fff);
  color: var(--scry-text-secondary);
  font-weight: 700;
}

.seller-reputation-list {
  display: grid;
  gap: 0.9rem;
}

.seller-reputation-item {
  display: grid;
  gap: 0.85rem;
  padding: 1rem;
  border: 1px solid var(--scry-border-soft);
  border-radius: 8px;
  background: var(--scry-surface-elevated, #fff);
  box-shadow: var(--scry-shadow-sm);
}

.seller-reputation-item__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}

.seller-reputation-type {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  color: var(--scry-text-primary);
  font-size: 0.92rem;
  font-weight: 900;
}

.seller-reputation-type.is-positive {
  color: #11845b;
}

.seller-reputation-type.is-negative {
  color: #b42318;
}

.seller-reputation-meta {
  margin-top: 0.18rem;
  color: var(--scry-text-secondary);
  font-size: 0.82rem;
  font-weight: 700;
}

.seller-reputation-order-link {
  color: var(--scry-accent-primary-strong);
  font-weight: 900;
  text-decoration: none;
}

.seller-reputation-order-link:hover,
.seller-reputation-order-link:focus {
  color: var(--scry-accent-primary-strong);
  text-decoration: underline;
}

.seller-reputation-status {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0.25rem 0.58rem;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 900;
  white-space: nowrap;
}

.seller-reputation-status.is-answered {
  background: rgba(17, 132, 91, 0.12);
  color: #11845b;
}

.seller-reputation-status.is-pending {
  background: rgba(180, 35, 24, 0.1);
  color: #b42318;
}

.seller-reputation-tags,
.seller-reputation-examples {
  display: flex;
  flex-wrap: wrap;
  gap: 0.38rem;
}

.seller-reputation-tags span,
.seller-reputation-examples span {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  padding: 0.2rem 0.52rem;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 800;
  line-height: 1.2;
}

.seller-reputation-tags span {
  border: 1px solid rgba(57, 198, 189, 0.28);
  background: rgba(57, 198, 189, 0.08);
  color: var(--scry-accent-primary-strong);
}

.seller-reputation-comment {
  margin: 0;
  color: var(--scry-text-primary);
  font-size: 0.96rem;
  line-height: 1.45;
}

.seller-reputation-current-response {
  display: grid;
  gap: 0.28rem;
  padding: 0.75rem;
  border: 1px solid rgba(57, 198, 189, 0.28);
  border-radius: 8px;
  background: rgba(57, 198, 189, 0.08);
  color: var(--scry-text-primary);
  font-size: 0.9rem;
  line-height: 1.42;
}

.seller-reputation-current-response__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}

.seller-reputation-current-response__label {
  color: var(--scry-accent-primary-strong);
  font-size: 0.78rem;
  font-weight: 900;
}

.seller-reputation-current-response__label span {
  display: block;
  margin-top: 0.12rem;
  color: var(--scry-text-secondary);
  font-size: 0.74rem;
  font-weight: 800;
}

.seller-reputation-current-response__text {
  white-space: normal;
}

.seller-reputation-edit-button {
  flex: 0 0 auto;
}

.seller-reputation-guidance {
  display: grid;
  gap: 0.55rem;
  padding: 0.82rem;
  border: 1px solid rgba(245, 179, 66, 0.32);
  border-radius: 8px;
  background: rgba(245, 179, 66, 0.1);
  color: var(--scry-text-primary);
  font-size: 0.88rem;
  line-height: 1.4;
}

.seller-reputation-examples span {
  border: 1px solid rgba(245, 179, 66, 0.36);
  background: rgba(255, 255, 255, 0.55);
  color: var(--scry-text-secondary);
}

.seller-reputation-form {
  display: grid;
  gap: 0.25rem;
}

.seller-reputation-form.is-collapsed {
  display: none;
}

.seller-reputation-form textarea {
  resize: vertical;
}

.seller-reputation-form__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.seller-reputation-form__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.seller-reputation-private-action {
  display: flex;
  align-items: center;
}

.seller-reputation-private-action .btn,
.seller-reputation-form__actions .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.42rem;
}

.seller-reputation-counter {
  color: var(--scry-text-secondary);
  font-weight: 800;
}

.seller-reputation-counter.is-limit {
  color: #b42318;
}

.seller-reputation-confirm-copy {
  color: var(--scry-text-secondary);
  font-size: 0.92rem;
  line-height: 1.45;
}

.seller-reputation-confirm-preview {
  min-height: 78px;
  padding: 0.85rem;
  border: 1px solid var(--scry-border-soft);
  border-radius: 8px;
  background: var(--scry-surface-1);
  color: var(--scry-text-primary);
  font-size: 0.94rem;
  font-weight: 700;
  line-height: 1.45;
  white-space: pre-wrap;
}

.seller-reputation-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  margin: 1.25rem 0;
  color: var(--scry-text-secondary);
  font-size: 0.88rem;
  font-weight: 800;
  flex-wrap: wrap;
}

@media (max-width: 1199.98px) {
  .seller-reputation-summary {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 767.98px) {
  .seller-reputation-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .seller-reputation-item__head {
    flex-direction: column;
    gap: 0.45rem;
  }

  .seller-reputation-current-response__head {
    flex-direction: column;
    gap: 0.55rem;
  }

  .seller-reputation-edit-button {
    width: 100%;
  }

  .seller-reputation-form__actions .btn {
    flex: 1 1 100%;
  }

  .seller-reputation-private-action .btn {
    width: 100%;
  }
}

@media (max-width: 575.98px) {
  .seller-reputation-summary {
    grid-template-columns: 1fr;
  }
}

.scry-pill-link:hover,
.scry-pill-link:focus {
  color: var(--scry-text-primary);
  text-decoration: none;
}

.scry-badge-soft {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.28rem 0.65rem;
  border: 1px solid var(--scry-border-soft);
  border-radius: 999px;
  background: var(--scry-accent-primary-soft);
  color: var(--scry-accent-primary-strong);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.2;
}

.scry-icon-button {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--scry-border-default);
  border-radius: 999px;
  background: var(--scry-surface-0);
  color: var(--scry-text-secondary);
  text-decoration: none;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.scry-icon-button:hover,
.scry-icon-button:focus {
  background: var(--scry-surface-1);
  border-color: var(--scry-border-soft);
  color: var(--scry-text-primary);
}

.scry-btn-semibold {
  font-weight: 600;
}

.scry-link-muted {
  color: var(--scry-text-secondary);
  text-decoration: none;
}

.scry-link-muted:hover,
.scry-link-muted:focus {
  color: var(--scry-text-primary);
  text-decoration: none;
}

.scry-table-compact {
  font-size: 0.92rem;
}

.scry-th-compact {
  font-size: 0.82rem;
  letter-spacing: 0.02em;
}

.scry-col-message {
  width: 28px;
  padding-left: 4px !important;
  padding-right: 4px !important;
}

.scry-col-check {
  width: 52px;
}

.ventas-despacho-masivo-control {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  margin: 0;
  cursor: pointer;
}

.ventas-despacho-masivo-control .form-check-input {
  width: 1.25rem;
  height: 1.25rem;
  margin: 0;
  cursor: pointer;
}

.scry-sales-table-note {
  margin: 0;
  padding: 0.65rem 1rem;
}

#modalDespachoMasivo .modal-dialog {
  height: auto;
}

#modalDespachoMasivo .modal-content {
  max-height: calc(100vh - 2rem);
  max-height: calc(100dvh - 2rem);
}

#modalDespachoMasivo .modal-header,
#modalDespachoMasivo .modal-body,
#modalDespachoMasivo .modal-footer {
  padding: 0.75rem 1rem !important;
}

#modalDespachoMasivo .modal-header {
  align-items: flex-start;
  gap: 0.5rem;
}

#modalDespachoMasivo .modal-title {
  font-size: 1rem !important;
  line-height: 1.35;
}

#modalDespachoMasivo .btn-close {
  flex-shrink: 0;
  min-width: 24px;
  min-height: 24px;
}

#modalDespachoMasivo .modal-body {
  overflow-y: auto;
  min-height: 0;
}

#modalDespachoMasivo .alert {
  padding: 0.625rem 0.75rem;
  line-height: 1.4;
}

.ventas-bulk-cards {
  display: grid;
  gap: 0.5rem;
}

.ventas-bulk-card {
  padding: 0.625rem 0.75rem;
  border: 1px solid var(--scry-border-default);
  border-radius: 12px;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.ventas-bulk-card .ventas-despacho-masivo-resultado {
  margin-top: 0.25rem;
}

.ventas-bulk-group {
  margin: 0.5rem 0 0;
  font-size: 0.875rem;
}

#modalDespachoMasivo .modal-footer {
  gap: 0.5rem;
}

#modalDespachoMasivo .modal-footer .btn {
  margin: 0;
  min-height: 44px;
}

@media (max-width: 767.98px) {
  #ventas_table.ventas-bulk-mobile,
  #ventas_table.ventas-bulk-mobile thead,
  #ventas_table.ventas-bulk-mobile tbody {
    display: block;
    width: 100% !important;
  }

  #ventas_table.ventas-bulk-mobile colgroup {
    display: none;
  }

  #ventas_table.ventas-bulk-mobile thead tr {
    display: block;
  }

  #ventas_table.ventas-bulk-mobile thead th:not(.scry-col-check) {
    display: none;
  }

  #ventas_table.ventas-bulk-mobile thead .scry-col-check {
    width: auto;
  }

  #ventas_table.ventas-bulk-mobile thead .scry-col-check::after {
    content: attr(data-selection-label);
    font-weight: normal;
  }

  #ventas_table.ventas-bulk-mobile tbody tr {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr);
    padding: 0.5rem 0;
  }

  #ventas_table.ventas-bulk-mobile tbody td {
    display: none;
  }

  #ventas_table.ventas-bulk-mobile tbody .scry-col-check {
    display: block;
    grid-column: 1;
    grid-row: 1 / span 3;
  }

  #ventas_table.ventas-bulk-mobile tbody .col-pedido-action,
  #ventas_table.ventas-bulk-mobile tbody .scry-col-buyer,
  #ventas_table.ventas-bulk-mobile tbody .ventas-bulk-status {
    display: block;
    grid-column: 2;
    min-width: 0;
    overflow-wrap: anywhere;
  }

  #ventas_table.ventas-bulk-mobile tbody .dataTables_empty,
  #ventas_table.ventas-bulk-mobile tbody .dt-empty {
    display: block;
    grid-column: 1 / -1;
  }

  #modalDespachoMasivo .modal-footer .btn {
    min-height: 44px;
    flex: 1 1 auto;
  }

  .ventas-despacho-masivo-control .form-check-input {
    width: 1.35rem;
    height: 1.35rem;
  }
}

.scry-col-action-sm {
  width: 84px;
}

.scry-col-stock {
  width: 90px;
}

.scry-col-price {
  width: 120px;
}

.scry-col-buyer {
  min-width: 10.5rem;
  max-width: 13.5rem;
}

.scry-sale-buyer-email {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.scry-note-preview-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.9rem;
  height: 1.9rem;
  padding: 0;
  border: 0;
  border-radius: 0.5rem;
  background: transparent;
  color: var(--scry-text-secondary);
  transition: background-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.scry-note-preview-trigger:hover,
.scry-note-preview-trigger:focus-visible {
  background: var(--scry-surface-1);
  color: var(--scry-text-primary);
  outline: 0;
  box-shadow: 0 0 0 0.2rem rgba(63, 193, 178, 0.22);
}

.tooltip.scry-note-tooltip {
  max-width: min(22rem, calc(100vw - 2rem));
  --bs-tooltip-bg: var(--scry-surface-2);
  --bs-tooltip-color: var(--scry-text-primary);
}

.tooltip.scry-note-tooltip .tooltip-inner {
  max-width: 100%;
  padding: 0.65rem 0.75rem;
  border-radius: 0.6rem;
  background: var(--scry-surface-2);
  color: var(--scry-text-primary);
  font-size: 0.82rem;
  line-height: 1.4;
  text-align: left;
  box-shadow: 0 10px 24px rgba(17, 24, 39, 0.16);
}

.scry-scale-checkbox {
  transform: scale(1.15);
}

.scry-card-thumb {
  width: 56px;
  height: auto;
}

.scry-commission-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.5rem 0.9rem;
  border: 1px solid var(--scry-border-default);
  border-radius: 999px;
  background: var(--scry-surface-1);
  color: var(--scry-text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  line-height: 1.4;
}

.scry-commission-pill:hover,
.scry-commission-pill:focus {
  color: var(--scry-text-primary);
  text-decoration: none;
}

.scry-settings-sidebar {
  border-radius: 16px;
}

.scry-settings-sidebar .card-body {
  padding: 0.5rem;
}

.scry-settings-sidebar .list-group-item {
  border-radius: 12px;
  margin: 2px 0;
  border-width: 0;
}

.scry-settings-sidebar .list-group-item:hover,
.scry-settings-sidebar .list-group-item:focus {
  background: var(--scry-surface-2);
  color: var(--scry-text-primary);
}

.scry-settings-sidebar .list-group-item.active {
  background:
    radial-gradient(circle at top left, rgba(var(--scry-accent-primary-soft-rgb), 0.2) 0%, rgba(var(--scry-accent-primary-soft-rgb), 0) 48%) padding-box,
    linear-gradient(180deg, var(--scry-surface-2) 0%, var(--scry-surface-1) 100%) padding-box;
  color: var(--scry-text-primary);
  border: 1px solid var(--scry-border-strong);
  box-shadow: inset 0 0 0 1px rgba(var(--scry-accent-primary-soft-rgb), 0.12);
}

.scry-settings-sidebar .list-group-item.active .text-truncate,
.scry-settings-sidebar .list-group-item.active .scry-settings-sidebar-item-icon {
  color: var(--scry-text-primary);
}

.scry-settings-sidebar .list-group-item.active .badge.bg-success {
  background-color: #16a34a !important;
}

.scry-settings-sidebar-item-content {
  min-width: 0;
}

.scry-settings-sidebar-item-icon {
  width: 22px;
  text-align: center;
}

.admin-topnav-left {
  gap: 0.35rem;
}

.admin-topnav-action-disabled {
  pointer-events: none;
  opacity: 0.65;
  cursor: no-drop;
}

.admin-product-menu {
  position: relative;
}

.admin-product-menu .dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 700;
}

.admin-product-megamenu {
  width: min(680px, calc(100vw - 2rem));
  margin-top: 0 !important;
  overflow: hidden;
  border: 1px solid rgba(33, 37, 41, 0.1);
  border-radius: 14px;
  box-shadow: 0 18px 45px rgba(18, 38, 63, 0.18);
}

.admin-product-megamenu-header {
  padding: 1rem 1.1rem;
  background: linear-gradient(135deg, #e8fdfb 0%, #ffffff 72%);
  border-bottom: 1px solid rgba(33, 37, 41, 0.08);
}

.admin-product-megamenu-kicker {
  margin-bottom: 0.15rem;
  color: #21897e;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.admin-product-megamenu-title {
  color: #212529;
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.2;
}

.admin-product-megamenu-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.45rem;
  padding: 0.65rem;
  background: #fff;
}

.admin-product-megamenu-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  min-width: 0;
  padding: 0.85rem;
  color: #212529;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 12px;
  transition: background-color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.admin-product-megamenu-item:hover,
.admin-product-megamenu-item:focus {
  color: #212529;
  background: #f7fbfb;
  border-color: rgba(63, 193, 178, 0.32);
  transform: translateY(-1px);
}

.admin-product-megamenu-item.is-disabled,
.admin-product-megamenu-item.is-disabled:hover,
.admin-product-megamenu-item.is-disabled:focus {
  color: #6c757d;
  background: transparent;
  border-color: transparent;
  cursor: not-allowed;
  opacity: 0.48;
  transform: none;
}

.admin-product-megamenu-item.is-disabled .admin-product-megamenu-icon {
  color: #6c757d;
  background: #f1f3f5;
  border-color: rgba(108, 117, 125, 0.2);
}

.admin-product-megamenu-icon {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #21897e;
  background: #e8fdfb;
  border: 1px solid rgba(63, 193, 178, 0.28);
  border-radius: 12px;
}

.admin-product-megamenu-copy {
  min-width: 0;
}

.admin-product-megamenu-label,
.admin-product-megamenu-description {
  display: block;
}

.admin-product-megamenu-label {
  margin-bottom: 0.15rem;
  font-weight: 800;
  line-height: 1.2;
}

.admin-product-megamenu-description {
  color: #6c757d;
  font-size: 0.82rem;
  line-height: 1.28;
}

@media (min-width: 768px) {
  .admin-product-menu .admin-product-megamenu {
    display: block;
    top: 100%;
    right: 0;
    left: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px) scale(0.985);
    transform-origin: top right;
    pointer-events: none;
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
  }

  .admin-product-menu:hover .admin-product-megamenu,
  .admin-product-menu:focus-within .admin-product-megamenu,
  .admin-product-menu .admin-product-megamenu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    pointer-events: auto;
  }

  .admin-product-menu:hover .dropdown-toggle::after,
  .admin-product-menu:focus-within .dropdown-toggle::after {
    transform: rotate(180deg);
  }

  .admin-product-menu .dropdown-toggle::after {
    transition: transform 0.18s ease;
  }
}

.sb-nav-section-label {
  padding: 0.65rem 1rem 0.2rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #6c757d;
}

.sb-nav-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.sb-nav-section-store-link {
  color: #6c757d;
  text-decoration: none;
  line-height: 1;
}

.sb-nav-section-store-link:hover {
  color: #212529;
}

.sb-nav-section-store-link.disabled {
  opacity: 0.45;
  cursor: no-drop;
  pointer-events: none;
}

.scry-seller-sidenav-nav {
  gap: 0.06rem;
  padding: 0.35rem 0 0.5rem;
}

.sb-sidenav .sb-sidenav-menu .scry-seller-sidenav-nav .nav-link {
  min-height: 2.42rem;
  padding: 0.48rem 1rem;
  line-height: 1.18;
}

.sb-sidenav .sb-sidenav-menu .scry-seller-sidenav-nav .nav-link .sb-nav-link-icon {
  width: 1.28rem;
  margin-right: 0.42rem;
  font-size: 0.84rem;
  text-align: center;
}

.scry-nav-link-label {
  min-width: 0;
}

.scry-wanted-list {
  border: 1px solid var(--scry-border-default);
  border-radius: 0.75rem;
  overflow: hidden;
  background: var(--scry-surface-1);
}

.scry-wanted-row {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.8rem 1rem;
}

.scry-wanted-row + .scry-wanted-row { border-top: 1px solid var(--scry-border-default); }
.scry-wanted-image { flex: 0 0 42px; width: 42px; height: 58px; object-fit: cover; border-radius: var(--bs-border-radius); }
.scry-wanted-info { flex: 1 1 auto; min-width: 0; }
.scry-wanted-name { font-weight: 700; overflow-wrap: anywhere; }
.scry-wanted-meta, .scry-wanted-scopes, .scry-wanted-stock { color: var(--scry-text-secondary); font-size: 0.78rem; }
.scry-wanted-scopes summary { cursor: pointer; width: fit-content; }
.scry-wanted-side { display: flex; align-items: center; gap: 1rem; flex: 0 0 auto; }
.scry-wanted-stock { min-width: 9.5rem; }
.scry-wanted-empty { padding: 1.5rem 1rem; color: var(--scry-text-secondary); }

@media (max-width: 767.98px) {
  .scry-wanted-row { align-items: flex-start; flex-wrap: wrap; gap: 0.7rem; }
  .scry-wanted-side { width: 100%; padding-left: 2.85rem; flex-direction: column; align-items: flex-start; gap: 0.5rem; }
  .scry-wanted-stock { min-width: 0; }
}

.scry-nav-offer-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.45rem;
  height: 1.35rem;
  margin-inline-start: auto;
  padding-inline: 0.38rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.7rem;
  font-variant-numeric: tabular-nums;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

.scry-nav-offer-badge > i,
.scry-account-item .scry-nav-offer-badge > i {
  width: auto !important;
  height: auto !important;
  flex: 0 0 auto !important;
  margin-inline-end: 0.22rem;
  border: 0 !important;
  background: transparent !important;
  font-size: 0.58rem !important;
}

.scry-seller-sidenav-nav .sb-nav-section-label {
  margin: 0.42rem 0.75rem 0.08rem;
  padding: 0.52rem 0.25rem 0.16rem;
  border-top: 1px solid var(--scry-border-default);
  font-size: 0.66rem;
  line-height: 1.1;
}

.scry-seller-sidenav-nav > .nav-link:first-child + .sb-nav-section-label {
  margin-top: 0.24rem;
}

.scry-seller-sidenav-nav .sb-nav-section-header {
  min-height: 1rem;
}

.scry-seller-sidenav-nav .sb-nav-section-store-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.45rem;
  height: 1.45rem;
  border-radius: 0.45rem;
}

.scry-sidenav-onboarding-note {
  margin: 0.35rem 0.95rem 0.45rem;
  padding: 0.55rem 0.65rem;
  border: 1px solid rgba(63, 193, 178, 0.24);
  border-radius: 0.55rem;
  background: rgba(63, 193, 178, 0.08);
  color: #495057;
  font-size: 0.78rem;
  line-height: 1.28;
}

.sb-sidenav-user-email {
  margin-top: 0.7rem;
  font-size: 0.78rem;
  line-height: 1.25;
  color: #495057;
  word-break: break-word;
  text-align: center;
}

.sb-sidenav-store-qr {
  margin: 0.4rem 0.75rem 0.2rem;
  padding: 0.25rem 0.75rem 0.15rem;
}

.sb-sidenav-store-qr-title {
  margin-bottom: 0.35rem;
  font-size: 12px;
  color: #303030;
}

.sb-sidenav-store-qr-box {
  padding: 0.35rem;
}

.sb-sidenav-store-qr-image {
  max-width: 104px;
  height: auto;
}

.sb-sidenav-store-qr-link {
  font-size: 11px;
}

.sb-sidenav-footer-link {
  display: inline-block;
  margin-top: 0.65rem;
  font-size: 12px;
  color: #0d6efd;
  text-decoration: underline;
}

.scry-nav-disabled {
  cursor: not-allowed;
  opacity: 0.6;
}

.sb-sidenav .sb-sidenav-menu .nav-link.scry-nav-disabled,
.sb-sidenav .sb-sidenav-menu .nav-link.scry-nav-disabled:hover,
.sb-sidenav .sb-sidenav-menu .nav-link.scry-nav-disabled:focus {
  background: transparent;
  color: inherit;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}

.scry-danger-icon {
  color: #dc3545;
}

.scry-fixed-toast {
  top: 10%;
  right: 5%;
  z-index: 999;
}

@media (max-width: 767.98px) {
  .sb-nav-fixed #layoutSidenav #layoutSidenav_nav .sb-sidenav {
    box-sizing: border-box;
    height: 100vh;
    height: 100dvh;
  }

  .sb-nav-fixed #layoutSidenav #layoutSidenav_nav .sb-sidenav .sb-sidenav-menu {
    min-height: 0;
  }

  .sb-sidenav .sb-sidenav-footer {
    padding: 0.5rem 0.55rem 0.55rem;
  }

  .sb-sidenav-store-qr {
    padding: 0.1rem 0.4rem 0;
  }

  .sb-sidenav-store-qr-title {
    margin-bottom: 0.2rem;
    font-size: 11px;
    line-height: 1.1;
  }

  .sb-sidenav-store-qr-box {
    padding: 0.25rem;
  }

  .sb-sidenav-store-qr-image {
    max-width: 92px;
  }

  .sb-sidenav-store-qr-link {
    font-size: 10px;
  }

  .sb-sidenav-user-email {
    margin-top: 0.45rem;
    font-size: 0.72rem;
  }

  .admin-topnav-left {
    gap: 0.65rem;
  }

  .admin-topnav-brand {
    margin-right: 0.1rem;
  }

  .admin-mobile-nav-toggle {
    width: 44px;
    height: 44px;
    padding: 0;
    margin: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.16);
  }

  .admin-mobile-nav-toggle i {
    font-size: 1.05rem;
  }

  .admin-product-menu-mobile .dropdown-toggle::after {
    display: none;
  }

  .admin-product-megamenu-mobile {
    width: min(330px, calc(100vw - 1rem));
    margin-top: 0.35rem !important;
    max-height: calc(100vh - 78px);
    overflow-y: auto;
  }

  .admin-product-megamenu-mobile .admin-product-megamenu-header {
    padding: 0.85rem 0.9rem;
  }

  .admin-product-megamenu-mobile .admin-product-megamenu-grid {
    grid-template-columns: 1fr;
    gap: 0.25rem;
    padding: 0.45rem;
  }

  .admin-product-megamenu-mobile .admin-product-megamenu-item {
    padding: 0.75rem;
  }

  .admin-product-megamenu-mobile .admin-product-megamenu-icon {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
    border-radius: 10px;
  }

  .admin-product-megamenu-mobile .admin-product-megamenu-description {
    font-size: 0.78rem;
  }
}

.selected-store-title {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.selected-store-sub {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.social-label {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.35rem;
}

.social-label svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
  flex: 0 0 auto;
  opacity: 0.9;
}

.form-switch.form-switch-lg .form-check-input {
  width: 3.25em;
  height: 1.75em;
  margin-left: 0;
}

.form-switch.form-switch-lg .form-check-input:checked {
  background-position: right center;
}

.repricing-card {
  border: 1px solid var(--scry-border-soft);
  border-radius: var(--scry-radius-md);
  background: linear-gradient(180deg, var(--scry-surface-2) 0%, var(--scry-surface-0) 100%);
  box-shadow: var(--scry-shadow-md);
}

.repricing-card .card-body {
  padding: 0.95rem 1rem;
}

.repricing-card .repricing-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  padding: 0.18rem 0.55rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--scry-accent-primary-strong);
  background: rgba(var(--scry-accent-primary-soft-rgb), 0.12);
  border: 1px solid var(--scry-border-strong);
}

.repricing-card .repricing-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--scry-text-primary);
}

.repricing-card .repricing-copy {
  color: var(--scry-text-secondary);
  line-height: 1.45;
  font-size: 0.88rem;
  margin: 0.45rem 0 0;
}

.repricing-card .repricing-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  align-items: center;
}

.repricing-card .repricing-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 34px;
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  background: var(--scry-surface-0);
  border: 1px solid var(--scry-border-default);
}

.repricing-card .repricing-meta-label {
  display: inline;
  margin: 0;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: rgba(31, 41, 55, 0.55);
}

[data-bs-theme="dark"] .repricing-card .repricing-meta-label,
body[data-bs-theme="dark"] .repricing-card .repricing-meta-label {
  color: rgba(229, 237, 245, 0.55);
}

.repricing-card .repricing-meta-value {
  color: var(--scry-text-primary);
  font-weight: 600;
  line-height: 1.2;
}

.repricing-card .repricing-topline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
}

.repricing-card .repricing-summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.9rem;
  margin-top: 0.7rem;
}

.repricing-card .repricing-state {
  color: var(--scry-text-secondary);
  font-size: 0.82rem;
  white-space: nowrap;
}

.repricing-card .repricing-actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-left: auto;
}

.repricing-card .repricing-actions .btn {
  min-width: 164px;
}

.repricing-card .repricing-note {
  color: var(--scry-text-secondary);
  font-size: 0.8rem;
  line-height: 1.4;
}

.repricing-card .repricing-note a {
  color: var(--bs-link-color);
  font-weight: 600;
  text-decoration: none;
}

.repricing-card .repricing-note a:hover,
.repricing-card .repricing-note a:focus {
  text-decoration: underline;
}

.repricing-card .repricing-estimate {
  margin-top: 0.35rem;
  color: var(--scry-text-secondary);
  font-size: 0.92rem;
}

.repricing-card .repricing-estimate strong {
  color: var(--scry-text-primary);
}

.repricing-card .repricing-progress {
  margin-top: 0.7rem;
}

.repricing-card .repricing-progress .progress {
  height: 8px;
  background: rgba(var(--scry-accent-primary-soft-rgb), 0.12);
}

.repricing-card .repricing-progress .progress-bar {
  background-color: var(--scry-accent-primary);
}

.repricing-card .repricing-progress-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 0.45rem;
  color: var(--scry-text-secondary);
  font-size: 0.8rem;
}

.repricing-card .repricing-report {
  margin-top: 0.65rem;
  padding-top: 0.65rem;
  border-top: 1px solid var(--scry-border-default);
  color: var(--scry-text-secondary);
  font-size: 0.8rem;
  line-height: 1.45;
}

.repricing-card .repricing-report strong {
  color: var(--scry-text-primary);
}

.repricing-card .repricing-report.repricing-report-hint {
  color: var(--scry-text-muted);
  font-size: 0.74rem;
}

.repricing-card--compact .card-body {
  padding: 0.85rem;
}

.repricing-card--compact .repricing-topline {
  align-items: flex-start;
  gap: 0.45rem;
}

.repricing-card--compact .repricing-title {
  font-size: 0.94rem;
  line-height: 1.2;
}

.repricing-card--compact .repricing-state {
  max-width: 92px;
  font-size: 0.72rem;
  line-height: 1.2;
  text-align: right;
  white-space: normal;
}

.repricing-card--compact .repricing-meta {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.38rem;
  margin-top: 0.65rem;
}

.repricing-card--compact .repricing-meta-item {
  width: 100%;
  min-height: 0;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.36rem 0.5rem;
  border-radius: 0.5rem;
}

.repricing-card--compact .repricing-meta-label {
  font-size: 0.66rem;
  line-height: 1.1;
}

.repricing-card--compact .repricing-meta-value {
  font-size: 0.78rem;
  text-align: right;
}

.repricing-card--compact .repricing-note {
  margin-top: 0.62rem;
  font-size: 0.75rem;
  line-height: 1.35;
}

.repricing-card--compact .repricing-estimate {
  margin-top: 0.38rem;
  font-size: 0.74rem;
}

.repricing-card--compact .repricing-actions {
  width: 100%;
  margin: 0.65rem 0 0;
}

.repricing-card--compact .repricing-actions .btn {
  width: 100%;
  min-width: 0;
}

.repricing-card--compact .repricing-auto-link {
  margin-top: 0.45rem;
  color: var(--scry-text-muted);
  font-size: 0.72rem;
  line-height: 1.35;
  text-align: center;
}

.repricing-card--compact .repricing-auto-link a {
  font-weight: 700;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.14em;
}

.repricing-card--compact .repricing-auto-link a:focus-visible {
  outline: 2px solid var(--scry-accent-primary);
  outline-offset: 2px;
}

.repricing-card--compact .repricing-progress-meta {
  gap: 0.35rem 0.5rem;
  font-size: 0.72rem;
}

.repricing-card--compact .repricing-report {
  margin-top: 0.55rem;
  padding-top: 0.55rem;
  font-size: 0.72rem;
  line-height: 1.35;
}

.catalog-toolbar {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
}

.catalog-toolbar-title {
  display: inline-flex;
  align-items: baseline;
  gap: 0.45rem;
  color: var(--scry-text-primary);
  font-weight: 800;
  line-height: 1.2;
}

.catalog-toolbar-count {
  color: var(--scry-text-secondary);
  font-size: 0.82rem;
  font-weight: 700;
}

.catalog-toolbar .filter-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  color: rgba(31, 41, 55, 0.72);
  margin-bottom: 0.25rem;
  letter-spacing: 0.01em;
}

[data-bs-theme="dark"] .catalog-toolbar .filter-label,
body[data-bs-theme="dark"] .catalog-toolbar .filter-label {
  color: rgba(229, 237, 245, 0.72);
}

.catalog-toolbar .toolbar-row {
  display: block;
}

.catalog-toolbar .catalog-advanced { margin-top: 0.7rem; }
.catalog-toolbar .catalog-advanced > summary { display: none; }
.catalog-toolbar .catalog-advanced-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 0.65rem; align-items: end; }
.catalog-toolbar .catalog-advanced-grid > .toolbar-select { width: 100%; max-width: none; }
.catalog-toolbar .toolbar-select.toolbar-subtypes { flex: 0 0 170px; min-width: 170px; position: relative; }
.catalog-toolbar .catalog-subtype-picker > summary {
  min-height: 35px; display: flex; align-items: center; padding: 0.35rem 2rem 0.35rem 0.65rem;
  border: 1px solid var(--scry-border-default); border-radius: 0.55rem;
  background: var(--scry-surface-1); color: var(--scry-text-primary); font-size: 0.88rem; cursor: pointer;
  list-style: none; position: relative;
}
.catalog-toolbar .catalog-subtype-picker > summary::-webkit-details-marker { display: none; }
.catalog-toolbar .catalog-subtype-picker > summary::after { content: ''; position: absolute; right: 0.8rem; width: 0.5rem; height: 0.5rem; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); }
.catalog-toolbar .catalog-subtype-picker > summary:focus-visible,
.catalog-toolbar .catalog-advanced > summary:focus-visible { outline: 2px solid var(--scry-accent-primary-strong); outline-offset: 2px; }
.catalog-toolbar .catalog-subtype-menu {
  position: absolute; z-index: 20; top: 100%; left: 0; width: min(320px, 85vw);
  padding: 0.8rem; background: var(--scry-surface-1); color: var(--scry-text-primary);
  border: 1px solid var(--scry-border-default); border-radius: 0.75rem;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}
.catalog-toolbar .catalog-subtype-options { max-height: 205px; overflow-y: auto; margin: 0.5rem 0; }
.catalog-toolbar .catalog-subtype-options label { display: flex; gap: 0.55rem; align-items: center; padding: 0.4rem; cursor: pointer; }
.catalog-toolbar .catalog-subtype-options label[hidden] { display: none; }
.catalog-toolbar .catalog-subtype-status { min-height: 1.25rem; margin: 0.25rem 0; color: var(--scry-text-secondary); font-size: 0.78rem; }
.catalog-toolbar .catalog-subtype-picker .form-check-input { margin: 0; flex: 0 0 auto; }

.catalog-toolbar .toolbar-search {
  width: 100%;
  min-width: 0;
  max-width: 380px;
}

.catalog-toolbar .toolbar-select {
  flex: 0 0 118px;
  min-width: 118px;
}

.catalog-toolbar .toolbar-select.toolbar-set {
  flex-basis: 170px;
  min-width: 170px;
}

.catalog-toolbar .toolbar-select.toolbar-show {
  flex-basis: 82px;
  min-width: 82px;
}

.catalog-toolbar .toolbar-select.toolbar-colors {
  flex-basis: 170px;
  min-width: 170px;
  position: relative;
}

.catalog-toolbar .toolbar-select.toolbar-cmc {
  flex-basis: 92px;
  min-width: 92px;
}

.catalog-toolbar .catalog-color-dropdown {
  position: relative;
}

.catalog-toolbar .catalog-color-toggle {
  width: 100%;
  min-height: 31px;
  text-align: left;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.catalog-toolbar .catalog-color-toggle.is-open {
  border-color: rgba(var(--scry-accent-primary-soft-rgb), 0.72);
  box-shadow: 0 0 0 0.16rem rgba(var(--scry-accent-primary-soft-rgb), 0.22);
}

.catalog-toolbar .catalog-color-menu {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  z-index: 1040;
  min-width: 220px;
  padding: 0.35rem;
  border: 1px solid var(--scry-border-default);
  border-radius: 6px;
  background: var(--scry-surface-0);
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.14);
}

.catalog-toolbar .catalog-color-menu[hidden] {
  display: none;
}

.catalog-toolbar .catalog-color-check {
  min-height: 30px;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  width: 100%;
  margin: 0;
  padding: 0.35rem 0.45rem;
  border-radius: 6px;
  color: var(--scry-text-secondary);
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.1;
  cursor: pointer;
}

.catalog-toolbar .catalog-color-check:hover {
  background: rgba(var(--scry-accent-primary-soft-rgb), 0.12);
}

.catalog-toolbar .catalog-color-separator {
  height: 1px;
  margin: 0.35rem 0;
  background: var(--scry-border-default);
}

.catalog-toolbar .catalog-color-exact {
  color: var(--scry-text-primary);
}

.catalog-toolbar .catalog-color-check .form-check-input {
  width: 0.92rem;
  height: 0.92rem;
  margin: 0;
  flex: 0 0 auto;
}

[data-bs-theme="dark"] .catalog-toolbar .catalog-color-menu,
body[data-bs-theme="dark"] .catalog-toolbar .catalog-color-menu {
  background: var(--scry-surface-2);
  border-color: var(--scry-border-default);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.36);
}

[data-bs-theme="dark"] .catalog-toolbar .catalog-color-check,
body[data-bs-theme="dark"] .catalog-toolbar .catalog-color-check {
  color: var(--scry-text-secondary);
}

.scry-detail-backlink {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  background: var(--scry-accent-primary-soft);
}

.scry-detail-backlink .bi {
  flex: 0 0 auto;
}

.scry-chat-container {
  position: relative;
  z-index: 1;
  min-height: 280px;
  max-height: 520px;
  overflow-y: auto;
}

.scry-chat-container > .scry-chat-sticky-stack {
  display: none;
}

.scry-chat-operational-header {
  position: relative;
  z-index: 4;
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 0.58rem -0.95rem -0.6rem;
  padding: 0;
  border-top: 1px solid var(--scry-border-soft);
  background:
    radial-gradient(circle at top left, rgba(var(--scry-accent-primary-soft-rgb), 0.18) 0%, rgba(var(--scry-accent-primary-soft-rgb), 0) 48%),
    linear-gradient(180deg, var(--scry-surface-1), var(--scry-surface-0));
}

.scry-order-chat-card .scry-chat-operational-header--direct {
  z-index: auto;
  margin: 0;
  border: 1px solid var(--scry-border-soft);
  border-radius: 0.8rem;
  background: var(--scry-surface-1);
  overflow: hidden;
}

.scry-order-chat-card .scry-chat-operational-header--direct .scry-chat-action-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  border-top: 0 !important;
  text-align: left;
}

.scry-order-chat-card .scry-chat-operational-header--direct .scry-chat-action-card__title,
.scry-order-chat-card .scry-chat-operational-header--direct .scry-chat-action-card__copy {
  grid-column: 1;
  margin-right: 0;
  margin-left: 0;
  text-align: left;
}

.scry-order-chat-card .scry-chat-operational-header--direct .scry-chat-action-card__title {
  padding: 0.68rem 0.8rem 0;
}

.scry-order-chat-card .scry-chat-operational-header--direct .scry-chat-action-card__copy {
  padding-right: 0.8rem;
  padding-bottom: 0.68rem;
  padding-left: 0.8rem;
}

.scry-order-chat-card .scry-chat-operational-header--direct .scry-chat-action-card__actions {
  grid-row: 1 / span 2;
  grid-column: 2;
  width: auto;
  padding: 0.68rem 0.8rem 0.68rem 0;
}

.scry-chat-payment-total {
  display: flex;
  align-items: baseline;
  gap: 0.42rem;
  margin-top: 0.35rem;
}

.scry-chat-payment-total > span {
  color: var(--scry-text-muted);
  font-size: 0.72rem;
  font-weight: 800;
}

.scry-chat-payment-total > strong {
  color: var(--scry-text-primary);
  font-size: 0.9rem;
}

.scry-chat-operational-header .message {
  margin-bottom: 0 !important;
}

.scry-chat-operational-header .chat-system-message,
.scry-chat-operational-header .scry-chat-action-card {
  width: 100%;
  max-width: 100%;
}

.scry-chat-operational-header .chat-system-message,
.scry-chat-operational-header .scry-chat-action-card {
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none;
}

.scry-chat-operational-header .scry-delivery-note {
  border-radius: 0 !important;
}

.scry-chat-operational-header .chat-system-message {
  background: var(--scry-surface-3);
  border-top: 1px solid var(--scry-border-soft) !important;
  border-bottom: 1px solid var(--scry-border-soft) !important;
}

.scry-chat-operational-header .scry-chat-action-card {
  padding: 0;
  background:
    radial-gradient(circle at top left, rgba(var(--scry-accent-primary-soft-rgb), 0.16) 0%, rgba(var(--scry-accent-primary-soft-rgb), 0) 46%),
    var(--scry-surface-0);
  border-top: 1px solid var(--scry-border-default) !important;
  text-align: center;
}

.scry-chat-operational-header .scry-chat-action-card__title {
  padding: 0.85rem 0.75rem 0;
}

.scry-chat-operational-header .scry-chat-action-card__copy {
  max-width: 100%;
  margin-right: auto;
  margin-left: auto;
  padding-right: 0.75rem;
  padding-left: 0.75rem;
  text-align: center;
}

.scry-chat-operational-header .scry-chat-action-card__copy:first-child {
  padding-top: 0.85rem;
}

.scry-chat-operational-header .scry-chat-action-card__copy:last-child {
  padding-bottom: 0.95rem;
}

.scry-chat-operational-header .scry-chat-action-card__actions,
.scry-chat-operational-header .scry-chat-upload {
  width: 100%;
}

.scry-chat-operational-header .scry-chat-action-card__actions {
  padding-right: 0.75rem;
  padding-bottom: 0.95rem;
  padding-left: 0.75rem;
}

.scry-chat-operational-header .scry-chat-upload {
  padding-right: 0.75rem;
  padding-bottom: 0.95rem;
  padding-left: 0.75rem;
}

.scry-chat-operational-header .scry-chat-action-card__actions:first-child {
  padding-top: 0.85rem;
}

.scry-chat-operational-header .scry-chat-upload:first-child {
  padding-top: 0.85rem;
}

.scry-chat-operational-header .scry-chat-action-card__actions .btn {
  width: auto;
  max-width: min(100%, 360px);
  justify-content: center;
  text-align: center;
}

.scry-chat-operational-header .scry-feedback-summary {
  justify-content: center;
  margin-right: 0.75rem;
  margin-left: 0.75rem;
  padding-bottom: 0.95rem;
  text-align: center;
}

/* Prevent the server-rendered operational block from flashing in its temporary
   header position before the chat script moves it into the responsive panel.
   Direct actions (such as approving a sale) have no panel toggle and must
   remain visible in place. */
.scry-order-chat-card > .scry-chat-header > [data-scry-chat-operations-content]:not(.scry-chat-operational-header--direct) {
  display: none;
}

.scry-chat-operational-header .scry-feedback-summary > div {
  min-width: 0;
}

.scry-chat-operational-header .scry-chat-action-card__notice,
.scry-chat-operational-header .scry-shipping-details,
.scry-chat-operational-header .scry-reception-reminders--chat {
  border-top: 1px solid var(--scry-border-soft);
  border-bottom: 1px solid var(--scry-border-soft);
  border-radius: 0;
  background: linear-gradient(180deg, var(--scry-surface-3), var(--scry-surface-2));
}

.scry-chat-operational-header .scry-chat-action-card:not(.scry-chat-action-card--mail-proof) .scry-chat-action-card__notice,
.scry-chat-operational-header .scry-chat-action-card:not(.scry-chat-action-card--mail-proof) .scry-shipping-details {
  margin-right: 0;
  margin-left: 0;
}

.scry-chat-operational-header .scry-chat-action-card__code {
  margin: 0;
  padding: 0.56rem 0.75rem 0.62rem;
  border-top: 1px solid var(--scry-border-soft);
  border-bottom: 1px solid var(--scry-border-soft);
  background: linear-gradient(180deg, var(--scry-surface-2), var(--scry-surface-1));
}

.scry-inline-modal-link,
.scry-open-reject-from-approve {
  color: var(--scry-accent-primary-strong);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 0.16em;
}

.scry-chat-proof-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1.2;
}

.scry-chat-action-card__actions--split .scry-chat-proof-link {
  align-self: center;
  justify-self: center;
}

.scry-chat-operational-header .scry-chat-action-card--mail-proof {
  padding: 0;
}

.scry-chat-operational-header .scry-chat-action-card--shipping-summary {
  padding-top: 0;
}

.scry-chat-operational-header .scry-chat-action-card--mail-proof .scry-chat-action-card__actions--link {
  padding-top: 0.5rem;
  padding-bottom: 0;
  margin-bottom: 0.1rem;
}

.scry-chat-input-disabled .form-control:disabled,
.scry-chat-input-disabled .btn:disabled {
  cursor: not-allowed;
}

.scry-urgent-action {
  position: relative;
}

.scry-urgent-action::before {
  content: "";
  display: inline-block;
  flex: 0 0 auto;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 999px;
  background: #facc15;
  box-shadow: 0 0 0 0 rgba(250, 204, 21, 0.72);
  animation: scry-urgent-dot-pulse 1.1s ease-out infinite;
}

@keyframes scry-urgent-dot-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(250, 204, 21, 0.72);
    opacity: 1;
  }

  70% {
    box-shadow: 0 0 0 0.45rem rgba(250, 204, 21, 0);
    opacity: 0.55;
  }

  100% {
    box-shadow: 0 0 0 0 rgba(250, 204, 21, 0);
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .scry-urgent-action::before {
    animation: none;
  }
}

/* Commander/cover selector inside the seller deck editor */
.deck-commander-search {
  margin-bottom: .65rem;
  padding: .7rem;
  border: 1px solid rgba(15, 23, 42, .1);
  border-radius: 11px;
  background: #f8fafc;
}

.deck-commander-search label {
  display: block;
  margin-bottom: .3rem;
  color: #334155;
  font-size: .78rem;
  font-weight: 800;
}

.deck-commander-search .form-control {
  min-height: 40px;
  border-color: #d8e0e8;
  border-radius: 9px;
  font-size: .86rem;
}

.deck-commander-search .form-control:focus {
  border-color: #35bfb1;
  box-shadow: 0 0 0 3px rgba(53, 191, 177, .18);
}

.deck-commander-search-status {
  min-height: 1.15rem;
  margin-top: .32rem;
  color: #64748b;
  font-size: .72rem;
  font-weight: 700;
}

.deck-cover-option[hidden],
.deck-cover-empty[hidden] {
  display: none !important;
}

.deck-cover-empty {
  padding: 1rem .8rem;
  border: 1px dashed rgba(15, 23, 42, .16);
  border-radius: 11px;
  color: #64748b;
  background: #f8fafc;
  font-size: .8rem;
  text-align: center;
}

.scry-chat-sticky-stack {
  position: sticky;
  top: 0;
  z-index: 6;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin: 0 0 0.65rem;
  padding: 0.38rem;
  border: 1px solid var(--scry-border-soft);
  border-radius: 0.78rem;
  background:
    radial-gradient(circle at top left, rgba(var(--scry-accent-primary-soft-rgb), 0.18) 0%, rgba(var(--scry-accent-primary-soft-rgb), 0) 48%),
    var(--scry-surface-0);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.16);
}

.scry-chat-sticky-stack .message {
  margin-bottom: 0 !important;
}

.scry-chat-sticky-stack .chat-system-message,
.scry-chat-sticky-stack .scry-chat-action-card {
  width: 100%;
}

.scry-chat-sticky-stack .chat-system-message {
  max-width: 100%;
}

.scry-chat-sticky-stack .scry-chat-action-card {
  max-width: 100%;
  padding: 0.72rem 0.78rem;
}

.scry-buyer-chat-header {
  min-height: 0;
  padding: 0.7rem 0.95rem;
}

.scry-buyer-chat-title {
  color: var(--scry-text-primary);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.25;
}

.scry-buyer-chat-title a,
.scry-buyer-chat-title span {
  color: var(--scry-accent-primary-strong);
  text-decoration: none;
}

.scry-chat-container .message,
.chat-container .message {
  position: relative;
  z-index: 1;
  display: flex;
}

.scry-chat-operational-header .message,
.scry-chat-sticky-stack .message {
  position: relative;
  z-index: 7;
}

.scry-chat-container .message.mb-2,
.chat-container .message.mb-2 {
  margin-bottom: 0.35rem !important;
}

.chat-bubble {
  display: inline-block;
  max-width: min(85%, 640px);
  padding: 0.3rem 0.74rem !important;
  border-radius: 0.72rem;
  line-height: 1.25;
  box-shadow: none;
}

.chat-bubble-left {
  background: #f8fbff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  color: #1f2937;
}

.chat-bubble-right {
  background: linear-gradient(135deg, #2f6cf6, #1d4ed8);
  border: 1px solid rgba(29, 78, 216, 0.3);
  color: #fff;
}

.chat-bubble-right p,
.chat-bubble-right .m-0 {
  color: inherit;
}

.chat-bubble__automatic-label {
  display: block;
  margin-bottom: 0.3rem;
  color: var(--scry-success-text);
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1.2;
}

.chat-bubble-right .chat-bubble__automatic-label {
  color: rgba(255, 255, 255, 0.8);
}

.message-system {
  display: flex;
  width: 100%;
}

.chat-system-message {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 0.38rem;
  max-width: min(92%, 520px);
  margin: 0 auto;
  padding: 0.58rem 0.75rem;
  border-radius: 0.72rem;
  border: 1px solid rgba(45, 166, 159, 0.2);
  background: linear-gradient(180deg, rgba(240, 253, 250, 0.98), rgba(232, 250, 247, 0.96));
  color: #0f766e;
  line-height: 1.25;
  text-align: center;
}

.chat-system-message__label {
  display: inline-block;
  flex: 0 0 auto;
  margin: 0;
  color: #159a92;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.chat-system-message p,
.chat-system-message .m-0 {
  min-width: 0;
  margin: 0;
  color: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.25;
}

.chat-system-message span {
  display: block;
}

.chat-system-message--reception-code {
  gap: 0.48rem;
}

.chat-system-message__code {
  flex: 0 0 auto;
  color: inherit;
  font-size: 1rem;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.16em;
  line-height: 1;
}

.chat-system-message--shipping-details {
  flex-wrap: nowrap;
  gap: 0.28rem;
  max-width: min(96%, 520px);
  padding: 0.42rem 0.7rem;
  white-space: nowrap;
}

.chat-system-message--shipping-details .chat-system-message__text,
.chat-system-message--shipping-details .chat-system-message__separator {
  display: inline-block;
  flex: 0 0 auto;
}

.chat-system-message__text,
.chat-system-message__link {
  color: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.2;
}

.chat-system-message__separator {
  color: inherit;
  font-size: 0.86rem;
  opacity: 0.72;
}

.chat-system-message__link {
  -webkit-appearance: none;
  appearance: none;
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  min-height: 1.5rem;
  margin: -0.14rem 0;
  padding: 0.14rem 0.08rem;
  border: 0;
  background: transparent;
  font-family: inherit;
  text-decoration: underline;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.16em;
  cursor: pointer;
}

.chat-system-message__link:hover {
  color: inherit;
  opacity: 0.78;
}

.chat-system-message__link:focus-visible {
  border-radius: 0.2rem;
  outline: 2px solid currentColor;
  outline-offset: 2px;
}

.scry-chat-action-card {
  width: min(100%, 680px);
  margin: 0 auto;
  padding: 1rem;
  text-align: left;
}

.scry-chat-action-card--coordination {
  background: var(--scry-surface-1) !important;
}

.scry-chat-action-card__title {
  font-weight: 800;
  color: var(--scry-text-primary);
}

.scry-chat-action-card__title--attention {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.48rem;
  max-width: 100%;
  text-align: center;
  vertical-align: top;
}

.scry-chat-attention-pulse {
  position: relative;
  width: 0.62rem;
  height: 0.62rem;
  flex: 0 0 0.62rem;
  border-radius: 999px;
  background: var(--scry-warning-text);
  box-shadow: 0 0 0 0.18rem var(--scry-warning-ring);
}

.scry-chat-attention-pulse::after {
  content: "";
  position: absolute;
  inset: -0.38rem;
  border: 1px solid var(--scry-warning-ring-strong);
  border-radius: inherit;
  animation: scry-chat-attention-pulse 1.8s ease-out infinite;
}

@keyframes scry-chat-attention-pulse {
  0% {
    transform: scale(0.62);
    opacity: 0.72;
  }

  70%,
  100% {
    transform: scale(1.18);
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .scry-chat-attention-pulse::after {
    animation: none;
    opacity: 0;
  }
}

.scry-chat-action-card__eyebrow {
  margin-bottom: 0.35rem;
  color: var(--scry-accent-primary-strong);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.scry-chat-action-card__copy {
  margin-top: 0.25rem;
  color: var(--bs-secondary-color, #6c757d);
  font-size: 0.92rem;
  line-height: 1.45;
}

.scry-chat-action-card__copy--spaced {
  margin-top: 0.85rem;
}

.scry-chat-action-card__copy a {
  color: var(--scry-accent-primary-strong);
  font-weight: 700;
  text-decoration: none;
}

.scry-chat-action-card__notice {
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  border-radius: 0.85rem;
  background: rgba(var(--scry-accent-primary-soft-rgb), 0.12);
  color: var(--scry-text-primary);
  font-size: 0.95rem;
  line-height: 1.5;
}

.scry-chat-action-card__notice a {
  color: var(--scry-accent-primary-strong);
  font-weight: 700;
  text-decoration: none;
}

.scry-chat-action-card__notice span {
  display: block;
}

.scry-shipping-details {
  margin-top: 0.5rem;
  padding: 0.62rem 0.75rem;
  text-align: left;
  -webkit-user-select: text;
  user-select: text;
}

.scry-shipping-details__title {
  display: flex;
  align-items: center;
  gap: 0.38rem;
  margin-bottom: 0.12rem;
  padding-bottom: 0.42rem;
  border-bottom: 1px solid var(--scry-border-soft);
  color: var(--scry-text-primary);
  font-size: 0.84rem;
  font-weight: 800;
  line-height: 1.2;
}

.scry-shipping-details__title i {
  color: var(--scry-accent-primary-strong);
  font-size: 0.8rem;
}

.scry-shipping-details__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 1rem;
}

.scry-shipping-details__item {
  display: grid !important;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: baseline;
  gap: 0.24rem;
  min-width: 0;
  padding: 0.3rem 0;
  border-bottom: 1px solid var(--scry-border-soft);
  color: var(--scry-text-primary);
  font-size: 0.84rem;
  line-height: 1.24;
  overflow-wrap: anywhere;
  word-break: normal;
}

.scry-shipping-details__item strong {
  flex: 0 0 auto;
  color: var(--scry-text-muted);
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1.2;
  white-space: nowrap;
}

.scry-shipping-details__item--wide {
  grid-column: 1 / -1;
}

.scry-shipping-details__value {
  display: block;
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: normal;
}

.scry-shipping-details__item:last-child {
  border-bottom: 0;
}

.scry-shipping-details a {
  display: inline !important;
  min-width: 0 !important;
  color: inherit !important;
  font: inherit !important;
  font-weight: inherit !important;
  text-decoration: none !important;
  overflow-wrap: anywhere !important;
  pointer-events: none !important;
  cursor: text !important;
}

.scry-chat-operational-header .scry-shipping-details__grid {
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
}

.scry-chat-operational-header .scry-shipping-details__item {
  grid-template-columns: minmax(7.1rem, 7.6rem) minmax(0, 1fr);
  gap: 0.42rem;
}

.scry-chat-action-card > .scry-shipping-details:first-child {
  margin-top: 0;
}

.scry-chat-action-card__code {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.34rem;
  margin-top: 0.72rem;
}

.scry-chat-action-card__code-label {
  display: inline-flex;
  width: auto;
  height: auto;
  border: 0;
  background: transparent;
  color: var(--scry-text-muted);
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.15;
}

.scry-chat-action-card__code span:not(.scry-chat-action-card__code-label) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.12rem;
  height: 2.12rem;
  border: 1px solid var(--scry-border-strong);
  border-radius: 0.55rem;
  background: var(--scry-surface-0);
  color: var(--scry-text-primary);
  font-size: 1.02rem;
  font-weight: 800;
}

@media (min-width: 992px) {
  .scry-chat-operational-header .scry-chat-action-card--store-pickup .scry-chat-action-card__notice {
    margin-top: 0.5rem;
    padding: 0.62rem 0.75rem;
  }
}

.scry-chat-action-card__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.85rem;
}

.scry-chat-action-card__actions .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  width: auto;
  max-width: min(100%, 360px);
  white-space: normal;
  text-align: center;
}

.scry-chat-action-card__actions--split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: 100%;
}

.scry-chat-action-card__actions--split .btn {
  width: 100%;
  max-width: 100%;
  justify-content: center;
  text-align: center;
}

.scry-chat-action-card__actions.scry-chat-action-card__actions--link {
  display: flex;
  margin-top: 0;
}

.scry-chat-upload {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.5rem;
  margin-top: 0.85rem;
}

.scry-chat-upload .btn {
  white-space: nowrap;
}

.scry-chat-upload__selection {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 0;
}

.scry-chat-upload__selection .form-control {
  flex: 1 1 auto;
  min-width: 0;
}

.scry-chat-upload__remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  gap: 0.3rem;
  min-height: 2.38rem;
  padding: 0.35rem 0.2rem;
  border: 0;
  background: transparent;
  color: var(--scry-text-muted);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: underline;
  text-underline-offset: 0.15em;
  white-space: nowrap;
}

.scry-chat-upload__remove:hover,
.scry-chat-upload__remove:focus-visible {
  color: var(--scry-text-primary);
}

.scry-chat-upload__remove:focus-visible {
  outline: 2px solid var(--scry-accent-primary);
  outline-offset: 2px;
}

.scry-chat-upload__remove[hidden] {
  display: none !important;
}

.scry-chat-upload .btn_subir_comprobante {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

.scry-chat-upload__help {
  display: block;
  grid-column: 1 / -1;
  margin-top: 0.12rem;
  color: var(--scry-text-muted);
  font-size: 0.72rem;
  line-height: 1.35;
  text-align: left;
}

.scry-chat-action-card--seller-method {
  max-width: 100%;
  text-align: center;
}

.scry-chat-action-card--seller-method .scry-chat-action-card__copy {
  max-width: 58ch;
  margin-right: auto;
  margin-left: auto;
}

.scry-chat-method-copy--desktop {
  display: none;
}

.scry-chat-method-copy--mobile {
  display: inline;
}

.scry-chat-action-card--seller-method .scry-chat-action-card__actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  width: 100%;
}

.scry-chat-action-card--seller-method .scry-chat-action-card__actions .btn {
  width: 100%;
  max-width: 100%;
  justify-content: center;
  min-width: 0;
  text-align: center;
}

.scry-chat-action-card--seller-method .scry-delivery-method-button {
  flex-direction: column;
  gap: 0.14rem;
}

.scry-delivery-method-button__label,
.scry-delivery-method-button__meta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.32rem;
  max-width: 100%;
}

.scry-delivery-method-button__meta {
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.15;
  opacity: 0.78;
}

.scry-delivery-method-button__meta i {
  flex: 0 0 auto;
}

.scry-chat-action-card--operational {
  max-width: 100%;
}

.scry-chat-action-card--operational .scry-chat-action-card__actions {
  width: 100%;
  justify-content: center;
}

.scry-chat-action-card--operational .scry-chat-action-card__actions .btn {
  width: auto;
  max-width: min(100%, 360px);
  justify-content: center;
  text-align: center;
}

.scry-chat-action-card--operational .scry-chat-action-card__actions--split .btn {
  width: 100%;
  max-width: 100%;
}

.scry-chat-expansion-close-prompt {
  width: 100%;
  margin: 0;
  padding: 1rem;
  border-top: 1px solid var(--scry-border-soft);
}

.scry-chat-expansion-close-prompt .scry-chat-action-card {
  width: 100%;
  max-width: none;
  margin: 0;
  border-top: 0;
}

@media (min-width: 576px) {
  .scry-chat-operational-header .scry-chat-action-card:not(.scry-chat-action-card--seller-method) .scry-chat-action-card__actions:not(.scry-chat-action-card__actions--split) .btn {
    width: auto !important;
    max-width: min(100%, 360px);
    min-width: 0;
  }

  .scry-chat-operational-header .scry-chat-action-card__actions--split {
    grid-template-columns: repeat(2, minmax(0, 240px));
    justify-content: center;
  }

  .scry-chat-operational-header .scry-chat-action-card__actions--split .btn {
    width: 100%;
    max-width: 100%;
  }

  .scry-chat-operational-header .scry-chat-action-card__actions--store-dispatch {
    grid-template-columns: minmax(0, 30rem);
  }
}

.scry-detail-row--chat-primary .scry-chat-container {
  flex: 1 1 auto;
  min-height: clamp(180px, 34vh, 340px);
  max-height: clamp(240px, 46vh, 460px);
}

#pedido-operational-chat .scry-chat-heading {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  justify-content: flex-start;
  gap: 0.5rem;
  width: 100%;
}

#pedido-operational-chat .scry-chat-heading .badge {
  flex: 0 0 auto;
}

#scry-web-push-chat-button.scry-web-push-chat-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  margin-left: auto;
  white-space: nowrap;
}

#scry-web-push-chat-button .scry-web-push-button__label--short {
  display: none;
}

#pedido-operational-chat .scry-chat-container {
  min-height: 420px;
  max-height: 600px;
}

.scry-detail-row--chat-primary .scry-detail-panel > .card-body {
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.scry-detail-row--chat-primary .scry-chat-container {
  flex: 1 1 auto;
  min-height: clamp(180px, 34vh, 340px);
  max-height: clamp(240px, 46vh, 460px);
}

.scry-detail-row--chat-primary #chatCompose,
.scry-detail-row--chat-primary .scry-order-chat-card > .card-body > .input-group,
.scry-detail-row--chat-primary .scry-chat-input-disabled {
  flex: 0 0 auto;
}

.scry-detail-row--chat-primary #pedido-operational-chat .scry-chat-container,
.scry-detail-row--chat-primary .scry-chat-container {
  min-height: clamp(180px, 34vh, 340px);
  max-height: clamp(240px, 46vh, 460px);
}

@media (max-width: 575.98px) {
  #pedido-operational-chat .scry-chat-heading {
    gap: 0.38rem;
    font-size: 0.88rem;
    line-height: 1.15;
  }

  #scry-web-push-chat-button.scry-web-push-chat-button {
    min-height: 1.95rem;
    padding: 0.3rem 0.52rem;
    border-radius: 0.42rem;
    font-size: 0.72rem;
    line-height: 1.1;
  }

  #scry-web-push-chat-button .scry-web-push-button__label--full {
    display: none;
  }

  #scry-web-push-chat-button .scry-web-push-button__label--short {
    display: inline;
  }

  .scry-detail-row--chat-primary .scry-detail-panel {
    display: flex;
    flex-direction: column;
    height: 80vh;
    height: 80dvh;
    max-height: calc(100vh - 6rem);
    max-height: calc(100dvh - 6rem);
  }

  .scry-detail-row--chat-primary .scry-detail-panel > .card-body {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    min-height: 0;
  }

  .scry-detail-row--chat-primary .scry-chat-container {
    flex: 1 1 auto;
    min-height: 0;
    max-height: none;
  }

  .scry-chat-operational-header {
    margin-top: 0.42rem;
    margin-right: -0.85rem;
    margin-left: -0.85rem;
  }

  .scry-chat-header.scry-chat-header--operational-only {
    padding: 0;
  }

  .scry-chat-header--operational-only .scry-chat-operational-header {
    margin: 0;
  }

  .scry-chat-sticky-stack {
    padding: 0.3rem;
  }

  .chat-system-message {
    gap: 0.3rem;
    padding: 0.36rem 0.56rem;
  }

  .chat-system-message__label {
    font-size: 0.62rem;
    letter-spacing: 0.05em;
    white-space: nowrap;
  }

  .chat-system-message p,
  .chat-system-message .m-0 {
    font-size: 0.82rem;
    line-height: 1.18;
  }

  .chat-system-message--shipping-details {
    gap: 0.24rem;
    padding: 0.3rem 0.48rem;
  }

  .chat-system-message__text,
  .chat-system-message__link {
    font-size: 0.78rem;
  }

  .chat-system-message__separator {
    font-size: 0.76rem;
  }

  .scry-chat-operational-header .scry-chat-action-card {
    padding: 0;
  }

  .scry-chat-operational-header .scry-chat-action-card__title {
    padding: 0.58rem 0.62rem 0;
  }

  .scry-chat-operational-header .scry-chat-action-card:not(.scry-chat-action-card--mail-proof) .scry-chat-action-card__notice,
  .scry-chat-operational-header .scry-chat-action-card:not(.scry-chat-action-card--mail-proof) .scry-shipping-details {
    margin-right: 0;
    margin-left: 0;
  }

  .scry-chat-operational-header .scry-chat-action-card__code {
    padding: 0.44rem 0.62rem 0.5rem;
  }

  .scry-chat-operational-header .scry-chat-action-card--mail-proof {
    padding: 0;
  }

  .scry-chat-operational-header .scry-chat-action-card--shipping-summary {
    padding-top: 0;
  }

  .scry-chat-operational-header .scry-chat-action-card__copy {
    margin-top: 0.12rem;
    padding-right: 0.62rem;
    padding-left: 0.62rem;
    font-size: 0.88rem;
    line-height: 1.34;
  }

  .scry-chat-operational-header .scry-chat-action-card__copy:first-child {
    padding-top: 0.58rem;
  }

  .scry-chat-operational-header .scry-chat-action-card__copy:last-child {
    padding-bottom: 0.68rem;
  }

  .scry-chat-operational-header .scry-feedback-summary {
    margin-right: 0.62rem;
    margin-left: 0.62rem;
    padding-bottom: 0.68rem;
  }

  .scry-chat-operational-header .scry-chat-action-card__copy--spaced {
    margin-top: 0.46rem;
  }

  .scry-chat-operational-header .scry-shipping-details {
    margin-top: 0.28rem;
    padding: 0.5rem 0.62rem;
  }

  .scry-chat-operational-header .scry-chat-action-card > .scry-shipping-details:first-child {
    margin-top: 0;
  }

  .scry-chat-operational-header .scry-shipping-details__title {
    margin-bottom: 0.08rem;
    padding-bottom: 0.38rem;
    font-size: 0.78rem;
  }

  .scry-chat-operational-header .scry-shipping-details__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.12rem;
  }

  .scry-chat-operational-header .scry-shipping-details__item {
    padding: 0.18rem 0;
    font-size: 0.78rem;
    line-height: 1.22;
  }

  .scry-chat-operational-header .scry-shipping-details__item strong {
    font-size: 0.68rem;
  }

  .scry-chat-operational-header .scry-chat-action-card__code {
    gap: 0.28rem;
    margin-top: 0;
    padding-top: 0.32rem;
    padding-bottom: 0.36rem;
  }

  .scry-chat-operational-header .scry-chat-action-card__code-label {
    flex: 0 1 auto;
    font-size: 0.72rem;
  }

  .scry-chat-operational-header .scry-chat-action-card__code-label--store {
    flex-basis: 100%;
    text-align: center;
  }

  .scry-chat-operational-header .scry-chat-action-card__code span:not(.scry-chat-action-card__code-label) {
    width: 1.86rem;
    height: 1.86rem;
    border-radius: 0.45rem;
    font-size: 0.94rem;
  }

  .scry-chat-operational-header .scry-chat-action-card__actions,
  .scry-chat-operational-header .scry-chat-action-card__actions--split {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
    padding-right: 0.62rem;
    padding-bottom: 0.58rem;
    padding-left: 0.62rem;
    gap: 0.42rem;
  }

  .scry-chat-operational-header .scry-chat-action-card__actions:first-child {
    padding-top: 0.5rem;
  }

  .scry-chat-operational-header .scry-chat-upload {
    padding-right: 0.62rem;
    padding-bottom: 0.58rem;
    padding-left: 0.62rem;
    gap: 0.42rem;
  }

  .scry-chat-operational-header .scry-chat-upload:first-child {
    padding-top: 0.5rem;
  }

  .scry-chat-operational-header .scry-chat-action-card__actions .btn,
  .scry-chat-operational-header .scry-chat-upload .btn {
    min-height: 2.12rem;
    padding: 0.35rem 0.56rem !important;
    border-radius: 0.48rem;
    font-size: 0.82rem;
    line-height: 1.18;
  }

  .scry-chat-operational-header .scry-chat-action-card__actions .btn i {
    font-size: 0.92em;
  }

  .scry-chat-operational-header .scry-chat-upload .form-control,
  .scry-chat-operational-header .scry-chat-upload .btn {
    min-height: 2.12rem;
    padding: 0.36rem 0.55rem;
    font-size: 0.82rem;
    line-height: 1.2;
  }

  .scry-chat-operational-header .scry-chat-action-card__actions .btn,
  .scry-chat-operational-header .scry-chat-upload .btn {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0;
    justify-content: center;
    text-align: center;
  }

  .scry-chat-action-card__actions .btn {
    width: 100%;
    max-width: 100%;
    justify-content: center;
    text-align: center;
  }

  .scry-chat-action-card__actions--split,
  .scry-chat-upload {
    grid-template-columns: minmax(0, 1fr);
  }

  .scry-chat-operational-header .scry-chat-action-card--seller-method {
    padding: 0;
  }

  .scry-chat-action-card--seller-method .scry-chat-action-card__actions {
    grid-template-columns: minmax(0, 1fr);
  }

  .scry-detail-row--chat-primary #pedido-operational-chat .scry-chat-container,
  .scry-detail-row--chat-primary .scry-chat-container {
    min-height: 0;
    max-height: none;
  }
}

/* Order chat: direct entry, mobile focus and desktop operations panel */
.scry-chat-entry-callout {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.75rem;
  padding: 0.72rem 0.78rem;
  border: 1px solid var(--scry-border-soft);
  border-radius: 0.9rem;
  background:
    linear-gradient(90deg, rgba(var(--scry-accent-primary-soft-rgb), 0.16), transparent 72%),
    var(--scry-surface-0);
  box-shadow: var(--scry-shadow-xs);
}

.scry-chat-entry-callout__icon,
.scry-chat-operation-toggle__icon,
.scry-chat-peer-heading__avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 0.72rem;
  background: var(--scry-accent-primary-soft);
  color: var(--scry-accent-primary-strong);
}

.scry-chat-entry-callout__body,
.scry-chat-entry-callout__body strong,
.scry-chat-entry-callout__body > span {
  display: block;
  min-width: 0;
}

.scry-chat-entry-callout__body strong {
  color: var(--scry-text-primary);
  font-size: 0.86rem;
  line-height: 1.3;
}

.scry-chat-entry-callout__body > span {
  margin-top: 0.08rem;
  color: var(--scry-text-secondary);
  font-size: 0.78rem;
  line-height: 1.35;
}

.scry-chat-entry-callout > .btn {
  min-height: 2.55rem;
  white-space: nowrap;
}

.scry-chat-section-bar {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

#pedido-operational-chat {
  scroll-margin-top: 5rem;
}

.scry-chat-section-bar .scry-chat-heading {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  gap: 0.5rem;
  min-width: 0;
  color: var(--scry-text-primary);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.25;
  text-transform: none;
}

.scry-chat-heading__icon {
  display: inline-flex;
  width: 2.15rem;
  height: 2.15rem;
  align-items: center;
  justify-content: center;
  flex: 0 0 2.15rem;
  border-radius: 0.65rem;
  background: var(--scry-accent-primary-soft);
  color: var(--scry-accent-primary-strong);
  font-size: 0.82rem;
}

.scry-chat-heading__text {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.scry-chat-heading__title {
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.scry-chat-heading__text a,
.scry-chat-heading__peer {
  color: var(--scry-accent-primary-strong);
  text-decoration: none;
}

.scry-chat-heading__text a:hover {
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.scry-chat-heading__separator,
.scry-chat-heading__order {
  color: var(--scry-text-muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.scry-chat-heading__badge {
  flex: 0 0 auto;
}

.scry-chat-focus-back {
  display: none;
  min-height: 2.75rem;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.25rem;
  border: 0;
  background: transparent;
  color: var(--scry-text-primary);
  font-size: 0.82rem;
  font-weight: 800;
}

.scry-chat-focus-trigger {
  display: none;
  min-width: 2.75rem;
  min-height: 2.75rem;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  gap: 0.32rem;
  margin-left: auto;
  padding: 0.4rem 0.58rem;
  border: 1px solid var(--scry-border-soft);
  border-radius: 0.65rem;
  background: var(--scry-surface-2);
  color: var(--scry-text-primary);
  font-size: 0.7rem;
  font-weight: 800;
  line-height: 1;
}

.scry-chat-focus-trigger:hover {
  border-color: var(--scry-border-strong);
  background: var(--scry-surface-3);
}

.scry-chat-focus-trigger:focus-visible {
  outline: 3px solid rgba(var(--scry-accent-primary-soft-rgb), 0.55);
  outline-offset: 2px;
}

.scry-order-chat-shell {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.8rem;
  min-width: 0;
}

.scry-order-chat-card {
  min-width: 0;
}

.scry-order-chat-card .scry-chat-header,
.scry-order-chat-card .scry-chat-header.scry-chat-header--operational-only {
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  gap: 0.58rem;
  padding: 0.62rem 0.72rem;
}

.scry-order-chat-card .scry-chat-header--empty {
  display: none;
}

.scry-chat-peer-heading {
  display: flex;
  align-items: center;
  gap: 0.62rem;
  min-width: 0;
}

.scry-chat-peer-heading__avatar {
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 0.65rem;
  font-size: 0.82rem;
}

.scry-chat-peer-heading__body,
.scry-chat-peer-heading__body strong,
.scry-chat-peer-heading__body > span {
  display: block;
  min-width: 0;
}

.scry-chat-peer-heading__body {
  overflow: hidden;
}

.scry-chat-peer-heading__body strong {
  overflow: hidden;
  color: var(--scry-text-primary);
  font-size: 0.86rem;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.scry-chat-peer-heading__body strong a,
.scry-chat-peer-heading__body strong span {
  color: var(--scry-accent-primary-strong);
  text-decoration: none;
}

.scry-chat-peer-heading__body > span {
  margin-top: 0.06rem;
  color: var(--scry-text-muted);
  font-size: 0.7rem;
  font-weight: 700;
}

.scry-chat-operation-toggle {
  --scry-operation-bg: var(--scry-info-bg);
  --scry-operation-accent: var(--scry-info-text);
  --scry-operation-border: var(--scry-border-soft);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.6rem;
  width: 100%;
  min-height: 3.25rem;
  padding: 0.42rem 0.55rem;
  border: 1px solid var(--scry-operation-border);
  border-radius: 0.78rem;
  background:
    linear-gradient(90deg, var(--scry-operation-bg), transparent 88%),
    var(--scry-surface-1);
  color: var(--scry-text-primary);
  text-align: left;
}

.scry-chat-operation-toggle:hover {
  border-color: var(--scry-operation-accent);
  background:
    linear-gradient(90deg, var(--scry-operation-bg), transparent 94%),
    var(--scry-surface-2);
}

.scry-chat-operation-toggle--attention {
  --scry-operation-bg: var(--scry-warning-bg);
  --scry-operation-accent: var(--scry-warning-text);
  --scry-operation-border: var(--scry-warning-ring-strong);
}

.scry-chat-operation-toggle--waiting {
  --scry-operation-bg: var(--scry-surface-2);
  --scry-operation-accent: var(--scry-text-muted);
  --scry-operation-border: var(--scry-border-soft);
}

.scry-chat-operation-toggle--info {
  --scry-operation-bg: var(--scry-info-bg);
  --scry-operation-accent: var(--scry-info-text);
}

.scry-chat-operation-toggle--success {
  --scry-operation-bg: var(--scry-success-bg);
  --scry-operation-accent: var(--scry-success-text);
}

.scry-chat-operation-toggle--danger {
  --scry-operation-bg: var(--scry-danger-bg);
  --scry-operation-accent: var(--scry-danger-text);
  --scry-operation-border: var(--scry-danger-text);
}

.scry-chat-operation-toggle:focus-visible,
.scry-chat-operations-close:focus-visible,
.scry-chat-focus-back:focus-visible {
  outline: 3px solid rgba(var(--scry-accent-primary-soft-rgb), 0.55);
  outline-offset: 2px;
}

.scry-chat-operation-toggle__icon {
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 0.65rem;
  background: var(--scry-operation-accent);
  color: var(--scry-surface-0);
}

.scry-chat-operation-toggle--attention .scry-chat-operation-toggle__icon {
  border: 1px solid var(--scry-warning-ring-strong);
  background: var(--scry-warning-bg);
  color: var(--scry-warning-text);
}

.scry-chat-operation-toggle--method-selection .scry-chat-operation-toggle__icon > :is(i, svg) {
  animation: scry-method-warning-blink 10s ease-in-out infinite;
}

@keyframes scry-method-warning-blink {
  0%, 8%, 20%, 100% { opacity: 1; }
  13%, 15% { opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .scry-chat-operation-toggle--method-selection .scry-chat-operation-toggle__icon > :is(i, svg) {
    animation: none;
  }
}

.scry-chat-operation-toggle__body,
.scry-chat-operation-toggle__body strong,
.scry-chat-operation-toggle__body span {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.scry-chat-operation-toggle__body strong {
  font-size: 0.78rem;
  line-height: 1.25;
}

.scry-chat-operation-toggle--wrap-title .scry-chat-operation-toggle__body strong {
  overflow: visible;
  text-overflow: clip;
  white-space: normal;
}

.scry-chat-operation-toggle__body span {
  margin-top: 0.04rem;
  color: var(--scry-text-muted);
  font-size: 0.68rem;
  line-height: 1.25;
}

.scry-chat-operation-toggle__chevron {
  color: var(--scry-text-muted);
  font-size: 0.72rem;
  transition: transform 180ms ease-out;
}

.scry-chat-at-glance-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.42rem;
  min-width: 0;
  padding: 0 0.08rem 0.04rem;
}

.scry-chat-at-glance-actions--desktop-only {
  display: none;
}

.scry-chat-at-glance-actions--mobile-only {
  display: none;
}

.scry-chat-at-glance-actions__prompt {
  flex: 1 0 100%;
  margin: 0 0 0.12rem;
  padding: 0.62rem 0.72rem 0.58rem;
  border: 1px solid var(--scry-border-soft);
  border-radius: 0.82rem;
  background: var(--scry-surface-1);
  color: var(--scry-text-secondary);
  font-size: 0.74rem;
  line-height: 1.25;
  text-align: center;
}

.scry-chat-at-glance-actions__prompt strong,
.scry-chat-at-glance-actions__prompt span {
  display: block;
}

.scry-chat-at-glance-actions__prompt strong {
  color: var(--scry-text-primary);
  font-size: 0.82rem;
  font-weight: 800;
}

.scry-buyer-reception-operations {
  display: block;
}

@media (max-width: 991.98px) {
  .scry-buyer-reception-operations {
    display: none;
  }
}

@media (min-width: 992px) {
  .scry-chat-header.scry-chat-header--buyer-reception {
    display: block;
    min-height: 0;
    padding: 0 !important;
    border: 0;
    gap: 0;
  }
}

.scry-chat-at-glance-actions__primary {
  display: inline-flex;
  flex: 1 1 12.5rem;
  align-items: center;
  justify-content: center;
  gap: 0.38rem;
  width: auto;
  max-width: 16rem;
  min-height: 2.2rem;
  padding: 0.42rem 0.68rem;
  border-radius: 0.58rem;
  font-size: 0.74rem;
  font-weight: 800;
  line-height: 1.1;
  white-space: nowrap;
}

.scry-chat-at-glance-actions__primary i {
  font-size: 0.72rem;
}

.scry-chat-at-glance-actions__context {
  display: inline-flex;
  align-items: center;
  gap: 0.32rem;
  min-width: 0;
  min-height: 2.2rem;
  color: var(--scry-text-muted);
  font-weight: 700;
  line-height: 1.1;
}

.scry-chat-at-glance-actions__context > i {
  flex: 0 0 auto;
  color: var(--scry-accent-primary-strong);
}

.scry-chat-at-glance-actions__context > span {
  max-width: min(18rem, 28vw);
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.scry-chat-at-glance-actions__context strong {
  color: var(--scry-text-primary);
  font-weight: 800;
}

.scry-chat-at-glance-upload-state {
  display: none;
}

.scry-chat-at-glance-actions__link {
  -webkit-appearance: none;
  appearance: none;
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  min-height: 2.2rem;
  padding: 0.3rem 0.12rem;
  border: 0;
  background: transparent;
  color: var(--scry-accent-primary-strong);
  font-family: inherit;
  font-size: 0.7rem;
  font-weight: 800;
  line-height: 1.1;
  text-decoration: underline;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.16em;
  white-space: nowrap;
  cursor: pointer;
}

.scry-chat-at-glance-actions__link:hover {
  color: var(--scry-accent-primary-strong);
  opacity: 0.78;
}

.scry-chat-at-glance-actions__link:focus-visible {
  border-radius: 0.2rem;
  outline: 2px solid currentColor;
  outline-offset: 2px;
}

.scry-chat-at-glance-actions__link--desktop-only {
  display: none;
}

.scry-order-chat-shell.is-operations-open .scry-chat-operation-toggle__chevron {
  transform: rotate(90deg);
}

.scry-chat-operations-panel {
  display: none;
  min-width: 0;
  border: 1px solid var(--scry-border-soft);
  border-radius: 1rem;
  background: var(--scry-surface-0);
  box-shadow: var(--scry-shadow-sm);
  overflow: hidden;
}

.scry-order-chat-shell.is-operations-open .scry-chat-operations-panel {
  display: flex;
  flex-direction: column;
}

.scry-chat-operations-panel__header {
  display: flex;
  min-height: 3.7rem;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
  padding: 0.58rem 0.62rem 0.58rem 0.85rem;
  border-bottom: 1px solid var(--scry-border-default);
}

.scry-chat-operations-panel__header strong,
.scry-chat-operations-panel__header span {
  display: block;
}

.scry-chat-operations-panel__header strong {
  color: var(--scry-text-primary);
  font-size: 0.88rem;
}

.scry-chat-operations-panel__header span {
  margin-top: 0.06rem;
  color: var(--scry-text-muted);
  font-size: 0.68rem;
}

.scry-chat-operations-close {
  display: inline-flex;
  width: 2.75rem;
  height: 2.75rem;
  align-items: center;
  justify-content: center;
  flex: 0 0 2.75rem;
  border: 0;
  border-radius: 0.72rem;
  background: transparent;
  color: var(--scry-text-primary);
}

.scry-chat-operations-close:hover {
  background: var(--scry-surface-2);
}

.scry-chat-operations-panel__body {
  min-height: 0;
  flex: 1 1 auto;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.scry-chat-operations-panel .scry-chat-operational-header {
  z-index: auto;
  margin: 0;
  border-top: 0;
  background: var(--scry-surface-0);
}

.scry-chat-operations-backdrop {
  display: none;
}

body.scry-chat-focus-open,
body.scry-chat-sheet-open {
  overflow: hidden;
}

@media (min-width: 992px) {
  .scry-order-chat-shell.is-operations-open {
    grid-template-columns: minmax(0, 1fr) minmax(24rem, 27rem);
  }
}

@media (min-width: 992px) {
  .scry-chat-section-bar {
    margin-bottom: 0.75rem !important;
  }

  .scry-chat-operation-toggle,
  .scry-order-chat-shell .scry-chat-header--desktop-empty,
  .scry-chat-at-glance-actions--desktop-only,
  .scry-chat-at-glance-actions__link--desktop-only,
  .scry-chat-at-glance-upload-state,
  .scry-chat-operations-close {
    display: none;
  }

  .scry-chat-at-glance-actions {
    justify-content: center;
  }

  .scry-chat-operation-toggle--method-selection {
    display: none;
  }

  .scry-order-chat-shell--desktop-inline-method:not(.scry-order-chat-shell--desktop-expansion-action) .scry-chat-operations-panel {
    display: none !important;
  }

  .scry-order-chat-card .scry-chat-header--desktop-method-selection {
    padding: 0;
  }

  .scry-order-chat-card > .scry-chat-header > .scry-chat-operational-header--method-selection[data-scry-chat-operations-content] {
    display: block;
  }

  .scry-chat-operational-header--method-selection {
    margin: 0;
    border-top: 0;
    border-bottom: 1px solid var(--scry-border-soft);
    background: var(--scry-surface-1);
  }

  .scry-chat-operational-header--method-selection .scry-chat-method-prompt {
    width: 100%;
  }

  .scry-order-chat-card > .scry-chat-header > .scry-chat-operational-header--method-selection .scry-chat-expansion-close-prompt {
    display: none;
  }

  .scry-chat-operational-header--method-selection .scry-chat-action-card--seller-method {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto auto;
    align-items: center;
    justify-items: center;
    row-gap: 0.65rem;
    padding: 0.8rem 0.9rem;
    border-top: 0 !important;
    background: var(--scry-surface-1);
    text-align: center;
  }

  .scry-chat-operational-header--method-selection .scry-chat-action-card__title,
  .scry-chat-operational-header--method-selection .scry-chat-action-card__copy {
    grid-column: 1;
    max-width: 58ch;
    margin: 0;
    padding: 0;
    text-align: center;
  }

  .scry-chat-operational-header--method-selection .scry-chat-action-card__title {
    font-size: 0.9rem;
    line-height: 1.2;
  }

  .scry-chat-operational-header--method-selection .scry-chat-action-card__title--attention {
    justify-self: center;
    justify-content: center;
  }

  .scry-chat-operational-header--method-selection .scry-chat-action-card__copy {
    align-self: start;
    margin-top: 0.12rem;
    color: var(--scry-text-muted);
    font-size: 0.7rem;
    line-height: 1.25;
  }

  .scry-chat-operational-header--method-selection .scry-chat-action-card__copy--method-instructions {
    display: none;
  }

  .scry-chat-operational-header--method-selection .scry-chat-action-card__actions {
    display: grid;
    grid-row: 2;
    grid-column: 1;
    grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
    align-items: stretch;
    gap: 0.5rem;
    width: 100%;
    max-width: 60rem;
    min-width: 0;
    margin-right: auto;
    margin-left: auto;
    padding: 0;
  }

  .scry-chat-operational-header--method-selection .scry-chat-action-card__actions .btn {
    display: flex;
    width: 100%;
    max-width: none;
    min-height: 3rem;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    padding: 0.4rem 0.55rem;
    border-radius: 0.5rem;
    font-size: 0.9rem;
    line-height: 1.12;
    text-align: center;
    white-space: normal;
  }

  .scry-chat-operational-header--method-selection .scry-delivery-method-button {
    flex-direction: column;
    gap: 0.12rem;
  }

  .scry-chat-operational-header--method-selection .scry-delivery-method-button__meta {
    font-size: 0.75rem;
    line-height: 1.15;
  }

  .scry-chat-method-copy--mobile {
    display: none;
  }

  .scry-chat-method-copy--desktop {
    display: inline;
  }

  .scry-detail-row--chat-primary .scry-order-chat-card {
    height: 34rem;
    min-height: 0;
  }

  .scry-order-chat-shell.is-operations-open {
    grid-template-columns: minmax(0, 1fr) minmax(24rem, 27rem);
  }

  .scry-chat-operations-panel {
    height: auto;
    min-height: 34rem;
    animation: scry-chat-panel-enter 220ms cubic-bezier(0.16, 1, 0.3, 1) both;
  }

  .scry-chat-operations-panel--expansion-pending {
    align-self: start;
    min-height: 0;
  }

  .scry-chat-operations-panel--expansion-pending .scry-chat-operations-panel__body {
    flex: 0 0 auto;
    overflow-y: visible;
  }

  .scry-chat-operations-panel .scry-chat-upload,
  .scry-chat-operations-panel .scry-chat-upload__selection {
    grid-template-columns: minmax(0, 1fr);
  }

  .scry-chat-operations-panel .scry-chat-upload__selection {
    display: grid;
    width: 100%;
  }

  .scry-chat-operations-panel .scry-chat-upload__selection .form-control,
  .scry-chat-operations-panel .scry-chat-upload__remove,
  .scry-chat-operations-panel .scry-chat-upload .btn_subir_comprobante {
    width: 100%;
    max-width: none;
  }

  .scry-chat-operations-panel .scry-chat-upload__remove {
    min-height: 2.5rem;
    padding: 0.42rem 0.65rem;
    border: 1px solid var(--scry-border-soft);
    border-radius: 0.5rem;
    background: var(--scry-surface-0);
    color: var(--scry-text-secondary);
    text-decoration: none;
  }

  .scry-chat-operations-panel .scry-chat-upload__remove:hover,
  .scry-chat-operations-panel .scry-chat-upload__remove:focus-visible {
    border-color: var(--scry-border-strong);
    background: var(--scry-surface-2);
    color: var(--scry-text-primary);
  }

  .scry-detail-row--chat-primary .scry-order-chat-card > .card-body {
    display: grid;
    grid-template-rows: minmax(0, 1fr) auto auto;
    min-height: 0;
    flex: 1 1 auto;
    overflow: hidden;
  }

  .scry-detail-row--chat-primary #pedido-operational-chat .scry-order-chat-card .scry-chat-container,
  .scry-detail-row--chat-primary .scry-order-chat-card .scry-chat-container {
    grid-row: 1;
    min-height: 0;
    max-height: none;
  }

  .scry-detail-row--chat-primary .scry-order-chat-card #chat-alert-wrap {
    grid-row: 2;
    min-width: 0;
  }

  .scry-detail-row--chat-primary .scry-order-chat-card #chatCompose,
  .scry-detail-row--chat-primary .scry-order-chat-card > .card-body > .input-group,
  .scry-detail-row--chat-primary .scry-order-chat-card .scry-chat-input-disabled {
    grid-row: 3;
    min-width: 0;
  }
}

@keyframes scry-chat-panel-enter {
  from {
    opacity: 0.45;
    transform: translateX(0.65rem);
  }
}

@media (max-width: 991.98px) {
  .scry-chat-at-glance-actions--mobile-only {
    display: flex;
  }

  .scry-buyer-reception-operations {
    display: none;
  }

  .scry-chat-operations-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1044;
    padding: 0;
    border: 0;
    background: rgba(2, 6, 23, 0.58);
  }

  .scry-order-chat-shell.is-operations-open .scry-chat-operations-backdrop {
    display: block;
  }

  .scry-chat-operations-panel {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1045;
    width: min(100%, 42rem);
    max-height: min(78vh, 42rem);
    max-height: min(78dvh, 42rem);
    margin-inline: auto;
    border-right: 1px solid var(--scry-border-soft);
    border-bottom: 0;
    border-left: 1px solid var(--scry-border-soft);
    border-radius: 1rem 1rem 0 0;
    box-shadow: 0 -1rem 2.6rem rgba(2, 6, 23, 0.28);
    animation: scry-chat-sheet-enter 240ms cubic-bezier(0.16, 1, 0.3, 1) both;
  }

  .scry-chat-operations-panel--expansion-pending {
    max-height: none;
    overflow: visible;
  }

  .scry-chat-operations-panel__body {
    padding-bottom: max(0.8rem, env(safe-area-inset-bottom));
  }

  .scry-chat-operations-panel--expansion-pending .scry-chat-operations-panel__body {
    flex: 0 0 auto;
    min-height: auto;
    overflow-y: visible;
    overscroll-behavior: auto;
  }

  .scry-chat-operations-panel.has-upload-file {
    max-height: min(88vh, 48rem);
    max-height: min(88dvh, 48rem);
  }

  .scry-chat-operations-panel .scry-chat-upload__selection {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
  }

  .scry-chat-operations-panel .scry-chat-upload__remove {
    width: 100%;
    min-height: 2.75rem;
    padding: 0.5rem 0.65rem;
    border: 1px solid var(--scry-border-soft);
    border-radius: 0.5rem;
    background: var(--scry-surface-0);
    color: var(--scry-text-secondary);
    text-decoration: none;
  }

  .scry-chat-operations-panel .scry-chat-upload__remove:hover,
  .scry-chat-operations-panel .scry-chat-upload__remove:focus-visible {
    border-color: var(--scry-border-strong);
    background: var(--scry-surface-2);
    color: var(--scry-text-primary);
  }
}

@keyframes scry-chat-sheet-enter {
  from {
    transform: translateY(1.25rem);
    opacity: 0.55;
  }
}

@media (max-width: 767.98px) {
  .scry-chat-section-bar {
    align-items: flex-start;
  }

  .scry-chat-section-bar .scry-chat-heading {
    align-items: flex-start;
  }

  .scry-chat-heading__text {
    display: block;
    overflow: visible;
    text-overflow: clip;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .scry-chat-heading__separator {
    display: none;
  }

  .scry-chat-heading__order {
    display: block;
    margin-top: 0.12rem;
    white-space: nowrap;
  }

  .scry-chat-focus-trigger {
    display: inline-flex;
    flex: 0 0 auto;
  }

  #pedido-operational-chat.is-mobile-focus .scry-chat-focus-trigger {
    display: none;
  }

  #pedido-operational-chat.is-mobile-focus {
    position: fixed;
    inset: 0;
    z-index: 1039;
    display: flex;
    width: 100%;
    max-width: none;
    height: 100vh;
    height: 100dvh;
    flex-direction: column;
    padding: env(safe-area-inset-top) 0 env(safe-area-inset-bottom);
    background: var(--scry-surface-1);
    overflow: hidden;
  }

  #pedido-operational-chat.is-mobile-focus .scry-chat-section-bar {
    min-height: 3.5rem;
    flex: 0 0 auto;
    margin: 0 !important;
    padding: 0.38rem 0.72rem;
    border-bottom: 1px solid var(--scry-border-default);
    background: var(--scry-surface-0);
  }

  #pedido-operational-chat.is-mobile-focus .scry-chat-focus-back {
    display: inline-flex;
    width: 2.75rem;
    min-width: 2.75rem;
    justify-content: center;
    padding: 0.45rem;
  }

  #pedido-operational-chat.is-mobile-focus .scry-chat-focus-back span,
  #pedido-operational-chat.is-mobile-focus .scry-chat-heading__icon {
    display: none;
  }

  #pedido-operational-chat.is-mobile-focus .scry-chat-heading {
    display: flex;
    font-size: 0.8rem;
  }

  #pedido-operational-chat.is-mobile-focus .scry-chat-heading__separator,
  #pedido-operational-chat.is-mobile-focus .scry-chat-heading__order {
    font-size: 0.7rem;
  }

  #pedido-operational-chat.is-mobile-focus > .alert {
    display: none;
  }

  #pedido-operational-chat.is-mobile-focus .scry-chat-stage,
  #pedido-operational-chat.is-mobile-focus .scry-chat-stage > .row,
  #pedido-operational-chat.is-mobile-focus .scry-chat-stage > .row > [class*="col-"] {
    display: flex;
    min-height: 0;
    flex: 1 1 auto;
    flex-direction: column;
  }

  #pedido-operational-chat.is-mobile-focus .scry-chat-stage {
    margin: 0 !important;
    overflow: hidden;
  }

  #pedido-operational-chat.is-mobile-focus .scry-chat-stage > .row {
    margin: 0;
  }

  #pedido-operational-chat.is-mobile-focus .scry-chat-stage > .row > [class*="col-"] {
    padding: 0;
  }

  #pedido-operational-chat.is-mobile-focus .scry-order-chat-shell,
  #pedido-operational-chat.is-mobile-focus .scry-order-chat-card {
    min-height: 0;
    flex: 1 1 auto;
  }

  #pedido-operational-chat.is-mobile-focus .scry-order-chat-shell {
    grid-template-rows: minmax(0, 1fr);
  }

  #pedido-operational-chat.is-mobile-focus .scry-order-chat-card {
    display: flex;
    height: auto;
    max-height: none;
    border: 0 !important;
    border-radius: 0;
    flex-direction: column;
    box-shadow: none;
  }

  #pedido-operational-chat.is-mobile-focus .scry-order-chat-card > .card-body {
    display: flex;
    min-height: 0;
    flex: 1 1 auto;
    flex-direction: column;
    padding: 0.55rem 0.65rem 0.62rem;
  }

  #pedido-operational-chat.is-mobile-focus .scry-chat-container {
    min-height: 0;
    max-height: none;
    flex: 1 1 auto;
    padding-right: 0.1rem;
    overscroll-behavior: contain;
  }

  #pedido-operational-chat.is-mobile-focus .chat-compose,
  #pedido-operational-chat.is-mobile-focus .input-group {
    flex: 0 0 auto;
  }

  #pedido-operational-chat.is-mobile-focus .scry-chat-moderation-note--footer {
    flex: 0 0 auto;
    margin: 0 !important;
    padding: 0.32rem 0.72rem max(0.32rem, env(safe-area-inset-bottom));
    background: var(--scry-surface-0);
    font-size: 0.67rem;
  }
}

@media (max-width: 575.98px) {
  .scry-chat-entry-callout {
    grid-template-columns: auto minmax(0, 1fr);
    padding: 0.68rem;
  }

  .scry-chat-entry-callout > .btn {
    grid-column: 1 / -1;
    width: 100%;
  }

  .scry-order-chat-card .scry-chat-header,
  .scry-order-chat-card .scry-chat-header.scry-chat-header--operational-only {
    padding: 0.5rem 0.6rem;
  }

  .scry-order-chat-card .scry-chat-operational-header--direct .scry-chat-action-card {
    grid-template-columns: minmax(0, 1fr);
  }

  .scry-order-chat-card .scry-chat-operational-header--direct .scry-chat-action-card__actions {
    grid-row: auto;
    grid-column: 1;
    width: 100%;
    padding: 0 0.62rem 0.68rem;
  }

  .scry-chat-operation-toggle {
    min-height: 3.2rem;
    padding: 0.38rem 0.48rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .scry-chat-operations-panel,
  .scry-chat-operation-toggle__chevron {
    animation: none;
    transition: none;
  }
}

.scry-admin-order-chat {
  max-height: 420px;
  overflow-y: auto;
  padding: 0.75rem;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 0.75rem;
  background: #ffffff;
}

.scry-admin-order-chat__message {
  display: flex;
  margin-bottom: 0.75rem;
}

.scry-admin-order-chat__message:last-child {
  margin-bottom: 0;
}

.scry-admin-order-chat__message--left {
  justify-content: flex-start;
}

.scry-admin-order-chat__message--right {
  justify-content: flex-end;
}

.scry-admin-order-chat__message--system {
  justify-content: center;
}

.scry-admin-order-chat__bubble {
  max-width: min(72%, 640px);
  padding: 0.75rem 0.9rem;
  border-radius: 0.9rem;
  border: 1px solid rgba(15, 23, 42, 0.12);
  color: #111827;
  line-height: 1.4;
  word-break: break-word;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.05);
}

.scry-admin-order-chat__bubble p,
.scry-admin-order-chat__system p {
  color: inherit;
}

.scry-admin-order-chat__bubble--buyer {
  background: #ffffff;
  border-color: rgba(148, 163, 184, 0.4);
  border-top-left-radius: 0.35rem;
}

.scry-admin-order-chat__bubble--seller {
  background: #eff6ff;
  border-color: rgba(96, 165, 250, 0.45);
  color: #1e3a8a;
  border-top-right-radius: 0.35rem;
}

.scry-admin-order-chat__meta {
  margin-bottom: 0.25rem;
  color: #4b5563;
  font-size: 0.82rem;
  font-weight: 700;
}

.scry-admin-order-chat__bubble--seller .scry-admin-order-chat__meta {
  color: #2563eb;
}

.scry-admin-order-chat__system {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  max-width: min(92%, 520px);
  padding: 0.75rem 0.95rem;
  border: 1px solid rgba(45, 166, 159, 0.22);
  border-radius: 0.9rem;
  background: #ecfdf5;
  color: #0f766e;
  line-height: 1.35;
  text-align: center;
}

.scry-admin-order-chat__system-label {
  color: #159a92;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.logo-letter {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  font-size: 1.1rem;
}

.scry-min-w-0 {
  min-width: 0;
}

.scry-detail-note-xs {
  margin-top: 6px;
  font-size: 12px;
}

.scry-order-code-box {
  min-width: 56px;
}

.scry-order-code-page {
  min-height: calc(100vh - 132px);
  padding: clamp(1.25rem, 5vw, 2.5rem) 0 1.25rem;
}

.scry-order-code-shell {
  width: min(100%, 42rem);
  margin: 0 auto;
  text-align: center;
}

.scry-order-code-panel {
  padding: clamp(1rem, 4vw, 1.75rem);
  border: 1px solid var(--scry-border-default);
  border-radius: 1.25rem;
  background: var(--scry-surface-elevated);
  box-shadow: var(--scry-shadow-md);
}

.scry-order-code-title {
  margin: 0;
  color: var(--scry-text-primary);
  font-size: clamp(1.55rem, 5vw, 2.15rem);
  font-weight: 800;
  line-height: 1.12;
}

.scry-order-code-order {
  margin: 0.4rem 0 0.9rem;
  color: var(--scry-text-secondary);
  font-size: 0.9rem;
}

.scry-order-code-store {
  display: grid;
  gap: 0.15rem;
  max-width: 34rem;
  margin: 0 auto 0.85rem;
  padding: 0.75rem 0.85rem;
  border: 1px solid var(--scry-border-soft);
  border-radius: 0.95rem;
  background: var(--scry-surface-2);
  color: var(--scry-text-secondary);
  font-size: 0.85rem;
  line-height: 1.35;
}

.scry-order-code-store__label {
  color: var(--scry-accent-primary-strong);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.scry-order-code-store strong {
  color: var(--scry-text-primary);
  font-size: 1rem;
}

.scry-order-code-digits {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(0.4rem, 2vw, 0.7rem);
  margin: 0.9rem 0;
}

.scry-order-code-digits span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: clamp(3rem, 14vw, 4rem);
  height: clamp(3.4rem, 16vw, 4.5rem);
  border: 1px solid var(--scry-border-default);
  border-radius: 0.95rem;
  background: var(--scry-surface-2);
  color: var(--scry-text-primary);
  font-size: clamp(1.9rem, 9vw, 2.5rem);
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.scry-order-code-instruction {
  max-width: 40ch;
  margin: 0 auto;
  color: var(--scry-text-primary);
  font-size: 0.95rem;
  line-height: 1.42;
}

.scry-order-code-deadline {
  margin: 0.8rem 0 0;
  color: var(--scry-text-secondary);
  font-size: 0.82rem;
}

.scry-order-code-back {
  display: inline-block;
  margin-top: 0.85rem;
  color: var(--scry-accent-primary-strong);
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.scry-order-code-back:hover {
  color: var(--scry-accent-primary);
}

.scry-order-code-back:focus-visible {
  outline: 3px solid rgba(var(--scry-accent-primary-soft-rgb), 0.5);
  outline-offset: 4px;
  border-radius: 0.25rem;
}

.codigo-entrega-digit {
  width: 58px;
  height: 58px;
  border-radius: 12px;
  border: 2px solid #ced4da;
  font-size: 1.75rem;
  line-height: 1;
  padding: 0;
}

.codigo-entrega-digit:focus {
  border-color: #198754;
  box-shadow: 0 0 0 0.25rem rgba(25, 135, 84, 0.25);
}

.modal-approve-info p.text-small {
  margin-bottom: 0.4rem;
}

.modal-approve-info p.text-small:last-child {
  margin-bottom: 0;
}

#modalRetiroTienda .list-group-item {
  cursor: pointer;
}

#modalRetiroTienda .list-group-item[aria-disabled="true"] {
  cursor: not-allowed;
  opacity: 0.55;
}

#modalRetiroTienda .list-group-item .form-check-input {
  float: none;
  margin-left: 0;
}

#modalRetiroTienda .form-check-input[type="radio"] {
  appearance: auto !important;
  -webkit-appearance: radio !important;
  opacity: 1 !important;
  position: static !important;
  display: inline-block !important;
  width: 18px !important;
  height: 18px !important;
  margin-top: 2px;
  accent-color: #0d6efd;
}

#modalRetiroTienda .list-group-item.rt-selected {
  border-color: rgba(13, 110, 253, 0.55);
  background: rgba(13, 110, 253, 0.06);
}

#modalRetiroTienda .list-group-item:hover {
  background: rgba(0, 0, 0, 0.03);
}

.nav-tabs .nav-link.tab-disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.nav-tabs .nav-link.disabled {
  pointer-events: auto;
}

.scry-order-summary-extension-heading {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 1.5rem 0 0.75rem;
  color: var(--scry-text-secondary, #5f6c7b);
  font-weight: 700;
  line-height: 1.2;
}

.scry-order-summary-extension-heading::before,
.scry-order-summary-extension-heading::after {
  content: '';
  flex: 1 1 auto;
  height: 1px;
  background: var(--scry-border-soft, #d7efef);
}

.scry-order-summary-extension-heading::before {
  max-width: 2rem;
}

.scry-order-summary-extension-heading small {
  font-size: 0.78rem;
  font-weight: 800;
}

.venta-resumen-item {
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.venta-resumen-thumb-link {
  display: inline-block;
}

.venta-resumen-thumb {
  width: 96px;
  max-width: 100%;
  height: auto;
  border: 1px solid #ced4da;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
}

.venta-resumen-titulo {
  font-size: 1rem;
  line-height: 1.35;
}

.venta-resumen-finish-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.32rem;
  margin-left: 0.4rem;
  padding: 0.24rem 0.52rem;
  border: 1px solid rgba(139, 92, 246, 0.22);
  border-radius: 999px;
  color: #5b21b6;
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1;
  vertical-align: middle;
  white-space: nowrap;
}

.venta-resumen-finish-pill.is-foil {
  background:
    radial-gradient(circle at 18% 24%, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0) 24%),
    linear-gradient(120deg, rgba(255, 95, 109, 0.16) 0%, rgba(255, 195, 113, 0.2) 16%, rgba(124, 242, 156, 0.18) 32%, rgba(94, 223, 255, 0.2) 48%, rgba(139, 123, 255, 0.2) 64%, rgba(255, 102, 196, 0.2) 82%, rgba(255, 95, 109, 0.16) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 245, 255, 0.98) 100%);
  background-size: 100% 100%, 220% 220%, 100% 100%;
}

.venta-resumen-finish-dot {
  width: 0.48rem;
  height: 0.48rem;
  flex: 0 0 0.48rem;
  border: 1px solid rgba(255, 255, 255, 0.88);
  border-radius: 999px;
  background: linear-gradient(120deg, #ff5f6d 0%, #ffc371 20%, #7cf29c 40%, #5edfff 60%, #8b7bff 80%, #ff66c4 100%);
  box-shadow: 0 0 0 1px rgba(91, 33, 182, 0.2);
}

.venta-resumen-item.is-checked {
  background-color: #f3fbf6;
  border-color: #198754 !important;
}

.venta-resumen-item.is-checked .venta-resumen-titulo {
  text-decoration: line-through;
  opacity: 0.75;
}

.venta-resumen-check-wrap {
  margin-top: 0.9rem;
}

.venta-resumen-check-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  min-height: 44px;
  padding: 0.55rem 0.9rem;
  border: 1px solid #ced4da;
  border-radius: 999px;
  background: #fff;
  color: #495057;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.venta-resumen-check-pill:hover {
  border-color: #86b7fe;
  box-shadow: 0 0 0 0.15rem rgba(13, 110, 253, 0.08);
}

.venta-resumen-check-pill.is-checked {
  background: #eaf7ef;
  border-color: #198754;
  color: #146c43;
}

.venta-resumen-check-pill .form-check-input {
  width: 1.1rem;
  height: 1.1rem;
  margin: 0;
  cursor: pointer;
  flex: 0 0 auto;
}

.venta-resumen-check-pill-text {
  font-size: 0.95rem;
  line-height: 1.2;
}

.scry-sort-select-sm {
  min-width: 210px;
}

.venta-resumen-sort-controls > div {
  min-width: 0;
}

.scry-col-card-sm {
  width: 70px;
}

.scry-col-original {
  width: 120px;
}

.scry-col-lang {
  width: 190px;
}

.scry-col-new {
  width: 140px;
}

.scry-col-subtotal {
  width: 160px;
}

.scry-inline-thumb-sm {
  width: 50px;
  height: auto;
}

.scry-input-qty {
  max-width: 120px;
  margin: 0 auto;
}

.scry-input-language {
  min-width: 170px;
}

.scry-config-card {
  border-radius: 16px;
}

.iti {
  display: block;
  width: 100%;
}

.iti input.iti__tel-input,
.iti input.iti__tel-input[type="text"],
.iti input.iti__tel-input[type="tel"] {
  width: 100%;
}

.iti__selected-country-primary {
  min-width: 74px;
}

.iti__country-list {
  max-width: min(360px, calc(100vw - 2rem));
}

.swal2-container .iti {
  width: 100%;
}

.swal2-container .iti--container {
  z-index: 1070;
}

.scry-config-copy {
  max-width: 900px;
}

.scry-feedback-product-option .form-check-label {
  width: 100%;
  cursor: pointer;
  border: 1px solid var(--scry-border-default);
  background: var(--scry-surface-0);
  transition: border-color 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
}

.scry-feedback-product-option .form-check-label:hover {
  border-color: var(--scry-accent-primary-strong);
  background: var(--scry-accent-primary-soft);
}

.scry-feedback-product-option__indicator {
  display: block;
  flex: 0 0 auto;
  width: 1.2rem;
  height: 1.2rem;
  margin-top: 0.08rem;
  border: 2px solid var(--scry-border-strong);
  border-radius: 50%;
  background: var(--scry-surface-0);
}

.scry-feedback-product-option .form-check-input:checked + .form-check-label {
  border-color: var(--scry-accent-primary-strong);
  background: var(--scry-accent-primary-soft);
  box-shadow: 0 0 0 3px rgba(var(--scry-accent-primary-soft-rgb), 0.7);
}

.scry-feedback-product-option .form-check-input:checked + .form-check-label .scry-feedback-product-option__indicator {
  border: 5px solid var(--scry-accent-primary-strong);
}

.scry-feedback-product-option .form-check-input:focus-visible + .form-check-label {
  outline: 2px solid var(--scry-accent-primary-strong);
  outline-offset: 3px;
}

.scry-label-clickable {
  cursor: pointer;
}

.scry-hidden-init {
  display: none;
}

.scry-panel-soft {
  background: #fafafa;
}

.scry-message-editor {
  overflow: hidden;
  border: 1px solid var(--bs-border-color, #dee2e6);
  border-radius: 0.75rem;
  background: var(--bs-body-bg, #fff);
}

.scry-message-editor:focus-within {
  border-color: var(--scry-accent-primary, #0f9b96);
  box-shadow: 0 0 0 0.2rem rgba(63, 193, 178, .18);
}

.scry-message-editor__toolbar {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem;
  border-bottom: 1px solid var(--bs-border-color, #dee2e6);
  background: var(--bs-tertiary-bg, #f8f9fa);
}

.scry-message-editor__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.25rem;
  min-height: 2.25rem;
}

.scry-message-editor__button[aria-pressed="true"] {
  border-color: var(--scry-accent-primary, #0f9b96);
  color: var(--scry-accent-primary, #0f9b96);
  background: rgba(63, 193, 178, .12);
}

.scry-message-editor__body {
  min-height: 8rem;
  padding: 0.75rem;
  color: var(--bs-body-color, #212529);
  line-height: 1.55;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  outline: 0;
}

.scry-message-editor__body.is-invalid {
  box-shadow: inset 0 0 0 1px var(--bs-danger, #dc3545);
}

.scry-message-editor__body:empty::before {
  content: attr(data-placeholder);
  color: var(--bs-secondary-color, #6c757d);
  pointer-events: none;
}

.scry-message-editor__body ul {
  margin: 0.5rem 0;
  padding-left: 1.25rem;
}

.scry-message-editor__preview {
  color: var(--bs-body-color, #212529);
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.scry-message-editor__preview ul {
  margin: 0.5rem 0;
  padding-left: 1.25rem;
}

.scry-alert-soft-warning {
  background: rgba(255, 214, 0, 0.18);
}

.scry-alert-soft-info {
  background: rgba(13, 202, 240, 0.14);
  color: #0c5460;
}

.scry-section-lead {
  font-size: 1.05rem;
}

.scry-readonly-input {
  cursor: no-drop;
  pointer-events: none;
  background-color: rgba(118, 118, 118, 0.3);
}

.scry-control-max-date {
  max-width: 220px;
}

.scry-control-max-hour {
  max-width: 120px;
}

.scry-select-full {
  width: 100%;
}

.scry-alert-icon-lg {
  font-size: 18px;
  line-height: 1;
}

.scry-doc-preview-frame {
  height: 150px;
}

.scry-doc-preview-image {
  max-height: 140px;
}

.scry-doc-current-image {
  max-height: 150px;
}

.store-cover-preview-grid {
  width: 100%;
  max-width: 520px;
}

.store-cover-preview-label {
  display: block;
  margin-bottom: 0.45rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(48, 48, 48, 0.68);
}

.store-cover-preview,
.store-cover-preview-crop {
  position: relative;
  width: 100%;
  border-radius: 18px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #0f172a;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.store-cover-preview {
  aspect-ratio: 1200 / 630;
  border: 1px solid rgba(48, 48, 48, 0.12);
}

.store-cover-preview-crop {
  aspect-ratio: 1600 / 420;
  border: 1px solid rgba(48, 48, 48, 0.1);
}

.store-cover-safe-area {
  position: absolute;
  inset: 18% 13%;
  border: 2px dashed rgba(255, 255, 255, 0.72);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 0 0 1px rgba(8, 15, 30, 0.14);
  pointer-events: none;
}

.store-cover-safe-area.is-live {
  inset: 16% 11%;
}

.store-cover-safe-label {
  position: absolute;
  left: 0.8rem;
  top: 0.8rem;
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  background: rgba(8, 15, 30, 0.62);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  pointer-events: none;
}

.store-cover-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 0.75rem;
}

.store-cover-remove-btn.is-active {
  background: #dc3545;
  border-color: #dc3545;
  color: #fff;
}

.pe-store-card {
  cursor: pointer;
  border-radius: 14px;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.pe-store-card:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

.pe-store-card.is-selected {
  border-color: #ffc107;
  box-shadow: 0 0 0 1px rgba(255, 193, 7, 0.35), 0 10px 24px rgba(255, 193, 7, 0.14);
  background: #fffdf6;
}

.pe-store-logo,
.pe-selected-store-logo {
  border: 1px solid #e9ecef;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}

.pe-store-logo {
  width: 64px;
  height: 64px;
  border-radius: 16px;
}

.pe-selected-store-logo {
  width: 52px;
  height: 52px;
  border-radius: 14px;
}

.pe-store-logo img,
.pe-selected-store-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.pe-store-logo-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #495057;
  background: #f8f9fa;
}

@media (max-width: 575.98px) {
  .scry-order-summary-card.venta-resumen-item {
    padding: 0.625rem !important;
  }

  .venta-resumen-thumb {
    width: 64px;
  }

  .venta-resumen-item .venta-resumen-private-tags {
    gap: 0.25rem;
    margin-top: 0.3rem;
  }

  .venta-resumen-private-tags .catalog-private-tag {
    min-height: 1.5rem;
    padding: 0.15rem 0.45rem;
  }

  .venta-resumen-check-wrap {
    margin-top: 0.7rem;
  }

  .venta-resumen-titulo {
    font-size: 0.94rem;
    line-height: 1.3;
  }

  .venta-resumen-item .text-muted {
    font-size: 0.9rem;
    line-height: 1.35;
  }

  .venta-resumen-price,
  .venta-resumen-quantity {
    flex: 0 0 auto;
    width: auto;
    margin-top: 0.6rem !important;
    text-align: left !important;
  }

  .venta-resumen-price {
    margin-left: 33.333333%;
    padding-right: 0.25rem;
  }

  .venta-resumen-quantity {
    padding-left: 0.25rem;
  }

  .venta-resumen-check-pill {
    display: flex;
    width: 100%;
    justify-content: flex-start;
    padding: 0.7rem 0.9rem;
  }

  .venta-resumen-sort-controls > div {
    width: 100%;
  }

  .venta-resumen-sort-controls .scry-sort-select-sm {
    min-width: 0;
    flex: 1 1 auto;
  }
}

.catalog-toolbar .toolbar-control {
  min-height: 35px;
  border-radius: 0.55rem;
  border-color: rgba(48, 48, 48, 0.16);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.7) inset;
  font-size: 0.88rem;
}

.catalog-toolbar .toolbar-meta-row,
.catalog-toolbar .toolbar-active-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  margin-top: 0.7rem;
}
.catalog-toolbar .toolbar-active-row[hidden] { display: none; }

.catalog-toolbar .quick-filters,
.catalog-toolbar .active-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  align-items: center;
}

.catalog-toolbar .filter-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  min-height: 30px;
  padding: 0.32rem 0.72rem;
  border-radius: 999px;
  border: 1px solid var(--scry-border-default);
  background: rgba(255, 255, 255, 0.82);
  color: var(--scry-text-primary);
  font-size: 0.78rem;
  line-height: 1;
  white-space: nowrap;
}

.catalog-toolbar .filter-chip-label {
  display: inline-flex;
  align-items: center;
}

.catalog-toolbar .filter-chip-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 0.9rem;
  min-width: 0.9rem;
  font-size: 0.72rem;
  line-height: 1;
}

[data-bs-theme="dark"] .catalog-toolbar .filter-chip,
body[data-bs-theme="dark"] .catalog-toolbar .filter-chip {
  background: rgba(23, 33, 50, 0.82);
}

.catalog-toolbar button.filter-chip {
  appearance: none;
  cursor: pointer;
}

.catalog-toolbar button.filter-chip.is-active,
.catalog-toolbar .filter-chip.is-active {
  background: rgba(var(--scry-accent-primary-soft-rgb), 0.16);
  border-color: var(--scry-border-strong);
  color: var(--scry-accent-primary-strong);
  font-weight: 700;
}

.catalog-toolbar .toolbar-tools {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: auto;
}

.catalog-table-card {
  background: var(--scry-surface-1);
}

.catalog-table-filters {
  background: var(--scry-surface-1);
  border-bottom-color: var(--scry-border-default);
}

.catalog-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  margin-top: 0.35rem;
}

.catalog-card-meta .badge {
  font-weight: 500;
}

.catalog-private-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.3rem;
  margin-top: 0.45rem;
  font-size: 0.78rem;
}
.catalog-private-tags-label { color: var(--scry-text-secondary); font-weight: 700; }
.catalog-private-tag,
.catalog-private-tags-more > summary {
  display: inline-flex;
  align-items: center;
  min-height: 1.6rem;
  padding: 0.2rem 0.55rem;
  border: 1px solid var(--scry-border-default);
  border-radius: 999px;
  background: var(--scry-surface-1);
  color: var(--scry-text-primary);
  font: inherit;
  line-height: 1.2;
  cursor: pointer;
}
.catalog-private-tag:hover,
.catalog-private-tags-more > summary:hover { border-color: var(--scry-accent-primary); }
.catalog-private-tag:focus-visible,
.catalog-private-tags-more > summary:focus-visible,
.catalog-tag-row button:focus-visible { outline: 2px solid var(--scry-accent-primary-strong); outline-offset: 2px; }
.catalog-private-tags-more { display: inline-block; }
.catalog-private-tags-more > summary { list-style: none; }
.catalog-private-tags-more > summary::-webkit-details-marker { display: none; }
.catalog-private-tags-more > span { display: block; margin-top: 0.3rem; color: var(--scry-text-secondary); }
.catalog-tag-list,
.catalog-tag-bulk-list { max-height: 16rem; overflow-y: auto; }
.catalog-tag-tools { display: grid; grid-template-columns: minmax(0, 1fr) minmax(7rem, auto); gap: 0.45rem; }
.catalog-tag-tools > * { min-width: 0; }
.catalog-toolbar .catalog-advanced-grid--tags { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }
.catalog-toolbar .catalog-advanced-grid--tags > .toolbar-tag { grid-column: span 2; min-width: 0; }
.catalog-tag-filter-controls { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0.45rem; }
.catalog-tag-filter-controls > input,
.catalog-tag-filter-controls > select { min-width: 0; }
.catalog-tag-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--scry-border-soft);
}
.catalog-tag-row:last-child { border-bottom: 0; }
.catalog-tag-row-name { min-width: 0; overflow-wrap: anywhere; }
.catalog-tag-row-count { margin-left: 0.35rem; color: var(--scry-text-secondary); font-size: 0.75rem; }
.catalog-tag-row-actions { display: inline-flex; flex: 0 0 auto; gap: 0.2rem; }
.catalog-tag-row-actions .btn { padding: 0.15rem 0.3rem; }
.catalog-tag-bulk { padding: 0.85rem; border: 1px solid var(--scry-border-default); border-radius: 0.75rem; background: var(--scry-surface-1); }
.catalog-tag-bulk-list label { display: flex; align-items: center; gap: 0.55rem; padding: 0.35rem 0; }
.catalog-tag-feedback:empty { display: none; }
.scry-card-editor__tags { margin-top: 1.25rem; padding-top: 1.25rem; border-top: 1px solid var(--scry-border-soft); }
#card-tags-chips .catalog-private-tag { cursor: default; }
.scry-card-tag-picker__controls { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0.5rem; max-width: 42rem; }
.scry-card-tag-picker__controls > * { min-width: 0; }
.scry-card-tag-picker__panel { max-width: 42rem; margin-top: 0.65rem; padding: 0.75rem; border: 1px solid var(--scry-border-default); border-radius: 0.75rem; background: var(--scry-surface-1); }
.scry-card-tag-picker__toolbar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 0.35rem; }
.scry-card-tag-picker__toolbar .form-select { width: auto; min-width: 8rem; }
.scry-card-tag-picker__row { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; min-height: 2.75rem; padding: 0.35rem 0; border-bottom: 1px solid var(--scry-border-soft); }
.scry-card-tag-picker__row:last-child { border-bottom: 0; }
.scry-card-tag-picker__name { min-width: 0; overflow-wrap: anywhere; }
.scry-card-tag-picker__count { margin-left: 0.4rem; color: var(--scry-text-secondary); white-space: nowrap; }
.scry-card-tag-picker__row .btn { flex: 0 0 auto; }
.scry-card-tag-picker__panel[hidden],
#card-tags-more[hidden] { display: none !important; }
.scry-card-tag-picker__create:not([hidden]) { display: flex; margin-top: 0.65rem; padding-top: 0.65rem; border-top: 1px solid var(--scry-border-soft); }
.scry-card-tag-picker__create .btn { max-width: 100%; white-space: normal; overflow-wrap: anywhere; text-align: left; }
.venta-resumen-private-tags .catalog-private-tag { cursor: default; max-width: 100%; overflow-wrap: anywhere; }
.venta-resumen-private-tags .catalog-private-tag:hover { border-color: var(--scry-border-default); }
#card-tags-chips .catalog-private-tag button { margin-left: 0.35rem; border: 0; background: transparent; color: inherit; font-weight: 700; cursor: pointer; }

@media (max-width: 767.98px) {
  .catalog-toolbar .catalog-advanced-grid--tags > .toolbar-tag { grid-column: 1; }
  .catalog-tag-filter-controls { grid-template-columns: 1fr; }
  .catalog-private-tag,
  .catalog-private-tags-more > summary,
  .catalog-tag-row-actions .btn,
  .catalog-tag-bulk-list label { min-height: 2.75rem; }
  .catalog-tag-row-actions .btn { display: inline-flex; align-items: center; padding: 0.4rem; }
  .catalog-tag-bulk-list input { min-width: 1.1rem; min-height: 1.1rem; }
  #card-tags-chips .catalog-private-tag button { min-height: 2.75rem; padding: 0 0.4rem; }
  .scry-card-tag-picker__controls .btn,
  .scry-card-tag-picker__row .btn,
  .scry-card-tag-picker__create .btn { min-height: 2.75rem; }
}

@media (max-width: 575.98px) {
  .scry-card-tag-picker__controls { grid-template-columns: 1fr; }
  .scry-card-tag-picker__panel { padding: 0.65rem; }
}

.catalog-collections-card {
  border-radius: 0.9rem;
}

.catalog-collections-card .card-body {
  padding: 0.95rem;
}

.catalog-collections-card .card-title {
  font-size: 0.98rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.catalog-collections-card .list-group-item {
  padding: 0.58rem 0.8rem;
  font-size: 0.92rem;
}

.catalog-collections-card .list-group-item .badge {
  font-size: 0.72rem;
}

.catalog-collections-card .modal-edit-cole {
  padding: 0.16rem 0.52rem;
  font-size: 0.78rem;
  line-height: 1.25;
}

.catalog-collections-card .add-collection-btn {
  min-height: 34px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-top: 0.8rem;
}

.catalog-collections-card #colecciones_list .list-group-item + .list-group-item {
  margin-top: 0.38rem;
}

.catalog-collections-card #colecciones_list .coleccion {
  border-radius: 0.6rem;
}

.catalog-collections-card #colecciones_list {
  margin-bottom: 0.3rem;
}

.catalog-collections-card #colecciones_list .coleccion.active {
  background: #1f6feb;
  border-color: #1f6feb;
  color: #fff;
}

.catalog-collections-card #colecciones_list .coleccion.active a,
.catalog-collections-card #colecciones_list .coleccion.active #nb_cole-0,
.catalog-collections-card #colecciones_list .coleccion.active span {
  color: #fff !important;
}

.catalog-collections-card #colecciones_list .coleccion.active .badge {
  background: rgba(255, 255, 255, 0.18) !important;
  color: #fff !important;
}

.catalog-collections-card #colecciones_list .coleccion.active .modal-edit-cole {
  background: #fff;
  border-color: rgba(255, 255, 255, 0.9);
  color: #1f6feb;
}

.catalog-collections-card #colecciones_list .coleccion.active .modal-edit-cole:hover,
.catalog-collections-card #colecciones_list .coleccion.active .modal-edit-cole:focus {
  background: rgba(255, 255, 255, 0.92);
  color: #195ecc;
}

#side-colecciones > .card {
  border: 1px solid var(--scry-border-soft) !important;
  border-radius: var(--scry-radius-md);
  background: var(--scry-surface-0) !important;
  box-shadow: var(--scry-shadow-sm) !important;
}

#side-colecciones > .card > .card-body {
  padding: 0.95rem;
}

#side-colecciones .catalog-tool-summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  min-height: 44px;
  list-style: none;
}

#side-colecciones .catalog-tool-summary::-webkit-details-marker { display: none; }

#side-colecciones .catalog-tool-summary:focus-visible {
  outline: 2px solid var(--scry-accent-primary-strong);
  outline-offset: 3px;
  border-radius: 0.3rem;
}

#side-colecciones .catalog-tool-heading { display: grid; gap: 0.15rem; min-width: 0; }
#side-colecciones .catalog-tool-heading strong { color: var(--scry-text-primary); font-size: 0.98rem; line-height: 1.3; }
#side-colecciones .catalog-tool-heading small { color: var(--scry-text-secondary); font-size: 0.78rem; line-height: 1.3; }
#side-colecciones .catalog-tool-description { color: var(--scry-text-secondary); font-size: 0.82rem; line-height: 1.4; margin-top: 0.3rem; }
#side-colecciones .catalog-tool-content { padding-top: 0.85rem; }
#side-colecciones .catalog-tool-chevron { display: none; }

.catalog-stock-zero-card {
  border-radius: 0.9rem;
}

.catalog-stock-zero-card .card-body {
  padding: 0.95rem;
}

.catalog-stock-zero-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}

.catalog-stock-zero-card .card-title {
  font-size: 0.98rem;
  font-weight: 700;
}

.catalog-stock-zero-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 0.7rem;
  color: var(--scry-accent-primary-strong);
  background: rgba(var(--scry-accent-primary-soft-rgb), 0.14);
  border: 1px solid var(--scry-border-strong);
  flex: 0 0 auto;
}

.catalog-stock-zero-count {
  display: flex;
  align-items: baseline;
  gap: 0.32rem;
  color: var(--scry-text-secondary);
  font-size: 0.8rem;
  line-height: 1.2;
}

.catalog-stock-zero-count strong {
  color: var(--scry-text-primary);
  font-size: 1.1rem;
}

.catalog-stock-zero-copy {
  margin: 0.65rem 0 0.75rem;
  color: var(--scry-text-secondary);
  font-size: 0.82rem;
  line-height: 1.4;
}

.catalog-stock-zero-switch {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 34px;
  margin: 0;
  padding-left: 0;
}

.catalog-stock-zero-switch .form-check-input {
  width: 2.65em;
  height: 1.45em;
  margin-left: 0;
  cursor: pointer;
  flex: 0 0 auto;
}

.catalog-stock-zero-switch .form-check-input:disabled,
.catalog-stock-zero-switch .form-check-input:disabled + .form-check-label {
  cursor: not-allowed;
}

.catalog-stock-zero-switch .form-check-label {
  color: var(--scry-text-primary);
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
}

.catalog-stock-zero-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.45rem;
  margin-top: 0.85rem;
}

.catalog-stock-zero-actions .btn {
  min-height: 34px;
  font-weight: 600;
}

.catalog-min-price-card {
  border-radius: 0.9rem;
}

.catalog-min-price-card .card-body {
  padding: 0.95rem;
}

.catalog-min-price-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}

.catalog-min-price-card .card-title {
  font-size: 0.98rem;
  font-weight: 700;
}

.catalog-min-price-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 0.7rem;
  color: var(--scry-accent-primary-strong);
  background: rgba(var(--scry-accent-primary-soft-rgb), 0.14);
  border: 1px solid var(--scry-border-strong);
  flex: 0 0 auto;
}

.catalog-min-price-state {
  color: var(--scry-text-secondary);
  font-size: 0.8rem;
  line-height: 1.2;
}

.catalog-min-price-copy {
  margin: 0.65rem 0 0.75rem;
  color: var(--scry-text-secondary);
  font-size: 0.82rem;
  line-height: 1.4;
}

.catalog-min-price-switch {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 34px;
  margin: 0 0 0.65rem;
  padding-left: 0;
}

.catalog-min-price-switch .form-check-input {
  width: 2.65em;
  height: 1.45em;
  margin-left: 0;
  cursor: pointer;
  flex: 0 0 auto;
}

.catalog-min-price-switch .form-check-input:disabled,
.catalog-min-price-switch .form-check-input:disabled + .form-check-label {
  cursor: not-allowed;
}

.catalog-min-price-switch .form-check-label,
.catalog-min-price-label {
  color: var(--scry-text-primary);
  font-size: 0.86rem;
  font-weight: 600;
}

.catalog-min-price-label {
  margin-bottom: 0.35rem;
}

.catalog-min-price-mazos-check {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  margin: 0.75rem 0 0;
  padding-left: 0;
}

.catalog-min-price-mazos-check .form-check-input {
  margin-left: 0;
  margin-top: 0.18rem;
  flex: 0 0 auto;
}

.catalog-min-price-mazos-check .form-check-label {
  color: var(--scry-text-primary);
  font-size: 0.84rem;
  font-weight: 600;
  line-height: 1.25;
}

.catalog-min-price-hint {
  margin-top: 0.35rem;
  color: var(--scry-text-secondary);
  font-size: 0.76rem;
  line-height: 1.35;
}

.catalog-min-price-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.45rem;
  margin-top: 0.85rem;
}

.catalog-min-price-actions .btn {
  min-height: 34px;
  font-weight: 600;
}

@media (min-width: 768px) {
  .scry-sales-summary-collapse.collapse,
  .scry-sales-summary-collapse.collapse:not(.show) {
    display: block;
  }

  .scry-sales-summary-collapse.collapsing {
    display: block;
    height: auto !important;
    overflow: visible;
    transition: none;
  }
}

@media (max-width: 767.98px) {
  .scry-sales-summary {
    margin-top: 0.15rem;
  }

  .scry-sales-summary-toggle {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 0.65rem;
    padding: 0.78rem 0.85rem;
    text-align: left;
  }

  .scry-sales-summary-collapse {
    margin-top: 0.75rem;
  }

  .scry-sales-summary-collapse .scry-metric-grid.is-sales-summary {
    gap: 0.65rem;
  }
}

@media (max-width: 374.98px) {
  .scry-sales-summary-toggle {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .scry-sales-summary-toggle__meta {
    grid-column: 1 / -1;
    justify-self: start;
  }
}

@media (max-width: 991.98px) {
  .scry-report-period__output {
    grid-template-columns: 1fr;
  }

  .scry-report-export {
    border-top: 1px solid var(--scry-border-soft);
    border-left: 0;
    padding-top: 1rem;
    padding-left: 0;
  }

  .scry-metric-grid {
    grid-template-columns: 1fr;
  }

  .scry-metric-grid.is-sales-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.7rem;
  }

  .scry-metric-card.is-compact {
    padding: 0.78rem 0.85rem;
  }

  .scry-metric-card.is-compact .scry-metric-label {
    margin-bottom: 0.25rem;
    font-size: 0.68rem;
  }

  .scry-metric-card.is-compact .scry-metric-value,
  .scry-metric-card.is-compact .scry-metric-value.is-money {
    font-size: 1.32rem;
  }

  .scry-metric-card.is-compact .scry-metric-copy {
    margin-top: 0.28rem;
    font-size: 0.76rem;
    line-height: 1.25;
  }

  .repricing-card .repricing-summary {
    align-items: flex-start;
  }

  .repricing-card .repricing-actions {
    width: 100%;
    margin-left: 0;
  }

  .catalog-toolbar .toolbar-search,
  .catalog-toolbar .toolbar-select,
  .catalog-toolbar .toolbar-select.toolbar-set,
  .catalog-toolbar .toolbar-select.toolbar-show,
  .catalog-toolbar .toolbar-select.toolbar-colors,
  .catalog-toolbar .toolbar-select.toolbar-cmc {
    min-width: calc(50% - 0.45rem);
    flex-basis: calc(50% - 0.45rem);
    max-width: none;
  }

  .catalog-toolbar .toolbar-tools {
    width: 100%;
    justify-content: space-between;
    margin-left: 0;
  }
}

@media (max-width: 767.98px) {
  #side-colecciones .catalog-tool-summary { cursor: pointer; }
  #side-colecciones .catalog-tool-content { margin-top: 0.75rem; padding-top: 0.85rem; border-top: 1px solid var(--scry-border-soft); }
  #side-colecciones .catalog-tool-chevron {
    display: block;
    width: 0.55rem;
    height: 0.55rem;
    margin: 0.4rem 0.2rem 0;
    border-right: 1.5px solid var(--scry-text-secondary);
    border-bottom: 1.5px solid var(--scry-text-secondary);
    transform: rotate(45deg);
    flex: 0 0 auto;
  }
  #side-colecciones .catalog-tool-disclosure[open] .catalog-tool-chevron { transform: rotate(225deg); margin-top: 0.65rem; }
  .catalog-toolbar .toolbar-row { display: block; }
  .catalog-toolbar .toolbar-search { max-width: none; min-width: 0; }
  .catalog-toolbar .catalog-advanced { margin-top: 0.7rem; }
  .catalog-toolbar .catalog-advanced > summary {
    display: flex; align-items: center; gap: 0.5rem; min-height: 44px; padding: 0.55rem 0.8rem;
    border: 1px solid var(--scry-border-default); border-radius: 0.65rem;
    background: var(--scry-surface-1); color: var(--scry-text-primary);
    font-weight: 700; cursor: pointer; list-style: none;
  }
  .catalog-toolbar .catalog-advanced > summary::-webkit-details-marker { display: none; }
  .catalog-toolbar .catalog-advanced > summary::before { content: ''; width: 0.55rem; height: 0.55rem; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(-45deg); transition: transform 0.18s ease; }
  .catalog-toolbar .catalog-advanced[open] > summary::before { transform: rotate(45deg); }
  .catalog-toolbar #catalogo-filter-count { display: inline-flex; align-items: center; justify-content: center; min-width: 1.4rem; height: 1.4rem; border-radius: 999px; background: rgba(var(--scry-accent-primary-soft-rgb), 0.2); color: var(--scry-accent-primary-strong); font-size: 0.75rem; }
  .catalog-toolbar #catalogo-filter-count[hidden] { display: none; }
  .catalog-toolbar .catalog-advanced-grid { grid-template-columns: 1fr; padding-top: 0.8rem; }
  .catalog-toolbar .catalog-subtype-menu { position: static; width: 100%; margin-top: 0.4rem; box-shadow: none; }
  .catalog-toolbar .catalog-subtype-picker > summary { min-height: 44px; }
  .scry-page-title {
    font-size: 1.75rem;
  }

  .scry-toolbar,
  .scry-toolbar-group,
  .scry-page-actions {
    width: 100%;
  }

  .scry-toolbar-control,
  .scry-toolbar-control.is-search,
  .scry-toolbar-control.is-length {
    width: 100%;
  }

  .scry-report-export__types {
    grid-template-columns: 1fr;
  }

  .scry-report-export__footer {
    align-items: stretch;
    flex-direction: column;
  }

  .scry-report-export__footer .btn {
    width: 100%;
  }

}

@media (max-width: 575.98px) {
  .scry-chat-header {
    padding: 0.55rem 0.85rem;
  }

  .scry-chat-container {
    min-height: 320px;
  }

  .scry-chat-peer .logo-letter {
    width: 36px;
    height: 36px;
    flex-basis: 36px;
  }

  .repricing-card .card-body {
    padding: 0.85rem 0.85rem 0.9rem;
  }

  .repricing-card .repricing-copy {
    font-size: 0.89rem;
  }

  .repricing-card .repricing-actions,
  .repricing-card .repricing-actions .btn {
    width: 100%;
  }

  .catalog-toolbar .toolbar-search,
  .catalog-toolbar .toolbar-select,
  .catalog-toolbar .toolbar-select.toolbar-set,
  .catalog-toolbar .toolbar-select.toolbar-show,
  .catalog-toolbar .toolbar-select.toolbar-colors,
  .catalog-toolbar .toolbar-select.toolbar-cmc {
    min-width: 100%;
    flex-basis: 100%;
  }

  .catalog-toolbar #tx_name_catalogo_admin {
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .catalog-toolbar .input-group.input-group-sm {
    width: 100% !important;
  }
}

/* Recién llegadas: ventana compacta, deja ver ~1,5 filas en desktop. */
.hv-grid-wrap--compact-window,
.hv-grid-wrap--3rows,
.hv-grid-wrap--4rows {
  max-height: 390px;
}

@media (max-width: 575.98px) {
  .hv-grid-wrap--compact-window,
  .hv-grid-wrap--3rows,
  .hv-grid-wrap--4rows {
    max-height: none;
    overflow-x: auto;
    overflow-y: hidden;
    padding-right: 0;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
  }

  .hv-grid-wrap--compact-window .hv-grid,
  .hv-grid-wrap--3rows .hv-grid,
  .hv-grid-wrap--4rows .hv-grid {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(132px, 42vw);
    grid-template-columns: none;
    grid-template-rows: none;
    gap: 10px;
    width: max-content;
  }
}

.carta50k-page {
  color: var(--scry-text-primary);
}

.carta50k-hero {
  border: 1px solid var(--scry-border-soft);
  border-radius: 18px;
  background:
    radial-gradient(circle at top left, rgba(var(--scry-accent-primary-soft-rgb), 0.34) 0%, rgba(var(--scry-accent-primary-soft-rgb), 0) 42%) padding-box,
    linear-gradient(180deg, var(--scry-surface-2) 0%, var(--scry-surface-0) 100%) padding-box;
  box-shadow: var(--scry-shadow-lg);
}

.carta50k-hero-copy {
  padding: clamp(1.35rem, 3vw, 3.2rem);
}

.carta50k-kicker {
  margin-bottom: 0.65rem;
  color: var(--scry-accent-primary-strong);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.carta50k-hero h1,
.carta50k-panel h2,
.carta50k-terms h2,
.carta50k-final-cta h2 {
  margin: 0;
  color: var(--scry-text-primary);
  font-weight: 800;
  line-height: 1.08;
}

.carta50k-hero h1 {
  max-width: 12ch;
  font-size: clamp(2.4rem, 7vw, 5.3rem);
}

.carta50k-hero h1.carta50k-title-image {
  max-width: min(100%, 740px);
  font-size: 0;
  line-height: 0;
}

.carta50k-title-image img {
  display: block;
  width: 100%;
  height: auto;
}

.carta50k-lead {
  max-width: 42rem;
  margin: 1rem 0 0;
  color: var(--scry-text-secondary);
  font-size: clamp(1rem, 1.7vw, 1.22rem);
  line-height: 1.55;
}

.carta50k-counter {
  margin-top: 1.35rem;
  border: 1px solid var(--scry-border-soft);
  border-radius: 16px;
  padding: clamp(0.95rem, 2vw, 1.25rem);
  background: var(--scry-surface-1);
  box-shadow: var(--scry-shadow-sm);
}

.carta50k-counter-head,
.carta50k-counter-foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
}

.carta50k-counter-head > span {
  color: var(--scry-text-secondary);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.carta50k-counter-head strong {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.45rem;
  color: var(--scry-text-primary);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 900;
  line-height: 0.95;
}

.carta50k-counter-head small {
  color: var(--scry-text-secondary);
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.2;
}

.carta50k-progress {
  position: relative;
  height: 12px;
  margin-top: 0.95rem;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(var(--scry-accent-primary-soft-rgb), 0.18);
}

.carta50k-progress span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--scry-accent-primary) 0%, var(--scry-accent-primary-strong) 100%);
  box-shadow: 0 0 18px rgba(var(--scry-accent-primary-soft-rgb), 0.42);
  will-change: width;
}

.carta50k-counter-foot {
  align-items: center;
  margin-top: 0.7rem;
  color: var(--scry-text-secondary);
  font-size: 0.9rem;
  line-height: 1.3;
}

.carta50k-counter-foot strong {
  color: var(--scry-accent-primary-strong);
}

.carta50k-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.35rem;
}

.carta50k-btn-primary,
.carta50k-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 44px;
  border-radius: 10px;
  font-weight: 800;
  line-height: 1.1;
}

.carta50k-btn-primary {
  border: 1px solid var(--scry-accent-primary);
  background: var(--scry-accent-primary);
  color: #071018;
}

.carta50k-btn-primary:hover,
.carta50k-btn-primary:focus {
  border-color: var(--scry-text-primary);
  background: var(--scry-text-primary);
  color: var(--scry-surface-0);
}

.carta50k-btn-secondary {
  border: 1px solid var(--scry-border-strong);
  background: var(--scry-surface-0);
  color: var(--scry-text-primary);
}

.carta50k-btn-secondary:hover,
.carta50k-btn-secondary:focus {
  border-color: var(--scry-accent-primary);
  background: rgba(var(--scry-accent-primary-soft-rgb), 0.18);
  color: var(--scry-accent-primary-strong);
}

.carta50k-proof-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 1.45rem;
}

.carta50k-proof,
.carta50k-panel,
.carta50k-terms,
.carta50k-final-cta {
  border: 1px solid var(--scry-border-soft);
  background: var(--scry-surface-0);
  box-shadow: var(--scry-shadow-sm);
}

.carta50k-proof {
  border-radius: 12px;
  padding: 0.8rem 0.85rem;
}

.carta50k-proof strong,
.carta50k-rule strong,
.carta50k-steps strong {
  display: block;
  color: var(--scry-text-primary);
  line-height: 1.22;
}

.carta50k-proof span {
  display: block;
  margin-top: 0.18rem;
  color: var(--scry-text-secondary);
  font-size: 0.82rem;
  line-height: 1.25;
}

.carta50k-hero-media {
  position: relative;
  min-height: 100%;
  background: var(--scry-surface-1);
}

.carta50k-hero-media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  object-position: center;
}

.carta50k-hero-badge {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 12px;
  padding: 0.9rem 1rem;
  background: rgba(7, 16, 24, 0.78);
  color: #ffffff;
  backdrop-filter: blur(10px);
}

.carta50k-hero-badge span,
.carta50k-hero-badge strong {
  display: block;
  line-height: 1.25;
}

.carta50k-hero-badge span {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  opacity: 0.78;
}

.carta50k-hero-badge strong {
  margin-top: 0.22rem;
  font-size: 1rem;
}

.carta50k-prize-media {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 2vw, 2rem);
}

.carta50k-prize-media img {
  max-width: 100%;
  max-height: 420px;
  min-height: 0;
  height: auto;
  object-fit: contain;
}

.carta50k-poster-panel {
  overflow: hidden;
  border: 1px solid var(--scry-border-soft);
  border-radius: 16px;
  background: #071018;
  box-shadow: var(--scry-shadow-md);
}

.carta50k-poster-panel img {
  display: block;
  width: 100%;
  height: auto;
}

.carta50k-panel,
.carta50k-terms {
  border-radius: 16px;
  padding: clamp(1rem, 2vw, 1.5rem);
}

.carta50k-panel h2,
.carta50k-terms h2,
.carta50k-final-cta h2 {
  font-size: clamp(1.35rem, 2.2vw, 1.85rem);
}

.carta50k-steps {
  display: grid;
  gap: 1rem;
  margin: 1.1rem 0 0;
  padding-left: 1.25rem;
}

.carta50k-steps li,
.carta50k-rule,
.carta50k-accordion .accordion-body,
.carta50k-final-cta p {
  color: var(--scry-text-secondary);
  line-height: 1.55;
}

.carta50k-rule-list {
  display: grid;
  gap: 0.85rem;
  margin-top: 1.1rem;
}

.carta50k-rule {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 0.8rem;
  align-items: start;
  border: 1px solid var(--scry-border-soft);
  border-radius: 12px;
  padding: 0.9rem;
  background: var(--scry-surface-1);
}

.carta50k-rule-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: rgba(var(--scry-accent-primary-soft-rgb), 0.2);
  color: var(--scry-accent-primary-strong);
}

.carta50k-table-card {
  border: 1px solid var(--scry-border-soft);
  border-radius: 12px;
  padding: 0.95rem;
  background: var(--scry-surface-1);
}

.carta50k-table-card h3 {
  margin: 0 0 0.75rem;
  color: var(--scry-text-primary);
  font-size: 1rem;
  font-weight: 800;
}

.carta50k-table {
  color: var(--scry-text-primary);
}

.carta50k-table td,
.carta50k-table th {
  border-color: var(--scry-border-soft);
  padding: 0.58rem 0;
}

.carta50k-table th {
  width: 4.5rem;
  color: var(--scry-accent-primary-strong);
  text-align: right;
  white-space: nowrap;
}

.carta50k-note {
  color: var(--scry-text-secondary);
  font-size: 0.92rem;
  line-height: 1.5;
}

.carta50k-exclusion-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.75rem;
}

.carta50k-exclusion {
  display: grid;
  gap: 0.55rem;
  align-content: start;
  min-height: 128px;
  border: 1px solid var(--scry-border-soft);
  border-radius: 12px;
  padding: 0.9rem;
  background: var(--scry-surface-1);
  color: var(--scry-text-secondary);
  font-size: 0.86rem;
  line-height: 1.3;
  text-align: center;
}

.carta50k-exclusion i {
  color: #ef4444;
  font-size: 1.5rem;
}

.carta50k-accordion {
  border: 1px solid var(--scry-border-soft);
  border-radius: 14px;
  overflow: hidden;
}

.carta50k-accordion .accordion-item {
  border-color: var(--scry-border-soft);
  background: var(--scry-surface-0);
}

.carta50k-accordion .accordion-button {
  background: var(--scry-surface-0);
  color: var(--scry-text-primary);
  font-weight: 800;
  line-height: 1.25;
}

.carta50k-accordion .accordion-button:not(.collapsed) {
  background: rgba(var(--scry-accent-primary-soft-rgb), 0.16);
  color: var(--scry-text-primary);
  box-shadow: inset 0 -1px 0 var(--scry-border-soft);
}

.carta50k-accordion .accordion-button:focus {
  border-color: var(--scry-accent-primary);
  box-shadow: 0 0 0 0.18rem rgba(var(--scry-accent-primary-soft-rgb), 0.3);
}

.carta50k-final-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-radius: 16px;
  padding: clamp(1rem, 2vw, 1.35rem);
  background:
    radial-gradient(circle at top right, rgba(var(--scry-accent-primary-soft-rgb), 0.24) 0%, rgba(var(--scry-accent-primary-soft-rgb), 0) 42%) padding-box,
    var(--scry-surface-1);
}

.carta50k-final-cta p {
  max-width: 44rem;
  margin: 0.45rem 0 0;
}

.carta50k-sticky-cta {
  position: fixed;
  right: 0;
  bottom: 1rem;
  bottom: calc(1rem + env(safe-area-inset-bottom));
  left: 0;
  z-index: 1040;
  padding: 0 1rem;
  opacity: 0;
  pointer-events: none;
  transform: translateY(1rem);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.carta50k-sticky-cta.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.carta50k-sticky-cta-inner {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  width: min(100%, 720px);
  margin: 0 auto;
  padding: 0.7rem;
  border: 1px solid var(--scry-border-soft);
  border-radius: 16px;
  background: var(--scry-surface-0);
  box-shadow: 0 18px 42px rgba(7, 16, 24, 0.22);
  backdrop-filter: blur(14px);
}

.carta50k-sticky-cta .btn {
  width: 100%;
  min-width: 0;
  white-space: normal;
}

@media (max-width: 991.98px) {
  .carta50k-hero-media img {
    max-height: 360px;
  }

  .carta50k-exclusion-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .carta50k-final-cta {
    align-items: stretch;
    flex-direction: column;
  }

  .carta50k-final-cta .btn {
    width: 100%;
  }
}

@media (max-width: 575.98px) {
  .carta50k-proof-grid {
    grid-template-columns: 1fr;
  }

  .carta50k-exclusion-grid {
    grid-template-columns: 1fr;
  }

  .carta50k-exclusion {
    min-height: 0;
    text-align: left;
    grid-template-columns: 28px minmax(0, 1fr);
    align-items: center;
  }

  .carta50k-exclusion i {
    font-size: 1.25rem;
  }

  .carta50k-actions .btn {
    width: 100%;
  }

  .carta50k-counter-head,
  .carta50k-counter-foot {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.45rem;
  }

  .carta50k-counter-head strong {
    justify-content: flex-start;
  }

  .carta50k-sticky-cta {
    padding: 0 0.75rem;
  }

  .carta50k-sticky-cta-inner {
    gap: 0.55rem;
    padding: 0.55rem;
  }

  .carta50k-sticky-cta .btn {
    font-size: 0.86rem;
  }
}

.scry-grading-pill-link {
  color: inherit;
  text-decoration-line: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

.scry-grading-pill-link:hover,
.scry-grading-pill-link:focus {
  color: var(--scry-accent-primary-strong, #0f766e);
}

.scry-grading-pill-link:focus-visible {
  outline: 2px solid rgba(var(--scry-accent-primary-soft-rgb, 63, 193, 178), 0.45);
  outline-offset: 3px;
}

.scry-grading-page {
  color: var(--scry-text-primary, #172033);
}

.scry-grading-intro {
  padding: clamp(1rem, 2vw, 1.35rem);
  border: 1px solid var(--scry-border-soft, rgba(15, 23, 42, 0.1));
  border-radius: 18px;
  background:
    radial-gradient(circle at top right, rgba(var(--scry-accent-primary-soft-rgb, 63, 193, 178), 0.2) 0%, rgba(var(--scry-accent-primary-soft-rgb, 63, 193, 178), 0) 46%),
    linear-gradient(180deg, var(--scry-surface-2, #f8fafc) 0%, var(--scry-surface-0, #ffffff) 100%);
  box-shadow: var(--scry-shadow-sm, 0 10px 24px rgba(15, 23, 42, 0.06));
}

.scry-grading-intro p {
  max-width: 68rem;
  color: var(--scry-text-secondary, #475569);
  line-height: 1.65;
}

.scry-grading-scale {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}

.scry-grading-scale-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-height: 54px;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--scry-border-soft, rgba(15, 23, 42, 0.1));
  border-radius: 14px;
  background: var(--scry-surface-0, #ffffff);
  color: var(--scry-text-primary, #172033);
  text-decoration: none;
}

.scry-grading-scale-item:hover,
.scry-grading-scale-item:focus {
  border-color: var(--scry-accent-primary, #3fc1b2);
  color: var(--scry-accent-primary-strong, #0f766e);
}

.scry-grading-scale-item strong {
  font-size: 1.05rem;
  font-weight: 800;
}

.scry-grading-scale-item span {
  color: var(--scry-text-secondary, #64748b);
  font-size: 0.9rem;
}

.scry-grading-sections {
  display: grid;
  gap: 1rem;
}

.scry-grading-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 1.05fr);
  gap: clamp(1rem, 2.4vw, 1.6rem);
  align-items: center;
  padding: clamp(1rem, 2.2vw, 1.45rem);
  border: 1px solid var(--scry-border-soft, rgba(15, 23, 42, 0.1));
  border-radius: 18px;
  background: var(--scry-surface-0, #ffffff);
  box-shadow: var(--scry-shadow-sm, 0 10px 24px rgba(15, 23, 42, 0.06));
  scroll-margin-top: 88px;
}

.scry-grading-code {
  margin-bottom: 0.35rem;
  color: var(--scry-accent-primary-strong, #0f766e);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.scry-grading-copy h2 {
  margin: 0 0 0.65rem;
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  line-height: 1.2;
}

.scry-grading-copy p {
  margin: 0;
  color: var(--scry-text-secondary, #475569);
  line-height: 1.65;
}

.scry-grading-images {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.scry-grading-image {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 3 / 4;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--scry-border-soft, rgba(15, 23, 42, 0.1));
  border-radius: 14px;
  background: var(--scry-surface-2, #f8fafc);
}

.scry-grading-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.scry-grading-lightbox-trigger {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: zoom-in;
  text-decoration: none;
}

.scry-grading-lightbox-trigger:focus-visible {
  outline: 3px solid rgba(var(--scry-accent-primary-soft-rgb, 63, 193, 178), 0.55);
  outline-offset: -3px;
}

.scry-grading-image-zoom {
  position: absolute;
  right: 0.65rem;
  bottom: 0.65rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.78);
  color: #ffffff;
  font-size: 0.92rem;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.16s ease, transform 0.16s ease;
}

.scry-grading-lightbox-trigger:hover .scry-grading-image-zoom,
.scry-grading-lightbox-trigger:focus-visible .scry-grading-image-zoom {
  opacity: 1;
  transform: translateY(0);
}

.scry-image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000020;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(15, 23, 42, 0.82);
  backdrop-filter: blur(4px);
}

.scry-image-lightbox.is-open {
  display: flex;
}

.scry-image-lightbox__dialog {
  position: relative;
  width: min(92vw, 720px);
  max-height: 88vh;
  overflow: hidden;
  border-radius: 1rem;
  background: #ffffff;
  box-shadow: 0 24px 64px rgba(15, 23, 42, 0.28);
}

.scry-image-lightbox__close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 3;
  min-width: 2.5rem;
  height: 2.5rem;
  padding: 0 0.85rem;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  color: #0f172a;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.18);
  font-weight: 600;
  line-height: 1;
}

.scry-image-lightbox__counter {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 3;
  min-height: 2.5rem;
  padding: 0 0.85rem;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  color: #0f172a;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.18);
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1;
}

.scry-image-lightbox__nav {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  color: #0f172a;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.18);
  transform: translateY(-50%);
}

.scry-image-lightbox__nav--prev {
  left: 0.75rem;
}

.scry-image-lightbox__nav--next {
  right: 0.75rem;
}

.scry-image-lightbox__nav[hidden],
.scry-image-lightbox__counter[hidden] {
  display: none;
}

.scry-image-lightbox__close:hover,
.scry-image-lightbox__close:focus,
.scry-image-lightbox__nav:hover,
.scry-image-lightbox__nav:focus {
  background: #ffffff;
}

.scry-image-lightbox__figure {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 3.5rem 1rem 0;
}

.scry-image-lightbox__img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 66vh;
  object-fit: contain;
  margin: 0 auto;
  border-radius: 0.75rem;
}

.scry-image-lightbox.is-card-image .scry-image-lightbox__img {
  width: min(100%, 440px);
}

.scry-image-lightbox__caption {
  width: 100%;
  padding: 0.85rem 1rem 1rem;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  background: #ffffff;
  color: #334155;
  font-size: 0.92rem;
}

body.scry-lightbox-open {
  overflow: hidden;
}

.scry-grading-note {
  padding: 1rem 1.1rem;
  border-left: 4px solid var(--scry-accent-primary, #3fc1b2);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(var(--scry-accent-primary-soft-rgb, 63, 193, 178), 0.18), rgba(var(--scry-accent-primary-soft-rgb, 63, 193, 178), 0.1)),
    var(--scry-surface-0, #ffffff);
  color: var(--scry-text-primary, #172033);
  box-shadow: inset 0 0 0 1px rgba(var(--scry-accent-primary-soft-rgb, 63, 193, 178), 0.2);
}

.scry-grading-note p {
  color: var(--scry-text-secondary, #475569);
  line-height: 1.6;
}

@media (max-width: 991.98px) {
  .scry-grading-section {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 575.98px) {
  .scry-grading-scale {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .scry-grading-scale-item {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 0.15rem;
  }
}

.scry-dia0-top-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  width: 100%;
  min-height: 40px;
  padding: 0.45rem 1rem;
  color: #ffffff;
  text-decoration: none;
  background:
    linear-gradient(90deg, #160d03 0%, #5f3305 22%, #f5a900 50%, #7a4206 78%, #160d03 100%);
  border-bottom: 1px solid rgba(255, 202, 85, 0.55);
  box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.2);
}

.scry-dia0-top-banner:hover,
.scry-dia0-top-banner:focus {
  color: #ffffff;
  text-decoration: none;
}

.scry-dia0-top-banner--teaser {
  background:
    linear-gradient(90deg, #160d03 0%, #3d2407 24%, #b86f08 50%, #5f3305 76%, #160d03 100%);
}

.scry-dia0-top-banner--teaser .scry-dia0-top-banner__badge {
  color: #1c1204;
  background: #fff1b8;
}

.scry-dia0-top-banner--teaser .scry-dia0-top-banner__cta {
  color: #201204;
  border-color: rgba(255, 241, 184, 0.82);
  background: #ffd166;
}

.scry-carta50k-top-banner {
  color: #ffffff;
  background:
    linear-gradient(90deg, #111827 0%, #6d28d9 26%, #db2777 52%, #f97316 76%, #111827 100%);
  border-bottom-color: rgba(255, 255, 255, 0.28);
}

.scry-carta50k-top-banner:hover,
.scry-carta50k-top-banner:focus {
  color: #ffffff;
}

.scry-carta50k-top-banner .scry-dia0-top-banner__badge {
  color: #1f1235;
  background: #ffffff;
}

.scry-carta50k-top-banner .scry-dia0-top-banner__cta {
  color: #111827;
  border-color: rgba(255, 255, 255, 0.88);
  background: #fef3c7;
}

.scry-referral-top-banner {
  color: #ffffff;
  background:
    linear-gradient(90deg, #0f172a 0%, #155e75 26%, #16a34a 52%, #ca8a04 78%, #0f172a 100%);
  border-bottom-color: rgba(255, 255, 255, 0.3);
}

.scry-referral-top-banner:hover,
.scry-referral-top-banner:focus {
  color: #ffffff;
}

.scry-referral-top-banner .scry-dia0-top-banner__badge {
  color: #052e16;
  background: #dcfce7;
}

.scry-referral-top-banner .scry-dia0-top-banner__cta {
  color: #052e16;
  border-color: rgba(220, 252, 231, 0.88);
  background: #bbf7d0;
}

.scry-referral-top-banner .scry-dia0-top-banner__copy {
  color: #ffffff;
  text-shadow: 0 1px 3px rgba(5, 46, 22, 0.68);
}

.scry-carta50k-top-banner .scry-dia0-top-banner__copy {
  color: #ffffff;
  text-shadow: 0 1px 3px rgba(17, 24, 39, 0.62);
}

.scry-dia0-top-banner__badge,
.scry-dia0-top-banner__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.scry-dia0-top-banner__badge {
  padding: 0.38rem 0.7rem;
  color: #201204;
  background: #ffd166;
  box-shadow: 0 4px 10px rgba(32, 18, 4, 0.24);
}

.scry-dia0-top-banner__copy {
  min-width: 0;
  font-size: 0.96rem;
  font-weight: 800;
  line-height: 1.25;
  text-align: center;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.32);
}

.scry-dia0-top-banner__cta {
  padding: 0.36rem 0.72rem;
  color: #fff7df;
  border: 1px solid rgba(255, 244, 194, 0.72);
  background: rgba(22, 13, 3, 0.36);
}

.dia0-page {
  color: #fff7df;
}

.dia0-hero,
.dia0-panel,
.dia0-rules,
.dia0-final-cta {
  border: 1px solid rgba(245, 169, 0, 0.36);
  border-radius: 18px;
  background:
    radial-gradient(circle at 18% 8%, rgba(255, 204, 85, 0.22) 0%, rgba(255, 204, 85, 0) 34%),
    linear-gradient(135deg, #2b1705 0%, #150c04 58%, #3a2208 100%);
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.16);
}

.dia0-hero {
  overflow: hidden;
}

.dia0-hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100%;
  padding: clamp(2rem, 5vw, 4.5rem);
}

.dia0-kicker {
  margin-bottom: 0.75rem;
  color: #ffca55;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.dia0-hero h1,
.dia0-panel h2,
.dia0-rules h2,
.dia0-final-cta h2 {
  margin: 0;
  color: #ffffff;
  font-weight: 900;
  line-height: 1.05;
}

.dia0-hero h1 {
  font-size: clamp(3.2rem, 10vw, 7.8rem);
  text-shadow: 0 10px 24px rgba(0, 0, 0, 0.38);
}

.dia0-lead {
  max-width: 34rem;
  margin: 1rem 0 0;
  color: #fff1c7;
  font-size: clamp(1.15rem, 2.4vw, 1.65rem);
  font-weight: 800;
  line-height: 1.25;
}

.dia0-highlight {
  display: grid;
  gap: 0.35rem;
  margin-top: 1.35rem;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(255, 202, 85, 0.42);
  border-radius: 14px;
  background: rgba(22, 13, 3, 0.48);
}

.dia0-highlight strong {
  color: #ffca55;
  font-size: 1.15rem;
  font-weight: 900;
}

.dia0-highlight span,
.dia0-panel p,
.dia0-rule span {
  color: #f7e7bd;
  line-height: 1.6;
}

.dia0-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.6rem;
}

.dia0-btn-primary,
.dia0-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 46px;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  font-weight: 900;
}

.dia0-btn-primary {
  color: #1b1003;
  border: 1px solid #ffca55;
  background: linear-gradient(180deg, #ffd166 0%, #f5a900 100%);
  box-shadow: 0 12px 24px rgba(245, 169, 0, 0.22);
}

.dia0-btn-primary:hover,
.dia0-btn-primary:focus {
  color: #1b1003;
  background: #ffd166;
}

.dia0-btn-secondary {
  color: #fff7df;
  border: 1px solid rgba(255, 202, 85, 0.5);
  background: rgba(22, 13, 3, 0.42);
}

.dia0-btn-secondary:hover,
.dia0-btn-secondary:focus {
  color: #ffffff;
  background: rgba(255, 202, 85, 0.18);
}

.dia0-hero-poster {
  height: 100%;
  min-height: 460px;
  padding: clamp(1rem, 3vw, 2rem);
  background: rgba(10, 6, 2, 0.42);
}

.dia0-hero-poster img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: 760px;
  object-fit: contain;
  object-position: center;
  margin: 0 auto;
  border-radius: 16px;
  border: 1px solid rgba(255, 202, 85, 0.42);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.36);
}

.dia0-panel {
  padding: 1.35rem;
}

.dia0-panel-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 1rem;
  border-radius: 999px;
  color: #1b1003;
  background: #ffca55;
}

.dia0-panel h2,
.dia0-rules h2 {
  font-size: 1.35rem;
}

.dia0-panel p {
  margin: 0.75rem 0 0;
}

.dia0-rules {
  padding: clamp(1.25rem, 3vw, 2rem);
}

.dia0-rule-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.2rem;
}

.dia0-rule {
  padding: 1rem;
  border: 1px solid rgba(255, 202, 85, 0.26);
  border-radius: 14px;
  background: rgba(22, 13, 3, 0.44);
}

.dia0-rule strong {
  display: block;
  margin-bottom: 0.4rem;
  color: #ffca55;
  font-weight: 900;
}

.dia0-final-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: clamp(1.25rem, 3vw, 2rem);
}

.scry-store-paused-cart-btn {
  cursor: pointer;
  opacity: 0.68;
}

.scry-store-paused-cart-btn:hover,
.scry-store-paused-cart-btn:focus {
  opacity: 0.82;
}

.scry-store-pause-modal__message {
  padding: 0.85rem 1rem;
  border: 1px solid rgba(63, 193, 178, 0.22);
  border-radius: 0.5rem;
  background: rgba(63, 193, 178, 0.08);
  color: inherit;
  line-height: 1.45;
}

.scry-store-pause-alert {
  border-color: rgba(245, 158, 11, 0.32);
}

.scry-store-pause-login-note {
  padding: 0.85rem 1rem;
  border: 1px solid rgba(63, 193, 178, 0.18);
  border-radius: 0.5rem;
  background: rgba(63, 193, 178, 0.06);
}

body[data-bs-theme="dark"] .dia0-hero,
body[data-bs-theme="dark"] .dia0-panel,
body[data-bs-theme="dark"] .dia0-rules,
body[data-bs-theme="dark"] .dia0-final-cta,
[data-bs-theme="dark"] .dia0-hero,
[data-bs-theme="dark"] .dia0-panel,
[data-bs-theme="dark"] .dia0-rules,
[data-bs-theme="dark"] .dia0-final-cta {
  border-color: rgba(255, 202, 85, 0.42);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.28);
}

@media (max-width: 991.98px) {
  .dia0-rule-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dia0-hero-poster {
    min-height: 0;
  }

  .dia0-hero-poster img {
    max-height: none;
  }
}

@media (max-width: 575.98px) {
  .scry-dia0-top-banner {
    gap: 0.5rem;
    padding: 0.42rem 0.6rem;
  }

  .scry-dia0-top-banner__badge,
  .scry-dia0-top-banner__cta {
    font-size: 0.68rem;
    padding: 0.34rem 0.5rem;
  }

  .scry-dia0-top-banner__copy {
    font-size: 0.78rem;
    line-height: 1.2;
  }

  .dia0-hero-copy {
    padding: 1.5rem;
  }

  .dia0-actions .btn,
  .dia0-final-cta .btn {
    width: 100%;
  }

  .dia0-rule-grid {
    grid-template-columns: 1fr;
  }

  .dia0-final-cta {
    align-items: stretch;
    flex-direction: column;
  }
}
/* Purchase offers */
.scry-purchase-offers-page {
  max-width: 1440px;
}

.scry-purchase-offers-guide {
  display: grid;
  grid-template-columns: minmax(0, 72ch) auto;
  justify-content: space-between;
  align-items: start;
  column-gap: 2rem;
  row-gap: 1rem;
  padding: 1rem 1.1rem;
}

.scry-purchase-offers-guide-copy {
  min-width: 0;
}

.scry-purchase-offers-guide-title {
  margin: 0 0 .35rem;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
}

.scry-purchase-offers-guide-text {
  margin: 0;
  font-size: 1rem;
  line-height: 1.55;
}

.scry-purchase-offers-guide-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: start;
  margin-top: .1rem;
  white-space: nowrap;
}

.scry-purchase-offers-empty-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  background: rgba(15, 118, 110, .1);
  color: #0f766e;
  font-size: 1.55rem;
}

.scry-purchase-offer-card {
  overflow: hidden;
}

.scry-purchase-offer-status {
  max-width: 100%;
  white-space: normal;
  text-align: left;
  line-height: 1.35;
}

.scry-purchase-offer-thumb {
  display: block;
  align-self: flex-start;
  width: 92px;
  flex: 0 0 92px;
  border-radius: 12px;
  overflow: hidden;
  background: var(--scry-surface-muted, #f3f4f6);
}

.scry-purchase-offer-thumb img {
  width: 100%;
  height: 128px;
  object-fit: cover;
  object-position: center;
  display: block;
}

.scry-purchase-offer-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .65rem;
}

.scry-purchase-offer-summary > div {
  padding: .7rem .8rem;
  border: 1px solid rgba(15, 23, 42, .08);
  border-radius: 10px;
  background: rgba(148, 163, 184, .08);
}

.scry-purchase-offer-summary span,
.scry-purchase-offer-summary strong {
  display: block;
}

.scry-purchase-offer-summary span {
  color: var(--bs-secondary-color, #6b7280);
  font-size: .75rem;
}

.scry-purchase-offer-summary strong {
  margin-top: .15rem;
}

.scry-purchase-offer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
}

.scry-purchase-offer-payment-note {
  display: flex;
  align-items: flex-start;
  gap: .55rem;
  max-width: 72ch;
  padding: .75rem .85rem;
  border: 1px solid rgba(3, 105, 161, .2);
  border-radius: 10px;
  background: rgba(14, 165, 233, .08);
  color: #075985;
  font-size: .875rem;
  line-height: 1.45;
}

.scry-purchase-offer-payment-note i {
  flex: 0 0 auto;
  margin-top: .15rem;
}

.scry-purchase-offer-counter-form {
  display: grid;
  grid-template-columns: minmax(150px, 1fr) minmax(110px, .45fr) auto;
  gap: .75rem;
  padding: .85rem;
  border: 1px solid rgba(15, 23, 42, .08);
  border-radius: 12px;
  background: rgba(148, 163, 184, .08);
}

.scry-purchase-offer-history {
  padding-left: 1.2rem;
  color: var(--bs-secondary-color, #6b7280);
  font-size: .86rem;
}

.scry-offer-trigger-row {
  display: flex;
  gap: .55rem;
  margin-top: .6rem;
}

.scry-offer-trigger-row .btn {
  flex: 1 1 auto;
}

.scry-checkout-offer-badge {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  margin-top: .35rem;
  color: #0f766e;
  font-size: .8rem;
  font-weight: 700;
}

@media (max-width: 991.98px) {
  .scry-purchase-offers-guide {
    grid-template-columns: minmax(0, 1fr);
  }

  .scry-purchase-offers-guide-action {
    width: 100%;
    white-space: normal;
  }
}

@media (max-width: 767.98px) {
  .scry-purchase-offer-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .scry-purchase-offer-counter-form {
    grid-template-columns: 1fr;
  }

  .scry-purchase-offer-thumb {
    width: 74px;
    flex-basis: 74px;
  }

  .scry-purchase-offer-thumb img {
    height: 104px;
  }
}

/* Public deck detail V2 */
.scry-public-page-anchor {
  scroll-margin-top: var(--scry-floating-store-bottom, 184px);
}

.deck-v2-hero {
  position: relative;
  min-height: 220px;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, .1);
  border-radius: 18px;
  color: #fff;
  background: linear-gradient(135deg, #102032 0%, #176676 100%);
  box-shadow: 0 18px 42px rgba(15, 23, 42, .14);
}

.deck-v2-hero-cover,
.deck-v2-hero-overlay {
  position: absolute;
  inset: 0;
}

.deck-v2-hero-cover {
  display: block;
  width: 100%;
  height: 100%;
  opacity: .46;
  object-fit: cover;
  object-position: center 28%;
  transform: scale(1.02);
}

.deck-v2-hero-overlay {
  background:
    linear-gradient(90deg, rgba(5, 13, 24, .92) 0%, rgba(5, 13, 24, .7) 52%, rgba(5, 13, 24, .32) 100%),
    linear-gradient(0deg, rgba(5, 13, 24, .35), rgba(5, 13, 24, 0));
}

.deck-v2-hero-content {
  position: relative;
  z-index: 1;
  max-width: 780px;
  padding: 1.6rem 1.75rem;
}

.deck-v2-kicker,
.deck-v2-description-label,
.deck-v2-price-label,
.deck-v2-featured-label {
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.deck-v2-kicker,
.deck-v2-description-label {
  color: rgba(255, 255, 255, .72);
}

.deck-v2-title {
  margin: .25rem 0 0;
  color: #fff;
  font-size: clamp(1.9rem, 4vw, 3rem);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -.04em;
  text-wrap: balance;
}

.deck-v2-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .45rem;
  margin-top: .9rem;
}

.deck-v2-meta-pill {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: .32rem .68rem;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 999px;
  color: rgba(255, 255, 255, .92);
  background: rgba(255, 255, 255, .1);
  font-size: .78rem;
  font-weight: 750;
  backdrop-filter: blur(7px);
}

.deck-v2-mana {
  gap: .25rem;
}

.deck-v2-mana-symbol {
  display: inline-flex;
  width: 20px;
  height: 20px;
  overflow: hidden;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, .94);
}

.deck-v2-mana-symbol img {
  display: block;
  width: 19px;
  height: 19px;
  object-fit: contain;
}

.deck-v2-description {
  max-width: 680px;
  margin-top: .9rem;
  padding: .75rem .85rem;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 12px;
  color: rgba(255, 255, 255, .9);
  background: rgba(5, 13, 24, .34);
  font-size: .88rem;
  line-height: 1.45;
  backdrop-filter: blur(7px);
}

.deck-v2-description-label {
  margin-bottom: .22rem;
}

.deck-v2-layout {
  display: grid;
  grid-template-columns: minmax(220px, 255px) minmax(0, 1fr);
  align-items: start;
  gap: 1.15rem;
}

.deck-v2-purchase-column {
  position: sticky;
  top: 88px;
  transition: top .16s ease;
}

body.has-scry-floating-store .deck-v2-purchase-column {
  top: var(--scry-floating-store-bottom, 184px);
}

.deck-v2-purchase-card,
.deck-v2-content {
  border: 1px solid rgba(15, 23, 42, .09);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(15, 23, 42, .08);
}

.deck-v2-purchase-card {
  padding: 1rem;
}

.deck-v2-featured-card {
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(15, 23, 42, .08);
}

.deck-v2-featured-label,
.deck-v2-price-label {
  color: #64748b;
}

.deck-v2-featured-card img {
  display: block;
  width: min(100%, 190px);
  height: auto;
  margin: .55rem auto 0;
  border-radius: 9px;
  background: #eef2f6;
  box-shadow: 0 10px 24px rgba(15, 23, 42, .18);
}

.deck-v2-featured-name {
  margin-top: .65rem;
  overflow: hidden;
  color: #0f172a;
  font-size: .84rem;
  font-weight: 800;
  line-height: 1.25;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.deck-v2-price {
  margin-top: .1rem;
  color: #0f172a;
  font-size: 2rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.045em;
}

.deck-v2-price-compare {
  display: flex;
  justify-content: space-between;
  gap: .75rem;
  margin-top: .7rem;
  color: #64748b;
  font-size: .8rem;
}

.deck-v2-price-compare span:last-child {
  text-decoration: line-through;
}

.deck-v2-savings {
  display: inline-flex;
  margin-top: .45rem;
  padding: .3rem .58rem;
  border-radius: 8px;
  color: #0f766e;
  background: #ccfbf1;
  font-size: .78rem;
  font-weight: 850;
}

.deck-v2-purchase-copy {
  margin: .9rem 0;
  color: #475569;
  font-size: .78rem;
  line-height: 1.45;
}

.deck-v2-cart-button {
  width: 100%;
  min-height: 46px;
  border-color: #35bfb1;
  border-radius: 11px;
  color: #fff;
  background: #35bfb1;
  font-weight: 850;
  box-shadow: 0 10px 22px rgba(53, 191, 177, .2);
}

.deck-v2-cart-button:hover,
.deck-v2-cart-button:focus-visible {
  border-color: #249f94;
  color: #fff;
  background: #249f94;
}

.deck-v2-unavailable {
  margin-top: .65rem;
  color: #64748b;
  font-size: .75rem;
  line-height: 1.4;
}

.deck-v2-content {
  min-width: 0;
  padding: 1rem;
}

.deck-v2-content-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: .9rem;
}

.deck-v2-content-heading h2 {
  margin: 0;
  color: #0f172a;
  font-size: 1.18rem;
  font-weight: 900;
  letter-spacing: -.02em;
}

.deck-v2-content-heading p {
  margin: .22rem 0 0;
  color: #64748b;
  font-size: .8rem;
}

.deck-v2-results {
  flex: 0 0 auto;
  color: #475569;
  font-size: .78rem;
  font-weight: 750;
}

.deck-v2-toolbar {
  margin-bottom: 1rem;
  padding: .8rem;
  border: 1px solid rgba(15, 23, 42, .09);
  border-radius: 13px;
  background: #f8fafc;
}

.deck-v2-primary-controls,
.deck-v2-advanced {
  display: grid;
  grid-template-columns: minmax(180px, 1.55fr) repeat(3, minmax(126px, .72fr)) auto;
  align-items: end;
  gap: .55rem;
}

.deck-v2-advanced {
  grid-template-columns: repeat(6, minmax(104px, 1fr)) auto;
  margin-top: .75rem;
  padding-top: .75rem;
  border-top: 1px solid rgba(15, 23, 42, .08);
}

.deck-v2-control {
  min-width: 0;
}

.deck-v2-control label {
  display: block;
  margin-bottom: .24rem;
  color: #475569;
  font-size: .69rem;
  font-weight: 800;
  letter-spacing: .02em;
}

.deck-v2-control .form-control,
.deck-v2-control .form-select {
  min-height: 38px;
  border-color: #d8e0e8;
  border-radius: 9px;
  color: #1e293b;
  background-color: #fff;
  font-size: .8rem;
}

.deck-v2-control .form-control:focus,
.deck-v2-control .form-select:focus,
.deck-v2-filter-toggle:focus-visible,
.deck-v2-active-chip:focus-visible {
  border-color: #35bfb1;
  box-shadow: 0 0 0 3px rgba(53, 191, 177, .18);
  outline: 0;
}

.deck-v2-filter-toggle {
  position: relative;
  min-height: 38px;
  border-radius: 9px;
  font-size: .8rem;
  font-weight: 800;
}

.deck-v2-filter-count {
  display: inline-flex;
  min-width: 18px;
  min-height: 18px;
  align-items: center;
  justify-content: center;
  margin-left: .2rem;
  padding: 0 .28rem;
  border-radius: 999px;
  color: #fff;
  background: #0f766e;
  font-size: .66rem;
}

.deck-v2-clear-filters {
  align-self: end;
  min-height: 38px;
  border-radius: 9px;
  white-space: nowrap;
}

.deck-v2-active-filters {
  display: flex;
  flex-wrap: wrap;
  gap: .38rem;
  margin-top: .65rem;
}

.deck-v2-active-chip {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  gap: .35rem;
  padding: .25rem .58rem;
  border: 1px solid rgba(15, 118, 110, .2);
  border-radius: 999px;
  color: #0f766e;
  background: rgba(204, 251, 241, .7);
  font-size: .72rem;
  font-weight: 750;
  cursor: pointer;
  transition: border-color .18s ease, background-color .18s ease;
}

.deck-v2-active-chip:hover {
  border-color: rgba(15, 118, 110, .38);
  background: #ccfbf1;
}

.deck-v2-active-chip span[aria-hidden="true"] {
  font-size: .92rem;
  line-height: 1;
}

.deck-v2-groups {
  min-width: 0;
}

.deck-v2-group {
  min-width: 0;
  padding: .7rem;
  border: 1px solid rgba(15, 23, 42, .08);
  border-radius: 13px;
  background: #f8fafc;
}

.deck-v2-group-heading {
  display: flex;
  min-height: 34px;
  align-items: baseline;
  justify-content: space-between;
  gap: .6rem;
  margin-bottom: .55rem;
  padding: 0 .08rem;
}

.deck-v2-group-heading h3 {
  margin: 0;
  color: #0f172a;
  font-size: .88rem;
  font-weight: 900;
  letter-spacing: -.01em;
}

.deck-v2-group-heading span {
  flex: 0 0 auto;
  color: #64748b;
  font-size: .69rem;
  font-weight: 700;
}

.deck-v2-card {
  min-width: 0;
}

.deck-v2-card-inner {
  height: 100%;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, .1);
  border-radius: 11px;
  background: #fff;
  box-shadow: 0 7px 18px rgba(15, 23, 42, .08);
}

.deck-v2-card-image-wrap {
  position: relative;
  overflow: hidden;
  padding: .34rem .34rem 0;
}

.deck-v2-card-image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
  background: #e9eef4;
  object-fit: cover;
  object-position: center;
}

.deck-v2-card-qty {
  position: absolute;
  top: .65rem;
  right: .65rem;
  display: inline-flex;
  min-width: 30px;
  min-height: 24px;
  align-items: center;
  justify-content: center;
  padding: .15rem .42rem;
  border-radius: 999px;
  color: #fff;
  background: rgba(3, 10, 20, .88);
  font-size: .7rem;
  font-weight: 850;
  box-shadow: 0 5px 14px rgba(0, 0, 0, .22);
}

.deck-v2-stack-meta {
  position: absolute;
  right: .62rem;
  bottom: .36rem;
  left: .62rem;
  display: flex;
  flex-wrap: wrap;
  gap: .25rem;
  justify-content: center;
  padding: .35rem;
  border-radius: 7px;
  color: #fff;
  background: rgba(3, 10, 20, .82);
  font-size: .58rem;
  font-weight: 750;
  opacity: 0;
  transform: translateY(5px);
  transition: opacity .18s ease, transform .18s ease;
  backdrop-filter: blur(5px);
}

.deck-v2-card-body {
  padding: .55rem .62rem .65rem;
}

.deck-v2-card-title {
  overflow: hidden;
  color: #172033;
  font-size: .78rem;
  font-weight: 850;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.deck-v2-card-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .22rem .38rem;
  margin-top: .3rem;
  color: #64748b;
  font-size: .65rem;
  line-height: 1.25;
}

.deck-v2-card-flag {
  display: block;
  width: 15px;
  height: auto;
  border-radius: 2px;
}

.deck-v2-card-price {
  margin-top: .38rem;
  color: #334155;
  font-size: .72rem;
  font-weight: 850;
}

.deck-v2-empty {
  padding: 2.5rem 1rem;
  border: 1px dashed rgba(15, 23, 42, .16);
  border-radius: 13px;
  color: #64748b;
  text-align: center;
  background: #f8fafc;
}

.deck-v2-card-preview {
  position: fixed;
  z-index: 1080;
  overflow: hidden;
  max-width: calc(100vw - 28px);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 14px;
  background: #0b111b;
  box-shadow: 0 18px 50px rgba(0, 0, 0, .32);
  pointer-events: none;
}

.deck-v2-card-preview img {
  display: block;
  width: 100%;
  height: auto;
}

.deck-v21-tools {
  margin-top: 1rem;
  padding: 1rem;
  border: 1px solid rgba(15, 23, 42, .09);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(15, 23, 42, .08);
}

.deck-v21-heading,
.deck-v21-hand-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.deck-v21-kicker {
  margin-bottom: .18rem;
  color: #0f766e;
  font-size: .64rem;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.deck-v21-heading h2,
.deck-v21-card h3 {
  margin: 0;
  color: #0f172a;
  font-weight: 900;
  letter-spacing: -.02em;
}

.deck-v21-heading h2 {
  font-size: 1.18rem;
}

.deck-v21-card h3 {
  font-size: .92rem;
}

.deck-v21-heading p,
.deck-v21-hand-heading p {
  margin: .25rem 0 0;
  color: #64748b;
  font-size: .76rem;
  line-height: 1.4;
}

.deck-v21-list-actions {
  display: flex;
  flex: 0 0 auto;
  gap: .45rem;
}

.deck-v21-list-actions .btn,
.deck-v21-hand-heading .btn {
  min-height: 36px;
  border-radius: 9px;
  font-size: .75rem;
  font-weight: 800;
}

.deck-v21-action-status {
  min-height: 1.15rem;
  margin-top: .25rem;
  color: #0f766e;
  font-size: .72rem;
  font-weight: 750;
  text-align: right;
}

.deck-v21-summary-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: .55rem;
  margin-top: .7rem;
}

.deck-v21-summary-strip > div {
  min-width: 0;
  padding: .7rem;
  border: 1px solid rgba(15, 23, 42, .08);
  border-radius: 11px;
  background: #f8fafc;
}

.deck-v21-summary-strip span,
.deck-v21-summary-strip strong {
  display: block;
}

.deck-v21-summary-strip span {
  overflow: hidden;
  color: #64748b;
  font-size: .66rem;
  font-weight: 750;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.deck-v21-summary-strip strong {
  margin-top: .18rem;
  color: #0f172a;
  font-size: 1.2rem;
  font-weight: 900;
  line-height: 1;
}

.deck-v21-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .7rem;
  margin-top: .7rem;
}

.deck-v21-card {
  min-width: 0;
  padding: .85rem;
  border: 1px solid rgba(15, 23, 42, .08);
  border-radius: 13px;
  background: #f8fafc;
}

.deck-v21-bars {
  display: grid;
  gap: .55rem;
  margin-top: .75rem;
}

.deck-v21-bar-row > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: .6rem;
  margin-bottom: .25rem;
  color: #475569;
  font-size: .7rem;
  font-weight: 750;
}

.deck-v21-bar-row strong {
  color: #0f172a;
}

.deck-v21-bar {
  display: block;
  height: 7px;
  overflow: hidden;
  border-radius: 999px;
  background: #e2e8f0;
}

.deck-v21-bar > span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #35bfb1, #0f766e);
}

.deck-v21-color-bars .deck-v21-bar[data-identity="W"] > span { background: #d6b95d; }
.deck-v21-color-bars .deck-v21-bar[data-identity="U"] > span { background: #3b82f6; }
.deck-v21-color-bars .deck-v21-bar[data-identity="B"] > span { background: #64748b; }
.deck-v21-color-bars .deck-v21-bar[data-identity="R"] > span { background: #ef4444; }
.deck-v21-color-bars .deck-v21-bar[data-identity="G"] > span { background: #22a06b; }
.deck-v21-color-bars .deck-v21-bar[data-identity="C"] > span { background: #a8a29e; }

.deck-v21-hand-card {
  grid-column: 1 / -1;
}

.deck-v21-hand-heading {
  align-items: center;
}

.deck-v21-hand {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: .55rem;
  margin-top: .8rem;
}

.deck-v21-hand figure {
  min-width: 0;
  margin: 0;
}

.deck-v21-hand-image {
  display: flex;
  aspect-ratio: 5 / 7;
  overflow: hidden;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(15, 23, 42, .12);
  border-radius: 9px;
  color: #64748b;
  background: #e9eef4;
  font-size: .68rem;
  box-shadow: 0 7px 18px rgba(15, 23, 42, .12);
}

.deck-v21-hand-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.deck-v21-hand figcaption {
  overflow: hidden;
  margin-top: .3rem;
  color: #334155;
  font-size: .62rem;
  font-weight: 750;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (hover: hover) and (pointer: fine) {
  .deck-v21-hand figure[data-preview-img] .deck-v21-hand-image {
    cursor: zoom-in;
  }
}

.deck-v21-hand-status {
  min-height: 1.1rem;
  margin-top: .65rem;
  color: #64748b;
  font-size: .72rem;
  text-align: center;
}

/* Visual stacks */
.deck-v2-content[data-view="stacks"] .deck-v2-groups {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(176px, 1fr));
  align-items: start;
  gap: .6rem;
}

.deck-v2-content[data-view="stacks"] .deck-v2-group.is-large {
  grid-column: span 2;
}

.deck-v2-content[data-view="stacks"] .deck-v2-group.is-ungrouped {
  grid-column: 1 / -1;
}

.deck-v2-content[data-view="stacks"] .deck-v2-group-cards {
  display: grid;
  grid-template-columns: repeat(var(--deck-stack-columns, 1), minmax(0, 1fr));
  gap: .5rem;
}

.deck-v2-content[data-view="stacks"] .deck-v2-stack-column {
  min-width: 0;
}

.deck-v2-content[data-view="stacks"] .deck-v2-card {
  position: relative;
  transition: transform .2s ease;
}

.deck-v2-content[data-view="stacks"] .deck-v2-card + .deck-v2-card {
  margin-top: -115%;
}

.deck-v2-content[data-view="stacks"] .deck-v2-card:hover {
  z-index: 40;
  transform: translateY(-7px);
}

.deck-v2-content[data-view="stacks"] .deck-v2-card:hover .deck-v2-stack-meta {
  opacity: 1;
  transform: translateY(0);
}

.deck-v2-content[data-view="stacks"] .deck-v2-card-body {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  margin: -1px !important;
  padding: 0 !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
}

.deck-v2-content[data-view="stacks"] .deck-v2-card-inner {
  overflow: visible;
  border: 0;
  background: transparent;
  box-shadow: 0 7px 18px rgba(15, 23, 42, .12);
}

.deck-v2-content[data-view="stacks"] .deck-v2-card-image-wrap {
  overflow: visible;
  padding: 0;
}

.deck-v2-content[data-view="stacks"] .deck-v2-card-image {
  border: 1px solid rgba(15, 23, 42, .16);
  border-radius: 9px;
}

/* Grid */
.deck-v2-content[data-view="grid"] .deck-v2-groups,
.deck-v2-content[data-view="list"] .deck-v2-groups {
  display: grid;
  gap: .8rem;
}

.deck-v2-content[data-view="grid"] .deck-v2-group-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: .65rem;
}

.deck-v2-content[data-view="grid"] .deck-v2-stack-column,
.deck-v2-content[data-view="list"] .deck-v2-stack-column {
  display: contents;
}

.deck-v2-content[data-view="grid"] .deck-v2-stack-meta,
.deck-v2-content[data-view="list"] .deck-v2-stack-meta {
  display: none;
}

/* Compact list */
.deck-v2-content[data-view="list"] .deck-v2-group-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .45rem;
}

.deck-v2-content[data-view="list"] .deck-v2-card-inner {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  align-items: center;
  min-height: 82px;
}

.deck-v2-content[data-view="list"] .deck-v2-card-image-wrap {
  height: 82px;
  padding: .28rem 0 .28rem .28rem;
}

.deck-v2-content[data-view="list"] .deck-v2-card-image {
  width: 54px;
  height: 75px;
  border-radius: 6px;
  object-fit: cover;
  object-position: top center;
}

.deck-v2-content[data-view="list"] .deck-v2-card-qty {
  top: .42rem;
  right: .1rem;
  min-width: 24px;
  min-height: 20px;
  font-size: .62rem;
}

.deck-v2-mobile-cart {
  display: none;
}

@media (max-width: 1199.98px) {
  .deck-v2-primary-controls {
    grid-template-columns: minmax(190px, 1.4fr) repeat(3, minmax(118px, 1fr));
  }

  .deck-v2-filter-toggle {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .deck-v2-advanced {
    grid-template-columns: repeat(3, minmax(120px, 1fr));
  }

  .deck-v2-clear-filters {
    justify-self: start;
  }
}

@media (max-width: 991.98px) {
  .deck-v2-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .deck-v2-purchase-column {
    position: static;
  }

  .deck-v2-purchase-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: .4rem 1rem;
  }

  .deck-v2-featured-card {
    display: none;
  }

  .deck-v2-price-label,
  .deck-v2-price,
  .deck-v2-price-compare,
  .deck-v2-savings,
  .deck-v2-purchase-copy,
  .deck-v2-unavailable {
    grid-column: 1;
  }

  .deck-v2-cart-button {
    grid-column: 2;
    grid-row: 1 / span 6;
    min-width: 190px;
  }

  .deck-v21-hand {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 767.98px) {
  body.has-deck-v2-mobile-cart {
    padding-bottom: 76px;
  }

  .deck-v2-hero {
    min-height: 0;
    border-radius: 14px;
  }

  .deck-v2-hero-content {
    padding: 1.2rem;
  }

  .deck-v2-title {
    font-size: 1.85rem;
  }

  .deck-v2-description {
    max-height: 126px;
    overflow: auto;
  }

  .deck-v2-purchase-card {
    display: block;
    padding: .85rem;
  }

  .deck-v2-purchase-card .deck-v2-cart-button {
    display: none;
  }

  .deck-v2-price {
    font-size: 1.65rem;
  }

  .deck-v2-purchase-copy {
    margin-bottom: 0;
  }

  .deck-v2-content {
    padding: .75rem;
    border-radius: 14px;
  }

  .deck-v2-content-heading {
    display: block;
  }

  .deck-v2-results {
    margin-top: .35rem;
  }

  .deck-v2-primary-controls {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .deck-v2-search-control,
  .deck-v2-filter-toggle {
    grid-column: 1 / -1;
  }

  .deck-v2-filter-toggle {
    width: 100%;
  }

  .deck-v2-advanced {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .deck-v2-clear-filters {
    grid-column: 1 / -1;
    width: 100%;
  }

  .deck-v2-content[data-view="stacks"] .deck-v2-groups {
    grid-template-columns: minmax(0, 1fr);
  }

  .deck-v2-content[data-view="stacks"] .deck-v2-group.is-large,
  .deck-v2-content[data-view="stacks"] .deck-v2-group.is-ungrouped {
    grid-column: auto;
  }

  .deck-v2-content[data-view="stacks"] .deck-v2-group-cards {
    grid-template-columns: minmax(0, 1fr);
  }

  .deck-v2-content[data-view="stacks"] .deck-v2-group.is-large .deck-v2-group-cards,
  .deck-v2-content[data-view="stacks"] .deck-v2-group.is-ungrouped .deck-v2-group-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .deck-v2-content[data-view="grid"] .deck-v2-group-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .5rem;
  }

  .deck-v2-content[data-view="list"] .deck-v2-group-cards {
    grid-template-columns: minmax(0, 1fr);
  }

  .deck-v2-group {
    padding: .6rem;
  }

  .deck-v2-card-title {
    font-size: .72rem;
  }

  .deck-v2-card-meta {
    font-size: .59rem;
  }

  .deck-v21-tools {
    padding: .75rem;
    border-radius: 14px;
  }

  .deck-v21-heading,
  .deck-v21-hand-heading {
    display: block;
  }

  .deck-v21-list-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: .7rem;
  }

  .deck-v21-list-actions .btn,
  .deck-v21-hand-heading .btn {
    width: 100%;
  }

  .deck-v21-action-status {
    text-align: left;
  }

  .deck-v21-summary-strip,
  .deck-v21-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .deck-v21-card,
  .deck-v21-hand-card {
    grid-column: 1 / -1;
  }

  .deck-v21-hand-heading .btn {
    margin-top: .7rem;
  }

  .deck-v21-hand {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .deck-v2-mobile-cart {
    position: fixed;
    z-index: 1040;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    padding: .65rem max(.8rem, env(safe-area-inset-right)) calc(.65rem + env(safe-area-inset-bottom)) max(.8rem, env(safe-area-inset-left));
    border-top: 1px solid rgba(15, 23, 42, .12);
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 -10px 30px rgba(15, 23, 42, .14);
    backdrop-filter: blur(12px);
  }

  .deck-v2-mobile-cart > div {
    min-width: 0;
  }

  .deck-v2-mobile-cart span {
    display: block;
    color: #64748b;
    font-size: .62rem;
    font-weight: 700;
  }

  .deck-v2-mobile-cart strong {
    display: block;
    overflow: hidden;
    color: #0f172a;
    font-size: 1.05rem;
    line-height: 1.1;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .deck-v2-mobile-cart .btn {
    flex: 0 0 auto;
    min-height: 42px;
    border-color: #35bfb1;
    border-radius: 10px;
    color: #fff;
    background: #35bfb1;
    font-size: .78rem;
    font-weight: 850;
  }
}

@media (max-width: 399.98px) {
  .deck-v2-primary-controls,
  .deck-v2-advanced {
    grid-template-columns: minmax(0, 1fr);
  }

  .deck-v2-search-control,
  .deck-v2-filter-toggle,
  .deck-v2-clear-filters {
    grid-column: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .deck-v2-card,
  .deck-v2-stack-meta,
  .deck-v2-active-chip {
    transition: none !important;
  }
}

/* Public store folder v2 */
.folder-v2-hero {
  position: relative;
  min-height: 230px;
  margin: 1rem 0 1.25rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 18px;
  color: #fff;
  background: #0f172a;
  box-shadow: 0 18px 42px rgba(15, 23, 42, .18);
}

.folder-v2-hero__media,
.folder-v2-hero__overlay {
  position: absolute;
  inset: 0;
}

.folder-v2-hero__media {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 34%;
  transform: scale(1.015);
}

.folder-v2-hero__overlay {
  background:
    linear-gradient(90deg, rgba(4, 13, 27, .96) 0%, rgba(4, 13, 27, .84) 48%, rgba(4, 13, 27, .42) 100%),
    linear-gradient(0deg, rgba(4, 13, 27, .48), rgba(4, 13, 27, .08));
}

.folder-v2-hero__content {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 230px;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.25rem 1.4rem 1.4rem;
}

.folder-v2-hero__topline,
.folder-v2-hero__main,
.folder-v2-hero__meta,
.folder-v2-hero__back,
.folder-v2-hero__colors > div {
  display: flex;
  align-items: center;
}

.folder-v2-hero__topline,
.folder-v2-hero__main {
  justify-content: space-between;
  gap: 1rem;
}

.folder-v2-hero__kicker,
.folder-v2-list-heading__kicker {
  color: #5eead4;
  font-size: .72rem;
  font-weight: 850;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.folder-v2-hero__back {
  gap: .45rem;
  border-radius: 999px;
  color: rgba(255, 255, 255, .88);
  font-size: .82rem;
  font-weight: 750;
  text-decoration: none;
  transition: color .18s ease, background-color .18s ease;
}

.folder-v2-hero__back:hover,
.folder-v2-hero__back:focus-visible {
  color: #fff;
  text-decoration: none;
}

.folder-v2-hero__back:focus-visible,
.folder-v2-view-button:focus-visible {
  outline: 3px solid rgba(94, 234, 212, .34);
  outline-offset: 3px;
}

.folder-v2-hero__title {
  max-width: 760px;
  margin: 0 0 .75rem;
  color: #fff;
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  font-weight: 900;
  letter-spacing: -.035em;
  line-height: 1.02;
  text-wrap: balance;
}

.folder-v2-hero__meta {
  flex-wrap: wrap;
  gap: .45rem;
}

.folder-v2-hero__pill {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  min-height: 30px;
  padding: .35rem .7rem;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 999px;
  color: rgba(255, 255, 255, .9);
  background: rgba(15, 23, 42, .42);
  font-size: .78rem;
  font-weight: 700;
  backdrop-filter: blur(8px);
}

.folder-v2-hero__colors {
  flex: 0 0 auto;
  min-width: 170px;
  padding: .8rem .9rem;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 14px;
  background: rgba(15, 23, 42, .48);
  backdrop-filter: blur(8px);
}

.folder-v2-hero__colors > span {
  display: block;
  margin-bottom: .5rem;
  color: rgba(255, 255, 255, .7);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.folder-v2-hero__colors > div {
  gap: .35rem;
}

.folder-v2-hero__mana {
  display: inline-grid;
  width: 29px;
  height: 29px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 50%;
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 4px 10px rgba(2, 6, 23, .24);
}

.folder-v2-hero__mana img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.folder-v2-list-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: .8rem;
}

.folder-v2-list-heading__kicker {
  color: var(--scry-accent-primary-strong, #0f9b96);
}

.folder-v2-list-heading h2 {
  margin: .1rem 0 .15rem;
  color: var(--scry-text-primary, #1f2937);
  font-size: 1.35rem;
  font-weight: 850;
  letter-spacing: -.02em;
}

.folder-v2-list-heading p {
  margin: 0;
  color: var(--scry-text-secondary, #5f6c7b);
  font-size: .84rem;
}

.folder-v2-view-switch {
  display: inline-flex;
  align-items: center;
  gap: .25rem;
  padding: .25rem;
  border: 1px solid var(--scry-border-default, rgba(17, 24, 39, .08));
  border-radius: 12px;
  background: var(--scry-surface-1, #fbfcfd);
  box-shadow: var(--scry-shadow-sm, 0 8px 24px rgba(17, 24, 39, .04));
}

.folder-v2-view-button {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  gap: .38rem;
  padding: .38rem .7rem;
  border: 1px solid transparent;
  border-radius: 9px;
  color: var(--scry-text-secondary, #5f6c7b);
  background: transparent;
  font-size: .78rem;
  font-weight: 750;
  cursor: pointer;
  transition: color .18s ease, border-color .18s ease, background-color .18s ease, box-shadow .18s ease;
}

.folder-v2-view-button:hover {
  color: var(--scry-text-primary, #1f2937);
  background: var(--scry-surface-2, #f7fffd);
}

.folder-v2-view-button.is-active {
  border-color: var(--scry-border-strong, rgba(63, 193, 178, .28));
  color: var(--scry-accent-primary-strong, #0f9b96);
  background: var(--scry-accent-primary-soft, #e8fdfb);
  box-shadow: inset 0 0 0 1px rgba(63, 193, 178, .08);
}

.folder-v3-content-heading {
  align-items: flex-end;
  margin-bottom: .9rem;
}

.folder-v3-content-heading h2 {
  margin-top: 0;
  font-size: 1.18rem;
  font-weight: 900;
}

.folder-v3-results {
  flex: 0 0 auto;
  color: var(--scry-text-secondary, #5f6c7b);
  font-size: .78rem;
  font-weight: 750;
}

.store-filters-toolbar .toolbar-select.toolbar-subtypes { flex-basis: 180px; min-width: 180px; position: relative; }
@media (min-width: 992px) {
  #storeFiltersToolbar:not(.folder-v3-toolbar) .toolbar-row {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.5rem;
  }
  #storeFiltersToolbar:not(.folder-v3-toolbar) .toolbar-row > .toolbar-search,
  #storeFiltersToolbar:not(.folder-v3-toolbar) .toolbar-row > .toolbar-select {
    width: 100%; min-width: 0; max-width: none;
  }
}
@media (min-width: 1200px) {
  #storeFiltersToolbar:not(.folder-v3-toolbar) .toolbar-row {
    grid-template-columns: minmax(180px, 1.5fr) minmax(125px, 1fr) minmax(100px, .85fr) minmax(160px, 1.2fr) repeat(3, minmax(95px, .8fr)) minmax(70px, .6fr);
  }
}
.store-filters-toolbar .store-subtype-picker > summary {
  display: flex; align-items: center; min-height: 31px; padding: 0.3rem 1.8rem 0.3rem 0.6rem;
  border: 1px solid var(--scry-border-default); border-radius: 0.45rem;
  background: var(--scry-surface-1); color: var(--scry-text-primary);
  font-size: 0.88rem; line-height: 1.2; list-style: none; cursor: pointer; position: relative;
}
.store-filters-toolbar .store-subtype-picker > summary::-webkit-details-marker { display: none; }
.store-filters-toolbar .store-subtype-picker > summary::after {
  content: ''; position: absolute; right: 0.7rem; width: 0.45rem; height: 0.45rem;
  border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg);
}
.store-filters-toolbar .store-subtype-picker > summary:focus-visible { outline: 2px solid var(--scry-accent-primary-strong); outline-offset: 2px; }
.store-filters-toolbar .store-subtype-menu {
  position: absolute; z-index: 30; top: 100%; left: 0; width: min(320px, 85vw);
  padding: 0.8rem; border: 1px solid var(--scry-border-default); border-radius: var(--scry-radius-sm);
  background: var(--scry-surface-1); color: var(--scry-text-primary); box-shadow: var(--scry-shadow-md);
}
.store-filters-toolbar .store-subtype-options { max-height: 205px; overflow-y: auto; margin: 0.5rem 0; }
.store-filters-toolbar .store-subtype-options label { display: flex; align-items: center; gap: 0.55rem; padding: 0.4rem; cursor: pointer; }
.store-filters-toolbar .store-subtype-options label[hidden] { display: none; }
.store-filters-toolbar .store-subtype-options .form-check-input { margin: 0; flex: 0 0 auto; }
.store-filters-toolbar .store-subtype-status { min-height: 1.25rem; margin: 0.25rem 0; color: var(--scry-text-secondary); font-size: 0.78rem; }
@media (max-width: 991.98px) {
  .store-filters-toolbar .toolbar-select.toolbar-subtypes { min-width: 100%; flex-basis: 100%; }
  .store-filters-toolbar .store-subtype-menu { position: static; width: 100%; margin-top: 0.4rem; box-shadow: none; }
  .store-filters-toolbar .store-subtype-picker > summary { min-height: 44px; }
  .store-filter-mobile-modal .store-filters-toolbar .toolbar-subtypes { grid-column: 1 / -1; }
}

.store-filters-toolbar.folder-v3-toolbar {
  margin-bottom: 1rem !important;
  padding: .8rem !important;
  border-color: var(--scry-border-default, rgba(15, 23, 42, .09)) !important;
  border-radius: 13px !important;
  background: var(--scry-surface-1, #f8fafc) !important;
  box-shadow: none !important;
}

.store-filters-toolbar.folder-v3-toolbar .toolbar-row {
  display: grid;
  grid-template-columns: minmax(220px, 1.55fr) repeat(3, minmax(142px, .72fr)) auto;
  align-items: end;
  gap: .55rem;
}

.store-filters-toolbar.folder-v3-toolbar .toolbar-search,
.store-filters-toolbar.folder-v3-toolbar .folder-v3-primary-control,
.store-filters-toolbar.folder-v3-toolbar .toolbar-select {
  min-width: 0;
  max-width: none;
  flex: none;
  flex-basis: auto;
}

.store-filters-toolbar.folder-v3-toolbar .filter-label {
  margin-bottom: .24rem;
  color: var(--scry-text-secondary, #475569);
  font-size: .69rem;
  font-weight: 800;
  letter-spacing: .02em;
}

.store-filters-toolbar.folder-v3-toolbar .toolbar-input,
.store-filters-toolbar.folder-v3-toolbar .toolbar-select-control {
  min-height: 38px;
  border-color: var(--scry-border-default, #d8e0e8);
  border-radius: 9px;
  color: var(--scry-text-primary, #1e293b);
  background-color: var(--scry-surface-0, #fff);
  box-shadow: none;
  font-size: .8rem;
}

.store-filters-toolbar.folder-v3-toolbar .toolbar-input:focus,
.store-filters-toolbar.folder-v3-toolbar .toolbar-select-control:focus,
.folder-v3-filter-toggle:focus-visible {
  border-color: var(--scry-accent-primary, #35bfb1);
  box-shadow: 0 0 0 3px rgba(53, 191, 177, .18);
  outline: 0;
}

.folder-v3-filter-toggle {
  position: relative;
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  gap: .38rem;
  border-radius: 9px;
  font-size: .8rem;
  font-weight: 800;
  white-space: nowrap;
}

.folder-v3-filter-count {
  display: inline-flex;
  min-width: 18px;
  min-height: 18px;
  align-items: center;
  justify-content: center;
  padding: 0 .28rem;
  border-radius: 999px;
  color: #fff;
  background: #0f766e;
  font-size: .66rem;
}

.folder-v3-filter-count[hidden],
.folder-v3-advanced-grid[hidden] {
  display: none !important;
}

.folder-v3-advanced-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(104px, 1fr));
  align-items: end;
  gap: .55rem;
  margin-top: .75rem;
  padding-top: .75rem;
  border-top: 1px solid var(--scry-border-default, rgba(15, 23, 42, .08));
}

.folder-v3-advanced-grid .toolbar-meta-row,
.folder-v3-advanced-grid > .mt-1.pt-2 {
  grid-column: 1 / -1;
}

.folder-v3-advanced-grid .toolbar-meta-row {
  margin-top: .1rem;
}

.folder-v3-advanced-grid > .mt-1.pt-2 {
  margin-top: 0 !important;
}

#container-cartas.folder-v2-cards {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1rem;
  margin-right: 0;
  margin-left: 0;
}

#container-cartas.folder-v2-cards > .store-listing-col {
  width: auto;
  max-width: none;
  padding-right: 0;
  padding-left: 0;
}

#container-cartas.folder-v2-cards > .folder-v2-ad-row {
  width: 100%;
  grid-column: 1 / -1;
}

#container-cartas.folder-v2-cards > .folder-v2-ad-row .scry-live-ad-section {
  margin: 0;
}

.folder-v2-cards .store-listing-edition {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: .3rem;
  margin: -.08rem 0 .32rem;
  color: var(--scry-text-secondary, #5f6c7b);
  font-size: .7rem;
  line-height: 1.2;
}

.folder-v2-cards .store-listing-edition span:first-child {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.folder-v2-cards .store-listing-edition span + span {
  flex: 0 0 auto;
  padding: .1rem .3rem;
  border: 1px solid var(--scry-border-default, rgba(17, 24, 39, .08));
  border-radius: 999px;
  color: var(--scry-text-primary, #1f2937);
  background: var(--scry-surface-2, #f7fffd);
  font-size: .64rem;
  font-weight: 800;
}

#container-cartas.folder-v2-cards[data-folder-view="compact"] {
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: .7rem;
}

.folder-v2-cards[data-folder-view="compact"] .store-listing-body {
  padding: .34rem .4rem .4rem;
}

.folder-v2-cards[data-folder-view="compact"] .store-listing-title {
  min-height: 2.08em;
  font-size: .78rem;
}

.folder-v2-cards[data-folder-view="compact"] .store-listing-edition {
  font-size: .62rem;
}

.folder-v2-cards[data-folder-view="compact"] .store-listing-meta {
  gap: .22rem;
  font-size: .72rem;
}

.folder-v2-cards[data-folder-view="compact"] .store-card-finish-pill {
  max-width: 64px;
  padding: 1px 4px;
  font-size: 9px;
}

#container-cartas.folder-v2-cards[data-folder-view="list"] {
  grid-template-columns: minmax(0, 1fr);
  gap: .65rem;
}

.folder-v2-cards[data-folder-view="list"] .store-listing-card {
  display: grid;
  min-height: 150px;
  grid-template-columns: 108px minmax(0, 1fr);
}

.folder-v2-cards[data-folder-view="list"] .store-listing-card:hover,
.folder-v2-cards[data-folder-view="list"] .store-listing-card:focus-within {
  transform: none;
}

.folder-v2-cards[data-folder-view="list"] .store-listing-thumb,
.folder-v2-cards[data-folder-view="list"] .store-listing-thumb img {
  width: 108px;
  height: 100%;
}

.folder-v2-cards[data-folder-view="list"] .store-listing-thumb img {
  object-fit: cover;
  object-position: center top;
}

.folder-v2-cards[data-folder-view="list"] .store-listing-body {
  display: grid;
  min-width: 0;
  grid-template-columns: minmax(0, 1fr) 48px;
  grid-template-areas:
    "title cart"
    "edition cart"
    "meta cart";
  align-content: center;
  column-gap: 1rem;
  padding: .85rem 1rem;
}

.folder-v2-cards[data-folder-view="list"] .store-listing-title {
  grid-area: title;
  min-height: 0;
  margin: 0 0 .32rem;
  font-size: 1rem;
}

.folder-v2-cards[data-folder-view="list"] .store-listing-edition {
  grid-area: edition;
  margin: 0 0 .48rem;
  font-size: .78rem;
}

.folder-v2-cards[data-folder-view="list"] .store-listing-meta {
  grid-area: meta;
  max-width: 520px;
  margin: 0;
}

.folder-v2-cards[data-folder-view="list"] .store-listing-cart-btn {
  grid-area: cart;
  width: 48px;
  min-height: 48px;
  align-self: center;
  font-size: 1rem;
}

#container-cartas.folder-v2-cards.folder-v3-groups {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  gap: .8rem;
  margin-right: 0;
  margin-left: 0;
}

.folder-v3-groups .folder-v3-group {
  min-width: 0;
  padding: .7rem;
  border: 1px solid var(--scry-border-default, rgba(15, 23, 42, .08));
  border-radius: 13px;
  background: var(--scry-surface-1, #f8fafc);
}

.folder-v3-group-heading {
  display: flex;
  min-height: 34px;
  align-items: baseline;
  justify-content: space-between;
  gap: .6rem;
  margin-bottom: .55rem;
  padding: 0 .08rem;
}

.folder-v3-group-heading h3 {
  margin: 0;
  color: var(--scry-text-primary, #0f172a);
  font-size: .88rem;
  font-weight: 900;
  letter-spacing: -.01em;
}

.folder-v3-group-heading span {
  flex: 0 0 auto;
  color: var(--scry-text-secondary, #64748b);
  font-size: .69rem;
  font-weight: 700;
}

.folder-v3-groups .folder-v3-card {
  width: auto;
  max-width: none;
  min-width: 0;
  padding: 0;
}

.folder-v3-empty {
  grid-column: 1 / -1;
  padding: 2.5rem 1rem;
  border: 1px dashed var(--scry-border-default, rgba(15, 23, 42, .16));
  border-radius: 13px;
  color: var(--scry-text-secondary, #64748b);
  text-align: center;
  background: var(--scry-surface-1, #f8fafc);
}

#container-cartas.folder-v3-groups[data-folder-view="stacks"] {
  grid-template-columns: repeat(auto-fill, minmax(176px, 1fr));
  gap: .6rem;
}

.folder-v3-groups[data-folder-view="stacks"] .folder-v3-group.is-large {
  grid-column: span 2;
}

.folder-v3-groups[data-folder-view="stacks"] .folder-v3-group.is-ungrouped {
  grid-column: 1 / -1;
}

.folder-v3-groups[data-folder-view="stacks"] .folder-v3-group-cards {
  display: grid;
  grid-template-columns: repeat(var(--folder-stack-columns, 1), minmax(0, 1fr));
  gap: .5rem;
}

.folder-v3-groups[data-folder-view="stacks"] .folder-v3-stack-column {
  min-width: 0;
}

.folder-v3-groups[data-folder-view="stacks"] .folder-v3-card {
  position: relative;
  transition: transform .2s ease;
}

.folder-v3-groups[data-folder-view="stacks"] .folder-v3-card + .folder-v3-card {
  margin-top: -115%;
}

.folder-v3-groups[data-folder-view="stacks"] .folder-v3-card:hover,
.folder-v3-groups[data-folder-view="stacks"] .folder-v3-card:focus-within,
.folder-v3-groups[data-folder-view="stacks"] .folder-v3-card.is-stack-active {
  z-index: 40;
  transform: translateY(-7px);
}

.folder-v3-groups[data-folder-view="stacks"] .store-listing-card {
  position: relative;
  overflow: visible;
  border: 0;
  background: transparent;
  box-shadow: 0 7px 18px rgba(15, 23, 42, .12);
}

.folder-v3-groups[data-folder-view="stacks"] .store-listing-thumb {
  overflow: visible;
  border-radius: 9px;
  background: transparent;
}

.folder-v3-groups[data-folder-view="stacks"] .store-listing-thumb img {
  border: 1px solid rgba(15, 23, 42, .16);
  border-radius: 9px;
}

.folder-v3-groups[data-folder-view="stacks"] .store-listing-body {
  position: absolute;
  right: .38rem;
  bottom: .38rem;
  left: .38rem;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 30px;
  align-items: center;
  gap: .28rem .38rem;
  padding: .42rem;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 8px;
  background: rgba(3, 9, 18, .9);
  box-shadow: 0 8px 22px rgba(2, 6, 23, .28);
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

.folder-v3-groups[data-folder-view="stacks"] .folder-v3-stack-column > .folder-v3-card:last-child .store-listing-body,
.folder-v3-groups[data-folder-view="stacks"] .folder-v3-card:hover .store-listing-body,
.folder-v3-groups[data-folder-view="stacks"] .folder-v3-card:focus-within .store-listing-body,
.folder-v3-groups[data-folder-view="stacks"] .folder-v3-card.is-stack-active .store-listing-body {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.folder-v3-groups[data-folder-view="stacks"] .store-listing-title {
  grid-column: 1 / -1;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  font-size: .7rem;
  font-weight: 800;
  line-height: 1.15;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.folder-v3-groups[data-folder-view="stacks"] .store-listing-edition,
.folder-v3-groups[data-folder-view="stacks"] .store-listing-meta-spacer,
.folder-v3-groups[data-folder-view="stacks"] .store-card-finish-pill {
  display: none;
}

.folder-v3-groups[data-folder-view="stacks"] .store-listing-meta {
  min-width: 0;
  gap: .25rem;
  margin: 0;
  font-size: .68rem;
}

.folder-v3-groups[data-folder-view="stacks"] .store-card-lang-meta {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  margin-left: auto;
}

.folder-v3-groups[data-folder-view="stacks"] .store-card-lang-meta img {
  display: block;
  max-width: 22px;
}

.folder-v3-groups[data-folder-view="stacks"] .store-listing-price {
  overflow: hidden;
  font-size: .76rem;
  text-overflow: ellipsis;
}

.folder-v3-groups[data-folder-view="stacks"] .store-listing-cart-btn {
  width: 30px;
  min-height: 30px;
  padding: 0;
  border-radius: 7px;
}

.folder-v3-groups[data-folder-view="grid"] .folder-v3-group-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: .65rem;
}

.folder-v3-groups[data-folder-view="grid"] .folder-v3-stack-column,
.folder-v3-groups[data-folder-view="list"] .folder-v3-stack-column {
  display: contents;
}

.folder-v3-groups[data-folder-view="list"] .folder-v3-group-cards {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: .55rem;
}

.folder-v3-groups > .folder-v2-ad-row {
  grid-column: 1 / -1;
}

.folder-v2-card-preview {
  position: fixed;
  z-index: 1090;
  width: 260px;
  min-height: 360px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 14px;
  background: #08111f;
  box-shadow: 0 24px 64px rgba(2, 6, 23, .4);
  pointer-events: none;
}

.folder-v2-card-preview[hidden] {
  display: none;
}

.folder-v2-card-preview img {
  display: block;
  width: 100%;
  height: auto;
  min-height: 360px;
  object-fit: cover;
}

@media (max-width: 1199.98px) {
  #container-cartas.folder-v2-cards {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  #container-cartas.folder-v2-cards[data-folder-view="compact"] {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}

@media (max-width: 991.98px) {
  .store-filters-toolbar.folder-v3-toolbar .toolbar-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .store-filters-toolbar.folder-v3-toolbar .toolbar-search {
    grid-column: 1 / -1;
  }

  .store-filters-toolbar.folder-v3-toolbar .folder-v3-filter-toggle {
    grid-column: 1 / -1;
  }

  .folder-v3-advanced-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  #container-cartas.folder-v2-cards {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  #container-cartas.folder-v2-cards[data-folder-view="compact"] {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

@media (max-width: 767.98px) {
  .store-filters-toolbar.folder-v3-toolbar {
    padding: .75rem !important;
  }

  .store-filters-toolbar.folder-v3-toolbar .toolbar-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .store-filters-toolbar.folder-v3-toolbar .toolbar-search,
  .store-filters-toolbar.folder-v3-toolbar .folder-v3-filter-toggle {
    grid-column: 1 / -1;
  }

  .folder-v3-advanced-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .folder-v3-advanced-grid .toolbar-set,
  .folder-v3-advanced-grid .toolbar-meta-row,
  .folder-v3-advanced-grid > .mt-1.pt-2 {
    grid-column: 1 / -1;
  }

  .folder-v3-advanced-grid .toolbar-actions-block {
    width: 100%;
  }

  #container-cartas.folder-v3-groups[data-folder-view="stacks"] {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .folder-v3-groups[data-folder-view="stacks"] .folder-v3-group.is-large,
  .folder-v3-groups[data-folder-view="stacks"] .folder-v3-group.is-ungrouped {
    grid-column: 1 / -1;
  }

  .folder-v3-groups[data-folder-view="grid"] .folder-v3-group-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .5rem;
  }

  .folder-v3-groups[data-folder-view="stacks"] .store-listing-body {
    grid-template-columns: minmax(0, 1fr) 44px;
  }

  .folder-v3-groups[data-folder-view="stacks"] .store-listing-cart-btn {
    width: 44px;
    min-height: 44px;
  }

  .folder-v2-hero,
  .folder-v2-hero__content {
    min-height: 250px;
  }

  .folder-v2-hero__content {
    padding: 1rem;
  }

  .folder-v2-hero__main {
    align-items: flex-end;
  }

  .folder-v2-hero__colors {
    min-width: 0;
    padding: .65rem;
  }

  .folder-v2-hero__colors > span {
    display: none;
  }

  .folder-v2-hero__mana {
    width: 25px;
    height: 25px;
  }

  .folder-v2-list-heading {
    align-items: flex-start;
  }

  .folder-v3-content-heading {
    align-items: flex-end;
  }

  .folder-v2-view-button span {
    display: none;
  }

  .folder-v2-view-button {
    width: 36px;
    padding-right: .4rem;
    padding-left: .4rem;
  }

  #container-cartas.folder-v2-cards,
  #container-cartas.folder-v2-cards[data-folder-view="compact"] {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 575.98px) {
  .folder-v3-content-heading {
    display: block;
  }

  .folder-v3-results {
    margin-top: .4rem;
  }

  .folder-v3-advanced-grid .toolbar-meta-row {
    display: block;
  }

  .folder-v3-advanced-grid .toolbar-actions-block {
    justify-content: space-between;
    margin-top: .7rem;
  }

  .folder-v2-hero,
  .folder-v2-hero__content {
    min-height: 285px;
  }

  .folder-v2-hero__overlay {
    background: linear-gradient(90deg, rgba(4, 13, 27, .95), rgba(4, 13, 27, .62));
  }

  .folder-v2-hero__topline {
    align-items: flex-start;
  }

  .folder-v2-hero__back {
    max-width: 145px;
    align-items: flex-start;
    text-align: right;
  }

  .folder-v2-hero__main {
    display: block;
  }

  .folder-v2-hero__colors {
    display: inline-block;
    margin-top: .75rem;
  }

  .folder-v2-hero__title {
    font-size: clamp(1.65rem, 9vw, 2.35rem);
  }

  #container-cartas.folder-v2-cards,
  #container-cartas.folder-v2-cards[data-folder-view="compact"] {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .75rem;
  }

  .folder-v2-cards[data-folder-view="list"] .store-listing-card {
    min-height: 128px;
    grid-template-columns: 88px minmax(0, 1fr);
  }

  .folder-v2-cards[data-folder-view="list"] .store-listing-thumb,
  .folder-v2-cards[data-folder-view="list"] .store-listing-thumb img {
    width: 88px;
  }

  .folder-v2-cards[data-folder-view="list"] .store-listing-body {
    grid-template-columns: minmax(0, 1fr) 40px;
    column-gap: .55rem;
    padding: .65rem .7rem;
  }

  .folder-v2-cards[data-folder-view="list"] .store-listing-title {
    font-size: .88rem;
  }

  .folder-v2-cards[data-folder-view="list"] .store-listing-edition {
    margin-bottom: .34rem;
    font-size: .68rem;
  }

  .folder-v2-cards[data-folder-view="list"] .store-listing-meta {
    font-size: .76rem;
  }

  .folder-v2-cards[data-folder-view="list"] .store-listing-cart-btn {
    width: 40px;
    min-height: 40px;
  }
}

@media (hover: none), (pointer: coarse) {
  .folder-v2-card-preview {
    display: none !important;
  }
}

/* Carrito lateral agrupado por tienda */
.scry-offcanvas-cart {
  --bs-offcanvas-width: min(100vw, 400px);
}

.scry-cart-header {
  min-height: 72px;
  padding: .75rem 1rem;
}

.scry-cart-heading {
  display: grid;
  gap: .12rem;
  min-width: 0;
}

.scry-cart-heading .offcanvas-title {
  margin: 0;
  font-size: 1.18rem;
  font-weight: 800;
  line-height: 1.2;
}

.scry-cart-heading small {
  font-size: .86rem;
  line-height: 1.25;
}

.scry-cart-shell {
  display: flex;
  min-height: 0;
  flex-direction: column;
  overflow: hidden;
  padding: 0 !important;
}

.scry-cart-content {
  min-height: 0;
  flex: 1 1 auto;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: .75rem;
}

.scry-cart-store-group + .scry-cart-store-group {
  margin-top: .75rem;
}

.scry-cart-store-header {
  display: grid;
  min-height: 50px;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: .5rem;
  padding: .35rem .2rem .45rem;
  border-bottom: 1px solid;
}

.scry-cart-store-identity,
.scry-cart-store-subtotal {
  display: grid;
  gap: .08rem;
  min-width: 0;
}

.scry-cart-store-name {
  overflow: hidden;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.scry-cart-store-identity span,
.scry-cart-store-subtotal span {
  font-size: .74rem;
  line-height: 1.2;
}

.scry-cart-store-subtotal {
  justify-items: end;
  text-align: right;
}

.scry-cart-store-subtotal strong {
  font-size: .96rem;
  line-height: 1.2;
}

.scry-cart-store-clear,
.checkout-store-remove {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: .35rem .45rem;
  border: 0;
  border-radius: var(--scry-radius-sm);
  font-size: .78rem;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
}

.scry-cart-store-clear {
  cursor: pointer;
}

.checkout-store-remove {
  flex: 0 0 auto;
}

.checkout-store-name-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-width: 0;
}

.checkout-store-avatar {
  display: inline-flex;
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  overflow: hidden;
  border: 1px solid;
  border-radius: var(--scry-radius-sm);
}

.checkout-store-avatar img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.checkout-store-remove--link {
  padding-right: 0.2rem;
  padding-left: 0.2rem;
  border-radius: 0;
  background: transparent;
  font-family: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
  cursor: pointer;
  transition: color 160ms ease, text-decoration-thickness 160ms ease;
}

.checkout-store-delivery {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.42rem;
  margin-top: 0.58rem;
}

.checkout-store-delivery__label,
.checkout-store-delivery__status {
  display: inline-flex;
  align-items: center;
  gap: 0.34rem;
  min-height: 30px;
  border: 1px solid;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1.2;
}

.checkout-store-delivery__label {
  min-height: 0;
  border: 0;
  border-radius: 0;
  white-space: nowrap;
}

.checkout-store-delivery__status {
  padding: 0.3rem 0.58rem;
  white-space: nowrap;
}

button.checkout-store-delivery__status {
  font-family: inherit;
  cursor: pointer;
  transition: border-color 160ms ease, background-color 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.checkout-store-delivery__action-icon {
  margin-left: 0.08rem;
  font-size: 0.68rem;
}

.checkout-store-pickup-modal__dialog {
  max-width: 31rem;
}

.checkout-store-pickup-modal__intro {
  margin: 0 0 0.75rem;
  font-size: 0.88rem;
  line-height: 1.4;
}

.checkout-store-pickup-modal__list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.checkout-store-pickup-modal__item {
  display: grid;
  grid-template-columns: 1.9rem minmax(0, 1fr);
  align-items: start;
  gap: 0.55rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid;
}

.checkout-store-pickup-modal__item:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.checkout-store-pickup-modal__item > i {
  display: grid;
  width: 1.9rem;
  height: 1.9rem;
  place-items: center;
  border: 1px solid;
  border-radius: var(--scry-radius-sm);
}

.checkout-store-pickup-modal__item span,
.checkout-store-pickup-modal__item strong,
.checkout-store-pickup-modal__item small {
  display: block;
}

.checkout-store-pickup-modal__item strong {
  font-size: 0.9rem;
  line-height: 1.3;
}

.checkout-store-pickup-modal__item small {
  margin-top: 0.14rem;
  font-size: 0.8rem;
  line-height: 1.3;
}

@media (max-width: 575.98px) {
  .checkout-store-delivery {
    gap: 0.36rem;
  }

  .checkout-store-delivery__status {
    padding: 0.28rem 0.52rem;
    font-size: 0.74rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  button.checkout-store-delivery__status {
    transition: none;
  }
}

.scry-cart-store-items {
  padding: 0 .2rem;
}

.scry-cart-item {
  display: grid;
  min-height: 82px;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  align-items: center;
  gap: .65rem;
  padding: .55rem .35rem;
  transition: opacity 140ms ease-in, transform 180ms ease-in;
}

.scry-cart-item + .scry-cart-item {
  border-top: 1px solid;
}

.scry-cart-item__img {
  display: block;
  width: 48px;
  height: 67px;
  overflow: hidden;
  border-radius: var(--scry-radius-sm);
  object-fit: cover;
  object-position: center;
}

.scry-cart-item__content {
  min-width: 0;
}

.scry-cart-item__name {
  overflow: hidden;
  font-size: .96rem;
  font-weight: 800;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.scry-cart-item__meta {
  display: -webkit-box;
  overflow: hidden;
  margin-top: .3rem;
  font-size: .8rem;
  line-height: 1.28;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.scry-cart-item__actions {
  display: grid;
  min-width: 78px;
  align-self: stretch;
  align-content: space-between;
  justify-items: end;
}

.scry-cart-item__remove {
  display: inline-grid;
  width: 44px;
  min-width: 44px;
  height: 44px;
  padding: 0;
  place-items: center;
  border: 0;
  border-radius: var(--scry-radius-sm);
  cursor: pointer;
}

.scry-cart-item__remove:disabled {
  cursor: wait;
  opacity: .65;
}

.scry-cart-item__price {
  font-size: .96rem;
  line-height: 1.2;
  white-space: nowrap;
}

.scry-cart-item__original {
  font-size: .66rem;
  line-height: 1.15;
  text-decoration: line-through;
  white-space: nowrap;
}

.scry-cart-item.is-removing {
  pointer-events: none;
  opacity: 0;
  transform: translateX(18px);
}

.scry-cart-item.is-added {
  animation: scry-cart-item-add 260ms cubic-bezier(.16, 1, .3, 1) both;
}

.scry-cart-store-group.is-clearing {
  pointer-events: none;
  animation: scry-cart-group-clear 220ms ease-in forwards;
}

.scry-cart-footer {
  display: grid;
  flex: 0 0 auto;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: .35rem .5rem;
  padding: .75rem .75rem max(.75rem, env(safe-area-inset-bottom));
  border-top: 1px solid;
}

.scry-cart-footer-summary {
  display: flex;
  grid-column: 1 / -1;
  align-items: baseline;
  justify-content: space-between;
  gap: .75rem;
}

.scry-cart-footer-summary span {
  font-size: .76rem;
  font-weight: 700;
}

.scry-cart-footer-summary strong {
  font-size: 1.05rem;
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
}

.scry-cart-shipping-note {
  grid-column: 1 / -1;
  margin: 0;
  font-size: .78rem;
  line-height: 1.35;
}

.scry-cart-checkout,
.scry-cart-clear-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: var(--scry-radius-sm);
  font-weight: 800;
}

.scry-cart-checkout {
  width: 100%;
}

.scry-cart-clear-link {
  width: auto;
  padding: .5rem .75rem;
  border: 0;
  cursor: pointer;
}

.scry-cart-clear-link:disabled {
  cursor: default;
  opacity: .45;
}

.scry-cart-empty {
  min-height: 100%;
  padding: 1.25rem .25rem;
  text-align: center;
  animation: scry-cart-empty-in 260ms cubic-bezier(.16, 1, .3, 1) both;
}

.scry-cart-empty__title,
.scry-cart-empty__copy {
  display: block;
}

.scry-cart-empty__title {
  font-size: 1.18rem;
  font-weight: 800;
  line-height: 1.25;
}

.scry-cart-empty__copy {
  max-width: 29ch;
  margin: .4rem auto 0;
  font-size: .94rem;
  line-height: 1.4;
}

.scry-cart-suggestions {
  margin-top: 1.25rem;
  text-align: left;
}

.scry-cart-suggestions__header {
  display: flex;
  min-height: 44px;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  border-bottom: 1px solid;
}

.scry-cart-suggestions__header strong {
  font-size: .96rem;
  font-weight: 800;
}

.scry-cart-suggestions__refresh {
  min-height: 44px;
  padding: .5rem;
  border: 0;
  font-weight: 800;
  cursor: pointer;
}

.scry-cart-suggestion {
  display: grid;
  min-height: 76px;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  align-items: center;
  gap: .65rem;
  padding: .55rem 0;
}

.scry-cart-suggestion + .scry-cart-suggestion {
  border-top: 1px solid;
}

.scry-cart-suggestion__image {
  display: block;
  width: 52px;
  height: 52px;
  overflow: hidden;
  border-radius: var(--scry-radius-sm);
  object-fit: cover;
  object-position: center;
}

.scry-cart-suggestion__content {
  min-width: 0;
}

.scry-cart-suggestion__name,
.scry-cart-suggestion__meta,
.scry-cart-suggestion__price {
  display: block;
}

.scry-cart-suggestion__name {
  overflow: hidden;
  font-size: .92rem;
  font-weight: 800;
  line-height: 1.18;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.scry-cart-suggestion__meta {
  overflow: hidden;
  margin-top: .12rem;
  font-size: .76rem;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.scry-cart-suggestion__price {
  margin-top: .16rem;
  font-size: .92rem;
  font-weight: 800;
  line-height: 1.2;
}

.scry-cart-suggestion__add {
  min-width: 72px;
  min-height: 44px;
  padding: .5rem .65rem;
  border: 1px solid;
  border-radius: var(--scry-radius-sm);
  font-weight: 800;
  cursor: pointer;
}

.scry-cart-suggestion__add:disabled {
  cursor: wait;
  opacity: .68;
}

.scry-cart-state {
  display: grid;
  gap: .45rem;
  justify-items: start;
  padding: .85rem 0;
  font-size: .88rem;
  line-height: 1.4;
  text-align: left;
}

.scry-cart-state button,
.scry-cart-state a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding: .45rem .65rem;
  border: 0;
  border-radius: var(--scry-radius-sm);
  font-weight: 800;
}

@keyframes scry-cart-item-add {
  from {
    opacity: .55;
    transform: translateX(14px) scale(.985);
  }
  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

@keyframes scry-cart-group-clear {
  to {
    opacity: 0;
    transform: translateX(18px);
  }
}

@keyframes scry-cart-empty-in {
  from {
    opacity: .55;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 575.98px) {
  .scry-offcanvas-cart {
    --bs-offcanvas-width: 100vw;
  }

  .scry-cart-content {
    padding: .65rem;
  }

}

@media (max-width: 359.98px) {
  .scry-cart-item {
    grid-template-columns: 44px minmax(0, 1fr) auto;
    gap: .5rem;
    padding-inline: .2rem;
  }

  .scry-cart-item__img {
    width: 44px;
    height: 62px;
  }

  .scry-cart-item__actions {
    min-width: 72px;
  }

  .scry-cart-suggestion {
    grid-template-columns: 48px minmax(0, 1fr) auto;
    gap: .5rem;
  }

  .scry-cart-suggestion__image {
    width: 48px;
    height: 48px;
  }

  .scry-cart-suggestion__add {
    min-width: 66px;
    padding-inline: .5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .scry-cart-item,
  .scry-cart-item.is-removing,
  .scry-cart-item.is-added,
  .scry-cart-store-group.is-clearing,
  .scry-cart-empty {
    animation: none;
    transition: none;
    transform: none;
  }

  .scry-cart-item.is-removing,
  .scry-cart-store-group.is-clearing {
    opacity: 0;
  }

  .folder-v2-hero__media {
    transform: none;
  }

  .folder-v2-view-button,
  .folder-v2-hero__back,
  .edh-listing__image,
  .edh-listing__cart.is-loading i {
    transition: none;
    animation: none;
  }
}
/* Selector de modo para cuentas con acceso administrativo. */
.scry-account-mode {
  max-width: 760px;
  margin: 1.5rem auto;
}

.scry-account-mode__intro {
  max-width: 610px;
  margin-bottom: 1.5rem;
}

.scry-account-mode__eyebrow {
  display: inline-block;
  margin-bottom: .6rem;
  color: var(--scry-accent-primary-strong);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .04em;
}

.scry-account-mode__intro h1 {
  margin: 0 0 .65rem;
  color: var(--scry-text-primary);
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.1;
}

.scry-account-mode__intro p,
.scry-account-mode__choice p {
  margin-bottom: 0;
  color: var(--scry-text-secondary);
}

.scry-account-mode__choices {
  display: grid;
  gap: 1rem;
}

.scry-account-mode__choice {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem;
  border: 1px solid var(--scry-border-default);
  border-radius: .95rem;
  background: var(--scry-surface-elevated);
  box-shadow: 0 8px 24px rgba(17, 24, 39, .04);
}

.scry-account-mode__choice--admin {
  border-color: var(--scry-accent-primary-soft);
  background: var(--scry-surface-accented);
}

.scry-account-mode__choice-icon {
  display: grid;
  width: 2.75rem;
  height: 2.75rem;
  place-items: center;
  flex: 0 0 2.75rem;
  border-radius: .75rem;
  background: var(--scry-surface-3);
  color: var(--scry-accent-primary-strong);
  font-size: 1.1rem;
}

.scry-account-mode__choice h2 {
  margin: 0 0 .25rem;
  color: var(--scry-text-primary);
  font-size: 1.18rem;
  font-weight: 800;
}

.scry-account-mode__choice .btn {
    white-space: nowrap;
}

/* Directorio público de tiendas: identidad, inventario y acceso en una sola lectura. */
.store-directory { padding: var(--scry-space-6) 0 var(--scry-space-7); }
.store-directory__header { display: grid; gap: var(--scry-space-2); margin-bottom: var(--scry-space-5); }
.store-directory__eyebrow { margin: 0; color: var(--scry-accent-primary-strong); font-size: .78rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.store-directory__heading h1 { margin: 0 0 var(--scry-space-2); color: var(--scry-text-primary); font-size: 2rem; font-weight: 800; line-height: 1.1; }
.store-directory__tools { position: relative; margin-bottom: var(--scry-space-5); }
.store-directory__filters { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--scry-space-3); align-items: end; margin-bottom: var(--scry-space-5); padding: var(--scry-space-4); border: 1px solid var(--scry-border-default); border-radius: var(--scry-radius-md); background: var(--scry-surface-elevated); box-shadow: var(--scry-shadow-sm); }
.store-directory__filter-field { min-width: 0; }
.store-directory__filter-field label { display: block; margin-bottom: var(--scry-space-1); color: var(--scry-text-secondary); font-size: .78rem; font-weight: 800; }
.store-directory__filter-field label span { color: var(--scry-text-muted); font-weight: 600; }
.store-directory__filter-field .form-select { min-height: 44px; border-color: var(--scry-border-default); background-color: var(--scry-surface-0); color: var(--scry-text-primary); }
.store-directory__delivery-filter { grid-column: 1 / -1; min-width: 0; margin: var(--scry-space-1) 0 0; padding: var(--scry-space-4) 0 0; border: 0; border-top: 1px solid var(--scry-border-soft); }
.store-directory__delivery-filter legend { float: none; width: auto; margin: 0 0 var(--scry-space-2); padding: 0; color: var(--scry-text-primary); font-size: .9rem; font-weight: 800; line-height: 1.3; }
.store-directory__delivery-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(240px, 320px); gap: var(--scry-space-3); align-items: end; }
.store-directory__delivery-options { display: flex; flex-wrap: wrap; gap: var(--scry-space-2); }
.store-directory__delivery-option { display: inline-flex; min-height: 44px; align-items: center; gap: var(--scry-space-2); margin: 0; padding: .55rem .8rem; border: 1px solid var(--scry-border-default); border-radius: var(--scry-radius-sm); background: var(--scry-surface-0); color: var(--scry-text-primary); font-size: .9rem; font-weight: 700; cursor: pointer; transition: border-color 150ms ease, background-color 150ms ease, color 150ms ease; }
.store-directory__delivery-option:hover { border-color: var(--scry-border-strong); background: var(--scry-surface-2); }
.store-directory__delivery-option.is-selected { border-color: var(--scry-accent-primary); background: var(--scry-accent-primary-soft); color: var(--scry-accent-primary-strong); }
.store-directory__delivery-option.is-disabled { opacity: .55; cursor: not-allowed; }
.store-directory__delivery-option input { width: 1rem; height: 1rem; margin: 0; accent-color: var(--scry-accent-primary-strong); }
.store-directory__delivery-option:focus-within { border-color: var(--scry-accent-primary); box-shadow: 0 0 0 .2rem rgba(var(--scry-accent-primary-soft-rgb), .78); }
.store-directory__pickup-field[hidden] { display: none; }
.store-directory__delivery-help { margin: var(--scry-space-2) 0 0; color: var(--scry-text-muted); font-size: .8rem; line-height: 1.4; }
.store-directory__filter-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: var(--scry-space-2) var(--scry-space-5); }
.store-directory__check { display: inline-flex; min-height: 44px; align-items: center; gap: var(--scry-space-2); margin: 0; color: var(--scry-text-primary); font-weight: 700; }
.store-directory__check input { width: 1rem; height: 1rem; accent-color: var(--scry-accent-primary-strong); }
.store-directory__clear { min-height: 44px; margin-left: auto; padding: .55rem .85rem; border: 1px solid var(--scry-border-default); border-radius: var(--scry-radius-sm); background: var(--scry-surface-0); color: var(--scry-text-primary); font-weight: 800; }
.store-directory__clear:focus-visible, .store-directory__retry:focus-visible { outline: 0; box-shadow: 0 0 0 .2rem rgba(var(--scry-accent-primary-soft-rgb), .78); }
.store-directory__tools .form-control { min-height: 48px; padding-left: 2.8rem; border-color: var(--scry-border-default); border-radius: var(--scry-radius-sm); background: var(--scry-surface-0); color: var(--scry-text-primary); box-shadow: var(--scry-shadow-sm); }
.store-directory__tools .form-control:focus { border-color: var(--scry-accent-primary); box-shadow: 0 0 0 .2rem rgba(var(--scry-accent-primary-soft-rgb), .78); }
.store-directory__search-icon { position: absolute; top: 50%; left: 1rem; z-index: 2; color: var(--scry-text-muted); pointer-events: none; transform: translateY(-50%); }
.store-directory__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--scry-space-4); min-height: 112px; }
.store-directory__card { min-width: 0; border: 1px solid var(--scry-border-default); border-radius: var(--scry-radius-md); background: var(--scry-surface-elevated); box-shadow: var(--scry-shadow-sm); transition: border-color 150ms ease, box-shadow 150ms ease, transform 150ms ease; }
.store-directory__card:hover { border-color: var(--scry-border-strong); box-shadow: var(--scry-shadow-md); transform: translateY(-1px); }
.store-directory__card:focus-within { border-color: var(--scry-accent-primary); box-shadow: 0 0 0 .2rem rgba(var(--scry-accent-primary-soft-rgb), .78); }
.store-directory__card-link { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; align-items: center; gap: var(--scry-space-3); min-height: 108px; padding: var(--scry-space-4); color: inherit; text-decoration: none; }
.store-directory__card-link:hover { color: inherit; text-decoration: none; }
.store-directory__card-link:focus-visible { outline: 0; }
.store-directory__logo-wrap { display: grid; width: 56px; height: 56px; overflow: hidden; place-items: center; border: 1px solid var(--scry-border-default); border-radius: var(--scry-radius-sm); background: var(--scry-surface-0); }
.store-directory__logo { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.store-directory__card-body { min-width: 0; }
.store-directory__identity { display: flex; align-items: center; gap: var(--scry-space-2); min-width: 0; }
.store-directory__identity h3 { overflow: hidden; margin: 0; color: var(--scry-text-primary); font-size: 1.18rem; font-weight: 800; line-height: 1.15; text-overflow: ellipsis; white-space: nowrap; }
.store-directory__verified { display: inline-flex; flex: 0 0 auto; align-items: center; gap: .25rem; padding: .22rem .5rem; border: 1px solid var(--scry-border-soft); border-radius: 999px; background: var(--scry-success-bg); color: var(--scry-success-text); font-size: .72rem; font-weight: 800; line-height: 1.2; }
.store-directory__stock { margin: .42rem 0 0; color: var(--scry-text-secondary); font-size: .9rem; line-height: 1.35; }
.store-directory__stock span { color: var(--scry-text-primary); font-weight: 800; }
.store-directory__metrics { display: flex; flex-wrap: wrap; gap: .35rem var(--scry-space-3); margin: .42rem 0 0; color: var(--scry-text-secondary); font-size: .78rem; line-height: 1.35; }
.store-directory__metrics div { min-width: 0; }
.store-directory__metrics dt { display: inline; font-weight: 800; }
.store-directory__metrics dt::after { content: ': '; }
.store-directory__metrics dd { display: inline; margin: 0; }
.store-directory__delivery-match { margin-top: var(--scry-space-2); }
.store-directory__delivery-match > span { display: block; margin-bottom: .3rem; color: var(--scry-text-muted); font-size: .7rem; font-weight: 800; letter-spacing: .02em; }
.store-directory__delivery-match ul { display: flex; flex-wrap: wrap; gap: .35rem; margin: 0; padding: 0; list-style: none; }
.store-directory__delivery-match li { display: inline-flex; align-items: center; gap: .3rem; padding: .25rem .5rem; border-radius: 999px; background: var(--scry-accent-primary-soft); color: var(--scry-accent-primary-strong); font-size: .72rem; font-weight: 800; line-height: 1.25; }
.store-directory__open { display: grid; width: 2.75rem; height: 2.75rem; place-items: center; border-radius: 999px; background: var(--scry-accent-primary-soft); color: var(--scry-accent-primary-strong); }
.store-directory__empty { margin: 0; padding: var(--scry-space-6); border: 1px dashed var(--scry-border-strong); border-radius: var(--scry-radius-md); color: var(--scry-text-secondary); text-align: center; }
.store-directory__retry { min-height: 36px; margin-inline-start: var(--scry-space-2); padding: .35rem .55rem; border: 1px solid var(--scry-border-strong); border-radius: var(--scry-radius-sm); background: var(--scry-surface-0); color: var(--scry-accent-primary-strong); font-weight: 800; }
.store-directory__pagination { display: flex; align-items: center; justify-content: center; gap: var(--scry-space-3); margin-top: var(--scry-space-5); }
.store-directory__page-btn { min-height: 44px; padding: .55rem .85rem; border: 1px solid var(--scry-border-default); border-radius: var(--scry-radius-sm); background: var(--scry-surface-0); color: var(--scry-text-primary); font-weight: 800; }
.store-directory__page-btn:hover:not(:disabled) { border-color: var(--scry-border-strong); background: var(--scry-surface-2); }
.store-directory__page-btn:focus-visible { outline: 0; box-shadow: 0 0 0 .2rem rgba(var(--scry-accent-primary-soft-rgb), .78); }
.store-directory__page-btn:disabled { cursor: not-allowed; opacity: .55; }
.store-directory__page-state { color: var(--scry-text-secondary); font-size: .9rem; text-align: center; }

@media (max-width: 991.98px) { .store-directory__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 991.98px) { .store-directory__filters { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767.98px) { .store-directory__delivery-body { grid-template-columns: 1fr; } }
@media (max-width: 575.98px) {
  .store-directory { padding-top: var(--scry-space-5); }
  .store-directory__heading h1 { font-size: 1.75rem; }
  .store-directory__grid { grid-template-columns: 1fr; gap: var(--scry-space-3); }
  .store-directory__filters { grid-template-columns: 1fr; padding: var(--scry-space-3); }
  .store-directory__delivery-option { flex: 1 1 100%; }
  .store-directory__filter-actions { gap: var(--scry-space-2) var(--scry-space-4); }
  .store-directory__clear { width: 100%; margin-left: 0; }
  .store-directory__card-link { min-height: 92px; padding: var(--scry-space-3); }
  .store-directory__pagination { justify-content: space-between; gap: var(--scry-space-2); }
}

@media (max-width: 767.98px) {
  .scry-account-mode {
    margin-top: .5rem;
  }

  .scry-account-mode__choice {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .scry-account-mode__choice .btn {
    grid-column: 1 / -1;
    width: 100%;
  }
}

/* Ajuste de solicitud de ampliación: mantener visible el antes y el reemplazo elegido. */
#modalProponerAlternativasAmpliacion .ampliacion-ajuste-linea {
  background: var(--scry-surface-0);
}

#modalProponerAlternativasAmpliacion .ampliacion-ajuste-busqueda-wrap {
  position: relative;
  z-index: 2;
}

#modalProponerAlternativasAmpliacion .ampliacion-ajuste-resultados {
  position: absolute;
  top: calc(100% + .25rem);
  right: 0;
  left: 0;
  z-index: 4;
}

#modalProponerAlternativasAmpliacion .ampliacion-ajuste-original {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: .65rem;
  align-items: center;
  margin-bottom: .75rem;
}

#modalProponerAlternativasAmpliacion .ampliacion-ajuste-original__image,
#modalProponerAlternativasAmpliacion .ampliacion-ajuste-reemplazo__image {
  display: block;
  width: 40px;
  height: 56px;
  border: 1px solid var(--scry-border-default);
  border-radius: .35rem;
  background: var(--scry-surface-2);
  object-fit: cover;
  object-position: center;
}

#modalProponerAlternativasAmpliacion .ampliacion-ajuste-reemplazo {
  margin-top: .8rem;
  padding-top: .75rem;
  border-top: 1px solid var(--scry-border-default);
}

#modalProponerAlternativasAmpliacion .ampliacion-ajuste-reemplazo__seleccion {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) auto;
  gap: .65rem;
  align-items: center;
  margin-top: .45rem;
}

#modalProponerAlternativasAmpliacion .ampliacion-ajuste-reemplazo__nombre {
  min-width: 0;
  color: var(--scry-text-primary);
  font-size: .9rem;
  font-weight: 700;
  overflow-wrap: anywhere;
}

#modalProponerAlternativasAmpliacion .ampliacion-ajuste-reemplazo-quitar {
  min-height: 36px;
}

@media (max-width: 575.98px) {
  #modalProponerAlternativasAmpliacion .ampliacion-ajuste-reemplazo__seleccion {
    grid-template-columns: 40px minmax(0, 1fr);
  }

  #modalProponerAlternativasAmpliacion .ampliacion-ajuste-reemplazo-quitar {
    grid-column: 1 / -1;
    width: 100%;
  }
}

/* Sorteo Gift Bundle El Hobbit */
.scry-hobbit-top-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .75rem;
  min-height: 46px;
  padding: .48rem 1rem;
  color: #fffdf0;
  background: linear-gradient(90deg, #153324 0%, #2f5d36 48%, #755c22 100%);
  box-shadow: 0 5px 18px rgba(18, 46, 28, .2);
  text-decoration: none;
}

.scry-hobbit-top-banner:hover,
.scry-hobbit-top-banner:focus {
  color: #fffdf0;
  text-decoration: none;
}

.scry-hobbit-top-banner:focus-visible,
.hobbit-giveaway a:focus-visible {
  outline: 3px solid #f4d768;
  outline-offset: 3px;
}

.scry-hobbit-top-banner__badge,
.scry-hobbit-top-banner__cta {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-size: .74rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.scry-hobbit-top-banner__badge {
  padding: .38rem .66rem;
  color: #18311f;
  background: #f2d36f;
}

.scry-hobbit-top-banner__copy {
  min-width: 0;
  font-size: .96rem;
  font-weight: 800;
  line-height: 1.25;
  text-align: center;
}

.scry-hobbit-top-banner__cta {
  padding: .38rem .7rem;
  border: 1px solid rgba(255, 253, 240, .62);
  color: #fffdf0;
}

.hobbit-giveaway {
  color: var(--scry-text-primary);
}

.hobbit-giveaway__hero,
.hobbit-giveaway__how-to,
.hobbit-giveaway__closing {
  border: 1px solid rgba(59, 100, 55, .25);
  border-radius: var(--scry-radius-lg);
  background: var(--scry-surface-elevated);
  box-shadow: var(--scry-shadow-md);
}

.hobbit-giveaway__hero {
  overflow: hidden;
}

.hobbit-giveaway__hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-height: 100%;
  padding: clamp(2rem, 5vw, 4.5rem);
  background: linear-gradient(135deg, #f7f6eb 0%, #edf1df 100%);
}

.hobbit-giveaway h1,
.hobbit-giveaway h2 {
  margin: 0;
  color: var(--scry-text-primary);
  font-weight: 900;
  line-height: 1.08;
}

.hobbit-giveaway h1 {
  max-width: 12ch;
  font-size: clamp(2.45rem, 5.5vw, 4.8rem);
  letter-spacing: -.035em;
}

.hobbit-giveaway__lead {
  max-width: 37rem;
  margin: 1.2rem 0 0;
  color: var(--scry-text-secondary);
  font-size: clamp(1.04rem, 2vw, 1.3rem);
  font-weight: 700;
  line-height: 1.5;
}

.hobbit-giveaway a {
  color: #356a40;
  font-weight: 800;
}

.hobbit-giveaway__deadline {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  margin-top: 1.5rem;
  padding: .7rem .85rem;
  border: 1px solid rgba(91, 114, 47, .32);
  border-radius: var(--scry-radius-sm);
  background: #f5edca;
  color: #3c481d;
  font-size: .95rem;
  line-height: 1.4;
}

.hobbit-giveaway__deadline i {
  flex: 0 0 auto;
  color: #6f5820;
  font-size: 1.2rem;
}

.hobbit-giveaway__primary-action,
.hobbit-giveaway__secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  min-height: 48px;
  margin-top: 1.25rem;
  padding: .76rem 1rem;
  border: 1px solid transparent;
  border-radius: var(--scry-radius-md);
  font-weight: 900;
  text-decoration: none;
  transition: background-color 150ms ease, border-color 150ms ease, box-shadow 150ms ease, transform 150ms ease;
}

.hobbit-giveaway__primary-action {
  background: #31633a;
  color: #ffffff;
  box-shadow: 0 10px 22px rgba(30, 84, 42, .2);
}

.hobbit-giveaway__primary-action:hover,
.hobbit-giveaway__primary-action:focus {
  border-color: #244d2d;
  background: #244d2d;
  color: #ffffff;
  transform: translateY(-1px);
}

.hobbit-giveaway__helper {
  margin: .8rem 0 0;
  color: var(--scry-text-muted);
  font-size: .84rem;
  line-height: 1.45;
}

.hobbit-giveaway__prize-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100%;
  padding: clamp(1.5rem, 3.5vw, 3rem);
  background: linear-gradient(145deg, #183723 0%, #315f35 58%, #806526 100%);
}

.hobbit-giveaway__prize {
  display: block;
  width: min(100%, 425px);
  height: auto;
  filter: drop-shadow(0 18px 25px rgba(0, 0, 0, .26));
}

.hobbit-giveaway__profiles {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .65rem;
  margin-top: 1.25rem;
}

.hobbit-giveaway__profile {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .42rem .66rem .42rem .42rem;
  border: 1px solid rgba(255, 253, 240, .38);
  border-radius: 999px;
  background: rgba(8, 26, 15, .32);
  color: #ffffff;
  font-size: .82rem;
  line-height: 1;
  text-decoration: none;
}

.hobbit-giveaway__profile:hover,
.hobbit-giveaway__profile:focus {
  color: #ffffff;
  background: rgba(8, 26, 15, .52);
}

.hobbit-giveaway__profile img {
  display: block;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(255, 253, 240, .65);
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
}

.hobbit-giveaway__how-to {
  padding: clamp(1.5rem, 3vw, 2.4rem);
}

.hobbit-giveaway__section-heading p {
  max-width: 38rem;
  margin: .65rem 0 0;
  color: var(--scry-text-secondary);
  line-height: 1.5;
}

.hobbit-giveaway__steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.hobbit-giveaway__steps li {
  display: grid;
  grid-template-columns: 2.35rem minmax(0, 1fr);
  gap: .8rem;
  align-items: start;
  min-width: 0;
  padding: 1rem;
  border: 1px solid var(--scry-border-default);
  border-radius: var(--scry-radius-md);
  background: var(--scry-surface-0);
}

.hobbit-giveaway__step-number {
  display: inline-flex;
  width: 2.35rem;
  height: 2.35rem;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #e8ce7c;
  color: #264a2d;
  font-weight: 900;
}

.hobbit-giveaway__steps strong,
.hobbit-giveaway__steps span:not(.hobbit-giveaway__step-number) {
  display: block;
}

.hobbit-giveaway__steps strong {
  color: var(--scry-text-primary);
  font-size: 1.02rem;
  line-height: 1.3;
}

.hobbit-giveaway__steps span:not(.hobbit-giveaway__step-number) {
  margin-top: .4rem;
  color: var(--scry-text-secondary);
  font-size: .92rem;
  line-height: 1.5;
}

.hobbit-giveaway__closing {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: clamp(1.5rem, 3vw, 2.4rem);
  background: linear-gradient(135deg, #f5edca, #e4ebd3);
}

.hobbit-giveaway__closing h2 {
  font-size: clamp(1.4rem, 3vw, 2rem);
}

.hobbit-giveaway__closing p {
  max-width: 43rem;
  margin: .5rem 0 0;
  color: var(--scry-text-secondary);
  line-height: 1.5;
}

.hobbit-giveaway__secondary-action {
  flex: 0 0 auto;
  margin-top: 0;
  border-color: #315f35;
  background: #ffffff;
  color: #28502f;
}

.hobbit-giveaway__secondary-action:hover,
.hobbit-giveaway__secondary-action:focus {
  border-color: #244d2d;
  background: #edf1df;
  color: #244d2d;
  transform: translateY(-1px);
}

.hobbit-giveaway ::selection {
  background: #e8ce7c;
  color: #183723;
}

/* Sorteo Bundle El Hobbit + Commander de Bolsillo */
.scry-bundle-hobbit-top-banner {
  border-bottom: 2px solid #59c4e5;
  background: linear-gradient(90deg, #0d1319, #17313f);
  color: #ffffff;
  box-shadow: 0 5px 18px rgba(10, 10, 13, .24);
}

.scry-bundle-hobbit-top-banner .scry-hobbit-top-banner__badge {
  background: #1c5b79;
  color: #ffffff;
}

.scry-bundle-hobbit-top-banner .scry-hobbit-top-banner__copy,
.scry-bundle-hobbit-top-banner .scry-hobbit-top-banner__cta {
  color: #ffffff;
}

.scry-bundle-hobbit-top-banner:focus-visible,
.hobbit-giveaway--bundle a:focus-visible {
  outline-color: #59c4e5;
}

.hobbit-giveaway--bundle {
  --bundle-surface: #ffffff;
  --bundle-surface-raised: #f1f7fa;
  --bundle-ink: #172b36;
  --bundle-muted: #4b616c;
  --bundle-accent: #116d95;
  --scry-text-primary: var(--bundle-ink);
  --scry-text-secondary: var(--bundle-muted);
  --scry-text-muted: var(--bundle-muted);
  color: var(--bundle-ink);
}

.hobbit-giveaway--bundle .hobbit-giveaway__hero,
.hobbit-giveaway--bundle .hobbit-giveaway__how-to,
.hobbit-giveaway--bundle .hobbit-giveaway__closing {
  border-color: #d8e5eb;
  background: var(--bundle-surface);
  box-shadow: 0 14px 34px rgba(24, 53, 69, .09);
}

.hobbit-giveaway--bundle .hobbit-giveaway__hero-copy {
  background: #f5f9fb;
}

.hobbit-giveaway--bundle h1,
.hobbit-giveaway--bundle h2,
.hobbit-giveaway--bundle .hobbit-giveaway__steps strong {
  color: var(--bundle-ink);
}

.hobbit-giveaway--bundle .hobbit-giveaway__lead,
.hobbit-giveaway--bundle .hobbit-giveaway__section-heading p,
.hobbit-giveaway--bundle .hobbit-giveaway__steps span:not(.hobbit-giveaway__step-number),
.hobbit-giveaway--bundle .hobbit-giveaway__closing p,
.hobbit-giveaway--bundle .hobbit-giveaway__helper,
.hobbit-giveaway--bundle ul { color: var(--bundle-muted); }

.hobbit-giveaway--bundle a:not(.btn):not(.hobbit-giveaway__profile) { color: var(--bundle-accent); }

.hobbit-giveaway--bundle li::marker { color: var(--bundle-accent); }

.hobbit-giveaway--bundle .hobbit-giveaway__deadline {
  border-color: #bddbe7;
  background: #eaf5f9;
  color: #244657;
}

.hobbit-giveaway--bundle .hobbit-giveaway__deadline i { color: var(--bundle-accent); }

.hobbit-giveaway--bundle .hobbit-giveaway__primary-action {
  background: #126e96;
  color: #ffffff;
  box-shadow: 0 10px 22px rgba(18, 83, 114, .18);
}

.hobbit-giveaway--bundle .hobbit-giveaway__primary-action:hover,
.hobbit-giveaway--bundle .hobbit-giveaway__primary-action:focus {
  border-color: #0d597c;
  background: #0d597c;
  color: #ffffff;
}

.hobbit-giveaway--bundle .hobbit-giveaway__prize-panel { background: #ffffff; }

.hobbit-giveaway--bundle .hobbit-giveaway__prize {
  width: min(100%, 480px);
  filter: none;
  border-radius: var(--scry-radius-md);
  background: #fff;
}

.hobbit-giveaway--bundle .hobbit-giveaway__profile {
  border-color: #bed8e4;
  background: #eaf4f8;
  color: #173d51;
}

.hobbit-giveaway--bundle .hobbit-giveaway__profile:hover,
.hobbit-giveaway--bundle .hobbit-giveaway__profile:focus {
  background: #d8edf5;
  color: #173d51;
}

.hobbit-giveaway--bundle .hobbit-giveaway__profile img { border-color: #6bbbd6; }

.hobbit-giveaway--bundle .hobbit-giveaway__steps li {
  border-color: #d8e5eb;
  background: var(--bundle-surface-raised);
}

.hobbit-giveaway--bundle .hobbit-giveaway__step-number {
  background: #c4eaf5;
  color: #16435a;
}

.hobbit-giveaway--bundle .hobbit-giveaway__closing {
  background: #edf6f9;
}

.hobbit-giveaway--bundle .hobbit-giveaway__secondary-action {
  border-color: #126e96;
  background: #ffffff;
  color: var(--bundle-accent);
}

.hobbit-giveaway--bundle .hobbit-giveaway__secondary-action:hover,
.hobbit-giveaway--bundle .hobbit-giveaway__secondary-action:focus {
  border-color: #0d597c;
  background: #e2f3f8;
  color: #0d597c;
}

.hobbit-giveaway--bundle ::selection {
  background: #bfe7f3;
  color: #133542;
}

/* Sorteo Bundle Reality Fracture + MTG Grego */
.scry-reality-top-banner {
  border-bottom: 2px solid #86dfeb;
  background: linear-gradient(90deg, #281843, #44316e);
  color: #ffffff;
}

.scry-reality-top-banner .scry-hobbit-top-banner__badge {
  background: #a8eff4;
  color: #17243c;
}

.scry-reality-top-banner .scry-hobbit-top-banner__copy,
.scry-reality-top-banner .scry-hobbit-top-banner__cta { color: #ffffff; }

.scry-reality-top-banner:focus-visible,
.hobbit-giveaway--reality a:focus-visible { outline-color: #86dfeb; }

.hobbit-giveaway--reality {
  --bundle-surface: #ffffff;
  --bundle-surface-raised: #f4f0fa;
  --bundle-ink: #2a1d43;
  --bundle-muted: #594d70;
  --bundle-accent: #5b2c9f;
}

body:not(.scry-admin-sc2) .hero-bg:not(.hero-bg-home) .hobbit-giveaway--reality h1 {
  font-size: clamp(1.8rem, 2.2vw, 2.25rem) !important;
}

.hobbit-giveaway--reality .hobbit-giveaway__hero,
.hobbit-giveaway--reality .hobbit-giveaway__how-to,
.hobbit-giveaway--reality .hobbit-giveaway__closing { border-color: #ded3ed; }

.hobbit-giveaway--reality .hobbit-giveaway__hero-copy { background: #f8f4ff; }

.hobbit-giveaway--reality .hobbit-giveaway__deadline {
  border-color: #d6bce9;
  background: #eee4fb;
  color: #3f2864;
}

.hobbit-giveaway--reality .hobbit-giveaway__primary-action {
  border-color: #5b2c9f;
  background: #5b2c9f;
  color: #ffffff;
}

.hobbit-giveaway--reality .hobbit-giveaway__primary-action:hover,
.hobbit-giveaway--reality .hobbit-giveaway__primary-action:focus {
  border-color: #46217e;
  background: #46217e;
  color: #ffffff;
}

.hobbit-giveaway--reality .hobbit-giveaway__profile {
  border-color: #d9c5ee;
  background: #f5f0fb;
  color: #30204e;
}

.hobbit-giveaway--reality .hobbit-giveaway__profile:hover,
.hobbit-giveaway--reality .hobbit-giveaway__profile:focus {
  background: #e9def7;
  color: #30204e;
}

.hobbit-giveaway--reality .hobbit-giveaway__profile i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 2px solid #bb9de0;
  border-radius: 50%;
  background: #e9def7;
  color: #5b2c9f;
  font-size: 1rem;
}

.hobbit-giveaway--reality .hobbit-giveaway__steps li {
  border-color: #e3d8ee;
  background: var(--bundle-surface-raised);
}

.hobbit-giveaway--reality .hobbit-giveaway__step-number {
  background: #e0c9f5;
  color: #3b225d;
}

.hobbit-giveaway--reality .hobbit-giveaway__closing { background: #f4ecfb; }

.hobbit-giveaway--reality .hobbit-giveaway__secondary-action {
  border-color: #5b2c9f;
  color: #5b2c9f;
}

.hobbit-giveaway--reality .hobbit-giveaway__secondary-action:hover,
.hobbit-giveaway--reality .hobbit-giveaway__secondary-action:focus {
  border-color: #46217e;
  background: #e9def7;
  color: #46217e;
}

.hobbit-giveaway--reality ::selection {
  background: #e0c9f5;
  color: #2a1d43;
}

/* Deck Builder */
.deckbuilder-results-wrap {
  background: #ffffff;
}

.deckbuilder-results-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  padding: .85rem 1rem;
  border-bottom: 1px solid rgba(15, 23, 42, .1);
}

.deckbuilder-store-sort-wrap {
  display: flex;
  align-items: center;
  gap: .5rem;
  min-width: 0;
}

.deckbuilder-store-sort-label {
  margin: 0;
  color: #526172;
  font-size: .8rem;
  font-weight: 600;
  white-space: nowrap;
}

.deckbuilder-store-sort-wrap .form-select {
  width: auto;
  min-width: 10.75rem;
}

.deckbuilder-results-pane,
.deckbuilder-results-list {
  padding: 1rem;
}

.deckbuilder-results-list > .card:last-child {
  margin-bottom: 0 !important;
}

.deck-store-navigator {
  margin: 1rem 1rem 0;
  padding: 1rem;
  border: 1px solid rgba(15, 155, 150, .22);
  border-radius: 14px;
  background: #f7fffd;
}

.deck-store-navigator__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: .75rem;
  margin-bottom: .8rem;
}

.deck-store-navigator__header strong,
.deck-store-navigator__header span {
  display: block;
}

.deck-store-navigator__header strong {
  color: #1f2937;
  font-size: .98rem;
}

.deck-store-navigator__header div > span,
.deck-store-navigator__header > span {
  margin-top: .16rem;
  color: #526172;
  font-size: .8rem;
  line-height: 1.35;
}

.deck-store-navigator__header > span {
  margin-top: .1rem;
  text-align: right;
  white-space: nowrap;
}

.deck-store-filters {
  margin: 0 0 .8rem;
  border: 1px solid rgba(15, 155, 150, .2);
  border-radius: 12px;
  background: rgba(255, 255, 255, .64);
}

.deck-store-filters summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  min-height: 2.75rem;
  padding: .65rem .75rem;
  cursor: pointer;
  color: #1f2937;
  font-size: .84rem;
  font-weight: 800;
  list-style: none;
}

.deck-store-filters summary::-webkit-details-marker {
  display: none;
}

.deck-store-filters summary::after {
  width: .45rem;
  height: .45rem;
  margin-left: auto;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  content: '';
  transform: rotate(45deg) translateY(-2px);
  transition: transform 160ms ease;
}

.deck-store-filters[open] summary::after {
  transform: rotate(225deg) translateY(-1px);
}

.deck-store-filters__count {
  display: grid;
  width: 1.35rem;
  height: 1.35rem;
  margin-left: .15rem;
  place-items: center;
  border-radius: 50%;
  background: #0f9b96;
  color: #ffffff;
  font-size: .72rem;
  line-height: 1;
}

.deck-store-filters__body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(10.5rem, .55fr);
  gap: .75rem 1rem;
  padding: .75rem;
  border-top: 1px solid rgba(15, 155, 150, .16);
}

.deck-store-filters__methods {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.deck-store-filters__methods legend,
.deck-store-filters__region > span {
  display: block;
  margin: 0 0 .4rem;
  color: #526172;
  font-size: .74rem;
  font-weight: 700;
}

.deck-store-filters__options {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
}

.deck-store-filter-option {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  min-height: 2.25rem;
  padding: .4rem .55rem;
  border: 1px solid rgba(15, 155, 150, .2);
  border-radius: .6rem;
  background: #ffffff;
  color: #344255;
  font-size: .8rem;
  font-weight: 600;
}

.deck-store-filter-option .form-check-input {
  flex: 0 0 auto;
  margin: 0;
}

.deck-store-filters__region {
  min-width: 0;
}

.deck-store-filters__region .form-select {
  min-height: 2.25rem;
}

.deck-store-filters__footer {
  display: flex;
  grid-column: 1 / -1;
  align-items: center;
  justify-content: space-between;
  gap: .65rem;
  color: #526172;
  font-size: .74rem;
  line-height: 1.35;
}

.deck-store-filters__footer .btn-link,
.deck-store-filter-empty .btn-link {
  flex: 0 0 auto;
  color: #08746d;
  font-weight: 700;
  text-decoration: none;
}

.deck-store-filters__footer .btn-link:hover,
.deck-store-filter-empty .btn-link:hover {
  color: #075f5a;
  text-decoration: underline;
}

.deck-store-navigator__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .55rem;
}

.deck-store-navigator__toggle {
  display: block;
  width: fit-content;
  margin: .8rem auto 0;
  font-weight: 700;
}

.deck-store-filter-empty {
  display: grid;
  gap: .3rem;
  padding: .9rem;
  border: 1px dashed rgba(15, 155, 150, .36);
  border-radius: 10px;
  color: #526172;
  font-size: .82rem;
}

.deck-store-filter-empty strong {
  color: #1f2937;
}

.deck-store-summary-card {
  display: grid;
  grid-template-columns: 2.5rem minmax(0, 1fr) auto;
  align-items: center;
  gap: .6rem;
  width: 100%;
  min-width: 0;
  padding: .65rem;
  border: 1px solid rgba(15, 155, 150, .18);
  border-radius: 12px;
  background: #ffffff;
  color: #1f2937;
  text-align: left;
  transition: border-color 160ms ease, background-color 160ms ease, transform 160ms ease;
}

.deck-store-summary-card:hover {
  border-color: #0f9b96;
  background: #edfffb;
  transform: translateY(-1px);
}

.deck-store-summary-card.is-active,
.deck-store-summary-card[aria-current="true"] {
  border-color: #0f9b96;
  background: #e2faf5;
  box-shadow: inset 0 0 0 1px rgba(15, 155, 150, .16);
}

.deck-store-summary-card:focus-visible {
  outline: 0;
  border-color: #0f9b96;
  box-shadow: 0 0 0 3px rgba(63, 193, 178, .28);
}

.deck-store-summary-card__body,
.deck-store-summary-card__title,
.deck-store-summary-card__meta,
.deck-store-summary-card__coverage,
.deck-store-summary-card__coverage span,
.deck-store-summary-card__coverage strong {
  min-width: 0;
}

.deck-store-summary-card__title {
  display: block;
  overflow: hidden;
  color: inherit;
  font-size: .88rem;
  font-weight: 700;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.deck-store-summary-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: .12rem .45rem;
  margin-top: .18rem;
  color: #526172;
  font-size: .74rem;
  line-height: 1.2;
}

.deck-store-summary-card__coverage {
  display: grid;
  justify-items: end;
  color: #0b756d;
  line-height: 1;
  white-space: nowrap;
}

.deck-store-summary-card__coverage strong {
  font-size: 1.05rem;
}

.deck-store-summary-card__coverage span {
  margin-top: .16rem;
  font-size: .7rem;
}

.deck-store-avatar {
  display: grid;
  flex: 0 0 2.5rem;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  aspect-ratio: 1;
  overflow: hidden;
  border: 1px solid rgba(15, 155, 150, .22);
  border-radius: 50%;
  background: #e7faf6;
  color: #075f5a;
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .02em;
  line-height: 1;
}

.deck-store-avatar img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: cover;
  object-position: center;
}

.deck-store-avatar__fallback {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
}

.deck-store-card {
  scroll-margin-top: 5rem;
}

.deck-store-card:focus {
  outline: 0;
  box-shadow: 0 0 0 3px rgba(63, 193, 178, .28);
}

.deck-store-card.is-active {
  box-shadow: 0 0 0 3px rgba(63, 193, 178, .28);
}

.deck-store-card .deck-store-card-header {
  padding: 1rem 1.15rem;
}

.deck-store-scroll-top {
  display: inline-grid;
  flex: 0 0 auto;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  place-items: center;
  border: 1px solid rgba(15, 155, 150, .28);
  border-radius: .6rem;
  background: transparent;
  color: #0b756d;
  transition: border-color 160ms ease, background-color 160ms ease, color 160ms ease;
}

.deck-store-scroll-top svg {
  width: 1rem;
  height: 1rem;
}

.deck-store-scroll-top:hover {
  border-color: #0f9b96;
  background: #edfffb;
  color: #075f5a;
}

.deck-store-scroll-top:focus-visible {
  outline: 0;
  border-color: #0f9b96;
  box-shadow: 0 0 0 3px rgba(63, 193, 178, .28);
}

.deck-store-identity {
  display: flex;
  align-items: center;
  gap: .75rem;
  min-width: 0;
}

.deck-store-identity__body {
  min-width: 0;
}

.deck-store-selection-status {
  margin-top: .45rem;
  color: #08746d;
  font-size: .78rem;
  font-weight: 700;
}

.deck-store-cart-status {
  margin-top: .55rem;
  color: #08746d;
  font-size: .88rem;
  font-weight: 600;
}

.deck-store-remove-btn {
  white-space: nowrap;
}

.deck-store-empty {
  padding: .9rem 1rem;
  color: #5f6c7b;
  font-size: .9rem;
}

.deck-store-item__header {
  padding: .75rem 0 0;
}

.deck-card-result__header {
  margin-bottom: .75rem;
}

.deck-card-result__title,
.deck-store-item__title {
  margin: 0;
  color: var(--scry-text-primary, #1f2937);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.25;
}

.deck-card-result__title span,
.deck-store-item__title span {
  color: var(--scry-text-secondary, #5f6c7b);
  font-size: .82rem;
  font-weight: 700;
  white-space: nowrap;
}

.deck-card-result__details {
  margin-top: .25rem;
  color: var(--scry-text-secondary, #5f6c7b);
  font-size: .82rem;
  line-height: 1.35;
}

.deck-store-item {
  padding: 0;
}

.deck-store-item__content {
  margin-top: .75rem;
}

.deck-card-img {
  display: block;
  flex: 0 0 150px;
  width: 150px;
  min-width: 150px;
  max-width: 100%;
  aspect-ratio: 5 / 7;
  padding: 0;
  border: 0;
  border-radius: .625rem;
  background: transparent;
  box-shadow: 0 4px 6px rgba(0, 0, 0, .1);
  cursor: zoom-in;
}

.deck-card-img img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: cover;
}

.deck-image-lightbox-trigger:focus-visible {
  outline: 3px solid rgba(63, 193, 178, .55);
  outline-offset: 2px;
}

.deck-row-image-trigger {
  display: block;
  padding: 0;
  border: 0;
  border-radius: .375rem;
  background: transparent;
  line-height: 0;
  cursor: zoom-in;
}

.deck-row-img,
.deck-row-image-placeholder {
  display: block;
  width: 65px;
  height: 91px;
  border-radius: .375rem;
}

.deck-row-img {
  object-fit: cover;
}

.deck-row-image-placeholder {
  display: grid;
  place-items: center;
  border: 1px solid var(--scry-border-soft, rgba(15, 23, 42, .12));
  background: var(--scry-surface-1, #f7fffd);
  color: var(--scry-text-muted, #7b8794);
  font-size: .78rem;
  line-height: 1;
}

.deck-row-action-cell {
  width: 56px;
  min-width: 56px;
  white-space: nowrap;
}

.deck-add-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 36px;
  padding: 0;
}

.deck-store-offers-table {
  font-size: .82rem;
}

.deck-store-offers-table thead th {
  font-size: .78rem;
}

.deck-offer-set-code {
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .02em;
}

.deck-store-offers-mobile {
  display: none;
}

.deckbuilder-card-image-modal .modal-dialog {
  width: min(92vw, 420px);
  max-width: none;
}

.deckbuilder-card-image-modal .modal-body {
  display: grid;
  place-items: center;
  padding: 1rem;
}

.deckbuilder-card-image-modal img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: min(72dvh, 640px);
  border-radius: var(--scry-radius-sm, .75rem);
  object-fit: contain;
}

body.deckbuilder-cart-is-loading {
  overflow: hidden;
}

.deckbuilder-cart-loader {
  position: fixed;
  z-index: 2000;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgba(7, 16, 24, .62);
}

.deckbuilder-cart-loader__panel {
  display: flex;
  align-items: center;
  gap: .9rem;
  width: min(100%, 28rem);
  padding: 1rem 1.1rem;
  border: 1px solid rgba(15, 155, 150, .34);
  border-radius: .95rem;
  background: #ffffff;
  box-shadow: 0 18px 42px rgba(2, 6, 23, .28);
  color: #1f2937;
}

.deckbuilder-cart-loader__panel .spinner-border {
  flex: 0 0 auto;
}

.deckbuilder-cart-loader__panel strong,
.deckbuilder-cart-loader__panel span:not(.spinner-border) {
  display: block;
}

.deckbuilder-cart-loader__panel span:not(.spinner-border) {
  margin-top: .18rem;
  color: #5f6c7b;
  font-size: .88rem;
}

@media (prefers-reduced-motion: reduce) {
  .deck-store-summary-card {
    transition: none;
  }

  .deck-store-summary-card:hover {
    transform: none;
  }

  .deckbuilder-cart-loader__panel .spinner-border {
    animation: none;
  }
}

@media (max-width: 575.98px) {
  .deckbuilder-results-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .deckbuilder-store-sort-wrap {
    justify-content: space-between;
  }

  .deckbuilder-store-sort-wrap .form-select {
    flex: 1 1 auto;
    width: auto;
  }

  .deckbuilder-results-pane,
  .deckbuilder-results-list {
    padding: .75rem;
  }

  .deck-store-navigator {
    margin: .75rem .75rem 0;
    padding: .8rem;
  }

  .deck-store-navigator__grid {
    grid-template-columns: 1fr;
  }

  .deck-store-filters__body {
    grid-template-columns: 1fr;
  }

  .deck-store-filters__footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .deck-store-filter-option {
    flex: 1 1 100%;
  }

  .deck-store-card .deck-store-card-header {
    padding: .9rem;
  }

  .deck-store-card-header > .d-flex:last-child {
    flex-basis: 100%;
    justify-content: flex-start !important;
  }

  .deck-card-img {
    flex-basis: 120px;
    width: 120px;
    min-width: 120px;
  }

  .deck-store-offers-desktop {
    display: none;
  }

  .deck-store-offers-mobile {
    display: grid;
  }

  .deck-offer-mobile {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 44px 50px;
    grid-template-areas:
      "price action image"
      "meta meta meta";
    align-items: center;
    gap: .45rem .6rem;
    padding: .55rem .65rem;
    border-top: 1px solid var(--scry-border-default, rgba(15, 23, 42, .1));
    color: var(--scry-text-primary, #1f2937);
    font-size: .78rem;
    line-height: 1.25;
  }

  .deck-offer-mobile:first-child {
    border-top: 0;
  }

  .deck-offer-mobile--readonly {
    grid-template-columns: minmax(0, 1fr) 50px;
    grid-template-areas:
      "price image"
      "meta meta";
  }

  .deck-offer-mobile__price {
    grid-area: price;
    min-width: 0;
    color: var(--scry-text-primary, #1f2937);
    font-size: .9rem;
    font-weight: 800;
    line-height: 1.1;
    white-space: nowrap;
  }

  .deck-offer-mobile__action {
    grid-area: action;
  }

  .deck-offer-mobile__image {
    grid-area: image;
    justify-self: end;
  }

  .deck-offer-mobile__meta {
    display: flex;
    grid-area: meta;
    flex-wrap: wrap;
    gap: .18rem .45rem;
    color: var(--scry-text-secondary, #5f6c7b);
  }

  .deck-offer-mobile__meta span:not(:last-child)::after {
    margin-left: .45rem;
    color: var(--scry-text-muted, #7b8794);
    content: "·";
  }

  .deck-offer-mobile .deck-add-btn {
    width: 44px;
    height: 44px;
  }

  .deck-offer-mobile .deck-row-img,
  .deck-offer-mobile .deck-row-image-placeholder {
    width: 50px;
    height: 70px;
  }
}

@media (max-width: 991.98px) {
  .hobbit-giveaway__prize-panel { min-height: 0; }
  .hobbit-giveaway__steps { grid-template-columns: 1fr; }
}

@media (max-width: 575.98px) {
  .scry-hobbit-top-banner { gap: .5rem; padding: .42rem .6rem; }
  .scry-hobbit-top-banner__badge { display: none; }
  .scry-hobbit-top-banner__copy { font-size: .8rem; }
  .scry-hobbit-top-banner__cta { padding: .34rem .5rem; font-size: .68rem; }
  .hobbit-giveaway__hero-copy { padding: 1.5rem; }
  .hobbit-giveaway__primary-action,
  .hobbit-giveaway__secondary-action { width: 100%; }
  .hobbit-giveaway__deadline { align-items: flex-start; }
  .hobbit-giveaway__closing { align-items: stretch; flex-direction: column; }
}

/* Acciones de pago con precio final independiente del proveedor. */
.payment-provider-options { margin-top: var(--scry-space-5); }
.payment-provider-options h3 {
  margin: 0 0 var(--scry-space-2);
  color: var(--scry-text-primary);
  font-size: 1rem;
  font-weight: 800;
}
.payment-provider-actions { display: grid; gap: var(--scry-space-3); margin-top: var(--scry-space-4); }
.payment-provider-button {
  display: flex;
  align-items: center;
  gap: var(--scry-space-3);
  width: 100%;
  min-height: 80px;
  padding: var(--scry-space-3);
  border: 1px solid var(--scry-accent-primary-strong);
  border-radius: var(--scry-radius-sm);
  background: var(--scry-payment-action-bg);
  color: var(--scry-text-primary);
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 120ms ease-out, transform 120ms ease-out;
}
.payment-provider-button:hover:not(:disabled):not([aria-disabled="true"]) {
  color: var(--scry-text-primary);
  background: var(--scry-payment-action-hover);
}
.payment-provider-button:active:not(:disabled):not([aria-disabled="true"]) {
  background: var(--scry-payment-action-pressed);
  transform: translateY(1px);
}
.payment-provider-button:focus-visible {
  outline: 2px solid var(--scry-text-primary);
  outline-offset: 3px;
}
.payment-provider-button:disabled, .payment-provider-button[aria-disabled="true"] {
  background: var(--scry-surface-0);
  border-color: var(--scry-border-strong);
  cursor: default;
  opacity: .65;
}
@media (prefers-reduced-motion: reduce) {
  .payment-provider-button { transition: none; }
  .payment-provider-button:active:not(:disabled):not([aria-disabled="true"]) { transform: none; }
}
.payment-provider-button__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 88px;
  height: 44px;
  padding: 4px;
  border-radius: 4px;
  background: #fff; /* Superficie de marca: conserva los colores oficiales en ambos temas. */
}
.payment-provider-button__logo img { display: block; width: 100%; height: 32px; object-fit: contain; }
.payment-provider-button__copy { flex: 1; min-width: 0; }
.payment-provider-button__copy strong { display: block; font-size: 1rem; line-height: 1.35; }
.payment-provider-button__copy small, .payment-provider-note {
  display: block;
  color: var(--scry-text-secondary);
  font-size: .875rem;
  line-height: 1.45;
}
.payment-provider-button__copy small { margin-top: var(--scry-space-1); }
.payment-provider-button__arrow { flex: 0 0 18px; }
.payment-provider-note { margin: 0; }
.payment-provider-failed { margin-top: var(--scry-space-2); }
@media (max-width: 991.98px) and (min-width: 768px) {
  .payment-page > .row > .col-md-8, .payment-page > .row > .col-md-4 { width: 100%; }
  .payment-page > .row > .col-md-4 { margin-top: var(--scry-space-5) !important; }
}
@media (max-width: 575.98px) {
  .payment-provider-button__logo { flex-basis: 72px; }
}

/* Ayuda contextual del cargo: misma estructura en ambos temas. */
.payment-fee-help {
  display: block;
  min-height: 24px;
  margin-top: var(--scry-space-1, 4px);
  padding: 4px 0;
  border: 0;
  background: transparent;
  color: var(--scry-text-primary);
  font: inherit;
  font-size: .875rem;
  font-weight: 400;
  line-height: 1.4;
  text-align: left;
  text-decoration: underline;
  text-underline-offset: .2em;
  cursor: pointer;
}
.payment-fee-help:hover { text-decoration-thickness: 2px; }
.payment-fee-help:focus-visible {
  outline: 2px solid var(--scry-text-primary);
  outline-offset: 3px;
}

.payment-fee-breakdown { width: 100%; margin-bottom: 1.5rem; color: var(--scry-text-primary); }
.payment-fee-breakdown caption { caption-side: top; padding: 0 0 .75rem; color: inherit; font-weight: 700; }
.payment-fee-breakdown th, .payment-fee-breakdown td { padding: .65rem 0; border-bottom: 1px solid var(--scry-border-soft); vertical-align: top; }
.payment-fee-breakdown th { font-weight: 400; }
.payment-fee-breakdown td { padding-left: 1rem; text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.payment-fee-breakdown__total th, .payment-fee-breakdown__total td { font-weight: 700; }

.scry-support-image-preview {
  max-height: 75vh;
  object-fit: contain;
}

/* Agrupación de medios para pagos adicionales, con la misma estructura en ambos temas. */
.payment-provider-group-title { margin: 0; color: var(--scry-text-primary); font-size: .875rem; font-weight: 700; line-height: 1.5; }
.payment-provider-group-title--others { margin-top: var(--scry-space-3); }

/* Información de atención compartida por soporte y los puntos de ayuda. */
.scry-support-attention {
  margin: 0 0 1.25rem;
  padding: 1rem;
  border: 1px solid;
  border-radius: 1rem;
  font-size: .875rem;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.scry-support-attention p { max-width: 75ch; margin: 0; }
.scry-support-attention p + p { margin-top: .4rem; }
.scry-support-attention--compact { margin: .75rem 0; padding: 0; border: 0; border-radius: 0; }
.scry-support-attention__average { font-variant-numeric: tabular-nums; }
.admin-footer-signature { flex-wrap: wrap; }
.admin-footer-signature__support-hours { order: 1; flex: 0 0 100%; line-height: 1.5; }

/* Presentación ampliada de la tienda; misma estructura en ambos temas. */
.scry-store-about-text {
  white-space: pre-line;
  overflow-wrap: anywhere;
  line-height: 1.6;
  color: var(--scry-text-secondary);
}

.scry-blue-envio .form-control,
.scry-blue-envio .form-select {
  color: var(--scry-text-primary);
  background-color: var(--scry-surface-elevated);
  border-color: var(--scry-border-default);
}
.scry-blue-envio .form-control::placeholder { color: var(--scry-text-secondary); }


/* Selector de correo: excepción acotada al radio oculto por custom.css. */
.scry-shipping-choice__option {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 3.5rem;
  margin: 0 0 0.65rem;
  padding: 0.8rem 0.9rem;
  border: 1px solid var(--scry-border-soft);
  border-radius: 0.75rem;
  color: var(--scry-text-primary);
  background: var(--scry-surface-elevated);
  cursor: pointer;
}
.scry-shipping-choice .scry-shipping-choice__radio {
  display: block;
  position: static;
  opacity: 1;
  appearance: auto;
  width: 1.2rem;
  height: 1.2rem;
  flex: 0 0 1.2rem;
  margin: 0;
  accent-color: var(--scry-accent-primary);
}
.scry-shipping-choice__option small { color: var(--scry-text-secondary); line-height: 1.4; }
.scry-shipping-choice__option:hover,
.scry-shipping-choice__option:has(input:checked) { border-color: var(--scry-accent-primary); }
.scry-shipping-choice__option:focus-within { outline: 2px solid var(--scry-accent-primary); outline-offset: 2px; }
.scry-shipping-path { padding: 1rem; }
.scry-shipping-path .btn { min-height: 2.75rem; }
.scry-shipping-path .scry-shipping-path__change-link { min-height: 0; font: inherit; vertical-align: baseline; }
.scry-shipping-path__status { color: var(--scry-text-secondary); }

/* Preparación Blue dentro de Acciones: cabecera estable y contenido desplazable. */
.scry-chat-operations-panel--blue .scry-chat-operations-panel__header { flex: 0 0 auto; }
.scry-chat-operations-panel--blue .scry-chat-operations-panel__body {
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
}
.scry-blue-envio[data-blue-seller] { padding: 0 1rem 1rem; text-align: left; }
.scry-blue-quote-form { display: grid; gap: 1rem; }
.scry-blue-quote-read dl { display: grid; gap: 0.75rem 1.5rem; margin: 0; }
.scry-blue-quote-read dt { color: var(--scry-text-secondary); font-size: 0.8rem; font-weight: 600; }
.scry-blue-quote-read dd { margin: 0.15rem 0 0; color: var(--scry-text-primary); overflow-wrap: anywhere; }
.scry-blue-quote-review:has(> details[open]) > .scry-blue-quote-read { display: none; }
.scry-blue-quote-details--saved summary { display: flex; align-items: center; min-height: 44px; width: fit-content; color: var(--scry-accent-primary); cursor: pointer; text-decoration: underline; text-underline-offset: 0.2em; list-style: none; }
.scry-blue-quote-details--saved summary::-webkit-details-marker { display: none; }
.scry-blue-quote-details--saved summary:focus-visible { outline: 2px solid var(--scry-accent-primary); outline-offset: 2px; }
.scry-blue-quote-details--saved .scry-blue-quote-details__open,
.scry-blue-quote-details--saved[open] .scry-blue-quote-details__closed { display: none; }
.scry-blue-quote-details--saved[open] .scry-blue-quote-details__open { display: inline; }
.scry-blue-quote-group {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.75rem;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}
.scry-blue-quote-group legend { grid-column: 1 / -1; float: none; font-size: 0.95rem; font-weight: 700; margin-bottom: 0.5rem; }
.scry-blue-quote-group .form-label { font-size: 0.85rem; margin-bottom: 0.3rem; }
.scry-blue-quote-group .form-control,
.scry-blue-quote-group .form-select { min-height: 44px; font-size: 1rem; }
.scry-blue-quote-group--package { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 576px) {
  .scry-blue-quote-read dl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .scry-blue-quote-group { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .scry-blue-quote-group legend,
  .scry-blue-quote-wide,
  .scry-blue-quote-group:first-of-type > div:first-of-type { grid-column: 1 / -1; }
}
@media (min-width: 992px) {
  .scry-chat-operations-panel.scry-chat-operations-panel--blue {
    height: 90vh;
    height: 90dvh;
    min-height: 0;
    max-height: 54rem;
    align-self: start;
  }
}
@media (max-width: 991.98px) {
  .scry-chat-operations-panel.scry-chat-operations-panel--blue {
    height: 90vh;
    height: 90dvh;
    max-height: 90vh;
    max-height: 90dvh;
  }
  .scry-chat-operations-panel--blue .scry-chat-operations-panel__body { flex-basis: 0; }
}

/* Pago del flete: misma acción dentro del panel en ambos tamaños. */
.scry-chat-operations-panel .scry-blue-envio:not([data-blue-seller]) { padding: 0 1rem 1rem; text-align: left; }
.scry-blue-buyer-actions { flex-direction: column; align-items: stretch; }
.scry-blue-buyer-actions form { margin: 0; }
.scry-blue-buyer-actions .btn { width: 100%; min-height: 44px; }
.scry-chat-operations-panel .scry-inline-modal-link { text-decoration: underline; text-underline-offset: 0.2em; }

/* Estado vendedor: resumen compacto y siguiente paso, sin altura vacía. */
.scry-blue-shipment-summary { margin: 1rem 0; padding-bottom: 1rem; border-bottom: 1px solid var(--scry-border-soft); }
.scry-blue-shipment-summary > p:first-child { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.3rem 0.65rem; }
.scry-blue-shipment-summary strong { font-size: 1.5rem; line-height: 1.25; }
.scry-blue-shipment-summary > p:last-child { margin: 0.5rem 0 0; }
.scry-blue-shipment-status { display: grid; gap: 0.5rem; margin: 1rem 0; padding: 1rem; border-radius: 0.75rem; background: var(--scry-surface-elevated); border: 1px solid var(--scry-border-soft); color: var(--scry-text-primary); }
.scry-blue-shipment-status p { color: var(--scry-text-secondary); line-height: 1.5; }
.scry-blue-seller-actions { flex-direction: column; align-items: stretch; }
.scry-blue-seller-actions form { margin: 0; }
.scry-blue-seller-actions .btn { width: 100%; min-height: 44px; }
.scry-blue-qa-simulation { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--scry-border-soft); color: var(--scry-text-primary); }
.scry-blue-qa-simulation .small { color: var(--scry-text-secondary); line-height: 1.5; }
.scry-blue-qa-simulation form { margin: 0; }
.scry-blue-qa-simulation .btn { width: 100%; min-height: 44px; white-space: normal; }
.scry-chat-operations-panel.scry-chat-operations-panel--blue-status {
  height: auto;
  min-height: 0;
  max-height: 90vh;
  max-height: 90dvh;
}
.scry-chat-operations-panel--blue-status .scry-chat-operations-panel__body { flex: 1 1 auto; }

/* Comprador Blue: destino secundario y estado de cobro legible. */
.scry-blue-destination { padding: 0.75rem 1rem; text-align: left; border-bottom: 1px solid var(--scry-border-soft); }
.scry-blue-destination summary { min-height: 44px; color: var(--scry-text-primary); font-weight: 600; cursor: pointer; overflow-wrap: anywhere; }
.scry-blue-destination[open] summary { margin-bottom: 0.5rem; }
.scry-blue-destination summary:focus-visible { outline: 2px solid var(--scry-accent-primary); outline-offset: 2px; }
.scry-blue-buyer-actions .scry-blue-payment-query { color: var(--scry-text-secondary); background: transparent; border: 0; text-decoration: underline; text-underline-offset: 0.2em; }

/* /buscar: public catalog entry, shared geometry for both themes. */
.scry-search-landing {
  padding-top: 2.25rem;
  padding-bottom: 2.5rem;
  color: var(--scry-text-primary);
}
.scry-search-intro { margin-bottom: 1.5rem; max-width: 75ch; }
.scry-search-intro h1 { font-size: clamp(1.75rem, 3.2vw, 2.75rem); font-weight: 900; line-height: 1.12; letter-spacing: -.025em; margin: 0 0 .75rem; text-wrap: balance; }
.scry-search-intro p { color: var(--scry-text-secondary); line-height: 1.5; margin: 0 0 .5rem; }
.scry-search-intro .scry-search-catalog { font-size: .9rem; }
.scry-search-catalog strong { color: var(--scry-text-primary); font-variant-numeric: tabular-nums; }
.scry-search-workspace { background: var(--scry-surface-1); border: 1px solid var(--scry-border-default); border-radius: 1rem; }
.scry-search-modes { display: grid; grid-template-columns: repeat(3, minmax(max-content, 1fr)); overflow-x: auto; max-width: 38rem; gap: .35rem; padding: .65rem; margin: 0; }
.scry-search-modes li { min-width: 0; }
.scry-search-modes .nav-link { min-height: 46px; width: 100%; padding: .65rem .5rem; border: 0; border-radius: .65rem; color: var(--scry-text-secondary); background: transparent; font-weight: 700; line-height: 1.2; white-space: nowrap; }
.scry-search-modes .nav-link:hover { background: var(--scry-surface-3); color: var(--scry-text-primary); }
.scry-search-modes .nav-link.active { color: var(--scry-text-primary); background: var(--scry-accent-primary-soft); box-shadow: inset 0 -2px 0 var(--scry-accent-primary); }
.scry-search-panels { padding: 1.15rem 1.5rem 1rem; border-top: 1px solid var(--scry-border-default); }
.scry-search-panels .form-label { font-size: .95rem; font-weight: 700; margin-bottom: .5rem; }
.scry-search-panel-title { font-size: 1.25rem; font-weight: 800; margin: 0 0 .65rem; }
.scry-search-input-row { display: flex; align-items: start; gap: .65rem; }
.scry-search-input-wrap { position: relative; flex: 1; min-width: 0; }
.scry-search-landing .form-control,
.scry-search-landing .form-select { min-height: 48px; border-radius: .75rem; background-color: var(--scry-surface-0); border-color: var(--scry-border-default); color: var(--scry-text-primary); font-size: 1rem; caret-color: var(--scry-accent-primary-strong); }
.scry-search-landing .form-control::placeholder { color: var(--scry-text-secondary); opacity: 1; }
.scry-search-landing .btn { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; white-space: nowrap; }
.scry-search-help { font-size: .875rem; color: var(--scry-text-secondary); line-height: 1.5; margin: .65rem 0 0; }
.scry-search-trust { display: flex; align-items: center; flex-wrap: wrap; gap: .35rem .5rem; font-size: .875rem; line-height: 1.5; padding: 1rem 1.5rem; margin: 0; border-top: 1px solid var(--scry-border-default); color: var(--scry-text-secondary); }
.scry-search-trust > span { flex: 1; min-width: 0; }
.scry-search-trust i { color: var(--scry-accent-primary-strong); }
.scry-search-landing a { text-underline-offset: .2em; }
.scry-search-landing a:not(.btn):not(.scry-search-card) { color: var(--scry-text-primary); }
.scry-search-landing :is(button, input, select, summary, a):focus-visible { outline: 3px solid var(--scry-accent-primary-strong); outline-offset: 3px; }
.scry-search-landing ::selection { background: var(--scry-accent-primary); color: #071018; }
.scry-search-suggestions { position: absolute; left: 0; right: 0; top: calc(100% + .4rem); max-height: min(380px, 45vh); overflow-y: auto; z-index: 20; padding: .5rem; background: var(--scry-surface-0); border: 1px solid var(--scry-border-default); border-radius: .75rem; box-shadow: var(--scry-shadow-lg); }
.scry-search-suggestions[hidden] { display: none; }
.scry-search-suggestion { display: flex; flex-direction: column; align-items: start; gap: .3rem; width: 100%; min-height: 64px; padding: .75rem; border: 0; border-radius: .5rem; text-align: left; background: transparent; color: var(--scry-text-primary); }
.scry-search-suggestion:hover,
.scry-search-suggestion[aria-selected="true"] { background: var(--scry-accent-primary-soft); }
.scry-search-suggestion span { color: var(--scry-text-secondary); font-size: .875rem; }
.scry-search-commander-suggestions { max-height: min(340px, 45vh); overflow-y: auto; }
.scry-search-commander-suggestions .dropdown-item { white-space: normal; min-height: 60px; }
.scry-search-recent { margin-top: 1rem; }
.scry-search-recent p { margin: 0 0 .5rem; font-size: .875rem; font-weight: 700; }
.scry-search-chip-group { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.scry-search-history-item { display: inline-flex; align-items: center; background: var(--scry-surface-2); border: 1px solid var(--scry-border-default); border-radius: .65rem; }
.scry-search-history-item a { padding: .65rem .5rem .65rem .75rem; font-size: .875rem; }
.scry-search-history-item button,
.scry-search-clear-history { min-width: 44px; min-height: 44px; background: transparent; border: 0; color: var(--scry-text-secondary); }
.scry-search-clear-history { margin-top: .4rem; padding: .5rem 0; text-decoration: underline; text-underline-offset: .2em; font-size: .875rem; }
.scry-search-filter-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-top: 1rem; }
.scry-search-budget { display: grid; grid-template-columns: minmax(120px, .8fr) minmax(0, 1fr); gap: .5rem; }
.scry-search-optional { color: var(--scry-text-secondary); font-weight: 400; }
.scry-search-filters fieldset { margin: 1.25rem 0; padding: 0; }
.scry-search-filters legend { font-size: .95rem; font-weight: 700; margin-bottom: .5rem; }
.scry-search-choice { position: relative; display: inline-flex; cursor: pointer; }
.scry-search-choice input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.scry-search-choice span { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: .5rem .85rem; background: var(--scry-surface-0); border: 1px solid var(--scry-border-default); border-radius: .65rem; font-size: .9rem; color: var(--scry-text-primary); }
.scry-search-choice input:checked + span { background: var(--scry-accent-primary-soft); border-color: var(--scry-accent-primary-strong); box-shadow: inset 0 -2px 0 var(--scry-accent-primary-strong); font-weight: 700; }
.scry-search-choice input:focus-visible + span { outline: 3px solid var(--scry-accent-primary-strong); outline-offset: 3px; }
.scry-search-filters details { border-top: 1px solid var(--scry-border-default); padding: .25rem 0; }
.scry-search-filters summary { min-height: 48px; padding: .75rem 0; cursor: pointer; font-weight: 700; color: var(--scry-text-primary); }
.scry-search-filters details[open] { padding-bottom: 1rem; }
.scry-search-active { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.scry-search-active button { min-height: 44px; padding: .5rem .75rem; background: var(--scry-accent-primary-soft); border: 1px solid var(--scry-border-default); border-radius: .65rem; color: var(--scry-text-primary); font-size: .875rem; }
.scry-search-filter-actions { display: flex; justify-content: flex-end; gap: .65rem; padding-top: 1rem; }
.scry-search-shortcuts { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .75rem; margin: 1.25rem 0 2rem; }
.scry-search-shortcuts span { color: var(--scry-text-secondary); font-size: .875rem; }
.scry-search-shortcuts a { min-height: 44px; display: inline-flex; align-items: center; padding: .5rem .8rem; border: 1px solid var(--scry-border-default); border-radius: .65rem; background: var(--scry-surface-1); font-size: .9rem; }
.scry-search-section-heading { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.scry-search-section-heading h2,
.scry-search-about h2 { font-size: 1.5rem; line-height: 1.25; font-weight: 800; margin: 0 0 .5rem; }
.scry-search-section-heading p { color: var(--scry-text-secondary); margin: 0; font-size: .95rem; }
.scry-search-section-heading > a { flex-shrink: 0; min-height: 44px; display: inline-flex; align-items: center; gap: .5rem; }
.scry-search-card-grid { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 1rem; }
.scry-search-card { min-width: 0; color: var(--scry-text-primary); text-decoration: none; }
.scry-search-card:hover { color: var(--scry-text-primary); }
.scry-search-card-media { aspect-ratio: 146 / 204; border-radius: .75rem; overflow: hidden; background: var(--scry-surface-1); }
.scry-search-card img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; transition: transform .18s ease-out; }
.scry-search-card:hover img { transform: scale(1.025); }
.scry-search-card h3 { font-size: .95rem; line-height: 1.35; font-weight: 700; margin: .65rem 0 .35rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.7em; }
.scry-search-card-meta,
.scry-search-card-store { color: var(--scry-text-secondary); font-size: .8rem; margin: 0 0 .3rem; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.scry-search-card-price { color: var(--scry-text-primary); font-size: 1rem; font-weight: 800; margin: 0 0 .3rem; font-variant-numeric: tabular-nums; }
.scry-search-card-price span { font-size: .7rem; font-weight: 400; color: var(--scry-text-secondary); }
.scry-search-about { max-width: 75ch; margin-top: 2.5rem; }
.scry-search-about p { color: var(--scry-text-secondary); line-height: 1.6; }
@media (max-width: 1199.98px) { .scry-search-card-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 575.98px) {
  .scry-search-landing { padding-top: 1.25rem; }
  .scry-search-intro { margin-bottom: 1rem; }
  .scry-search-panels { padding: 1rem; }
  .scry-search-input-row { flex-direction: column; }
  .scry-search-input-row > * { width: 100%; }
  .scry-search-trust { padding: .85rem 1rem; }
  .scry-search-filter-row { grid-template-columns: 1fr; gap: .85rem; }
  .scry-search-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem .75rem; }
  .scry-search-section-heading { align-items: start; flex-direction: column; gap: .5rem; }
  .scry-search-section-heading h2, .scry-search-about h2 { font-size: 1.3rem; }
  .scry-search-filter-actions .btn { flex: 1; }
}
@media (prefers-reduced-motion: reduce) { .scry-search-card img { transition: none; } .scry-search-card:hover img { transform: none; } }

.scry-search-subtype-options { display: flex; flex-wrap: wrap; gap: .5rem; max-height: 17rem; overflow-y: auto; padding: .5rem .25rem; margin-top: .5rem; scrollbar-color: var(--scry-border-default) var(--scry-surface-0); }
.scry-search-subtype-options [hidden] { display: none; }
.scry-search-subtypes .scry-search-choice span { justify-content: flex-start; overflow-wrap: anywhere; }

.scry-search-subtype-summary { display: inline-flex; padding: .35rem .6rem; border: 1px solid var(--scry-border-default); border-radius: .65rem; background: var(--scry-surface-0); color: var(--scry-text-primary); font-size: .85rem; }

/* Wishlist: estructura compartida; colores y estados viven en scry-theme.css. */
.wishlist-page-header { display: grid; gap: .35rem; }
.wishlist-selection { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem; border: 1px solid; border-radius: var(--scry-radius-sm); }
.wishlist-selection > div { min-width: 0; }
.wishlist-selection .btn { flex: 0 0 auto; min-height: 44px; }
.wishlist-clear-btn { min-width: 44px; min-height: 44px; }
.wishlist-login-note { display: flex; align-items: center; gap: .55rem; font-size: .875rem; }
.wishlist-undo { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.wishlist-undo .btn { flex: 0 0 auto; min-height: 40px; }
.wishlist-list-state { display: flex; align-items: center; gap: .75rem; min-height: 76px; padding: 1rem; border: 1px dashed; border-radius: var(--scry-radius-sm); }
.wishlist-list-state > i { flex: 0 0 auto; font-size: 1.2rem; }
.wishlist-list-state .btn { margin-left: auto; min-height: 40px; }
.wishlist-saved-list { display: grid; gap: .75rem; }
.wishlist-saved-item { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; align-items: center; gap: 1rem; padding: .85rem; border: 1px solid; border-radius: var(--scry-radius-sm); transition: opacity .15s ease-out; }
.wishlist-saved-item.is-removing { opacity: .56; }
.wishlist-saved-item__media { display: grid; place-items: center; width: 64px; aspect-ratio: 5 / 7; overflow: hidden; border-radius: .45rem; }
.wishlist-saved-item__media img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.wishlist-saved-item__body { min-width: 0; }
.wishlist-saved-item__body h3 { margin: 0 0 .2rem; overflow-wrap: anywhere; font-size: 1rem; line-height: 1.3; font-weight: 800; }
.wishlist-saved-item__scope { margin: 0 0 .55rem; font-size: .82rem; }
.wishlist-saved-item__reference { margin: -.35rem 0 .55rem; font-size: .74rem; line-height: 1.35; }
.wishlist-saved-item__availability { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .75rem; }
.wishlist-saved-item__price { font-size: .86rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.wishlist-saved-item__actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: .35rem; }
.wishlist-saved-item__actions .btn { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; white-space: nowrap; }
.wishlist-remove-btn { padding-right: .7rem; padding-left: .7rem; }
.wishlist-scope-editor { grid-column: 1 / -1; margin-top: .1rem; padding-top: 1rem; border-top: 1px solid; }
.wishlist-scope-editor__heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.wishlist-scope-editor__heading h4 { margin: 0 0 .3rem; font-size: 1rem; font-weight: 800; }
.wishlist-scope-editor__heading p { max-width: 68ch; margin: 0; font-size: .84rem; line-height: 1.45; }
.wishlist-scope-editor__heading .btn { min-height: 40px; flex: 0 0 auto; }
.wishlist-scope-editor__grid { display: grid; grid-template-columns: minmax(280px, 1.35fr) minmax(210px, .8fr) minmax(170px, auto); align-items: start; gap: .85rem; }
.wishlist-scope-editor__grid .form-select { min-height: 44px; }
.wishlist-scope-editor__language-note { max-width: 46ch; }
.wishlist-scope-editor__preview { display: flex; align-items: center; gap: .65rem; min-height: 124px; padding-top: 1.85rem; }
.wishlist-scope-editor__preview-trigger { position: relative; width: 84px; flex: 0 0 auto; padding: 0; border: 1px solid; border-radius: var(--scry-radius-sm); background: transparent; overflow: hidden; cursor: zoom-in; }
.wishlist-scope-editor__preview-trigger img { display: block; width: 100%; aspect-ratio: 5 / 7; object-fit: cover; object-position: center; }
.wishlist-scope-editor__zoom { position: absolute; right: .35rem; bottom: .35rem; display: grid; place-items: center; width: 1.8rem; height: 1.8rem; border-radius: 999px; font-size: .75rem; }
.wishlist-scope-editor__preview.is-missing img { opacity: .82; }
.wishlist-scope-editor__missing-copy { max-width: 18ch; font-size: .78rem; line-height: 1.35; overflow-wrap: anywhere; }
.wishlist-image-lightbox__figure { display: grid; justify-items: center; gap: .85rem; margin: 0; }
.wishlist-image-lightbox__image { display: block; width: min(100%, 420px); max-height: 72vh; border-radius: var(--scry-radius-sm); object-fit: contain; }
.wishlist-image-lightbox__caption { max-width: 60ch; font-size: .875rem; line-height: 1.45; text-align: center; }
.wishlist-scope-editor__actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .6rem; margin-top: 1rem; }
.wishlist-scope-editor__actions .btn { min-height: 44px; }
.wishlist-scope-editor__loading,
.wishlist-scope-editor__error { display: flex; align-items: center; gap: .7rem; min-height: 64px; }
.wishlist-scope-editor__error { flex-wrap: wrap; }
.wishlist-scope-editor__error span { flex: 1 1 100%; }
.wishlist-scope-editor__feedback { margin: .85rem 0 0; }
.wishlist-refresh-btn { min-height: 44px; }
.wishlist-preference-summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.wishlist-preference-summary .btn { min-height: 44px; }
.wishlist-preference-panel { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid; }
.wishlist-preference-panel[hidden], .wl-suggest-list[hidden] { display: none !important; }
.wishlist-secondary-action { min-height: 44px; }
@media (max-width: 575.98px) {
  .wishlist-selection { align-items: stretch; flex-direction: column; }
  .wishlist-selection .btn { width: 100%; }
  .wishlist-saved-item { grid-template-columns: 52px minmax(0, 1fr); align-items: start; gap: .75rem; }
  .wishlist-saved-item__media { width: 52px; }
  .wishlist-saved-item__actions { grid-column: 1 / -1; justify-content: stretch; }
  .wishlist-saved-item__actions .btn { flex: 1; }
  .wishlist-scope-btn { flex-basis: 100% !important; }
  .wishlist-scope-editor { padding-top: .85rem; }
  .wishlist-scope-editor__heading { align-items: stretch; flex-direction: column; gap: .35rem; }
  .wishlist-scope-editor__heading .btn { align-self: flex-start; padding-left: 0; }
  .wishlist-scope-editor__grid { grid-template-columns: 1fr; gap: .75rem; }
  .wishlist-scope-editor__preview { padding-top: 0; }
  .wishlist-scope-editor__actions { align-items: stretch; flex-direction: column; }
  .wishlist-scope-editor__actions .btn { width: 100%; }
  .wishlist-list-state { align-items: flex-start; flex-wrap: wrap; }
  .wishlist-list-state .btn { width: 100%; margin-left: 0; }
  .wishlist-undo { align-items: flex-start; flex-direction: column; }
  .wishlist-undo .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .wishlist-saved-item { transition: none; } }


/* Persistent seller activity, shared by public and seller navigation. */
.scry-notifications { flex: 0 0 auto; margin-left: .5rem; }
.scry-notice-bell { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: var(--scry-radius-sm); text-decoration: none; }
.scry-notice-bell svg, .scry-notice-close svg { width: 24px; height: 24px; }
.scry-notice-badge { position: absolute; top: 0; right: -3px; min-width: 20px; padding: 1px 4px; border-radius: 10px; font-size: .75rem; line-height: 18px; font-weight: 700; text-align: center; }
.scry-notice-panel { position: fixed; z-index: 1080; width: min(420px, calc(100vw - 24px)); display: flex; flex-direction: column; border-radius: var(--scry-radius-md); box-shadow: var(--scry-shadow-lg); overflow: hidden; }
.scry-notice-panel[hidden], .scry-notice-badge[hidden] { display: none; }
.scry-notice-panel-heading { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .25rem 1rem; }
.scry-notice-panel-heading h2 { font-size: 1.18rem; line-height: 1.3; font-weight: 800; margin: 0; }
.scry-notice-close { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 44px; width: 44px; height: 44px; border: 0; border-radius: var(--scry-radius-sm); background: transparent; }
.scry-notice-tabs { display: flex; gap: .25rem; padding: 0 .75rem; border-bottom: 1px solid var(--scry-border-default); }
.scry-notice-tabs button { min-height: 44px; padding: .5rem .75rem; border: 0; border-bottom: 2px solid transparent; background: transparent; font-size: .875rem; font-weight: 700; }
.scry-notice-panel-content { overflow-y: auto; overscroll-behavior: contain; min-height: 0; }
.scry-notice-list { list-style: none; padding: 0; margin: 0; }
.scry-notice-row { padding: 1rem 1.25rem; border-top: 1px solid var(--scry-border-default); }
.scry-notice-panel .scry-notice-row { padding: .25rem 1rem; }
.scry-notice-panel .scry-notice-row-heading strong { line-height: 1.25; }
.scry-notice-panel .scry-notice-meta { gap: 0 .5rem; margin-top: 0; }
.scry-notice-panel .scry-notice-category { margin-bottom: 0; }
.scry-notice-panel .scry-notice-actions { margin-top: 0; }
.scry-notice-panel .scry-notice-actions a, .scry-notice-panel .scry-notice-read { min-height: 36px; }
@media (pointer: coarse) {
  .scry-notice-panel .scry-notice-actions a, .scry-notice-panel .scry-notice-read { min-height: 44px; }
}
.scry-notice-meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: .125rem .75rem; margin-top: .125rem; }
.scry-notice-meta .scry-notice-order { margin: 0; }
.scry-notice-copy { min-width: 0; overflow-wrap: anywhere; }
.scry-notice-row-heading { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .25rem .75rem; }
.scry-notice-row-heading strong { font-size: 1rem; line-height: 1.4; }
.scry-notice-read-state { display: inline-flex; align-items: center; gap: .3rem; font-size: .75rem; font-weight: 700; white-space: nowrap; }
.scry-notice-order { font-weight: 700; font-size: .875rem; margin: .25rem 0; }
.scry-notice-row time { font-size: .8125rem; font-variant-numeric: tabular-nums; }
.scry-notice-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0 1rem; margin-top: .25rem; }
.scry-notice-actions a, .scry-notice-read { display: inline-flex; align-items: center; min-height: 44px; font-size: .875rem; font-weight: 700; text-decoration: underline; text-underline-offset: .2em; }
.scry-notice-actions form { margin: 0; }
.scry-notice-read { padding: 0; border: 0; background: transparent; }
.scry-notice-history-link { flex-shrink: 0; display: flex; align-items: center; justify-content: center; min-height: 44px; padding: .5rem 1rem; text-align: center; font-size: .9375rem; font-weight: 700; border-top: 1px solid var(--scry-border-default); text-underline-offset: .2em; }
.scry-notice-empty { padding: 2rem 1.25rem; }
.scry-notice-empty p { margin: .35rem 0 0; font-size: .9375rem; line-height: 1.5; max-width: 65ch; }
.scry-notice-empty .scry-notice-empty-title { font-size: 1.125rem; font-weight: 700; }
.scry-notice-feedback { margin: 0; padding: 0; font-size: .875rem; line-height: 1.5; }
.scry-notice-feedback:not(:empty) { padding: .75rem 1rem; }
.scry-notice-loading { padding: 1rem 1.25rem; font-size: .875rem; }
.scry-notice-loading span { display: block; height: 44px; margin-top: 1rem; border-radius: .25rem; }
.scry-notices-page { max-width: 1100px; margin: 1.5rem auto; }
.scry-notices-page .scry-page-header { align-items: center; }
.scry-notices-page .scry-page-title { font-size: 2rem; }
.scry-notices-page .btn { min-height: 44px; }
.scry-notice-all-form { margin: 0; }
.scry-notices-toolbar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .75rem 1.5rem; margin: 1.5rem 0 .75rem; }
.scry-notices-filters { display: flex; gap: 1.25rem; }
.scry-notices-filters a { display: inline-flex; gap: .5rem; align-items: center; min-height: 44px; font-weight: 700; border-bottom: 2px solid transparent; text-decoration: none; }
.scry-notices-timezone, .scry-notices-footnote { font-size: .875rem; line-height: 1.5; }
.scry-notices-history { border: 1px solid var(--scry-border-default); border-radius: var(--scry-radius-md); overflow: hidden; }
.scry-notices-history .scry-notice-row:first-child { border-top: 0; }
.scry-notices-pagination { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin: 1rem 0; }
.scry-notices-footnote { max-width: 70ch; margin-top: 1.25rem; }
.scry-notice-bell:focus-visible, .scry-notice-panel :focus-visible, .scry-notices-page :focus-visible { outline: 3px solid var(--scry-info-text); outline-offset: 3px; }
.scry-notice-read:disabled { opacity: .65; cursor: wait; }
@media (max-width: 575.98px) {
  .scry-notice-panel { right: 12px !important; }
  .scry-notices-page .scry-page-header { display: block; }
  .scry-notice-all-form { margin-top: 1rem; }
  .scry-notice-row { padding: .875rem 1rem; }
}

/* Notification category filters retain the compact activity layout. */
.scry-notice-category { display: inline-block; font-size: .75rem; font-weight: 700; margin-bottom: .125rem; }
.scry-notices-filters { flex-wrap: wrap; gap: .25rem 1rem; }
.scry-notices-unread-filter { display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; font-weight: 700; text-underline-offset: .2em; }

/* History density follows its available width, including the seller sidebar. */
.scry-notices-history { container-type: inline-size; }
.scry-notices-history .scry-notice-row { padding: .875rem 1rem; }
.scry-notices-history .scry-notice-copy { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "summary summary" "date state" "actions actions"; gap: .25rem .75rem; align-items: center; }
.scry-notices-history .scry-notice-summary { grid-area: summary; min-width: 0; }
.scry-notices-history .scry-notice-copy > time { grid-area: date; }
.scry-notices-history .scry-notice-copy > .scry-notice-read-state { grid-area: state; }
.scry-notices-history .scry-notice-actions { grid-area: actions; margin-top: 0; }
.scry-notices-pagination-bar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .5rem 1rem; margin-top: .75rem; }
.scry-notices-pagination-bar .scry-notices-pagination { margin: 0; justify-content: flex-end; gap: .5rem; align-items: center; }
.scry-notices-page-count { font-size: .8125rem; }
.scry-notices-first-page { display: inline-flex; align-items: center; min-height: 44px; padding: 0 .5rem; font-size: .875rem; text-underline-offset: .2em; }
@container (min-width: 720px) {
  .scry-notices-history .scry-notice-copy { grid-template-columns: minmax(0, 1fr) 140px 80px 232px; grid-template-areas: "summary date state actions"; column-gap: 1rem; }
  .scry-notices-history .scry-notice-actions { justify-content: flex-end; gap: 0 .75rem; }
}

/* Panel header: one control scale, sized against the available mobile width. */
.admin-topnav-icon { display: inline-flex; align-items: center; justify-content: center; width: 18px; height: 18px; color: currentColor; line-height: 1; }
.admin-topnav-icon svg { display: block; width: 100%; height: 100%; }
@media (min-width: 992px) { .admin-topnav-brand { order: -1; } }
@media (max-width: 991.98px) {
  body .sb-topnav.navbar > .container-fluid { gap: 4px; padding-inline: 8px; flex-wrap: nowrap; }
  body .sb-topnav.navbar .admin-topnav-left { flex: 1 1 auto; min-width: 0; gap: 8px; }
  body .sb-topnav.navbar .admin-topnav-brand { flex: 0 1 180px; min-width: 0; width: auto; padding: 0; margin: 0; }
  body .sb-topnav.navbar .admin-topnav-brand img { width: 100%; height: auto; max-height: 30px; object-fit: contain; }
  body .sb-topnav.navbar #navbarCollapse { flex: 0 0 auto; }
  body .sb-topnav.navbar .admin-mobile-nav-toggle,
  body .sb-topnav.navbar #navbarCollapse > .admin-topnav-logout,
  body .sb-topnav.navbar #adminAddProducts,
  body .sb-topnav.navbar .scry-notice-bell { flex: 0 0 44px; width: 44px; height: 44px; padding: 0 !important; margin: 0; border-radius: var(--scry-radius-sm); }
  body .sb-topnav.navbar .admin-mobile-nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  body .sb-topnav.navbar .admin-topnav-icon,
  body .sb-topnav.navbar .scry-notice-bell svg { width: 20px; height: 20px; }
  body .sb-topnav.navbar .scry-notifications { margin-left: 0; }
  body .sb-topnav.navbar .scry-notice-badge { right: 0; }
}

/* Shape and text both communicate reading; icon state follows the row class. */
.scry-notice-state-icon { flex: 0 0 16px; width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.scry-notice-row.is-unread .scry-notice-state-icon circle { fill: currentColor; }
.scry-notice-row.is-unread .scry-notice-state-icon path { display: none; }
.scry-notice-read-icon { display: none; width: 20px; height: 20px; }
@container (max-width: 719.98px) {
  .scry-notices-history .scry-notice-row { padding: .5rem .75rem; }
  .scry-notices-history .scry-notice-copy { grid-template-areas: "summary state" "date actions"; gap: 0 .5rem; }
  .scry-notices-history .scry-notice-copy > .scry-notice-read-state { justify-self: end; align-self: start; margin-top: .2rem; }
  .scry-notices-history .scry-notice-actions { justify-content: flex-end; gap: 0 .25rem; }
  .scry-notices-history .scry-notice-read { width: 44px; justify-content: center; }
  .scry-notices-history .scry-notice-read-icon { display: block; }
  .scry-notices-history .scry-notice-read-label { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
}

.scry-notice-context { margin: .125rem 0 0; font-size: .8125rem; line-height: 1.35; }

/* Public mobile header: reserve one aligned row for identity and 44px actions. */
@media (max-width: 767.98px) {
  .scry-brandbar .scry-brandbar__layout { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 8px; margin-inline: 0; }
  .scry-brandbar { padding-block: .5rem !important; }
  .scry-brandbar .scry-brandbar__brand { grid-column: 1; grid-row: 1; padding: 0; align-self: center; }
  .scry-brandbar__identity > a { min-width: 0; }
  .scry-brandbar img.scry-logo-mobile { width: 220px; max-width: 100%; height: auto; }
  .scry-brandbar .scry-slogan-mobile { margin: 0; font-size: .6875rem; line-height: 1.35; white-space: normal !important; }
  .scry-brandbar .scry-brandbar__actions { grid-column: 2; grid-row: 1; padding: 0; gap: 4px !important; margin: 0; }
  .scry-brandbar .scry-mobile-menu-btn, .scry-brandbar .scry-cartbtn, .scry-brandbar .scry-notice-bell { width: 44px; height: 44px; min-width: 44px; padding: 0; }
  .scry-brandbar .scry-top-action-icon, .scry-brandbar .scry-notice-bell svg { width: 20px; height: 20px; }
  .scry-brandbar .scry-brandbar__filter { grid-column: 1 / -1; grid-row: 2; padding-inline: 0; }
}
.scry-notice-panel-footer { display: flex; align-items: center; justify-content: space-between; gap: .5rem; flex-shrink: 0; padding: .25rem .75rem; border-top: 1px solid var(--scry-border-default); }
.scry-notice-panel-footer .scry-notice-history-link { border: 0; padding: .5rem .25rem; font-size: .8125rem; }
.scry-notice-panel-footer .scry-notice-all-form { margin: 0; }
.scry-notice-read-all { min-height: 44px; padding: .5rem .25rem; border: 0; background: transparent; color: inherit; font: inherit; font-size: .8125rem; font-weight: 700; text-decoration: underline; text-underline-offset: .2em; }
.scry-notice-read-all:disabled { opacity: .5; cursor: default; text-decoration: none; }
.scry-notice-read-all:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }

/* Portada de carpeta: mismos controles y geometría en ambos temas. */
#carpeta_portada_buscar,
#carpeta_portada {
  min-height: 44px;
}
#carpeta_portada_preview {
  display: block;
  width: 100%;
  height: 160px;
  object-fit: cover;
  object-position: center;
}
.folder-card {
  background-color: #17212b;
}
/* scry-theme.css */
.scry-sales-bulk-toolbar,
.ventas-bulk-card {
  background: var(--scry-surface-1);
  color: var(--scry-text-primary);
}

#modalDespachoMasivo .alert {
  border-left-width: 1px;
}

:root {
  color-scheme: light;

  /* Brand */
  --scry-accent-primary: #3fc1b2;
  --scry-accent-primary-strong: #0f9b96;
  --scry-accent-primary-soft: #e8fdfb;
  --scry-accent-primary-soft-rgb: 232, 253, 251;

  /* Text */
  --scry-text-primary: #1f2937;
  --scry-text-secondary: #5f6c7b;
  --scry-text-muted: #7b8794;
  --scry-text-inverse: #f8fafc;

  /* Surfaces */
  --scry-surface-0: #ffffff;
  --scry-surface-1: #fbfcfd;
  --scry-surface-2: #f7fffd;
  --scry-surface-3: #edfdfa;
  --scry-surface-overlay: rgba(255, 255, 255, 0.92);

  /* Borders */
  --scry-border-default: rgba(17, 24, 39, 0.08);
  --scry-border-soft: rgba(63, 193, 178, 0.18);
  --scry-border-strong: rgba(63, 193, 178, 0.28);

  /* States */
  --scry-success-bg: #ecfdf5;
  --scry-success-text: #0f766e;
  --scry-warning-bg: #fff8e1;
  --scry-warning-text: #9a6700;
  --scry-warning-ring: rgba(154, 103, 0, 0.18);
  --scry-warning-ring-strong: rgba(154, 103, 0, 0.46);
  --scry-danger-bg: #fef2f2;
  --scry-danger-text: #b42318;
  --scry-info-bg: #eff6ff;
  --scry-info-text: #1d4ed8;

  /* Effects */
  --scry-shadow-sm: 0 8px 24px rgba(17, 24, 39, 0.04);
  --scry-shadow-md: 0 10px 24px rgba(17, 24, 39, 0.05);
  --scry-shadow-lg: 0 14px 34px rgba(15, 23, 42, 0.08);

  /* Radius */
  --scry-radius-sm: 0.75rem;
  --scry-radius-md: 0.95rem;
  --scry-radius-lg: 1.25rem;
  --scry-radius-xl: 1.5rem;

  /* Spacing */
  --scry-space-1: 0.25rem;
  --scry-space-2: 0.5rem;
  --scry-space-3: 0.75rem;
  --scry-space-4: 1rem;
  --scry-space-5: 1.5rem;
  --scry-space-6: 2rem;
  --scry-space-7: 2.5rem;

  /* Table foundation */
  --scry-table-row-alt: #f8fafc;
  --scry-table-row-hover: #eef6ff;
  --scry-table-head-text: rgba(31, 41, 55, 0.68);

  /* Shared UI language */
  --scry-surface-elevated: linear-gradient(180deg, var(--scry-surface-0) 0%, var(--scry-surface-1) 100%);
  --scry-surface-accented: radial-gradient(circle at top left, rgba(var(--scry-accent-primary-soft-rgb), 0.24) 0%, rgba(var(--scry-accent-primary-soft-rgb), 0) 42%) padding-box,
    linear-gradient(180deg, var(--scry-surface-2) 0%, var(--scry-surface-0) 100%) padding-box;
  --scry-pill-soft-bg: var(--scry-accent-primary-soft);
  --scry-pill-soft-border: rgba(63, 193, 178, 0.2);
  --scry-pill-soft-text: #156f71;
  --scry-cta-primary-bg: linear-gradient(135deg, #3ecbbd 0%, #1bb3ad 100%);
  --scry-cta-primary-border: #1bb3ad;
  --scry-cta-primary-text: #ffffff;
}

[data-bs-theme="dark"] {
  color-scheme: dark;

  /* Brand */
  --scry-accent-primary: #4fd5c7;
  --scry-accent-primary-strong: #8be7dd;
  --scry-accent-primary-soft: rgba(79, 213, 199, 0.14);
  --scry-accent-primary-soft-rgb: 79, 213, 199;

  /* Text */
  --scry-text-primary: #e5edf5;
  --scry-text-secondary: #b8c3d1;
  --scry-text-muted: #96a3b5;
  --scry-text-inverse: #0f172a;

  /* Surfaces */
  --scry-surface-0: #111827;
  --scry-surface-1: #172132;
  --scry-surface-2: #1c2738;
  --scry-surface-3: #1f2d40;
  --scry-surface-overlay: rgba(23, 33, 50, 0.92);

  /* Borders */
  --scry-border-default: rgba(148, 163, 184, 0.18);
  --scry-border-soft: rgba(79, 213, 199, 0.22);
  --scry-border-strong: rgba(79, 213, 199, 0.34);

  /* States */
  --scry-success-bg: rgba(16, 185, 129, 0.16);
  --scry-success-text: #8de7c6;
  --scry-warning-bg: rgba(245, 158, 11, 0.16);
  --scry-warning-text: #f6c76b;
  --scry-warning-ring: rgba(246, 199, 107, 0.2);
  --scry-warning-ring-strong: rgba(246, 199, 107, 0.5);
  --scry-danger-bg: rgba(239, 68, 68, 0.16);
  --scry-danger-text: #f3a6a6;
  --scry-info-bg: rgba(59, 130, 246, 0.16);
  --scry-info-text: #93c5fd;

  /* Effects */
  --scry-shadow-sm: 0 8px 24px rgba(2, 6, 23, 0.28);
  --scry-shadow-md: 0 10px 28px rgba(2, 6, 23, 0.34);
  --scry-shadow-lg: 0 18px 42px rgba(2, 6, 23, 0.4);

  /* Table foundation */
  --scry-table-row-alt: rgba(148, 163, 184, 0.06);
  --scry-table-row-hover: rgba(79, 213, 199, 0.08);
  --scry-table-head-text: rgba(229, 237, 245, 0.72);

  /* Shared UI language */
  --scry-surface-elevated: linear-gradient(180deg, #172132 0%, #111827 100%);
  --scry-surface-accented: radial-gradient(circle at top left, rgba(79, 213, 199, 0.08) 0%, rgba(79, 213, 199, 0) 42%) padding-box,
    linear-gradient(180deg, #172132 0%, #111827 100%) padding-box;
  --scry-pill-soft-bg: rgba(79, 213, 199, 0.14);
  --scry-pill-soft-border: rgba(79, 213, 199, 0.26);
  --scry-pill-soft-text: #d7faf5;
  --scry-cta-primary-bg: linear-gradient(135deg, #54dfd1 0%, #22b6a7 100%);
  --scry-cta-primary-border: rgba(79, 213, 199, 0.52);
  --scry-cta-primary-text: #08131f;

  /* Safe Bootstrap bridge for dark-mode technical validation */
  --bs-body-bg: var(--scry-surface-0);
  --bs-body-bg-rgb: 17, 24, 39;
  --bs-body-color: var(--scry-text-primary);
  --bs-body-color-rgb: 229, 237, 245;
  --bs-border-color: var(--scry-border-default);
  --bs-border-color-translucent: rgba(148, 163, 184, 0.16);
  --bs-secondary-bg: var(--scry-surface-2);
  --bs-tertiary-bg: var(--scry-surface-1);
  --bs-link-color: var(--scry-accent-primary);
  --bs-link-hover-color: var(--scry-accent-primary-strong);
  --bs-primary: var(--scry-accent-primary);
  --bs-primary-rgb: 79, 213, 199;
  --bs-primary-border-subtle: rgba(79, 213, 199, 0.3);
  --bs-primary-bg-subtle: rgba(79, 213, 199, 0.12);
  --bs-focus-ring-color: rgba(79, 213, 199, 0.22);
}

[data-bs-theme="dark"] body,
body[data-bs-theme="dark"] {
  background-color: var(--scry-surface-0);
  color: var(--scry-text-primary);
}

[data-bs-theme="dark"] a,
body[data-bs-theme="dark"] a {
  color: var(--scry-accent-primary);
}

[data-bs-theme="dark"] a:hover,
body[data-bs-theme="dark"] a:hover {
  color: var(--scry-accent-primary-strong);
}

[data-bs-theme="dark"] .scry-carta50k-top-banner,
[data-bs-theme="dark"] .scry-carta50k-top-banner:hover,
[data-bs-theme="dark"] .scry-carta50k-top-banner:focus,
body[data-bs-theme="dark"] .scry-carta50k-top-banner,
body[data-bs-theme="dark"] .scry-carta50k-top-banner:hover,
body[data-bs-theme="dark"] .scry-carta50k-top-banner:focus {
  color: #ffffff;
}

[data-bs-theme="dark"] .scry-carta50k-top-banner .scry-dia0-top-banner__copy,
body[data-bs-theme="dark"] .scry-carta50k-top-banner .scry-dia0-top-banner__copy {
  color: #ffffff;
}

[data-bs-theme="dark"] .scry-referral-top-banner .scry-dia0-top-banner__copy,
body[data-bs-theme="dark"] .scry-referral-top-banner .scry-dia0-top-banner__copy {
  color: #ffffff;
  text-shadow: 0 1px 3px rgba(5, 46, 22, 0.68);
}

[data-bs-theme="dark"] a.btn,
[data-bs-theme="dark"] .btn,
body[data-bs-theme="dark"] a.btn,
body[data-bs-theme="dark"] .btn {
  color: inherit;
}

[data-bs-theme="dark"] a.btn.scry-referrals-btn-primary,
[data-bs-theme="dark"] .btn.scry-referrals-btn-primary,
body[data-bs-theme="dark"] a.btn.scry-referrals-btn-primary,
body[data-bs-theme="dark"] .btn.scry-referrals-btn-primary {
  color: #052e16;
}

[data-bs-theme="dark"] a.btn.scry-referrals-btn-primary:hover,
[data-bs-theme="dark"] a.btn.scry-referrals-btn-primary:focus,
[data-bs-theme="dark"] .btn.scry-referrals-btn-primary:hover,
[data-bs-theme="dark"] .btn.scry-referrals-btn-primary:focus,
body[data-bs-theme="dark"] a.btn.scry-referrals-btn-primary:hover,
body[data-bs-theme="dark"] a.btn.scry-referrals-btn-primary:focus,
body[data-bs-theme="dark"] .btn.scry-referrals-btn-primary:hover,
body[data-bs-theme="dark"] .btn.scry-referrals-btn-primary:focus {
  color: #052e16;
}

[data-bs-theme="dark"] .scry-referrals-link-group .btn-outline-primary,
body[data-bs-theme="dark"] .scry-referrals-link-group .btn-outline-primary {
  color: var(--scry-text-primary);
}

[data-bs-theme="dark"] .scry-referrals-link-group .btn-outline-success,
body[data-bs-theme="dark"] .scry-referrals-link-group .btn-outline-success,
[data-bs-theme="dark"] .scry-referrals-link-group .btn-outline-success:hover,
[data-bs-theme="dark"] .scry-referrals-link-group .btn-outline-success:focus,
body[data-bs-theme="dark"] .scry-referrals-link-group .btn-outline-success:hover,
body[data-bs-theme="dark"] .scry-referrals-link-group .btn-outline-success:focus {
  color: #052e16;
}

[data-bs-theme="dark"] .admin-product-megamenu,
body[data-bs-theme="dark"] .admin-product-megamenu {
  background: var(--scry-surface-1);
  border-color: var(--scry-border-default);
  box-shadow: 0 22px 52px rgba(2, 6, 23, 0.54);
}

[data-bs-theme="dark"] .admin-product-megamenu-header,
body[data-bs-theme="dark"] .admin-product-megamenu-header {
  background: var(--scry-surface-accented);
  border-bottom-color: var(--scry-border-default);
}

[data-bs-theme="dark"] .admin-product-megamenu-kicker,
body[data-bs-theme="dark"] .admin-product-megamenu-kicker {
  color: var(--scry-accent-primary-strong);
}

[data-bs-theme="dark"] .admin-product-megamenu-title,
body[data-bs-theme="dark"] .admin-product-megamenu-title {
  color: var(--scry-text-primary);
}

[data-bs-theme="dark"] .admin-product-megamenu-grid,
body[data-bs-theme="dark"] .admin-product-megamenu-grid {
  background: var(--scry-surface-1);
}

[data-bs-theme="dark"] .admin-product-megamenu-item,
body[data-bs-theme="dark"] .admin-product-megamenu-item {
  color: var(--scry-text-primary);
}

[data-bs-theme="dark"] .admin-product-megamenu-item:hover,
[data-bs-theme="dark"] .admin-product-megamenu-item:focus,
body[data-bs-theme="dark"] .admin-product-megamenu-item:hover,
body[data-bs-theme="dark"] .admin-product-megamenu-item:focus {
  color: var(--scry-text-primary);
  background: var(--scry-surface-2);
  border-color: var(--scry-border-strong);
}

[data-bs-theme="dark"] .admin-product-megamenu-icon,
body[data-bs-theme="dark"] .admin-product-megamenu-icon {
  color: var(--scry-accent-primary-strong);
  background: var(--scry-pill-soft-bg);
  border-color: var(--scry-pill-soft-border);
}

[data-bs-theme="dark"] .admin-product-megamenu-description,
body[data-bs-theme="dark"] .admin-product-megamenu-description {
  color: var(--scry-text-secondary);
}

.text-scry-primary {
  color: var(--scry-accent-primary) !important;
}

.text-scry-ink {
  color: var(--scry-text-primary) !important;
}

.text-scry-muted {
  color: var(--scry-text-secondary) !important;
}

.bg-scry-soft {
  background-color: var(--scry-accent-primary-soft) !important;
}

.bg-scry-surface {
  background-color: var(--scry-surface-1) !important;
}

.border-scry-soft {
  border-color: var(--scry-border-soft) !important;
}

.border-scry-default {
  border-color: var(--scry-border-default) !important;
}

.shadow-scry-sm {
  box-shadow: var(--scry-shadow-sm) !important;
}

.shadow-scry-md {
  box-shadow: var(--scry-shadow-md) !important;
}

.rounded-scry-md {
  border-radius: var(--scry-radius-md) !important;
}

.rounded-scry-lg {
  border-radius: var(--scry-radius-lg) !important;
}

.scry-upload-comprobante {
  color: var(--scry-info-text);
}

.scry-upload-comprobante__body {
  color: inherit;
}

.scry-upload-comprobante .form-control[type="file"] {
  background-color: var(--scry-surface-0);
  border-color: var(--scry-border-default);
  color: var(--scry-text-primary);
}

.scry-upload-comprobante .form-control[type="file"]::file-selector-button {
  background-color: var(--scry-surface-2);
  border-color: var(--scry-border-default);
  color: var(--scry-text-primary);
}

.scry-upload-comprobante .form-control[type="file"]::-webkit-file-upload-button {
  background-color: var(--scry-surface-2);
  border-color: var(--scry-border-default);
  color: var(--scry-text-primary);
}

[data-bs-theme="dark"] .scry-upload-comprobante,
body[data-bs-theme="dark"] .scry-upload-comprobante {
  background-color: var(--scry-info-bg);
  border-color: rgba(147, 197, 253, 0.26);
}

[data-bs-theme="dark"] .scry-upload-comprobante .input-group,
body[data-bs-theme="dark"] .scry-upload-comprobante .input-group {
  color: var(--scry-text-primary);
}

[data-bs-theme="dark"] .scry-upload-comprobante .form-control[type="file"]::file-selector-button,
body[data-bs-theme="dark"] .scry-upload-comprobante .form-control[type="file"]::file-selector-button,
[data-bs-theme="dark"] .scry-upload-comprobante .form-control[type="file"]::-webkit-file-upload-button,
body[data-bs-theme="dark"] .scry-upload-comprobante .form-control[type="file"]::-webkit-file-upload-button {
  background-color: var(--scry-surface-2);
  color: var(--scry-text-primary);
}

.scry-upload-comprobante-ready {
  align-items: center;
  gap: 0.75rem;
}

.scry-upload-comprobante-ready__text {
  color: inherit;
}

.scry-upload-comprobante-ready__link {
  color: var(--scry-accent-primary);
  font-weight: 700;
  text-decoration: none;
}

[data-bs-theme="dark"] .scry-upload-comprobante-ready,
body[data-bs-theme="dark"] .scry-upload-comprobante-ready {
  background: rgba(var(--scry-accent-primary-soft-rgb), 0.1);
  border-color: rgba(var(--scry-accent-primary-soft-rgb), 0.26);
  color: var(--scry-text-primary);
}

[data-bs-theme="dark"] .scry-upload-comprobante-ready__link,
body[data-bs-theme="dark"] .scry-upload-comprobante-ready__link {
  color: var(--scry-accent-primary);
  border-color: rgba(var(--scry-accent-primary-soft-rgb), 0.5) !important;
}

[data-bs-theme="dark"] .scry-reception-reminders,
body[data-bs-theme="dark"] .scry-reception-reminders {
  background: linear-gradient(180deg, rgba(23, 33, 48, 0.96), rgba(16, 24, 37, 0.98));
  border-color: rgba(79, 213, 199, 0.22);
}

[data-bs-theme="dark"] .scry-reception-reminders__eyebrow,
body[data-bs-theme="dark"] .scry-reception-reminders__eyebrow {
  color: #8be7dd;
}

[data-bs-theme="dark"] .scry-reception-reminders__item,
body[data-bs-theme="dark"] .scry-reception-reminders__item {
  background: rgba(15, 23, 42, 0.32);
  border-color: rgba(148, 163, 184, 0.18);
}

[data-bs-theme="dark"] .scry-reception-reminders__item.is-sent .scry-reception-reminders__icon,
body[data-bs-theme="dark"] .scry-reception-reminders__item.is-sent .scry-reception-reminders__icon {
  background: rgba(52, 211, 153, 0.14);
  color: #86efac;
}

[data-bs-theme="dark"] .scry-reception-reminders__item.is-pending .scry-reception-reminders__icon,
body[data-bs-theme="dark"] .scry-reception-reminders__item.is-pending .scry-reception-reminders__icon {
  background: rgba(148, 163, 184, 0.12);
  color: var(--scry-text-secondary);
}

.iti {
  --iti-border-color: var(--scry-border-default);
  --iti-dropdown-bg: var(--scry-surface-0);
  --iti-hover-color: rgba(var(--scry-accent-primary-soft-rgb), 0.16);
  --iti-icon-color: var(--scry-text-secondary);
}

[data-bs-theme="dark"] .iti,
body[data-bs-theme="dark"] .iti {
  --iti-border-color: var(--scry-border-default);
  --iti-dropdown-bg: var(--scry-surface-1);
  --iti-hover-color: rgba(var(--scry-accent-primary-soft-rgb), 0.18);
  --iti-icon-color: var(--scry-text-secondary);
}

[data-bs-theme="dark"] .iti__dropdown-content,
[data-bs-theme="dark"] .iti__search-input,
body[data-bs-theme="dark"] .iti__dropdown-content,
body[data-bs-theme="dark"] .iti__search-input {
  background-color: var(--scry-surface-1);
  color: var(--scry-text-primary);
}

[data-bs-theme="dark"] .iti__search-input::placeholder,
body[data-bs-theme="dark"] .iti__search-input::placeholder {
  color: var(--scry-text-muted);
}

[data-bs-theme="dark"] .iti__country,
body[data-bs-theme="dark"] .iti__country {
  color: var(--scry-text-primary);
}

[data-bs-theme="dark"] .iti input.iti__tel-input,
[data-bs-theme="dark"] .iti input.iti__tel-input[type="text"],
[data-bs-theme="dark"] .iti input.iti__tel-input[type="tel"],
body[data-bs-theme="dark"] .iti input.iti__tel-input,
body[data-bs-theme="dark"] .iti input.iti__tel-input[type="text"],
body[data-bs-theme="dark"] .iti input.iti__tel-input[type="tel"] {
  background-color: var(--bs-body-bg);
  color: var(--bs-body-color);
  border-color: var(--bs-border-color);
}

[data-bs-theme="dark"] .iti--inline-dropdown .iti__dropdown-content,
body[data-bs-theme="dark"] .iti--inline-dropdown .iti__dropdown-content {
  box-shadow: var(--scry-shadow-lg);
}

[data-bs-theme="dark"] .iti--fullscreen-popup.iti--container,
body[data-bs-theme="dark"] .iti--fullscreen-popup.iti--container {
  background-color: rgba(2, 6, 23, 0.74);
}

.swal2-popup.scry-swal-post-reserva {
  width: min(31em, calc(100vw - 1.5rem));
}

.swal2-popup.scry-swal-shell {
  width: min(31em, calc(100vw - 1.5rem));
  border: 1px solid rgba(123, 229, 222, 0.48);
  border-radius: 1.45rem;
  background:
    radial-gradient(circle at top left, rgba(57, 198, 189, 0.08) 0%, rgba(57, 198, 189, 0) 42%),
    linear-gradient(180deg, #ffffff 0%, #fbfffe 100%);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
  color: var(--scry-text-primary);
  overflow: hidden;
}

.swal2-popup.scry-swal-shell .swal2-title {
  margin: 0;
  padding: 1.05rem 1.2rem 0;
  color: inherit;
  font-size: clamp(1.45rem, 3.8vw, 2rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.swal2-popup.scry-swal-shell .swal2-html-container {
  margin: 0;
  padding: 0.72rem 1.2rem 0;
  line-height: 1.42;
  color: inherit;
}

.swal2-popup.scry-swal-shell .swal2-html-container strong {
  color: inherit;
}

.swal2-popup.scry-swal-shell .swal2-icon {
  margin: 1rem auto 0.55rem;
}

/* Keep SweetAlert's success draw animation compatible with gradient popup surfaces. */
.swal2-popup.scry-swal-shell .swal2-success-circular-line-left,
.swal2-popup.scry-swal-shell .swal2-success-circular-line-right,
.swal2-popup.scry-swal-shell .swal2-success-fix {
  background-color: transparent !important;
}

.swal2-popup.scry-swal-shell .swal2-icon .scry-swal-method-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  line-height: 1;
}

.swal2-popup.scry-swal-shell .scry-swal-method-check {
  width: 100%;
  padding: 0.85rem 0.95rem;
  border: 1px solid rgba(57, 198, 189, 0.26);
  border-radius: 0.9rem;
  background: rgba(57, 198, 189, 0.08);
  color: var(--scry-text-primary);
  cursor: pointer;
}

.swal2-popup.scry-swal-shell .scry-swal-method-check span {
  line-height: 1.32;
}

.swal2-popup.scry-swal-shell .scry-swal-method-checkbox {
  width: 1rem !important;
  min-width: 1rem;
  height: 1rem !important;
  flex: 0 0 1rem;
  margin-top: 0.15rem !important;
  border-radius: 0.22rem !important;
}

.swal2-popup.scry-swal-persona-flow .scry-swal-persona-stepper {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.35rem;
  list-style: none;
  margin: 0 0 0.85rem;
  padding: 0;
}

.swal2-popup.scry-swal-persona-flow {
  max-height: calc(100vh - 1rem);
  max-height: calc(100dvh - 1rem);
  overflow-y: auto;
}

.swal2-popup.scry-swal-persona-flow .swal2-icon {
  width: 3.75rem;
  height: 3.75rem;
  margin: 0.75rem auto 0.35rem;
}

.swal2-popup.scry-swal-persona-flow .swal2-title {
  padding-top: 0.75rem;
  font-size: clamp(1.35rem, 3.5vw, 1.7rem);
}

.swal2-popup.scry-swal-persona-flow .scry-swal-persona-stepper li {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  min-width: 0;
  color: var(--scry-text-secondary);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
}

.swal2-popup.scry-swal-persona-flow .scry-swal-persona-stepper li:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 0.84rem;
  left: calc(50% + 1.05rem);
  width: calc(100% - 1.75rem);
  border-top: 1px solid var(--scry-border-default);
}

.swal2-popup.scry-swal-persona-flow .scry-swal-persona-stepper__number {
  display: grid;
  place-items: center;
  width: 1.7rem;
  height: 1.7rem;
  border: 1px solid var(--scry-border-default);
  border-radius: 50%;
  background: var(--scry-surface-2);
  color: var(--scry-text-secondary);
}

.swal2-popup.scry-swal-persona-flow .scry-swal-persona-stepper .is-current {
  color: var(--scry-text-primary);
}

.swal2-popup.scry-swal-persona-flow .scry-swal-persona-stepper .is-current .scry-swal-persona-stepper__number {
  border-color: var(--scry-accent-primary-strong);
  background: var(--scry-accent-primary-soft);
  color: var(--scry-accent-primary-strong);
}

.swal2-popup.scry-swal-persona-flow .scry-swal-persona-next {
  margin: 0 0 1rem;
  text-align: left;
}

.swal2-popup.scry-swal-persona-flow .swal2-footer {
  margin: 0.65rem 1.2rem 0;
  padding: 0;
  border: 0;
  color: var(--scry-text-secondary);
  text-align: center;
}

.swal2-popup.scry-swal-persona-flow .scry-swal-persona-deadline {
  font-size: 0.78rem;
  line-height: 1.4;
}

.swal2-popup.scry-swal-shell .swal2-actions {
  width: 100%;
  margin: 1rem auto 0;
  padding: 0.95rem 1.2rem 0;
  gap: 0.65rem;
  border-top: 1px solid var(--scry-border-soft);
}

.swal2-popup.scry-swal-shell .swal2-actions .swal2-styled {
  min-height: 46px;
  margin: 0;
  border-radius: 0.95rem;
  font-weight: 800;
  box-shadow: none;
}

.swal2-popup.scry-swal-shell .swal2-actions .swal2-confirm,
.swal2-popup.scry-swal-shell .swal2-actions .swal2-deny,
.swal2-popup.scry-swal-shell .swal2-actions .swal2-cancel {
  flex: 1 1 0;
}

.swal2-popup.scry-swal-shell .swal2-confirm {
  background: var(--scry-cta-primary-bg) !important;
  color: var(--scry-cta-primary-text) !important;
}

.swal2-popup.scry-swal-shell .swal2-deny,
.swal2-popup.scry-swal-shell .swal2-cancel {
  background: linear-gradient(180deg, #eef7f6 0%, #e3f6f3 100%) !important;
  border: 1px solid rgba(57, 198, 189, 0.18) !important;
  color: #1d4f54 !important;
}

.swal2-popup.scry-swal-shell .swal2-validation-message {
  margin: 0.8rem 1.2rem 0;
  border-radius: 0.85rem;
  background: var(--scry-danger-bg);
  color: var(--scry-danger-text);
}

.scry-support-modal .modal-dialog {
  width: min(27rem, calc(100vw - 1rem));
  margin-right: auto;
  margin-left: auto;
}

.scry-support-modal__content {
  border: 1px solid rgba(123, 229, 222, 0.48);
  border-radius: 1.2rem;
  background:
    radial-gradient(circle at top left, rgba(57, 198, 189, 0.08) 0%, rgba(57, 198, 189, 0) 42%),
    linear-gradient(180deg, #ffffff 0%, #fbfffe 100%);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
  color: var(--scry-text-primary);
  overflow: hidden;
}

.scry-support-modal__header {
  min-height: auto;
  padding: 0.9rem 1rem 0.72rem;
  border-bottom: 1px solid var(--scry-border-soft);
}

.scry-support-modal__header .modal-title {
  color: inherit;
  font-size: 1.18rem;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: 0;
}

.scry-support-modal__header .btn-close {
  margin: -0.45rem -0.35rem -0.45rem auto;
  opacity: 0.62;
}

.scry-support-modal__body {
  padding: 0.85rem 1rem 0.9rem;
}

.scry-support-modal__notice,
.scry-support-modal__feedback {
  margin-bottom: 0.75rem;
  padding: 0.42rem 0.68rem;
  border-radius: 0.82rem;
  font-size: 0.86rem;
  line-height: 1.28;
}

.scry-support-modal__notice {
  border: 1px solid var(--scry-border-soft);
  background: rgba(var(--scry-accent-primary-soft-rgb), 0.22);
  color: var(--scry-text-secondary);
}

.scry-support-modal__feedback {
  border-width: 1px;
}

.scry-support-modal__field {
  margin-bottom: 0.66rem;
}

.scry-support-modal__field .form-label {
  margin-bottom: 0.28rem;
  color: var(--scry-text-primary);
  font-size: 0.9rem;
  line-height: 1.2;
  font-weight: 800;
}

.scry-support-modal__field .form-control,
.scry-support-modal__field .form-select {
  min-height: 2.38rem;
  padding: 0.48rem 0.7rem;
  border-color: var(--scry-border-default);
  border-radius: 0.62rem;
  background-color: var(--scry-surface-0);
  color: var(--scry-text-primary);
  font-size: 0.94rem;
  line-height: 1.25;
}

.scry-support-modal__field textarea.form-control {
  min-height: 5.6rem;
  resize: vertical;
}

.scry-support-modal__field .form-control:focus,
.scry-support-modal__field .form-select:focus {
  border-color: var(--scry-accent-primary);
  box-shadow: 0 0 0 0.18rem rgba(var(--scry-accent-primary-soft-rgb), 0.45);
}

.scry-support-modal__field .form-control[readonly] {
  border-color: rgba(95, 108, 123, 0.18);
  background: linear-gradient(180deg, #f3f7f7 0%, #eef4f4 100%);
  color: var(--scry-text-secondary);
  cursor: not-allowed;
  box-shadow: inset 0 0 0 1px rgba(95, 108, 123, 0.04);
}

.scry-support-modal__field .form-control[readonly]:focus {
  border-color: rgba(95, 108, 123, 0.22);
  box-shadow: inset 0 0 0 1px rgba(95, 108, 123, 0.06);
}

.scry-support-modal__field-meta {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  min-height: 1.1rem;
  margin-top: 0.25rem;
}

.scry-support-modal__field-meta .invalid-feedback {
  margin-top: 0;
  font-size: 0.78rem;
  line-height: 1.2;
}

.scry-support-modal__field-meta .form-text {
  margin-top: 0;
  color: var(--scry-text-muted);
  font-size: 0.82rem;
  line-height: 1.2;
}

.scry-support-modal__footer {
  padding: 0.72rem 1rem 0.9rem;
  gap: 0.55rem;
  border-top: 1px solid var(--scry-border-soft);
}

.scry-support-modal__footer .btn {
  min-height: 2.38rem;
  margin: 0;
  padding: 0.48rem 0.78rem;
  border-radius: 0.72rem;
  font-size: 0.9rem;
  font-weight: 800;
  box-shadow: none;
}

.scry-support-modal__footer .btn-primary {
  border-color: var(--scry-cta-primary-border);
  background: var(--scry-cta-primary-bg);
  color: var(--scry-cta-primary-text);
}

.scry-support-modal__footer .btn-outline-secondary {
  border-color: rgba(57, 198, 189, 0.2);
  background: linear-gradient(180deg, #eef7f6 0%, #e3f6f3 100%);
  color: #1d4f54;
}

.scry-feedback-panel-modal .modal-dialog {
  width: min(29.5rem, calc(100vw - 1rem));
  margin-right: auto;
  margin-left: auto;
}

.scry-feedback-panel-modal .scry-support-modal__body {
  max-height: min(33rem, 68vh);
  overflow-y: auto;
}

.scry-swal-post-reserva__header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
}

.scry-swal-post-reserva__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.35rem;
  height: 3.35rem;
  color: #21c27a;
}

.scry-swal-post-reserva__icon svg {
  display: block;
  width: 100%;
  height: 100%;
}

.scry-swal-post-reserva__title {
  font-size: clamp(1.85rem, 5vw, 2.3rem);
  font-weight: 800;
  line-height: 1.05;
  text-align: center;
  letter-spacing: -0.02em;
  color: inherit;
}

.scry-swal-post-reserva__copy {
  margin-top: 0.8rem;
  text-align: center;
}

.scry-swal-post-reserva__whatsapp {
  margin-top: 1rem;
  text-align: left;
}

.scry-swal-post-reserva__prompt {
  margin-bottom: 0.45rem;
  font-weight: 700;
  line-height: 1.26;
  color: inherit;
}

.scry-swal-post-reserva__helper {
  font-size: 0.875rem;
  line-height: 1.4;
  color: var(--scry-text-muted);
}

.scry-swal-post-reserva__hint {
  margin-top: 0.4rem;
  font-size: 0.8rem;
  line-height: 1.35;
  color: var(--scry-text-muted);
  opacity: 0.9;
}

.swal2-popup.scry-swal-post-reserva .swal2-title {
  padding-top: 0;
}

.swal2-popup.scry-swal-post-reserva .swal2-html-container {
  padding-top: 0;
}

.swal2-popup.scry-swal-post-reserva .swal2-input {
  margin: 0.75rem auto 0.45rem !important;
}

[data-bs-theme="dark"] .swal2-popup.scry-swal-shell,
body[data-bs-theme="dark"] .swal2-popup.scry-swal-shell {
  background: var(--scry-surface-accented);
  color: var(--scry-text-primary);
  border: 1px solid rgba(93, 122, 156, 0.22);
  box-shadow: var(--scry-shadow-lg);
}

[data-bs-theme="dark"] .swal2-popup.scry-swal-shell .swal2-title,
[data-bs-theme="dark"] .swal2-popup.scry-swal-shell .swal2-html-container,
[data-bs-theme="dark"] .swal2-popup.scry-swal-shell .swal2-html-container strong,
body[data-bs-theme="dark"] .swal2-popup.scry-swal-shell .swal2-title,
body[data-bs-theme="dark"] .swal2-popup.scry-swal-shell .swal2-html-container,
body[data-bs-theme="dark"] .swal2-popup.scry-swal-shell .swal2-html-container strong {
  color: var(--scry-text-primary);
}

[data-bs-theme="dark"] .swal2-popup.scry-swal-shell .swal2-actions,
body[data-bs-theme="dark"] .swal2-popup.scry-swal-shell .swal2-actions {
  border-top: 1px solid var(--scry-border-default);
}

[data-bs-theme="dark"] .swal2-popup.scry-swal-shell .scry-swal-method-check,
body[data-bs-theme="dark"] .swal2-popup.scry-swal-shell .scry-swal-method-check {
  border-color: rgba(79, 213, 199, 0.22);
  background: rgba(79, 213, 199, 0.08);
  color: var(--scry-text-primary);
}

[data-bs-theme="dark"] .swal2-popup.scry-swal-shell .swal2-deny,
[data-bs-theme="dark"] .swal2-popup.scry-swal-shell .swal2-cancel,
body[data-bs-theme="dark"] .swal2-popup.scry-swal-shell .swal2-deny,
body[data-bs-theme="dark"] .swal2-popup.scry-swal-shell .swal2-cancel {
  background: linear-gradient(180deg, #223146 0%, #1b2738 100%) !important;
  border: 1px solid rgba(79, 213, 199, 0.16) !important;
  color: var(--scry-text-primary) !important;
}

[data-bs-theme="dark"] .scry-support-modal__content,
body[data-bs-theme="dark"] .scry-support-modal__content {
  background: var(--scry-surface-accented);
  color: var(--scry-text-primary);
  border-color: rgba(93, 122, 156, 0.22);
  box-shadow: var(--scry-shadow-lg);
}

[data-bs-theme="dark"] .scry-support-modal__header,
[data-bs-theme="dark"] .scry-support-modal__footer,
body[data-bs-theme="dark"] .scry-support-modal__header,
body[data-bs-theme="dark"] .scry-support-modal__footer {
  border-color: var(--scry-border-default);
}

[data-bs-theme="dark"] .scry-support-modal__notice,
body[data-bs-theme="dark"] .scry-support-modal__notice {
  background: rgba(79, 213, 199, 0.1);
  border-color: rgba(79, 213, 199, 0.2);
  color: var(--scry-text-secondary);
}

[data-bs-theme="dark"] .scry-support-modal__field .form-control,
[data-bs-theme="dark"] .scry-support-modal__field .form-select,
body[data-bs-theme="dark"] .scry-support-modal__field .form-control,
body[data-bs-theme="dark"] .scry-support-modal__field .form-select {
  background-color: var(--scry-surface-1);
  border-color: var(--scry-border-default);
  color: var(--scry-text-primary);
}

[data-bs-theme="dark"] .scry-support-modal__field .form-control[readonly],
body[data-bs-theme="dark"] .scry-support-modal__field .form-control[readonly] {
  background: linear-gradient(180deg, #1f2a3b 0%, #1a2433 100%);
  border-color: rgba(148, 163, 184, 0.18);
  color: var(--scry-text-secondary);
  box-shadow: inset 0 0 0 1px rgba(148, 163, 184, 0.04);
}

[data-bs-theme="dark"] .scry-support-modal__field .form-control[readonly]:focus,
body[data-bs-theme="dark"] .scry-support-modal__field .form-control[readonly]:focus {
  border-color: rgba(148, 163, 184, 0.22);
  box-shadow: inset 0 0 0 1px rgba(148, 163, 184, 0.06);
}

[data-bs-theme="dark"] .scry-support-modal__field .form-control::placeholder,
body[data-bs-theme="dark"] .scry-support-modal__field .form-control::placeholder {
  color: var(--scry-text-muted);
}

[data-bs-theme="dark"] .scry-support-modal__footer .btn-outline-secondary,
body[data-bs-theme="dark"] .scry-support-modal__footer .btn-outline-secondary {
  background: linear-gradient(180deg, #223146 0%, #1b2738 100%);
  border-color: rgba(79, 213, 199, 0.16);
  color: var(--scry-text-primary);
}

@media (max-width: 575.98px) {
  .swal2-popup.scry-swal-shell {
    width: calc(100vw - 1.25rem);
    border-radius: 1.2rem;
  }

  .swal2-popup.scry-swal-shell .swal2-title {
    padding-right: 1rem;
    padding-left: 1rem;
    font-size: 1.35rem;
  }

  .swal2-popup.scry-swal-shell .swal2-html-container {
    padding: 0 1rem;
    font-size: 0.97rem;
  }

  .swal2-popup.scry-swal-shell .swal2-actions {
    padding: 0.9rem 1rem 0;
  }

  .swal2-popup.scry-swal-shell .swal2-actions .swal2-styled {
    min-height: 42px;
    padding: 0.7rem 0.85rem;
    font-size: 0.98rem;
  }

  .swal2-popup.scry-swal-shell .swal2-validation-message {
    margin-left: 1rem;
    margin-right: 1rem;
  }

  .scry-support-modal .modal-dialog {
    width: calc(100vw - 0.75rem);
    max-height: calc(100vh - 0.75rem);
    margin-top: 0.375rem;
    margin-bottom: 0.375rem;
  }

  .scry-support-modal__content {
    border-radius: 1rem;
  }

  .scry-support-modal__header {
    padding: 0.78rem 0.9rem 0.62rem;
  }

  .scry-support-modal__header .modal-title {
    font-size: 1.08rem;
  }

  .scry-support-modal__body {
    padding: 0.72rem 0.9rem 0.78rem;
  }

  .scry-support-modal__notice,
  .scry-support-modal__feedback {
    margin-bottom: 0.62rem;
    padding: 0.36rem 0.6rem;
    font-size: 0.82rem;
  }

  .scry-support-modal__field {
    margin-bottom: 0.56rem;
  }

  .scry-support-modal__field .form-label {
    margin-bottom: 0.22rem;
    font-size: 0.86rem;
  }

  .scry-support-modal__field .form-control,
  .scry-support-modal__field .form-select {
    min-height: 2.18rem;
    padding: 0.38rem 0.62rem;
    font-size: 0.88rem;
  }

  .scry-support-modal__field textarea.form-control {
    min-height: 4.85rem;
  }

  .scry-support-modal__footer {
    padding: 0.62rem 0.9rem 0.75rem;
  }

  .scry-support-modal__footer .btn {
    min-height: 2.22rem;
    padding: 0.4rem 0.68rem;
    font-size: 0.86rem;
  }

  .scry-feedback-panel-modal .modal-dialog {
    width: calc(100vw - 0.75rem);
    max-height: calc(100dvh - 0.75rem);
    margin-top: 0.375rem;
    margin-bottom: 0.375rem;
  }

  .scry-feedback-panel-modal .scry-support-modal__body {
    max-height: calc(100dvh - 8.45rem);
    padding-top: 0.58rem;
    padding-bottom: 0.62rem;
  }

  .scry-feedback-panel-modal .scry-support-modal__notice,
  .scry-feedback-panel-modal .scry-support-modal__feedback {
    margin-bottom: 0.48rem;
    padding: 0.32rem 0.52rem;
    font-size: 0.78rem;
  }

  .scry-feedback-panel-modal .scry-support-modal__field {
    margin-bottom: 0.44rem;
  }

  .scry-feedback-panel-modal .scry-support-modal__field textarea.form-control {
    min-height: 4.15rem;
  }

  .scry-swal-post-reserva__icon {
    width: 3rem;
    height: 3rem;
  }

  .scry-swal-post-reserva__title {
    font-size: 1.55rem;
  }

  .scry-swal-post-reserva__copy {
    margin-top: 0.65rem;
  }

  .scry-swal-post-reserva__whatsapp {
    margin-top: 0.85rem;
  }
}

.scry-theme-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 44px;
  padding: 0.7rem 0.95rem;
  border: 1px solid var(--scry-border-default);
  border-radius: 999px;
  background: var(--scry-surface-overlay);
  color: var(--scry-text-primary);
  box-shadow: var(--scry-shadow-md);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background-color 0.18s ease;
}

.scry-theme-toggle-floating {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 1085;
}

.scry-theme-toggle-mobile {
  width: 100%;
  justify-content: space-between;
  border-radius: 0.85rem;
  padding: 0.8rem 0.95rem;
}

.scry-theme-toggle-footer {
  min-height: 40px;
  padding: 0.6rem 0.9rem;
  border-radius: 999px;
}

.scry-theme-toggle-admin-footer {
  flex: 0 0 auto;
}

.scry-theme-toggle[data-theme-next="dark"] {
  border-color: rgba(15, 23, 42, 0.78);
  background: linear-gradient(180deg, #111827 0%, #020617 100%);
  color: #f8fafc;
  box-shadow: 0 14px 34px rgba(2, 6, 23, 0.28);
}

.scry-theme-toggle[data-theme-next="light"] {
  border-color: rgba(148, 163, 184, 0.62);
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  color: #111827;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.14);
}

.admin-footer-signature {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.admin-footer-signature__brand {
  flex: 0 0 auto;
}

.admin-footer-signature__links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.2rem 0.55rem;
}

.admin-footer-signature__dot {
  flex: 0 0 auto;
}

.admin-footer-signature__feedback {
  appearance: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 0.12em;
}

.admin-footer-signature__feedback:hover,
.admin-footer-signature__feedback:focus-visible {
  color: var(--scry-accent-primary-strong);
}

@media (max-width: 767.98px) {
  .admin-footer-signature {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.85rem;
  }

  .admin-footer-signature__links {
    justify-content: flex-start;
    width: 100%;
  }
}

body[data-bs-theme="dark"] .deck-commander-search,
body[data-bs-theme="dark"] .deck-cover-empty,
html[data-theme="dark"] .deck-commander-search,
html[data-theme="dark"] .deck-cover-empty {
  border-color: var(--scry-border-default) !important;
  color: var(--scry-text-secondary) !important;
  background: var(--scry-surface-0) !important;
}

body[data-bs-theme="dark"] .deck-commander-search label,
body[data-bs-theme="dark"] .deck-commander-search-status,
html[data-theme="dark"] .deck-commander-search label,
html[data-theme="dark"] .deck-commander-search-status {
  color: var(--scry-text-secondary) !important;
}

body[data-bs-theme="dark"] .deck-commander-search .form-control,
html[data-theme="dark"] .deck-commander-search .form-control {
  border-color: var(--scry-border-default) !important;
  color: var(--scry-text-primary) !important;
  background: var(--scry-surface-1) !important;
}

body[data-bs-theme="dark"] .deck-commander-search .form-control::placeholder,
html[data-theme="dark"] .deck-commander-search .form-control::placeholder {
  color: var(--scry-text-muted) !important;
}

body[data-bs-theme="dark"] .deck-cover-option,
html[data-theme="dark"] .deck-cover-option {
  border-color: var(--scry-border-default) !important;
  color: var(--scry-text-primary) !important;
  background: var(--scry-surface-1) !important;
}

body[data-bs-theme="dark"] .deck-cover-option:hover,
html[data-theme="dark"] .deck-cover-option:hover {
  border-color: var(--scry-border-strong) !important;
  background: var(--scry-surface-2) !important;
}

body[data-bs-theme="dark"] .deck-cover-option.is-selected,
html[data-theme="dark"] .deck-cover-option.is-selected {
  border-color: rgba(94, 234, 212, .5) !important;
  background: rgba(45, 212, 191, .1) !important;
}

body[data-bs-theme="dark"] .deck-cover-option-title,
html[data-theme="dark"] .deck-cover-option-title {
  color: var(--scry-text-primary) !important;
}

body[data-bs-theme="dark"] .deck-cover-option-meta,
html[data-theme="dark"] .deck-cover-option-meta {
  color: var(--scry-text-secondary) !important;
}

.scry-theme-toggle:hover,
.scry-theme-toggle:focus {
  transform: translateY(-1px);
  border-color: var(--scry-border-strong);
  box-shadow: var(--scry-shadow-lg);
}

.scry-theme-toggle[data-theme-next="dark"]:hover,
.scry-theme-toggle[data-theme-next="dark"]:focus {
  border-color: rgba(63, 193, 178, 0.58);
  box-shadow: 0 16px 38px rgba(2, 6, 23, 0.34);
}

.scry-theme-toggle[data-theme-next="light"]:hover,
.scry-theme-toggle[data-theme-next="light"]:focus {
  border-color: rgba(63, 193, 178, 0.48);
  box-shadow: 0 16px 38px rgba(15, 23, 42, 0.18);
}

.scry-theme-toggle:focus-visible {
  outline: 0;
  box-shadow: 0 0 0 0.2rem rgba(var(--scry-accent-primary-soft-rgb), 0.35), var(--scry-shadow-lg);
}

.scry-theme-toggle-icon {
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.scry-theme-toggle-icon svg {
  width: 18px;
  height: 18px;
  display: block;
}

.scry-theme-toggle-label {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1;
}

/* CTA turquoise normalization */
.home-sections .btn-scry,
.home-sections .btn-scry-primary,
.home-sections .home-cta-primary,
.btn-add-cart:not(.disabled):not([disabled]):not([aria-disabled="true"]),
.scry-buybar__add:not(.disabled):not([disabled]):not([aria-disabled="true"]),
.js-related-add-cart:not(.disabled):not([disabled]):not([aria-disabled="true"]),
.btn-olive-green:not(.disabled):not([disabled]):not([aria-disabled="true"]) {
  background: #3fc1b2 !important;
  border-color: #3fc1b2 !important;
  color: #071018 !important;
  font-weight: 700 !important;
  text-shadow: none !important;
}

.home-sections .btn-scry:hover,
.home-sections .btn-scry:focus,
.home-sections .btn-scry-primary:hover,
.home-sections .btn-scry-primary:focus,
.home-sections .home-cta-primary:hover,
.home-sections .home-cta-primary:focus,
.btn-add-cart:not(.disabled):not([disabled]):not([aria-disabled="true"]):hover,
.btn-add-cart:not(.disabled):not([disabled]):not([aria-disabled="true"]):focus,
.scry-buybar__add:not(.disabled):not([disabled]):not([aria-disabled="true"]):hover,
.scry-buybar__add:not(.disabled):not([disabled]):not([aria-disabled="true"]):focus,
.js-related-add-cart:not(.disabled):not([disabled]):not([aria-disabled="true"]):hover,
.js-related-add-cart:not(.disabled):not([disabled]):not([aria-disabled="true"]):focus,
.btn-olive-green:not(.disabled):not([disabled]):not([aria-disabled="true"]):hover,
.btn-olive-green:not(.disabled):not([disabled]):not([aria-disabled="true"]):focus {
  background: #ffffff !important;
  border-color: #3fc1b2 !important;
  color: #071018 !important;
  text-shadow: none !important;
}

body[data-bs-theme="dark"] .text-muted,
[data-bs-theme="dark"] .text-muted {
  color: var(--scry-text-secondary) !important;
}

body[data-bs-theme="dark"] .bg-scrylight,
[data-bs-theme="dark"] .bg-scrylight {
  background-color: var(--scry-surface-2) !important;
  color: var(--scry-text-primary) !important;
}

body[data-bs-theme="dark"] .border,
body[data-bs-theme="dark"] .border-dark,
body[data-bs-theme="dark"] .border-top,
body[data-bs-theme="dark"] .border-bottom,
body[data-bs-theme="dark"] .border-start,
body[data-bs-theme="dark"] .border-end,
[data-bs-theme="dark"] .border,
[data-bs-theme="dark"] .border-dark,
[data-bs-theme="dark"] .border-top,
[data-bs-theme="dark"] .border-bottom,
[data-bs-theme="dark"] .border-start,
[data-bs-theme="dark"] .border-end {
  border-color: var(--scry-border-default) !important;
}

body[data-bs-theme="dark"] .card,
body[data-bs-theme="dark"] .modal-content,
body[data-bs-theme="dark"] .dropdown-menu,
body[data-bs-theme="dark"] .list-group-item,
body[data-bs-theme="dark"] .input-group-text,
body[data-bs-theme="dark"] .form-control,
body[data-bs-theme="dark"] .form-select,
body[data-bs-theme="dark"] .form-control:disabled,
body[data-bs-theme="dark"] .form-select:disabled,
body[data-bs-theme="dark"] .bg-light,
[data-bs-theme="dark"] .card,
[data-bs-theme="dark"] .modal-content,
[data-bs-theme="dark"] .dropdown-menu,
[data-bs-theme="dark"] .list-group-item,
[data-bs-theme="dark"] .input-group-text,
[data-bs-theme="dark"] .form-control,
[data-bs-theme="dark"] .form-select,
[data-bs-theme="dark"] .form-control:disabled,
[data-bs-theme="dark"] .form-select:disabled,
[data-bs-theme="dark"] .bg-light {
  background-color: var(--scry-surface-1) !important;
  color: var(--scry-text-primary);
  border-color: var(--scry-border-default);
}

body[data-bs-theme="dark"] #side-colecciones > .card,
[data-bs-theme="dark"] #side-colecciones > .card {
  background: var(--scry-surface-1) !important;
}

body[data-bs-theme="dark"] .scry-delivery-note,
[data-bs-theme="dark"] .scry-delivery-note {
  border-color: rgba(79, 213, 199, 0.18) !important;
  color: var(--scry-text-primary);
}

body[data-bs-theme="dark"] .scry-delivery-note--neutral,
[data-bs-theme="dark"] .scry-delivery-note--neutral,
body[data-bs-theme="dark"] .scry-delivery-note--info,
[data-bs-theme="dark"] .scry-delivery-note--info {
  background: radial-gradient(circle at top left, rgba(79, 213, 199, 0.18) 0%, rgba(79, 213, 199, 0) 50%),
    linear-gradient(180deg, rgba(23, 33, 48, 0.96), rgba(16, 24, 37, 0.98)) !important;
}

body[data-bs-theme="dark"] .scry-delivery-note--success,
[data-bs-theme="dark"] .scry-delivery-note--success {
  background: linear-gradient(180deg, rgba(14, 116, 110, 0.2), rgba(16, 24, 37, 0.98)) !important;
}

body[data-bs-theme="dark"] .scry-delivery-note--warning,
[data-bs-theme="dark"] .scry-delivery-note--warning {
  background: linear-gradient(180deg, rgba(180, 83, 9, 0.22), rgba(16, 24, 37, 0.98)) !important;
}

body[data-bs-theme="dark"] .scry-chat-action-card--coordination,
[data-bs-theme="dark"] .scry-chat-action-card--coordination {
  background: var(--scry-surface-1) !important;
}

body[data-bs-theme="dark"] .scry-delivery-note--danger,
[data-bs-theme="dark"] .scry-delivery-note--danger {
  background: linear-gradient(180deg, rgba(185, 28, 28, 0.22), rgba(16, 24, 37, 0.98)) !important;
  border-color: rgba(248, 113, 113, 0.38) !important;
}

body[data-bs-theme="dark"] .scry-chat-attention-pulse,
[data-bs-theme="dark"] .scry-chat-attention-pulse {
  background: #f6c76b;
  box-shadow: 0 0 0 0.18rem rgba(246, 199, 107, 0.16);
}

body[data-bs-theme="dark"] .scry-chat-attention-pulse::after,
[data-bs-theme="dark"] .scry-chat-attention-pulse::after {
  border-color: rgba(246, 199, 107, 0.42);
}

body[data-bs-theme="dark"] .scry-detail-panel,
[data-bs-theme="dark"] .scry-detail-panel,
body[data-bs-theme="dark"] .scry-order-summary-card,
[data-bs-theme="dark"] .scry-order-summary-card,
body[data-bs-theme="dark"] .scry-detail-summary-strip,
[data-bs-theme="dark"] .scry-detail-summary-strip,
body[data-bs-theme="dark"] .scry-summary-meta-card,
[data-bs-theme="dark"] .scry-summary-meta-card {
  background: radial-gradient(circle at top left, rgba(79, 213, 199, 0.16) 0%, rgba(79, 213, 199, 0) 48%),
    linear-gradient(180deg, rgba(23, 33, 48, 0.96), rgba(16, 24, 37, 0.98));
  border-color: rgba(79, 213, 199, 0.2) !important;
  box-shadow: none;
}

body[data-bs-theme="dark"] .scry-accepted-adjustment,
[data-bs-theme="dark"] .scry-accepted-adjustment {
  background: radial-gradient(circle at top left, rgba(79, 213, 199, 0.15) 0%, rgba(79, 213, 199, 0) 48%),
    var(--scry-surface-1);
  border-color: rgba(79, 213, 199, 0.28);
}

body[data-bs-theme="dark"] .scry-pending-adjustment,
[data-bs-theme="dark"] .scry-pending-adjustment {
  background: radial-gradient(circle at top left, rgba(245, 158, 11, 0.15) 0%, rgba(245, 158, 11, 0) 48%),
    var(--scry-surface-1);
  border-color: rgba(245, 158, 11, 0.32);
}

body[data-bs-theme="dark"] .scry-pending-adjustment__icon,
[data-bs-theme="dark"] .scry-pending-adjustment__icon {
  background: rgba(245, 158, 11, 0.16);
  color: #fbbf24;
}

body[data-bs-theme="dark"] .scry-adjustment-trace__removed,
[data-bs-theme="dark"] .scry-adjustment-trace__removed {
  color: #fca5a5;
}

body[data-bs-theme="dark"] .scry-detail-panel__header,
[data-bs-theme="dark"] .scry-detail-panel__header {
  background: transparent;
  border-bottom-color: rgba(79, 213, 199, 0.18) !important;
}

body[data-bs-theme="dark"] .scry-security-note,
[data-bs-theme="dark"] .scry-security-note {
  background: radial-gradient(circle at top left, rgba(245, 158, 11, 0.16) 0%, rgba(245, 158, 11, 0) 48%),
    linear-gradient(180deg, rgba(39, 31, 19, 0.94), rgba(16, 24, 37, 0.98));
  border-color: rgba(245, 158, 11, 0.2);
  box-shadow: none;
}

body[data-bs-theme="dark"] .scry-security-note__icon,
[data-bs-theme="dark"] .scry-security-note__icon {
  color: #fbbf24;
  background: rgba(245, 158, 11, 0.14);
}

body[data-bs-theme="dark"] .scry-security-note__copy,
[data-bs-theme="dark"] .scry-security-note__copy {
  color: var(--scry-text-secondary);
}

body[data-bs-theme="dark"] .scry-summary-meta-card__label,
[data-bs-theme="dark"] .scry-detail-summary-strip__label,
[data-bs-theme="dark"] .scry-summary-meta-card__label {
  color: rgba(226, 232, 240, 0.72);
}

body[data-bs-theme="dark"] .scry-summary-meta-card__value,
[data-bs-theme="dark"] .scry-detail-summary-strip__value,
[data-bs-theme="dark"] .scry-summary-meta-card__value,
body[data-bs-theme="dark"] .scry-summary-meta-card__value a,
[data-bs-theme="dark"] .scry-detail-summary-strip__value a,
[data-bs-theme="dark"] .scry-summary-meta-card__value a {
  color: var(--scry-text-primary);
}

body[data-bs-theme="dark"] .scry-summary-meta-card__value a,
[data-bs-theme="dark"] .scry-detail-summary-strip__value a,
[data-bs-theme="dark"] .scry-summary-meta-card__value a {
  border-bottom-color: rgba(79, 213, 199, 0.3);
}

body[data-bs-theme="dark"] .chat-bubble-left,
[data-bs-theme="dark"] .chat-bubble-left {
  background: linear-gradient(180deg, rgba(27, 38, 54, 0.98), rgba(18, 27, 39, 0.96));
  border-color: rgba(148, 163, 184, 0.18);
  color: var(--scry-text-primary);
  box-shadow: none;
}

body[data-bs-theme="dark"] .chat-bubble-right,
[data-bs-theme="dark"] .chat-bubble-right {
  background: linear-gradient(135deg, rgba(44, 118, 255, 0.95), rgba(21, 94, 239, 0.98));
  border-color: rgba(96, 165, 250, 0.28);
  box-shadow: none;
}

body[data-bs-theme="dark"] .chat-system-message,
[data-bs-theme="dark"] .chat-system-message {
  background: linear-gradient(180deg, rgba(14, 37, 37, 0.96), rgba(12, 30, 31, 0.98));
  border-color: rgba(79, 213, 199, 0.22);
  color: #d7fffa;
}

body[data-bs-theme="dark"] .chat-system-message__label,
[data-bs-theme="dark"] .chat-system-message__label {
  color: #68e0d4;
}

body[data-bs-theme="dark"] .scry-admin-order-chat,
[data-bs-theme="dark"] .scry-admin-order-chat {
  background: rgba(15, 23, 42, 0.68);
  border-color: rgba(148, 163, 184, 0.18);
}

body[data-bs-theme="dark"] .scry-admin-order-chat__bubble,
[data-bs-theme="dark"] .scry-admin-order-chat__bubble {
  box-shadow: none;
}

body[data-bs-theme="dark"] .scry-admin-order-chat__bubble--buyer,
[data-bs-theme="dark"] .scry-admin-order-chat__bubble--buyer {
  background: linear-gradient(180deg, rgba(27, 38, 54, 0.98), rgba(18, 27, 39, 0.96));
  border-color: rgba(148, 163, 184, 0.18);
  color: var(--scry-text-primary);
}

body[data-bs-theme="dark"] .scry-admin-order-chat__bubble--seller,
[data-bs-theme="dark"] .scry-admin-order-chat__bubble--seller {
  background: linear-gradient(135deg, rgba(30, 64, 175, 0.95), rgba(29, 78, 216, 0.98));
  border-color: rgba(96, 165, 250, 0.3);
  color: #f8fbff;
}

body[data-bs-theme="dark"] .scry-admin-order-chat__meta,
[data-bs-theme="dark"] .scry-admin-order-chat__meta {
  color: var(--scry-text-muted);
}

body[data-bs-theme="dark"] .scry-admin-order-chat__bubble--seller .scry-admin-order-chat__meta,
[data-bs-theme="dark"] .scry-admin-order-chat__bubble--seller .scry-admin-order-chat__meta {
  color: #bfdbfe;
}

body[data-bs-theme="dark"] .scry-admin-order-chat__system,
[data-bs-theme="dark"] .scry-admin-order-chat__system {
  background: linear-gradient(180deg, rgba(14, 37, 37, 0.96), rgba(12, 30, 31, 0.98));
  border-color: rgba(79, 213, 199, 0.22);
  color: #d7fffa;
}

body[data-bs-theme="dark"] .scry-admin-order-chat__system-label,
[data-bs-theme="dark"] .scry-admin-order-chat__system-label {
  color: #68e0d4;
}

body[data-bs-theme="dark"] .card-header,
body[data-bs-theme="dark"] .card-footer,
body[data-bs-theme="dark"] .modal-header,
body[data-bs-theme="dark"] .modal-footer,
[data-bs-theme="dark"] .card-header,
[data-bs-theme="dark"] .card-footer,
[data-bs-theme="dark"] .modal-header,
[data-bs-theme="dark"] .modal-footer {
  background-color: var(--scry-surface-2);
  color: var(--scry-text-primary);
  border-color: var(--scry-border-default);
}

body[data-bs-theme="dark"] .form-control::placeholder,
body[data-bs-theme="dark"] .form-select::placeholder,
[data-bs-theme="dark"] .form-control::placeholder,
[data-bs-theme="dark"] .form-select::placeholder {
  color: var(--scry-text-muted);
}

body[data-bs-theme="dark"] .form-control:focus,
body[data-bs-theme="dark"] .form-select:focus,
[data-bs-theme="dark"] .form-control:focus,
[data-bs-theme="dark"] .form-select:focus {
  border-color: rgba(var(--scry-accent-primary-soft-rgb), 0.42);
  box-shadow: 0 0 0 0.2rem rgba(var(--scry-accent-primary-soft-rgb), 0.16);
}

body[data-bs-theme="dark"] .table,
[data-bs-theme="dark"] .table {
  --bs-table-bg: transparent;
  --bs-table-striped-bg: var(--scry-table-row-alt);
  --bs-table-hover-bg: var(--scry-table-row-hover);
  --bs-table-border-color: var(--scry-border-default);
  color: var(--scry-text-primary);
}

body[data-bs-theme="dark"] .table > :not(caption) > * > *,
[data-bs-theme="dark"] .table > :not(caption) > * > * {
  background-color: transparent;
  color: inherit;
  border-bottom-color: var(--scry-border-default);
}

body[data-bs-theme="dark"] .table-light,
body[data-bs-theme="dark"] .table-light > :not(caption) > * > *,
[data-bs-theme="dark"] .table-light,
[data-bs-theme="dark"] .table-light > :not(caption) > * > * {
  --bs-table-bg: var(--scry-surface-2);
  --bs-table-color: var(--scry-text-primary);
  background-color: var(--scry-surface-2) !important;
  color: var(--scry-text-primary) !important;
  border-color: var(--scry-border-default) !important;
}

body[data-bs-theme="dark"] .nav-tabs,
[data-bs-theme="dark"] .nav-tabs {
  border-bottom-color: var(--scry-border-default);
}

body[data-bs-theme="dark"] .nav-tabs .nav-link,
[data-bs-theme="dark"] .nav-tabs .nav-link {
  color: var(--scry-text-secondary);
  border-color: transparent;
}

body[data-bs-theme="dark"] .nav-tabs .nav-link.active,
body[data-bs-theme="dark"] .nav-tabs .nav-link:hover,
[data-bs-theme="dark"] .nav-tabs .nav-link.active,
[data-bs-theme="dark"] .nav-tabs .nav-link:hover {
  color: var(--scry-text-primary);
  background:
    radial-gradient(circle at top left, rgba(var(--scry-accent-primary-soft-rgb), 0.2) 0%, rgba(var(--scry-accent-primary-soft-rgb), 0) 52%) padding-box,
    linear-gradient(180deg, var(--scry-surface-2) 0%, var(--scry-surface-1) 100%) padding-box;
  border-color: var(--scry-border-default) var(--scry-border-default) var(--scry-surface-1);
  box-shadow: inset 0 0 0 1px rgba(var(--scry-accent-primary-soft-rgb), 0.12);
}

body[data-bs-theme="dark"] .nav-tabs .nav-link.active,
[data-bs-theme="dark"] .nav-tabs .nav-link.active {
  border-color: var(--scry-border-strong) var(--scry-border-strong) var(--scry-surface-1);
}

body[data-bs-theme="dark"] .alert-light,
[data-bs-theme="dark"] .alert-light {
  background-color: var(--scry-surface-2);
  color: var(--scry-text-primary);
  border-color: var(--scry-border-default);
}

body[data-bs-theme="dark"] .toast,
[data-bs-theme="dark"] .toast {
  background-color: var(--scry-surface-1);
  color: var(--scry-text-primary);
  border-color: var(--scry-border-default);
}

body[data-bs-theme="dark"] .btn-outline-secondary,
[data-bs-theme="dark"] .btn-outline-secondary {
  color: var(--scry-text-primary);
  border-color: var(--scry-border-default);
}

body[data-bs-theme="dark"] .btn-outline-secondary:hover,
[data-bs-theme="dark"] .btn-outline-secondary:hover {
  background-color: var(--scry-surface-2);
  border-color: var(--scry-border-strong);
}

body[data-bs-theme="dark"] .btn-light,
[data-bs-theme="dark"] .btn-light {
  background-color: var(--scry-surface-1);
  border-color: var(--scry-border-default);
  color: var(--scry-text-primary);
}

body[data-bs-theme="dark"] .btn-light:hover,
[data-bs-theme="dark"] .btn-light:hover {
  background-color: var(--scry-surface-2);
  border-color: var(--scry-border-strong);
  color: var(--scry-text-primary);
}

body[data-bs-theme="dark"] .badge.bg-light,
body[data-bs-theme="dark"] .badge.bg-light.text-dark,
body[data-bs-theme="dark"] .text-bg-light,
[data-bs-theme="dark"] .badge.bg-light,
[data-bs-theme="dark"] .badge.bg-light.text-dark,
[data-bs-theme="dark"] .text-bg-light {
  background-color: var(--scry-surface-2) !important;
  border-color: var(--scry-border-default) !important;
  color: var(--scry-text-primary) !important;
}

body[data-bs-theme="dark"] .btn-outline-dark,
[data-bs-theme="dark"] .btn-outline-dark {
  color: var(--scry-text-primary);
  border-color: var(--scry-border-default);
}

body[data-bs-theme="dark"] .btn-outline-dark:hover,
[data-bs-theme="dark"] .btn-outline-dark:hover {
  background-color: var(--scry-surface-2);
  border-color: var(--scry-border-strong);
  color: var(--scry-text-primary);
}

body[data-bs-theme="dark"] .btn-warning,
[data-bs-theme="dark"] .btn-warning {
  background-color: #f6c76b;
  border-color: #f6c76b;
  color: #1b2430;
}

body[data-bs-theme="dark"] .btn-warning:hover,
[data-bs-theme="dark"] .btn-warning:hover {
  background-color: #ffd88a;
  border-color: #ffd88a;
  color: #131a24;
}

body[data-bs-theme="dark"] .btn-outline-warning,
[data-bs-theme="dark"] .btn-outline-warning {
  color: #f6c76b;
  border-color: rgba(246, 199, 107, 0.5);
}

body[data-bs-theme="dark"] .btn-outline-warning:hover,
[data-bs-theme="dark"] .btn-outline-warning:hover {
  background-color: rgba(246, 199, 107, 0.12);
  color: #ffd88a;
  border-color: rgba(246, 199, 107, 0.72);
}

body[data-bs-theme="dark"] .btn-outline-warning.text-danger,
[data-bs-theme="dark"] .btn-outline-warning.text-danger {
  color: #f6c76b !important;
}

body[data-bs-theme="dark"] .scry-alert-soft-warning,
[data-bs-theme="dark"] .scry-alert-soft-warning {
  background: rgba(245, 158, 11, 0.16);
}

body[data-bs-theme="dark"] .scry-alert-soft-info,
[data-bs-theme="dark"] .scry-alert-soft-info {
  background: rgba(59, 130, 246, 0.16);
  color: #bfdcff;
}

body[data-bs-theme="dark"] .scry-panel-soft,
[data-bs-theme="dark"] .scry-panel-soft {
  background: var(--scry-surface-2);
}

body[data-bs-theme="dark"] .scry-readonly-input,
[data-bs-theme="dark"] .scry-readonly-input {
  background-color: rgba(148, 163, 184, 0.18) !important;
}

body[data-bs-theme="dark"] .store-cover-preview-label,
[data-bs-theme="dark"] .store-cover-preview-label {
  color: rgba(229, 237, 245, 0.68);
}

body[data-bs-theme="dark"] .pe-store-card.is-selected,
[data-bs-theme="dark"] .pe-store-card.is-selected {
  background: rgba(245, 158, 11, 0.08);
}

body[data-bs-theme="dark"] .pe-store-logo-fallback,
[data-bs-theme="dark"] .pe-store-logo-fallback {
  color: var(--scry-text-primary);
  background: var(--scry-surface-2);
}

body[data-bs-theme="dark"] .venta-resumen-check-pill,
[data-bs-theme="dark"] .venta-resumen-check-pill {
  background: var(--scry-surface-1);
  color: var(--scry-text-primary);
  border-color: var(--scry-border-default);
}

body[data-bs-theme="dark"] .venta-resumen-check-pill.is-checked,
[data-bs-theme="dark"] .venta-resumen-check-pill.is-checked {
  background: rgba(16, 185, 129, 0.14);
  color: #8de7c6;
}

body[data-bs-theme="dark"] .venta-resumen-finish-pill.is-foil,
[data-bs-theme="dark"] .venta-resumen-finish-pill.is-foil {
  border-color: rgba(167, 139, 250, 0.36);
  background:
    radial-gradient(circle at 18% 24%, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0) 24%),
    linear-gradient(120deg, rgba(255, 95, 109, 0.22) 0%, rgba(255, 195, 113, 0.24) 16%, rgba(124, 242, 156, 0.2) 32%, rgba(94, 223, 255, 0.24) 48%, rgba(139, 123, 255, 0.24) 64%, rgba(255, 102, 196, 0.22) 82%, rgba(255, 95, 109, 0.22) 100%),
    linear-gradient(180deg, #1f2940 0%, #161d2d 100%);
  background-size: 100% 100%, 220% 220%, 100% 100%;
  color: #efe7ff;
}

body[data-bs-theme="dark"] .venta-resumen-thumb,
[data-bs-theme="dark"] .venta-resumen-thumb,
body[data-bs-theme="dark"] .codigo-entrega-digit,
[data-bs-theme="dark"] .codigo-entrega-digit {
  border-color: var(--scry-border-default);
}

body[data-bs-theme="dark"] .hero-bg,
[data-bs-theme="dark"] .hero-bg {
  background-color: #0f1724;
}

body[data-bs-theme="dark"] .hero-bg::before,
[data-bs-theme="dark"] .hero-bg::before {
  background-image: radial-gradient(circle, rgba(79, 213, 199, 0.16) 1px, transparent 1.6px);
}

body[data-bs-theme="dark"] .hero-bg::after,
[data-bs-theme="dark"] .hero-bg::after {
  background: linear-gradient(to bottom, rgba(12, 18, 28, 0.88) 0%, rgba(15, 23, 36, 0.82) 24%, rgba(15, 23, 36, 0.5) 52%, rgba(15, 23, 36, 0) 88%);
}

body[data-bs-theme="dark"] .home-sections,
[data-bs-theme="dark"] .home-sections {
  --scry-home-accent-soft: rgba(79, 213, 199, 0.14);
  --scry-home-ink: var(--scry-text-primary);
  --scry-home-muted: var(--scry-text-secondary);
  --scry-home-border: rgba(79, 213, 199, 0.22);
  --scry-home-shadow: 0 18px 42px rgba(2, 6, 23, 0.34);
  --scry-home-shadow-soft: 0 14px 34px rgba(2, 6, 23, 0.28);
  background: transparent;
}

body[data-bs-theme="dark"] .scry-hero .carousel-control-prev,
body[data-bs-theme="dark"] .scry-hero .carousel-control-next,
[data-bs-theme="dark"] .scry-hero .carousel-control-prev,
[data-bs-theme="dark"] .scry-hero .carousel-control-next {
  display: none;
}

body[data-bs-theme="dark"] .home-sections h1,
body[data-bs-theme="dark"] .home-sections h2,
body[data-bs-theme="dark"] .home-sections h3,
body[data-bs-theme="dark"] .home-sections h4,
body[data-bs-theme="dark"] .home-sections h5,
body[data-bs-theme="dark"] .home-sections .h1,
body[data-bs-theme="dark"] .home-sections .h2,
body[data-bs-theme="dark"] .home-sections .h3,
body[data-bs-theme="dark"] .home-sections .h4,
body[data-bs-theme="dark"] .home-sections .h5,
body[data-bs-theme="dark"] .home-sections .text-dark,
body[data-bs-theme="dark"] .home-sections .text-body,
body[data-bs-theme="dark"] .home-sections .text-body-emphasis,
[data-bs-theme="dark"] .home-sections h1,
[data-bs-theme="dark"] .home-sections h2,
[data-bs-theme="dark"] .home-sections h3,
[data-bs-theme="dark"] .home-sections h4,
[data-bs-theme="dark"] .home-sections h5,
[data-bs-theme="dark"] .home-sections .h1,
[data-bs-theme="dark"] .home-sections .h2,
[data-bs-theme="dark"] .home-sections .h3,
[data-bs-theme="dark"] .home-sections .h4,
[data-bs-theme="dark"] .home-sections .h5,
[data-bs-theme="dark"] .home-sections .text-dark,
[data-bs-theme="dark"] .home-sections .text-body,
[data-bs-theme="dark"] .home-sections .text-body-emphasis {
  color: var(--scry-text-primary) !important;
}

body[data-bs-theme="dark"] .home-sections .text-muted,
body[data-bs-theme="dark"] .home-sections .text-secondary,
body[data-bs-theme="dark"] .home-sections .text-body-secondary,
body[data-bs-theme="dark"] .home-sections .small.text-muted,
[data-bs-theme="dark"] .home-sections .text-muted,
[data-bs-theme="dark"] .home-sections .text-secondary,
[data-bs-theme="dark"] .home-sections .text-body-secondary,
[data-bs-theme="dark"] .home-sections .small.text-muted {
  color: var(--scry-text-secondary) !important;
}

body[data-bs-theme="dark"] .home-sections .bg-white,
body[data-bs-theme="dark"] .home-sections .bg-light,
body[data-bs-theme="dark"] .home-sections .card,
[data-bs-theme="dark"] .home-sections .bg-white,
[data-bs-theme="dark"] .home-sections .bg-light,
[data-bs-theme="dark"] .home-sections .card {
  background-color: var(--scry-surface-1) !important;
  color: var(--scry-text-primary);
}

body[data-bs-theme="dark"] .home-sections .badge.bg-light,
body[data-bs-theme="dark"] .home-sections .badge.bg-light.text-dark,
[data-bs-theme="dark"] .home-sections .badge.bg-light,
[data-bs-theme="dark"] .home-sections .badge.bg-light.text-dark {
  background: var(--scry-pill-soft-bg) !important;
  border-color: var(--scry-pill-soft-border) !important;
  color: var(--scry-pill-soft-text) !important;
}

body[data-bs-theme="dark"] .home-sections a.text-decoration-none.text-dark,
body[data-bs-theme="dark"] .home-sections a.text-dark,
[data-bs-theme="dark"] .home-sections a.text-decoration-none.text-dark,
[data-bs-theme="dark"] .home-sections a.text-dark {
  color: inherit !important;
}

body[data-bs-theme="dark"] .home-sections .scry-top10-card,
body[data-bs-theme="dark"] .home-sections .scry-top10-card.bg-white,
body[data-bs-theme="dark"] .home-sections a.text-decoration-none.text-dark > .scry-top10-card,
body[data-bs-theme="dark"] .home-sections .scry-top10-card.shadow-sm,
body[data-bs-theme="dark"] .home-sections .scry-top10-grid .scry-top10-card,
[data-bs-theme="dark"] .home-sections .scry-top10-grid a > .scry-top10-card,
[data-bs-theme="dark"] .home-sections .scry-top10-card,
[data-bs-theme="dark"] .home-sections .scry-top10-card.bg-white,
[data-bs-theme="dark"] .home-sections a.text-decoration-none.text-dark > .scry-top10-card,
[data-bs-theme="dark"] .home-sections .scry-top10-card.shadow-sm,
[data-bs-theme="dark"] .home-sections .scry-top10-grid .scry-top10-card {
  background: var(--scry-surface-elevated) !important;
  background-color: var(--scry-surface-1) !important;
  background-image: none !important;
  border-color: var(--scry-border-default) !important;
  color: var(--scry-text-primary) !important;
}

body[data-bs-theme="dark"] .home-sections .scry-top10-card .fw-semibold,
body[data-bs-theme="dark"] .home-sections .scry-top10-rating,
body[data-bs-theme="dark"] .home-sections .scry-top10-card .text-muted,
body[data-bs-theme="dark"] .home-sections .scry-top10-card a.text-dark,
[data-bs-theme="dark"] .home-sections .scry-top10-card .fw-semibold,
[data-bs-theme="dark"] .home-sections .scry-top10-rating,
[data-bs-theme="dark"] .home-sections .scry-top10-card .text-muted,
[data-bs-theme="dark"] .home-sections .scry-top10-card a.text-dark {
  color: var(--scry-text-primary) !important;
}

body[data-bs-theme="dark"] .home-sections .scry-top10-meta,
[data-bs-theme="dark"] .home-sections .scry-top10-meta {
  color: var(--scry-text-secondary) !important;
}

body[data-bs-theme="dark"] .home-sections .scry-top10-card-body,
[data-bs-theme="dark"] .home-sections .scry-top10-card-body {
  background: transparent !important;
}

body[data-bs-theme="dark"] .home-sections .scry-top10-card .small.text-muted,
[data-bs-theme="dark"] .home-sections .scry-top10-card .small.text-muted {
  color: var(--scry-text-secondary) !important;
}

body[data-bs-theme="dark"] .home-sections .scry-top10-rank,
body[data-bs-theme="dark"] .home-sections .scry-top10-card .badge.bg-light.text-dark,
[data-bs-theme="dark"] .home-sections .scry-top10-card .badge.bg-light.border,
[data-bs-theme="dark"] .home-sections .scry-top10-rank,
[data-bs-theme="dark"] .home-sections .scry-top10-card .badge.bg-light.text-dark,
[data-bs-theme="dark"] .home-sections .scry-top10-card .badge.bg-light.border {
  background: rgba(79, 213, 199, 0.14) !important;
  border-color: rgba(79, 213, 199, 0.24) !important;
  color: var(--scry-text-primary) !important;
}

body[data-bs-theme="dark"] .home-sections .scry-top10-cover,
[data-bs-theme="dark"] .home-sections .scry-top10-cover {
  background-color: #202b3b !important;
  border-bottom-color: var(--scry-border-default) !important;
}

body[data-bs-theme="dark"] .home-sections .scry-top10-cover.is-empty,
[data-bs-theme="dark"] .home-sections .scry-top10-cover.is-empty {
  background-image: linear-gradient(135deg, rgba(79, 213, 199, 0.16) 0%, rgba(17, 24, 39, 0.08) 100%) !important;
}

body[data-bs-theme="dark"] .home-sections .scry-top10-logo,
[data-bs-theme="dark"] .home-sections .scry-top10-logo {
  background: #f8fafc !important;
  border-color: rgba(255, 255, 255, 0.88) !important;
}

body[data-bs-theme="dark"] .home-panel,
body[data-bs-theme="dark"] .home-panel-soft,
body[data-bs-theme="dark"] .home-new-store-card,
body[data-bs-theme="dark"] .home-active-store-card,
body[data-bs-theme="dark"] .home-mini-store-card,
body[data-bs-theme="dark"] .home-testimonial-card,
body[data-bs-theme="dark"] .home-point-card,
body[data-bs-theme="dark"] .home-sections .scry-top10-card,
body[data-bs-theme="dark"] .home-sections .bd-grid > a .rounded.border,
body[data-bs-theme="dark"] .home-sections .hv-grid > a .rounded.border,
body[data-bs-theme="dark"] .home-sections .staple-card > div,
body[data-bs-theme="dark"] .feature-scry,
body[data-bs-theme="dark"] .feature-panel,
body[data-bs-theme="dark"] .home-side-cta,
body[data-bs-theme="dark"] .feature-mini-card,
[data-bs-theme="dark"] .home-panel,
[data-bs-theme="dark"] .home-panel-soft,
[data-bs-theme="dark"] .home-new-store-card,
[data-bs-theme="dark"] .home-active-store-card,
[data-bs-theme="dark"] .home-mini-store-card,
[data-bs-theme="dark"] .home-testimonial-card,
[data-bs-theme="dark"] .home-point-card,
[data-bs-theme="dark"] .home-sections .scry-top10-card,
[data-bs-theme="dark"] .home-sections .bd-grid > a .rounded.border,
[data-bs-theme="dark"] .home-sections .hv-grid > a .rounded.border,
[data-bs-theme="dark"] .home-sections .staple-card > div,
[data-bs-theme="dark"] .feature-scry,
[data-bs-theme="dark"] .feature-panel,
[data-bs-theme="dark"] .home-side-cta,
[data-bs-theme="dark"] .feature-mini-card {
  background: var(--scry-surface-accented) !important;
  border-color: rgba(79, 213, 199, 0.12) !important;
  box-shadow: 0 10px 24px rgba(2, 6, 23, 0.18);
}

body[data-bs-theme="dark"] .home-active-store-cover,
[data-bs-theme="dark"] .home-active-store-cover {
  border-bottom-color: rgba(148, 163, 184, 0.18) !important;
  background-color: var(--scry-surface-2) !important;
}

body[data-bs-theme="dark"] .home-active-store-cover.is-empty,
[data-bs-theme="dark"] .home-active-store-cover.is-empty {
  background-image: linear-gradient(135deg, rgba(79, 213, 199, 0.18) 0%, rgba(17, 24, 39, 0.12) 100%) !important;
}

body[data-bs-theme="dark"] .home-active-store-logo,
[data-bs-theme="dark"] .home-active-store-logo {
  background: #f8fafc !important;
  border-color: rgba(255, 255, 255, 0.88) !important;
}

body[data-bs-theme="dark"] .home-sections .hero-stat,
body[data-bs-theme="dark"] .feature-logo,
body[data-bs-theme="dark"] .home-hero-proof-icon,
[data-bs-theme="dark"] .home-sections .hero-stat,
[data-bs-theme="dark"] .feature-logo,
[data-bs-theme="dark"] .home-hero-proof-icon {
  background: var(--scry-surface-elevated) !important;
  border-color: rgba(79, 213, 199, 0.22) !important;
  color: var(--scry-text-primary) !important;
}

body[data-bs-theme="dark"] .scry-hero .scry-badge,
body[data-bs-theme="dark"] .home-sections .feature-badge,
body[data-bs-theme="dark"] .home-sections .badge.feature-badge,
body[data-bs-theme="dark"] .home-sections .home-chip,
body[data-bs-theme="dark"] .home-point-card .badge,
[data-bs-theme="dark"] .scry-hero .scry-badge,
[data-bs-theme="dark"] .home-sections .feature-badge,
[data-bs-theme="dark"] .home-sections .badge.feature-badge,
[data-bs-theme="dark"] .home-sections .home-chip,
[data-bs-theme="dark"] .home-point-card .badge {
  background: var(--scry-pill-soft-bg) !important;
  border-color: var(--scry-pill-soft-border) !important;
  color: var(--scry-pill-soft-text) !important;
}

body[data-bs-theme="dark"] .home-sections .btn-scry,
body[data-bs-theme="dark"] .home-sections .btn-scry-primary,
[data-bs-theme="dark"] .home-sections .btn-scry,
[data-bs-theme="dark"] .home-sections .btn-scry-primary {
  background: var(--scry-cta-primary-bg) !important;
  border-color: var(--scry-cta-primary-border) !important;
  color: var(--scry-cta-primary-text) !important;
  box-shadow: 0 14px 28px rgba(5, 150, 140, 0.24) !important;
}

body[data-bs-theme="dark"] .home-sections .btn-scry:hover,
body[data-bs-theme="dark"] .home-sections .btn-scry:focus,
body[data-bs-theme="dark"] .home-sections .btn-scry-primary:hover,
body[data-bs-theme="dark"] .home-sections .btn-scry-primary:focus,
[data-bs-theme="dark"] .home-sections .btn-scry:hover,
[data-bs-theme="dark"] .home-sections .btn-scry:focus,
[data-bs-theme="dark"] .home-sections .btn-scry-primary:hover,
[data-bs-theme="dark"] .home-sections .btn-scry-primary:focus {
  background: linear-gradient(135deg, #78eee3 0%, #36c4b7 100%) !important;
  border-color: rgba(121, 238, 227, 0.64) !important;
  color: #071018 !important;
}

body[data-bs-theme="dark"] .home-sections .home-link-reset,
[data-bs-theme="dark"] .home-sections .home-link-reset {
  color: inherit !important;
}

body[data-bs-theme="dark"] .home-sections .home-card-surface,
[data-bs-theme="dark"] .home-sections .home-card-surface {
  background: var(--scry-surface-accented) !important;
  border-color: rgba(79, 213, 199, 0.2) !important;
  box-shadow: 0 14px 34px rgba(2, 6, 23, 0.24) !important;
  color: var(--scry-text-primary) !important;
}

body[data-bs-theme="dark"] .home-sections .home-card-title,
[data-bs-theme="dark"] .home-sections .home-card-title {
  color: var(--scry-text-primary) !important;
}

body[data-bs-theme="dark"] .home-sections .home-card-meta,
[data-bs-theme="dark"] .home-sections .home-card-meta {
  color: var(--scry-text-secondary) !important;
}

body[data-bs-theme="dark"] .home-sections .home-badge-soft,
[data-bs-theme="dark"] .home-sections .home-badge-soft {
  background: var(--scry-pill-soft-bg) !important;
  border-color: var(--scry-pill-soft-border) !important;
  color: var(--scry-pill-soft-text) !important;
}

body[data-bs-theme="dark"] .home-sections .home-pill-positive,
[data-bs-theme="dark"] .home-sections .home-pill-positive {
  background: linear-gradient(135deg, #16a34a 0%, #15803d 100%) !important;
  color: #effef8 !important;
}

body[data-bs-theme="dark"] .home-sections .home-cta-primary.btn-scry,
body[data-bs-theme="dark"] .home-sections .home-cta-primary.btn-scry-primary,
[data-bs-theme="dark"] .home-sections .home-cta-primary.btn-scry,
[data-bs-theme="dark"] .home-sections .home-cta-primary.btn-scry-primary {
  background: var(--scry-cta-primary-bg) !important;
  border-color: var(--scry-cta-primary-border) !important;
  color: var(--scry-cta-primary-text) !important;
  box-shadow: 0 14px 28px rgba(5, 150, 140, 0.24) !important;
  text-shadow: none !important;
}

body[data-bs-theme="dark"] .home-sections .home-cta-primary.btn-scry:hover,
body[data-bs-theme="dark"] .home-sections .home-cta-primary.btn-scry:focus,
body[data-bs-theme="dark"] .home-sections .home-cta-primary.btn-scry-primary:hover,
body[data-bs-theme="dark"] .home-sections .home-cta-primary.btn-scry-primary:focus,
[data-bs-theme="dark"] .home-sections .home-cta-primary.btn-scry:hover,
[data-bs-theme="dark"] .home-sections .home-cta-primary.btn-scry:focus,
[data-bs-theme="dark"] .home-sections .home-cta-primary.btn-scry-primary:hover,
[data-bs-theme="dark"] .home-sections .home-cta-primary.btn-scry-primary:focus {
  background: linear-gradient(135deg, #78eee3 0%, #36c4b7 100%) !important;
  border-color: rgba(121, 238, 227, 0.64) !important;
  color: #071018 !important;
}

body[data-bs-theme="dark"] .home-sections .home-brand-pill,
[data-bs-theme="dark"] .home-sections .home-brand-pill {
  background: var(--scry-surface-elevated) !important;
  border-color: rgba(79, 213, 199, 0.24) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02), 0 10px 26px rgba(2, 6, 23, 0.22);
}

body[data-bs-theme="dark"] .home-sections .home-new-store-card .fw-semibold,
body[data-bs-theme="dark"] .home-sections .home-new-store-card .fw-semibold .text-success,
body[data-bs-theme="dark"] .home-sections .home-mini-store-card .fw-semibold,
body[data-bs-theme="dark"] .home-sections .feature-logo__label,
body[data-bs-theme="dark"] .home-sections .home-scroll-card .fw-semibold,
body[data-bs-theme="dark"] .home-sections .home-grid-card-link .fw-semibold,
body[data-bs-theme="dark"] .home-sections .hv-grid > a .fw-semibold,
body[data-bs-theme="dark"] .home-sections .hv-grid > a .small.fw-semibold,
[data-bs-theme="dark"] .home-sections .home-mini-store-card .fw-semibold,
[data-bs-theme="dark"] .home-sections .home-new-store-card .fw-semibold,
[data-bs-theme="dark"] .home-sections .home-new-store-card .fw-semibold .text-success,
[data-bs-theme="dark"] .home-sections .feature-logo__label,
[data-bs-theme="dark"] .home-sections .home-scroll-card .fw-semibold,
[data-bs-theme="dark"] .home-sections .home-grid-card-link .fw-semibold,
[data-bs-theme="dark"] .home-sections .hv-grid > a .fw-semibold,
[data-bs-theme="dark"] .home-sections .hv-grid > a .small.fw-semibold {
  color: var(--scry-text-primary) !important;
}

body[data-bs-theme="dark"] .home-sections .home-new-store-card .text-muted,
body[data-bs-theme="dark"] .home-sections .home-new-store-desc,
body[data-bs-theme="dark"] .home-sections .home-mini-store-card .text-muted,
body[data-bs-theme="dark"] .home-sections .feature-footnote,
body[data-bs-theme="dark"] .home-sections .home-scroll-card .text-muted,
body[data-bs-theme="dark"] .home-sections .home-grid-card-link .text-muted,
body[data-bs-theme="dark"] .home-sections .hv-grid > a .text-muted,
body[data-bs-theme="dark"] .home-sections .hv-grid > a .hv-meta,
[data-bs-theme="dark"] .home-sections .home-mini-store-card .text-muted,
[data-bs-theme="dark"] .home-sections .home-new-store-card .text-muted,
[data-bs-theme="dark"] .home-sections .home-new-store-desc,
[data-bs-theme="dark"] .home-sections .feature-footnote,
[data-bs-theme="dark"] .home-sections .home-scroll-card .text-muted,
[data-bs-theme="dark"] .home-sections .home-grid-card-link .text-muted,
[data-bs-theme="dark"] .home-sections .hv-grid > a .text-muted,
[data-bs-theme="dark"] .home-sections .hv-grid > a .hv-meta {
  color: var(--scry-text-secondary) !important;
}

body[data-bs-theme="dark"] .home-sections .home-staple-card,
body[data-bs-theme="dark"] .home-sections .home-staple-card .fw-semibold,
body[data-bs-theme="dark"] .home-sections .home-staple-card .text-truncate,
body[data-bs-theme="dark"] .home-sections .home-staple-card .small,
[data-bs-theme="dark"] .home-sections .home-staple-card,
[data-bs-theme="dark"] .home-sections .home-staple-card .fw-semibold,
[data-bs-theme="dark"] .home-sections .home-staple-card .text-truncate,
[data-bs-theme="dark"] .home-sections .home-staple-card .small {
  color: var(--scry-text-primary) !important;
}

body[data-bs-theme="dark"] .home-sections .home-staple-card .text-muted,
[data-bs-theme="dark"] .home-sections .home-staple-card .text-muted {
  color: var(--scry-text-secondary) !important;
}

body[data-bs-theme="dark"] .home-sections .home-staple-card:hover,
body[data-bs-theme="dark"] .home-sections .staple-card:hover,
[data-bs-theme="dark"] .home-sections .home-staple-card:hover,
[data-bs-theme="dark"] .home-sections .staple-card:hover {
  transform: translateY(-1px);
}

body[data-bs-theme="dark"] .home-sections .home-staple-card:hover > div,
body[data-bs-theme="dark"] .home-sections .staple-card:hover > div,
[data-bs-theme="dark"] .home-sections .home-staple-card:hover > div,
[data-bs-theme="dark"] .home-sections .staple-card:hover > div {
  border-color: rgba(79, 213, 199, 0.32) !important;
  box-shadow: 0 12px 26px rgba(2, 6, 23, 0.28) !important;
}

body[data-bs-theme="dark"] .home-sections .hv-grid > a,
[data-bs-theme="dark"] .home-sections .hv-grid > a {
  color: inherit !important;
}

body[data-bs-theme="dark"] .home-sections .home-grid-card-link,
body[data-bs-theme="dark"] .home-sections .home-scroll-card,
body[data-bs-theme="dark"] .home-sections .home-mini-store-card,
body[data-bs-theme="dark"] .home-sections .home-new-store-card,
[data-bs-theme="dark"] .home-sections .home-grid-card-link,
[data-bs-theme="dark"] .home-sections .home-scroll-card,
[data-bs-theme="dark"] .home-sections .home-mini-store-card,
[data-bs-theme="dark"] .home-sections .home-new-store-card {
  color: inherit !important;
}

body[data-bs-theme="dark"] .home-sections .feature-logo--moxfield,
[data-bs-theme="dark"] .home-sections .feature-logo--moxfield {
  background: linear-gradient(135deg, rgba(119, 57, 192, 0.22) 0%, rgba(34, 22, 55, 0.96) 100%) !important;
  border-color: rgba(179, 116, 255, 0.24) !important;
}

body[data-bs-theme="dark"] .home-sections .feature-logo--manabox,
[data-bs-theme="dark"] .home-sections .feature-logo--manabox {
  background: linear-gradient(135deg, rgba(255, 176, 32, 0.2) 0%, rgba(52, 34, 12, 0.96) 100%) !important;
  border-color: rgba(255, 192, 74, 0.24) !important;
}

body[data-bs-theme="dark"] .home-sections .feature-logo--delver,
[data-bs-theme="dark"] .home-sections .feature-logo--delver {
  background: linear-gradient(135deg, rgba(66, 133, 244, 0.26) 0%, rgba(17, 35, 68, 0.96) 100%) !important;
  border-color: rgba(96, 165, 250, 0.24) !important;
}

body[data-bs-theme="dark"] .home-sections .feature-panel .feature-logo img,
[data-bs-theme="dark"] .home-sections .feature-panel .feature-logo img {
  filter: none !important;
}

body[data-bs-theme="dark"] .home-sections .home-side-cta .btn-scry-primary,
body[data-bs-theme="dark"] .home-sections .feature-scry .btn-scry,
[data-bs-theme="dark"] .home-sections .home-side-cta .btn-scry-primary,
[data-bs-theme="dark"] .home-sections .feature-scry .btn-scry {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  font-weight: 800 !important;
  letter-spacing: 0.01em;
  text-shadow: none !important;
}

body[data-bs-theme="dark"] .home-sections .home-side-cta .btn-scry-primary,
[data-bs-theme="dark"] .home-sections .home-side-cta .btn-scry-primary {
  width: 100%;
}

body[data-bs-theme="dark"] .home-sections .home-side-cta .btn-scry-primary,
body[data-bs-theme="dark"] .home-sections .feature-scry .btn-scry,
body[data-bs-theme="dark"] .home-sections .feature-scry .btn-scry-primary,
[data-bs-theme="dark"] .home-sections .home-side-cta .btn-scry-primary,
[data-bs-theme="dark"] .home-sections .feature-scry .btn-scry,
[data-bs-theme="dark"] .home-sections .feature-scry .btn-scry-primary {
  opacity: 1 !important;
  filter: none !important;
  color: #071018 !important;
}

body[data-bs-theme="dark"] .home-sections .home-link-reset .home-card-title,
body[data-bs-theme="dark"] .home-sections .home-link-reset .fw-semibold,
body[data-bs-theme="dark"] .home-sections .home-link-reset .h5,
body[data-bs-theme="dark"] .home-sections .home-link-reset .h4,
[data-bs-theme="dark"] .home-sections .home-link-reset .home-card-title,
[data-bs-theme="dark"] .home-sections .home-link-reset .fw-semibold,
[data-bs-theme="dark"] .home-sections .home-link-reset .h5,
[data-bs-theme="dark"] .home-sections .home-link-reset .h4 {
  color: var(--scry-text-primary) !important;
}

body[data-bs-theme="dark"] .home-sections .home-link-reset .home-card-meta,
body[data-bs-theme="dark"] .home-sections .home-link-reset .text-muted,
body[data-bs-theme="dark"] .home-sections .home-link-reset .small,
[data-bs-theme="dark"] .home-sections .home-link-reset .home-card-meta,
[data-bs-theme="dark"] .home-sections .home-link-reset .text-muted,
[data-bs-theme="dark"] .home-sections .home-link-reset .small {
  color: var(--scry-text-secondary) !important;
}

body[data-bs-theme="dark"] .home-sections .scry-top10-grid > a > .scry-top10-card,
body[data-bs-theme="dark"] .home-sections a.home-staple-card > .home-card-surface,
body[data-bs-theme="dark"] .home-sections .hv-grid > a.home-grid-card-link > .rounded.border,
body[data-bs-theme="dark"] .home-sections .bd-grid > a.home-grid-card-link > .rounded.border,
[data-bs-theme="dark"] .home-sections .home-staple-card > .home-card-surface,
[data-bs-theme="dark"] .home-sections .scry-top10-grid > a > .scry-top10-card,
[data-bs-theme="dark"] .home-sections a.home-staple-card > .home-card-surface,
[data-bs-theme="dark"] .home-sections .hv-grid > a.home-grid-card-link > .rounded.border,
[data-bs-theme="dark"] .home-sections .bd-grid > a.home-grid-card-link > .rounded.border,
[data-bs-theme="dark"] .home-sections .home-staple-card > .home-card-surface {
  background: var(--scry-surface-accented) !important;
  background-image: none !important;
  background-color: var(--scry-surface-1) !important;
  border-color: rgba(79, 213, 199, 0.12) !important;
  color: var(--scry-text-primary) !important;
  box-shadow: 0 10px 22px rgba(2, 6, 23, 0.18) !important;
}

body[data-bs-theme="dark"] .home-sections .home-side-cta .home-cta-primary,
body[data-bs-theme="dark"] .home-sections .feature-scry .home-cta-primary,
[data-bs-theme="dark"] .home-sections .home-side-cta .home-cta-primary,
[data-bs-theme="dark"] .home-sections .feature-scry .home-cta-primary {
  background: linear-gradient(135deg, #78eee3 0%, #36c4b7 100%) !important;
  border-color: rgba(121, 238, 227, 0.64) !important;
  color: #071018 !important;
  font-weight: 800 !important;
}

body[data-bs-theme="dark"] .home-sections .home-panel > .d-flex.justify-content-between.align-items-center.mb-3,
[data-bs-theme="dark"] .home-sections .home-panel > .d-flex.justify-content-between.align-items-center.mb-3 {
  gap: 1rem;
}

body[data-bs-theme="dark"] .home-sections .home-panel > .d-flex.justify-content-between.align-items-center.mb-3 h2,
[data-bs-theme="dark"] .home-sections .home-panel > .d-flex.justify-content-between.align-items-center.mb-3 h2 {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  line-height: 1.15;
}

body[data-bs-theme="dark"] .home-sections .home-panel > .d-flex.justify-content-between.align-items-center.mb-3 > a.small,
[data-bs-theme="dark"] .home-sections .home-panel > .d-flex.justify-content-between.align-items-center.mb-3 > a.small {
  color: var(--scry-text-secondary) !important;
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
}

body[data-bs-theme="dark"] .home-sections .home-panel > .d-flex.justify-content-between.align-items-center.mb-3 > a.small:hover,
[data-bs-theme="dark"] .home-sections .home-panel > .d-flex.justify-content-between.align-items-center.mb-3 > a.small:hover {
  color: var(--scry-accent-primary) !important;
}

body[data-bs-theme="dark"] .home-sections .home-mini-store-card,
body[data-bs-theme="dark"] .home-sections .home-new-store-card,
[data-bs-theme="dark"] .home-sections .home-mini-store-card,
[data-bs-theme="dark"] .home-sections .home-new-store-card {
  padding: 0.9rem 1rem;
  gap: 0.85rem !important;
  min-height: 110px;
  align-items: center;
}

body[data-bs-theme="dark"] .home-sections .home-mini-store-card .flex-grow-1,
body[data-bs-theme="dark"] .home-sections .home-new-store-card .flex-grow-1,
[data-bs-theme="dark"] .home-sections .home-mini-store-card .flex-grow-1,
[data-bs-theme="dark"] .home-sections .home-new-store-card .flex-grow-1 {
  min-width: 0;
}

body[data-bs-theme="dark"] .home-sections .home-card-title,
[data-bs-theme="dark"] .home-sections .home-card-title {
  line-height: 1.25;
}

body[data-bs-theme="dark"] .home-sections .home-new-store-card .home-card-title,
body[data-bs-theme="dark"] .home-sections .home-mini-store-card .home-card-title,
[data-bs-theme="dark"] .home-sections .home-new-store-card .home-card-title,
[data-bs-theme="dark"] .home-sections .home-mini-store-card .home-card-title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

body[data-bs-theme="dark"] .home-sections .home-card-meta,
body[data-bs-theme="dark"] .home-sections .home-new-store-desc,
[data-bs-theme="dark"] .home-sections .home-card-meta,
[data-bs-theme="dark"] .home-sections .home-new-store-desc {
  line-height: 1.35;
}

body[data-bs-theme="dark"] .home-sections .home-new-store-card .home-card-meta,
body[data-bs-theme="dark"] .home-sections .home-mini-store-card .home-card-meta,
[data-bs-theme="dark"] .home-sections .home-new-store-card .home-card-meta,
[data-bs-theme="dark"] .home-sections .home-mini-store-card .home-card-meta {
  color: rgba(203, 214, 224, 0.76) !important;
}

body[data-bs-theme="dark"] .home-sections .home-scroll-card .home-card-meta,
body[data-bs-theme="dark"] .home-sections .home-grid-card-link .home-card-meta,
body[data-bs-theme="dark"] .home-sections .home-staple-card .home-card-meta,
[data-bs-theme="dark"] .home-sections .home-scroll-card .home-card-meta,
[data-bs-theme="dark"] .home-sections .home-grid-card-link .home-card-meta,
[data-bs-theme="dark"] .home-sections .home-staple-card .home-card-meta {
  color: rgba(203, 214, 224, 0.72) !important;
}

body[data-bs-theme="dark"] .home-sections .scry-top10-logo,
body[data-bs-theme="dark"] .home-sections .home-new-store-logo,
body[data-bs-theme="dark"] .home-sections .home-store-thumb-sm,
[data-bs-theme="dark"] .home-sections .scry-top10-logo,
[data-bs-theme="dark"] .home-sections .home-new-store-logo,
[data-bs-theme="dark"] .home-sections .home-store-thumb-sm {
  background: rgba(245, 249, 252, 0.94) !important;
  border: 1px solid rgba(148, 163, 184, 0.18) !important;
  border-radius: 14px !important;
  padding: 0.28rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.32);
}

body[data-bs-theme="dark"] .home-sections .staple-card:hover,
body[data-bs-theme="dark"] .home-sections .home-staple-card:hover,
[data-bs-theme="dark"] .home-sections .staple-card:hover,
[data-bs-theme="dark"] .home-sections .home-staple-card:hover {
  transform: translateY(-1px);
}

body[data-bs-theme="dark"] .home-sections .staple-card:hover > div,
body[data-bs-theme="dark"] .home-sections .home-staple-card:hover > div,
[data-bs-theme="dark"] .home-sections .staple-card:hover > div,
[data-bs-theme="dark"] .home-sections .home-staple-card:hover > div {
  border-color: rgba(79, 213, 199, 0.18) !important;
  box-shadow: 0 12px 24px rgba(2, 6, 23, 0.2) !important;
}

body[data-bs-theme="dark"] .home-sections .bd-grid-wrap,
body[data-bs-theme="dark"] .home-sections .hv-grid-wrap,
body[data-bs-theme="dark"] .home-sections .scry-top10-grid,
body[data-bs-theme="dark"] .home-sections .home-feedback-strip,
body[data-bs-theme="dark"] .home-sections .d-flex.overflow-auto,
[data-bs-theme="dark"] .home-sections .bd-grid-wrap,
[data-bs-theme="dark"] .home-sections .hv-grid-wrap,
[data-bs-theme="dark"] .home-sections .scry-top10-grid,
[data-bs-theme="dark"] .home-sections .home-feedback-strip,
[data-bs-theme="dark"] .home-sections .d-flex.overflow-auto {
  scrollbar-width: thin;
  scrollbar-color: rgba(100, 116, 139, 0.52) rgba(15, 23, 42, 0.42);
}

body[data-bs-theme="dark"] .home-sections .bd-grid-wrap::-webkit-scrollbar,
body[data-bs-theme="dark"] .home-sections .hv-grid-wrap::-webkit-scrollbar,
body[data-bs-theme="dark"] .home-sections .scry-top10-grid::-webkit-scrollbar,
body[data-bs-theme="dark"] .home-sections .home-feedback-strip::-webkit-scrollbar,
body[data-bs-theme="dark"] .home-sections .d-flex.overflow-auto::-webkit-scrollbar,
[data-bs-theme="dark"] .home-sections .bd-grid-wrap::-webkit-scrollbar,
[data-bs-theme="dark"] .home-sections .hv-grid-wrap::-webkit-scrollbar,
[data-bs-theme="dark"] .home-sections .scry-top10-grid::-webkit-scrollbar,
[data-bs-theme="dark"] .home-sections .home-feedback-strip::-webkit-scrollbar,
[data-bs-theme="dark"] .home-sections .d-flex.overflow-auto::-webkit-scrollbar {
  height: 8px;
  width: 8px;
}

body[data-bs-theme="dark"] .home-sections .bd-grid-wrap::-webkit-scrollbar-track,
body[data-bs-theme="dark"] .home-sections .hv-grid-wrap::-webkit-scrollbar-track,
body[data-bs-theme="dark"] .home-sections .scry-top10-grid::-webkit-scrollbar-track,
body[data-bs-theme="dark"] .home-sections .home-feedback-strip::-webkit-scrollbar-track,
body[data-bs-theme="dark"] .home-sections .d-flex.overflow-auto::-webkit-scrollbar-track,
[data-bs-theme="dark"] .home-sections .bd-grid-wrap::-webkit-scrollbar-track,
[data-bs-theme="dark"] .home-sections .hv-grid-wrap::-webkit-scrollbar-track,
[data-bs-theme="dark"] .home-sections .scry-top10-grid::-webkit-scrollbar-track,
[data-bs-theme="dark"] .home-sections .home-feedback-strip::-webkit-scrollbar-track,
[data-bs-theme="dark"] .home-sections .d-flex.overflow-auto::-webkit-scrollbar-track {
  background: rgba(15, 23, 42, 0.38);
  border-radius: 999px;
}

body[data-bs-theme="dark"] .home-sections .bd-grid-wrap::-webkit-scrollbar-thumb,
body[data-bs-theme="dark"] .home-sections .hv-grid-wrap::-webkit-scrollbar-thumb,
body[data-bs-theme="dark"] .home-sections .scry-top10-grid::-webkit-scrollbar-thumb,
body[data-bs-theme="dark"] .home-sections .home-feedback-strip::-webkit-scrollbar-thumb,
body[data-bs-theme="dark"] .home-sections .d-flex.overflow-auto::-webkit-scrollbar-thumb,
[data-bs-theme="dark"] .home-sections .bd-grid-wrap::-webkit-scrollbar-thumb,
[data-bs-theme="dark"] .home-sections .hv-grid-wrap::-webkit-scrollbar-thumb,
[data-bs-theme="dark"] .home-sections .scry-top10-grid::-webkit-scrollbar-thumb,
[data-bs-theme="dark"] .home-sections .home-feedback-strip::-webkit-scrollbar-thumb,
[data-bs-theme="dark"] .home-sections .d-flex.overflow-auto::-webkit-scrollbar-thumb {
  background: rgba(100, 116, 139, 0.56);
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.3);
}

body[data-bs-theme="dark"] .scry-hero .hero-title,
body[data-bs-theme="dark"] .scry-hero .hero-stat strong,
body[data-bs-theme="dark"] .scry-hero .hero-sub,
body[data-bs-theme="dark"] .scry-hero .hero-note,
body[data-bs-theme="dark"] .home-sections .hero-stat span,
body[data-bs-theme="dark"] .home-sections .feature-footnote,
body[data-bs-theme="dark"] .home-sections a.small,
body[data-bs-theme="dark"] .home-sections .small.fw-semibold.text-decoration-none,
[data-bs-theme="dark"] .scry-hero .hero-title,
[data-bs-theme="dark"] .scry-hero .hero-stat strong,
[data-bs-theme="dark"] .scry-hero .hero-sub,
[data-bs-theme="dark"] .scry-hero .hero-note,
[data-bs-theme="dark"] .home-sections .hero-stat span,
[data-bs-theme="dark"] .home-sections .feature-footnote,
[data-bs-theme="dark"] .home-sections a.small,
[data-bs-theme="dark"] .home-sections .small.fw-semibold.text-decoration-none {
  color: var(--scry-text-primary) !important;
}

body[data-bs-theme="dark"] .scry-hero .hero-title span,
[data-bs-theme="dark"] .scry-hero .hero-title span {
  color: var(--scry-accent-primary-strong) !important;
}

body[data-bs-theme="dark"] .home-sections .hero-stat span,
body[data-bs-theme="dark"] .home-sections .feature-footnote,
[data-bs-theme="dark"] .home-sections .hero-stat span,
[data-bs-theme="dark"] .home-sections .feature-footnote {
  color: var(--scry-text-secondary) !important;
}

body[data-bs-theme="dark"] .scry-hero .hero-img-wrap,
[data-bs-theme="dark"] .scry-hero .hero-img-wrap {
  border-color: rgba(79, 213, 199, 0.2);
}

body[data-bs-theme="dark"] .feature-scry::before,
body[data-bs-theme="dark"] .feature-alt::before,
[data-bs-theme="dark"] .feature-scry::before,
[data-bs-theme="dark"] .feature-alt::before {
  background: linear-gradient(120deg, rgba(79, 213, 199, 0.08) 0%, rgba(17, 24, 39, 0.02) 72%);
  opacity: 0.9;
}

body[data-bs-theme="dark"] .sb-topnav,
[data-bs-theme="dark"] .sb-topnav {
  background: linear-gradient(135deg, #132433 0%, #0f1c2a 100%) !important;
  border-bottom: 1px solid var(--scry-border-default);
}

body[data-bs-theme="dark"] .sb-topnav .navbar-brand,
body[data-bs-theme="dark"] .sb-topnav .btn-link,
[data-bs-theme="dark"] .sb-topnav .navbar-brand,
[data-bs-theme="dark"] .sb-topnav .btn-link {
  color: var(--scry-text-primary);
}

body[data-bs-theme="dark"] .admin-mobile-nav-toggle,
[data-bs-theme="dark"] .admin-mobile-nav-toggle {
  background: rgba(79, 213, 199, 0.08);
  border-color: rgba(79, 213, 199, 0.18);
  color: var(--scry-text-primary);
}

body[data-bs-theme="dark"] .sb-sidenav-light,
[data-bs-theme="dark"] .sb-sidenav-light {
  background-color: #111827;
}

body[data-bs-theme="dark"] .sb-sidenav-light .sb-sidenav-menu .nav-link,
body[data-bs-theme="dark"] .sb-nav-section-label,
body[data-bs-theme="dark"] .sb-nav-section-store-link,
body[data-bs-theme="dark"] .sb-sidenav-user-email,
[data-bs-theme="dark"] .sb-sidenav-light .sb-sidenav-menu .nav-link,
[data-bs-theme="dark"] .sb-nav-section-label,
[data-bs-theme="dark"] .sb-nav-section-store-link,
[data-bs-theme="dark"] .sb-sidenav-user-email {
  color: var(--scry-text-secondary);
}

body[data-bs-theme="dark"] .sb-sidenav-light .sb-sidenav-menu .nav-link .sb-nav-link-icon,
body[data-bs-theme="dark"] .sb-sidenav-light .sb-sidenav-menu .nav-link .sb-sidenav-collapse-arrow,
[data-bs-theme="dark"] .sb-sidenav-light .sb-sidenav-menu .nav-link .sb-nav-link-icon,
[data-bs-theme="dark"] .sb-sidenav-light .sb-sidenav-menu .nav-link .sb-sidenav-collapse-arrow {
  color: rgba(184, 195, 209, 0.8);
}

body[data-bs-theme="dark"] .sb-sidenav-light .sb-sidenav-menu .nav-link:hover,
body[data-bs-theme="dark"] .sb-nav-section-store-link:hover,
[data-bs-theme="dark"] .sb-sidenav-light .sb-sidenav-menu .nav-link:hover,
[data-bs-theme="dark"] .sb-nav-section-store-link:hover {
  color: var(--scry-text-primary);
}

body[data-bs-theme="dark"] .sb-sidenav-light .sb-sidenav-menu .nav-link.active,
[data-bs-theme="dark"] .sb-sidenav-light .sb-sidenav-menu .nav-link.active {
  color: #8be7dd;
}

body[data-bs-theme="dark"] .sb-sidenav-light .sb-sidenav-menu .nav-link.active,
body[data-bs-theme="dark"] .sb-sidenav-light .sb-sidenav-menu .nav-link:hover,
[data-bs-theme="dark"] .sb-sidenav-light .sb-sidenav-menu .nav-link.active,
[data-bs-theme="dark"] .sb-sidenav-light .sb-sidenav-menu .nav-link:hover {
  background-color: rgba(79, 213, 199, 0.08);
}

.scry-nav-offer-badge.is-tracking {
  border-color: var(--scry-border-strong);
  background: var(--scry-success-bg);
  color: var(--scry-success-text);
}

.scry-nav-offer-badge.is-action-required {
  border-color: var(--scry-warning-ring-strong);
  background: var(--scry-warning-bg);
  color: var(--scry-warning-text);
}

.scry-account-item:hover .scry-nav-offer-badge,
.scry-account-item:focus .scry-nav-offer-badge,
.sb-sidenav .nav-link:hover .scry-nav-offer-badge,
.sb-sidenav .nav-link:focus .scry-nav-offer-badge {
  border-color: currentColor;
}

body[data-bs-theme="dark"] .sb-sidenav-light .sb-sidenav-footer,
[data-bs-theme="dark"] .sb-sidenav-light .sb-sidenav-footer {
  background-color: #172132;
  color: var(--scry-text-primary);
}

body[data-bs-theme="dark"] .admin-footer-signature-shell,
[data-bs-theme="dark"] .admin-footer-signature-shell {
  background-color: #172132 !important;
  border-top: 1px solid var(--scry-border-default);
}

body[data-bs-theme="dark"] .sb-sidenav-footer.bg-info,
[data-bs-theme="dark"] .sb-sidenav-footer.bg-info {
  background-color: #172132 !important;
}

body[data-bs-theme="dark"] .sb-sidenav-footer.bg-info .text-dark,
[data-bs-theme="dark"] .sb-sidenav-footer.bg-info .text-dark {
  color: var(--scry-text-primary) !important;
}

body[data-bs-theme="dark"] .sb-sidenav-store-qr-title,
body[data-bs-theme="dark"] .sb-sidenav-footer-link,
body[data-bs-theme="dark"] .sb-sidenav-store-qr-link,
[data-bs-theme="dark"] .sb-sidenav-store-qr-title,
[data-bs-theme="dark"] .sb-sidenav-footer-link,
[data-bs-theme="dark"] .sb-sidenav-store-qr-link {
  color: var(--scry-accent-primary-strong);
}

body[data-bs-theme="dark"] .admin-footer-signature__brand,
[data-bs-theme="dark"] .admin-footer-signature__brand {
  color: var(--scry-text-secondary) !important;
}

body[data-bs-theme="dark"] .admin-footer-signature__links a,
body[data-bs-theme="dark"] .admin-footer-signature__feedback,
[data-bs-theme="dark"] .admin-footer-signature__links a,
[data-bs-theme="dark"] .admin-footer-signature__feedback {
  color: var(--scry-accent-primary-strong);
}

body[data-bs-theme="dark"] .admin-footer-signature__dot,
[data-bs-theme="dark"] .admin-footer-signature__dot {
  color: var(--scry-text-muted) !important;
}

body[data-bs-theme="dark"] #layoutSidenav_nav,
[data-bs-theme="dark"] #layoutSidenav_nav {
  border-right: 1px solid var(--scry-border-default);
}

body[data-bs-theme="dark"] .scry-table-shell .table.dataTable tbody tr > *,
body[data-bs-theme="dark"] .scry-table-shell .table tbody tr.odd > *,
body[data-bs-theme="dark"] .scry-table-shell .table tbody tr.even > *,
[data-bs-theme="dark"] .scry-table-shell .table.dataTable tbody tr > *,
[data-bs-theme="dark"] .scry-table-shell .table tbody tr.odd > *,
[data-bs-theme="dark"] .scry-table-shell .table tbody tr.even > * {
  color: var(--scry-text-primary) !important;
  background-color: #172132 !important;
}

body[data-bs-theme="dark"] .scry-table-shell .table tbody tr.even > *,
[data-bs-theme="dark"] .scry-table-shell .table tbody tr.even > * {
  background-color: rgba(148, 163, 184, 0.06) !important;
}

body[data-bs-theme="dark"] .scry-table-shell .table tbody tr.odd > *,
[data-bs-theme="dark"] .scry-table-shell .table tbody tr.odd > * {
  background-color: #172132 !important;
}

body[data-bs-theme="dark"] .scry-table-shell .table tbody tr:hover > *,
[data-bs-theme="dark"] .scry-table-shell .table tbody tr:hover > * {
  background-color: rgba(79, 213, 199, 0.1) !important;
}

body[data-bs-theme="dark"] .dataTables_wrapper,
body[data-bs-theme="dark"] .datatable-wrapper,
[data-bs-theme="dark"] .dataTables_wrapper,
[data-bs-theme="dark"] .datatable-wrapper {
  color: var(--scry-text-secondary) !important;
}

body[data-bs-theme="dark"] .dataTables_wrapper table.dataTable,
body[data-bs-theme="dark"] .datatable-wrapper .datatable-table,
[data-bs-theme="dark"] .dataTables_wrapper table.dataTable,
[data-bs-theme="dark"] .datatable-wrapper .datatable-table {
  background: transparent !important;
  color: var(--scry-text-primary) !important;
  border-color: var(--scry-border-default) !important;
}

body[data-bs-theme="dark"] .dataTables_wrapper table.dataTable thead th,
body[data-bs-theme="dark"] .dataTables_wrapper table.dataTable thead td,
body[data-bs-theme="dark"] .dataTables_wrapper table.dataTable tfoot th,
body[data-bs-theme="dark"] .dataTables_wrapper table.dataTable tfoot td,
body[data-bs-theme="dark"] .datatable-wrapper .datatable-table thead th,
body[data-bs-theme="dark"] .datatable-wrapper .datatable-table thead td,
[data-bs-theme="dark"] .dataTables_wrapper table.dataTable thead th,
[data-bs-theme="dark"] .dataTables_wrapper table.dataTable thead td,
[data-bs-theme="dark"] .dataTables_wrapper table.dataTable tfoot th,
[data-bs-theme="dark"] .dataTables_wrapper table.dataTable tfoot td,
[data-bs-theme="dark"] .datatable-wrapper .datatable-table thead th,
[data-bs-theme="dark"] .datatable-wrapper .datatable-table thead td {
  background: transparent !important;
  color: var(--scry-text-primary) !important;
  border-color: var(--scry-border-default) !important;
}

body[data-bs-theme="dark"] .dataTables_wrapper table.dataTable tbody tr,
body[data-bs-theme="dark"] .dataTables_wrapper table.dataTable.display tbody tr,
body[data-bs-theme="dark"] .dataTables_wrapper table.dataTable.stripe tbody tr,
body[data-bs-theme="dark"] .datatable-wrapper .datatable-table tbody tr,
[data-bs-theme="dark"] .dataTables_wrapper table.dataTable tbody tr,
[data-bs-theme="dark"] .dataTables_wrapper table.dataTable.display tbody tr,
[data-bs-theme="dark"] .dataTables_wrapper table.dataTable.stripe tbody tr,
[data-bs-theme="dark"] .datatable-wrapper .datatable-table tbody tr {
  background-color: var(--scry-surface-1) !important;
  color: var(--scry-text-primary) !important;
}

body[data-bs-theme="dark"] .dataTables_wrapper table.dataTable tbody tr.even,
body[data-bs-theme="dark"] .dataTables_wrapper table.dataTable.display tbody tr.even,
body[data-bs-theme="dark"] .dataTables_wrapper table.dataTable.stripe tbody tr.even,
body[data-bs-theme="dark"] .datatable-wrapper .datatable-table tbody tr:nth-child(even),
[data-bs-theme="dark"] .dataTables_wrapper table.dataTable tbody tr.even,
[data-bs-theme="dark"] .dataTables_wrapper table.dataTable.display tbody tr.even,
[data-bs-theme="dark"] .dataTables_wrapper table.dataTable.stripe tbody tr.even,
[data-bs-theme="dark"] .datatable-wrapper .datatable-table tbody tr:nth-child(even) {
  background-color: rgba(148, 163, 184, 0.06) !important;
}

body[data-bs-theme="dark"] .dataTables_wrapper table.dataTable tbody th,
body[data-bs-theme="dark"] .dataTables_wrapper table.dataTable tbody td,
body[data-bs-theme="dark"] .dataTables_wrapper table.dataTable tbody tr > .sorting_1,
body[data-bs-theme="dark"] .dataTables_wrapper table.dataTable tbody tr > .sorting_2,
body[data-bs-theme="dark"] .dataTables_wrapper table.dataTable tbody tr > .sorting_3,
body[data-bs-theme="dark"] .datatable-wrapper .datatable-table tbody th,
body[data-bs-theme="dark"] .datatable-wrapper .datatable-table tbody td,
[data-bs-theme="dark"] .dataTables_wrapper table.dataTable tbody th,
[data-bs-theme="dark"] .dataTables_wrapper table.dataTable tbody td,
[data-bs-theme="dark"] .dataTables_wrapper table.dataTable tbody tr > .sorting_1,
[data-bs-theme="dark"] .dataTables_wrapper table.dataTable tbody tr > .sorting_2,
[data-bs-theme="dark"] .dataTables_wrapper table.dataTable tbody tr > .sorting_3,
[data-bs-theme="dark"] .datatable-wrapper .datatable-table tbody th,
[data-bs-theme="dark"] .datatable-wrapper .datatable-table tbody td {
  background-color: inherit !important;
  color: var(--scry-text-primary) !important;
  border-color: var(--scry-border-default) !important;
}

body[data-bs-theme="dark"] .dataTables_wrapper table.dataTable tbody tr:hover,
body[data-bs-theme="dark"] .dataTables_wrapper table.dataTable.display tbody tr:hover,
body[data-bs-theme="dark"] .dataTables_wrapper table.dataTable.hover tbody tr:hover,
body[data-bs-theme="dark"] .datatable-wrapper .datatable-table tbody tr:hover,
[data-bs-theme="dark"] .dataTables_wrapper table.dataTable tbody tr:hover,
[data-bs-theme="dark"] .dataTables_wrapper table.dataTable.display tbody tr:hover,
[data-bs-theme="dark"] .dataTables_wrapper table.dataTable.hover tbody tr:hover,
[data-bs-theme="dark"] .datatable-wrapper .datatable-table tbody tr:hover {
  background-color: rgba(79, 213, 199, 0.1) !important;
}

body[data-bs-theme="dark"] .dataTables_wrapper table.dataTable td.dataTables_empty,
body[data-bs-theme="dark"] .datatable-wrapper .datatable-empty,
[data-bs-theme="dark"] .dataTables_wrapper table.dataTable td.dataTables_empty,
[data-bs-theme="dark"] .datatable-wrapper .datatable-empty {
  background-color: var(--scry-surface-1) !important;
  color: var(--scry-text-secondary) !important;
}

body[data-bs-theme="dark"] table.dataTable.no-footer,
body[data-bs-theme="dark"] .dataTables_wrapper.no-footer .dataTables_scrollBody,
body[data-bs-theme="dark"] .datatable-wrapper.no-footer .datatable-container,
[data-bs-theme="dark"] table.dataTable.no-footer,
[data-bs-theme="dark"] .dataTables_wrapper.no-footer .dataTables_scrollBody,
[data-bs-theme="dark"] .datatable-wrapper.no-footer .datatable-container {
  border-bottom-color: var(--scry-border-default) !important;
}

body[data-bs-theme="dark"] .dataTables_wrapper .dataTables_length select,
body[data-bs-theme="dark"] .dataTables_wrapper .dataTables_filter input,
body[data-bs-theme="dark"] .datatable-wrapper .datatable-selector,
body[data-bs-theme="dark"] .datatable-wrapper .datatable-input,
[data-bs-theme="dark"] .dataTables_wrapper .dataTables_length select,
[data-bs-theme="dark"] .dataTables_wrapper .dataTables_filter input,
[data-bs-theme="dark"] .datatable-wrapper .datatable-selector,
[data-bs-theme="dark"] .datatable-wrapper .datatable-input {
  background-color: var(--scry-surface-0) !important;
  border-color: var(--scry-border-default) !important;
  color: var(--scry-text-primary) !important;
}

body[data-bs-theme="dark"] .dataTables_wrapper .dataTables_processing,
[data-bs-theme="dark"] .dataTables_wrapper .dataTables_processing {
  background: var(--scry-surface-overlay) !important;
  color: var(--scry-text-primary) !important;
  border: 1px solid var(--scry-border-default);
  border-radius: 0.75rem;
  box-shadow: var(--scry-shadow-md);
}

body[data-bs-theme="dark"] .dataTables_wrapper .dataTables_paginate .paginate_button,
body[data-bs-theme="dark"] .datatable-wrapper .datatable-pagination a,
body[data-bs-theme="dark"] .dataTables_wrapper .pagination .page-link,
[data-bs-theme="dark"] .dataTables_wrapper .dataTables_paginate .paginate_button,
[data-bs-theme="dark"] .datatable-wrapper .datatable-pagination a,
[data-bs-theme="dark"] .dataTables_wrapper .pagination .page-link {
  color: var(--scry-text-secondary) !important;
  border-color: transparent !important;
}

body[data-bs-theme="dark"] .dataTables_wrapper .dataTables_paginate .paginate_button:hover,
body[data-bs-theme="dark"] .datatable-wrapper .datatable-pagination a:hover,
body[data-bs-theme="dark"] .dataTables_wrapper .pagination .page-link:hover,
[data-bs-theme="dark"] .dataTables_wrapper .dataTables_paginate .paginate_button:hover,
[data-bs-theme="dark"] .datatable-wrapper .datatable-pagination a:hover,
[data-bs-theme="dark"] .dataTables_wrapper .pagination .page-link:hover {
  background: var(--scry-surface-2) !important;
  color: var(--scry-text-primary) !important;
  border-color: var(--scry-border-default) !important;
}

body[data-bs-theme="dark"] .dataTables_wrapper .dataTables_paginate .paginate_button.current,
body[data-bs-theme="dark"] .dataTables_wrapper .dataTables_paginate .paginate_button.current:hover,
body[data-bs-theme="dark"] .datatable-wrapper .datatable-pagination .datatable-active a,
body[data-bs-theme="dark"] .datatable-wrapper .datatable-pagination .datatable-active a:hover,
body[data-bs-theme="dark"] .dataTables_wrapper .pagination .page-item.active .page-link,
[data-bs-theme="dark"] .dataTables_wrapper .dataTables_paginate .paginate_button.current,
[data-bs-theme="dark"] .dataTables_wrapper .dataTables_paginate .paginate_button.current:hover,
[data-bs-theme="dark"] .datatable-wrapper .datatable-pagination .datatable-active a,
[data-bs-theme="dark"] .datatable-wrapper .datatable-pagination .datatable-active a:hover,
[data-bs-theme="dark"] .dataTables_wrapper .pagination .page-item.active .page-link {
  background: var(--scry-surface-1) !important;
  color: var(--scry-text-primary) !important;
  border: 1px solid var(--scry-border-strong) !important;
}

body[data-bs-theme="dark"] .dataTables_wrapper .dataTables_paginate .paginate_button.disabled,
body[data-bs-theme="dark"] .dataTables_wrapper .dataTables_paginate .paginate_button.disabled:hover,
body[data-bs-theme="dark"] .dataTables_wrapper .pagination .page-item.disabled .page-link,
[data-bs-theme="dark"] .dataTables_wrapper .dataTables_paginate .paginate_button.disabled,
[data-bs-theme="dark"] .dataTables_wrapper .dataTables_paginate .paginate_button.disabled:hover,
[data-bs-theme="dark"] .dataTables_wrapper .pagination .page-item.disabled .page-link {
  background: transparent !important;
  border-color: transparent !important;
  color: var(--scry-text-muted) !important;
}

body[data-bs-theme="dark"] .dataTables_wrapper .dataTables_info,
body[data-bs-theme="dark"] .dataTables_wrapper .dataTables_length,
body[data-bs-theme="dark"] .dataTables_wrapper .dataTables_filter,
body[data-bs-theme="dark"] .datatable-wrapper .datatable-info,
body[data-bs-theme="dark"] .datatable-wrapper .datatable-dropdown,
body[data-bs-theme="dark"] .datatable-wrapper .datatable-search,
[data-bs-theme="dark"] .dataTables_wrapper .dataTables_info,
[data-bs-theme="dark"] .dataTables_wrapper .dataTables_length,
[data-bs-theme="dark"] .dataTables_wrapper .dataTables_filter,
[data-bs-theme="dark"] .datatable-wrapper .datatable-info,
[data-bs-theme="dark"] .datatable-wrapper .datatable-dropdown,
[data-bs-theme="dark"] .datatable-wrapper .datatable-search {
  color: var(--scry-text-secondary) !important;
}

body[data-bs-theme="dark"] .catalog-toolbar .toolbar-tools .btn-warning,
[data-bs-theme="dark"] .catalog-toolbar .toolbar-tools .btn-warning {
  color: #1b2430;
}

body[data-bs-theme="dark"] .alert-warning,
[data-bs-theme="dark"] .alert-warning {
  background: rgba(245, 158, 11, 0.12);
  border-color: rgba(246, 199, 107, 0.24);
  color: var(--scry-text-primary);
}

body[data-bs-theme="dark"] .alert-warning .btn-outline-dark,
body[data-bs-theme="dark"] .alert-warning .btn-outline-primary,
body[data-bs-theme="dark"] .alert-warning .btn-outline-danger,
body[data-bs-theme="dark"] .alert-warning .btn-outline-warning,
[data-bs-theme="dark"] .alert-warning .btn-outline-dark,
[data-bs-theme="dark"] .alert-warning .btn-outline-primary,
[data-bs-theme="dark"] .alert-warning .btn-outline-danger,
[data-bs-theme="dark"] .alert-warning .btn-outline-warning {
  background-color: rgba(17, 24, 39, 0.16);
}

body[data-bs-theme="dark"] #homeSearchTabsContent,
body[data-bs-theme="dark"] #deckbuilderResultsWrap,
body[data-bs-theme="dark"] .public-filters-toolbar,
body[data-bs-theme="dark"] .store-filters-toolbar,
body[data-bs-theme="dark"] .deck-filters-toolbar,
[data-bs-theme="dark"] #homeSearchTabsContent,
[data-bs-theme="dark"] #deckbuilderResultsWrap,
[data-bs-theme="dark"] .public-filters-toolbar,
[data-bs-theme="dark"] .store-filters-toolbar,
[data-bs-theme="dark"] .deck-filters-toolbar {
  background:
    radial-gradient(circle at top left, rgba(var(--scry-accent-primary-soft-rgb), 0.18) 0%, rgba(var(--scry-accent-primary-soft-rgb), 0) 44%) padding-box,
    linear-gradient(180deg, var(--scry-surface-1) 0%, var(--scry-surface-0) 100%) padding-box !important;
  border-color: var(--scry-border-default) !important;
  color: var(--scry-text-primary) !important;
  box-shadow: 0 14px 34px rgba(2, 6, 23, 0.2) !important;
}

body[data-bs-theme="dark"] .store-folder-active-banner,
[data-bs-theme="dark"] .store-folder-active-banner {
  background-color: var(--scry-surface-1) !important;
  border-color: var(--scry-border-soft) !important;
  color: var(--scry-text-primary) !important;
}

body[data-bs-theme="dark"] .store-folder-active-banner .fw-bold,
[data-bs-theme="dark"] .store-folder-active-banner .fw-bold {
  color: var(--scry-text-primary) !important;
}

body[data-bs-theme="dark"] .store-folder-active-banner a,
body[data-bs-theme="dark"] .store-folder-active-banner a:hover,
[data-bs-theme="dark"] .store-folder-active-banner a,
[data-bs-theme="dark"] .store-folder-active-banner a:hover {
  color: var(--scry-accent-primary-strong) !important;
}

body[data-bs-theme="dark"] .public-filters-toolbar .toolbar-title,
body[data-bs-theme="dark"] .store-filters-toolbar .filter-label,
body[data-bs-theme="dark"] .public-filters-toolbar .filter-label,
body[data-bs-theme="dark"] .deck-filters-toolbar .filter-label,
body[data-bs-theme="dark"] .deck-section-heading,
[data-bs-theme="dark"] .public-filters-toolbar .toolbar-title,
[data-bs-theme="dark"] .store-filters-toolbar .filter-label,
[data-bs-theme="dark"] .public-filters-toolbar .filter-label,
[data-bs-theme="dark"] .deck-filters-toolbar .filter-label,
[data-bs-theme="dark"] .deck-section-heading {
  color: var(--scry-text-primary) !important;
}

body[data-bs-theme="dark"] .public-filters-toolbar .toolbar-hint,
body[data-bs-theme="dark"] .store-filters-toolbar .small.text-muted,
body[data-bs-theme="dark"] .deck-filters-toolbar .small.text-muted,
body[data-bs-theme="dark"] .public-filters-toolbar .text-muted,
body[data-bs-theme="dark"] .deck-section-heading-count,
[data-bs-theme="dark"] .public-filters-toolbar .toolbar-hint,
[data-bs-theme="dark"] .store-filters-toolbar .small.text-muted,
[data-bs-theme="dark"] .deck-filters-toolbar .small.text-muted,
[data-bs-theme="dark"] .public-filters-toolbar .text-muted,
[data-bs-theme="dark"] .deck-section-heading-count {
  color: var(--scry-text-secondary) !important;
}

body[data-bs-theme="dark"] .public-filters-toolbar .toolbar-section,
body[data-bs-theme="dark"] .public-filters-toolbar .toolbar-actions,
body[data-bs-theme="dark"] .store-filters-toolbar .border-top,
body[data-bs-theme="dark"] .deck-filters-toolbar .border-top,
[data-bs-theme="dark"] .public-filters-toolbar .toolbar-section,
[data-bs-theme="dark"] .public-filters-toolbar .toolbar-actions,
[data-bs-theme="dark"] .store-filters-toolbar .border-top,
[data-bs-theme="dark"] .deck-filters-toolbar .border-top {
  border-color: var(--scry-border-default) !important;
}

body[data-bs-theme="dark"] .public-filters-toolbar .toolbar-control,
body[data-bs-theme="dark"] .public-filters-toolbar .input-group-text,
body[data-bs-theme="dark"] .store-filters-toolbar .toolbar-input,
body[data-bs-theme="dark"] .store-filters-toolbar .toolbar-select-control,
body[data-bs-theme="dark"] .deck-filters-toolbar .toolbar-input,
body[data-bs-theme="dark"] .deck-filters-toolbar .toolbar-select-control,
[data-bs-theme="dark"] .public-filters-toolbar .toolbar-control,
[data-bs-theme="dark"] .public-filters-toolbar .input-group-text,
[data-bs-theme="dark"] .store-filters-toolbar .toolbar-input,
[data-bs-theme="dark"] .store-filters-toolbar .toolbar-select-control,
[data-bs-theme="dark"] .deck-filters-toolbar .toolbar-input,
[data-bs-theme="dark"] .deck-filters-toolbar .toolbar-select-control {
  background: var(--scry-surface-1) !important;
  border-color: var(--scry-border-default) !important;
  color: var(--scry-text-primary) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03) !important;
}

body[data-bs-theme="dark"] .public-filters-toolbar .toolbar-control::placeholder,
body[data-bs-theme="dark"] .store-filters-toolbar .toolbar-input::placeholder,
body[data-bs-theme="dark"] .deck-filters-toolbar .toolbar-input::placeholder,
[data-bs-theme="dark"] .public-filters-toolbar .toolbar-control::placeholder,
[data-bs-theme="dark"] .store-filters-toolbar .toolbar-input::placeholder,
[data-bs-theme="dark"] .deck-filters-toolbar .toolbar-input::placeholder {
  color: var(--scry-text-muted) !important;
}

body[data-bs-theme="dark"] .public-filters-toolbar .edition-combobox-menu,
[data-bs-theme="dark"] .public-filters-toolbar .edition-combobox-menu {
  background: var(--scry-surface-1) !important;
  border-color: var(--scry-border-default) !important;
  color: var(--scry-text-primary) !important;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.38) !important;
}

body[data-bs-theme="dark"] .public-filters-toolbar .edition-combobox-option,
[data-bs-theme="dark"] .public-filters-toolbar .edition-combobox-option {
  color: var(--scry-text-secondary) !important;
}

body[data-bs-theme="dark"] .public-filters-toolbar .edition-combobox-option:hover,
body[data-bs-theme="dark"] .public-filters-toolbar .edition-combobox-option:focus,
body[data-bs-theme="dark"] .public-filters-toolbar .edition-combobox-option[aria-selected="true"],
[data-bs-theme="dark"] .public-filters-toolbar .edition-combobox-option:hover,
[data-bs-theme="dark"] .public-filters-toolbar .edition-combobox-option:focus,
[data-bs-theme="dark"] .public-filters-toolbar .edition-combobox-option[aria-selected="true"] {
  background: rgba(var(--scry-accent-primary-soft-rgb), 0.18) !important;
  color: var(--scry-text-primary) !important;
}

body[data-bs-theme="dark"] .public-filters-toolbar .edition-combobox-empty,
[data-bs-theme="dark"] .public-filters-toolbar .edition-combobox-empty {
  color: var(--scry-text-muted) !important;
}

body[data-bs-theme="dark"] .public-filters-toolbar .color-chip span,
body[data-bs-theme="dark"] .public-filters-toolbar .chip-toggle span,
body[data-bs-theme="dark"] .public-filters-toolbar .active-chip,
body[data-bs-theme="dark"] .store-filters-toolbar .filter-chip,
body[data-bs-theme="dark"] .deck-filters-toolbar .filter-chip,
[data-bs-theme="dark"] .public-filters-toolbar .color-chip span,
[data-bs-theme="dark"] .public-filters-toolbar .chip-toggle span,
[data-bs-theme="dark"] .public-filters-toolbar .active-chip,
[data-bs-theme="dark"] .store-filters-toolbar .filter-chip,
[data-bs-theme="dark"] .deck-filters-toolbar .filter-chip {
  background: var(--scry-surface-1) !important;
  border-color: var(--scry-border-default) !important;
  color: var(--scry-text-secondary) !important;
}

body[data-bs-theme="dark"] .public-filters-toolbar .color-chip input:checked + span,
body[data-bs-theme="dark"] .public-filters-toolbar .chip-toggle input:checked + span,
body[data-bs-theme="dark"] .public-filters-toolbar .active-chip,
body[data-bs-theme="dark"] .store-filters-toolbar .filter-chip.is-active,
body[data-bs-theme="dark"] .deck-filters-toolbar .filter-chip.is-active,
[data-bs-theme="dark"] .public-filters-toolbar .color-chip input:checked + span,
[data-bs-theme="dark"] .public-filters-toolbar .chip-toggle input:checked + span,
[data-bs-theme="dark"] .public-filters-toolbar .active-chip,
[data-bs-theme="dark"] .store-filters-toolbar .filter-chip.is-active,
[data-bs-theme="dark"] .deck-filters-toolbar .filter-chip.is-active {
  background:
    radial-gradient(circle at top left, rgba(var(--scry-accent-primary-soft-rgb), 0.2) 0%, rgba(var(--scry-accent-primary-soft-rgb), 0) 48%) padding-box,
    linear-gradient(180deg, var(--scry-surface-2) 0%, var(--scry-surface-1) 100%) padding-box !important;
  border-color: var(--scry-border-strong) !important;
  color: var(--scry-text-primary) !important;
  box-shadow: inset 0 0 0 1px rgba(var(--scry-accent-primary-soft-rgb), 0.12);
}

body[data-bs-theme="dark"] .store-filters-toolbar .filter-chip.is-muted,
[data-bs-theme="dark"] .store-filters-toolbar .filter-chip.is-muted {
  color: var(--scry-text-muted) !important;
  background: rgba(148, 163, 184, 0.08) !important;
}

body[data-bs-theme="dark"] .accessory-card,
[data-bs-theme="dark"] .accessory-card {
  background: linear-gradient(180deg, #172132 0%, #111827 100%) !important;
  border-color: var(--scry-border-default) !important;
  box-shadow: 0 14px 34px rgba(2, 6, 23, 0.24) !important;
}

body[data-bs-theme="dark"] .accessory-card:hover,
body[data-bs-theme="dark"] .accessory-card:focus,
[data-bs-theme="dark"] .accessory-card:hover,
[data-bs-theme="dark"] .accessory-card:focus {
  border-color: var(--scry-border-strong) !important;
  box-shadow: 0 18px 38px rgba(2, 6, 23, 0.3) !important;
}

body[data-bs-theme="dark"] .accessory-card-thumb,
[data-bs-theme="dark"] .accessory-card-thumb {
  background: linear-gradient(135deg, rgba(79, 213, 199, 0.08), rgba(17, 24, 39, 0.08)) !important;
}

body[data-bs-theme="dark"] .accessory-card-title,
body[data-bs-theme="dark"] .accessory-card-price,
body[data-bs-theme="dark"] .accessory-card-cta,
[data-bs-theme="dark"] .accessory-card-title,
[data-bs-theme="dark"] .accessory-card-price,
[data-bs-theme="dark"] .accessory-card-cta {
  color: var(--scry-text-primary) !important;
}

body[data-bs-theme="dark"] .accessory-card-meta,
body[data-bs-theme="dark"] .accessory-card-text,
body[data-bs-theme="dark"] .accessory-card-stock,
[data-bs-theme="dark"] .accessory-card-meta,
[data-bs-theme="dark"] .accessory-card-text,
[data-bs-theme="dark"] .accessory-card-stock {
  color: var(--scry-text-secondary) !important;
}

body[data-bs-theme="dark"] .store-accessory-filters,
[data-bs-theme="dark"] .store-accessory-filters {
  background: var(--scry-surface-1) !important;
  border-color: var(--scry-border-default) !important;
  box-shadow: 0 14px 34px rgba(2, 6, 23, 0.24) !important;
}

body[data-bs-theme="dark"] .store-accessory-filters label,
[data-bs-theme="dark"] .store-accessory-filters label {
  color: var(--scry-text-muted) !important;
}

body[data-bs-theme="dark"] .store-accessory-card,
[data-bs-theme="dark"] .store-accessory-card {
  background: linear-gradient(180deg, var(--scry-surface-1) 0%, var(--scry-surface-0) 100%) !important;
  border-color: var(--scry-border-default) !important;
  color: var(--scry-text-primary) !important;
  box-shadow: 0 14px 34px rgba(2, 6, 23, 0.24) !important;
}

body[data-bs-theme="dark"] .store-accessory-card:hover,
body[data-bs-theme="dark"] .store-accessory-card:focus,
[data-bs-theme="dark"] .store-accessory-card:hover,
[data-bs-theme="dark"] .store-accessory-card:focus {
  border-color: var(--scry-border-strong) !important;
  box-shadow: 0 18px 38px rgba(2, 6, 23, 0.3) !important;
}

body[data-bs-theme="dark"] .store-accessory-card__thumb,
[data-bs-theme="dark"] .store-accessory-card__thumb {
  background: linear-gradient(135deg, rgba(var(--scry-accent-primary-soft-rgb), 0.12), rgba(17, 24, 39, 0.32)) !important;
}

body[data-bs-theme="dark"] .store-accessory-card__title,
body[data-bs-theme="dark"] .store-accessory-card__price,
[data-bs-theme="dark"] .store-accessory-card__title,
[data-bs-theme="dark"] .store-accessory-card__price {
  color: var(--scry-text-primary) !important;
}

body[data-bs-theme="dark"] .store-accessory-card__meta,
body[data-bs-theme="dark"] .store-accessory-card__text,
body[data-bs-theme="dark"] .store-accessory-card__stock,
[data-bs-theme="dark"] .store-accessory-card__meta,
[data-bs-theme="dark"] .store-accessory-card__text,
[data-bs-theme="dark"] .store-accessory-card__stock {
  color: var(--scry-text-secondary) !important;
}

body[data-bs-theme="dark"] .admin-accessory-card,
[data-bs-theme="dark"] .admin-accessory-card {
  background: linear-gradient(180deg, var(--scry-surface-1) 0%, var(--scry-surface-0) 100%) !important;
  border-color: var(--scry-border-default) !important;
  color: var(--scry-text-primary) !important;
  box-shadow: 0 14px 34px rgba(2, 6, 23, 0.24) !important;
}

body[data-bs-theme="dark"] .admin-accessory-card:hover,
body[data-bs-theme="dark"] .admin-accessory-card:focus,
[data-bs-theme="dark"] .admin-accessory-card:hover,
[data-bs-theme="dark"] .admin-accessory-card:focus {
  border-color: var(--scry-border-strong) !important;
  box-shadow: 0 18px 38px rgba(2, 6, 23, 0.3) !important;
}

body[data-bs-theme="dark"] .admin-accessory-thumb,
[data-bs-theme="dark"] .admin-accessory-thumb {
  background: linear-gradient(135deg, rgba(79, 213, 199, 0.08), rgba(17, 24, 39, 0.26)) !important;
}

body[data-bs-theme="dark"] .admin-accessory-thumb-empty,
[data-bs-theme="dark"] .admin-accessory-thumb-empty {
  color: var(--scry-text-muted) !important;
}

body[data-bs-theme="dark"] .admin-accessory-card .fw-bold,
[data-bs-theme="dark"] .admin-accessory-card .fw-bold {
  color: var(--scry-text-primary) !important;
}

body[data-bs-theme="dark"] .admin-accessory-card .text-muted,
body[data-bs-theme="dark"] .admin-accessory-desc,
[data-bs-theme="dark"] .admin-accessory-card .text-muted,
[data-bs-theme="dark"] .admin-accessory-desc {
  color: var(--scry-text-secondary) !important;
}

body[data-bs-theme="dark"] .admin-accessory-chip,
[data-bs-theme="dark"] .admin-accessory-chip {
  background: rgba(var(--scry-accent-primary-soft-rgb), 0.12) !important;
  color: var(--scry-accent-primary-strong) !important;
}

body[data-bs-theme="dark"] .admin-accessory-panel,
[data-bs-theme="dark"] .admin-accessory-panel {
  background: var(--scry-surface-1) !important;
  border-color: var(--scry-border-default) !important;
  box-shadow: 0 14px 34px rgba(2, 6, 23, 0.24) !important;
}

body[data-bs-theme="dark"] .admin-accessory-section-title,
body[data-bs-theme="dark"] .admin-variant-mode-title,
body[data-bs-theme="dark"] .admin-accessory-panel .fw-semibold,
[data-bs-theme="dark"] .admin-accessory-section-title,
[data-bs-theme="dark"] .admin-variant-mode-title,
[data-bs-theme="dark"] .admin-accessory-panel .fw-semibold {
  color: var(--scry-text-primary) !important;
}

body[data-bs-theme="dark"] .admin-accessory-helper,
body[data-bs-theme="dark"] .admin-variant-mode-desc,
body[data-bs-theme="dark"] .admin-variant-label,
body[data-bs-theme="dark"] .admin-variant-grid-headers > div,
body[data-bs-theme="dark"] .admin-accessory-panel .text-muted,
[data-bs-theme="dark"] .admin-accessory-helper,
[data-bs-theme="dark"] .admin-variant-mode-desc,
[data-bs-theme="dark"] .admin-variant-label,
[data-bs-theme="dark"] .admin-variant-grid-headers > div,
[data-bs-theme="dark"] .admin-accessory-panel .text-muted {
  color: var(--scry-text-secondary) !important;
}

body[data-bs-theme="dark"] .admin-variant-mode,
body[data-bs-theme="dark"] .admin-variant-row > div,
body[data-bs-theme="dark"] .admin-accessory-slot,
body[data-bs-theme="dark"] .admin-accessory-preview-variant,
[data-bs-theme="dark"] .admin-variant-mode,
[data-bs-theme="dark"] .admin-variant-row > div,
[data-bs-theme="dark"] .admin-accessory-slot,
[data-bs-theme="dark"] .admin-accessory-preview-variant {
  background: var(--scry-surface-0) !important;
  border-color: var(--scry-border-default) !important;
}

body[data-bs-theme="dark"] .admin-accessory-image-preview,
[data-bs-theme="dark"] .admin-accessory-image-preview {
  background: var(--scry-surface-2) !important;
  border-color: var(--scry-border-default) !important;
}

body[data-bs-theme="dark"] .admin-accessory-image-preview.is-empty,
[data-bs-theme="dark"] .admin-accessory-image-preview.is-empty {
  color: var(--scry-text-muted) !important;
}

body[data-bs-theme="dark"] .admin-variant-mode.is-active,
body[data-bs-theme="dark"] .admin-variant-placeholder,
body[data-bs-theme="dark"] .admin-accessory-preview-media,
[data-bs-theme="dark"] .admin-variant-mode.is-active,
[data-bs-theme="dark"] .admin-variant-placeholder,
[data-bs-theme="dark"] .admin-accessory-preview-media {
  background: linear-gradient(180deg, rgba(var(--scry-accent-primary-soft-rgb), 0.08), rgba(var(--scry-accent-primary-soft-rgb), 0.03)) !important;
  border-color: var(--scry-border-strong) !important;
}

body[data-bs-theme="dark"] .admin-variant-row input,
[data-bs-theme="dark"] .admin-variant-row input {
  color: var(--scry-text-primary) !important;
}

body[data-bs-theme="dark"] .deck-share-card,
body[data-bs-theme="dark"] .deck-import-card,
body[data-bs-theme="dark"] .deck-seller-tools,
body[data-bs-theme="dark"] .deck-store-card,
body[data-bs-theme="dark"] .deck-store-card--alt,
body[data-bs-theme="dark"] .deck-store-item,
body[data-bs-theme="dark"] .deck-card-tile,
body[data-bs-theme="dark"] .deck-store-badge,
[data-bs-theme="dark"] .deck-share-card,
[data-bs-theme="dark"] .deck-import-card,
[data-bs-theme="dark"] .deck-seller-tools,
[data-bs-theme="dark"] .deck-store-card,
[data-bs-theme="dark"] .deck-store-card--alt,
[data-bs-theme="dark"] .deck-store-item,
[data-bs-theme="dark"] .deck-card-tile,
[data-bs-theme="dark"] .deck-store-badge {
  background: linear-gradient(180deg, var(--scry-surface-1) 0%, var(--scry-surface-0) 100%) !important;
  border-color: var(--scry-border-default) !important;
  color: var(--scry-text-primary) !important;
}

body[data-bs-theme="dark"] .deck-store-card--alt .deck-store-card-header,
body[data-bs-theme="dark"] .deck-store-card--alt .deck-store-item,
[data-bs-theme="dark"] .deck-store-card--alt .deck-store-card-header,
[data-bs-theme="dark"] .deck-store-card--alt .deck-store-item {
  background: linear-gradient(180deg, var(--scry-surface-2) 0%, var(--scry-surface-1) 100%) !important;
}

body[data-bs-theme="dark"] .deck-store-items,
body[data-bs-theme="dark"] .deck-store-item + .deck-store-item,
[data-bs-theme="dark"] .deck-store-items,
[data-bs-theme="dark"] .deck-store-item + .deck-store-item {
  border-color: var(--scry-border-default) !important;
}

body[data-bs-theme="dark"] .deck-share-url,
[data-bs-theme="dark"] .deck-share-url {
  background-color: var(--scry-surface-1) !important;
}

body[data-bs-theme="dark"] .deck-store-title,
body[data-bs-theme="dark"] .deck-card-tile-title,
[data-bs-theme="dark"] .deck-store-title,
[data-bs-theme="dark"] .deck-card-tile-title {
  color: var(--scry-text-primary) !important;
}

body[data-bs-theme="dark"] .deck-store-meta,
body[data-bs-theme="dark"] .deck-store-meta-item,
body[data-bs-theme="dark"] .deck-card-tile-meta,
body[data-bs-theme="dark"] .deck-filter-empty,
[data-bs-theme="dark"] .deck-store-meta,
[data-bs-theme="dark"] .deck-store-meta-item,
[data-bs-theme="dark"] .deck-card-tile-meta,
[data-bs-theme="dark"] .deck-filter-empty {
  color: var(--scry-text-secondary) !important;
}

body[data-bs-theme="dark"] .deck-card-tile-price,
[data-bs-theme="dark"] .deck-card-tile-price {
  color: var(--scry-text-primary) !important;
}

body[data-bs-theme="dark"] .footer-scry,
[data-bs-theme="dark"] .footer-scry {
  background-color: #1a2434 !important;
  border-top-color: var(--scry-border-default) !important;
  color: var(--scry-text-primary);
}

body[data-bs-theme="dark"] .footer-scry .bg-white,
body[data-bs-theme="dark"] .footer-scry .bg-light,
[data-bs-theme="dark"] .footer-scry .bg-white,
[data-bs-theme="dark"] .footer-scry .bg-light {
  background-color: var(--scry-surface-1) !important;
  color: var(--scry-text-primary) !important;
  border-color: var(--scry-border-default) !important;
}

body[data-bs-theme="dark"] .footer-scry .text-dark,
body[data-bs-theme="dark"] .footer-scry .footer-title,
body[data-bs-theme="dark"] .footer-scry .footer-links,
body[data-bs-theme="dark"] .footer-scry .footer-links a,
body[data-bs-theme="dark"] .footer-scry .footer-muted,
[data-bs-theme="dark"] .footer-scry .text-dark,
[data-bs-theme="dark"] .footer-scry .footer-title,
[data-bs-theme="dark"] .footer-scry .footer-links,
[data-bs-theme="dark"] .footer-scry .footer-links a,
[data-bs-theme="dark"] .footer-scry .footer-muted {
  color: var(--scry-text-primary) !important;
}

body[data-bs-theme="dark"] .footer-scry .text-muted,
body[data-bs-theme="dark"] .footer-scry .form-check-label.text-muted,
[data-bs-theme="dark"] .footer-scry .text-muted,
[data-bs-theme="dark"] .footer-scry .form-check-label.text-muted {
  color: var(--scry-text-secondary) !important;
}

body[data-bs-theme="dark"] .footer-scry h2,
body[data-bs-theme="dark"] .footer-scry h3,
body[data-bs-theme="dark"] .footer-scry h6,
body[data-bs-theme="dark"] .footer-scry .h4,
body[data-bs-theme="dark"] .footer-scry .h6,
body[data-bs-theme="dark"] .footer-scry .form-label,
body[data-bs-theme="dark"] .footer-scry strong,
body[data-bs-theme="dark"] .footer-scry small,
[data-bs-theme="dark"] .footer-scry h2,
[data-bs-theme="dark"] .footer-scry h3,
[data-bs-theme="dark"] .footer-scry h6,
[data-bs-theme="dark"] .footer-scry .h4,
[data-bs-theme="dark"] .footer-scry .h6,
[data-bs-theme="dark"] .footer-scry .form-label,
[data-bs-theme="dark"] .footer-scry strong,
[data-bs-theme="dark"] .footer-scry small {
  color: var(--scry-text-primary) !important;
}

body[data-bs-theme="dark"] .footer-scry a:not(.btn),
[data-bs-theme="dark"] .footer-scry a:not(.btn) {
  color: var(--scry-text-primary) !important;
}

body[data-bs-theme="dark"] .footer-scry a.text-warning,
[data-bs-theme="dark"] .footer-scry a.text-warning {
  color: #f6c76b !important;
}

body[data-bs-theme="dark"] .footer-scry .btn-dark,
[data-bs-theme="dark"] .footer-scry .btn-dark {
  background-color: #0f172a;
  border-color: #0f172a;
  color: #f8fafc;
}

body[data-bs-theme="dark"] .footer-scry .btn-outline-dark,
[data-bs-theme="dark"] .footer-scry .btn-outline-dark {
  color: var(--scry-text-primary);
  border-color: var(--scry-border-default);
}

body[data-bs-theme="dark"] .footer-scry .btn-outline-dark:hover,
[data-bs-theme="dark"] .footer-scry .btn-outline-dark:hover {
  background-color: var(--scry-surface-2);
  border-color: var(--scry-border-strong);
  color: var(--scry-text-primary);
}

body[data-bs-theme="dark"] .footer-scry .footer-divider,
[data-bs-theme="dark"] .footer-scry .footer-divider {
  border-color: var(--scry-border-default) !important;
  opacity: 1;
}

body[data-bs-theme="dark"] .footer-scry .border-start,
[data-bs-theme="dark"] .footer-scry .border-start {
  border-color: var(--scry-border-strong) !important;
}

body[data-bs-theme="dark"] .footer-scry .badge.bg-success,
body[data-bs-theme="dark"] .footer-scry .badge.bg-dark,
[data-bs-theme="dark"] .footer-scry .badge.bg-success,
[data-bs-theme="dark"] .footer-scry .badge.bg-dark {
  color: #f8fafc;
}

body[data-bs-theme="dark"] .footer-scry .d-inline-flex.bg-white.border.rounded-3,
[data-bs-theme="dark"] .footer-scry .d-inline-flex.bg-white.border.rounded-3 {
  background-color: rgba(255, 255, 255, 0.94) !important;
}

body[data-bs-theme="dark"] .footer-scry .bg-success-subtle,
[data-bs-theme="dark"] .footer-scry .bg-success-subtle {
  background-color: rgba(34, 197, 94, 0.14) !important;
  color: var(--scry-text-primary) !important;
}

body[data-bs-theme="dark"] .footer-scry .border-success,
[data-bs-theme="dark"] .footer-scry .border-success {
  border-color: rgba(34, 197, 94, 0.28) !important;
}

body[data-bs-theme="dark"] .footer-scry .text-bg-dark,
[data-bs-theme="dark"] .footer-scry .text-bg-dark {
  background-color: #0f172a !important;
  color: #f8fafc !important;
}

body[data-bs-theme="dark"] .footer-scry .text-bg-success,
[data-bs-theme="dark"] .footer-scry .text-bg-success {
  background-color: #0d7c66 !important;
  color: #f8fafc !important;
}

body[data-bs-theme="dark"] .footer-scry .form-check-input,
[data-bs-theme="dark"] .footer-scry .form-check-input {
  background-color: var(--scry-surface-2);
  border-color: var(--scry-border-default);
}

body[data-bs-theme="dark"] .checkout-flow-card,
body[data-bs-theme="dark"] .info-box,
body[data-bs-theme="dark"] .tienda-contenedor,
body[data-bs-theme="dark"] .header-custom,
body[data-bs-theme="dark"] .footer-custom,
body[data-bs-theme="dark"] .bg-grey,
[data-bs-theme="dark"] .checkout-flow-card,
[data-bs-theme="dark"] .info-box,
[data-bs-theme="dark"] .tienda-contenedor,
[data-bs-theme="dark"] .header-custom,
[data-bs-theme="dark"] .footer-custom,
[data-bs-theme="dark"] .bg-grey {
  background: var(--scry-surface-1) !important;
  color: var(--scry-text-primary) !important;
  border-color: var(--scry-border-default) !important;
}

body[data-bs-theme="dark"] .checkout-flow-subtitle,
body[data-bs-theme="dark"] .checkout-flow-step-copy,
body[data-bs-theme="dark"] .checkout-item-desc,
body[data-bs-theme="dark"] .checkout-store-location,
body[data-bs-theme="dark"] .checkout-item-qty small,
body[data-bs-theme="dark"] .checkout-minimum-row .text-muted,
body[data-bs-theme="dark"] .info-box .text-muted,
[data-bs-theme="dark"] .checkout-flow-subtitle,
[data-bs-theme="dark"] .checkout-flow-step-copy,
[data-bs-theme="dark"] .checkout-item-desc,
[data-bs-theme="dark"] .checkout-store-location,
[data-bs-theme="dark"] .checkout-item-qty small,
[data-bs-theme="dark"] .checkout-minimum-row .text-muted,
[data-bs-theme="dark"] .info-box .text-muted {
  color: var(--scry-text-secondary) !important;
}

body[data-bs-theme="dark"] .checkout-flow-card h2,
body[data-bs-theme="dark"] .checkout-flow-step-title,
body[data-bs-theme="dark"] .checkout-item-title,
body[data-bs-theme="dark"] .precio-item,
body[data-bs-theme="dark"] .info-box strong,
[data-bs-theme="dark"] .checkout-flow-card h2,
[data-bs-theme="dark"] .checkout-flow-step-title,
[data-bs-theme="dark"] .checkout-item-title,
[data-bs-theme="dark"] .precio-item,
[data-bs-theme="dark"] .info-box strong {
  color: var(--scry-text-primary) !important;
}

body[data-bs-theme="dark"] .checkout-flow-track::before,
[data-bs-theme="dark"] .checkout-flow-track::before {
  background: rgba(148, 163, 184, 0.22);
}

body[data-bs-theme="dark"] .checkout-flow-step-bullet,
[data-bs-theme="dark"] .checkout-flow-step-bullet {
  background: var(--scry-surface-1);
  border-color: var(--scry-border-default);
  color: var(--scry-text-secondary);
}

body[data-bs-theme="dark"] .checkout-flow-step.is-active .checkout-flow-step-bullet,
[data-bs-theme="dark"] .checkout-flow-step.is-active .checkout-flow-step-bullet {
  background: var(--scry-accent-primary);
  border-color: var(--scry-accent-primary);
  color: #0f172a;
  box-shadow: 0 0 0 4px rgba(79, 213, 199, 0.16);
}

body[data-bs-theme="dark"] .checkout-item-container a.text-danger,
[data-bs-theme="dark"] .checkout-item-container a.text-danger {
  color: #fda4af !important;
}

body[data-bs-theme="dark"] .header-custom p,
body[data-bs-theme="dark"] .header-custom .fw-bold,
[data-bs-theme="dark"] .header-custom p,
[data-bs-theme="dark"] .header-custom .fw-bold {
  color: var(--scry-text-primary) !important;
}

body[data-bs-theme="dark"] .checkout-store-panel,
[data-bs-theme="dark"] .checkout-store-panel,
body[data-bs-theme="dark"] .checkout-summary-panel,
[data-bs-theme="dark"] .checkout-summary-panel,
body[data-bs-theme="dark"] .checkout-suggestion-card,
[data-bs-theme="dark"] .checkout-suggestion-card {
  background: radial-gradient(circle at top left, rgba(79, 213, 199, 0.16) 0%, rgba(79, 213, 199, 0) 48%),
    linear-gradient(180deg, rgba(23, 33, 48, 0.96), rgba(16, 24, 37, 0.98)) !important;
  border-color: rgba(79, 213, 199, 0.2) !important;
  box-shadow: none;
}

body[data-bs-theme="dark"] .checkout-suggestions,
[data-bs-theme="dark"] .checkout-suggestions,
body[data-bs-theme="dark"] .checkout-item-container + .checkout-item-container,
[data-bs-theme="dark"] .checkout-item-container + .checkout-item-container,
body[data-bs-theme="dark"] .checkout-summary-panel .list-group-item,
[data-bs-theme="dark"] .checkout-summary-panel .list-group-item {
  border-color: rgba(79, 213, 199, 0.18) !important;
}

body[data-bs-theme="dark"] .scry-store-main,
body[data-bs-theme="dark"] .scry-store-summary-card,
body[data-bs-theme="dark"] .scry-store-floating-inner,
[data-bs-theme="dark"] .scry-store-main,
[data-bs-theme="dark"] .scry-store-summary-card,
[data-bs-theme="dark"] .scry-store-floating-inner {
  background: linear-gradient(180deg, #172132 0%, #111827 100%) !important;
  border-color: var(--scry-border-default) !important;
  box-shadow: 0 14px 34px rgba(2, 6, 23, 0.24) !important;
}

body[data-bs-theme="dark"] .scry-store-title,
body[data-bs-theme="dark"] .scry-store-floating-name,
body[data-bs-theme="dark"] .scry-store-summary-value,
body[data-bs-theme="dark"] .scry-store-delivery-title,
[data-bs-theme="dark"] .scry-store-title,
[data-bs-theme="dark"] .scry-store-floating-name,
[data-bs-theme="dark"] .scry-store-summary-value,
[data-bs-theme="dark"] .scry-store-delivery-title {
  color: var(--scry-text-primary) !important;
}

body[data-bs-theme="dark"] .scry-store-description-note,
body[data-bs-theme="dark"] .scry-store-floating-detail,
body[data-bs-theme="dark"] .scry-store-summary-label,
body[data-bs-theme="dark"] .scry-store-summary-label i,
body[data-bs-theme="dark"] .scry-store-delivery-copy,
[data-bs-theme="dark"] .scry-store-description-note,
[data-bs-theme="dark"] .scry-store-floating-detail,
[data-bs-theme="dark"] .scry-store-summary-label,
[data-bs-theme="dark"] .scry-store-summary-label i,
[data-bs-theme="dark"] .scry-store-delivery-copy {
  color: var(--scry-text-secondary) !important;
}

body[data-bs-theme="dark"] .scry-store-description,
[data-bs-theme="dark"] .scry-store-description {
  color: #fff !important;
}

body[data-bs-theme="dark"] .scry-store-main .img-perfil-tienda,
body[data-bs-theme="dark"] .scry-store-floating-avatar,
[data-bs-theme="dark"] .scry-store-main .img-perfil-tienda,
[data-bs-theme="dark"] .scry-store-floating-avatar {
  box-shadow: 0 0 0 1px var(--scry-border-default);
}

body[data-bs-theme="dark"] .scry-store-identity-link,
body[data-bs-theme="dark"] .scry-store-identity-link:hover,
[data-bs-theme="dark"] .scry-store-identity-link,
[data-bs-theme="dark"] .scry-store-identity-link:hover {
  color: inherit;
  text-decoration: none;
}

body[data-bs-theme="dark"] .scry-delivery-item,
body[data-bs-theme="dark"] .scry-pill,
body[data-bs-theme="dark"] .scry-social-btn,
body[data-bs-theme="dark"] .scry-store-floating-stat,
[data-bs-theme="dark"] .scry-delivery-item,
[data-bs-theme="dark"] .scry-pill,
[data-bs-theme="dark"] .scry-social-btn,
[data-bs-theme="dark"] .scry-store-floating-stat {
  background: var(--scry-surface-1) !important;
  border-color: var(--scry-border-default) !important;
  color: var(--scry-text-primary) !important;
}

body[data-bs-theme="dark"] .scry-delivery-item i,
body[data-bs-theme="dark"] .scry-pill svg,
body[data-bs-theme="dark"] .scry-store-floating-stat i,
[data-bs-theme="dark"] .scry-delivery-item i,
[data-bs-theme="dark"] .scry-pill svg,
[data-bs-theme="dark"] .scry-store-floating-stat i {
  color: var(--scry-text-secondary) !important;
}

body[data-bs-theme="dark"] .scry-delivery-item:hover,
body[data-bs-theme="dark"] .scry-pill-link:hover,
body[data-bs-theme="dark"] .scry-social-btn:hover,
[data-bs-theme="dark"] .scry-delivery-item:hover,
[data-bs-theme="dark"] .scry-pill-link:hover,
[data-bs-theme="dark"] .scry-social-btn:hover {
  background: var(--scry-surface-2) !important;
  border-color: var(--scry-border-strong) !important;
}

body[data-bs-theme="dark"] .scry-pill-verified,
[data-bs-theme="dark"] .scry-pill-verified {
  color: #8de7c6 !important;
}

body[data-bs-theme="dark"] .scry-pill-unverified,
[data-bs-theme="dark"] .scry-pill-unverified {
  color: #f6c76b !important;
}

body[data-bs-theme="dark"] .scry-delivery-item-link span:last-child,
[data-bs-theme="dark"] .scry-delivery-item-link span:last-child {
  text-decoration-color: rgba(184, 195, 209, 0.28) !important;
}

body[data-bs-theme="dark"] .scry-delivery-item-link:hover span:last-child,
[data-bs-theme="dark"] .scry-delivery-item-link:hover span:last-child {
  text-decoration-color: rgba(79, 213, 199, 0.55) !important;
}

body[data-bs-theme="dark"] .scry-reputation-card,
body[data-bs-theme="dark"] .store-reputation-summary,
body[data-bs-theme="dark"] .store-reputation-review,
body[data-bs-theme="dark"] .store-reputation-empty,
body[data-bs-theme="dark"] .store-reputation-filter,
body[data-bs-theme="dark"] .store-reputation-page-link,
body[data-bs-theme="dark"] .store-reputation-review__seller-response,
[data-bs-theme="dark"] .scry-reputation-card {
  background: linear-gradient(180deg, #172132 0%, #111827 100%) !important;
  border-color: var(--scry-border-default) !important;
  box-shadow: 0 14px 34px rgba(2, 6, 23, 0.24) !important;
}

[data-bs-theme="dark"] .store-reputation-summary,
[data-bs-theme="dark"] .store-reputation-review,
[data-bs-theme="dark"] .store-reputation-empty,
[data-bs-theme="dark"] .store-reputation-filter,
[data-bs-theme="dark"] .store-reputation-page-link,
[data-bs-theme="dark"] .store-reputation-review__seller-response {
  background: linear-gradient(180deg, #172132 0%, #111827 100%) !important;
  border-color: var(--scry-border-default) !important;
  box-shadow: 0 14px 34px rgba(2, 6, 23, 0.24) !important;
}

body[data-bs-theme="dark"] .scry-reputation-score,
body[data-bs-theme="dark"] .store-reputation-title,
body[data-bs-theme="dark"] .store-reputation-score,
body[data-bs-theme="dark"] .store-reputation-kpi span,
body[data-bs-theme="dark"] .store-reputation-review__comment,
body[data-bs-theme="dark"] .store-reputation-review__seller-text,
body[data-bs-theme="dark"] .scry-reputation-comment .fw-semibold,
[data-bs-theme="dark"] .scry-reputation-score,
[data-bs-theme="dark"] .store-reputation-title,
[data-bs-theme="dark"] .store-reputation-score,
[data-bs-theme="dark"] .store-reputation-kpi span,
[data-bs-theme="dark"] .store-reputation-review__comment,
[data-bs-theme="dark"] .store-reputation-review__seller-text,
[data-bs-theme="dark"] .scry-reputation-comment .fw-semibold {
  color: var(--scry-text-primary) !important;
}

body[data-bs-theme="dark"] .scry-reputation-card .text-muted,
body[data-bs-theme="dark"] .scry-reputation-comment,
body[data-bs-theme="dark"] .store-reputation-page .text-muted,
body[data-bs-theme="dark"] .store-reputation-result-count,
body[data-bs-theme="dark"] .store-reputation-kpi small,
body[data-bs-theme="dark"] .store-reputation-review__date,
body[data-bs-theme="dark"] .store-reputation-review__foot,
body[data-bs-theme="dark"] .store-reputation-review__empty-comment,
body[data-bs-theme="dark"] .store-reputation-review__seller-label span,
body[data-bs-theme="dark"] .store-reputation-page-status,
[data-bs-theme="dark"] .scry-reputation-card .text-muted,
[data-bs-theme="dark"] .scry-reputation-comment,
[data-bs-theme="dark"] .store-reputation-page .text-muted,
[data-bs-theme="dark"] .store-reputation-result-count,
[data-bs-theme="dark"] .store-reputation-kpi small,
[data-bs-theme="dark"] .store-reputation-review__date,
[data-bs-theme="dark"] .store-reputation-review__foot,
[data-bs-theme="dark"] .store-reputation-review__empty-comment,
[data-bs-theme="dark"] .store-reputation-review__seller-label span,
[data-bs-theme="dark"] .store-reputation-page-status {
  color: var(--scry-text-secondary) !important;
}

body[data-bs-theme="dark"] .store-reputation-kpi,
[data-bs-theme="dark"] .store-reputation-kpi {
  background: rgba(15, 23, 42, 0.64) !important;
  border-color: var(--scry-border-default) !important;
}

body[data-bs-theme="dark"] .seller-reputation-stat,
body[data-bs-theme="dark"] .seller-reputation-empty,
body[data-bs-theme="dark"] .seller-reputation-item,
body[data-bs-theme="dark"] .seller-reputation-filter,
body[data-bs-theme="dark"] .seller-reputation-page-link,
[data-bs-theme="dark"] .seller-reputation-stat,
[data-bs-theme="dark"] .seller-reputation-empty,
[data-bs-theme="dark"] .seller-reputation-item,
[data-bs-theme="dark"] .seller-reputation-filter,
[data-bs-theme="dark"] .seller-reputation-page-link {
  background: linear-gradient(180deg, #172132 0%, #111827 100%) !important;
  border-color: var(--scry-border-default) !important;
  box-shadow: 0 14px 34px rgba(2, 6, 23, 0.24) !important;
}

body[data-bs-theme="dark"] .seller-reputation-stat span,
body[data-bs-theme="dark"] .seller-reputation-comment,
body[data-bs-theme="dark"] .seller-reputation-current-response,
body[data-bs-theme="dark"] .seller-reputation-guidance,
body[data-bs-theme="dark"] .scry-order-feedback__comment,
[data-bs-theme="dark"] .seller-reputation-stat span,
[data-bs-theme="dark"] .seller-reputation-comment,
[data-bs-theme="dark"] .seller-reputation-current-response,
[data-bs-theme="dark"] .seller-reputation-guidance,
[data-bs-theme="dark"] .scry-order-feedback__comment {
  color: var(--scry-text-primary) !important;
}

body[data-bs-theme="dark"] .scry-order-feedback--positive .scry-order-feedback__type,
[data-bs-theme="dark"] .scry-order-feedback--positive .scry-order-feedback__type {
  color: #69d7ac;
}

body[data-bs-theme="dark"] .scry-order-feedback--negative .scry-order-feedback__type,
[data-bs-theme="dark"] .scry-order-feedback--negative .scry-order-feedback__type {
  color: #ff9b9b;
}

body[data-bs-theme="dark"] .seller-reputation-stat small,
body[data-bs-theme="dark"] .seller-reputation-count,
body[data-bs-theme="dark"] .seller-reputation-muted,
body[data-bs-theme="dark"] .seller-reputation-meta,
body[data-bs-theme="dark"] .seller-reputation-counter,
body[data-bs-theme="dark"] .seller-reputation-pagination,
body[data-bs-theme="dark"] .seller-reputation-current-response__label span,
body[data-bs-theme="dark"] .seller-reputation-confirm-copy,
[data-bs-theme="dark"] .seller-reputation-stat small,
[data-bs-theme="dark"] .seller-reputation-count,
[data-bs-theme="dark"] .seller-reputation-muted,
[data-bs-theme="dark"] .seller-reputation-meta,
[data-bs-theme="dark"] .seller-reputation-counter,
[data-bs-theme="dark"] .seller-reputation-pagination,
[data-bs-theme="dark"] .seller-reputation-current-response__label span,
[data-bs-theme="dark"] .seller-reputation-confirm-copy {
  color: var(--scry-text-secondary) !important;
}

body[data-bs-theme="dark"] .seller-reputation-current-response,
[data-bs-theme="dark"] .seller-reputation-current-response {
  background: rgba(15, 23, 42, 0.64) !important;
  border-color: rgba(79, 213, 199, 0.32) !important;
}

body[data-bs-theme="dark"] .seller-reputation-confirm-preview,
[data-bs-theme="dark"] .seller-reputation-confirm-preview {
  background: rgba(15, 23, 42, 0.64) !important;
  border-color: var(--scry-border-default) !important;
  color: var(--scry-text-primary) !important;
}

body[data-bs-theme="dark"] .seller-reputation-guidance,
[data-bs-theme="dark"] .seller-reputation-guidance {
  background: rgba(245, 179, 66, 0.1) !important;
  border-color: rgba(245, 179, 66, 0.32) !important;
}

body[data-bs-theme="dark"] .seller-reputation-examples span,
[data-bs-theme="dark"] .seller-reputation-examples span {
  background: rgba(15, 23, 42, 0.58) !important;
  color: var(--scry-text-secondary) !important;
}

body[data-bs-theme="dark"] .store-listing-card,
[data-bs-theme="dark"] .store-listing-card {
  background: linear-gradient(180deg, #172132 0%, #111827 100%) !important;
  border-color: var(--scry-border-default) !important;
  box-shadow: 0 14px 34px rgba(2, 6, 23, 0.24) !important;
}

body[data-bs-theme="dark"] .store-listing-card:hover,
[data-bs-theme="dark"] .store-listing-card:hover {
  border-color: var(--scry-border-strong) !important;
}

body[data-bs-theme="dark"] .store-listing-title,
body[data-bs-theme="dark"] .store-listing-title a,
body[data-bs-theme="dark"] .store-listing-price,
[data-bs-theme="dark"] .store-listing-title,
[data-bs-theme="dark"] .store-listing-title a,
[data-bs-theme="dark"] .store-listing-price {
  color: var(--scry-text-primary) !important;
}

body[data-bs-theme="dark"] .store-listing-meta,
body[data-bs-theme="dark"] .store-listing-stock,
[data-bs-theme="dark"] .store-listing-meta,
[data-bs-theme="dark"] .store-listing-stock {
  color: var(--scry-text-secondary) !important;
}

body[data-bs-theme="dark"] .store-listing-cart-btn,
[data-bs-theme="dark"] .store-listing-cart-btn {
  background-color: var(--scry-surface-1);
  border-color: var(--scry-border-default);
  color: var(--scry-text-primary);
}

body[data-bs-theme="dark"] .store-listing-cart-btn:hover,
[data-bs-theme="dark"] .store-listing-cart-btn:hover {
  background-color: var(--scry-surface-2);
  border-color: var(--scry-border-strong);
  color: var(--scry-accent-primary-strong);
}

body[data-bs-theme="dark"] .store-listing-cart-btn.disabled,
body[data-bs-theme="dark"] .store-listing-cart-btn:disabled,
[data-bs-theme="dark"] .store-listing-cart-btn.disabled,
[data-bs-theme="dark"] .store-listing-cart-btn:disabled {
  background-color: rgba(148, 163, 184, 0.08) !important;
  border-color: var(--scry-border-default) !important;
  color: var(--scry-text-secondary) !important;
  opacity: 1;
}

body[data-bs-theme="dark"] .scry-single-purchase,
body[data-bs-theme="dark"] .scry-single-content-card,
body[data-bs-theme="dark"] .scry-single-meta-pill,
body[data-bs-theme="dark"] .phyrexian-preview-card,
[data-bs-theme="dark"] .scry-single-purchase,
[data-bs-theme="dark"] .scry-single-content-card,
[data-bs-theme="dark"] .scry-single-meta-pill,
[data-bs-theme="dark"] .phyrexian-preview-card {
  background: linear-gradient(180deg, #172132 0%, #111827 100%) !important;
  border-color: var(--scry-border-default) !important;
  color: var(--scry-text-primary) !important;
  box-shadow: 0 14px 34px rgba(2, 6, 23, 0.24) !important;
}

body[data-bs-theme="dark"] .title_carta,
body[data-bs-theme="dark"] .scry-single-mobile-title,
body[data-bs-theme="dark"] .scry-single-price,
body[data-bs-theme="dark"] .scry-single-content-title,
body[data-bs-theme="dark"] .scry-single-content-card p,
body[data-bs-theme="dark"] .scry-single-content-card li,
body[data-bs-theme="dark"] .scry-single-content-card div,
body[data-bs-theme="dark"] .scry-single-details-item,
body[data-bs-theme="dark"] .scry-single-details-item strong,
body[data-bs-theme="dark"] .scry-single-meta-value,
body[data-bs-theme="dark"] .phyrexian-preview-text,
[data-bs-theme="dark"] .title_carta,
[data-bs-theme="dark"] .scry-single-mobile-title,
[data-bs-theme="dark"] .scry-single-price,
[data-bs-theme="dark"] .scry-single-content-title,
[data-bs-theme="dark"] .scry-single-content-card p,
[data-bs-theme="dark"] .scry-single-content-card li,
[data-bs-theme="dark"] .scry-single-content-card div,
[data-bs-theme="dark"] .scry-single-details-item,
[data-bs-theme="dark"] .scry-single-details-item strong,
[data-bs-theme="dark"] .scry-single-meta-value,
[data-bs-theme="dark"] .phyrexian-preview-text {
  color: var(--scry-text-primary) !important;
}

body[data-bs-theme="dark"] .scry-single-meta-label,
body[data-bs-theme="dark"] .scry-single-market-copy,
body[data-bs-theme="dark"] .scry-single-market-note,
body[data-bs-theme="dark"] .scry-single-stock-note,
body[data-bs-theme="dark"] .scry-single-content-card .text-muted,
[data-bs-theme="dark"] .scry-single-meta-label,
[data-bs-theme="dark"] .scry-single-market-copy,
[data-bs-theme="dark"] .scry-single-market-note,
[data-bs-theme="dark"] .scry-single-stock-note,
[data-bs-theme="dark"] .scry-single-content-card .text-muted {
  color: var(--scry-text-secondary) !important;
}

body[data-bs-theme="dark"] .scry-single-content-card .badge.bg-success,
body[data-bs-theme="dark"] .scry-single-content-card .badge.bg-secondary,
[data-bs-theme="dark"] .scry-single-content-card .badge.bg-success,
[data-bs-theme="dark"] .scry-single-content-card .badge.bg-secondary {
  color: #f8fafc !important;
}

body[data-bs-theme="dark"] .scry-single-content-card .badge.bg-warning.text-dark,
[data-bs-theme="dark"] .scry-single-content-card .badge.bg-warning.text-dark {
  color: #1b2430 !important;
}

body[data-bs-theme="dark"] .scry-single-mobile-tags .badge.bg-light,
[data-bs-theme="dark"] .scry-single-mobile-tags .badge.bg-light {
  background-color: rgba(148, 163, 184, 0.12) !important;
  border-color: var(--scry-border-default) !important;
  color: var(--scry-text-primary) !important;
}

body[data-bs-theme="dark"] .scry-single-market-deal,
body[data-bs-theme="dark"] .scry-single-market-deal strong,
[data-bs-theme="dark"] .scry-single-market-deal,
[data-bs-theme="dark"] .scry-single-market-deal strong {
  color: #8de7c6 !important;
}

body[data-bs-theme="dark"] .scry-single-buy-qty,
[data-bs-theme="dark"] .scry-single-buy-qty {
  background-color: var(--scry-surface-1) !important;
  border-color: var(--scry-border-default) !important;
  color: var(--scry-text-primary) !important;
}

body[data-bs-theme="dark"] .scry-single-wishlist-box,
[data-bs-theme="dark"] .scry-single-wishlist-box {
  background:
    radial-gradient(circle at top left, rgba(var(--scry-accent-primary-soft-rgb), 0.16) 0%, rgba(var(--scry-accent-primary-soft-rgb), 0) 46%),
    linear-gradient(180deg, var(--scry-surface-1) 0%, var(--scry-surface-0) 100%) !important;
  color: var(--scry-text-primary) !important;
  box-shadow: inset 0 0 0 1px var(--scry-border-soft), 0 12px 26px rgba(2, 6, 23, 0.18) !important;
}

body[data-bs-theme="dark"] .scry-single-wishlist-box strong,
[data-bs-theme="dark"] .scry-single-wishlist-box strong {
  color: var(--scry-text-primary) !important;
}

body[data-bs-theme="dark"] .scry-single-wishlist-copy,
[data-bs-theme="dark"] .scry-single-wishlist-copy {
  color: var(--scry-text-secondary) !important;
}

body[data-bs-theme="dark"] .btn-add-cart.disabled,
body[data-bs-theme="dark"] .btn-add-cart:disabled,
body[data-bs-theme="dark"] .btn-add-cart[disabled],
body[data-bs-theme="dark"] .btn-add-cart[aria-disabled="true"],
[data-bs-theme="dark"] .btn-add-cart.disabled,
[data-bs-theme="dark"] .btn-add-cart:disabled,
[data-bs-theme="dark"] .btn-add-cart[disabled],
[data-bs-theme="dark"] .btn-add-cart[aria-disabled="true"] {
  background-color: rgba(148, 163, 184, 0.18) !important;
  border-color: rgba(148, 163, 184, 0.28) !important;
  color: var(--scry-text-secondary) !important;
  opacity: 1 !important;
  box-shadow: none !important;
  text-shadow: none !important;
  transform: none !important;
  cursor: not-allowed;
}

body[data-bs-theme="dark"] .btn-add-cart.disabled i,
body[data-bs-theme="dark"] .btn-add-cart:disabled i,
body[data-bs-theme="dark"] .btn-add-cart[disabled] i,
body[data-bs-theme="dark"] .btn-add-cart[aria-disabled="true"] i,
[data-bs-theme="dark"] .btn-add-cart.disabled i,
[data-bs-theme="dark"] .btn-add-cart:disabled i,
[data-bs-theme="dark"] .btn-add-cart[disabled] i,
[data-bs-theme="dark"] .btn-add-cart[aria-disabled="true"] i {
  color: inherit !important;
  opacity: 0.72 !important;
}

body[data-bs-theme="dark"] .scry-single-meta-pill.is-foil,
[data-bs-theme="dark"] .scry-single-meta-pill.is-foil {
  border-color: rgba(167, 139, 250, 0.36) !important;
  background:
    radial-gradient(circle at 18% 24%, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0) 24%),
    linear-gradient(120deg, rgba(255, 95, 109, 0.22) 0%, rgba(255, 195, 113, 0.24) 16%, rgba(124, 242, 156, 0.2) 32%, rgba(94, 223, 255, 0.24) 48%, rgba(139, 123, 255, 0.24) 64%, rgba(255, 102, 196, 0.22) 82%, rgba(255, 95, 109, 0.22) 100%),
    linear-gradient(180deg, #1f2940 0%, #161d2d 100%) !important;
  background-size: 100% 100%, 220% 220%, 100% 100% !important;
  box-shadow: 0 10px 22px rgba(76, 29, 149, 0.22) !important;
}

body[data-bs-theme="dark"] .scry-single-meta-pill.is-foil .scry-single-meta-label,
body[data-bs-theme="dark"] .scry-single-meta-pill.is-foil .scry-single-meta-value,
[data-bs-theme="dark"] .scry-single-meta-pill.is-foil .scry-single-meta-label,
[data-bs-theme="dark"] .scry-single-meta-pill.is-foil .scry-single-meta-value {
  color: #efe7ff !important;
}

body[data-bs-theme="dark"] .scry-buybar,
[data-bs-theme="dark"] .scry-buybar {
  background: linear-gradient(180deg, #172132 0%, #111827 100%) !important;
  border-color: var(--scry-border-default) !important;
  color: var(--scry-text-primary) !important;
  box-shadow: 0 16px 34px rgba(2, 6, 23, 0.28) !important;
}

body[data-bs-theme="dark"] .scry-buybar .text-muted,
[data-bs-theme="dark"] .scry-buybar .text-muted {
  color: var(--scry-text-secondary) !important;
}

body[data-bs-theme="dark"] .scry-buybar__qty,
[data-bs-theme="dark"] .scry-buybar__qty {
  background-color: var(--scry-surface-1) !important;
  border-color: var(--scry-border-default) !important;
  color: var(--scry-text-primary) !important;
}

body[data-bs-theme="dark"] .scry-buybar__cart,
[data-bs-theme="dark"] .scry-buybar__cart {
  background: linear-gradient(180deg, #1d4ed8 0%, #2563eb 100%) !important;
  border-color: rgba(96, 165, 250, 0.32) !important;
  color: #eff6ff !important;
}

/* Final CTA normalization: keep turquoise marketplace actions identical in light/dark */
body[data-bs-theme="dark"] .home-sections .btn-scry,
body[data-bs-theme="dark"] .home-sections .btn-scry-primary,
body[data-bs-theme="dark"] .home-sections .home-cta-primary,
[data-bs-theme="dark"] .home-sections .btn-scry,
[data-bs-theme="dark"] .home-sections .btn-scry-primary,
[data-bs-theme="dark"] .home-sections .home-cta-primary,
.home-sections .btn-scry,
.home-sections .btn-scry-primary,
.home-sections .home-cta-primary,
body[data-bs-theme="dark"] .btn-add-cart:not(.disabled):not([disabled]):not([aria-disabled="true"]),
[data-bs-theme="dark"] .btn-add-cart:not(.disabled):not([disabled]):not([aria-disabled="true"]),
.btn-add-cart:not(.disabled):not([disabled]):not([aria-disabled="true"]),
body[data-bs-theme="dark"] .scry-buybar__add:not(.disabled):not([disabled]):not([aria-disabled="true"]),
[data-bs-theme="dark"] .scry-buybar__add:not(.disabled):not([disabled]):not([aria-disabled="true"]),
.scry-buybar__add:not(.disabled):not([disabled]):not([aria-disabled="true"]),
body[data-bs-theme="dark"] .js-related-add-cart:not(.disabled):not([disabled]):not([aria-disabled="true"]),
[data-bs-theme="dark"] .js-related-add-cart:not(.disabled):not([disabled]):not([aria-disabled="true"]),
.js-related-add-cart:not(.disabled):not([disabled]):not([aria-disabled="true"]),
body[data-bs-theme="dark"] .btn-olive-green:not(.disabled):not([disabled]):not([aria-disabled="true"]),
[data-bs-theme="dark"] .btn-olive-green:not(.disabled):not([disabled]):not([aria-disabled="true"]),
.btn-olive-green:not(.disabled):not([disabled]):not([aria-disabled="true"]) {
  background: #3fc1b2 !important;
  border-color: #3fc1b2 !important;
  color: #071018 !important;
  font-weight: 700 !important;
  text-shadow: none !important;
}

body[data-bs-theme="dark"] .home-sections .btn-scry:hover,
body[data-bs-theme="dark"] .home-sections .btn-scry:focus,
body[data-bs-theme="dark"] .home-sections .btn-scry-primary:hover,
body[data-bs-theme="dark"] .home-sections .btn-scry-primary:focus,
body[data-bs-theme="dark"] .home-sections .home-cta-primary:hover,
body[data-bs-theme="dark"] .home-sections .home-cta-primary:focus,
[data-bs-theme="dark"] .home-sections .btn-scry:hover,
[data-bs-theme="dark"] .home-sections .btn-scry:focus,
[data-bs-theme="dark"] .home-sections .btn-scry-primary:hover,
[data-bs-theme="dark"] .home-sections .btn-scry-primary:focus,
[data-bs-theme="dark"] .home-sections .home-cta-primary:hover,
[data-bs-theme="dark"] .home-sections .home-cta-primary:focus,
.home-sections .btn-scry:hover,
.home-sections .btn-scry:focus,
.home-sections .btn-scry-primary:hover,
.home-sections .btn-scry-primary:focus,
.home-sections .home-cta-primary:hover,
.home-sections .home-cta-primary:focus,
body[data-bs-theme="dark"] .btn-add-cart:not(.disabled):not([disabled]):not([aria-disabled="true"]):hover,
body[data-bs-theme="dark"] .btn-add-cart:not(.disabled):not([disabled]):not([aria-disabled="true"]):focus,
[data-bs-theme="dark"] .btn-add-cart:not(.disabled):not([disabled]):not([aria-disabled="true"]):hover,
[data-bs-theme="dark"] .btn-add-cart:not(.disabled):not([disabled]):not([aria-disabled="true"]):focus,
.btn-add-cart:not(.disabled):not([disabled]):not([aria-disabled="true"]):hover,
.btn-add-cart:not(.disabled):not([disabled]):not([aria-disabled="true"]):focus,
body[data-bs-theme="dark"] .scry-buybar__add:not(.disabled):not([disabled]):not([aria-disabled="true"]):hover,
body[data-bs-theme="dark"] .scry-buybar__add:not(.disabled):not([disabled]):not([aria-disabled="true"]):focus,
[data-bs-theme="dark"] .scry-buybar__add:not(.disabled):not([disabled]):not([aria-disabled="true"]):hover,
[data-bs-theme="dark"] .scry-buybar__add:not(.disabled):not([disabled]):not([aria-disabled="true"]):focus,
.scry-buybar__add:not(.disabled):not([disabled]):not([aria-disabled="true"]):hover,
.scry-buybar__add:not(.disabled):not([disabled]):not([aria-disabled="true"]):focus,
body[data-bs-theme="dark"] .js-related-add-cart:not(.disabled):not([disabled]):not([aria-disabled="true"]):hover,
body[data-bs-theme="dark"] .js-related-add-cart:not(.disabled):not([disabled]):not([aria-disabled="true"]):focus,
[data-bs-theme="dark"] .js-related-add-cart:not(.disabled):not([disabled]):not([aria-disabled="true"]):hover,
[data-bs-theme="dark"] .js-related-add-cart:not(.disabled):not([disabled]):not([aria-disabled="true"]):focus,
.js-related-add-cart:not(.disabled):not([disabled]):not([aria-disabled="true"]):hover,
.js-related-add-cart:not(.disabled):not([disabled]):not([aria-disabled="true"]):focus,
body[data-bs-theme="dark"] .btn-olive-green:not(.disabled):not([disabled]):not([aria-disabled="true"]):hover,
body[data-bs-theme="dark"] .btn-olive-green:not(.disabled):not([disabled]):not([aria-disabled="true"]):focus,
[data-bs-theme="dark"] .btn-olive-green:not(.disabled):not([disabled]):not([aria-disabled="true"]):hover,
[data-bs-theme="dark"] .btn-olive-green:not(.disabled):not([disabled]):not([aria-disabled="true"]):focus,
.btn-olive-green:not(.disabled):not([disabled]):not([aria-disabled="true"]):hover,
.btn-olive-green:not(.disabled):not([disabled]):not([aria-disabled="true"]):focus {
  background: #ffffff !important;
  border-color: #3fc1b2 !important;
  color: #071018 !important;
  text-shadow: none !important;
}

body[data-bs-theme="dark"] .scry-offer-card,
[data-bs-theme="dark"] .scry-offer-card,
body[data-bs-theme="dark"] .scry-offer-thumb img,
[data-bs-theme="dark"] .scry-offer-thumb img,
body[data-bs-theme="dark"] .scry-offer-meta-pill,
[data-bs-theme="dark"] .scry-offer-meta-pill {
  background: linear-gradient(180deg, #172132 0%, #111827 100%) !important;
  border-color: var(--scry-border-default) !important;
  color: var(--scry-text-primary) !important;
  box-shadow: none !important;
}

body[data-bs-theme="dark"] .scry-offers-toolbar,
[data-bs-theme="dark"] .scry-offers-toolbar {
  border-bottom-color: var(--scry-border-default) !important;
}

body[data-bs-theme="dark"] .scry-offer-price,
[data-bs-theme="dark"] .scry-offer-price,
body[data-bs-theme="dark"] .scry-offer-card .fw-semibold,
[data-bs-theme="dark"] .scry-offer-card .fw-semibold {
  color: var(--scry-text-primary) !important;
}

body[data-bs-theme="dark"] .scry-offer-card .text-muted,
[data-bs-theme="dark"] .scry-offer-card .text-muted {
  color: var(--scry-text-secondary) !important;
}

body[data-bs-theme="dark"] .scry-offer-card .text-success,
[data-bs-theme="dark"] .scry-offer-card .text-success {
  color: #7ee8bf !important;
}

body[data-bs-theme="dark"] .scry-offer-thumb-link:hover img,
body[data-bs-theme="dark"] .scry-offer-thumb-link:focus img,
[data-bs-theme="dark"] .scry-offer-thumb-link:hover img,
[data-bs-theme="dark"] .scry-offer-thumb-link:focus img {
  box-shadow: 0 0 0 3px rgba(86, 221, 209, 0.18) !important;
}

body[data-bs-theme="dark"] .scry-offer-thumb-zoom,
[data-bs-theme="dark"] .scry-offer-thumb-zoom {
  background: rgba(10, 15, 26, 0.88) !important;
  color: #f8fafc !important;
}

body[data-bs-theme="dark"] .scry-offer-card .form-control,
[data-bs-theme="dark"] .scry-offer-card .form-control {
  background-color: var(--scry-surface-1) !important;
  border-color: var(--scry-border-default) !important;
  color: var(--scry-text-primary) !important;
}

body[data-bs-theme="dark"] .scry-single-content-card .btn-outline-primary,
[data-bs-theme="dark"] .scry-single-content-card .btn-outline-primary {
  border-color: rgba(86, 221, 209, 0.42) !important;
  color: #8de7dc !important;
}

body[data-bs-theme="dark"] .scry-single-content-card .btn-outline-primary:hover,
[data-bs-theme="dark"] .scry-single-content-card .btn-outline-primary:hover {
  background: rgba(86, 221, 209, 0.12) !important;
  color: #dffbf5 !important;
}

body[data-bs-theme="dark"] .scry-single-content-card .btn-outline-secondary,
[data-bs-theme="dark"] .scry-single-content-card .btn-outline-secondary {
  border-color: var(--scry-border-default) !important;
  color: var(--scry-text-secondary) !important;
}

body[data-bs-theme="dark"] .scry-single-content-card .btn-outline-secondary:hover,
[data-bs-theme="dark"] .scry-single-content-card .btn-outline-secondary:hover {
  background: rgba(148, 163, 184, 0.08) !important;
  color: var(--scry-text-primary) !important;
}

.registro-main-card {
  border-radius: 28px !important;
  background: #ffffff;
}

.registro-lead-panel {
  background: #e8fdfb;
  padding: 32px;
}

.registro-lead-title {
  color: #303030;
  font-weight: 600;
  font-size: 28px;
}

.registro-lead-copy {
  color: #303030;
  font-size: 16px;
}

.registro-stat-card {
  background: #ffffff;
  font-size: 12px;
  border-color: rgba(17, 24, 39, 0.08) !important;
}

.registro-stat-value {
  font-weight: 700;
  font-size: 14px;
  color: #303030;
}

.registro-feature-grid {
  color: #303030;
  font-size: 15px;
  line-height: 1.4;
}

.registro-feature-item {
  background: #ffffff;
  border-color: rgba(17, 24, 39, 0.08) !important;
}

.registro-form-panel {
  background: #f8f8f9;
}

.registro-section-title,
.registro-field-label {
  color: #303030;
}

.registro-section-title {
  font-size: 24px;
}

.registro-google-btn {
  height: 44px;
  border: 1px solid #dadce0;
  color: #3c4043;
  background: #ffffff;
  font-weight: 500;
}

.registro-google-btn:hover,
.registro-google-btn:focus {
  background: #f8f9fa;
  border-color: #d2d6da;
  color: #303030;
}

.registro-submit-btn {
  background: #3fc1b2 !important;
  border: 1px solid #3fc1b2 !important;
  color: #071018 !important;
  font-weight: 700 !important;
  padding: 12px 0;
  border-radius: 8px;
  font-size: 16px;
  text-shadow: none !important;
  box-shadow: none !important;
}

.registro-submit-btn:hover,
.registro-submit-btn:focus {
  background: #ffffff !important;
  border-color: #3fc1b2 !important;
  color: #071018 !important;
}

.registro-field-help,
.registro-details-summary {
  font-size: 12px;
}

.registro-details-summary {
  cursor: pointer;
}

.registro-details-card {
  background: #ffffff;
  border: 1px solid #e0e0e0;
}

.registro-details-title,
.registro-details-copy {
  color: #303030;
}

.registro-details-copy {
  font-size: 13px;
}

.registro-details-table {
  font-size: 12px;
}

body[data-bs-theme="dark"] .registro-main-card,
[data-bs-theme="dark"] .registro-main-card {
  background: linear-gradient(180deg, #172133 0%, #111827 100%) !important;
  border: 1px solid rgba(93, 122, 156, 0.22);
  box-shadow: 0 18px 42px rgba(2, 6, 23, 0.32) !important;
}

body[data-bs-theme="dark"] .registro-lead-panel,
[data-bs-theme="dark"] .registro-lead-panel {
  background: radial-gradient(circle at top left, rgba(79, 213, 199, 0.14) 0%, rgba(79, 213, 199, 0) 42%), linear-gradient(180deg, #172133 0%, #111827 100%) !important;
}

body[data-bs-theme="dark"] .registro-lead-title,
body[data-bs-theme="dark"] .registro-lead-copy,
body[data-bs-theme="dark"] .registro-section-title,
body[data-bs-theme="dark"] .registro-field-label,
body[data-bs-theme="dark"] .registro-mobile-context-title,
body[data-bs-theme="dark"] .registro-mobile-context-copy,
body[data-bs-theme="dark"] .registro-details-title,
body[data-bs-theme="dark"] .registro-details-copy,
[data-bs-theme="dark"] .registro-lead-title,
[data-bs-theme="dark"] .registro-lead-copy,
[data-bs-theme="dark"] .registro-section-title,
[data-bs-theme="dark"] .registro-field-label,
[data-bs-theme="dark"] .registro-mobile-context-title,
[data-bs-theme="dark"] .registro-mobile-context-copy,
[data-bs-theme="dark"] .registro-details-title,
[data-bs-theme="dark"] .registro-details-copy {
  color: var(--scry-text-primary) !important;
}

body[data-bs-theme="dark"] .registro-mobile-context-copy,
body[data-bs-theme="dark"] .registro-field-help,
body[data-bs-theme="dark"] .registro-details-summary,
body[data-bs-theme="dark"] .registro-stat-card .text-muted,
body[data-bs-theme="dark"] .registro-details-card .text-muted,
[data-bs-theme="dark"] .registro-mobile-context-copy,
[data-bs-theme="dark"] .registro-field-help,
[data-bs-theme="dark"] .registro-details-summary,
[data-bs-theme="dark"] .registro-stat-card .text-muted,
[data-bs-theme="dark"] .registro-details-card .text-muted {
  color: var(--scry-text-secondary) !important;
}

body[data-bs-theme="dark"] .registro-stat-card,
body[data-bs-theme="dark"] .registro-feature-item,
body[data-bs-theme="dark"] .registro-details-card,
[data-bs-theme="dark"] .registro-stat-card,
[data-bs-theme="dark"] .registro-feature-item,
[data-bs-theme="dark"] .registro-details-card {
  background: linear-gradient(180deg, #1a2537 0%, #141d2d 100%) !important;
  border-color: rgba(93, 122, 156, 0.22) !important;
  color: var(--scry-text-primary) !important;
}

body[data-bs-theme="dark"] .registro-stat-value,
[data-bs-theme="dark"] .registro-stat-value {
  color: var(--scry-text-primary) !important;
}

body[data-bs-theme="dark"] .registro-form-panel,
[data-bs-theme="dark"] .registro-form-panel {
  background: #141d2d !important;
}

body[data-bs-theme="dark"] .registro-google-btn,
[data-bs-theme="dark"] .registro-google-btn {
  background: linear-gradient(180deg, #1a2537 0%, #141d2d 100%) !important;
  border-color: rgba(93, 122, 156, 0.26) !important;
  color: var(--scry-text-primary) !important;
}

body[data-bs-theme="dark"] .registro-google-btn:hover,
body[data-bs-theme="dark"] .registro-google-btn:focus,
[data-bs-theme="dark"] .registro-google-btn:hover,
[data-bs-theme="dark"] .registro-google-btn:focus {
  background: #ffffff !important;
  border-color: #ffffff !important;
  color: #071018 !important;
}

body[data-bs-theme="dark"] .registro-submit-btn,
[data-bs-theme="dark"] .registro-submit-btn {
  background: #3fc1b2 !important;
  border-color: #3fc1b2 !important;
  color: #071018 !important;
  font-weight: 700 !important;
}

body[data-bs-theme="dark"] .registro-submit-btn:hover,
body[data-bs-theme="dark"] .registro-submit-btn:focus,
[data-bs-theme="dark"] .registro-submit-btn:hover,
[data-bs-theme="dark"] .registro-submit-btn:focus {
  background: #ffffff !important;
  border-color: #ffffff !important;
  color: #071018 !important;
}

body[data-bs-theme="dark"] .registro-form-panel .form-control,
[data-bs-theme="dark"] .registro-form-panel .form-control {
  background-color: var(--scry-surface-1) !important;
  border-color: var(--scry-border-default) !important;
  color: var(--scry-text-primary) !important;
}

body[data-bs-theme="dark"] .registro-form-panel .form-control::placeholder,
[data-bs-theme="dark"] .registro-form-panel .form-control::placeholder {
  color: var(--scry-text-muted) !important;
}

body[data-bs-theme="dark"] .registro-details-card .table,
body[data-bs-theme="dark"] .registro-details-card .table td,
body[data-bs-theme="dark"] .registro-details-card .table th,
[data-bs-theme="dark"] .registro-details-card .table,
[data-bs-theme="dark"] .registro-details-card .table td,
[data-bs-theme="dark"] .registro-details-card .table th {
  color: var(--scry-text-primary) !important;
  border-color: rgba(93, 122, 156, 0.22) !important;
}

body[data-bs-theme="dark"] .registro-details-card .table-light,
body[data-bs-theme="dark"] .registro-details-card .table-light > th,
body[data-bs-theme="dark"] .registro-details-card .table-light > td,
body[data-bs-theme="dark"] .registro-details-card .table-light th,
body[data-bs-theme="dark"] .registro-details-card .table-light td,
[data-bs-theme="dark"] .registro-details-card .table-light,
[data-bs-theme="dark"] .registro-details-card .table-light > th,
[data-bs-theme="dark"] .registro-details-card .table-light > td,
[data-bs-theme="dark"] .registro-details-card .table-light th,
[data-bs-theme="dark"] .registro-details-card .table-light td {
  background: rgba(79, 213, 199, 0.08) !important;
  color: var(--scry-text-primary) !important;
}

body[data-bs-theme="dark"] .accordion-item,
body[data-bs-theme="dark"] .accordion-button,
[data-bs-theme="dark"] .accordion-item,
[data-bs-theme="dark"] .accordion-button {
  background-color: var(--scry-surface-1);
  color: var(--scry-text-primary);
  border-color: var(--scry-border-default);
}

body[data-bs-theme="dark"] .accordion-button:not(.collapsed),
[data-bs-theme="dark"] .accordion-button:not(.collapsed) {
  background-color: var(--scry-surface-2);
  color: var(--scry-text-primary);
}

body[data-bs-theme="dark"] .accordion-button::after,
[data-bs-theme="dark"] .accordion-button::after {
  filter: invert(1) brightness(1.6);
}

@media (max-width: 767.98px) {
  .scry-theme-toggle {
    right: 0.75rem;
    bottom: 0.75rem;
    padding: 0.65rem 0.85rem;
  }
}

body[data-bs-theme="dark"] .home-sections .home-card-surface,
body[data-bs-theme="dark"] .home-sections .scry-top10-card,
body[data-bs-theme="dark"] .home-sections .home-staple-card > div,
body[data-bs-theme="dark"] .home-sections .home-scroll-card-media,
body[data-bs-theme="dark"] .home-sections .home-mini-store-card,
body[data-bs-theme="dark"] .home-sections .home-new-store-card,
body[data-bs-theme="dark"] .home-sections .home-deck-card,
body[data-bs-theme="dark"] .home-sections .home-point-card,
body[data-bs-theme="dark"] .home-sections .feature-panel,
body[data-bs-theme="dark"] .home-sections .home-side-cta,
body[data-bs-theme="dark"] .home-sections .home-panel.home-panel-soft,
body[data-bs-theme="dark"] .home-sections .home-panel.home-panel-section,
[data-bs-theme="dark"] .home-sections .home-card-surface,
[data-bs-theme="dark"] .home-sections .scry-top10-card,
[data-bs-theme="dark"] .home-sections .home-staple-card > div,
[data-bs-theme="dark"] .home-sections .home-scroll-card-media,
[data-bs-theme="dark"] .home-sections .home-mini-store-card,
[data-bs-theme="dark"] .home-sections .home-new-store-card,
[data-bs-theme="dark"] .home-sections .home-deck-card,
[data-bs-theme="dark"] .home-sections .home-point-card,
[data-bs-theme="dark"] .home-sections .feature-panel,
[data-bs-theme="dark"] .home-sections .home-side-cta,
[data-bs-theme="dark"] .home-sections .home-panel.home-panel-soft,
[data-bs-theme="dark"] .home-sections .home-panel.home-panel-section {
  background: linear-gradient(180deg, #172133 0%, #111827 100%) !important;
  background-image: none !important;
  border-color: rgba(93, 122, 156, 0.22) !important;
  box-shadow: 0 12px 28px rgba(2, 6, 23, 0.2) !important;
  color: var(--scry-text-primary) !important;
}

body[data-bs-theme="dark"] .home-sections .scry-top10-cover.is-empty,
[data-bs-theme="dark"] .home-sections .scry-top10-cover.is-empty {
  background-image: linear-gradient(135deg, rgba(72, 190, 178, 0.12) 0%, rgba(24, 32, 49, 0.96) 100%) !important;
  background-color: #1a2536 !important;
}

body[data-bs-theme="dark"] .home-sections .home-card-title,
body[data-bs-theme="dark"] .home-sections .home-grid-card-link .home-card-title,
body[data-bs-theme="dark"] .home-sections .home-scroll-card .home-card-title,
body[data-bs-theme="dark"] .home-sections .home-staple-card .home-card-title,
body[data-bs-theme="dark"] .home-sections .home-mini-store-card .home-card-title,
body[data-bs-theme="dark"] .home-sections .home-new-store-card .home-card-title,
body[data-bs-theme="dark"] .home-sections .home-deck-card .home-card-title,
body[data-bs-theme="dark"] .home-sections .scry-top10-card .home-card-title,
[data-bs-theme="dark"] .home-sections .home-card-title,
[data-bs-theme="dark"] .home-sections .home-grid-card-link .home-card-title,
[data-bs-theme="dark"] .home-sections .home-scroll-card .home-card-title,
[data-bs-theme="dark"] .home-sections .home-staple-card .home-card-title,
[data-bs-theme="dark"] .home-sections .home-mini-store-card .home-card-title,
[data-bs-theme="dark"] .home-sections .home-new-store-card .home-card-title,
[data-bs-theme="dark"] .home-sections .home-deck-card .home-card-title,
[data-bs-theme="dark"] .home-sections .scry-top10-card .home-card-title {
  color: #e8f0f8 !important;
}

body[data-bs-theme="dark"] .home-sections .home-card-meta,
body[data-bs-theme="dark"] .home-sections .home-new-store-desc,
body[data-bs-theme="dark"] .home-sections .home-deck-format,
body[data-bs-theme="dark"] .home-sections .scry-top10-meta,
body[data-bs-theme="dark"] .home-sections .feature-footnote,
body[data-bs-theme="dark"] .home-sections .home-point-card .text-muted,
[data-bs-theme="dark"] .home-sections .home-card-meta,
[data-bs-theme="dark"] .home-sections .home-new-store-desc,
[data-bs-theme="dark"] .home-sections .home-deck-format,
[data-bs-theme="dark"] .home-sections .scry-top10-meta,
[data-bs-theme="dark"] .home-sections .feature-footnote,
[data-bs-theme="dark"] .home-sections .home-point-card .text-muted {
  color: rgba(198, 210, 224, 0.74) !important;
}

body[data-bs-theme="dark"] .home-sections .home-offer-chip,
[data-bs-theme="dark"] .home-sections .home-offer-chip,
body[data-bs-theme="dark"] .offers-available-page .home-offer-chip,
[data-bs-theme="dark"] .offers-available-page .home-offer-chip {
  border-color: rgba(79, 213, 199, 0.3);
  background: rgba(15, 155, 150, 0.18);
  color: #8be7dd;
}

body[data-bs-theme="dark"] .home-sections .home-social-link,
[data-bs-theme="dark"] .home-sections .home-social-link,
body[data-bs-theme="dark"] .offers-available-page .offers-available-card,
[data-bs-theme="dark"] .offers-available-page .offers-available-card {
  border-color: rgba(93, 122, 156, 0.28);
  background: #172133;
  color: #e8f0f8;
  box-shadow: 0 8px 20px rgba(2, 6, 23, 0.22);
}

body[data-bs-theme="dark"] .home-sections .home-social-link:hover,
[data-bs-theme="dark"] .home-sections .home-social-link:hover,
body[data-bs-theme="dark"] .offers-available-page .offers-available-card:hover,
[data-bs-theme="dark"] .offers-available-page .offers-available-card:hover { color: #e8f0f8; border-color: rgba(79, 213, 199, 0.52); }
body[data-bs-theme="dark"] .home-sections .home-social-link--tiktok i,
[data-bs-theme="dark"] .home-sections .home-social-link--tiktok i { color: #e8f0f8; }
body[data-bs-theme="dark"] .home-sections .home-social-link small,
[data-bs-theme="dark"] .home-sections .home-social-link small { color: rgba(198, 210, 224, 0.74); }
body[data-bs-theme="dark"] .home-sections .home-social-link--instagram .home-social-link__icon,
[data-bs-theme="dark"] .home-sections .home-social-link--instagram .home-social-link__icon { background: rgba(193, 53, 132, 0.18); }
body[data-bs-theme="dark"] .home-sections .home-social-link--youtube .home-social-link__icon,
[data-bs-theme="dark"] .home-sections .home-social-link--youtube .home-social-link__icon { background: rgba(230, 33, 23, 0.16); }
body[data-bs-theme="dark"] .home-sections .home-social-link--whatsapp .home-social-link__icon,
[data-bs-theme="dark"] .home-sections .home-social-link--whatsapp .home-social-link__icon { background: rgba(22, 139, 80, 0.2); }
body[data-bs-theme="dark"] .home-sections .home-social-link--tiktok .home-social-link__icon,
[data-bs-theme="dark"] .home-sections .home-social-link--tiktok .home-social-link__icon { background: rgba(232, 240, 248, 0.1); }
body[data-bs-theme="dark"] .offers-available-page .offers-available-intro,
[data-bs-theme="dark"] .offers-available-page .offers-available-intro { color: #e8f0f8; }
body[data-bs-theme="dark"] .offers-available-page .offers-available-intro p,
[data-bs-theme="dark"] .offers-available-page .offers-available-intro p,
body[data-bs-theme="dark"] .offers-available-page .offers-available-card__store,
[data-bs-theme="dark"] .offers-available-page .offers-available-card__store,
body[data-bs-theme="dark"] .offers-available-page .offers-available-empty,
[data-bs-theme="dark"] .offers-available-page .offers-available-empty { color: rgba(198, 210, 224, 0.74); }
body[data-bs-theme="dark"] .offers-available-page .offers-available-card > img,
[data-bs-theme="dark"] .offers-available-page .offers-available-card > img { background: #111827; }

body[data-bs-theme="dark"] .home-sections .home-new-store-card,
body[data-bs-theme="dark"] .home-sections .home-mini-store-card,
[data-bs-theme="dark"] .home-sections .home-new-store-card,
[data-bs-theme="dark"] .home-sections .home-mini-store-card {
  padding: 0.95rem 1rem !important;
  gap: 0.85rem !important;
  align-items: center !important;
  min-height: 108px;
  border-radius: 18px;
}

body[data-bs-theme="dark"] .home-sections .home-new-store-card .home-card-title,
body[data-bs-theme="dark"] .home-sections .home-mini-store-card .home-card-title,
[data-bs-theme="dark"] .home-sections .home-new-store-card .home-card-title,
[data-bs-theme="dark"] .home-sections .home-mini-store-card .home-card-title {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  line-height: 1.24;
}

body[data-bs-theme="dark"] .home-sections .home-new-store-desc,
body[data-bs-theme="dark"] .home-sections .home-mini-store-card .home-card-meta,
[data-bs-theme="dark"] .home-sections .home-new-store-desc,
[data-bs-theme="dark"] .home-sections .home-mini-store-card .home-card-meta {
  line-height: 1.35;
}

body[data-bs-theme="dark"] .home-sections .home-hero-proof-icon,
body[data-bs-theme="dark"] .home-sections .home-point-badge,
body[data-bs-theme="dark"] .home-sections .home-brand-pill,
body[data-bs-theme="dark"] .home-sections .feature-logo,
[data-bs-theme="dark"] .home-sections .home-hero-proof-icon,
[data-bs-theme="dark"] .home-sections .home-point-badge,
[data-bs-theme="dark"] .home-sections .home-brand-pill,
[data-bs-theme="dark"] .home-sections .feature-logo {
  background: rgba(20, 31, 47, 0.92) !important;
  border-color: rgba(93, 122, 156, 0.24) !important;
  box-shadow: none !important;
}

body[data-bs-theme="dark"] .home-sections .home-testimonial-avatar,
[data-bs-theme="dark"] .home-sections .home-testimonial-avatar {
  background-color: rgba(20, 31, 47, 0.92) !important;
  border-color: rgba(93, 122, 156, 0.24) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

body[data-bs-theme="dark"] .home-sections .home-point-badge,
[data-bs-theme="dark"] .home-sections .home-point-badge {
  color: #d7f7f1 !important;
}

body[data-bs-theme="dark"] .home-sections .home-youtube-banner,
[data-bs-theme="dark"] .home-sections .home-youtube-banner {
  display: block;
  border: 1px solid rgba(93, 122, 156, 0.22);
  box-shadow: 0 10px 24px rgba(2, 6, 23, 0.16);
}

body[data-bs-theme="dark"] .home-sections .home-side-cta .btn-scry-primary,
body[data-bs-theme="dark"] .home-sections .feature-scry .btn-scry,
body[data-bs-theme="dark"] .home-sections .feature-scry .btn-scry-primary,
body[data-bs-theme="dark"] .home-sections .home-cta-primary.btn-scry,
body[data-bs-theme="dark"] .home-sections .home-cta-primary.btn-scry-primary,
[data-bs-theme="dark"] .home-sections .home-side-cta .btn-scry-primary,
[data-bs-theme="dark"] .home-sections .feature-scry .btn-scry,
[data-bs-theme="dark"] .home-sections .feature-scry .btn-scry-primary,
[data-bs-theme="dark"] .home-sections .home-cta-primary.btn-scry,
[data-bs-theme="dark"] .home-sections .home-cta-primary.btn-scry-primary {
  background: linear-gradient(135deg, #56ddd1 0%, #2db8ad 100%) !important;
  border-color: rgba(86, 221, 209, 0.54) !important;
  color: #081118 !important;
  opacity: 1 !important;
  filter: none !important;
  text-shadow: none !important;
}

body[data-bs-theme="dark"] .home-sections .home-side-cta .btn-scry-primary:hover,
body[data-bs-theme="dark"] .home-sections .feature-scry .btn-scry:hover,
body[data-bs-theme="dark"] .home-sections .feature-scry .btn-scry-primary:hover,
body[data-bs-theme="dark"] .home-sections .home-cta-primary.btn-scry:hover,
body[data-bs-theme="dark"] .home-sections .home-cta-primary.btn-scry-primary:hover,
[data-bs-theme="dark"] .home-sections .home-side-cta .btn-scry-primary:hover,
[data-bs-theme="dark"] .home-sections .feature-scry .btn-scry:hover,
[data-bs-theme="dark"] .home-sections .feature-scry .btn-scry-primary:hover,
[data-bs-theme="dark"] .home-sections .home-cta-primary.btn-scry:hover,
[data-bs-theme="dark"] .home-sections .home-cta-primary.btn-scry-primary:hover {
  background: linear-gradient(135deg, #78eee3 0%, #36c4b7 100%) !important;
  border-color: rgba(121, 238, 227, 0.64) !important;
  color: #071018 !important;
}

body[data-bs-theme="dark"] .home-sections .bd-grid-wrap,
body[data-bs-theme="dark"] .home-sections .hv-grid-wrap,
body[data-bs-theme="dark"] .home-sections .scry-top10-grid,
body[data-bs-theme="dark"] .home-sections .home-feedback-strip,
body[data-bs-theme="dark"] .home-sections .d-flex.overflow-auto,
[data-bs-theme="dark"] .home-sections .bd-grid-wrap,
[data-bs-theme="dark"] .home-sections .hv-grid-wrap,
[data-bs-theme="dark"] .home-sections .scry-top10-grid,
[data-bs-theme="dark"] .home-sections .home-feedback-strip,
[data-bs-theme="dark"] .home-sections .d-flex.overflow-auto {
  scrollbar-width: thin;
  scrollbar-color: rgba(113, 127, 148, 0.58) rgba(17, 24, 39, 0.82);
}

body[data-bs-theme="dark"] .home-sections .bd-grid-wrap::-webkit-scrollbar,
body[data-bs-theme="dark"] .home-sections .hv-grid-wrap::-webkit-scrollbar,
body[data-bs-theme="dark"] .home-sections .scry-top10-grid::-webkit-scrollbar,
body[data-bs-theme="dark"] .home-sections .home-feedback-strip::-webkit-scrollbar,
body[data-bs-theme="dark"] .home-sections .d-flex.overflow-auto::-webkit-scrollbar,
[data-bs-theme="dark"] .home-sections .bd-grid-wrap::-webkit-scrollbar,
[data-bs-theme="dark"] .home-sections .hv-grid-wrap::-webkit-scrollbar,
[data-bs-theme="dark"] .home-sections .scry-top10-grid::-webkit-scrollbar,
[data-bs-theme="dark"] .home-sections .home-feedback-strip::-webkit-scrollbar,
[data-bs-theme="dark"] .home-sections .d-flex.overflow-auto::-webkit-scrollbar {
  height: 8px;
}

body[data-bs-theme="dark"] .home-sections .bd-grid-wrap::-webkit-scrollbar-track,
body[data-bs-theme="dark"] .home-sections .hv-grid-wrap::-webkit-scrollbar-track,
body[data-bs-theme="dark"] .home-sections .scry-top10-grid::-webkit-scrollbar-track,
body[data-bs-theme="dark"] .home-sections .home-feedback-strip::-webkit-scrollbar-track,
body[data-bs-theme="dark"] .home-sections .d-flex.overflow-auto::-webkit-scrollbar-track,
[data-bs-theme="dark"] .home-sections .bd-grid-wrap::-webkit-scrollbar-track,
[data-bs-theme="dark"] .home-sections .hv-grid-wrap::-webkit-scrollbar-track,
[data-bs-theme="dark"] .home-sections .scry-top10-grid::-webkit-scrollbar-track,
[data-bs-theme="dark"] .home-sections .home-feedback-strip::-webkit-scrollbar-track,
[data-bs-theme="dark"] .home-sections .d-flex.overflow-auto::-webkit-scrollbar-track {
  background: rgba(17, 24, 39, 0.78);
  border-radius: 999px;
}

body[data-bs-theme="dark"] .home-sections .bd-grid-wrap::-webkit-scrollbar-thumb,
body[data-bs-theme="dark"] .home-sections .hv-grid-wrap::-webkit-scrollbar-thumb,
body[data-bs-theme="dark"] .home-sections .scry-top10-grid::-webkit-scrollbar-thumb,
body[data-bs-theme="dark"] .home-sections .home-feedback-strip::-webkit-scrollbar-thumb,
body[data-bs-theme="dark"] .home-sections .d-flex.overflow-auto::-webkit-scrollbar-thumb,
[data-bs-theme="dark"] .home-sections .bd-grid-wrap::-webkit-scrollbar-thumb,
[data-bs-theme="dark"] .home-sections .hv-grid-wrap::-webkit-scrollbar-thumb,
[data-bs-theme="dark"] .home-sections .scry-top10-grid::-webkit-scrollbar-thumb,
[data-bs-theme="dark"] .home-sections .home-feedback-strip::-webkit-scrollbar-thumb,
[data-bs-theme="dark"] .home-sections .d-flex.overflow-auto::-webkit-scrollbar-thumb {
  background: rgba(102, 119, 139, 0.72);
  border-radius: 999px;
  border: 1px solid rgba(17, 24, 39, 0.86);
}

body[data-bs-theme="dark"] .home-sections .home-panel > .d-flex.justify-content-between.align-items-center.mb-3,
[data-bs-theme="dark"] .home-sections .home-panel > .d-flex.justify-content-between.align-items-center.mb-3 {
  gap: 1rem;
  align-items: center !important;
}

body[data-bs-theme="dark"] .home-sections .home-panel > .d-flex.justify-content-between.align-items-center.mb-3 h2,
[data-bs-theme="dark"] .home-sections .home-panel > .d-flex.justify-content-between.align-items-center.mb-3 h2 {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  line-height: 1.15;
}

body[data-bs-theme="dark"] .home-sections .home-panel > .d-flex.justify-content-between.align-items-center.mb-3 > a.small,
[data-bs-theme="dark"] .home-sections .home-panel > .d-flex.justify-content-between.align-items-center.mb-3 > a.small {
  color: rgba(198, 210, 224, 0.74) !important;
  font-weight: 600;
}

/* ── Dark mode: gradient-border parity ───────────────────────────────────
   Light mode uses a border-box gradient layer on panels (the teal shimmer
   around each section). Dark mode must replicate that same technique with
   dark values — not swap it for a barely-visible solid border.           */

body[data-bs-theme="dark"] .home-panel,
[data-bs-theme="dark"] .home-panel {
  background:
    radial-gradient(circle at top left, rgba(79, 213, 199, 0.08) 0%, rgba(79, 213, 199, 0) 42%) padding-box,
    linear-gradient(180deg, #1c2a3e 0%, #111827 100%) padding-box,
    linear-gradient(135deg, rgba(79, 213, 199, 0.28) 0%, rgba(14, 24, 42, 0.98) 50%, rgba(79, 213, 199, 0.16) 100%) border-box !important;
  border-color: transparent !important;
  box-shadow: 0 12px 28px rgba(2, 6, 23, 0.22);
}

body[data-bs-theme="dark"] .home-panel-soft,
[data-bs-theme="dark"] .home-panel-soft {
  background:
    radial-gradient(circle at top right, rgba(79, 213, 199, 0.07) 0%, rgba(79, 213, 199, 0) 44%) padding-box,
    linear-gradient(180deg, #1c2a3e 0%, #111827 100%) padding-box,
    linear-gradient(135deg, rgba(79, 213, 199, 0.24) 0%, rgba(14, 24, 42, 0.98) 50%, rgba(79, 213, 199, 0.14) 100%) border-box !important;
  border-color: transparent !important;
}

body[data-bs-theme="dark"] .home-panel.home-panel-opaque,
[data-bs-theme="dark"] .home-panel.home-panel-opaque {
  background:
    radial-gradient(circle at top right, rgba(79, 213, 199, 0.07) 0%, rgba(79, 213, 199, 0) 44%) padding-box,
    linear-gradient(180deg, #1c2a3e 0%, #111827 100%) padding-box,
    linear-gradient(135deg, rgba(79, 213, 199, 0.26) 0%, rgba(14, 24, 42, 0.98) 50%, rgba(79, 213, 199, 0.14) 100%) border-box !important;
  border-color: transparent !important;
}

body[data-bs-theme="dark"] .home-panel.home-panel-soft.home-panel-opaque,
[data-bs-theme="dark"] .home-panel.home-panel-soft.home-panel-opaque {
  background:
    radial-gradient(circle at top right, rgba(79, 213, 199, 0.07) 0%, rgba(79, 213, 199, 0) 44%) padding-box,
    linear-gradient(180deg, #1c2a3e 0%, #111827 100%) padding-box,
    linear-gradient(135deg, rgba(79, 213, 199, 0.26) 0%, rgba(14, 24, 42, 0.98) 50%, rgba(79, 213, 199, 0.14) 100%) border-box !important;
  border-color: transparent !important;
}

body[data-bs-theme="dark"] .scry-live-ad-section,
[data-bs-theme="dark"] .scry-live-ad-section {
  border-color: rgba(148, 163, 184, 0.22);
  background: rgba(148, 163, 184, 0.10);
}

body[data-bs-theme="dark"] .scry-live-ad__frame,
[data-bs-theme="dark"] .scry-live-ad__frame {
  border-color: rgba(148, 163, 184, 0.24);
  background-color: #111827;
}

body[data-bs-theme="dark"] .scry-live-ad__label,
[data-bs-theme="dark"] .scry-live-ad__label {
  color: rgba(198, 210, 224, 0.72);
}

body[data-bs-theme="dark"] .home-sections .home-panel.home-panel-section.home-panel-opaque,
[data-bs-theme="dark"] .home-sections .home-panel.home-panel-section.home-panel-opaque,
body[data-bs-theme="dark"] .home-sections .home-panel.home-panel-soft.home-panel-opaque,
[data-bs-theme="dark"] .home-sections .home-panel.home-panel-soft.home-panel-opaque {
  background:
    radial-gradient(circle at top right, rgba(79, 213, 199, 0.07) 0%, rgba(79, 213, 199, 0) 44%) padding-box,
    linear-gradient(180deg, #1c2a3e 0%, #111827 100%) padding-box,
    linear-gradient(135deg, rgba(79, 213, 199, 0.26) 0%, rgba(14, 24, 42, 0.98) 50%, rgba(79, 213, 199, 0.14) 100%) border-box !important;
  background-image:
    radial-gradient(circle at top right, rgba(79, 213, 199, 0.07) 0%, rgba(79, 213, 199, 0) 44%),
    linear-gradient(180deg, #1c2a3e 0%, #111827 100%),
    linear-gradient(135deg, rgba(79, 213, 199, 0.26) 0%, rgba(14, 24, 42, 0.98) 50%, rgba(79, 213, 199, 0.14) 100%) !important;
  border-color: transparent !important;
}

body[data-bs-theme="dark"] .home-testimonial-card,
[data-bs-theme="dark"] .home-testimonial-card {
  background:
    radial-gradient(circle at top right, rgba(79, 213, 199, 0.07) 0%, rgba(79, 213, 199, 0) 44%) padding-box,
    linear-gradient(180deg, #1c2a3e 0%, #111827 100%) padding-box,
    linear-gradient(135deg, rgba(79, 213, 199, 0.26) 0%, rgba(14, 24, 42, 0.98) 50%, rgba(79, 213, 199, 0.14) 100%) border-box !important;
  border-color: transparent !important;
}

body[data-bs-theme="dark"] .home-new-store-card,
body[data-bs-theme="dark"] .home-mini-store-card,
body[data-bs-theme="dark"] .home-point-card,
[data-bs-theme="dark"] .home-new-store-card,
[data-bs-theme="dark"] .home-mini-store-card,
[data-bs-theme="dark"] .home-point-card {
  border-color: rgba(79, 213, 199, 0.22) !important;
}

body[data-bs-theme="dark"] .home-sections .home-card-surface,
body[data-bs-theme="dark"] .home-sections .scry-top10-card,
[data-bs-theme="dark"] .home-sections .home-card-surface,
[data-bs-theme="dark"] .home-sections .scry-top10-card {
  border-color: rgba(79, 213, 199, 0.22) !important;
}

/* ── Dark mode: logo/avatar frame integration ────────────────────────
   PNG logos with transparent backgrounds would show the dark card through
   transparent pixels. A near-white background on the img element fills
   those gaps so logos look contained, matching light mode appearance.  */

body[data-bs-theme="dark"] .home-sections .home-new-store-logo,
body[data-bs-theme="dark"] .home-sections .home-store-thumb-sm,
[data-bs-theme="dark"] .home-sections .home-new-store-logo,
[data-bs-theme="dark"] .home-sections .home-store-thumb-sm {
  background: rgba(248, 250, 252, 0.94);
}

/* ── Dark mode: structural parity enforcement ─────────────────────────
   Ensure no dark-mode-specific rule can introduce padding/margin/size
   differences on card internals. All box model must mirror light mode. */

body[data-bs-theme="dark"] .home-sections .home-new-store-card,
body[data-bs-theme="dark"] .home-sections .home-mini-store-card,
[data-bs-theme="dark"] .home-sections .home-new-store-card,
[data-bs-theme="dark"] .home-sections .home-mini-store-card {
  padding: unset;
}

body[data-bs-theme="dark"] .home-sections .home-new-store-card,
[data-bs-theme="dark"] .home-sections .home-new-store-card {
  padding: 1rem;
}

body[data-bs-theme="dark"] .home-sections .home-mini-store-card,
[data-bs-theme="dark"] .home-sections .home-mini-store-card {
  padding: 0.75rem;
}

/* Home dark mode parity: preserve the same geometry as light mode and only
   swap visual tokens. This block intentionally overrides earlier dark-mode
   rules that were changing padding, gap, media framing and text flow. */
body[data-bs-theme="dark"] .home-sections .home-new-store-card,
[data-bs-theme="dark"] .home-sections .home-new-store-card {
  padding: 1rem !important;
  gap: 1rem !important;
  align-items: flex-start !important;
  min-height: 0 !important;
  border-radius: 18px !important;
}

body[data-bs-theme="dark"] .home-sections .home-mini-store-card,
[data-bs-theme="dark"] .home-sections .home-mini-store-card {
  padding: 0.75rem !important;
  gap: 0.5rem !important;
  align-items: center !important;
  min-height: 0 !important;
  border-radius: 16px !important;
}

body[data-bs-theme="dark"] .home-sections .home-new-store-card .flex-grow-1,
body[data-bs-theme="dark"] .home-sections .home-mini-store-card .flex-grow-1,
body[data-bs-theme="dark"] .home-sections .scry-top10-card .min-w-0,
[data-bs-theme="dark"] .home-sections .home-new-store-card .flex-grow-1,
[data-bs-theme="dark"] .home-sections .home-mini-store-card .flex-grow-1,
[data-bs-theme="dark"] .home-sections .scry-top10-card .min-w-0 {
  min-width: 0;
}

body[data-bs-theme="dark"] .home-sections .home-card-title,
[data-bs-theme="dark"] .home-sections .home-card-title {
  line-height: 1.25 !important;
}

body[data-bs-theme="dark"] .home-sections .home-card-meta,
body[data-bs-theme="dark"] .home-sections .home-new-store-desc,
[data-bs-theme="dark"] .home-sections .home-card-meta,
[data-bs-theme="dark"] .home-sections .home-new-store-desc {
  line-height: 1.35 !important;
}

body[data-bs-theme="dark"] .home-sections .home-new-store-card .home-card-title,
body[data-bs-theme="dark"] .home-sections .home-mini-store-card .home-card-title,
[data-bs-theme="dark"] .home-sections .home-new-store-card .home-card-title,
[data-bs-theme="dark"] .home-sections .home-mini-store-card .home-card-title {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

body[data-bs-theme="dark"] .home-sections .scry-top10-logo,
body[data-bs-theme="dark"] .home-sections .home-new-store-logo,
body[data-bs-theme="dark"] .home-sections .home-store-thumb-sm,
[data-bs-theme="dark"] .home-sections .scry-top10-logo,
[data-bs-theme="dark"] .home-sections .home-new-store-logo,
[data-bs-theme="dark"] .home-sections .home-store-thumb-sm {
  padding: 0 !important;
  overflow: hidden;
  box-sizing: border-box;
  object-fit: cover;
  object-position: center;
  display: block;
  background-color: rgba(248, 250, 252, 0.94) !important;
}

body[data-bs-theme="dark"] .home-sections .scry-top10-logo,
[data-bs-theme="dark"] .home-sections .scry-top10-logo {
  border-radius: var(--bs-border-radius-lg) !important;
}

body[data-bs-theme="dark"] .home-sections .home-new-store-logo,
body[data-bs-theme="dark"] .home-sections .home-store-thumb-sm,
[data-bs-theme="dark"] .home-sections .home-new-store-logo,
[data-bs-theme="dark"] .home-sections .home-store-thumb-sm {
  border-radius: var(--bs-border-radius) !important;
}

body[data-bs-theme="dark"] .home-sections .scry-top10-cover,
body[data-bs-theme="dark"] .home-sections .home-testimonial-avatar,
[data-bs-theme="dark"] .home-sections .scry-top10-cover,
[data-bs-theme="dark"] .home-sections .home-testimonial-avatar {
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  overflow: hidden;
}

body[data-bs-theme="dark"] .home-sections .home-new-store-logo,
body[data-bs-theme="dark"] .home-sections .scry-top10-logo,
[data-bs-theme="dark"] .home-sections .home-new-store-logo,
[data-bs-theme="dark"] .home-sections .scry-top10-logo {
  width: 52px !important;
  height: 52px !important;
  flex: 0 0 52px !important;
}

body[data-bs-theme="dark"] .home-sections .home-store-thumb-sm,
[data-bs-theme="dark"] .home-sections .home-store-thumb-sm {
  width: 44px !important;
  height: 44px !important;
  flex: 0 0 44px !important;
}

.home-sections .scry-hero .btn-scry-primary {
  background: #3fc1b2 !important;
  border-color: #3fc1b2 !important;
  color: #ffffff !important;
}

.home-sections .scry-hero .btn-scry-primary:hover,
.home-sections .scry-hero .btn-scry-primary:focus {
  background: #ffffff !important;
  border-color: #3fc1b2 !important;
  color: #3fc1b2 !important;
}

/* Contenedor ancho compartido por la portada y la cabecera pública. */
.container-wide {
    width: 100%;
    max-width: 1600px;
    margin-right: auto;
    margin-left: auto;
    padding-right: 1.5rem;
    padding-left: 1.5rem;
}

/* SC2 experimental public home layer. Scoped to the cached home markup. */
.home-sections {
  --home-sc2-bg: #f3faf9;
  --home-sc2-panel: rgba(255, 255, 255, 0.94);
  --home-sc2-panel-strong: #ffffff;
  --home-sc2-panel-soft: #edfdfa;
  --home-sc2-ink: #172332;
  --home-sc2-muted: #536477;
  --home-sc2-line: rgba(27, 159, 151, 0.3);
  --home-sc2-line-strong: rgba(57, 198, 189, 0.58);
  --home-sc2-cyan: #39c6bd;
  --home-sc2-cyan-strong: #0f8d89;
  --home-sc2-blue: #1a6fb3;
  --home-sc2-amber: #b96d16;
  --home-sc2-cyan-rgb: 57, 198, 189;
  --home-sc2-blue-rgb: 26, 111, 179;
  --home-sc2-radius: 8px;
  --home-sc2-radius-sm: 6px;
  --home-sc2-shadow: 0 18px 44px rgba(15, 23, 42, 0.1);
  --home-sc2-shadow-strong: 0 24px 64px rgba(15, 23, 42, 0.14);
  --home-sc2-focus: 0 0 0 0.18rem rgba(var(--home-sc2-cyan-rgb), 0.26), 0 0 18px rgba(var(--home-sc2-cyan-rgb), 0.18);
  position: relative;
  isolation: isolate;
  margin-top: 0.6rem;
  color: var(--home-sc2-ink);
}

body[data-bs-theme="dark"] .home-sections,
[data-bs-theme="dark"] .home-sections {
  --home-sc2-bg: #050b12;
  --home-sc2-panel: rgba(8, 18, 30, 0.94);
  --home-sc2-panel-strong: #0c1724;
  --home-sc2-panel-soft: #0f2234;
  --home-sc2-ink: #eaf8ff;
  --home-sc2-muted: #a5b8ca;
  --home-sc2-line: rgba(79, 213, 199, 0.3);
  --home-sc2-line-strong: rgba(79, 213, 199, 0.66);
  --home-sc2-cyan: #4fd5c7;
  --home-sc2-cyan-strong: #8cf4ed;
  --home-sc2-blue: #5aa2ff;
  --home-sc2-amber: #f59e0b;
  --home-sc2-cyan-rgb: 79, 213, 199;
  --home-sc2-blue-rgb: 90, 162, 255;
  --home-sc2-shadow: 0 18px 52px rgba(0, 0, 0, 0.32);
  --home-sc2-shadow-strong: 0 24px 70px rgba(0, 0, 0, 0.46);
}

.home-sections::before {
  display: none;
  content: none;
}

.hero-bg-home::after {
  display: none;
  content: none;
  background: none;
}

.hero-bg:has(.home-sections)::after {
  display: none;
  content: none;
  background: none;
}

.hero-bg-home {
  --home-pattern-reveal-start: clamp(23rem, 40vh, 27rem);
  --home-pattern-reveal-end: clamp(30rem, 52vh, 36rem);
  background:
    linear-gradient(180deg, #ffffff 0, #ffffff var(--home-pattern-reveal-start), #f8fdfc var(--home-pattern-reveal-end), #e8fdfb 100%) !important;
}

.hero-bg-home::before {
  display: none;
  content: none;
}

body[data-bs-theme="dark"] .hero-bg-home,
[data-bs-theme="dark"] .hero-bg-home {
  background:
    linear-gradient(180deg, #050b12 0, #050b12 var(--home-pattern-reveal-start), #07111d var(--home-pattern-reveal-end), #0d1b2a 100%) !important;
}

@media (max-width: 767.98px) {
  .hero-bg-home {
    --home-pattern-reveal-start: clamp(32rem, 72vh, 39rem);
    --home-pattern-reveal-end: clamp(41rem, 92vh, 50rem);
  }
}

.home-sections .scry-hero {
  position: relative;
  margin-bottom: 1.25rem !important;
  overflow: visible;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body[data-bs-theme="dark"] .home-sections .scry-hero,
[data-bs-theme="dark"] .home-sections .scry-hero {
  background: transparent !important;
}

.home-sections .scry-hero::before,
.home-sections .home-panel::before,
.home-sections .feature-scry::before {
  position: absolute;
  top: 0;
  right: 1rem;
  left: 1rem;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(var(--home-sc2-cyan-rgb), 0.72), transparent);
  content: "";
  opacity: 0.72;
  pointer-events: none;
}

.home-sections .scry-hero::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(var(--home-sc2-cyan-rgb), 0.08), transparent 34%),
    linear-gradient(90deg, rgba(var(--home-sc2-cyan-rgb), 0.08), transparent 46%);
  content: "";
  pointer-events: none;
}

.home-sections .scry-hero::before,
.home-sections .scry-hero::after {
  display: none;
  content: none;
  background: none;
}

.home-sections .scry-hero > .container {
  position: relative;
  z-index: 1;
  padding-top: 2rem !important;
  padding-bottom: 2rem !important;
}

.home-sections .scry-hero .scry-badge,
.home-sections .feature-badge,
.home-sections .badge.feature-badge,
.home-sections .home-chip,
.home-sections .home-badge-soft,
.home-sections .home-pill-positive,
.home-sections .home-point-badge,
.home-sections .home-brand-pill,
.home-sections .scry-top10-rank,
.home-sections .home-accessory-category-pill,
.home-sections .home-folder-count,
.home-sections .home-deck-mana-pill,
.home-sections .home-folder-mana-pill {
  border: 1px solid var(--home-sc2-line) !important;
  border-radius: var(--home-sc2-radius-sm) !important;
  background:
    linear-gradient(180deg, rgba(var(--home-sc2-cyan-rgb), 0.14), rgba(var(--home-sc2-cyan-rgb), 0.04)),
    var(--home-sc2-panel-soft) !important;
  color: var(--home-sc2-cyan-strong) !important;
  box-shadow: inset 0 0 14px rgba(var(--home-sc2-cyan-rgb), 0.08);
}

.home-sections .home-pill-positive {
  background:
    linear-gradient(180deg, rgba(34, 197, 94, 0.95), rgba(21, 128, 61, 0.95)),
    #16a34a !important;
  border-color: rgba(34, 197, 94, 0.42) !important;
  color: #f8fffc !important;
}

.home-sections .home-feedback-tag {
  border-color: var(--home-sc2-line) !important;
  background: rgba(var(--home-sc2-cyan-rgb), 0.08) !important;
  color: var(--home-sc2-cyan-strong) !important;
}

.home-sections .hero-title {
  max-width: 52rem;
  color: var(--home-sc2-ink) !important;
  font-size: 2.9rem;
  font-weight: 900 !important;
  letter-spacing: 0 !important;
  line-height: 1.05 !important;
  text-shadow: 0 0 18px rgba(var(--home-sc2-cyan-rgb), 0.14);
}

body[data-bs-theme="dark"] .home-sections .hero-title,
[data-bs-theme="dark"] .home-sections .hero-title {
  text-shadow: 0 0 22px rgba(var(--home-sc2-cyan-rgb), 0.32);
}

.home-sections .hero-title span,
.home-sections .home-side-cta .fw-semibold,
.home-sections .home-active-store-cta,
.home-sections .home-deck-price,
.home-sections .home-accessory-price,
.home-sections a.small,
.home-sections .small.fw-semibold.text-decoration-none {
  color: var(--home-sc2-cyan-strong) !important;
}

.home-sections .hero-sub,
.home-sections .home-card-meta,
.home-sections .home-new-store-desc,
.home-sections .home-deck-format,
.home-sections .feature-footnote,
.home-sections .text-muted,
.home-sections .small.text-muted {
  color: var(--home-sc2-muted) !important;
}

.home-sections .hero-tagline-wrap {
  max-width: 42rem;
  min-height: 4.85rem;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent !important;
  box-shadow: none;
  overflow: hidden;
  display: flex;
  align-items: flex-start;
}

.home-sections .hero-tagline-text {
  display: block;
  width: 100%;
  opacity: 1;
  transition: opacity 220ms ease;
  will-change: opacity;
}

.home-sections .hero-tagline-text.is-fading {
  opacity: 0;
}

@media (prefers-reduced-motion: reduce) {
  .home-sections .hero-tagline-text {
    transition: none;
  }
}

body[data-bs-theme="dark"] .home-sections .hero-tagline-wrap,
[data-bs-theme="dark"] .home-sections .hero-tagline-wrap {
  background: transparent !important;
}

.home-sections .hero-stats {
  gap: 0.7rem !important;
}

.home-sections .hero-stat {
  min-width: 0;
  width: fit-content;
  flex: 0 0 auto;
  border-color: var(--home-sc2-line) !important;
  border-radius: var(--home-sc2-radius) !important;
  background:
    linear-gradient(180deg, rgba(var(--home-sc2-cyan-rgb), 0.08), transparent),
    var(--home-sc2-panel) !important;
  box-shadow: var(--home-sc2-shadow) !important;
}

.home-sections .hero-stat strong,
.home-sections .home-card-title,
.home-sections .home-panel h2,
.home-sections .home-panel h3,
.home-sections .home-panel h4,
.home-sections .home-panel h5,
.home-sections .feature-logo__label,
.home-sections .fw-semibold {
  color: var(--home-sc2-ink) !important;
}

.home-sections .hero-note {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  padding: 0.45rem 0.7rem;
  border: 1px solid rgba(245, 158, 11, 0.34);
  border-radius: var(--home-sc2-radius-sm);
  background: rgba(245, 158, 11, 0.09);
  color: var(--home-sc2-amber) !important;
}

/* Home hero: Catálogo vivo */
.home-sections .scry-market-hero__title {
  max-width: 48rem;
  margin-bottom: 1rem;
}

.home-sections .scry-market-hero > .container {
  max-width: none;
  padding-top: 2rem !important;
  padding-right: 0 !important;
  padding-left: 0 !important;
}

.home-sections .scry-market-hero__title span {
  display: block;
}

.home-sections .scry-market-hero__identity {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  max-width: 41rem;
  margin: 0 0 0.5rem;
  color: var(--home-sc2-cyan-strong);
  font-size: 1rem;
  line-height: 1.35;
}

.home-sections .scry-market-hero__identity img {
  display: block;
  flex: 0 0 auto;
  width: 1rem;
  height: 1.7rem;
  object-fit: contain;
}

.home-sections .scry-market-hero__lead {
  max-width: 41rem;
  margin: 0 0 1.35rem;
  font-size: 1rem;
  line-height: 1.55;
}

.scry-market-search {
  max-width: 43rem;
}

.scry-market-search__label {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--home-sc2-ink);
  font-size: 0.9rem;
  font-weight: 800;
}

.scry-market-search__row {
  display: flex;
  align-items: stretch;
  gap: 0.65rem;
}

.scry-market-search__field {
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
}

.scry-market-search__field > i {
  position: absolute;
  top: 50%;
  left: 1rem;
  z-index: 2;
  color: var(--home-sc2-cyan-strong);
  transform: translateY(-50%);
  pointer-events: none;
}

.scry-market-search__field .form-control {
  min-height: 52px;
  padding: 0.72rem 1rem 0.72rem 2.85rem;
  border: 1px solid var(--home-sc2-line);
  border-radius: var(--home-sc2-radius-sm);
  background: var(--home-sc2-panel);
  color: var(--home-sc2-ink);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), var(--home-sc2-shadow);
  font-size: 1rem;
}

.scry-market-search__field .form-control:focus {
  border-color: var(--home-sc2-line-strong);
  box-shadow: var(--home-sc2-focus), var(--home-sc2-shadow);
}

.scry-market-search__field .form-control::placeholder {
  color: var(--home-sc2-muted);
  opacity: 0.82;
}

.home-sections .scry-market-search__submit {
  min-height: 52px;
  padding-right: 1.35rem;
  padding-left: 1.35rem;
  white-space: nowrap;
}

.scry-market-search__advanced {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 44px;
  padding: 0.45rem 0.15rem;
  color: var(--home-sc2-cyan-strong);
  font-size: 0.9rem;
  font-weight: 800;
  text-decoration: none;
}

.scry-market-search__support {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.scry-market-search__support p {
  margin: 0;
  color: var(--home-sc2-muted);
  font-size: 0.78rem;
  line-height: 1.35;
}

.scry-market-search__support p.is-error {
  color: var(--scry-danger, #b42318);
  font-weight: 700;
}

.scry-market-search__suggestions {
  top: calc(100% + 0.4rem);
  z-index: 40;
}

.scry-market-search__advanced:hover,
.scry-market-search__advanced:focus-visible {
  color: var(--home-sc2-ink);
  text-decoration: underline;
  text-underline-offset: 0.2rem;
}

.scry-market-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.65rem;
}

.scry-market-trust > span {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  min-height: 36px;
  padding: 0.42rem 0.62rem;
  border: 1px solid var(--home-sc2-line);
  border-radius: var(--home-sc2-radius-sm);
  background: rgba(var(--home-sc2-cyan-rgb), 0.07);
  color: var(--home-sc2-ink);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.2;
}

.scry-market-trust > span > i {
  flex: 0 0 auto;
  color: var(--home-sc2-cyan-strong);
}

.scry-market-trust__copy {
  display: grid;
  min-width: 0;
  gap: 0.08rem;
}

.scry-market-trust__copy strong,
.scry-market-trust__copy small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.scry-market-trust__copy strong {
  color: var(--home-sc2-ink);
  font-size: 0.78rem;
  font-weight: 900;
}

.scry-market-trust__copy small {
  color: var(--home-sc2-muted);
  font-size: 0.7rem;
  font-weight: 700;
}

.scry-market-seller {
  display: flex;
  max-width: 43rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--home-sc2-line);
}

.scry-market-seller > div {
  display: grid;
  gap: 0.16rem;
}

.scry-market-seller strong {
  color: var(--home-sc2-ink);
  font-size: 0.9rem;
}

.scry-market-seller span {
  color: var(--home-sc2-muted);
  font-size: 0.78rem;
  line-height: 1.35;
}

.scry-market-seller__cta {
  display: inline-flex;
  min-height: 44px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1rem;
  border: 1px solid var(--home-sc2-line-strong);
  border-radius: var(--home-sc2-radius-sm);
  background: rgba(var(--home-sc2-cyan-rgb), 0.08);
  color: var(--home-sc2-cyan-strong);
  font-weight: 800;
}

.scry-market-seller__cta:hover,
.scry-market-seller__cta:focus-visible {
  background: rgba(var(--home-sc2-cyan-rgb), 0.15);
  color: var(--home-sc2-ink);
  box-shadow: var(--home-sc2-focus);
}

.home-sections .scry-market-discovery {
  padding: 1rem;
  overflow: visible;
}

.scry-market-discovery__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.9rem;
}

.scry-market-discovery__head h2 {
  margin: 0;
  color: var(--home-sc2-ink);
  font-size: 1.18rem;
  font-weight: 900;
  line-height: 1.2;
}

.scry-market-discovery__head p {
  max-width: 21rem;
  margin: 0.25rem 0 0;
  color: var(--home-sc2-muted);
  font-size: 0.78rem;
  line-height: 1.35;
}

.scry-market-discovery__tools {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 0.4rem;
}

.scry-market-discovery__count {
  flex: 0 0 auto;
  padding: 0.3rem 0.48rem;
  border: 1px solid var(--home-sc2-line);
  border-radius: var(--home-sc2-radius-sm);
  background: rgba(var(--home-sc2-cyan-rgb), 0.08);
  color: var(--home-sc2-cyan-strong);
  font-size: 0.78rem;
  font-weight: 800;
}

.scry-market-discovery__refresh {
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid var(--home-sc2-line);
  border-radius: var(--home-sc2-radius-sm);
  background: transparent;
  color: var(--home-sc2-cyan-strong);
  cursor: pointer;
  transition: border-color 160ms ease, background-color 160ms ease, color 160ms ease;
}

.scry-market-discovery__refresh:hover,
.scry-market-discovery__refresh:focus-visible {
  border-color: var(--home-sc2-line-strong);
  background: rgba(var(--home-sc2-cyan-rgb), 0.1);
  color: var(--home-sc2-ink);
  box-shadow: var(--home-sc2-focus);
  outline: 0;
}

.scry-market-discovery__content {
  transition: opacity 160ms cubic-bezier(0.16, 1, 0.3, 1);
}

.scry-market-discovery__content.is-swapping {
  opacity: 0.42;
}

.scry-market-discovery__timer {
  position: absolute;
  right: 0.75rem;
  bottom: 0;
  left: 0.75rem;
  height: 2px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(var(--home-sc2-cyan-rgb), 0.12);
  pointer-events: none;
}

.scry-market-discovery__timer span {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: var(--home-sc2-cyan-strong);
  transform: scaleX(1);
  transform-origin: left center;
}

.scry-market-discovery.is-timing .scry-market-discovery__timer span {
  animation: scry-market-discovery-unload var(--scry-discovery-duration, 15000ms) linear forwards;
}

.scry-market-discovery.is-paused .scry-market-discovery__timer span {
  animation-play-state: paused;
}

@keyframes scry-market-discovery-unload {
  to {
    transform: scaleX(0);
  }
}

.scry-market-discovery__list {
  display: grid;
  gap: 0.5rem;
}

.scry-market-discovery__item {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) auto;
  min-height: 90px;
  align-items: center;
  gap: 0.72rem;
  padding: 0.48rem 0.62rem 0.48rem 0.48rem;
  border: 1px solid var(--home-sc2-line);
  border-radius: var(--home-sc2-radius-sm);
  background: var(--home-sc2-panel-soft);
  color: var(--home-sc2-ink);
  text-decoration: none;
  transition: border-color 160ms ease, background-color 160ms ease, transform 160ms ease;
}

.scry-market-discovery__item:hover,
.scry-market-discovery__item:focus-visible {
  border-color: var(--home-sc2-line-strong);
  background: rgba(var(--home-sc2-cyan-rgb), 0.1);
  color: var(--home-sc2-ink);
  box-shadow: var(--home-sc2-focus);
  outline: 0;
  transform: translateY(-1px);
}

.scry-market-discovery__media {
  width: 58px;
  aspect-ratio: 5 / 7;
  overflow: hidden;
  border: 1px solid var(--home-sc2-line);
  border-radius: var(--home-sc2-radius-sm);
  background: var(--home-sc2-panel-soft);
  box-shadow: var(--home-sc2-shadow);
}

.scry-market-discovery__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.scry-market-discovery__body {
  display: grid;
  min-width: 0;
  gap: 0.2rem;
}

.scry-market-discovery__name {
  overflow: hidden;
  color: var(--home-sc2-ink);
  font-size: 0.92rem;
  font-weight: 900;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.scry-market-discovery__meta {
  color: var(--home-sc2-muted);
  font-size: 0.72rem;
  font-weight: 700;
}

.scry-market-discovery__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.28rem;
}

.scry-market-discovery__tags > span {
  padding: 0.14rem 0.32rem;
  border: 1px solid var(--home-sc2-line);
  border-radius: var(--home-sc2-radius-sm);
  background: var(--home-sc2-panel);
  color: var(--home-sc2-ink);
  font-size: 0.68rem;
  font-weight: 800;
}

.scry-market-discovery__store {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 0.3rem;
  color: var(--home-sc2-muted);
  font-size: 0.72rem;
  font-weight: 800;
}

.scry-market-discovery__store > span:first-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.scry-market-discovery__store i {
  flex: 0 0 auto;
  color: var(--home-sc2-cyan-strong);
  font-size: 0.7rem;
}

.scry-market-discovery__condition {
  margin-left: 0.1rem;
  color: var(--home-sc2-muted);
}

.scry-market-discovery__price {
  align-self: end;
  padding-bottom: 0.08rem;
  color: var(--home-sc2-ink);
  font-size: 0.86rem;
  font-variant-numeric: tabular-nums;
  font-weight: 800;
  white-space: nowrap;
}

.scry-market-discovery__foot {
  display: grid;
  gap: 0.55rem;
  margin-top: 0.75rem;
}

.scry-market-discovery__foot a {
  color: var(--home-sc2-cyan-strong);
  font-size: 0.78rem;
  font-weight: 900;
  text-decoration: none;
}

.scry-market-discovery__foot a:hover,
.scry-market-discovery__foot a:focus-visible {
  color: var(--home-sc2-ink);
  text-decoration: underline;
  text-underline-offset: 0.18rem;
}

.scry-market-discovery__foot > span {
  color: var(--home-sc2-muted);
  font-size: 0.78rem;
  line-height: 1.35;
}

.scry-market-discovery__foot i {
  color: var(--home-sc2-cyan-strong);
}

@media (max-width: 991.98px) {
  .home-sections .scry-market-hero > .container {
    padding-top: 0.75rem !important;
  }

  .home-sections .scry-market-hero__lead,
  .scry-market-search,
  .scry-market-seller {
    max-width: none;
  }

  .home-sections .scry-market-hero .row > .col-12.d-lg-none,
  .home-sections .scry-market-hero .row > .col-12.d-lg-none > .scry-market-seller,
  .home-sections .scry-market-hero .row > .col-12.d-lg-none .scry-market-seller__cta {
    width: 100%;
    max-width: none;
  }

  .home-sections .scry-market-hero .row > .col-12.d-lg-none {
    flex: 0 0 100%;
  }

  .home-sections .scry-market-hero .row > .col-12.d-lg-none > .scry-market-seller {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: stretch;
    justify-content: stretch;
    justify-items: stretch;
    text-align: center;
  }

  .home-sections .scry-market-hero .row > .col-12.d-lg-none .scry-market-seller > div {
    width: 100%;
    justify-items: center;
    text-align: center;
  }

  .home-sections .scry-market-hero .row > .col-12.d-lg-none .scry-market-seller__cta {
    min-height: 48px;
  }
}

@media (max-width: 767.98px) {
  .home-sections .scry-market-hero > .container {
    padding-top: 2rem !important;
  }

  .home-sections .scry-market-hero__title {
    margin-bottom: 1rem;
    font-size: 2rem;
  }

  .home-sections .scry-market-hero__lead {
    margin-bottom: 1.75rem;
    font-size: 0.94rem;
    line-height: 1.5;
  }

  .home-sections .scry-market-hero__identity {
    align-items: center;
    margin-bottom: 0.75rem;
    font-size: 0.94rem;
  }

  .home-sections .scry-market-hero__identity img {
    width: 0.9rem;
    height: 1.55rem;
  }

  .scry-market-search__row {
    display: grid;
    gap: 0.55rem;
  }

  .home-sections .scry-market-search__submit {
    width: 100%;
    min-height: 48px;
  }

  .scry-market-search__field .form-control {
    min-height: 48px;
    font-size: 16px;
  }

  .scry-market-search__advanced {
    flex: 0 0 auto;
  }

  .scry-market-search__support {
    align-items: flex-start;
  }

  .scry-market-trust {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .scry-market-trust > span {
    min-width: 0;
  }

  .home-sections .scry-market-discovery {
    padding: 0.9rem;
  }

  .scry-market-discovery__refresh {
    width: 44px;
    height: 44px;
  }

}

@media (max-width: 420px) {
  .scry-market-discovery__item {
    grid-template-columns: 52px minmax(0, 1fr);
    min-height: 82px;
  }

  .scry-market-discovery__media {
    width: 52px;
  }

  .scry-market-discovery__price {
    grid-column: 2;
    justify-self: start;
    margin-top: -0.15rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .scry-market-discovery__content {
    transition: none;
  }

  .scry-market-discovery__timer {
    display: none;
  }
}

.home-sections .home-panel,
.home-sections .feature-scry,
.home-sections .home-panel.home-panel-section,
.home-sections .home-panel.home-panel-soft,
.home-sections .home-panel.home-panel-opaque,
.home-sections .home-panel.home-panel-soft.home-panel-opaque {
  position: relative;
  border: 1px solid var(--home-sc2-line) !important;
  border-radius: var(--home-sc2-radius) !important;
  background:
    radial-gradient(circle at top right, rgba(var(--home-sc2-cyan-rgb), 0.07) 0, rgba(var(--home-sc2-cyan-rgb), 0) 38%) padding-box,
    linear-gradient(180deg, var(--home-sc2-panel) 0%, var(--home-sc2-panel-strong) 100%) padding-box !important;
  box-shadow: var(--home-sc2-shadow) !important;
  color: var(--home-sc2-ink) !important;
}

.home-sections .home-panel > .d-flex.justify-content-between.align-items-center.mb-3,
.home-sections .home-panel > .d-flex.justify-content-between.align-items-center.mb-3.gap-2,
.home-sections .home-panel > .d-flex.justify-content-between.align-items-center.mb-3.gap-3 {
  margin: -0.2rem -0.2rem 1rem !important;
  padding: 0.2rem 0.2rem 0.8rem;
  border-bottom: 1px solid var(--home-sc2-line);
}

.home-sections .home-panel h2,
.home-sections .home-panel .h5,
.home-sections .feature-scry h2 {
  letter-spacing: 0 !important;
  line-height: 1.15 !important;
}

.home-sections .home-panel h2 i,
.home-sections .home-panel .h5 i,
.home-sections .feature-scry h2 i {
  color: var(--home-sc2-cyan-strong) !important;
  filter: drop-shadow(0 0 6px rgba(var(--home-sc2-cyan-rgb), 0.22));
}

.home-sections .home-blog-heading { border-color: var(--home-sc2-line); }
.home-sections .home-blog-card > a {
  border-color: var(--home-sc2-line);
  background: var(--home-sc2-panel-soft);
  color: var(--home-sc2-ink);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.07);
}
.home-sections .home-blog-card > a:hover { border-color: var(--home-sc2-line-strong); color: var(--home-sc2-ink); }
.home-sections .home-blog-media { background: var(--home-sc2-panel); }
.home-sections .home-blog-copy time,
.home-sections .home-blog-empty { color: var(--home-sc2-muted); }
.home-sections .home-blog-all,
.home-sections .home-blog-write,
.home-sections .home-blog-cta { color: var(--home-sc2-cyan-strong); }
.home-sections .home-blog-card a:focus-visible,
.home-sections .home-blog-all:focus-visible,
.home-sections .home-blog-write:focus-visible { outline-color: var(--home-sc2-cyan-strong); }
.home-sections .home-blog-rail { scrollbar-color: var(--home-sc2-line-strong) transparent; }
body[data-bs-theme="dark"] .home-sections .home-blog-card > a,
[data-bs-theme="dark"] .home-sections .home-blog-card > a { box-shadow: 0 14px 34px rgba(0, 0, 0, 0.28); }

.home-sections .home-hero-proof,
.home-sections .feature-panel,
.home-sections .home-side-cta {
  border-color: var(--home-sc2-line) !important;
  border-radius: var(--home-sc2-radius) !important;
  background:
    radial-gradient(circle at top left, rgba(var(--home-sc2-cyan-rgb), 0.08) 0, rgba(var(--home-sc2-cyan-rgb), 0) 42%),
    var(--home-sc2-panel-strong) !important;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03), var(--home-sc2-shadow) !important;
}

.home-sections .home-hero-proof-icon,
.home-sections .feature-logo {
  border-color: var(--home-sc2-line) !important;
  border-radius: var(--home-sc2-radius) !important;
  background:
    radial-gradient(circle at 50% 25%, rgba(var(--home-sc2-cyan-rgb), 0.18), transparent 60%),
    var(--home-sc2-panel-soft) !important;
  color: var(--home-sc2-cyan-strong) !important;
  box-shadow: inset 0 0 18px rgba(var(--home-sc2-cyan-rgb), 0.1) !important;
}

.home-sections .home-card-surface,
.home-sections .scry-top10-card,
.home-sections .home-staple-card > div,
.home-sections .home-new-store-card,
.home-sections .home-active-store-card,
.home-sections .home-mini-store-card,
.home-sections .home-feedback-card,
.home-sections .home-deck-card,
.home-sections .home-point-card,
.home-sections .home-testimonial-card,
.home-sections .home-accessory-card,
.home-sections .bd-grid > a .rounded.border,
.home-sections .hv-grid > a .rounded.border,
.home-sections .home-set-card {
  border-color: var(--home-sc2-line) !important;
  border-radius: var(--home-sc2-radius) !important;
  background:
    linear-gradient(180deg, rgba(var(--home-sc2-cyan-rgb), 0.045), transparent 62%),
    var(--home-sc2-panel-strong) !important;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.07) !important;
  color: var(--home-sc2-ink) !important;
}

.home-sections .home-featured-set-card {
  border-color: var(--home-sc2-line) !important;
  background-color: #0e141a !important;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.07) !important;
}

body[data-bs-theme="dark"] .home-sections .home-card-surface,
body[data-bs-theme="dark"] .home-sections .scry-top10-card,
body[data-bs-theme="dark"] .home-sections .home-staple-card > div,
body[data-bs-theme="dark"] .home-sections .home-new-store-card,
body[data-bs-theme="dark"] .home-sections .home-active-store-card,
body[data-bs-theme="dark"] .home-sections .home-mini-store-card,
body[data-bs-theme="dark"] .home-sections .home-feedback-card,
body[data-bs-theme="dark"] .home-sections .home-deck-card,
body[data-bs-theme="dark"] .home-sections .home-point-card,
body[data-bs-theme="dark"] .home-sections .home-testimonial-card,
body[data-bs-theme="dark"] .home-sections .home-accessory-card,
body[data-bs-theme="dark"] .home-sections .bd-grid > a .rounded.border,
body[data-bs-theme="dark"] .home-sections .hv-grid > a .rounded.border,
body[data-bs-theme="dark"] .home-sections .home-set-card,
[data-bs-theme="dark"] .home-sections .home-card-surface,
[data-bs-theme="dark"] .home-sections .scry-top10-card,
[data-bs-theme="dark"] .home-sections .home-staple-card > div,
[data-bs-theme="dark"] .home-sections .home-new-store-card,
[data-bs-theme="dark"] .home-sections .home-active-store-card,
[data-bs-theme="dark"] .home-sections .home-mini-store-card,
[data-bs-theme="dark"] .home-sections .home-feedback-card,
[data-bs-theme="dark"] .home-sections .home-deck-card,
[data-bs-theme="dark"] .home-sections .home-point-card,
[data-bs-theme="dark"] .home-sections .home-testimonial-card,
[data-bs-theme="dark"] .home-sections .home-accessory-card,
[data-bs-theme="dark"] .home-sections .bd-grid > a .rounded.border,
[data-bs-theme="dark"] .home-sections .hv-grid > a .rounded.border,
[data-bs-theme="dark"] .home-sections .home-set-card {
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.28) !important;
}

body[data-bs-theme="dark"] .home-sections .home-featured-set-card,
[data-bs-theme="dark"] .home-sections .home-featured-set-card {
  border-color: var(--home-sc2-line) !important;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.28) !important;
}

body[data-bs-theme="dark"] .home-featured-set-rarities,
[data-bs-theme="dark"] .home-featured-set-rarities {
  border-top-color: rgba(139, 231, 221, .22);
  background: #172132;
}

body[data-bs-theme="dark"] .edition-rarity-filter,
[data-bs-theme="dark"] .edition-rarity-filter {
  color: var(--scry-text-secondary, #b8c4d1);
}

body[data-bs-theme="dark"] .edition-rarity-filter:hover,
body[data-bs-theme="dark"] .edition-rarity-filter:focus-visible,
body[data-bs-theme="dark"] .edition-rarity-filter.is-active,
[data-bs-theme="dark"] .edition-rarity-filter:hover,
[data-bs-theme="dark"] .edition-rarity-filter:focus-visible,
[data-bs-theme="dark"] .edition-rarity-filter.is-active {
  border-color: rgba(79, 213, 199, .58);
  background: rgba(79, 213, 199, .13);
  color: var(--scry-text-primary, #e5edf5);
}

body[data-bs-theme="dark"] .edition-rarity-filter.is-common,
body[data-bs-theme="dark"] .home-featured-set-rarity.is-common,
[data-bs-theme="dark"] .edition-rarity-filter.is-common,
[data-bs-theme="dark"] .home-featured-set-rarity.is-common { color: #e5edf5; }
body[data-bs-theme="dark"] .edition-rarity-filter.is-uncommon,
body[data-bs-theme="dark"] .home-featured-set-rarity.is-uncommon,
[data-bs-theme="dark"] .edition-rarity-filter.is-uncommon,
[data-bs-theme="dark"] .home-featured-set-rarity.is-uncommon { color: #b8c4d1; }
body[data-bs-theme="dark"] .edition-rarity-filter.is-rare,
body[data-bs-theme="dark"] .home-featured-set-rarity.is-rare,
[data-bs-theme="dark"] .edition-rarity-filter.is-rare,
[data-bs-theme="dark"] .home-featured-set-rarity.is-rare { color: #e7b84d; }
body[data-bs-theme="dark"] .edition-rarity-filter.is-mythic,
body[data-bs-theme="dark"] .home-featured-set-rarity.is-mythic,
[data-bs-theme="dark"] .edition-rarity-filter.is-mythic,
[data-bs-theme="dark"] .home-featured-set-rarity.is-mythic { color: #f08a4b; }

.home-sections .home-grid-card-link,
.home-sections .staple-card,
.home-sections .home-link-reset,
.home-sections .home-featured-set-card,
.home-sections .scry-top10-card,
.home-sections .home-new-store-card,
.home-sections .home-active-store-card,
.home-sections .home-mini-store-card,
.home-sections .home-feedback-card,
.home-sections .home-deck-card,
.home-sections .home-folder-card,
.home-sections .home-accessory-category-pill {
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease, background-color 160ms ease, color 160ms ease;
}

.home-sections .home-grid-card-link:hover,
.home-sections .home-grid-card-link:focus-visible,
.home-sections .staple-card:hover,
.home-sections .staple-card:focus-visible,
.home-sections .home-featured-set-card:hover,
.home-sections .home-featured-set-card:focus-visible,
.home-sections .home-link-reset:hover .home-new-store-card,
.home-sections .home-link-reset:focus-visible .home-new-store-card,
.home-sections .home-link-reset:hover .home-active-store-card,
.home-sections .home-link-reset:focus-visible .home-active-store-card,
.home-sections .home-link-reset:hover .home-mini-store-card,
.home-sections .home-link-reset:focus-visible .home-mini-store-card,
.home-sections .home-feedback-card:hover,
.home-sections .home-feedback-card:focus-visible,
.home-sections .home-link-reset:hover .home-deck-card,
.home-sections .home-link-reset:focus-visible .home-deck-card,
.home-sections .home-link-reset:hover .scry-top10-card,
.home-sections .home-link-reset:focus-visible .scry-top10-card {
  transform: translateY(-2px);
  outline: 0;
}

.home-sections .home-grid-card-link:hover .home-grid-card-media,
.home-sections .home-grid-card-link:focus-visible .home-grid-card-media,
.home-sections .staple-card:hover > div,
.home-sections .staple-card:focus-visible > div,
.home-sections .home-featured-set-card:hover,
.home-sections .home-featured-set-card:focus-visible,
.home-sections .home-link-reset:hover .home-new-store-card,
.home-sections .home-link-reset:focus-visible .home-new-store-card,
.home-sections .home-link-reset:hover .home-active-store-card,
.home-sections .home-link-reset:focus-visible .home-active-store-card,
.home-sections .home-link-reset:hover .home-mini-store-card,
.home-sections .home-link-reset:focus-visible .home-mini-store-card,
.home-sections .home-feedback-card:hover,
.home-sections .home-feedback-card:focus-visible,
.home-sections .home-link-reset:hover .home-deck-card,
.home-sections .home-link-reset:focus-visible .home-deck-card,
.home-sections .home-link-reset:hover .scry-top10-card,
.home-sections .home-link-reset:focus-visible .scry-top10-card,
.home-sections .home-accessory-category-pill:hover,
.home-sections .home-accessory-category-pill:focus-visible {
  border-color: var(--home-sc2-line-strong) !important;
  box-shadow: var(--home-sc2-focus), var(--home-sc2-shadow) !important;
}

.home-sections .home-grid-card-media,
.home-sections .home-scroll-card-media,
.home-sections .ratio-3x4,
.home-sections .scry-top10-cover,
.home-sections .home-active-store-cover,
.home-sections .home-deck-cover,
.home-sections .home-accessory-thumb,
.home-sections .home-set-card-shell,
.home-sections .home-feature-image,
.home-sections .home-youtube-banner {
  overflow: hidden;
  border-color: var(--home-sc2-line) !important;
  border-radius: var(--home-sc2-radius-sm) !important;
  background-color: var(--home-sc2-panel-soft) !important;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.home-sections .home-card-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.home-sections .scry-top10-logo,
.home-sections .home-new-store-logo,
.home-sections .home-store-thumb-sm,
.home-sections .home-active-store-logo,
.home-sections .home-feedback-logo,
.home-sections .home-point-logo,
.home-sections .home-testimonial-avatar {
  border-color: var(--home-sc2-line) !important;
  background-color: rgba(255, 255, 255, 0.96) !important;
  box-shadow: 0 0 0 1px rgba(var(--home-sc2-cyan-rgb), 0.08), 0 8px 18px rgba(15, 23, 42, 0.08);
}

.home-sections .home-active-store-cover,
.home-sections .scry-top10-cover,
.home-sections .home-deck-cover {
  border-bottom-color: var(--home-sc2-line) !important;
}

.home-sections .home-folder-card {
  border-color: rgba(var(--home-sc2-cyan-rgb), 0.42) !important;
  border-radius: var(--home-sc2-radius) !important;
  box-shadow: var(--home-sc2-shadow) !important;
}

.home-sections .home-folder-card-overlay {
  background:
    linear-gradient(90deg, rgba(3, 10, 18, 0.9) 0%, rgba(3, 10, 18, 0.68) 56%, rgba(3, 10, 18, 0.46) 100%),
    linear-gradient(180deg, rgba(var(--home-sc2-cyan-rgb), 0.1), transparent);
}

.home-sections .home-folder-title,
.home-sections .home-folder-store,
.home-sections .home-folder-meta {
  color: #f4fbff !important;
}

.home-sections .bd-grid-wrap,
.home-sections .hv-grid-wrap,
.home-sections .scry-top10-grid,
.home-sections .home-feedback-strip,
.home-sections .home-accessory-scroll,
.home-sections .d-flex.overflow-auto {
  scrollbar-color: rgba(var(--home-sc2-cyan-rgb), 0.58) transparent;
  scrollbar-width: thin;
}

.home-sections .bd-grid-wrap::-webkit-scrollbar,
.home-sections .hv-grid-wrap::-webkit-scrollbar,
.home-sections .scry-top10-grid::-webkit-scrollbar,
.home-sections .home-feedback-strip::-webkit-scrollbar,
.home-sections .home-accessory-scroll::-webkit-scrollbar,
.home-sections .d-flex.overflow-auto::-webkit-scrollbar {
  height: 8px;
  width: 8px;
}

.home-sections .bd-grid-wrap::-webkit-scrollbar-track,
.home-sections .hv-grid-wrap::-webkit-scrollbar-track,
.home-sections .scry-top10-grid::-webkit-scrollbar-track,
.home-sections .home-feedback-strip::-webkit-scrollbar-track,
.home-sections .home-accessory-scroll::-webkit-scrollbar-track,
.home-sections .d-flex.overflow-auto::-webkit-scrollbar-track {
  background: rgba(var(--home-sc2-cyan-rgb), 0.08);
  border-radius: 999px;
}

.home-sections .bd-grid-wrap::-webkit-scrollbar-thumb,
.home-sections .hv-grid-wrap::-webkit-scrollbar-thumb,
.home-sections .scry-top10-grid::-webkit-scrollbar-thumb,
.home-sections .home-feedback-strip::-webkit-scrollbar-thumb,
.home-sections .home-accessory-scroll::-webkit-scrollbar-thumb,
.home-sections .d-flex.overflow-auto::-webkit-scrollbar-thumb {
  border: 1px solid rgba(var(--home-sc2-cyan-rgb), 0.14);
  border-radius: 999px;
  background: rgba(var(--home-sc2-cyan-rgb), 0.48);
}

.home-sections .btn-scry,
.home-sections .btn-scry-primary,
.home-sections .home-cta-primary,
.home-sections .scry-hero .btn-scry-primary {
  border: 1px solid rgba(17, 136, 126, 0.45) !important;
  border-radius: var(--home-sc2-radius-sm) !important;
  background:
    linear-gradient(180deg, #aaf5ed, #43d0c1 48%, #20aa9d) !important;
  color: #06131c !important;
  box-shadow: 0 12px 24px rgba(var(--home-sc2-cyan-rgb), 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.65) !important;
  text-shadow: none !important;
}

.home-sections .btn-scry:hover,
.home-sections .btn-scry:focus,
.home-sections .btn-scry-primary:hover,
.home-sections .btn-scry-primary:focus,
.home-sections .home-cta-primary:hover,
.home-sections .home-cta-primary:focus,
.home-sections .scry-hero .btn-scry-primary:hover,
.home-sections .scry-hero .btn-scry-primary:focus {
  border-color: var(--home-sc2-line-strong) !important;
  background:
    linear-gradient(180deg, #c9fff9, #56ddd1 48%, #23b9ad) !important;
  color: #041016 !important;
  box-shadow: var(--home-sc2-focus), 0 14px 28px rgba(var(--home-sc2-cyan-rgb), 0.2) !important;
  transform: translateY(-1px);
}

.home-sections .home-wishlist-demand-btn.btn-outline-primary {
  border-radius: var(--home-sc2-radius-sm);
  border-color: var(--home-sc2-line) !important;
  color: var(--home-sc2-cyan-strong) !important;
}

.home-sections .home-wishlist-demand-btn.btn-outline-primary:hover,
.home-sections .home-wishlist-demand-btn.btn-outline-primary:focus {
  border-color: var(--home-sc2-line-strong) !important;
  background: rgba(var(--home-sc2-cyan-rgb), 0.1) !important;
  box-shadow: var(--home-sc2-focus);
}

body[data-bs-theme="dark"] .home-sections .feature-logo--moxfield,
[data-bs-theme="dark"] .home-sections .feature-logo--moxfield {
  background: linear-gradient(135deg, rgba(119, 57, 192, 0.2) 0%, rgba(18, 12, 31, 0.96) 100%) !important;
}

body[data-bs-theme="dark"] .home-sections .feature-logo--manabox,
[data-bs-theme="dark"] .home-sections .feature-logo--manabox {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.2) 0%, rgba(39, 24, 8, 0.96) 100%) !important;
}

body[data-bs-theme="dark"] .home-sections .feature-logo--delver,
[data-bs-theme="dark"] .home-sections .feature-logo--delver {
  background: linear-gradient(135deg, rgba(var(--home-sc2-blue-rgb), 0.22) 0%, rgba(8, 19, 38, 0.96) 100%) !important;
}

body[data-bs-theme="dark"] .home-sections .home-point-logo,
[data-bs-theme="dark"] .home-sections .home-point-logo {
  background-color: rgba(248, 250, 252, 0.96) !important;
}

/* SC2 public navigation surfaces. These override inline menu styles from logo-cta.php. */
.scry-topnav .nav-link.scry-account-toggle {
  min-height: 30px !important;
  padding: 0.24rem 0.58rem !important;
  border: 1px solid rgba(57, 198, 189, 0.5) !important;
  border-radius: var(--home-sc2-radius-sm, 6px) !important;
  background:
    linear-gradient(180deg, rgba(24, 43, 58, 0.98), rgba(13, 28, 42, 0.98)) !important;
  color: #f4ffff !important;
  box-shadow: inset 0 0 12px rgba(57, 198, 189, 0.14), 0 6px 18px rgba(0, 0, 0, 0.16) !important;
}

.scry-topnav .nav-link.scry-account-toggle:hover,
.scry-topnav .nav-link.scry-account-toggle:focus,
.scry-topnav .nav-link.scry-account-toggle.show {
  border-color: rgba(116, 239, 228, 0.76) !important;
  background:
    linear-gradient(180deg, rgba(31, 60, 75, 0.98), rgba(11, 40, 50, 0.98)) !important;
  color: #ffffff !important;
  box-shadow: 0 0 0 0.14rem rgba(57, 198, 189, 0.16), inset 0 0 14px rgba(79, 213, 199, 0.18) !important;
}

body[data-bs-theme="dark"] .scry-topnav .nav-link.scry-account-toggle,
[data-bs-theme="dark"] .scry-topnav .nav-link.scry-account-toggle {
  background:
    linear-gradient(180deg, rgba(12, 30, 45, 0.98), rgba(4, 16, 28, 0.98)) !important;
  color: #f2fbff !important;
  box-shadow: inset 0 0 14px rgba(79, 213, 199, 0.12) !important;
}

.scry-account-menu {
  min-width: 272px !important;
  padding: 0.28rem !important;
  border: 1px solid rgba(57, 198, 189, 0.34) !important;
  border-radius: var(--home-sc2-radius, 8px) !important;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(241, 252, 250, 0.98)) !important;
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.16) !important;
  color: #172332 !important;
  overflow: hidden !important;
}

body[data-bs-theme="dark"] .scry-account-menu,
[data-bs-theme="dark"] .scry-account-menu {
  background:
    linear-gradient(180deg, rgba(18, 31, 48, 0.98), rgba(9, 18, 31, 0.98)) !important;
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.42) !important;
  color: #eef8ff !important;
}

.scry-account-section {
  padding: 0.3rem 0.44rem 0.12rem !important;
}

.scry-account-section:not(:first-child) {
  margin-top: 0.12rem !important;
  border-top: 1px solid rgba(57, 198, 189, 0.18) !important;
}

.scry-account-section-head {
  color: #5d6c7d !important;
  font-size: 0.66rem !important;
  letter-spacing: 0 !important;
}

body[data-bs-theme="dark"] .scry-account-section-head,
[data-bs-theme="dark"] .scry-account-section-head {
  color: rgba(229, 246, 255, 0.58) !important;
}

.scry-account-item,
.scry-mobile-menu-link {
  min-height: 34px !important;
  padding: 0.34rem 0.5rem !important;
  border: 1px solid transparent !important;
  border-radius: var(--home-sc2-radius-sm, 6px) !important;
  color: #172332 !important;
  font-size: 0.9rem !important;
  font-weight: 700 !important;
  line-height: 1.1 !important;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, box-shadow 160ms ease !important;
}

body[data-bs-theme="dark"] .scry-account-item,
body[data-bs-theme="dark"] .scry-mobile-menu-link,
[data-bs-theme="dark"] .scry-account-item,
[data-bs-theme="dark"] .scry-mobile-menu-link {
  color: #eaf8ff !important;
}

.scry-account-item i {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 22px !important;
  height: 22px !important;
  flex: 0 0 22px !important;
  border: 1px solid rgba(57, 198, 189, 0.24) !important;
  border-radius: var(--home-sc2-radius-sm, 6px) !important;
  background: rgba(57, 198, 189, 0.08) !important;
  color: #0f8d89 !important;
  font-size: 0.82rem !important;
}

body[data-bs-theme="dark"] .scry-account-item i,
[data-bs-theme="dark"] .scry-account-item i {
  background: rgba(79, 213, 199, 0.1) !important;
  color: #8cf4ed !important;
}

.scry-account-item:hover,
.scry-account-item:focus,
.scry-mobile-menu-link:hover,
.scry-mobile-menu-link:focus,
.scry-mobile-menu-link.scry-active {
  border-color: rgba(57, 198, 189, 0.42) !important;
  background: rgba(57, 198, 189, 0.12) !important;
  color: #0c3f3f !important;
  box-shadow: 0 0 0 0.12rem rgba(57, 198, 189, 0.12) !important;
  text-decoration: none !important;
}

body[data-bs-theme="dark"] .scry-account-item:hover,
body[data-bs-theme="dark"] .scry-account-item:focus,
body[data-bs-theme="dark"] .scry-mobile-menu-link:hover,
body[data-bs-theme="dark"] .scry-mobile-menu-link:focus,
body[data-bs-theme="dark"] .scry-mobile-menu-link.scry-active,
[data-bs-theme="dark"] .scry-account-item:hover,
[data-bs-theme="dark"] .scry-account-item:focus,
[data-bs-theme="dark"] .scry-mobile-menu-link:hover,
[data-bs-theme="dark"] .scry-mobile-menu-link:focus,
[data-bs-theme="dark"] .scry-mobile-menu-link.scry-active {
  background: rgba(79, 213, 199, 0.14) !important;
  color: #f8feff !important;
}

.scry-account-item.scry-account-item-warning,
.scry-account-item.scry-account-item-warning i {
  color: #b77912 !important;
}

body[data-bs-theme="dark"] .scry-account-item.scry-account-item-warning,
body[data-bs-theme="dark"] .scry-account-item.scry-account-item-warning i,
[data-bs-theme="dark"] .scry-account-item.scry-account-item-warning,
[data-bs-theme="dark"] .scry-account-item.scry-account-item-warning i {
  color: #ffd14f !important;
}

.scry-account-user-email {
  padding: 0.42rem 0.5rem 0.12rem !important;
  color: #6b7788 !important;
  font-size: 0.66rem !important;
  letter-spacing: 0 !important;
}

body[data-bs-theme="dark"] .scry-account-user-email,
[data-bs-theme="dark"] .scry-account-user-email {
  color: rgba(229, 246, 255, 0.5) !important;
}

.scry-mobile-menu-btn {
  border-color: rgba(57, 198, 189, 0.38) !important;
  background: rgba(255, 255, 255, 0.82) !important;
  color: #172332 !important;
  box-shadow: inset 0 0 12px rgba(57, 198, 189, 0.08) !important;
}

body[data-bs-theme="dark"] .scry-mobile-menu-btn,
[data-bs-theme="dark"] .scry-mobile-menu-btn {
  background: rgba(9, 18, 31, 0.82) !important;
  color: #f2fbff !important;
}

.scry-mobile-offcanvas {
  --bs-offcanvas-width: min(88vw, 360px) !important;
  border-left: 1px solid rgba(57, 198, 189, 0.34) !important;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(241, 252, 250, 0.98)) !important;
  color: #172332 !important;
  box-shadow: -20px 0 48px rgba(15, 23, 42, 0.18) !important;
}

body[data-bs-theme="dark"] .scry-mobile-offcanvas,
[data-bs-theme="dark"] .scry-mobile-offcanvas {
  background:
    linear-gradient(180deg, rgba(15, 28, 43, 0.99), rgba(5, 12, 22, 0.99)) !important;
  color: #eaf8ff !important;
  box-shadow: -22px 0 56px rgba(0, 0, 0, 0.44) !important;
}

.scry-mobile-offcanvas .offcanvas-header {
  min-height: 48px !important;
  padding: 0.54rem 0.72rem 0.42rem !important;
  border-bottom: 1px solid rgba(57, 198, 189, 0.22) !important;
}

.scry-mobile-offcanvas .offcanvas-title {
  color: inherit !important;
  letter-spacing: 0 !important;
}

.scry-mobile-offcanvas .btn-close {
  filter: none !important;
  opacity: 0.7 !important;
}

body[data-bs-theme="dark"] .scry-mobile-offcanvas .btn-close,
[data-bs-theme="dark"] .scry-mobile-offcanvas .btn-close {
  filter: invert(1) grayscale(100%) !important;
}

.scry-mobile-menu-panel {
  min-width: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.scry-mobile-menu-list {
  gap: 0.08rem !important;
}

@media (max-width: 991.98px) {
  .home-sections .scry-hero {
    background: transparent !important;
  }

  body[data-bs-theme="dark"] .home-sections .scry-hero,
  [data-bs-theme="dark"] .home-sections .scry-hero {
    background: transparent !important;
  }

  .home-sections .hero-title {
    font-size: 2.2rem;
  }
}

@media (max-width: 767.98px) {
  .container-wide {
    padding-right: 0.75rem;
    padding-left: 0.75rem;
  }

  .home-sections {
    margin-top: 0.25rem;
  }

  .home-sections .scry-hero > .container {
    padding: 1.25rem 0 !important;
  }

  .home-sections .scry-market-hero > .container {
    padding-top: 2rem !important;
  }

  .home-sections .hero-title {
    font-size: 1.9rem;
    line-height: 1.12 !important;
  }

  .home-sections .hero-tagline-wrap {
    min-height: 4.6rem;
    padding: 0;
  }

  .scry-mobile-offcanvas .offcanvas-body {
    padding: 0.46rem 0.62rem 0.62rem !important;
  }

  .scry-mobile-menu-link,
  .scry-mobile-offcanvas .scry-account-item {
    min-height: 33px !important;
    padding: 0.34rem 0.52rem !important;
    font-size: 0.9rem !important;
    line-height: 1.08 !important;
  }

  .scry-mobile-offcanvas .scry-account-item {
    gap: 0.48rem !important;
  }

  .scry-mobile-offcanvas .scry-account-item i {
    width: 20px !important;
    height: 20px !important;
    flex-basis: 20px !important;
    font-size: 0.72rem !important;
  }

  .scry-mobile-offcanvas .scry-account-section {
    padding: 0.26rem 0.5rem 0.08rem !important;
  }

  .scry-mobile-offcanvas .scry-account-section:not(:first-child) {
    margin-top: 0.12rem !important;
  }

  .scry-mobile-offcanvas .scry-account-section-head {
    font-size: 0.62rem !important;
    line-height: 1 !important;
  }

  .scry-mobile-offcanvas .scry-account-user-email {
    padding: 0.36rem 0.5rem 0.04rem !important;
    font-size: 0.62rem !important;
    line-height: 1.12 !important;
  }

  .scry-mobile-offcanvas .mt-2 {
    margin-top: 0.18rem !important;
  }

  .scry-mobile-offcanvas .pt-2 {
    padding-top: 0.18rem !important;
  }

  .scry-mobile-offcanvas .scry-theme-toggle-mobile {
    min-height: 34px !important;
    padding: 0.38rem 0.58rem !important;
    font-size: 0.9rem !important;
  }

  .home-sections .hero-stat {
    min-width: 0;
  }

  .home-sections .home-panel,
  .home-sections .feature-scry {
    border-radius: var(--home-sc2-radius) !important;
  }

  .home-sections .home-grid-card-media,
  .home-sections .home-scroll-card-media {
    height: 168px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-sections *,
  .home-sections *::before,
  .home-sections *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

/* Unified public dialogs and alerts */
body:not(.scry-admin-sc2) .modal-backdrop.show {
  background: #051015;
  opacity: 0.62;
}

body:not(.scry-admin-sc2) .modal-dialog {
  padding-right: 0.75rem;
  padding-left: 0.75rem;
}

body:not(.scry-admin-sc2) .modal-content {
  overflow: hidden;
  border: 1px solid var(--scry-border-strong) !important;
  border-radius: var(--scry-radius-md) !important;
  background:
    radial-gradient(circle at top left, rgba(var(--scry-accent-primary-soft-rgb), 0.2) 0%, rgba(var(--scry-accent-primary-soft-rgb), 0) 46%),
    linear-gradient(180deg, var(--scry-surface-0) 0%, var(--scry-surface-1) 100%) !important;
  color: var(--scry-text-primary);
  box-shadow: 0 24px 64px rgba(15, 23, 42, 0.22) !important;
}

body:not(.scry-admin-sc2) .modal-header,
body:not(.scry-admin-sc2) .modal-footer {
  border-color: var(--scry-border-soft) !important;
  background:
    linear-gradient(90deg, rgba(var(--scry-accent-primary-soft-rgb), 0.28), rgba(var(--scry-accent-primary-soft-rgb), 0.08) 48%, transparent) !important;
  color: var(--scry-text-primary);
}

body:not(.scry-admin-sc2) .modal-header {
  align-items: center;
  padding: 0.9rem 1.1rem !important;
}

body:not(.scry-admin-sc2) .modal-body {
  padding: 1rem 1.1rem !important;
}

body:not(.scry-admin-sc2) .modal-footer {
  padding: 0.9rem 1.1rem !important;
}

body:not(.scry-admin-sc2) .modal-title {
  color: var(--scry-text-primary);
  font-size: 1.05rem !important;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0;
}

body:not(.scry-admin-sc2) .modal .btn-close {
  width: 2rem;
  height: 2rem;
  border-radius: 0.55rem;
  opacity: 0.72;
  transition: opacity 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
}

body:not(.scry-admin-sc2) .modal .btn-close:hover,
body:not(.scry-admin-sc2) .modal .btn-close:focus {
  background-color: rgba(var(--scry-accent-primary-soft-rgb), 0.18);
  opacity: 1;
  box-shadow: 0 0 0 0.16rem rgba(var(--scry-accent-primary-soft-rgb), 0.2);
}

body:not(.scry-admin-sc2) .modal .form-label {
  color: var(--scry-text-primary);
  font-weight: 600;
}

body:not(.scry-admin-sc2) .modal .form-control,
body:not(.scry-admin-sc2) .modal .form-select,
body:not(.scry-admin-sc2) .swal2-popup .swal2-input,
body:not(.scry-admin-sc2) .swal2-popup .swal2-textarea {
  min-height: 42px;
  border: 1px solid var(--scry-border-default) !important;
  border-radius: 0.58rem !important;
  background: var(--scry-surface-0) !important;
  color: var(--scry-text-primary) !important;
  box-shadow: none !important;
}

body:not(.scry-admin-sc2) .modal .form-control:focus,
body:not(.scry-admin-sc2) .modal .form-select:focus,
body:not(.scry-admin-sc2) .swal2-popup .swal2-input:focus,
body:not(.scry-admin-sc2) .swal2-popup .swal2-textarea:focus {
  border-color: var(--scry-border-strong) !important;
  box-shadow: 0 0 0 0.18rem rgba(var(--scry-accent-primary-soft-rgb), 0.26) !important;
}

body:not(.scry-admin-sc2) .modal .nav-tabs {
  gap: 0.25rem;
  border-bottom-color: var(--scry-border-soft);
}

body:not(.scry-admin-sc2) .modal .nav-tabs .nav-link {
  border-radius: 0.58rem 0.58rem 0 0;
  border-color: transparent;
  color: var(--scry-text-secondary);
  font-weight: 600;
}

body:not(.scry-admin-sc2) .modal .nav-tabs .nav-link:hover,
body:not(.scry-admin-sc2) .modal .nav-tabs .nav-link:focus,
body:not(.scry-admin-sc2) .modal .nav-tabs .nav-link.active {
  border-color: var(--scry-border-soft) var(--scry-border-soft) var(--scry-surface-0);
  background: rgba(var(--scry-accent-primary-soft-rgb), 0.18);
  color: var(--scry-text-primary);
}

body:not(.scry-admin-sc2) .modal .btn-primary,
body:not(.scry-admin-sc2) .swal2-popup .swal2-confirm {
  border-color: var(--scry-cta-primary-border) !important;
  background: var(--scry-cta-primary-bg) !important;
  color: var(--scry-cta-primary-text) !important;
  font-weight: 700 !important;
  box-shadow: 0 12px 26px rgba(15, 155, 150, 0.2) !important;
}

body:not(.scry-admin-sc2) .modal .btn-primary:hover,
body:not(.scry-admin-sc2) .modal .btn-primary:focus,
body:not(.scry-admin-sc2) .swal2-popup .swal2-confirm:hover,
body:not(.scry-admin-sc2) .swal2-popup .swal2-confirm:focus {
  filter: brightness(1.04);
  box-shadow: 0 0 0 0.18rem rgba(var(--scry-accent-primary-soft-rgb), 0.24), 0 14px 30px rgba(15, 155, 150, 0.22) !important;
}

body:not(.scry-admin-sc2) #modalLog #btn-google-login {
  border-color: var(--scry-border-default) !important;
  background:
    linear-gradient(180deg, rgba(var(--scry-accent-primary-soft-rgb), 0.08), transparent),
    var(--scry-surface-0) !important;
  color: var(--scry-text-primary) !important;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.05) !important;
}

body:not(.scry-admin-sc2) #modalLog .login-captcha-box {
  border-color: var(--scry-border-default) !important;
  background: var(--scry-surface-2) !important;
}

body:not(.scry-admin-sc2) .alert {
  border: 1px solid var(--scry-border-soft);
  border-left-width: 4px;
  border-radius: var(--scry-radius-sm);
  background:
    linear-gradient(90deg, rgba(var(--scry-accent-primary-soft-rgb), 0.18), rgba(var(--scry-accent-primary-soft-rgb), 0.04) 56%, transparent),
    var(--scry-surface-0);
  color: var(--scry-text-primary);
  box-shadow: var(--scry-shadow-sm);
}

body:not(.scry-admin-sc2) .alert-info {
  border-left-color: var(--scry-info-text);
  background: linear-gradient(90deg, rgba(29, 78, 216, 0.1), transparent 72%), var(--scry-info-bg);
  color: var(--scry-text-primary);
}

body:not(.scry-admin-sc2) .alert-success {
  border-left-color: var(--scry-success-text);
  background: linear-gradient(90deg, rgba(15, 118, 110, 0.1), transparent 72%), var(--scry-success-bg);
  color: var(--scry-text-primary);
}

body:not(.scry-admin-sc2) .alert-warning {
  border-left-color: var(--scry-warning-text);
  background: linear-gradient(90deg, rgba(154, 103, 0, 0.1), transparent 72%), var(--scry-warning-bg);
  color: var(--scry-text-primary);
}

body:not(.scry-admin-sc2) .alert-danger {
  border-left-color: var(--scry-danger-text);
  background: linear-gradient(90deg, rgba(180, 35, 24, 0.1), transparent 72%), var(--scry-danger-bg);
  color: var(--scry-text-primary);
}

body:not(.scry-admin-sc2) .toast {
  border: 1px solid var(--scry-border-soft) !important;
  border-radius: var(--scry-radius-sm) !important;
  background: var(--scry-surface-0) !important;
  color: var(--scry-text-primary) !important;
  box-shadow: var(--scry-shadow-lg) !important;
}

body:not(.scry-admin-sc2) .swal2-popup {
  border: 1px solid var(--scry-border-strong) !important;
  border-radius: var(--scry-radius-md) !important;
  background:
    radial-gradient(circle at top left, rgba(var(--scry-accent-primary-soft-rgb), 0.2) 0%, rgba(var(--scry-accent-primary-soft-rgb), 0) 48%),
    linear-gradient(180deg, var(--scry-surface-0) 0%, var(--scry-surface-1) 100%) !important;
  color: var(--scry-text-primary) !important;
  box-shadow: 0 24px 64px rgba(15, 23, 42, 0.22) !important;
}

body:not(.scry-admin-sc2) .swal2-popup .swal2-title {
  color: var(--scry-text-primary) !important;
  font-size: 1.28rem !important;
  font-weight: 700 !important;
  letter-spacing: 0;
}

body:not(.scry-admin-sc2) .swal2-popup .swal2-html-container {
  color: var(--scry-text-secondary) !important;
}

body:not(.scry-admin-sc2) .swal2-popup .swal2-actions .swal2-styled {
  border-radius: 0.58rem !important;
  font-weight: 700 !important;
}

body:not(.scry-admin-sc2) .swal2-popup .swal2-cancel,
body:not(.scry-admin-sc2) .swal2-popup .swal2-deny {
  border: 1px solid var(--scry-border-default) !important;
  background: var(--scry-surface-0) !important;
  color: var(--scry-text-primary) !important;
}

body[data-bs-theme="dark"]:not(.scry-admin-sc2) .modal-backdrop.show,
[data-bs-theme="dark"] body:not(.scry-admin-sc2) .modal-backdrop.show {
  opacity: 0.74;
}

body[data-bs-theme="dark"]:not(.scry-admin-sc2) .modal .btn-close,
[data-bs-theme="dark"] body:not(.scry-admin-sc2) .modal .btn-close {
  filter: invert(1) grayscale(100%) brightness(180%);
}

@media (max-width: 575.98px) {
  body:not(.scry-admin-sc2) .modal-dialog {
    max-width: calc(100% - 0.75rem);
    margin: 0.5rem auto;
    padding-right: 0;
    padding-left: 0;
  }

  body:not(.scry-admin-sc2) .modal-header,
  body:not(.scry-admin-sc2) .modal-body,
  body:not(.scry-admin-sc2) .modal-footer {
    padding-right: 0.85rem !important;
    padding-left: 0.85rem !important;
  }

  body:not(.scry-admin-sc2) .modal-title {
    font-size: 1rem !important;
  }
}

/* Public storefront surface pass */
body:not(.scry-admin-sc2) {
  --scry-public-bg:
    radial-gradient(circle at 8% 0%, rgba(var(--scry-accent-primary-soft-rgb), 0.34) 0%, rgba(var(--scry-accent-primary-soft-rgb), 0) 34%),
    linear-gradient(180deg, var(--scry-surface-2) 0%, var(--scry-surface-1) 46%, var(--scry-surface-0) 100%);
  --scry-public-panel:
    radial-gradient(circle at top left, rgba(var(--scry-accent-primary-soft-rgb), 0.2) 0%, rgba(var(--scry-accent-primary-soft-rgb), 0) 46%),
    linear-gradient(180deg, var(--scry-surface-0) 0%, var(--scry-surface-1) 100%);
  --scry-public-panel-strong:
    radial-gradient(circle at top right, rgba(var(--scry-accent-primary-soft-rgb), 0.26) 0%, rgba(var(--scry-accent-primary-soft-rgb), 0) 44%),
    linear-gradient(180deg, var(--scry-surface-2) 0%, var(--scry-surface-0) 100%);
}

body[data-bs-theme="dark"]:not(.scry-admin-sc2),
[data-bs-theme="dark"] body:not(.scry-admin-sc2) {
  --scry-public-bg:
    radial-gradient(circle at 10% 0%, rgba(var(--scry-accent-primary-soft-rgb), 0.14) 0%, rgba(var(--scry-accent-primary-soft-rgb), 0) 34%),
    linear-gradient(180deg, #0d1825 0%, #101827 46%, #111827 100%);
  --scry-public-panel:
    radial-gradient(circle at top left, rgba(var(--scry-accent-primary-soft-rgb), 0.12) 0%, rgba(var(--scry-accent-primary-soft-rgb), 0) 46%),
    linear-gradient(180deg, var(--scry-surface-1) 0%, var(--scry-surface-0) 100%);
  --scry-public-panel-strong:
    radial-gradient(circle at top right, rgba(var(--scry-accent-primary-soft-rgb), 0.16) 0%, rgba(var(--scry-accent-primary-soft-rgb), 0) 44%),
    linear-gradient(180deg, var(--scry-surface-2) 0%, var(--scry-surface-0) 100%);
}

body:not(.scry-admin-sc2) .hero-bg:not(.hero-bg-home) {
  min-height: calc(100vh - 260px);
  background: var(--scry-public-bg) !important;
  color: var(--scry-text-primary);
}

body:not(.scry-admin-sc2) .hero-bg:not(.hero-bg-home)::after {
  display: none !important;
}

body:not(.scry-admin-sc2) .hero-bg:not(.hero-bg-home)::before {
  background-image: radial-gradient(circle, rgba(var(--scry-accent-primary-soft-rgb), 0.36) 1px, transparent 1.7px) !important;
  background-size: 18px 18px !important;
  opacity: 0.42;
}

body[data-bs-theme="dark"]:not(.scry-admin-sc2) .hero-bg:not(.hero-bg-home)::before,
[data-bs-theme="dark"] body:not(.scry-admin-sc2) .hero-bg:not(.hero-bg-home)::before {
  opacity: 0.2;
}

body:not(.scry-admin-sc2) .hero-bg:not(.hero-bg-home) h1,
body:not(.scry-admin-sc2) .hero-bg:not(.hero-bg-home) .h1,
body:not(.scry-admin-sc2) .scry-page-title,
body:not(.scry-admin-sc2) .scry-store-title,
body:not(.scry-admin-sc2) .store-product-title {
  color: var(--scry-text-primary) !important;
  font-weight: 800 !important;
  letter-spacing: 0 !important;
}

body:not(.scry-admin-sc2) .hero-bg:not(.hero-bg-home) h1,
body:not(.scry-admin-sc2) .hero-bg:not(.hero-bg-home) .h1,
body:not(.scry-admin-sc2) .scry-page-title {
  font-size: 2rem !important;
  line-height: 1.12 !important;
}

body:not(.scry-admin-sc2) .hero-bg:not(.hero-bg-home) h2,
body:not(.scry-admin-sc2) .hero-bg:not(.hero-bg-home) h3,
body:not(.scry-admin-sc2) .hero-bg:not(.hero-bg-home) h4,
body:not(.scry-admin-sc2) .hero-bg:not(.hero-bg-home) h5,
body:not(.scry-admin-sc2) .hero-bg:not(.hero-bg-home) h6,
body:not(.scry-admin-sc2) .hero-bg:not(.hero-bg-home) .h2,
body:not(.scry-admin-sc2) .hero-bg:not(.hero-bg-home) .h3,
body:not(.scry-admin-sc2) .hero-bg:not(.hero-bg-home) .h4,
body:not(.scry-admin-sc2) .hero-bg:not(.hero-bg-home) .h5,
body:not(.scry-admin-sc2) .hero-bg:not(.hero-bg-home) .h6 {
  color: var(--scry-text-primary);
  letter-spacing: 0;
}

body:not(.scry-admin-sc2) .hero-bg:not(.hero-bg-home) .text-muted,
body:not(.scry-admin-sc2) .scry-page-subtitle,
body:not(.scry-admin-sc2) .store-product-meta,
body:not(.scry-admin-sc2) .store-product-description,
body:not(.scry-admin-sc2) .store-product-variant-detail,
body:not(.scry-admin-sc2) .store-product-more-meta,
body:not(.scry-admin-sc2) .store-accessory-card__meta,
body:not(.scry-admin-sc2) .store-accessory-card__text,
body:not(.scry-admin-sc2) .store-accessory-card__stock,
body:not(.scry-admin-sc2) .accessory-card-meta,
body:not(.scry-admin-sc2) .accessory-card-text,
body:not(.scry-admin-sc2) .accessory-card-stock,
body:not(.scry-admin-sc2) .scry-grading-copy p,
body:not(.scry-admin-sc2) .scry-grading-intro p,
body:not(.scry-admin-sc2) .scry-grading-note p {
  color: var(--scry-text-secondary) !important;
}

body:not(.scry-admin-sc2) .hero-bg:not(.hero-bg-home) .card,
body:not(.scry-admin-sc2) .hero-bg:not(.hero-bg-home) .list-group-item,
body:not(.scry-admin-sc2) .scry-store-main,
body:not(.scry-admin-sc2) .scry-store-summary-card,
body:not(.scry-admin-sc2) .scry-reputation-card,
body:not(.scry-admin-sc2) .scry-store-floating-inner,
body:not(.scry-admin-sc2) .store-filters-toolbar,
body:not(.scry-admin-sc2) .store-filter-mobile-btn,
body:not(.scry-admin-sc2) .store-accessory-filters,
body:not(.scry-admin-sc2) .store-accessory-card,
body:not(.scry-admin-sc2) .accessory-card,
body:not(.scry-admin-sc2) .store-product-detail,
body:not(.scry-admin-sc2) .store-product-variant-panel,
body:not(.scry-admin-sc2) .store-product-variant-option,
body:not(.scry-admin-sc2) .store-product-more,
body:not(.scry-admin-sc2) .store-product-more-card,
body:not(.scry-admin-sc2) .store-listing-card,
body:not(.scry-admin-sc2) .scry-single-purchase,
body:not(.scry-admin-sc2) .scry-single-content-card,
body:not(.scry-admin-sc2) .scry-single-meta-pill,
body:not(.scry-admin-sc2) .scry-grading-intro,
body:not(.scry-admin-sc2) .scry-grading-section,
body:not(.scry-admin-sc2) .scry-grading-scale-item,
body:not(.scry-admin-sc2) .scry-grading-note {
  border-color: var(--scry-border-soft) !important;
  background: var(--scry-public-panel) !important;
  color: var(--scry-text-primary) !important;
  box-shadow: var(--scry-shadow-sm) !important;
}

body:not(.scry-admin-sc2) .scry-store-main,
body:not(.scry-admin-sc2) .store-product-detail,
body:not(.scry-admin-sc2) .scry-single-content-card,
body:not(.scry-admin-sc2) .scry-grading-section {
  border-radius: var(--scry-radius-lg) !important;
}

body:not(.scry-admin-sc2) .store-filters-toolbar,
body:not(.scry-admin-sc2) .store-accessory-filters,
body:not(.scry-admin-sc2) .store-product-more,
body:not(.scry-admin-sc2) .scry-grading-intro,
body:not(.scry-admin-sc2) .scry-grading-note,
body:not(.scry-admin-sc2) .hero-bg:not(.hero-bg-home) .card {
  border-radius: var(--scry-radius-md) !important;
}

body:not(.scry-admin-sc2) .scry-store-summary-card,
body:not(.scry-admin-sc2) .scry-reputation-card,
body:not(.scry-admin-sc2) .store-product-variant-panel,
body:not(.scry-admin-sc2) .store-product-variant-option,
body:not(.scry-admin-sc2) .store-product-more-card,
body:not(.scry-admin-sc2) .store-accessory-card,
body:not(.scry-admin-sc2) .accessory-card,
body:not(.scry-admin-sc2) .store-listing-card,
body:not(.scry-admin-sc2) .scry-single-purchase,
body:not(.scry-admin-sc2) .scry-single-meta-pill,
body:not(.scry-admin-sc2) .scry-grading-scale-item {
  border-radius: var(--scry-radius-sm) !important;
}

body:not(.scry-admin-sc2) .hero-bg:not(.hero-bg-home) .card-body {
  padding: 1.15rem !important;
}

body:not(.scry-admin-sc2) .hero-bg:not(.hero-bg-home) .border-0.shadow-sm {
  border: 1px solid var(--scry-border-soft) !important;
}

body:not(.scry-admin-sc2) .hero-bg:not(.hero-bg-home) .bg-white,
body:not(.scry-admin-sc2) .hero-bg:not(.hero-bg-home) .bg-light,
body:not(.scry-admin-sc2) .store-product-media,
body:not(.scry-admin-sc2) .store-product-main-media,
body:not(.scry-admin-sc2) .store-product-variant-image,
body:not(.scry-admin-sc2) .store-product-more-media,
body:not(.scry-admin-sc2) .store-accessory-card__thumb,
body:not(.scry-admin-sc2) .accessory-card-thumb,
body:not(.scry-admin-sc2) .store-listing-thumb,
body:not(.scry-admin-sc2) .scry-grading-image {
  background: var(--scry-public-panel-strong) !important;
  color: var(--scry-text-secondary) !important;
}

body:not(.scry-admin-sc2) .store-listing-card:hover,
body:not(.scry-admin-sc2) .store-listing-card:focus-within,
body:not(.scry-admin-sc2) .store-accessory-card:hover,
body:not(.scry-admin-sc2) .store-accessory-card:focus,
body:not(.scry-admin-sc2) .accessory-card:hover,
body:not(.scry-admin-sc2) .accessory-card:focus,
body:not(.scry-admin-sc2) .store-product-more-card:hover,
body:not(.scry-admin-sc2) .store-product-more-card:focus,
body:not(.scry-admin-sc2) .scry-grading-scale-item:hover,
body:not(.scry-admin-sc2) .scry-grading-scale-item:focus {
  border-color: var(--scry-border-strong) !important;
  box-shadow: var(--scry-shadow-md) !important;
  transform: translateY(-1px);
  text-decoration: none !important;
}

body:not(.scry-admin-sc2) .store-product-main-media img,
body:not(.scry-admin-sc2) .store-product-thumb img,
body:not(.scry-admin-sc2) .store-product-variant-image img,
body:not(.scry-admin-sc2) .store-product-more-media img,
body:not(.scry-admin-sc2) .store-accessory-card__thumb img,
body:not(.scry-admin-sc2) .accessory-card-thumb img,
body:not(.scry-admin-sc2) .tienda-logo,
body:not(.scry-admin-sc2) .scry-store-cover,
body:not(.scry-admin-sc2) .scry-store-atmosphere,
body:not(.scry-admin-sc2) .scry-lazy-bg {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  object-fit: cover;
  object-position: center;
}

body:not(.scry-admin-sc2) .store-listing-thumb img,
body:not(.scry-admin-sc2) .card-img-top,
body:not(.scry-admin-sc2) .home-card-img,
body:not(.scry-admin-sc2) .scry-grading-image img {
  display: block;
}

body:not(.scry-admin-sc2) .store-product-title {
  font-size: 2.45rem !important;
  line-height: 1.02 !important;
}

body:not(.scry-admin-sc2) .store-product-price,
body:not(.scry-admin-sc2) .scry-single-price,
body:not(.scry-admin-sc2) .store-accessory-card__price,
body:not(.scry-admin-sc2) .accessory-card-price,
body:not(.scry-admin-sc2) .store-product-more-price,
body:not(.scry-admin-sc2) .store-listing-price,
body:not(.scry-admin-sc2) .scry-store-summary-value,
body:not(.scry-admin-sc2) .scry-reputation-score {
  color: var(--scry-text-primary) !important;
  letter-spacing: 0 !important;
}

body:not(.scry-admin-sc2) .store-product-store,
body:not(.scry-admin-sc2) .store-product-panel-label,
body:not(.scry-admin-sc2) .store-accessory-filters label,
body:not(.scry-admin-sc2) .store-filters-toolbar .filter-label,
body:not(.scry-admin-sc2) .scry-store-summary-label,
body:not(.scry-admin-sc2) .scry-grading-code {
  color: var(--scry-accent-primary-strong) !important;
  letter-spacing: 0 !important;
}

body:not(.scry-admin-sc2) .scry-store-verification {
  color: var(--scry-text-secondary);
}

body:not(.scry-admin-sc2) .scry-store-stat-card {
  border-color: var(--scry-border-soft);
  background: var(--scry-public-panel);
  color: var(--scry-text-primary);
}

body:not(.scry-admin-sc2) .scry-store-stat-label {
  color: var(--scry-accent-primary-strong);
}

body:not(.scry-admin-sc2) .scry-store-secondary {
  border-color: var(--scry-border-soft);
}

body:not(.scry-admin-sc2) .store-product-pill,
body:not(.scry-admin-sc2) .scry-pill,
body:not(.scry-admin-sc2) .store-filters-toolbar .filter-chip,
body:not(.scry-admin-sc2) .badge.bg-light,
body:not(.scry-admin-sc2) .badge.text-dark,
body:not(.scry-admin-sc2) .badge.bg-secondary {
  border: 1px solid var(--scry-pill-soft-border) !important;
  background: var(--scry-pill-soft-bg) !important;
  color: var(--scry-pill-soft-text) !important;
  box-shadow: none !important;
}

body:not(.scry-admin-sc2) .badge.bg-success,
body:not(.scry-admin-sc2) .scry-pill-verified {
  border-color: rgba(15, 118, 110, 0.26) !important;
  background: var(--scry-success-bg) !important;
  color: var(--scry-success-text) !important;
}

body:not(.scry-admin-sc2) .scry-pill-unverified,
body:not(.scry-admin-sc2) .badge.bg-warning {
  border-color: rgba(154, 103, 0, 0.26) !important;
  background: var(--scry-warning-bg) !important;
  color: var(--scry-warning-text) !important;
}

body:not(.scry-admin-sc2) .form-control,
body:not(.scry-admin-sc2) .form-select,
body:not(.scry-admin-sc2) .input-group-text,
body:not(.scry-admin-sc2) .store-filters-toolbar .toolbar-input,
body:not(.scry-admin-sc2) .store-filters-toolbar .toolbar-select-control {
  border: 1px solid var(--scry-border-soft) !important;
  border-radius: 0.58rem !important;
  background-color: var(--scry-surface-0) !important;
  color: var(--scry-text-primary) !important;
  box-shadow: none !important;
}

body:not(.scry-admin-sc2) .form-control:focus,
body:not(.scry-admin-sc2) .form-select:focus,
body:not(.scry-admin-sc2) .store-filters-toolbar .toolbar-input:focus,
body:not(.scry-admin-sc2) .store-filters-toolbar .toolbar-select-control:focus {
  border-color: var(--scry-border-strong) !important;
  box-shadow: 0 0 0 0.18rem rgba(var(--scry-accent-primary-soft-rgb), 0.28) !important;
}

body:not(.scry-admin-sc2) .form-select,
body:not(.scry-admin-sc2) select.toolbar-select-control {
  padding-right: 2.25rem !important;
  background-position: right 0.75rem center !important;
}

body:not(.scry-admin-sc2) .btn-primary,
body:not(.scry-admin-sc2) .btn-scry,
body:not(.scry-admin-sc2) .btn-add-cart:not(.disabled):not([disabled]):not([aria-disabled="true"]),
body:not(.scry-admin-sc2) .scry-buybar__add:not(.disabled):not([disabled]):not([aria-disabled="true"]),
body:not(.scry-admin-sc2) .store-accessory-card__cta,
body:not(.scry-admin-sc2) .accessory-card-cta,
body:not(.scry-admin-sc2) #btnAgregarProductoCarrito:not([disabled]),
body:not(.scry-admin-sc2) .footer-scry .btn-dark {
  border-color: var(--scry-cta-primary-border) !important;
  background: var(--scry-cta-primary-bg) !important;
  color: #071018 !important;
  font-weight: 800 !important;
  text-shadow: none !important;
  box-shadow: 0 12px 24px rgba(15, 155, 150, 0.18) !important;
}

body:not(.scry-admin-sc2) .btn-primary:hover,
body:not(.scry-admin-sc2) .btn-primary:focus,
body:not(.scry-admin-sc2) .btn-scry:hover,
body:not(.scry-admin-sc2) .btn-scry:focus,
body:not(.scry-admin-sc2) .btn-add-cart:not(.disabled):not([disabled]):not([aria-disabled="true"]):hover,
body:not(.scry-admin-sc2) .btn-add-cart:not(.disabled):not([disabled]):not([aria-disabled="true"]):focus,
body:not(.scry-admin-sc2) .scry-buybar__add:not(.disabled):not([disabled]):not([aria-disabled="true"]):hover,
body:not(.scry-admin-sc2) .scry-buybar__add:not(.disabled):not([disabled]):not([aria-disabled="true"]):focus,
body:not(.scry-admin-sc2) #btnAgregarProductoCarrito:not([disabled]):hover,
body:not(.scry-admin-sc2) #btnAgregarProductoCarrito:not([disabled]):focus,
body:not(.scry-admin-sc2) .footer-scry .btn-dark:hover,
body:not(.scry-admin-sc2) .footer-scry .btn-dark:focus {
  filter: brightness(1.04);
  box-shadow: 0 0 0 0.18rem rgba(var(--scry-accent-primary-soft-rgb), 0.24), 0 14px 30px rgba(15, 155, 150, 0.22) !important;
}

[data-bs-theme="dark"] .scry-topnav-action-btn {
  color: var(--scry-cta-primary-text) !important;
}

@media (min-width: 992px) {
  body .scry-chat-operational-header--method-selection .scry-delivery-note--warning {
    background: var(--scry-surface-1) !important;
  }
}

body:not(.scry-admin-sc2) .btn-outline-secondary,
body:not(.scry-admin-sc2) .btn-outline-dark,
body:not(.scry-admin-sc2) .btn-light.border,
body:not(.scry-admin-sc2) .store-listing-cart-btn,
body:not(.scry-admin-sc2) .store-product-more-link,
body:not(.scry-admin-sc2) .store-product-back {
  border-color: var(--scry-border-soft) !important;
  background: var(--scry-surface-0) !important;
  color: var(--scry-text-primary) !important;
  font-weight: 700 !important;
  box-shadow: none !important;
}

body:not(.scry-admin-sc2) .btn-outline-secondary:hover,
body:not(.scry-admin-sc2) .btn-outline-secondary:focus,
body:not(.scry-admin-sc2) .btn-outline-dark:hover,
body:not(.scry-admin-sc2) .btn-outline-dark:focus,
body:not(.scry-admin-sc2) .btn-light.border:hover,
body:not(.scry-admin-sc2) .btn-light.border:focus,
body:not(.scry-admin-sc2) .store-listing-cart-btn:hover,
body:not(.scry-admin-sc2) .store-listing-cart-btn:focus {
  border-color: var(--scry-border-strong) !important;
  background: rgba(var(--scry-accent-primary-soft-rgb), 0.14) !important;
  color: var(--scry-accent-primary-strong) !important;
  box-shadow: 0 0 0 0.16rem rgba(var(--scry-accent-primary-soft-rgb), 0.18) !important;
  text-decoration: none !important;
}

body:not(.scry-admin-sc2) .table-responsive {
  border: 1px solid var(--scry-border-soft);
  border-radius: var(--scry-radius-md);
  background: var(--scry-public-panel);
  box-shadow: var(--scry-shadow-sm);
}

body:not(.scry-admin-sc2) .table {
  margin-bottom: 0;
  color: var(--scry-text-primary);
}

body:not(.scry-admin-sc2) .table > :not(caption) > * > * {
  border-color: var(--scry-border-default) !important;
  background-color: transparent !important;
  color: inherit;
}

body:not(.scry-admin-sc2) .table thead th,
body:not(.scry-admin-sc2) .table .table-light th,
body:not(.scry-admin-sc2) .table-light {
  background: rgba(var(--scry-accent-primary-soft-rgb), 0.12) !important;
  color: var(--scry-table-head-text) !important;
  font-weight: 800;
  letter-spacing: 0;
}

body:not(.scry-admin-sc2) .table tbody tr:hover > * {
  background-color: var(--scry-table-row-hover) !important;
}

body:not(.scry-admin-sc2) .dataTables_wrapper .dataTables_info,
body:not(.scry-admin-sc2) .dataTables_wrapper .dataTables_paginate,
body:not(.scry-admin-sc2) .dataTables_wrapper .dataTables_length,
body:not(.scry-admin-sc2) .dataTables_wrapper .dataTables_filter {
  color: var(--scry-text-secondary) !important;
}

body:not(.scry-admin-sc2) .dataTables_wrapper .paginate_button,
body:not(.scry-admin-sc2) .dataTables_wrapper .paginate_button.current,
body:not(.scry-admin-sc2) .dataTables_wrapper .paginate_button:hover {
  border: 1px solid var(--scry-border-soft) !important;
  border-radius: 0.5rem !important;
  background: var(--scry-surface-0) !important;
  color: var(--scry-text-primary) !important;
  box-shadow: none !important;
}

body:not(.scry-admin-sc2) .dataTables_wrapper .paginate_button.current,
body:not(.scry-admin-sc2) .dataTables_wrapper .paginate_button:hover {
  border-color: var(--scry-border-strong) !important;
  background: rgba(var(--scry-accent-primary-soft-rgb), 0.16) !important;
}

body:not(.scry-admin-sc2) .accordion-item,
body:not(.scry-admin-sc2) .accordion-button,
body:not(.scry-admin-sc2) .accordion-body {
  border-color: var(--scry-border-soft) !important;
  background: var(--scry-surface-0) !important;
  color: var(--scry-text-primary) !important;
}

body:not(.scry-admin-sc2) .accordion-item {
  overflow: hidden;
  border-radius: var(--scry-radius-sm) !important;
  box-shadow: var(--scry-shadow-sm);
}

body:not(.scry-admin-sc2) .accordion-button {
  font-weight: 800;
  box-shadow: none !important;
}

body:not(.scry-admin-sc2) .accordion-button:not(.collapsed) {
  background: rgba(var(--scry-accent-primary-soft-rgb), 0.16) !important;
  color: var(--scry-text-primary) !important;
}

body[data-bs-theme="dark"]:not(.scry-admin-sc2) .accordion-button::after,
[data-bs-theme="dark"] body:not(.scry-admin-sc2) .accordion-button::after {
  filter: invert(1) grayscale(100%) brightness(180%);
}

body:not(.scry-admin-sc2) .scry-image-lightbox__dialog {
  border: 1px solid var(--scry-border-strong) !important;
  background: var(--scry-public-panel) !important;
}

body:not(.scry-admin-sc2) .scry-image-lightbox__caption {
  border-color: var(--scry-border-soft) !important;
  background: var(--scry-surface-0) !important;
  color: var(--scry-text-secondary) !important;
}

body:not(.scry-admin-sc2) .scry-image-lightbox__close,
body:not(.scry-admin-sc2) .scry-image-lightbox__counter,
body:not(.scry-admin-sc2) .scry-image-lightbox__nav {
  border-color: var(--scry-border-soft) !important;
  background: var(--scry-surface-0) !important;
  color: var(--scry-text-primary) !important;
}

body:not(.scry-admin-sc2) .footer-scry {
  border-top-color: var(--scry-border-strong) !important;
  background: var(--scry-public-bg) !important;
  color: var(--scry-text-primary) !important;
}

body:not(.scry-admin-sc2) .footer-scry .rounded-4.border.bg-white,
body:not(.scry-admin-sc2) .footer-scry .rounded-4.border.bg-white.shadow-sm,
body:not(.scry-admin-sc2) .footer-scry .bg-white,
body:not(.scry-admin-sc2) .footer-scry .bg-light {
  border-color: var(--scry-border-soft) !important;
  background: var(--scry-public-panel) !important;
  color: var(--scry-text-primary) !important;
  box-shadow: var(--scry-shadow-sm) !important;
}

body:not(.scry-admin-sc2) .footer-scry .footer-title,
body:not(.scry-admin-sc2) .footer-scry h2,
body:not(.scry-admin-sc2) .footer-scry h3,
body:not(.scry-admin-sc2) .footer-scry h6,
body:not(.scry-admin-sc2) .footer-scry strong,
body:not(.scry-admin-sc2) .footer-scry .text-dark {
  color: var(--scry-text-primary) !important;
}

body:not(.scry-admin-sc2) .footer-scry .text-muted,
body:not(.scry-admin-sc2) .footer-scry .footer-muted,
body:not(.scry-admin-sc2) .footer-scry .form-check-label {
  color: var(--scry-text-secondary) !important;
}

body:not(.scry-admin-sc2) .footer-scry .footer-links a,
body:not(.scry-admin-sc2) .footer-scry a:not(.btn) {
  color: var(--scry-text-primary) !important;
  text-decoration: none;
}

body:not(.scry-admin-sc2) .footer-scry .footer-links a:hover,
body:not(.scry-admin-sc2) .footer-scry .footer-links a:focus,
body:not(.scry-admin-sc2) .footer-scry a:not(.btn):hover,
body:not(.scry-admin-sc2) .footer-scry a:not(.btn):focus {
  color: var(--scry-accent-primary-strong) !important;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

body:not(.scry-admin-sc2) .footer-scry .footer-divider,
body:not(.scry-admin-sc2) .footer-scry .border-top,
body:not(.scry-admin-sc2) .footer-scry .border-start {
  border-color: var(--scry-border-soft) !important;
  opacity: 1;
}

body:not(.scry-admin-sc2) .footer-scry .d-inline-flex.bg-white.border.rounded-3 {
  background: rgba(255, 255, 255, 0.94) !important;
}

body:not(.scry-admin-sc2) .scry-cookie-banner-card {
  border-color: var(--scry-border-strong) !important;
  background: var(--scry-public-panel) !important;
  color: var(--scry-text-primary) !important;
}

body:not(.scry-admin-sc2) .scry-cookie-title {
  color: var(--scry-text-primary) !important;
}

body:not(.scry-admin-sc2) .scry-cookie-text {
  color: var(--scry-text-secondary) !important;
}

@media (max-width: 991.98px) {
  body:not(.scry-admin-sc2) .store-product-title {
    font-size: 2rem !important;
  }

  body:not(.scry-admin-sc2) .hero-bg:not(.hero-bg-home) .card-body {
    padding: 1rem !important;
  }
}

@media (max-width: 575.98px) {
  body:not(.scry-admin-sc2) .hero-bg:not(.hero-bg-home) {
    min-height: auto;
    padding-bottom: 2.2rem !important;
  }

  body:not(.scry-admin-sc2) .hero-bg:not(.hero-bg-home) h1,
  body:not(.scry-admin-sc2) .hero-bg:not(.hero-bg-home) .h1,
  body:not(.scry-admin-sc2) .scry-page-title {
    font-size: 1.62rem !important;
  }

  body:not(.scry-admin-sc2) .store-product-title {
    font-size: 1.7rem !important;
  }

  body:not(.scry-admin-sc2) .store-product-detail,
  body:not(.scry-admin-sc2) .scry-store-main,
  body:not(.scry-admin-sc2) .hero-bg:not(.hero-bg-home) .card {
    border-radius: var(--scry-radius-md) !important;
  }

  body:not(.scry-admin-sc2) .store-accessory-filters {
    padding: 0.75rem !important;
  }

  body:not(.scry-admin-sc2) .table-responsive {
    border-radius: var(--scry-radius-sm);
  }
}

/* Public registration and wishlist pages */
body:not(.scry-admin-sc2):has(.registro-page-shell),
body:not(.scry-admin-sc2):has(.wishlist-page) {
  background: var(--scry-public-bg);
  color: var(--scry-text-primary);
}

body:not(.scry-admin-sc2) .registro-page-shell,
body:not(.scry-admin-sc2) .wishlist-page {
  color: var(--scry-text-primary);
}

body:not(.scry-admin-sc2) .registro-page-shell {
  max-width: 1320px;
  padding-right: 1rem;
  padding-left: 1rem;
}

body:not(.scry-admin-sc2) .registro-simple-header {
  padding: 1rem 1rem 0;
}

body:not(.scry-admin-sc2) .registro-simple-header__inner {
  display: flex;
  justify-content: center;
  max-width: 1320px;
  margin: 0 auto;
}

body:not(.scry-admin-sc2) .registro-simple-header__brand {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  color: var(--scry-text-secondary);
  text-align: center;
  text-decoration: none !important;
}

body:not(.scry-admin-sc2) .registro-simple-header__logo {
  display: block;
  width: min(250px, 72vw);
  height: auto;
}

body:not(.scry-admin-sc2) .registro-simple-header__tagline {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.95rem;
  line-height: 1.2;
  color: var(--scry-text-secondary);
}

body:not(.scry-admin-sc2) .registro-simple-header__brand:hover .registro-simple-header__tagline,
body:not(.scry-admin-sc2) .registro-simple-header__brand:focus .registro-simple-header__tagline {
  color: var(--scry-text-primary);
}

body:not(.scry-admin-sc2) .registro-main-card,
body:not(.scry-admin-sc2) .wishlist-card {
  overflow: hidden;
  border: 1px solid var(--scry-border-soft) !important;
  border-radius: var(--scry-radius-lg) !important;
  background: var(--scry-public-panel) !important;
  color: var(--scry-text-primary) !important;
  box-shadow: var(--scry-shadow-lg) !important;
}

body:not(.scry-admin-sc2) .registro-main-card {
  position: relative;
}

body:not(.scry-admin-sc2) .registro-main-card::before,
body:not(.scry-admin-sc2) .wishlist-card::before {
  position: absolute;
  top: 0;
  right: 1rem;
  left: 1rem;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(var(--scry-accent-primary-soft-rgb), 0.72), transparent);
  content: "";
  pointer-events: none;
}

body:not(.scry-admin-sc2) .registro-lead-panel {
  padding: clamp(1.25rem, 3vw, 2rem);
  border-right: 1px solid var(--scry-border-soft);
  background: var(--scry-public-panel-strong) !important;
}

body:not(.scry-admin-sc2) .registro-form-panel {
  padding: clamp(1.25rem, 3vw, 2rem) !important;
  background: rgba(var(--scry-accent-primary-soft-rgb), 0.08) !important;
}

body:not(.scry-admin-sc2) .img-head-registro {
  min-height: 210px;
  border: 1px solid var(--scry-border-soft);
  border-radius: var(--scry-radius-md) !important;
  background-position: center;
  background-size: cover;
  box-shadow: var(--scry-shadow-sm) !important;
}

body:not(.scry-admin-sc2) .registro-lead-title,
body:not(.scry-admin-sc2) .registro-mobile-context-title {
  color: var(--scry-text-primary) !important;
  font-weight: 800;
  letter-spacing: 0;
}

body:not(.scry-admin-sc2) .registro-lead-title {
  font-size: clamp(1.6rem, 2.4vw, 2rem);
  line-height: 1.08;
}

body:not(.scry-admin-sc2) .registro-lead-copy,
body:not(.scry-admin-sc2) .registro-mobile-context-copy,
body:not(.scry-admin-sc2) .registro-field-help,
body:not(.scry-admin-sc2) .registro-details-summary,
body:not(.scry-admin-sc2) .wishlist-page-subtitle,
body:not(.scry-admin-sc2) .wishlist-page .text-muted {
  color: var(--scry-text-secondary) !important;
}

body:not(.scry-admin-sc2) .registro-section-title,
body:not(.scry-admin-sc2) .wishlist-page-title {
  color: var(--scry-text-primary) !important;
  font-weight: 800 !important;
  letter-spacing: 0 !important;
}

body:not(.scry-admin-sc2) .registro-section-title {
  font-size: 1.16rem;
  line-height: 1.25;
}

body:not(.scry-admin-sc2) .registro-mobile-context {
  display: none;
}

body:not(.scry-admin-sc2) .registro-mobile-context-kicker {
  display: inline-flex;
  margin-bottom: 0.45rem;
  padding: 0.16rem 0.45rem;
  border: 1px solid var(--scry-pill-soft-border);
  border-radius: 999px;
  background: var(--scry-pill-soft-bg);
  color: var(--scry-pill-soft-text);
  font-size: 0.72rem;
  font-weight: 800;
}

body:not(.scry-admin-sc2) .registro-onboarding-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem;
  margin-bottom: 1rem;
}

body:not(.scry-admin-sc2) .registro-onboarding-step {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 0.42rem;
  padding: 0.52rem 0.58rem;
  border: 1px solid var(--scry-border-soft);
  border-radius: var(--scry-radius-sm);
  background: var(--scry-surface-0);
  color: var(--scry-text-primary);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.15;
}

body:not(.scry-admin-sc2) .registro-onboarding-step__number {
  display: inline-flex;
  flex: 0 0 1.34rem;
  width: 1.34rem;
  height: 1.34rem;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--scry-cta-primary-bg);
  color: #071018;
  font-size: 0.72rem;
  line-height: 1;
}

body:not(.scry-admin-sc2) .registro-embedded-warning {
  padding: 0.78rem 0.9rem;
  border: 1px solid rgba(154, 103, 0, 0.24);
  border-left: 4px solid var(--scry-warning-text);
  border-radius: var(--scry-radius-sm);
  background: var(--scry-warning-bg);
  color: var(--scry-warning-text);
  font-size: 0.92rem;
  line-height: 1.4;
}

body:not(.scry-admin-sc2) .registro-stat-card,
body:not(.scry-admin-sc2) .registro-feature-item,
body:not(.scry-admin-sc2) .registro-details-card,
body:not(.scry-admin-sc2) .wl-channel-box {
  border-color: var(--scry-border-soft) !important;
  background: var(--scry-surface-0) !important;
  color: var(--scry-text-primary) !important;
  box-shadow: var(--scry-shadow-sm);
}

body:not(.scry-admin-sc2) .registro-stat-card {
  min-height: 76px;
  font-size: 0.78rem;
}

body:not(.scry-admin-sc2) .registro-stat-value {
  color: var(--scry-text-primary) !important;
  font-size: 0.94rem;
  font-weight: 800;
  line-height: 1.16;
}

body:not(.scry-admin-sc2) .registro-feature-grid {
  color: var(--scry-text-primary);
  font-size: 0.94rem;
  line-height: 1.4;
}

body:not(.scry-admin-sc2) .registro-feature-item {
  display: flex;
  min-height: 100%;
  align-items: flex-start;
  gap: 0.62rem;
  border-radius: var(--scry-radius-sm) !important;
}

body:not(.scry-admin-sc2) .registro-feature-icon {
  width: 1rem;
  margin-top: 0.18rem;
  color: var(--scry-accent-primary-strong);
  text-align: center;
}

body:not(.scry-admin-sc2) .registro-field-label,
body:not(.scry-admin-sc2) .wishlist-page .form-label,
body:not(.scry-admin-sc2) .wishlist-page .form-check-label,
body:not(.scry-admin-sc2) .wl-channel-box__title {
  color: var(--scry-text-primary) !important;
  font-weight: 800;
}

body:not(.scry-admin-sc2) .registro-field-control,
body:not(.scry-admin-sc2) .wishlist-page .form-control {
  min-height: 2.75rem;
}

body:not(.scry-admin-sc2) .registro-field-control,
body:not(.scry-admin-sc2) .wishlist-page .form-control:not(.iti__tel-input) {
  padding: 0.72rem 0.85rem !important;
}

body:not(.scry-admin-sc2) .registro-store-name-input {
  min-width: 0;
}

body:not(.scry-admin-sc2) .registro-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

body:not(.scry-admin-sc2) .registro-turnstile-box {
  min-height: 70px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

body:not(.scry-admin-sc2) .registro-name-generator-btn {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  justify-content: center;
  gap: 0.38rem;
  border: 1px solid var(--scry-border-soft) !important;
  background: var(--scry-surface-0) !important;
  color: var(--scry-text-primary) !important;
  font-weight: 800;
  white-space: nowrap;
  box-shadow: none !important;
}

body:not(.scry-admin-sc2) .registro-name-generator-btn:hover,
body:not(.scry-admin-sc2) .registro-name-generator-btn:focus {
  border-color: var(--scry-border-strong) !important;
  background: rgba(var(--scry-accent-primary-soft-rgb), 0.14) !important;
  color: var(--scry-text-primary) !important;
  box-shadow: 0 0 0 0.16rem rgba(var(--scry-accent-primary-soft-rgb), 0.18) !important;
}

body:not(.scry-admin-sc2) .registro-google-btn {
  min-height: 2.75rem;
  border: 1px solid var(--scry-border-soft) !important;
  border-radius: var(--scry-radius-sm) !important;
  background: var(--scry-surface-0) !important;
  color: var(--scry-text-primary) !important;
  font-weight: 800;
  box-shadow: none !important;
}

body:not(.scry-admin-sc2) .registro-google-btn:hover,
body:not(.scry-admin-sc2) .registro-google-btn:focus {
  border-color: var(--scry-border-strong) !important;
  background: rgba(var(--scry-accent-primary-soft-rgb), 0.14) !important;
  color: var(--scry-text-primary) !important;
  box-shadow: 0 0 0 0.16rem rgba(var(--scry-accent-primary-soft-rgb), 0.18) !important;
}

body:not(.scry-admin-sc2) .registro-google-btn--disabled,
body:not(.scry-admin-sc2) .registro-google-btn--disabled:hover,
body:not(.scry-admin-sc2) .registro-google-btn--disabled:focus {
  border-color: var(--scry-border-soft) !important;
  background: var(--scry-surface-0) !important;
  color: var(--scry-text-secondary) !important;
  cursor: not-allowed;
  opacity: 0.68;
  box-shadow: none !important;
}

body:not(.scry-admin-sc2) .registro-google-icon {
  display: inline-flex;
  width: 18px;
  height: 18px;
}

body:not(.scry-admin-sc2) .registro-submit-btn,
body:not(.scry-admin-sc2) .wishlist-page .btn-scry-primary,
body:not(.scry-admin-sc2) .wishlist-page .btn-success {
  border-color: var(--scry-cta-primary-border) !important;
  border-radius: var(--scry-radius-sm) !important;
  background: var(--scry-cta-primary-bg) !important;
  color: #071018 !important;
  font-weight: 800 !important;
  text-shadow: none !important;
  box-shadow: 0 12px 24px rgba(15, 155, 150, 0.16) !important;
}

body:not(.scry-admin-sc2) .registro-submit-btn:hover,
body:not(.scry-admin-sc2) .registro-submit-btn:focus,
body:not(.scry-admin-sc2) .wishlist-page .btn-scry-primary:hover,
body:not(.scry-admin-sc2) .wishlist-page .btn-scry-primary:focus,
body:not(.scry-admin-sc2) .wishlist-page .btn-success:hover,
body:not(.scry-admin-sc2) .wishlist-page .btn-success:focus {
  filter: brightness(1.04);
  color: #071018 !important;
  box-shadow: 0 0 0 0.18rem rgba(var(--scry-accent-primary-soft-rgb), 0.24), 0 14px 30px rgba(15, 155, 150, 0.2) !important;
}

body:not(.scry-admin-sc2) .registro-submit-btn:disabled,
body:not(.scry-admin-sc2) .wishlist-page .btn-scry-primary:disabled {
  opacity: 0.58;
  box-shadow: none !important;
}

body:not(.scry-admin-sc2) .registro-form-separator,
body:not(.scry-admin-sc2) .wishlist-page hr {
  border-color: var(--scry-border-soft);
  opacity: 1;
}

body:not(.scry-admin-sc2) .registro-details-summary {
  cursor: pointer;
  font-weight: 800;
}

body:not(.scry-admin-sc2) .registro-details-card {
  border-radius: var(--scry-radius-md) !important;
}

body:not(.scry-admin-sc2) .registro-details-table {
  font-size: 0.78rem;
}

body:not(.scry-admin-sc2) .wishlist-page {
  padding-top: 1.1rem;
  padding-bottom: 2.4rem;
}

body:not(.scry-admin-sc2) .wishlist-page-title {
  font-size: 2rem;
  line-height: 1.1;
}

body:not(.scry-admin-sc2) .wishlist-card {
  position: relative;
}

body:not(.scry-admin-sc2) .wishlist-card--autocomplete {
  z-index: 2;
  overflow: visible;
}

body:not(.scry-admin-sc2) .wishlist-card .card-body {
  padding: clamp(1rem, 2vw, 1.35rem) !important;
}

body:not(.scry-admin-sc2) .wl-suggest-wrap {
  position: relative;
}

body:not(.scry-admin-sc2) .wl-suggest-list {
  position: absolute;
  top: calc(100% + 0.35rem);
  right: 0;
  left: 0;
  z-index: 20;
  display: block;
  max-height: 280px;
  overflow: auto;
  border: 1px solid var(--scry-border-strong);
  border-radius: var(--scry-radius-sm);
  background: var(--scry-surface-0);
  box-shadow: var(--scry-shadow-lg);
}

body:not(.scry-admin-sc2) .wl-suggest-list .list-group-item {
  border-color: var(--scry-border-default) !important;
  background: var(--scry-surface-0) !important;
  color: var(--scry-text-primary) !important;
}

body:not(.scry-admin-sc2) .wl-suggest-list .list-group-item:hover,
body:not(.scry-admin-sc2) .wl-suggest-list .list-group-item:focus,
body:not(.scry-admin-sc2) .wl-suggest-list .list-group-item.active {
  border-color: var(--scry-border-strong) !important;
  background: rgba(var(--scry-accent-primary-soft-rgb), 0.16) !important;
  color: var(--scry-text-primary) !important;
}

body:not(.scry-admin-sc2) .wl-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.16rem 0.54rem;
  border: 1px solid var(--scry-pill-soft-border);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
}

body:not(.scry-admin-sc2) .wl-pill--ok {
  border-color: rgba(15, 118, 110, 0.26);
  background: var(--scry-success-bg);
  color: var(--scry-success-text);
}

body:not(.scry-admin-sc2) .wl-pill--off {
  border-color: var(--scry-pill-soft-border);
  background: var(--scry-pill-soft-bg);
  color: var(--scry-pill-soft-text);
}

body:not(.scry-admin-sc2) .wl-channel-box {
  height: 100%;
  padding: 0.9rem 1rem;
  border-radius: var(--scry-radius-sm);
}

body:not(.scry-admin-sc2) .wishlist-selection,
body:not(.scry-admin-sc2) .wishlist-saved-item {
  border-color: var(--scry-border-soft);
  background: var(--scry-surface-0);
  color: var(--scry-text-primary);
}

body:not(.scry-admin-sc2) .wishlist-login-note,
body:not(.scry-admin-sc2) .wishlist-saved-item__scope,
body:not(.scry-admin-sc2) .wishlist-saved-item__reference,
body:not(.scry-admin-sc2) .wishlist-saved-item__price {
  color: var(--scry-text-secondary);
}

body:not(.scry-admin-sc2) .wishlist-scope-editor {
  border-color: var(--scry-border-soft);
}

body:not(.scry-admin-sc2) .wishlist-scope-editor__heading p,
body:not(.scry-admin-sc2) .wishlist-scope-editor__language-note,
body:not(.scry-admin-sc2) .wishlist-image-lightbox__caption,
body:not(.scry-admin-sc2) .wishlist-scope-editor__missing-copy {
  color: var(--scry-text-secondary);
}

body:not(.scry-admin-sc2) .wishlist-scope-editor__preview {
  color: var(--scry-text-primary);
}

body:not(.scry-admin-sc2) .wishlist-scope-editor__preview-trigger {
  border-color: var(--scry-border-soft);
  background: var(--scry-surface-1);
}

body:not(.scry-admin-sc2) .wishlist-scope-editor__preview-trigger:hover {
  border-color: var(--scry-accent-primary);
}

body:not(.scry-admin-sc2) .wishlist-scope-editor__preview-trigger:focus-visible {
  outline: 0;
  border-color: var(--scry-accent-primary);
  box-shadow: 0 0 0 .2rem var(--bs-focus-ring-color);
}

body:not(.scry-admin-sc2) .wishlist-scope-editor__zoom {
  background: var(--scry-surface-0);
  color: var(--scry-accent-primary-strong);
  box-shadow: var(--scry-shadow-md);
}

body:not(.scry-admin-sc2) .wishlist-image-lightbox .modal-content {
  border-color: var(--scry-border-soft);
  background: var(--scry-surface-0);
  color: var(--scry-text-primary);
}

body:not(.scry-admin-sc2) .wishlist-saved-item__media {
  border: 1px solid var(--scry-border-soft);
  background: var(--scry-surface-1);
  color: var(--scry-text-secondary);
}

body:not(.scry-admin-sc2) .wishlist-list-state {
  border-color: var(--scry-border-soft);
  background: var(--scry-surface-1);
  color: var(--scry-text-primary);
}

body:not(.scry-admin-sc2) .wishlist-list-state--error {
  border-color: rgba(180, 35, 24, 0.28);
  background: var(--scry-danger-bg);
  color: var(--scry-danger-text);
}

body:not(.scry-admin-sc2) .wishlist-preference-panel {
  border-color: var(--scry-border-soft);
}

body:not(.scry-admin-sc2) .wishlist-page :is(button, a, input):focus-visible {
  outline: 3px solid var(--scry-accent-primary-strong);
  outline-offset: 2px;
}

body:not(.scry-admin-sc2) .wishlist-page #wl_list > .list-group-item {
  border-color: var(--scry-border-soft) !important;
  background: var(--scry-surface-0) !important;
  color: var(--scry-text-primary) !important;
}

body:not(.scry-admin-sc2) .wishlist-page #wl_list > .list-group-item + .list-group-item {
  margin-top: 0.5rem;
  border-top-width: 1px !important;
  border-radius: var(--scry-radius-sm);
}

body:not(.scry-admin-sc2) .wishlist-page #wl_list > .list-group-item:first-child,
body:not(.scry-admin-sc2) .wishlist-page #wl_list > .list-group-item:last-child {
  border-radius: var(--scry-radius-sm);
}

body:not(.scry-admin-sc2) .wishlist-login-alert,
body:not(.scry-admin-sc2) .wishlist-page .alert-secondary {
  border-color: var(--scry-border-soft) !important;
  background: rgba(var(--scry-accent-primary-soft-rgb), 0.12) !important;
  color: var(--scry-text-primary) !important;
}

body:not(.scry-admin-sc2) .wishlist-page .alert-success {
  border-color: rgba(15, 118, 110, 0.26) !important;
  background: var(--scry-success-bg) !important;
  color: var(--scry-success-text) !important;
}

body:not(.scry-admin-sc2) .wishlist-page .alert-danger {
  border-color: rgba(180, 35, 24, 0.24) !important;
  background: var(--scry-danger-bg) !important;
  color: var(--scry-danger-text) !important;
}

body:not(.scry-admin-sc2) .wishlist-page .btn-outline-success,
body:not(.scry-admin-sc2) .wishlist-page .btn-outline-danger {
  border-color: var(--scry-border-soft) !important;
  background: var(--scry-surface-0) !important;
  color: var(--scry-text-primary) !important;
  font-weight: 800;
  box-shadow: none !important;
}

body:not(.scry-admin-sc2) .wishlist-page .btn-outline-success:hover,
body:not(.scry-admin-sc2) .wishlist-page .btn-outline-success:focus {
  border-color: rgba(15, 118, 110, 0.26) !important;
  background: var(--scry-success-bg) !important;
  color: var(--scry-success-text) !important;
}

body:not(.scry-admin-sc2) .wishlist-page .btn-outline-danger:hover,
body:not(.scry-admin-sc2) .wishlist-page .btn-outline-danger:focus {
  border-color: rgba(180, 35, 24, 0.24) !important;
  background: var(--scry-danger-bg) !important;
  color: var(--scry-danger-text) !important;
}

body:not(.scry-admin-sc2) .wishlist-page .form-check-input {
  border-color: var(--scry-border-strong);
  background-color: var(--scry-surface-0);
}

body:not(.scry-admin-sc2) .wishlist-page .form-check-input:checked {
  border-color: var(--scry-cta-primary-border);
  background-color: var(--scry-accent-primary);
}

body:not(.scry-admin-sc2) .wishlist-stock-link-hidden {
  display: none !important;
}

body[data-bs-theme="dark"]:not(.scry-admin-sc2):has(.registro-page-shell),
[data-bs-theme="dark"] body:not(.scry-admin-sc2):has(.registro-page-shell),
body[data-bs-theme="dark"]:not(.scry-admin-sc2):has(.wishlist-page),
[data-bs-theme="dark"] body:not(.scry-admin-sc2):has(.wishlist-page) {
  background: var(--scry-public-bg);
}

@media (max-width: 991.98px) {
  body:not(.scry-admin-sc2) .registro-lead-panel {
    border-right: 0;
    border-top: 1px solid var(--scry-border-soft);
  }
}

@media (max-width: 767.98px) {
  body:not(.scry-admin-sc2) .registro-page-shell {
    margin-top: 0.75rem !important;
    margin-bottom: 1.5rem !important;
    padding-right: 0.75rem;
    padding-left: 0.75rem;
  }

  body:not(.scry-admin-sc2) .registro-simple-header {
    padding-top: 0.85rem;
  }

  body:not(.scry-admin-sc2) .registro-simple-header__logo {
    width: min(220px, 76vw);
  }

  body:not(.scry-admin-sc2) .registro-simple-header__tagline {
    font-size: 0.85rem;
  }

  body:not(.scry-admin-sc2) .registro-main-card,
  body:not(.scry-admin-sc2) .wishlist-card {
    border-radius: var(--scry-radius-md) !important;
  }

  body:not(.scry-admin-sc2) .registro-form-panel {
    padding: 1.15rem !important;
  }

  body:not(.scry-admin-sc2) .registro-mobile-context {
    display: block;
    margin-bottom: 1rem;
  }

  body:not(.scry-admin-sc2) .registro-mobile-context-title {
    margin: 0 0 0.45rem;
    font-size: 1.5rem;
    line-height: 1.1;
  }

  body:not(.scry-admin-sc2) .registro-mobile-context-copy {
    margin: 0;
    font-size: 0.94rem;
    line-height: 1.4;
  }

  body:not(.scry-admin-sc2) .registro-form-title {
    margin-bottom: 0.75rem !important;
    font-size: 1.03rem !important;
  }

  body:not(.scry-admin-sc2) .registro-form-separator {
    margin-top: 1rem !important;
    margin-bottom: 1rem !important;
  }

  body:not(.scry-admin-sc2) .registro-form-panel .mb-3 {
    margin-bottom: 0.85rem !important;
  }

  body:not(.scry-admin-sc2) .registro-form-panel .row.g-3 {
    --bs-gutter-y: 0.85rem;
  }

  body:not(.scry-admin-sc2) .registro-submit-btn {
    margin-top: 0.35rem;
    padding-top: 0.85rem !important;
    padding-bottom: 0.85rem !important;
  }

  body:not(.scry-admin-sc2) .registro-form-panel details {
    margin-top: 1rem !important;
  }

  body:not(.scry-admin-sc2) .wishlist-page {
    padding-top: 0.75rem;
    padding-bottom: 1.75rem;
  }

  body:not(.scry-admin-sc2) .wishlist-page-title {
    font-size: 1.55rem;
  }
}
html[data-theme="dark"] .scry-purchase-offer-summary > div,
html[data-theme="dark"] .scry-purchase-offer-counter-form {
  border-color: rgba(255, 255, 255, .1);
  background: rgba(255, 255, 255, .045);
}

html[data-theme="dark"] .scry-purchase-offer-payment-note {
  border-color: rgba(56, 189, 248, .28);
  background: rgba(14, 165, 233, .12);
  color: #bae6fd;
}

html[data-theme="dark"] .scry-purchase-offers-empty-icon {
  background: rgba(45, 212, 191, .12);
  color: #5eead4;
}

html[data-theme="dark"] .scry-checkout-offer-badge {
  color: #5eead4;
}

/* Public deck detail V2 */
body[data-bs-theme="dark"] .deck-v2-purchase-card,
body[data-bs-theme="dark"] .deck-v2-content,
html[data-theme="dark"] .deck-v2-purchase-card,
html[data-theme="dark"] .deck-v2-content {
  border-color: var(--scry-border-default) !important;
  color: var(--scry-text-primary) !important;
  background: linear-gradient(180deg, var(--scry-surface-1) 0%, var(--scry-surface-0) 100%) !important;
  box-shadow: 0 14px 34px rgba(2, 6, 23, .24) !important;
}

body[data-bs-theme="dark"] .deck-v21-tools,
html[data-theme="dark"] .deck-v21-tools {
  border-color: var(--scry-border-default) !important;
  color: var(--scry-text-primary) !important;
  background: linear-gradient(180deg, var(--scry-surface-1) 0%, var(--scry-surface-0) 100%) !important;
  box-shadow: 0 14px 34px rgba(2, 6, 23, .24) !important;
}

body[data-bs-theme="dark"] .deck-v21-card,
body[data-bs-theme="dark"] .deck-v21-summary-strip > div,
html[data-theme="dark"] .deck-v21-card,
html[data-theme="dark"] .deck-v21-summary-strip > div {
  border-color: var(--scry-border-default) !important;
  background: var(--scry-surface-0) !important;
}

body[data-bs-theme="dark"] .deck-v21-heading h2,
body[data-bs-theme="dark"] .deck-v21-card h3,
body[data-bs-theme="dark"] .deck-v21-summary-strip strong,
body[data-bs-theme="dark"] .deck-v21-bar-row strong,
html[data-theme="dark"] .deck-v21-heading h2,
html[data-theme="dark"] .deck-v21-card h3,
html[data-theme="dark"] .deck-v21-summary-strip strong,
html[data-theme="dark"] .deck-v21-bar-row strong {
  color: var(--scry-text-primary) !important;
}

body[data-bs-theme="dark"] .deck-v21-heading p,
body[data-bs-theme="dark"] .deck-v21-hand-heading p,
body[data-bs-theme="dark"] .deck-v21-summary-strip span,
body[data-bs-theme="dark"] .deck-v21-bar-row > div,
body[data-bs-theme="dark"] .deck-v21-hand figcaption,
body[data-bs-theme="dark"] .deck-v21-hand-status,
html[data-theme="dark"] .deck-v21-heading p,
html[data-theme="dark"] .deck-v21-hand-heading p,
html[data-theme="dark"] .deck-v21-summary-strip span,
html[data-theme="dark"] .deck-v21-bar-row > div,
html[data-theme="dark"] .deck-v21-hand figcaption,
html[data-theme="dark"] .deck-v21-hand-status {
  color: var(--scry-text-secondary) !important;
}

body[data-bs-theme="dark"] .deck-v21-bar,
html[data-theme="dark"] .deck-v21-bar {
  background: var(--scry-surface-2) !important;
}

body[data-bs-theme="dark"] .deck-v21-hand-image,
html[data-theme="dark"] .deck-v21-hand-image {
  border-color: var(--scry-border-default) !important;
  color: var(--scry-text-muted) !important;
  background: var(--scry-surface-2) !important;
  box-shadow: 0 8px 20px rgba(2, 6, 23, .28) !important;
}

body[data-bs-theme="dark"] .deck-v2-featured-card,
body[data-bs-theme="dark"] .deck-v2-advanced,
html[data-theme="dark"] .deck-v2-featured-card,
html[data-theme="dark"] .deck-v2-advanced {
  border-color: var(--scry-border-default) !important;
}

body[data-bs-theme="dark"] .deck-v2-featured-name,
body[data-bs-theme="dark"] .deck-v2-price,
body[data-bs-theme="dark"] .deck-v2-content-heading h2,
body[data-bs-theme="dark"] .deck-v2-group-heading h3,
body[data-bs-theme="dark"] .deck-v2-card-title,
body[data-bs-theme="dark"] .deck-v2-mobile-cart strong,
html[data-theme="dark"] .deck-v2-featured-name,
html[data-theme="dark"] .deck-v2-price,
html[data-theme="dark"] .deck-v2-content-heading h2,
html[data-theme="dark"] .deck-v2-group-heading h3,
html[data-theme="dark"] .deck-v2-card-title,
html[data-theme="dark"] .deck-v2-mobile-cart strong {
  color: var(--scry-text-primary) !important;
}

body[data-bs-theme="dark"] .deck-v2-featured-label,
body[data-bs-theme="dark"] .deck-v2-price-label,
body[data-bs-theme="dark"] .deck-v2-price-compare,
body[data-bs-theme="dark"] .deck-v2-purchase-copy,
body[data-bs-theme="dark"] .deck-v2-unavailable,
body[data-bs-theme="dark"] .deck-v2-content-heading p,
body[data-bs-theme="dark"] .deck-v2-results,
body[data-bs-theme="dark"] .deck-v2-control label,
body[data-bs-theme="dark"] .deck-v2-group-heading span,
body[data-bs-theme="dark"] .deck-v2-card-meta,
body[data-bs-theme="dark"] .deck-v2-card-price,
body[data-bs-theme="dark"] .deck-v2-mobile-cart span,
html[data-theme="dark"] .deck-v2-featured-label,
html[data-theme="dark"] .deck-v2-price-label,
html[data-theme="dark"] .deck-v2-price-compare,
html[data-theme="dark"] .deck-v2-purchase-copy,
html[data-theme="dark"] .deck-v2-unavailable,
html[data-theme="dark"] .deck-v2-content-heading p,
html[data-theme="dark"] .deck-v2-results,
html[data-theme="dark"] .deck-v2-control label,
html[data-theme="dark"] .deck-v2-group-heading span,
html[data-theme="dark"] .deck-v2-card-meta,
html[data-theme="dark"] .deck-v2-card-price,
html[data-theme="dark"] .deck-v2-mobile-cart span {
  color: var(--scry-text-secondary) !important;
}

body[data-bs-theme="dark"] .deck-v2-toolbar,
body[data-bs-theme="dark"] .deck-v2-group,
body[data-bs-theme="dark"] .deck-v2-empty,
html[data-theme="dark"] .deck-v2-toolbar,
html[data-theme="dark"] .deck-v2-group,
html[data-theme="dark"] .deck-v2-empty {
  border-color: var(--scry-border-default) !important;
  color: var(--scry-text-secondary) !important;
  background:
    radial-gradient(circle at top left, rgba(var(--scry-accent-primary-soft-rgb), .1) 0%, rgba(var(--scry-accent-primary-soft-rgb), 0) 46%) padding-box,
    var(--scry-surface-0) !important;
}

body[data-bs-theme="dark"] .deck-v2-control .form-control,
body[data-bs-theme="dark"] .deck-v2-control .form-select,
html[data-theme="dark"] .deck-v2-control .form-control,
html[data-theme="dark"] .deck-v2-control .form-select {
  border-color: var(--scry-border-default) !important;
  color: var(--scry-text-primary) !important;
  background-color: var(--scry-surface-1) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .03) !important;
}

body[data-bs-theme="dark"] .deck-v2-control .form-control::placeholder,
html[data-theme="dark"] .deck-v2-control .form-control::placeholder {
  color: var(--scry-text-muted) !important;
}

body[data-bs-theme="dark"] .deck-v2-card-inner,
html[data-theme="dark"] .deck-v2-card-inner {
  border-color: var(--scry-border-default) !important;
  background: var(--scry-surface-1) !important;
  box-shadow: 0 8px 20px rgba(2, 6, 23, .24) !important;
}

body[data-bs-theme="dark"] .deck-v2-card-image,
html[data-theme="dark"] .deck-v2-card-image {
  background: var(--scry-surface-2) !important;
}

body[data-bs-theme="dark"] .deck-v2-content[data-view="stacks"] .deck-v2-card-inner,
html[data-theme="dark"] .deck-v2-content[data-view="stacks"] .deck-v2-card-inner {
  background: transparent !important;
}

body[data-bs-theme="dark"] .deck-v2-savings,
html[data-theme="dark"] .deck-v2-savings {
  color: #5eead4 !important;
  background: rgba(45, 212, 191, .12) !important;
}

body[data-bs-theme="dark"] .deck-v2-active-chip,
html[data-theme="dark"] .deck-v2-active-chip {
  border-color: rgba(94, 234, 212, .24) !important;
  color: #5eead4 !important;
  background: rgba(45, 212, 191, .1) !important;
}

body[data-bs-theme="dark"] .deck-v2-active-chip:hover,
html[data-theme="dark"] .deck-v2-active-chip:hover {
  border-color: rgba(94, 234, 212, .4) !important;
  background: rgba(45, 212, 191, .16) !important;
}

body[data-bs-theme="dark"] .deck-v2-filter-toggle,
body[data-bs-theme="dark"] .deck-v2-clear-filters,
html[data-theme="dark"] .deck-v2-filter-toggle,
html[data-theme="dark"] .deck-v2-clear-filters {
  border-color: var(--scry-border-default) !important;
  color: var(--scry-text-secondary) !important;
  background: var(--scry-surface-1) !important;
}

body[data-bs-theme="dark"] .deck-v2-filter-toggle:hover,
body[data-bs-theme="dark"] .deck-v2-clear-filters:hover,
html[data-theme="dark"] .deck-v2-filter-toggle:hover,
html[data-theme="dark"] .deck-v2-clear-filters:hover {
  border-color: var(--scry-border-strong) !important;
  color: var(--scry-text-primary) !important;
  background: var(--scry-surface-2) !important;
}

@media (max-width: 767.98px) {
  body[data-bs-theme="dark"] .deck-v2-mobile-cart,
  html[data-theme="dark"] .deck-v2-mobile-cart {
    border-color: var(--scry-border-default) !important;
    background: rgba(15, 23, 42, .96) !important;
    box-shadow: 0 -10px 30px rgba(2, 6, 23, .36) !important;
  }
}

/* Public store folder v2 theme */
body[data-bs-theme="dark"] .folder-v2-list-heading h2,
html[data-theme="dark"] .folder-v2-list-heading h2 {
  color: var(--scry-text-primary) !important;
}

body[data-bs-theme="dark"] .folder-v2-list-heading p,
body[data-bs-theme="dark"] .folder-v2-cards .store-listing-edition,
html[data-theme="dark"] .folder-v2-list-heading p,
html[data-theme="dark"] .folder-v2-cards .store-listing-edition {
  color: var(--scry-text-secondary) !important;
}

body[data-bs-theme="dark"] .folder-v3-results,
html[data-theme="dark"] .folder-v3-results {
  color: var(--scry-text-secondary) !important;
}

body[data-bs-theme="dark"] .store-filters-toolbar.folder-v3-toolbar,
html[data-theme="dark"] .store-filters-toolbar.folder-v3-toolbar {
  border-color: var(--scry-border-default) !important;
  background:
    radial-gradient(circle at top left, rgba(var(--scry-accent-primary-soft-rgb), .1) 0%, rgba(var(--scry-accent-primary-soft-rgb), 0) 46%) padding-box,
    var(--scry-surface-0) !important;
}

body[data-bs-theme="dark"] .store-filters-toolbar.folder-v3-toolbar .filter-label,
html[data-theme="dark"] .store-filters-toolbar.folder-v3-toolbar .filter-label {
  color: var(--scry-text-secondary) !important;
}

body[data-bs-theme="dark"] .store-filters-toolbar.folder-v3-toolbar .toolbar-input,
body[data-bs-theme="dark"] .store-filters-toolbar.folder-v3-toolbar .toolbar-select-control,
html[data-theme="dark"] .store-filters-toolbar.folder-v3-toolbar .toolbar-input,
html[data-theme="dark"] .store-filters-toolbar.folder-v3-toolbar .toolbar-select-control {
  border-color: var(--scry-border-default) !important;
  color: var(--scry-text-primary) !important;
  background-color: var(--scry-surface-1) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .03) !important;
}

body[data-bs-theme="dark"] .store-filters-toolbar.folder-v3-toolbar .toolbar-input::placeholder,
html[data-theme="dark"] .store-filters-toolbar.folder-v3-toolbar .toolbar-input::placeholder {
  color: var(--scry-text-muted) !important;
}

body[data-bs-theme="dark"] .folder-v3-filter-toggle,
html[data-theme="dark"] .folder-v3-filter-toggle {
  border-color: var(--scry-border-default) !important;
  color: var(--scry-text-secondary) !important;
  background: var(--scry-surface-1) !important;
}

body[data-bs-theme="dark"] .folder-v3-filter-toggle:hover,
html[data-theme="dark"] .folder-v3-filter-toggle:hover {
  border-color: var(--scry-border-strong) !important;
  color: var(--scry-text-primary) !important;
  background: var(--scry-surface-2) !important;
}

body[data-bs-theme="dark"] .folder-v3-advanced-grid,
html[data-theme="dark"] .folder-v3-advanced-grid {
  border-color: var(--scry-border-default) !important;
}

body:not(.scry-admin-sc2) .folder-v3-group,
body:not(.scry-admin-sc2) .folder-v3-empty {
  border-color: var(--scry-border-soft) !important;
  background: var(--scry-public-panel) !important;
  color: var(--scry-text-primary) !important;
}

body:not(.scry-admin-sc2) .folder-v3-group-heading h3 {
  color: var(--scry-text-primary) !important;
}

body:not(.scry-admin-sc2) .folder-v3-group-heading span,
body:not(.scry-admin-sc2) .folder-v3-empty {
  color: var(--scry-text-secondary) !important;
}

body:not(.scry-admin-sc2) .folder-v3-groups[data-folder-view="stacks"] .store-listing-card {
  border-color: transparent !important;
  background: transparent !important;
  box-shadow: 0 7px 18px rgba(15, 23, 42, .12) !important;
}

body:not(.scry-admin-sc2) .folder-v3-groups[data-folder-view="stacks"] .store-listing-thumb {
  background: transparent !important;
}

body:not(.scry-admin-sc2) .folder-v3-groups[data-folder-view="stacks"] .store-listing-card:hover,
body:not(.scry-admin-sc2) .folder-v3-groups[data-folder-view="stacks"] .store-listing-card:focus-within {
  border-color: transparent !important;
  box-shadow: 0 10px 24px rgba(15, 23, 42, .18) !important;
  transform: none !important;
}

body:not(.scry-admin-sc2) .folder-v3-groups[data-folder-view="stacks"] .store-listing-title,
body:not(.scry-admin-sc2) .folder-v3-groups[data-folder-view="stacks"] .store-listing-title a,
body:not(.scry-admin-sc2) .folder-v3-groups[data-folder-view="stacks"] .store-listing-price {
  color: #f8fafc !important;
}

body:not(.scry-admin-sc2) .folder-v3-groups[data-folder-view="stacks"] .store-listing-meta,
body:not(.scry-admin-sc2) .folder-v3-groups[data-folder-view="stacks"] .store-listing-stock {
  color: #cbd5e1 !important;
}

body:not(.scry-admin-sc2) .folder-v3-groups[data-folder-view="stacks"] .store-listing-cart-btn {
  border-color: rgba(94, 234, 212, .3) !important;
  color: #5eead4 !important;
  background: rgba(15, 118, 110, .5) !important;
}

body:not(.scry-admin-sc2) .folder-v3-groups[data-folder-view="stacks"] .store-listing-cart-btn:hover,
body:not(.scry-admin-sc2) .folder-v3-groups[data-folder-view="stacks"] .store-listing-cart-btn:focus {
  border-color: rgba(94, 234, 212, .55) !important;
  color: #fff !important;
  background: rgba(13, 148, 136, .72) !important;
}

body[data-bs-theme="dark"] .folder-v3-groups[data-folder-view="stacks"] .store-listing-card,
html[data-theme="dark"] .folder-v3-groups[data-folder-view="stacks"] .store-listing-card {
  box-shadow: 0 8px 20px rgba(2, 6, 23, .36) !important;
}

body[data-bs-theme="dark"] .folder-v3-groups[data-folder-view="stacks"] .store-listing-thumb img,
html[data-theme="dark"] .folder-v3-groups[data-folder-view="stacks"] .store-listing-thumb img {
  border-color: rgba(148, 163, 184, .22) !important;
}

body[data-bs-theme="dark"] .folder-v2-view-switch,
html[data-theme="dark"] .folder-v2-view-switch {
  border-color: var(--scry-border-default) !important;
  background: var(--scry-surface-0) !important;
  box-shadow: 0 8px 20px rgba(2, 6, 23, .2) !important;
}

body[data-bs-theme="dark"] .folder-v2-view-button,
html[data-theme="dark"] .folder-v2-view-button {
  color: var(--scry-text-secondary) !important;
}

body[data-bs-theme="dark"] .folder-v2-view-button:hover,
html[data-theme="dark"] .folder-v2-view-button:hover {
  color: var(--scry-text-primary) !important;
  background: var(--scry-surface-2) !important;
}

body[data-bs-theme="dark"] .folder-v2-view-button.is-active,
html[data-theme="dark"] .folder-v2-view-button.is-active {
  border-color: rgba(94, 234, 212, .28) !important;
  color: #5eead4 !important;
  background: rgba(45, 212, 191, .1) !important;
}

body[data-bs-theme="dark"] .folder-v2-cards .store-listing-edition span + span,
html[data-theme="dark"] .folder-v2-cards .store-listing-edition span + span {
  border-color: var(--scry-border-default) !important;
  color: var(--scry-text-primary) !important;
  background: var(--scry-surface-2) !important;
}

body:not(.scry-admin-sc2) .folder-v2-cards[data-folder-view="list"] .store-listing-card:hover,
body:not(.scry-admin-sc2) .folder-v2-cards[data-folder-view="list"] .store-listing-card:focus-within {
  transform: none !important;
}

/* Carrito lateral agrupado por tienda */
.scry-offcanvas-cart {
  border-left-color: var(--scry-border-default);
  background: var(--scry-surface-0);
  color: var(--scry-text-primary);
  box-shadow: -18px 0 44px rgba(15, 23, 42, .14);
}

.scry-cart-header {
  border-bottom: 1px solid var(--scry-border-default);
  background: var(--scry-surface-0);
}

.scry-cart-heading small,
.scry-cart-store-identity span,
.scry-cart-store-subtotal span,
.scry-cart-item__meta,
.scry-cart-item__original,
.scry-cart-empty__copy,
.scry-cart-suggestion__meta,
.scry-cart-state {
  color: var(--scry-text-secondary);
}

.scry-cart-store-header {
  border-color: var(--scry-border-soft);
  color: var(--scry-text-primary);
}

.scry-cart-item + .scry-cart-item,
.scry-cart-suggestion + .scry-cart-suggestion {
  border-color: var(--scry-border-default);
}

.scry-cart-item__img,
.scry-cart-suggestion__image {
  background: var(--scry-surface-3);
}

.scry-cart-item__name,
.scry-cart-item__price,
.scry-cart-suggestion__name,
.scry-cart-suggestion__price {
  color: var(--scry-text-primary);
}

.scry-cart-item__remove,
.scry-cart-store-clear,
.checkout-store-remove {
  background: transparent;
  color: var(--scry-danger-text);
}

.checkout-store-avatar {
  border-color: var(--scry-border-strong);
  background: var(--scry-surface-1);
}

.scry-cart-item__remove:hover,
.scry-cart-item__remove:focus-visible {
  background: var(--scry-danger-bg);
  color: var(--scry-danger-text);
}

.scry-cart-store-clear:hover,
.scry-cart-store-clear:focus-visible,
.checkout-store-remove:hover,
.checkout-store-remove:focus-visible {
  background: var(--scry-danger-bg);
  color: var(--scry-danger-text);
}

.checkout-store-remove--link:hover,
.checkout-store-remove--link:focus-visible {
  background: transparent;
  color: var(--scry-danger-text);
}

.checkout-store-remove--link:hover {
  text-decoration-thickness: 2px;
}

.checkout-store-remove--secondary {
  border-color: var(--scry-border-strong);
  background: var(--scry-surface-1);
  color: var(--scry-text-secondary);
}

.checkout-store-remove--secondary:hover,
.checkout-store-remove--secondary:focus-visible {
  border-color: var(--scry-accent-primary);
  background: var(--scry-accent-primary-soft);
  color: var(--scry-accent-primary-strong);
}

.checkout-store-delivery__label {
  color: var(--scry-text-secondary);
}

.checkout-store-delivery__status--available {
  border-color: var(--scry-accent-primary);
  background: var(--scry-accent-primary-soft);
  color: var(--scry-accent-primary-strong);
}

.checkout-store-delivery__status--unavailable {
  border-color: var(--scry-border-strong);
  background: var(--scry-surface-1);
  color: var(--scry-text-secondary);
}

button.checkout-store-delivery__status--available:hover,
button.checkout-store-delivery__status--available:focus-visible {
  border-color: var(--scry-accent-primary);
  background: rgba(var(--scry-accent-primary-soft-rgb), 0.56);
  color: var(--scry-accent-primary-strong);
  box-shadow: 0 0 0 3px rgba(var(--scry-accent-primary-soft-rgb), 0.28);
  outline: 0;
}

.checkout-store-pickup-modal__intro,
.checkout-store-pickup-modal__item small {
  color: var(--scry-text-secondary);
}

.checkout-store-pickup-modal__item {
  border-color: var(--scry-border-soft);
}

.checkout-store-pickup-modal__item > i {
  border-color: var(--scry-border-strong);
  background: var(--scry-accent-primary-soft);
  color: var(--scry-accent-primary-strong);
}

.checkout-store-pickup-modal__item strong {
  color: var(--scry-text-primary);
}

.scry-cart-item.is-added {
  border-radius: var(--scry-radius-sm);
  background: rgba(var(--scry-accent-primary-soft-rgb), .18);
}

.scry-cart-footer {
  border-color: var(--scry-border-default);
  background: var(--scry-surface-0);
  box-shadow: 0 -12px 28px rgba(2, 6, 23, .08);
}

.scry-cart-shipping-note {
  color: var(--scry-text-secondary);
}

.scry-cart-footer-summary span {
  color: var(--scry-text-secondary);
}

.scry-cart-footer-summary strong {
  color: var(--scry-text-primary);
}

.scry-cart-checkout {
  border-color: var(--scry-cta-primary-border) !important;
  background: var(--scry-cta-primary-bg) !important;
  color: var(--scry-cta-primary-text) !important;
}

.scry-cart-checkout:hover,
.scry-cart-checkout:focus-visible {
  border-color: var(--scry-cta-primary-border) !important;
  color: var(--scry-cta-primary-text) !important;
  filter: brightness(1.04);
}

.scry-cart-clear-link {
  background: transparent;
  color: var(--scry-danger-text);
}

.scry-cart-clear-link:hover,
.scry-cart-clear-link:focus-visible {
  background: var(--scry-danger-bg);
  color: var(--scry-danger-text);
}

.scry-cart-suggestions__header {
  border-color: var(--scry-border-soft);
}

.scry-cart-suggestions__refresh {
  background: transparent;
  color: var(--scry-accent-primary-strong);
}

.scry-cart-suggestions__refresh:hover,
.scry-cart-suggestions__refresh:focus-visible {
  background: var(--scry-accent-primary-soft);
  color: var(--scry-accent-primary-strong);
}

.scry-cart-suggestion__add {
  border-color: var(--scry-border-strong);
  background: var(--scry-accent-primary-soft);
  color: var(--scry-accent-primary-strong);
}

.scry-cart-suggestion__add:hover,
.scry-cart-suggestion__add:focus-visible {
  border-color: var(--scry-accent-primary);
  background: rgba(var(--scry-accent-primary-soft-rgb), .3);
  color: var(--scry-accent-primary-strong);
}

.scry-cart-state a,
.scry-cart-state button {
  background: var(--scry-accent-primary-soft);
  color: var(--scry-accent-primary-strong);
  text-decoration: none;
}

.scry-cart-state--error strong {
  color: var(--scry-danger-text);
}

.scry-cart-item__remove:focus-visible,
.scry-cart-store-clear:focus-visible,
.checkout-store-remove:focus-visible,
.scry-cart-clear-link:focus-visible,
.scry-cart-suggestions__refresh:focus-visible,
.scry-cart-suggestion__add:focus-visible,
.scry-cart-state a:focus-visible,
.scry-cart-state button:focus-visible {
  outline: 3px solid rgba(var(--scry-accent-primary-soft-rgb), .48);
  outline-offset: 2px;
}

body[data-bs-theme="dark"] .scry-offcanvas-cart,
[data-bs-theme="dark"] .scry-offcanvas-cart {
  box-shadow: -20px 0 52px rgba(2, 6, 23, .48);
}

body[data-bs-theme="dark"] .scry-offcanvas-cart .btn-close,
[data-bs-theme="dark"] .scry-offcanvas-cart .btn-close {
  filter: invert(1) grayscale(100%) brightness(180%);
}

body[data-bs-theme="dark"] .scry-cart-footer,
[data-bs-theme="dark"] .scry-cart-footer {
  box-shadow: 0 -12px 28px rgba(2, 6, 23, .34);
}

body[data-bs-theme="dark"] .home-commander-lookup__field,
[data-bs-theme="dark"] .home-commander-lookup__field,
body[data-bs-theme="dark"] .edh-results__filter-wrap,
[data-bs-theme="dark"] .edh-results__filter-wrap,
body[data-bs-theme="dark"] .edh-type-filter,
[data-bs-theme="dark"] .edh-type-filter,
body[data-bs-theme="dark"] .edh-rarity-filter,
[data-bs-theme="dark"] .edh-rarity-filter,
body[data-bs-theme="dark"] .edh-organization-toggle__button,
[data-bs-theme="dark"] .edh-organization-toggle__button,
body[data-bs-theme="dark"] .edh-card-group,
[data-bs-theme="dark"] .edh-card-group,
body[data-bs-theme="dark"] .edh-store-group,
[data-bs-theme="dark"] .edh-store-group {
  border-color: rgba(93, 122, 156, .28);
  background: #172132;
  box-shadow: 0 10px 24px rgba(2, 6, 23, .25);
}

body[data-bs-theme="dark"] .home-commander-edhrec,
[data-bs-theme="dark"] .home-commander-edhrec { color: #b6c4d4; }

body[data-bs-theme="dark"] .home-commander-edhrec:hover,
[data-bs-theme="dark"] .home-commander-edhrec:hover { color: #8be7dd; }

body[data-bs-theme="dark"] .home-commander-edhrec img,
[data-bs-theme="dark"] .home-commander-edhrec img { filter: invert(1) grayscale(1) brightness(1.85); }

body[data-bs-theme="dark"] .edh-workshop__topbar h1,
[data-bs-theme="dark"] .edh-workshop__topbar h1,
body[data-bs-theme="dark"] .edh-workshop__heading h2,
[data-bs-theme="dark"] .edh-workshop__heading h2 { color: #e8f0f8; }

body[data-bs-theme="dark"] .edh-workshop__panel,
[data-bs-theme="dark"] .edh-workshop__panel {
  border-color: rgba(79, 213, 199, .26);
  background: linear-gradient(135deg, #1b2a3d, #111827 68%);
  box-shadow: 0 10px 24px rgba(2, 6, 23, .25);
}

body[data-bs-theme="dark"] .edh-workshop__heading p,
[data-bs-theme="dark"] .edh-workshop__heading p,
body[data-bs-theme="dark"] .edh-workshop__form label,
[data-bs-theme="dark"] .edh-workshop__form label,
body[data-bs-theme="dark"] .edh-workshop__hint,
[data-bs-theme="dark"] .edh-workshop__hint,
body[data-bs-theme="dark"] .edh-workshop__source,
[data-bs-theme="dark"] .edh-workshop__source { color: #b6c4d4; }

body[data-bs-theme="dark"] .edh-workshop__source:hover,
[data-bs-theme="dark"] .edh-workshop__source:hover { color: #8be7dd; }

body[data-bs-theme="dark"] .edh-workshop__source img,
[data-bs-theme="dark"] .edh-workshop__source img { filter: invert(1) grayscale(1) brightness(1.85); }

body[data-bs-theme="dark"] .edh-workshop__form .form-control,
[data-bs-theme="dark"] .edh-workshop__form .form-control {
  border-color: rgba(79, 213, 199, .3);
  background: #172132;
  color: #e8f0f8;
}

body[data-bs-theme="dark"] .edh-workshop__form .form-control::placeholder,
[data-bs-theme="dark"] .edh-workshop__form .form-control::placeholder { color: #a8b8c8; }


body[data-bs-theme="dark"] .edh-results__commander,
[data-bs-theme="dark"] .edh-results__commander {
  border-color: rgba(79, 213, 199, .26);
  background: linear-gradient(135deg, #1b2a3d, #111827 68%);
}

body[data-bs-theme="dark"] .edh-results__source,
[data-bs-theme="dark"] .edh-results__source {
  border-color: rgba(139, 231, 221, .34);
  background: #f7fffd;
  color: #4c6273;
  box-shadow: 0 10px 24px rgba(2, 6, 23, .34);
}

body[data-bs-theme="dark"] .edh-results__source:hover,
[data-bs-theme="dark"] .edh-results__source:hover { background: #dff9f4; color: #1f2937; }

body[data-bs-theme="dark"] .footer-partner-pill,
[data-bs-theme="dark"] .footer-partner-pill { border-color: rgba(93, 122, 156, .28); background: #f7fffd; }

body[data-bs-theme="dark"] .edh-results__commander h1,
[data-bs-theme="dark"] .edh-results__commander h1,
body[data-bs-theme="dark"] .edh-card-group__title,
[data-bs-theme="dark"] .edh-card-group__title,
body[data-bs-theme="dark"] .edh-store-group__title,
[data-bs-theme="dark"] .edh-store-group__title,
body[data-bs-theme="dark"] .edh-listing__name,
[data-bs-theme="dark"] .edh-listing__name,
body[data-bs-theme="dark"] .edh-results__filter-wrap input,
[data-bs-theme="dark"] .edh-results__filter-wrap input {
  color: #e8f0f8;
}

body[data-bs-theme="dark"] .edh-results__description,
[data-bs-theme="dark"] .edh-results__description,
body[data-bs-theme="dark"] .edh-results__meta,
[data-bs-theme="dark"] .edh-results__meta,
body[data-bs-theme="dark"] .edh-results__filter-status,
[data-bs-theme="dark"] .edh-results__filter-status,
body[data-bs-theme="dark"] .edh-card-group__count,
[data-bs-theme="dark"] .edh-card-group__count,
body[data-bs-theme="dark"] .edh-listing__type,
[data-bs-theme="dark"] .edh-listing__type,
body[data-bs-theme="dark"] .edh-listing__store,
[data-bs-theme="dark"] .edh-listing__store {
  color: #b6c4d4;
}

body[data-bs-theme="dark"] .edh-listing__edhrec,
[data-bs-theme="dark"] .edh-listing__edhrec { color: #8be7dd; }

body[data-bs-theme="dark"] .edh-card-group__recommendation,
[data-bs-theme="dark"] .edh-card-group__recommendation {
  border-color: rgba(79, 213, 199, .32);
  background: rgba(79, 213, 199, .12);
  color: #8be7dd;
}

body[data-bs-theme="dark"] .edh-type-filter,
[data-bs-theme="dark"] .edh-type-filter,
body[data-bs-theme="dark"] .edh-rarity-filter,
[data-bs-theme="dark"] .edh-rarity-filter,
body[data-bs-theme="dark"] .edh-organization-toggle__button,
[data-bs-theme="dark"] .edh-organization-toggle__button { color: #c9d5e2; }
body[data-bs-theme="dark"] .edh-type-filter:hover,
[data-bs-theme="dark"] .edh-type-filter:hover,
body[data-bs-theme="dark"] .edh-type-filter.is-active,
[data-bs-theme="dark"] .edh-type-filter.is-active,
body[data-bs-theme="dark"] .edh-rarity-filter:hover,
[data-bs-theme="dark"] .edh-rarity-filter:hover,
body[data-bs-theme="dark"] .edh-rarity-filter.is-active,
[data-bs-theme="dark"] .edh-rarity-filter.is-active,
body[data-bs-theme="dark"] .edh-organization-toggle__button:hover,
[data-bs-theme="dark"] .edh-organization-toggle__button:hover,
body[data-bs-theme="dark"] .edh-organization-toggle__button.is-active,
[data-bs-theme="dark"] .edh-organization-toggle__button.is-active,
body[data-bs-theme="dark"] .edh-listing:hover,
[data-bs-theme="dark"] .edh-listing:hover,
body[data-bs-theme="dark"] .edh-card-group__more,
[data-bs-theme="dark"] .edh-card-group__more {
  border-color: rgba(79, 213, 199, .32);
  background: rgba(79, 213, 199, .12);
  color: #8be7dd;
}

body[data-bs-theme="dark"] .edh-listing__cart,
[data-bs-theme="dark"] .edh-listing__cart {
  border-color: rgba(79, 213, 199, .34);
  background: rgba(79, 213, 199, .12);
  color: #8be7dd;
}

body[data-bs-theme="dark"] .edh-card-grid,
[data-bs-theme="dark"] .edh-card-grid,
body[data-bs-theme="dark"] .edh-recommendation-card,
[data-bs-theme="dark"] .edh-recommendation-card,
body[data-bs-theme="dark"] .edh-listing,
[data-bs-theme="dark"] .edh-listing,
body[data-bs-theme="dark"] .edh-listing:nth-child(odd),
[data-bs-theme="dark"] .edh-listing:nth-child(odd) {
  border-color: rgba(93, 122, 156, .2);
}

body[data-bs-theme="dark"] .edh-recommendation-card,
[data-bs-theme="dark"] .edh-recommendation-card { background: #172132; }

body[data-bs-theme="dark"] .edh-offers-modal,
[data-bs-theme="dark"] .edh-offers-modal {
  opacity: 1 !important;
  background-color: #172132 !important;
  color: #e8f0f8;
  box-shadow: 0 18px 42px rgba(2, 6, 23, .48) !important;
}

body[data-bs-theme="dark"] .edh-offers-modal .modal-body,
[data-bs-theme="dark"] .edh-offers-modal .modal-body { background-color: #172132; }

body[data-bs-theme="dark"] .edh-recommendation-card__body h3,
[data-bs-theme="dark"] .edh-recommendation-card__body h3,
body[data-bs-theme="dark"] .edh-offer__body > strong,
[data-bs-theme="dark"] .edh-offer__body > strong { color: #e8f0f8; }

body[data-bs-theme="dark"] .edh-recommendation-card__type,
[data-bs-theme="dark"] .edh-recommendation-card__type,
body[data-bs-theme="dark"] .edh-recommendation-card__availability,
[data-bs-theme="dark"] .edh-recommendation-card__availability,
body[data-bs-theme="dark"] .edh-offer__body > span,
[data-bs-theme="dark"] .edh-offer__body > span,
body[data-bs-theme="dark"] .edh-offer__edition,
[data-bs-theme="dark"] .edh-offer__edition { color: #b6c4d4; }

body[data-bs-theme="dark"] .edh-recommendation-card__offers,
[data-bs-theme="dark"] .edh-recommendation-card__offers { border-color: rgba(79, 213, 199, .34); background: rgba(79, 213, 199, .12); color: #8be7dd; }

body[data-bs-theme="dark"] .edh-store-group__types,
[data-bs-theme="dark"] .edh-store-group__types,
body[data-bs-theme="dark"] .edh-store-type + .edh-store-type,
[data-bs-theme="dark"] .edh-store-type + .edh-store-type {
  border-color: rgba(93, 122, 156, .2);
}

body[data-bs-theme="dark"] .edh-store-type__header,
[data-bs-theme="dark"] .edh-store-type__header { background: rgba(2, 6, 23, .18); color: #dbe7f3; }

body[data-bs-theme="dark"] .scry-card-editor .bg-white,
[data-bs-theme="dark"] .scry-card-editor .bg-white {
  background: var(--scry-surface-2) !important;
  color: var(--scry-text-primary);
}

body[data-bs-theme="dark"] .scry-card-editor #card_image_source_badge.text-bg-light,
[data-bs-theme="dark"] .scry-card-editor #card_image_source_badge.text-bg-light {
  background: var(--scry-surface-2) !important;
  color: var(--scry-text-primary) !important;
  border-color: var(--scry-border-default) !important;
}

body[data-bs-theme="dark"] .hobbit-giveaway__hero-copy,
[data-bs-theme="dark"] .hobbit-giveaway__hero-copy {
  background: linear-gradient(135deg, #182b20 0%, #122218 100%);
}

body[data-bs-theme="dark"] .hobbit-giveaway__hero,
body[data-bs-theme="dark"] .hobbit-giveaway__how-to,
body[data-bs-theme="dark"] .hobbit-giveaway__closing,
[data-bs-theme="dark"] .hobbit-giveaway__hero,
[data-bs-theme="dark"] .hobbit-giveaway__how-to,
[data-bs-theme="dark"] .hobbit-giveaway__closing {
  border-color: rgba(216, 199, 111, .24);
  background: var(--scry-surface-elevated);
  box-shadow: var(--scry-shadow-md);
}

body[data-bs-theme="dark"] .hobbit-giveaway h1,
body[data-bs-theme="dark"] .hobbit-giveaway h2,
body[data-bs-theme="dark"] .hobbit-giveaway__steps strong,
[data-bs-theme="dark"] .hobbit-giveaway h1,
[data-bs-theme="dark"] .hobbit-giveaway h2,
[data-bs-theme="dark"] .hobbit-giveaway__steps strong {
  color: var(--scry-text-primary);
}

body[data-bs-theme="dark"] .hobbit-giveaway__lead,
body[data-bs-theme="dark"] .hobbit-giveaway__section-heading p,
body[data-bs-theme="dark"] .hobbit-giveaway__steps span:not(.hobbit-giveaway__step-number),
body[data-bs-theme="dark"] .hobbit-giveaway__closing p,
[data-bs-theme="dark"] .hobbit-giveaway__lead,
[data-bs-theme="dark"] .hobbit-giveaway__section-heading p,
[data-bs-theme="dark"] .hobbit-giveaway__steps span:not(.hobbit-giveaway__step-number),
[data-bs-theme="dark"] .hobbit-giveaway__closing p {
  color: var(--scry-text-secondary);
}

body[data-bs-theme="dark"] .hobbit-giveaway a,
[data-bs-theme="dark"] .hobbit-giveaway a {
  color: #9ade9e;
}

body[data-bs-theme="dark"] .hobbit-giveaway__deadline,
[data-bs-theme="dark"] .hobbit-giveaway__deadline {
  border-color: rgba(232, 206, 124, .34);
  background: #2f351c;
  color: #f7efbd;
}

body[data-bs-theme="dark"] .hobbit-giveaway__deadline i,
[data-bs-theme="dark"] .hobbit-giveaway__deadline i {
  color: #f4d768;
}

body[data-bs-theme="dark"] .hobbit-giveaway__steps li,
[data-bs-theme="dark"] .hobbit-giveaway__steps li {
  border-color: var(--scry-border-default);
  background: var(--scry-surface-0);
}

body[data-bs-theme="dark"] .hobbit-giveaway__closing,
[data-bs-theme="dark"] .hobbit-giveaway__closing {
  background: linear-gradient(135deg, #1d3424, #16271b);
}

body[data-bs-theme="dark"] .hobbit-giveaway__secondary-action,
[data-bs-theme="dark"] .hobbit-giveaway__secondary-action {
  border-color: #8ed38e;
  background: transparent;
  color: #9ade9e;
}

body[data-bs-theme="dark"] .hobbit-giveaway__secondary-action:hover,
body[data-bs-theme="dark"] .hobbit-giveaway__secondary-action:focus,
[data-bs-theme="dark"] .hobbit-giveaway__secondary-action:hover,
[data-bs-theme="dark"] .hobbit-giveaway__secondary-action:focus {
  border-color: #b5e9ab;
  background: rgba(142, 211, 142, .12);
  color: #b5e9ab;
}

body[data-bs-theme="dark"] a.scry-bundle-hobbit-top-banner,
body[data-bs-theme="dark"] a.scry-bundle-hobbit-top-banner:hover,
body[data-bs-theme="dark"] a.scry-bundle-hobbit-top-banner:focus,
[data-bs-theme="dark"] a.scry-bundle-hobbit-top-banner,
[data-bs-theme="dark"] a.scry-bundle-hobbit-top-banner:hover,
[data-bs-theme="dark"] a.scry-bundle-hobbit-top-banner:focus {
  color: #ffffff;
}

body[data-bs-theme="dark"] .hobbit-giveaway--bundle,
[data-bs-theme="dark"] .hobbit-giveaway--bundle {
  --bundle-surface: #151e24;
  --bundle-surface-raised: #202c34;
  --bundle-ink: #f5f9fb;
  --bundle-muted: #c3d3dc;
  --bundle-accent: #8adbf3;
}

body[data-bs-theme="dark"] .hobbit-giveaway--bundle .hobbit-giveaway__hero-copy,
[data-bs-theme="dark"] .hobbit-giveaway--bundle .hobbit-giveaway__hero-copy {
  background: #151e24;
}

body[data-bs-theme="dark"] .hobbit-giveaway--bundle .hobbit-giveaway__hero,
body[data-bs-theme="dark"] .hobbit-giveaway--bundle .hobbit-giveaway__how-to,
body[data-bs-theme="dark"] .hobbit-giveaway--bundle .hobbit-giveaway__closing,
[data-bs-theme="dark"] .hobbit-giveaway--bundle .hobbit-giveaway__hero,
[data-bs-theme="dark"] .hobbit-giveaway--bundle .hobbit-giveaway__how-to,
[data-bs-theme="dark"] .hobbit-giveaway--bundle .hobbit-giveaway__closing {
  border-color: #344a55;
  background: var(--bundle-surface);
}

body[data-bs-theme="dark"] .hobbit-giveaway--bundle h1,
body[data-bs-theme="dark"] .hobbit-giveaway--bundle h2,
body[data-bs-theme="dark"] .hobbit-giveaway--bundle .hobbit-giveaway__steps strong,
[data-bs-theme="dark"] .hobbit-giveaway--bundle h1,
[data-bs-theme="dark"] .hobbit-giveaway--bundle h2,
[data-bs-theme="dark"] .hobbit-giveaway--bundle .hobbit-giveaway__steps strong {
  color: var(--bundle-ink);
}

body[data-bs-theme="dark"] .hobbit-giveaway--bundle .hobbit-giveaway__lead,
body[data-bs-theme="dark"] .hobbit-giveaway--bundle .hobbit-giveaway__section-heading p,
body[data-bs-theme="dark"] .hobbit-giveaway--bundle .hobbit-giveaway__steps span:not(.hobbit-giveaway__step-number),
body[data-bs-theme="dark"] .hobbit-giveaway--bundle .hobbit-giveaway__closing p,
[data-bs-theme="dark"] .hobbit-giveaway--bundle .hobbit-giveaway__lead,
[data-bs-theme="dark"] .hobbit-giveaway--bundle .hobbit-giveaway__section-heading p,
[data-bs-theme="dark"] .hobbit-giveaway--bundle .hobbit-giveaway__steps span:not(.hobbit-giveaway__step-number),
[data-bs-theme="dark"] .hobbit-giveaway--bundle .hobbit-giveaway__closing p {
  color: var(--bundle-muted);
}

body[data-bs-theme="dark"] .hobbit-giveaway--bundle a:not(.btn):not(.hobbit-giveaway__profile),
[data-bs-theme="dark"] .hobbit-giveaway--bundle a:not(.btn):not(.hobbit-giveaway__profile) {
  color: var(--bundle-accent);
}

body[data-bs-theme="dark"] .hobbit-giveaway--bundle .hobbit-giveaway__deadline,
[data-bs-theme="dark"] .hobbit-giveaway--bundle .hobbit-giveaway__deadline {
  border-color: #3e6879;
  background: #20333d;
  color: #ecf7fb;
}

body[data-bs-theme="dark"] .hobbit-giveaway--bundle .hobbit-giveaway__deadline i,
[data-bs-theme="dark"] .hobbit-giveaway--bundle .hobbit-giveaway__deadline i { color: var(--bundle-accent); }

body[data-bs-theme="dark"] .hobbit-giveaway--bundle .hobbit-giveaway__prize-panel,
[data-bs-theme="dark"] .hobbit-giveaway--bundle .hobbit-giveaway__prize-panel { background: #101920; }

body[data-bs-theme="dark"] .hobbit-giveaway--bundle .hobbit-giveaway__steps li,
[data-bs-theme="dark"] .hobbit-giveaway--bundle .hobbit-giveaway__steps li {
  border-color: #344a55;
  background: var(--bundle-surface-raised);
}

body[data-bs-theme="dark"] .hobbit-giveaway--bundle .hobbit-giveaway__profile,
[data-bs-theme="dark"] .hobbit-giveaway--bundle .hobbit-giveaway__profile {
  border-color: #426577;
  background: var(--bundle-surface-raised);
  color: var(--bundle-ink);
}

body[data-bs-theme="dark"] .hobbit-giveaway--bundle .hobbit-giveaway__profile:hover,
body[data-bs-theme="dark"] .hobbit-giveaway--bundle .hobbit-giveaway__profile:focus,
[data-bs-theme="dark"] .hobbit-giveaway--bundle .hobbit-giveaway__profile:hover,
[data-bs-theme="dark"] .hobbit-giveaway--bundle .hobbit-giveaway__profile:focus {
  background: #2c414c;
  color: var(--bundle-ink);
}

body[data-bs-theme="dark"] .hobbit-giveaway--bundle .hobbit-giveaway__step-number,
[data-bs-theme="dark"] .hobbit-giveaway--bundle .hobbit-giveaway__step-number {
  background: #8adbf3;
  color: #122d3a;
}

body[data-bs-theme="dark"] .hobbit-giveaway--bundle .hobbit-giveaway__closing,
[data-bs-theme="dark"] .hobbit-giveaway--bundle .hobbit-giveaway__closing {
  background: #1b2a33;
}

body[data-bs-theme="dark"] .hobbit-giveaway--bundle .hobbit-giveaway__primary-action,
[data-bs-theme="dark"] .hobbit-giveaway--bundle .hobbit-giveaway__primary-action {
  background: #8adbf3;
  color: #102c39;
}

body[data-bs-theme="dark"] .hobbit-giveaway--bundle .hobbit-giveaway__primary-action:hover,
body[data-bs-theme="dark"] .hobbit-giveaway--bundle .hobbit-giveaway__primary-action:focus,
[data-bs-theme="dark"] .hobbit-giveaway--bundle .hobbit-giveaway__primary-action:hover,
[data-bs-theme="dark"] .hobbit-giveaway--bundle .hobbit-giveaway__primary-action:focus {
  background: #b1ebfb;
  color: #102c39;
}

body[data-bs-theme="dark"] .hobbit-giveaway--bundle .hobbit-giveaway__secondary-action,
[data-bs-theme="dark"] .hobbit-giveaway--bundle .hobbit-giveaway__secondary-action {
  border-color: #8adbf3;
  background: transparent;
  color: var(--bundle-accent);
}

body[data-bs-theme="dark"] .hobbit-giveaway--bundle .hobbit-giveaway__secondary-action:hover,
body[data-bs-theme="dark"] .hobbit-giveaway--bundle .hobbit-giveaway__secondary-action:focus,
[data-bs-theme="dark"] .hobbit-giveaway--bundle .hobbit-giveaway__secondary-action:hover,
[data-bs-theme="dark"] .hobbit-giveaway--bundle .hobbit-giveaway__secondary-action:focus {
  background: #203b49;
  color: #c4f1ff;
}

body[data-bs-theme="dark"] .hobbit-giveaway--reality,
[data-bs-theme="dark"] .hobbit-giveaway--reality {
  --bundle-surface: #1e1832;
  --bundle-surface-raised: #2a2243;
  --bundle-ink: #f9f4ff;
  --bundle-muted: #d2c5e3;
  --bundle-accent: #c8adff;
}

body[data-bs-theme="dark"] .hobbit-giveaway--reality .hobbit-giveaway__hero-copy,
[data-bs-theme="dark"] .hobbit-giveaway--reality .hobbit-giveaway__hero-copy { background: #1e1832; }

body[data-bs-theme="dark"] .hobbit-giveaway--reality .hobbit-giveaway__hero,
body[data-bs-theme="dark"] .hobbit-giveaway--reality .hobbit-giveaway__how-to,
body[data-bs-theme="dark"] .hobbit-giveaway--reality .hobbit-giveaway__closing,
[data-bs-theme="dark"] .hobbit-giveaway--reality .hobbit-giveaway__hero,
[data-bs-theme="dark"] .hobbit-giveaway--reality .hobbit-giveaway__how-to,
[data-bs-theme="dark"] .hobbit-giveaway--reality .hobbit-giveaway__closing { border-color: #4b3c68; }

body[data-bs-theme="dark"] .hobbit-giveaway--reality .hobbit-giveaway__prize-panel,
[data-bs-theme="dark"] .hobbit-giveaway--reality .hobbit-giveaway__prize-panel { background: #171227; }

body[data-bs-theme="dark"] .hobbit-giveaway--reality .hobbit-giveaway__deadline,
[data-bs-theme="dark"] .hobbit-giveaway--reality .hobbit-giveaway__deadline {
  border-color: #715690;
  background: #30264c;
  color: #f9f4ff;
}

body[data-bs-theme="dark"] .hobbit-giveaway--reality .hobbit-giveaway__profile,
[data-bs-theme="dark"] .hobbit-giveaway--reality .hobbit-giveaway__profile {
  border-color: #715690;
  background: #2a2243;
  color: #f9f4ff;
}

body[data-bs-theme="dark"] .hobbit-giveaway--reality .hobbit-giveaway__profile:hover,
body[data-bs-theme="dark"] .hobbit-giveaway--reality .hobbit-giveaway__profile:focus,
[data-bs-theme="dark"] .hobbit-giveaway--reality .hobbit-giveaway__profile:hover,
[data-bs-theme="dark"] .hobbit-giveaway--reality .hobbit-giveaway__profile:focus {
  background: #3a2e59;
  color: #f9f4ff;
}

body[data-bs-theme="dark"] .hobbit-giveaway--reality .hobbit-giveaway__profile i,
[data-bs-theme="dark"] .hobbit-giveaway--reality .hobbit-giveaway__profile i {
  border-color: #9b7dca;
  background: #3a2e59;
  color: #decfff;
}

body[data-bs-theme="dark"] .hobbit-giveaway--reality .hobbit-giveaway__steps li,
[data-bs-theme="dark"] .hobbit-giveaway--reality .hobbit-giveaway__steps li { border-color: #4b3c68; }

body[data-bs-theme="dark"] .hobbit-giveaway--reality .hobbit-giveaway__step-number,
[data-bs-theme="dark"] .hobbit-giveaway--reality .hobbit-giveaway__step-number {
  background: #c8adff;
  color: #211739;
}

body[data-bs-theme="dark"] .hobbit-giveaway--reality .hobbit-giveaway__closing,
[data-bs-theme="dark"] .hobbit-giveaway--reality .hobbit-giveaway__closing { background: #261e3e; }

body[data-bs-theme="dark"] .hobbit-giveaway--reality .hobbit-giveaway__primary-action,
[data-bs-theme="dark"] .hobbit-giveaway--reality .hobbit-giveaway__primary-action {
  border-color: #c8adff;
  background: #c8adff;
  color: #211739;
}

body[data-bs-theme="dark"] .hobbit-giveaway--reality .hobbit-giveaway__primary-action:hover,
body[data-bs-theme="dark"] .hobbit-giveaway--reality .hobbit-giveaway__primary-action:focus,
[data-bs-theme="dark"] .hobbit-giveaway--reality .hobbit-giveaway__primary-action:hover,
[data-bs-theme="dark"] .hobbit-giveaway--reality .hobbit-giveaway__primary-action:focus {
  background: #decfff;
  color: #211739;
}

body[data-bs-theme="dark"] .hobbit-giveaway--reality .hobbit-giveaway__secondary-action,
[data-bs-theme="dark"] .hobbit-giveaway--reality .hobbit-giveaway__secondary-action {
  border-color: #c8adff;
  color: #c8adff;
}

body[data-bs-theme="dark"] .hobbit-giveaway--reality .hobbit-giveaway__secondary-action:hover,
body[data-bs-theme="dark"] .hobbit-giveaway--reality .hobbit-giveaway__secondary-action:focus,
[data-bs-theme="dark"] .hobbit-giveaway--reality .hobbit-giveaway__secondary-action:hover,
[data-bs-theme="dark"] .hobbit-giveaway--reality .hobbit-giveaway__secondary-action:focus {
  background: #3a2e59;
  color: #decfff;
}

body[data-bs-theme="dark"] .deckbuilder-results-wrap,
[data-bs-theme="dark"] .deckbuilder-results-wrap {
  border-color: var(--scry-border-default) !important;
  background: var(--scry-surface-0);
}

body[data-bs-theme="dark"] .deckbuilder-results-toolbar,
[data-bs-theme="dark"] .deckbuilder-results-toolbar {
  border-color: var(--scry-border-default);
}

body[data-bs-theme="dark"] .deckbuilder-store-sort-label,
[data-bs-theme="dark"] .deckbuilder-store-sort-label,
body[data-bs-theme="dark"] .deck-store-navigator__header div > span,
[data-bs-theme="dark"] .deck-store-navigator__header div > span,
body[data-bs-theme="dark"] .deck-store-navigator__header > span,
[data-bs-theme="dark"] .deck-store-navigator__header > span,
body[data-bs-theme="dark"] .deck-store-summary-card__meta,
[data-bs-theme="dark"] .deck-store-summary-card__meta {
  color: var(--scry-text-secondary);
}

body[data-bs-theme="dark"] .deck-store-navigator,
[data-bs-theme="dark"] .deck-store-navigator {
  border-color: rgba(79, 213, 199, .28);
  background: rgba(17, 24, 39, .72);
}

body[data-bs-theme="dark"] .deck-store-filters,
[data-bs-theme="dark"] .deck-store-filters {
  border-color: rgba(79, 213, 199, .24);
  background: rgba(7, 16, 24, .32);
}

body[data-bs-theme="dark"] .deck-store-filters__body,
[data-bs-theme="dark"] .deck-store-filters__body {
  border-color: rgba(79, 213, 199, .2);
}

body[data-bs-theme="dark"] .deck-store-filters summary,
[data-bs-theme="dark"] .deck-store-filters summary,
body[data-bs-theme="dark"] .deck-store-filter-empty strong,
[data-bs-theme="dark"] .deck-store-filter-empty strong {
  color: #e5edf5;
}

body[data-bs-theme="dark"] .deck-store-filters__methods legend,
[data-bs-theme="dark"] .deck-store-filters__methods legend,
body[data-bs-theme="dark"] .deck-store-filters__region > span,
[data-bs-theme="dark"] .deck-store-filters__region > span,
body[data-bs-theme="dark"] .deck-store-filters__footer,
[data-bs-theme="dark"] .deck-store-filters__footer,
body[data-bs-theme="dark"] .deck-store-filter-empty,
[data-bs-theme="dark"] .deck-store-filter-empty {
  color: var(--scry-text-secondary);
}

body[data-bs-theme="dark"] .deck-store-filter-option,
[data-bs-theme="dark"] .deck-store-filter-option {
  border-color: rgba(79, 213, 199, .24);
  background: #172132;
  color: #d7e2ef;
}

body[data-bs-theme="dark"] .deck-store-filter-empty,
[data-bs-theme="dark"] .deck-store-filter-empty {
  border-color: rgba(79, 213, 199, .36);
}

body[data-bs-theme="dark"] .deck-store-navigator__header strong,
[data-bs-theme="dark"] .deck-store-navigator__header strong,
body[data-bs-theme="dark"] .deck-store-summary-card,
[data-bs-theme="dark"] .deck-store-summary-card {
  color: #e5edf5;
}

body[data-bs-theme="dark"] .deck-store-summary-card,
[data-bs-theme="dark"] .deck-store-summary-card {
  border-color: rgba(79, 213, 199, .24);
  background: #172132;
}

body[data-bs-theme="dark"] .deck-store-summary-card:hover,
[data-bs-theme="dark"] .deck-store-summary-card:hover {
  border-color: #4fd5c7;
  background: rgba(79, 213, 199, .14);
}

body[data-bs-theme="dark"] .deck-store-summary-card.is-active,
body[data-bs-theme="dark"] .deck-store-summary-card[aria-current="true"],
[data-bs-theme="dark"] .deck-store-summary-card.is-active,
[data-bs-theme="dark"] .deck-store-summary-card[aria-current="true"] {
  border-color: #4fd5c7;
  background: rgba(79, 213, 199, .2);
  box-shadow: inset 0 0 0 1px rgba(79, 213, 199, .2);
}

body[data-bs-theme="dark"] .deck-store-summary-card__coverage,
[data-bs-theme="dark"] .deck-store-summary-card__coverage,
body[data-bs-theme="dark"] .deck-store-avatar,
[data-bs-theme="dark"] .deck-store-avatar {
  border-color: rgba(79, 213, 199, .35);
  background: rgba(79, 213, 199, .14);
  color: #8be7dd;
}

body[data-bs-theme="dark"] .deck-store-scroll-top,
[data-bs-theme="dark"] .deck-store-scroll-top {
  border-color: rgba(79, 213, 199, .35);
  color: #8be7dd;
}

body[data-bs-theme="dark"] .deck-store-scroll-top:hover,
[data-bs-theme="dark"] .deck-store-scroll-top:hover {
  border-color: #4fd5c7;
  background: rgba(79, 213, 199, .14);
  color: #c4fff8;
}

body[data-bs-theme="dark"] .deck-store-cart-status,
[data-bs-theme="dark"] .deck-store-cart-status {
  color: #8be7dd;
}

body[data-bs-theme="dark"] .deck-store-selection-status,
[data-bs-theme="dark"] .deck-store-selection-status {
  color: #8be7dd;
}

body[data-bs-theme="dark"] .deck-store-empty,
[data-bs-theme="dark"] .deck-store-empty {
  color: #b8c6d6;
}

body[data-bs-theme="dark"] .deckbuilder-cart-loader__panel,
[data-bs-theme="dark"] .deckbuilder-cart-loader__panel {
  border-color: rgba(79, 213, 199, .36);
  background: #172132;
  color: #e5edf5;
  box-shadow: 0 18px 42px rgba(2, 6, 23, .48);
}

body[data-bs-theme="dark"] .deckbuilder-cart-loader__panel span:not(.spinner-border),
[data-bs-theme="dark"] .deckbuilder-cart-loader__panel span:not(.spinner-border) {
  color: #b8c6d6;
}

/* Acciones de pago: superficie tonal estable, con idéntica estructura entre temas. */
.payment-provider-button {
  --scry-payment-action-bg: #e8fdfb;
  --scry-payment-action-hover: #dcf8f4;
  --scry-payment-action-pressed: #d3f5f0;
}
[data-bs-theme="dark"] .payment-provider-button {
  --scry-payment-action-bg: #1a3e42;
  --scry-payment-action-hover: #204c4d;
  --scry-payment-action-pressed: #245453;
}


.scry-support-attention {
  background: var(--scry-surface-1);
  border-color: var(--scry-border-default);
  color: var(--scry-text-secondary);
}
.scry-support-attention__average { color: var(--scry-text-primary); }
.scry-support-attention--compact { background: transparent; }
.admin-footer-signature__support-hours { color: var(--scry-text-secondary) !important; }
/* Article states inherit the active backend/public palette without layout changes. */
.scry-articles-page .scry-article-status {
  color: var(--sc2-text, var(--scry-text-primary));
  background: var(--sc2-panel-soft, var(--scry-surface-2));
  border: 1px solid var(--sc2-line, var(--bs-border-color));
}

/* Confirmación de correo: controles compactos y una acción principal. */
.swal2-popup.scry-swal-shell.scry-swal-shipping-flow .swal2-title { padding-top: 1rem; }
.swal2-popup.scry-swal-shell.scry-swal-shipping-flow .swal2-html-container { margin-top: 0.75rem; }
.swal2-popup.scry-swal-shell.scry-swal-shipping-flow .scry-shipping-choice__option {
  margin-bottom: 0.5rem;
  padding: 0.65rem 0.75rem;
}
.swal2-popup.scry-swal-shell.scry-swal-shipping-flow .scry-swal-method-check { padding: 0.65rem 0.75rem; }
.swal2-popup.scry-swal-shell.scry-swal-shipping-flow .swal2-actions {
  flex-direction: column;
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  gap: 0.25rem;
}
.swal2-popup.scry-swal-shell.scry-swal-shipping-flow .swal2-actions .swal2-confirm {
  width: 100%;
  flex: none;
  white-space: normal;
}
.swal2-popup.scry-swal-shell.scry-swal-shipping-flow .swal2-actions .swal2-cancel {
  flex: none;
  min-height: 44px;
  padding: 0.4rem 0.75rem;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  color: var(--scry-text-secondary) !important;
  font-weight: 400 !important;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}


/* Activity center: theme changes color only; geometry lives in components. */
.scry-notice-bell { color: var(--scry-text-primary); background: var(--scry-surface-1); }
.scry-notice-bell:hover, .scry-notice-bell[aria-expanded="true"], .scry-notice-close:hover { color: var(--scry-text-primary); background: var(--scry-surface-3); }
.scry-notice-badge { background: var(--scry-text-primary); color: var(--scry-surface-0); }
.scry-notice-panel, .scry-notices-history { background: var(--scry-surface-0); color: var(--scry-text-primary); }
.scry-notice-tabs button { color: var(--scry-text-secondary); }
.scry-notice-tabs button:hover { color: var(--scry-text-primary); }
.scry-notice-tabs button[aria-selected="true"] { color: var(--scry-success-text); border-bottom-color: var(--scry-success-text); }
.scry-notice-close, .scry-notice-empty-title { color: var(--scry-text-primary); }
.scry-notice-row time, .scry-notice-read-state,
.scry-notice-empty p, .scry-notices-timezone, .scry-notices-footnote, .scry-notice-read { color: var(--scry-text-secondary); }
.scry-notice-row.is-unread { background: var(--scry-surface-2); }
.scry-notice-row.is-unread .scry-notice-read-state { color: var(--scry-success-text); }
.scry-notice-open, .scry-notice-history-link, .scry-notices-filters a { color: var(--scry-text-primary); }
.scry-notice-open:hover, .scry-notice-history-link:hover, .scry-notice-read:hover { color: var(--scry-success-text); }
.scry-notices-filters a[aria-current="page"] { border-bottom-color: var(--scry-success-text); color: var(--scry-success-text); }
.scry-notice-feedback:not(:empty) { color: var(--scry-info-text); background: var(--scry-info-bg); }
.scry-notice-loading { color: var(--scry-text-secondary); }
.scry-notice-loading span { background: var(--scry-surface-1); }
.scry-notice-panel ::selection, .scry-notices-page ::selection { background: var(--scry-accent-primary); color: var(--scry-text-primary); }

.scry-notice-category { color: var(--scry-text-secondary); }
.scry-notices-unread-filter { color: var(--scry-text-primary); }
.scry-notices-unread-filter[aria-current="page"] { color: var(--scry-success-text); text-decoration-thickness: 2px; }

.scry-notices-page-count { color: var(--scry-text-secondary); }
.scry-notices-first-page { color: var(--scry-text-primary); }

/* Specificity isolates the mobile header from legacy admin button skins. */
@media (max-width: 991.98px) {
  body .sb-topnav.navbar #sidebarToggle,
  body .sb-topnav.navbar .admin-topnav-logout,
  body .sb-topnav.navbar .scry-notice-bell { color: var(--scry-text-primary) !important; background: transparent; border: 1px solid transparent; box-shadow: none; }
  body .sb-topnav.navbar #sidebarToggle .admin-topnav-icon,
  body .sb-topnav.navbar #sidebarToggle svg,
  body .sb-topnav.navbar #sidebarToggle svg path { color: inherit !important; }
  body .sb-topnav.navbar #adminAddProducts { background: var(--scry-accent-primary); color: #10202a !important; border: 1px solid transparent; box-shadow: none; }
  body .sb-topnav.navbar #sidebarToggle:hover,
  body .sb-topnav.navbar #sidebarToggle[aria-expanded="true"],
  body .sb-topnav.navbar .scry-notice-bell:hover,
  body .sb-topnav.navbar .scry-notice-bell[aria-expanded="true"] { background: var(--scry-surface-3); }
  body .sb-topnav.navbar :focus-visible { outline: 3px solid var(--scry-info-text); outline-offset: 1px; box-shadow: none; }
  body .sb-topnav.navbar .admin-topnav-brand img { filter: none; }
}

.scry-notice-context { color: var(--scry-text-secondary); }
