2026-02-26 18:08:08 -05:00
|
|
|
/* --------------------------------------------------
|
2026-03-09 14:25:18 -04:00
|
|
|
Bootstrap Overrides
|
2026-02-26 18:08:08 -05:00
|
|
|
-------------------------------------------------- */
|
2026-03-01 20:04:35 -05:00
|
|
|
|
2026-03-04 17:02:17 -05:00
|
|
|
$grid-breakpoints: (
|
|
|
|
|
xs: 0,
|
|
|
|
|
sm: 576px,
|
|
|
|
|
md: 768px,
|
|
|
|
|
lg: 992px,
|
|
|
|
|
xl: 1200px,
|
|
|
|
|
xxl: 1400px,
|
|
|
|
|
xxxl: 1920px
|
|
|
|
|
) !default;
|
|
|
|
|
|
|
|
|
|
$container-max-widths: (
|
|
|
|
|
sm: 540px,
|
|
|
|
|
md: 720px,
|
|
|
|
|
lg: 960px,
|
|
|
|
|
xl: 1140px,
|
|
|
|
|
xxl: 1320px,
|
|
|
|
|
xxxl: 1840px
|
|
|
|
|
) !default;
|
|
|
|
|
|
2026-03-05 12:14:00 -05:00
|
|
|
@import "_bootstrap";
|
|
|
|
|
|
2026-03-18 13:31:56 -04:00
|
|
|
// ── Holofoil ──────────────────────────────────────────────────────────────
|
|
|
|
|
//@import "_holofoil-integration"; // also pulls in _card.scss
|
|
|
|
|
|
2026-03-05 12:14:00 -05:00
|
|
|
/* --------------------------------------------------
|
|
|
|
|
Root Variables
|
|
|
|
|
-------------------------------------------------- */
|
|
|
|
|
:root {
|
2026-03-09 14:25:18 -04:00
|
|
|
--total: 11;
|
|
|
|
|
--radius: 40px;
|
2026-03-05 12:14:00 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
html {
|
|
|
|
|
scroll-behavior: smooth;
|
|
|
|
|
}
|
|
|
|
|
|
2026-03-11 15:21:43 -04:00
|
|
|
/* --------------------------------------------------
|
|
|
|
|
View Transitions
|
|
|
|
|
-------------------------------------------------- */
|
|
|
|
|
@view-transition {
|
|
|
|
|
navigation: auto;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
::view-transition-group(card-image) {
|
|
|
|
|
animation-duration: 300ms;
|
|
|
|
|
animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
::view-transition-old(card-image),
|
|
|
|
|
::view-transition-new(card-image) {
|
|
|
|
|
width: 100%;
|
|
|
|
|
height: 100%;
|
|
|
|
|
object-fit: cover;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* Optional: fade everything else */
|
|
|
|
|
::view-transition-old(root),
|
|
|
|
|
::view-transition-new(root) {
|
|
|
|
|
animation-duration: 150ms;
|
|
|
|
|
}
|
|
|
|
|
|
2026-02-26 18:08:08 -05:00
|
|
|
/* --------------------------------------------------
|
|
|
|
|
Layout
|
|
|
|
|
-------------------------------------------------- */
|
|
|
|
|
.wrapper {
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
min-height: 100dvh !important;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.main {
|
|
|
|
|
flex: 1;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.footer {
|
|
|
|
|
margin-top: auto;
|
2026-02-23 07:53:57 -05:00
|
|
|
}
|
|
|
|
|
|
2026-02-26 18:08:08 -05:00
|
|
|
/* --------------------------------------------------
|
|
|
|
|
Energy Wheel
|
|
|
|
|
-------------------------------------------------- */
|
|
|
|
|
.energy-wheel {
|
2026-02-23 07:53:57 -05:00
|
|
|
position: relative;
|
|
|
|
|
width: calc(var(--radius) * 2);
|
|
|
|
|
height: calc(var(--radius) * 2);
|
2026-02-26 18:08:08 -05:00
|
|
|
margin: 5px 0 10px;
|
2026-02-23 07:53:57 -05:00
|
|
|
}
|
|
|
|
|
|
2026-02-26 18:08:08 -05:00
|
|
|
.energy-wheel-item {
|
2026-02-23 07:53:57 -05:00
|
|
|
position: absolute;
|
2026-02-26 18:08:08 -05:00
|
|
|
width: 25px;
|
|
|
|
|
height: 25px;
|
2026-02-23 07:53:57 -05:00
|
|
|
top: 50%;
|
|
|
|
|
left: 50%;
|
|
|
|
|
--angle: calc(360deg / var(--total) * var(--i));
|
2026-03-09 14:25:18 -04:00
|
|
|
transform: rotate(var(--angle)) translateX(var(--radius)) rotate(calc(-1 * var(--angle)));
|
2026-02-26 18:08:08 -05:00
|
|
|
|
2026-03-09 14:25:18 -04:00
|
|
|
&:first-of-type {
|
|
|
|
|
z-index: 100;
|
|
|
|
|
}
|
2026-02-26 18:08:08 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* --------------------------------------------------
|
|
|
|
|
Navbar & Icons
|
|
|
|
|
-------------------------------------------------- */
|
|
|
|
|
.navbar {
|
2026-02-28 20:47:32 -05:00
|
|
|
background-color: var(--bs-danger) !important;
|
2026-02-26 18:08:08 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.sticky-top {
|
|
|
|
|
position: sticky;
|
|
|
|
|
top: 0;
|
|
|
|
|
z-index: 1000;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.nav-icon {
|
|
|
|
|
width: 1.85rem;
|
|
|
|
|
height: 1.85rem;
|
|
|
|
|
|
|
|
|
|
> svg {
|
|
|
|
|
fill: hsla(210, 11%, 15%, 0.5);
|
|
|
|
|
stroke: hsla(210, 11%, 15%, 0.5);
|
|
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
|
fill: hsla(210, 11%, 15%, 1);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* --------------------------------------------------
|
|
|
|
|
Typography
|
|
|
|
|
-------------------------------------------------- */
|
2026-02-19 07:55:18 -05:00
|
|
|
.copy-small {
|
|
|
|
|
font-size: 0.75rem;
|
|
|
|
|
opacity: 0.87;
|
|
|
|
|
|
|
|
|
|
@media (min-width: 768px) {
|
|
|
|
|
font-size: 0.85rem;
|
|
|
|
|
}
|
|
|
|
|
@media (min-width: 1400px) {
|
|
|
|
|
font-size: 1rem;
|
|
|
|
|
}
|
2026-02-17 15:49:33 -05:00
|
|
|
}
|
|
|
|
|
|
2026-02-26 18:08:08 -05:00
|
|
|
/* --------------------------------------------------
|
|
|
|
|
Modal & Cards
|
|
|
|
|
-------------------------------------------------- */
|
2026-02-19 13:46:42 -05:00
|
|
|
.modal-xl {
|
2026-02-21 16:26:34 -05:00
|
|
|
@media (min-width: 768px) {
|
|
|
|
|
max-width: 95vw;
|
|
|
|
|
}
|
|
|
|
|
@media (min-width: 1400px) {
|
2026-02-26 18:08:08 -05:00
|
|
|
max-width: 85vw;
|
|
|
|
|
}
|
|
|
|
|
@media (min-width: 1921px) {
|
|
|
|
|
max-width: 75vw;
|
2026-02-21 16:26:34 -05:00
|
|
|
}
|
2026-02-19 13:46:42 -05:00
|
|
|
}
|
|
|
|
|
|
2026-02-25 14:12:11 -05:00
|
|
|
.image-grow {
|
2026-02-26 18:08:08 -05:00
|
|
|
transition: box-shadow 350ms ease, transform 350ms ease;
|
2026-03-18 14:53:10 -04:00
|
|
|
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.24);
|
2026-02-25 14:12:11 -05:00
|
|
|
|
2026-03-09 14:25:18 -04:00
|
|
|
&:hover,
|
|
|
|
|
&:focus {
|
2026-02-26 18:08:08 -05:00
|
|
|
box-shadow: 0 8px 10px rgba(0, 0, 0, 0.2);
|
2026-03-18 14:53:10 -04:00
|
|
|
transform: translateY(-0.9rem) scale(1.02);
|
2026-02-26 18:08:08 -05:00
|
|
|
}
|
2026-02-25 14:12:11 -05:00
|
|
|
}
|
|
|
|
|
|
2026-02-19 13:46:42 -05:00
|
|
|
.card-modal {
|
2026-02-21 16:26:34 -05:00
|
|
|
background-color: rgba(1, 11, 18, 0.8);
|
|
|
|
|
cursor: default;
|
2026-02-19 13:46:42 -05:00
|
|
|
}
|
|
|
|
|
|
2026-02-25 14:12:11 -05:00
|
|
|
.pokedex-page {
|
2026-02-23 17:04:45 -05:00
|
|
|
position: relative;
|
2026-02-25 18:47:33 -05:00
|
|
|
top: 50px;
|
2026-02-26 18:08:08 -05:00
|
|
|
z-index: 99;
|
|
|
|
|
|
2026-02-23 17:04:45 -05:00
|
|
|
@media (min-width: 768px) {
|
|
|
|
|
top: 100px !important;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2026-03-11 15:21:43 -04:00
|
|
|
.modal-nav-btn {
|
|
|
|
|
position: fixed;
|
|
|
|
|
top: 50%;
|
|
|
|
|
transform: translateY(-50%);
|
|
|
|
|
z-index: 1060; /* above modal backdrop (1050) */
|
|
|
|
|
background: rgba(255,255,255,0.1);
|
|
|
|
|
border: 1px solid rgba(255,255,255,0.2);
|
|
|
|
|
color: white;
|
|
|
|
|
border-radius: 50%;
|
|
|
|
|
width: 48px;
|
|
|
|
|
height: 48px;
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
transition: background 0.2s;
|
|
|
|
|
backdrop-filter: blur(4px);
|
|
|
|
|
}
|
|
|
|
|
.modal-nav-btn:hover { background: rgba(255,255,255,0.25); }
|
|
|
|
|
.modal-nav-btn.d-none { display: none !important; }
|
|
|
|
|
.modal-nav-prev { left: 12px; }
|
|
|
|
|
.modal-nav-next { right: 12px; }
|
|
|
|
|
|
|
|
|
|
@media (max-width: 768px) {
|
|
|
|
|
.modal-nav-btn { display: none !important; } /* use swipe on mobile */
|
|
|
|
|
}
|
|
|
|
|
|
2026-02-26 18:08:08 -05:00
|
|
|
/* --------------------------------------------------
|
2026-03-09 14:25:18 -04:00
|
|
|
Navigation Tabs & Tier Colors
|
2026-02-26 18:08:08 -05:00
|
|
|
-------------------------------------------------- */
|
2026-03-09 14:25:18 -04:00
|
|
|
|
2026-02-19 13:46:42 -05:00
|
|
|
.nav-link {
|
2026-02-21 16:26:34 -05:00
|
|
|
font-weight: 600;
|
|
|
|
|
color: rgba(255, 255, 255, 0.67);
|
|
|
|
|
transition:
|
|
|
|
|
margin-top 0.2s cubic-bezier(0.5, 0, 0.3, 1),
|
|
|
|
|
padding-top 0.2s cubic-bezier(0.5, 0, 0.3, 1),
|
|
|
|
|
padding-bottom 0.2s cubic-bezier(0.5, 0, 0.3, 1);
|
|
|
|
|
|
|
|
|
|
&:hover,
|
|
|
|
|
&:focus {
|
2026-02-19 13:46:42 -05:00
|
|
|
color: rgba(0, 0, 0, 0.87);
|
2026-02-21 16:26:34 -05:00
|
|
|
}
|
2026-02-19 13:46:42 -05:00
|
|
|
}
|
2026-02-21 16:26:34 -05:00
|
|
|
|
|
|
|
|
.nav-tabs {
|
|
|
|
|
.nav-link.active,
|
|
|
|
|
.nav-item.show .nav-link {
|
|
|
|
|
color: rgba(0, 0, 0, 0.94);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.nav-link:hover,
|
|
|
|
|
.nav-link:focus {
|
|
|
|
|
border-color: transparent;
|
|
|
|
|
}
|
2026-02-20 09:11:36 -05:00
|
|
|
}
|
2026-02-21 16:26:34 -05:00
|
|
|
|
|
|
|
|
$tiers: (
|
|
|
|
|
nm: rgba(156, 204, 102, 1),
|
|
|
|
|
lp: rgba(211, 225, 86, 1),
|
|
|
|
|
mp: rgba(255, 238, 87, 1),
|
|
|
|
|
hp: rgba(255, 201, 41, 1),
|
|
|
|
|
dmg: rgba(255, 167, 36, 1),
|
|
|
|
|
vendor: hsl(262, 47%, 55%)
|
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
@each $name, $color in $tiers {
|
|
|
|
|
.nav-link.#{$name} {
|
|
|
|
|
border-bottom: 3px solid $color;
|
|
|
|
|
|
|
|
|
|
&:hover,
|
|
|
|
|
&:focus {
|
|
|
|
|
background-color: rgba($color, 0.67);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
&.active {
|
|
|
|
|
background-color: $color;
|
|
|
|
|
border-bottom-color: $color;
|
2026-02-26 18:08:08 -05:00
|
|
|
|
2026-02-21 16:26:34 -05:00
|
|
|
@if $name == vendor {
|
|
|
|
|
color: rgba(255, 255, 255, 0.87);
|
|
|
|
|
}
|
|
|
|
|
}
|
2026-03-09 14:25:18 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* price-row alert left borders */
|
2026-03-11 15:21:43 -04:00
|
|
|
.nav-#{$name} div.alert {
|
2026-03-09 14:25:18 -04:00
|
|
|
border-left: 3px solid $color;
|
|
|
|
|
}
|
2026-02-20 09:11:36 -05:00
|
|
|
}
|
2026-02-19 13:46:42 -05:00
|
|
|
|
2026-02-26 18:08:08 -05:00
|
|
|
/* --------------------------------------------------
|
2026-03-09 14:25:18 -04:00
|
|
|
Misc UI
|
2026-02-26 18:08:08 -05:00
|
|
|
-------------------------------------------------- */
|
2026-03-09 14:25:18 -04:00
|
|
|
|
2026-02-19 13:46:42 -05:00
|
|
|
.dark-callout {
|
2026-02-21 16:26:34 -05:00
|
|
|
@media (min-width: 768px) {
|
|
|
|
|
background-color: rgba(44, 48, 59, 1);
|
|
|
|
|
}
|
2026-02-19 13:46:42 -05:00
|
|
|
}
|
|
|
|
|
|
2026-02-23 07:53:57 -05:00
|
|
|
.price-area {
|
2026-02-26 18:08:08 -05:00
|
|
|
max-height: 75px;
|
2026-02-23 07:53:57 -05:00
|
|
|
}
|
|
|
|
|
|
2026-02-17 11:46:33 -05:00
|
|
|
.card-image {
|
2026-02-21 16:26:34 -05:00
|
|
|
aspect-ratio: 23 / 32;
|
2026-02-19 07:55:18 -05:00
|
|
|
object-fit: cover;
|
2026-03-18 13:31:56 -04:00
|
|
|
z-index: 1;
|
2026-02-21 16:26:34 -05:00
|
|
|
cursor: pointer;
|
2026-02-17 11:46:33 -05:00
|
|
|
}
|
|
|
|
|
|
2026-03-09 14:25:18 -04:00
|
|
|
/* Icon Sizes */
|
|
|
|
|
.small-icon svg { max-height: 16px; width: 100%; margin-top: -0.25rem; }
|
|
|
|
|
.medium-icon svg { max-height: 32px; width: 100%; margin-left: -0.25rem; }
|
2026-03-09 12:00:29 -04:00
|
|
|
|
2026-03-09 14:25:18 -04:00
|
|
|
/* Masked Image */
|
2026-02-23 07:53:57 -05:00
|
|
|
.masked-image {
|
|
|
|
|
z-index: 1000;
|
2026-02-26 18:08:08 -05:00
|
|
|
opacity: 1;
|
2026-02-23 17:04:45 -05:00
|
|
|
filter: brightness(0);
|
2026-02-23 07:53:57 -05:00
|
|
|
}
|
|
|
|
|
|
2026-03-09 14:25:18 -04:00
|
|
|
/* Decorative Background */
|
2026-02-26 18:08:08 -05:00
|
|
|
.starburst,
|
|
|
|
|
.whos-that-pokemon {
|
2026-02-23 07:53:57 -05:00
|
|
|
mix-blend-mode: lighten;
|
2026-02-26 18:08:08 -05:00
|
|
|
opacity: 0.1;
|
2026-02-23 07:53:57 -05:00
|
|
|
object-fit: cover;
|
2026-02-26 18:08:08 -05:00
|
|
|
}
|
2026-02-23 07:53:57 -05:00
|
|
|
|
|
|
|
|
.whos-that-pokemon {
|
2026-02-26 18:08:08 -05:00
|
|
|
aspect-ratio: 1 / 1;
|
2026-02-23 07:53:57 -05:00
|
|
|
}
|
|
|
|
|
|
2026-03-09 14:25:18 -04:00
|
|
|
/* SVG Generic Sizes */
|
2026-02-21 16:26:34 -05:00
|
|
|
.energy-icon svg,
|
|
|
|
|
.rarity-icon-large svg,
|
2026-03-09 14:25:18 -04:00
|
|
|
.set-icon svg,
|
|
|
|
|
.edition-icon svg {
|
|
|
|
|
width: 2rem;
|
2026-02-28 20:47:32 -05:00
|
|
|
z-index: 999;
|
2026-03-09 14:25:18 -04:00
|
|
|
@media (min-width: 1024px) {
|
|
|
|
|
width: 2.5rem;
|
|
|
|
|
}
|
2026-02-20 09:11:36 -05:00
|
|
|
}
|
|
|
|
|
|
2026-02-21 16:26:34 -05:00
|
|
|
.rarity-icon-large svg,
|
|
|
|
|
.set-icon svg {
|
2026-02-20 09:11:36 -05:00
|
|
|
margin-bottom: -0.25rem;
|
2026-02-21 16:26:34 -05:00
|
|
|
}
|
|
|
|
|
|
2026-03-09 14:25:18 -04:00
|
|
|
.filter-icon svg,
|
|
|
|
|
.search-button {
|
2026-02-28 20:47:32 -05:00
|
|
|
width: 2rem;
|
|
|
|
|
fill: rgba(255,255,255,0.87);
|
|
|
|
|
stroke: rgba(255,255,255,0.87);
|
|
|
|
|
}
|
|
|
|
|
|
2026-03-09 14:25:18 -04:00
|
|
|
/* Form states */
|
2026-03-01 20:04:35 -05:00
|
|
|
.form-check-input:checked {
|
|
|
|
|
background-color: var(--bs-success);
|
|
|
|
|
border-color: var(--bs-success-border-subtle);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.form-check-input:focus {
|
|
|
|
|
border-color: var(--bs-success);
|
|
|
|
|
box-shadow: 0 0 0 0.25rem rgba(var(--bs-success-rgb), 0.25);
|
|
|
|
|
}
|
|
|
|
|
|
2026-03-09 14:25:18 -04:00
|
|
|
/* Back to Top */
|
2026-03-01 20:04:35 -05:00
|
|
|
#btn-back-to-top {
|
|
|
|
|
position: fixed;
|
|
|
|
|
bottom: 5vh;
|
|
|
|
|
right: 5vw;
|
|
|
|
|
display: none;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.top-icon svg {
|
|
|
|
|
width: 2rem;
|
2026-03-09 14:25:18 -04:00
|
|
|
height: 2rem;
|
2026-03-01 20:04:35 -05:00
|
|
|
fill: var(--bs-info-bg-subtle);
|
|
|
|
|
stroke: var(--bs-info-bg-subtle);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#btn-back-to-top:hover .top-icon svg {
|
|
|
|
|
fill: var(--bs-info-border-subtle);
|
|
|
|
|
stroke: var(--bs-info-border-subtle);
|
|
|
|
|
}
|
|
|
|
|
|
2026-02-20 09:11:36 -05:00
|
|
|
.shadow-filter {
|
2026-02-21 16:26:34 -05:00
|
|
|
filter:
|
|
|
|
|
drop-shadow(0 5px 5px rgba(0, 0, 0, 0.3))
|
|
|
|
|
drop-shadow(0 4px 6px rgba(0, 0, 0, 0.2));
|
2026-02-19 13:46:42 -05:00
|
|
|
}
|
|
|
|
|
|
2026-03-16 14:07:37 -04:00
|
|
|
.tooltip.volatility-popover .tooltip-inner {
|
|
|
|
|
background: #1d1f21;
|
|
|
|
|
color: #e9ecef;
|
|
|
|
|
padding: 0.9rem 1rem;
|
|
|
|
|
border-radius: 0.6rem;
|
|
|
|
|
text-align: left;
|
|
|
|
|
max-width: 260px;
|
|
|
|
|
border: 1px solid rgba(255, 255, 255, 0.08);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.tooltip.volatility-popover .tooltip-arrow::before {
|
|
|
|
|
border-top-color: #1d1f21 !important;
|
|
|
|
|
}
|
|
|
|
|
|
2026-02-26 18:08:08 -05:00
|
|
|
/* --------------------------------------------------
|
|
|
|
|
Pricing
|
|
|
|
|
-------------------------------------------------- */
|
2026-03-09 14:25:18 -04:00
|
|
|
|
2026-02-19 07:55:18 -05:00
|
|
|
.price-row {
|
|
|
|
|
position: relative;
|
2026-03-18 13:31:56 -04:00
|
|
|
z-index: 2;
|
2026-02-19 07:55:18 -05:00
|
|
|
margin-top: -1.25rem;
|
|
|
|
|
border-radius: 0.33rem;
|
|
|
|
|
background: linear-gradient(
|
|
|
|
|
90deg,
|
2026-03-09 14:25:18 -04:00
|
|
|
map-get($tiers, nm) 21%,
|
|
|
|
|
map-get($tiers, lp) 42%,
|
|
|
|
|
map-get($tiers, mp) 63%,
|
|
|
|
|
map-get($tiers, hp) 74%,
|
|
|
|
|
map-get($tiers, dmg) 85%
|
2026-02-19 07:55:18 -05:00
|
|
|
);
|
2026-02-17 15:49:33 -05:00
|
|
|
}
|
|
|
|
|
|
2026-02-23 17:04:45 -05:00
|
|
|
.inventory-button {
|
|
|
|
|
width: 40px;
|
|
|
|
|
height: 40px;
|
2026-03-09 14:25:18 -04:00
|
|
|
margin-bottom: -2rem;
|
|
|
|
|
margin-right: -0.25rem;
|
2026-02-26 18:08:08 -05:00
|
|
|
border-radius: 0.33rem;
|
2026-02-23 17:04:45 -05:00
|
|
|
background-color: hsl(262, 47%, 55%);
|
|
|
|
|
color: #fff;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.inventory-label {
|
|
|
|
|
width: 100%;
|
|
|
|
|
height: 100%;
|
|
|
|
|
font-size: 1rem;
|
2026-02-26 18:08:08 -05:00
|
|
|
font-weight: 700;
|
2026-02-23 17:04:45 -05:00
|
|
|
}
|
|
|
|
|
|
2026-03-01 20:04:35 -05:00
|
|
|
.fs-7 {
|
|
|
|
|
font-size: 0.9rem !important;
|
|
|
|
|
}
|
|
|
|
|
|
2026-03-09 14:25:18 -04:00
|
|
|
/* Price Label */
|
2026-02-19 07:55:18 -05:00
|
|
|
.price-label {
|
2026-03-05 12:06:19 -05:00
|
|
|
font-size: 0.69rem;
|
2026-02-19 07:55:18 -05:00
|
|
|
font-weight: 600;
|
|
|
|
|
color: rgba(0, 0, 0, 0.87);
|
|
|
|
|
background-color: hsl(88, 50%, 60%);
|
2026-02-26 18:08:08 -05:00
|
|
|
border-radius: 0.33rem 0 0 0.33rem;
|
|
|
|
|
box-shadow: 0 5px 10px rgba(0, 0, 0, 0.35);
|
2026-02-19 07:55:18 -05:00
|
|
|
|
2026-03-09 14:25:18 -04:00
|
|
|
@media (min-width: 768px) { font-size: 0.72rem; }
|
|
|
|
|
@media (min-width: 996px) { font-size: 0.75rem; }
|
|
|
|
|
@media (min-width: 1200px) { font-size: 0.8rem; }
|
|
|
|
|
@media (min-width: 1600px) { font-size: 1rem; }
|
2026-02-16 15:54:07 -05:00
|
|
|
|
2026-03-09 14:25:18 -04:00
|
|
|
&:nth-of-type(2) { background-color: hsl(66, 70%, 61%); }
|
|
|
|
|
&:nth-of-type(3) { background-color: hsl(54, 100%, 67%); }
|
|
|
|
|
&:nth-of-type(4) { background-color: hsl(45, 100%, 58%); }
|
|
|
|
|
&:last-of-type { background-color: hsl(36, 100%, 57%); border-radius: 0.33rem; }
|
2026-02-16 15:54:07 -05:00
|
|
|
}
|
|
|
|
|
|
2026-02-26 18:08:08 -05:00
|
|
|
/* --------------------------------------------------
|
|
|
|
|
Search
|
|
|
|
|
-------------------------------------------------- */
|
2026-03-09 14:25:18 -04:00
|
|
|
|
2026-02-19 07:55:18 -05:00
|
|
|
@media (max-width: 768px) {
|
|
|
|
|
.search-box,
|
|
|
|
|
.search-button {
|
|
|
|
|
min-height: 48px;
|
|
|
|
|
}
|
2026-02-16 15:54:07 -05:00
|
|
|
}
|
|
|
|
|
|
2026-02-26 18:08:08 -05:00
|
|
|
::placeholder {
|
|
|
|
|
color: rgba(255, 255, 255, 0.7) !important;
|
|
|
|
|
opacity: 1 !important;
|
|
|
|
|
font-size: 1rem;
|
|
|
|
|
line-height: 2rem;
|
|
|
|
|
}
|
|
|
|
|
|
2026-03-09 14:25:18 -04:00
|
|
|
/* Sticky Search Bar */
|
2026-02-25 18:47:33 -05:00
|
|
|
.search-bar {
|
2026-02-26 18:08:08 -05:00
|
|
|
position: fixed;
|
2026-02-19 07:55:18 -05:00
|
|
|
bottom: 0;
|
|
|
|
|
width: 100%;
|
2026-02-23 17:04:45 -05:00
|
|
|
height: 48px;
|
2026-02-26 18:08:08 -05:00
|
|
|
z-index: 1000;
|
2026-02-25 18:47:33 -05:00
|
|
|
transform: rotate(180deg);
|
2026-02-19 07:55:18 -05:00
|
|
|
|
|
|
|
|
@media (min-width: 768px) {
|
|
|
|
|
position: sticky;
|
2026-02-26 18:08:08 -05:00
|
|
|
top: 0;
|
2026-02-23 17:04:45 -05:00
|
|
|
min-width: 45vw;
|
2026-02-25 18:47:33 -05:00
|
|
|
max-width: 45vw;
|
2026-02-26 18:08:08 -05:00
|
|
|
transform: rotate(0);
|
2026-02-23 17:04:45 -05:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2026-02-28 17:20:00 -05:00
|
|
|
.facet-list {
|
2026-02-28 20:47:32 -05:00
|
|
|
max-height: 185px;
|
2026-02-28 17:20:00 -05:00
|
|
|
overflow-y: auto;
|
|
|
|
|
}
|
|
|
|
|
|
2026-02-26 18:08:08 -05:00
|
|
|
/* --------------------------------------------------
|
2026-03-09 14:25:18 -04:00
|
|
|
Circles
|
2026-02-26 18:08:08 -05:00
|
|
|
-------------------------------------------------- */
|
2026-02-23 17:04:45 -05:00
|
|
|
|
2026-02-26 18:08:08 -05:00
|
|
|
%circle-base {
|
2026-03-09 14:25:18 -04:00
|
|
|
width: 1rem;
|
|
|
|
|
height: 1rem;
|
2026-02-26 18:08:08 -05:00
|
|
|
border-radius: 50%;
|
2026-02-23 17:04:45 -05:00
|
|
|
position: absolute;
|
2026-02-26 18:08:08 -05:00
|
|
|
margin: 0 auto;
|
2026-03-09 14:25:18 -04:00
|
|
|
border: 1px solid hsl(210, 11%, 15%);
|
2026-02-26 18:08:08 -05:00
|
|
|
mask: linear-gradient(135deg, #fffc 40%, #fff, #fffc 60%) 100% 100% / 240% 240%;
|
|
|
|
|
transition: 0.4s;
|
2026-03-09 14:25:18 -04:00
|
|
|
transform: perspective(400px) rotate3d(var(--i, 1, -1), 0, var(--a, 8deg));
|
2026-02-23 17:04:45 -05:00
|
|
|
}
|
|
|
|
|
|
2026-03-09 14:25:18 -04:00
|
|
|
.redCircle { @extend %circle-base; background: radial-gradient(circle at top left, hsl(0, 100%, 56%), hsl(0, 79%, 45%)); }
|
|
|
|
|
.yellowCircle { @extend %circle-base; background: radial-gradient(circle at top left, hsl(61, 100%, 50%), hsl(61, 100%, 40%)); }
|
|
|
|
|
.greenCircle { @extend %circle-base; background: radial-gradient(circle at top left, hsl(149, 100%, 40%), hsl(149, 100%, 30%)); }
|
2026-02-23 17:04:45 -05:00
|
|
|
|
2026-02-26 18:08:08 -05:00
|
|
|
.redCircle:hover,
|
2026-03-09 14:25:18 -04:00
|
|
|
.yellowCircle:hover,
|
2026-02-26 18:08:08 -05:00
|
|
|
.greenCircle:hover,
|
|
|
|
|
.blueCircle:hover {
|
|
|
|
|
--i: -1, 1;
|
|
|
|
|
mask-position: 0 0;
|
2026-02-23 17:04:45 -05:00
|
|
|
}
|
|
|
|
|
|
2026-03-09 14:25:18 -04:00
|
|
|
/* --------------------------------------------------
|
|
|
|
|
Buttons
|
|
|
|
|
-------------------------------------------------- */
|
2026-02-23 17:04:45 -05:00
|
|
|
|
2026-03-09 14:25:18 -04:00
|
|
|
.btn-warning > span,
|
|
|
|
|
.btn-warning > svg.nav-icon {
|
2026-02-26 18:08:08 -05:00
|
|
|
fill: var(--bs-warning-border-subtle);
|
|
|
|
|
stroke: var(--bs-warning-border-subtle);
|
|
|
|
|
color: var(--bs-warning-border-subtle);
|
2026-02-23 17:04:45 -05:00
|
|
|
}
|
|
|
|
|
|
2026-03-09 14:25:18 -04:00
|
|
|
.btn.btn-warning:hover > span,
|
|
|
|
|
.btn.btn-warning:hover > svg.nav-icon {
|
2026-02-26 18:08:08 -05:00
|
|
|
fill: var(--bs-warning-bg-subtle);
|
|
|
|
|
stroke: var(--bs-warning-bg-subtle);
|
2026-02-23 17:04:45 -05:00
|
|
|
}
|
|
|
|
|
|
2026-02-26 18:08:08 -05:00
|
|
|
.btn-outline-success svg.nav-icon {
|
|
|
|
|
fill: var(--bs-success);
|
|
|
|
|
stroke: var(--bs-success);
|
2026-02-23 17:04:45 -05:00
|
|
|
}
|
|
|
|
|
|
2026-03-09 14:25:18 -04:00
|
|
|
.btn.btn-outline-success:hover,
|
|
|
|
|
.btn.btn-outline-success:hover svg.nav-icon {
|
2026-02-26 18:08:08 -05:00
|
|
|
fill: var(--bs-success-border-subtle);
|
|
|
|
|
stroke: var(--bs-success-border-subtle);
|
2026-03-06 13:53:15 -05:00
|
|
|
}
|
|
|
|
|
|
2026-03-09 14:25:18 -04:00
|
|
|
/* --------------------------------------------------
|
|
|
|
|
Card Modal Navigation
|
|
|
|
|
-------------------------------------------------- */
|
2026-03-06 13:53:15 -05:00
|
|
|
|
|
|
|
|
.card-nav-prev,
|
|
|
|
|
.card-nav-next {
|
2026-03-09 14:25:18 -04:00
|
|
|
transition: all 0.2s ease-in-out;
|
|
|
|
|
display: inline-flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
min-width: 36px;
|
|
|
|
|
padding: 0.375rem 0.5rem;
|
|
|
|
|
will-change: opacity;
|
|
|
|
|
|
|
|
|
|
&:hover:not(:disabled) {
|
2026-03-06 13:53:15 -05:00
|
|
|
background-color: var(--bs-secondary);
|
|
|
|
|
border-color: var(--bs-secondary);
|
|
|
|
|
color: white;
|
|
|
|
|
transform: translateY(-1px);
|
2026-03-09 14:25:18 -04:00
|
|
|
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
|
|
|
|
|
}
|
2026-03-06 13:53:15 -05:00
|
|
|
|
2026-03-09 14:25:18 -04:00
|
|
|
&:active:not(:disabled) { transform: translateY(0); }
|
|
|
|
|
&:disabled { cursor: not-allowed; }
|
2026-03-06 13:53:15 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@media (max-width: 768px) {
|
2026-03-09 14:25:18 -04:00
|
|
|
.card-nav-prev,
|
|
|
|
|
.card-nav-next {
|
|
|
|
|
min-width: 40px;
|
|
|
|
|
padding: 0.5rem;
|
|
|
|
|
}
|
2026-03-06 13:53:15 -05:00
|
|
|
}
|
|
|
|
|
|
2026-03-09 14:25:18 -04:00
|
|
|
/* --------------------------------------------------
|
|
|
|
|
Swipe Animation
|
|
|
|
|
-------------------------------------------------- */
|
2026-03-11 15:21:43 -04:00
|
|
|
|
|
|
|
|
/* Smooth the hero image morph */
|
|
|
|
|
::view-transition-group(card-hero) {
|
|
|
|
|
animation-duration: 350ms;
|
|
|
|
|
animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* Fade the old image out quickly so it doesn't ghost */
|
|
|
|
|
::view-transition-old(card-hero) {
|
|
|
|
|
display: none;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* Fade the new image in after it's in position */
|
|
|
|
|
::view-transition-new(card-hero) {
|
|
|
|
|
animation-duration: 350ms;
|
|
|
|
|
animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* Suppress the default full-page crossfade so only the card morphs */
|
|
|
|
|
::view-transition-old(root),
|
|
|
|
|
::view-transition-new(root) {
|
|
|
|
|
animation: none;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* Sliding out (old content) */
|
|
|
|
|
::view-transition-old(.modal-content) {
|
|
|
|
|
animation: slide-out 200ms ease-in forwards;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* Sliding in (new content) */
|
|
|
|
|
::view-transition-new(.modal-content) {
|
|
|
|
|
animation: slide-in 200ms ease-out forwards;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* Direction-aware — set via dataset.navDirection */
|
|
|
|
|
#cardModal[data-nav-direction="next"]::view-transition-old(.modal-content) {
|
|
|
|
|
animation: slide-out-left 200ms ease-in forwards;
|
|
|
|
|
}
|
|
|
|
|
#cardModal[data-nav-direction="next"]::view-transition-new(.modal-content) {
|
|
|
|
|
animation: slide-in-right 200ms ease-out forwards;
|
|
|
|
|
}
|
|
|
|
|
#cardModal[data-nav-direction="prev"]::view-transition-old(.modal-content) {
|
|
|
|
|
animation: slide-out-right 200ms ease-in forwards;
|
|
|
|
|
}
|
|
|
|
|
#cardModal[data-nav-direction="prev"]::view-transition-new(.modal-content) {
|
|
|
|
|
animation: slide-in-left 200ms ease-out forwards;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* The silhouette fades out while the colour image blooms in */
|
|
|
|
|
|
|
|
|
|
::view-transition-old(pokemon-reveal) {
|
|
|
|
|
animation: 300ms ease-in both fade-to-white;
|
|
|
|
|
}
|
|
|
|
|
::view-transition-new(pokemon-reveal) {
|
|
|
|
|
animation: 500ms ease-out both bloom-in;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@keyframes fade-to-white {
|
|
|
|
|
to { opacity: 0; filter: brightness(3); }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@keyframes bloom-in {
|
|
|
|
|
from { opacity: 0; filter: brightness(2) saturate(0); transform: scale(0.95); }
|
|
|
|
|
to { opacity: 1; filter: brightness(1) saturate(1); transform: scale(1); }
|
2026-03-09 14:25:18 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* --------------------------------------------------
|
|
|
|
|
Input Fix (Safari)
|
2026-03-11 15:21:43 -04:00
|
|
|
|
2026-03-09 14:25:18 -04:00
|
|
|
input[type="search"]::-webkit-search-cancel-button {
|
|
|
|
|
-webkit-appearance: none;
|
|
|
|
|
height: 1rem;
|
|
|
|
|
width: 1rem;
|
|
|
|
|
display: block;
|
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
|
background-size: 1rem;
|
|
|
|
|
background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAeCAYAAAA7MK6iAAAAn0lEQVR42u3UMQrDMBBEUZ9WfQqDmm22EaTyjRMHAlM5K+Y7lb0wnUZPIKHlnutOa+25Z4D++MRBX98MD1V/trSppLKHqj9TTBWKcoUqffbUcbBBEhTjBOV4ja4l4OIAZThEOV6jHO8ARXD+gPPvKMABinGOrnu6gTNUawrcQKNCAQ7QeTxORzle3+sDfjJpPCqhJh7GixZq4rHcc9l5A9qZ+WeBhgEuAAAAAElFTkSuQmCC);
|
2026-03-11 15:21:43 -04:00
|
|
|
}
|
|
|
|
|
-------------------------------------------------- */
|