@font-face {
    font-family: Roboto;
    src: url(./Ro.ttf);
}
body{
    font-family: Roboto;
    padding:0px;
    margin:10px;
    color: white;
    background-color: rgb(105, 11, 6);
    //background-color: rgb(3, 24, 54);
}
underlay{
	position: fixed;
	inset: 0;
	bottom: unset;
	height: max(100vh, 1000px);
	
	background: repeat center url("./shop-tile-1.svg"), linear-gradient(
        			180deg,
        			rgb(3, 24, 54),
        			rgb(10, 39, 79) 15vh,
					rgb(105, 11, 6) calc(100vh)
        			
	);
	background-size: 100px, 100%;
	z-index: -1;
}

pan-wrapper{
    display:flex;
    width:100%;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}
panel{
    display: block;
    width: 100%;
}

watchu-want{
    font-size: 14px;
    display:flex;
    align-items:center;
    grid-gap: 7px;
    margin-left: auto;
    margin-right: auto;
    width: max-content;
    text-transform: uppercase;
    font-weight: bold;
    margin-top: 10px;
    padding: 7px;
    padding-inline: 8px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    background: rgba(255,255,255,0.05);
    border-radius: 15px;
    border: 1px solid rgba(255,255,255,0.3);
}
watchu-want span{
	font-size: 15px;
}
switch{
    display: flex;
    align-items:center;
    grid-gap:5px;
    background: #e01a00;
    padding: 5px;
    border-radius:10px;
    transition: 0.3s all;
    width: 111px;
    cursor: pointer;
}
switch.down{
	width: 102px;
}
.neva{
    transition: 0.3s all;
}
.down .neva, .buy .neva{
    transform: rotate(180deg);
}
.down{
    background: #00b50c;
    
}
switch.bounce{
    transform: scale(0.95);
}
pay-pack{
    display: flex;
    grid-gap:8px;
}
store-photo, store-photo img{
    border-radius:100%;
    width: 40px;
    height: 40px;
    overlfow: hidden;
}
pic-container, pic-container-2{
    background: linear-gradient(
            45deg,
            blue,
            lightblue
    );
    border-radius:100%;
    width: 40px;
    height: 40px;
}
pic-container-2{
    background: linear-gradient(
            45deg,
            magenta,
            red
    );
}
store, placeholder, page-info{
    display: grid;
    margin-top:15px;
    grid-gap:10px;
    border-radius: 20px;
    background: rgba(255,255,255,0.1);
    padding: 10px;
    align-items: center;
}
store{
	border-radius: 20px;
    min-height: 50px;
    grid-template-rows: 1fr;
    margin-top:0px;
    grid-template-columns: 40px 1fr 96px;
    /*--store-font-size: clamp(11px, calc(2/36 * 100vw - 11px), 15px);*/
    --store-font-size: 14px;
    transition: 0.3s all;
}
store-list{
	display: grid;
	grid-gap: 10px;
	
	margin-top:10px;
}

page-info{
    min-height: 47px;
    grid-template-columns: 40px 1fr;
    background: rgba(127,127,255,0.15);
}
page-info a{
    color: white;
}
two-storey{
    display: grid;
    grid-template-rows: max-content max-content;
    grid-gap: 3px;
}
rob{
    font-weight: bold;
}
desc{
    font-size: 13px;
    color: rgba(255,255,255,0.7);
}
placeholder{
    justify-content: center;
    color: rgba(255,255,255,0.7);
    padding-block:15px;
}
tss{
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr 1fr;
    overflow: hidden;
    grid-gap:5px;
    font-size:14px;
}
rate-info{
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 2fr 1fr;

    border-radius: 12px;
    padding: 3px;
    padding-bottom:5px;

    background: #e01a00;
    justify-items: center;
    transition: 0.3s all;
}
.buy rate-info{
    background: #00b50c;
}
rate{
    font-weight: bold;
    font-size: 15px;
    grid-gap:5px;
}
rsrv{
    font-size: 11px;

    grid-gap:4px;
}
onl{
    color: rgba(255,255,255,0.6);
    display: flex;
    
    grid-gap: 4px;
}
onl.g{
    color: #00ee3f;
}
onl img{
    filter:grayscale(1);
    height: 4px;
}
onl.g img{
    filter:grayscale(0);
}
tsn{
    
}

rate, rsrv{
    display: flex;
    align-items:center;
}

tsn{
    /* font-size: clamp(11px, calc(2/39 * (100vw - 141px)), 15px); */
    font-size: var(--store-font-size);
    display: flex;
    
}
sn{
	overflow: hidden;
	white-space: pre;
	max-width: calc(100vw - 276px);

	--grd_11: linear-gradient(90deg, rgba(0, 0, 0, 1) calc(100vw - 300px), rgba(0, 0, 0, 0) calc(100vw - 270px));
	
	-webkit-mask-image: var(--grd_11);
	mask-image: var(--grd_11);
	padding-right: 8px;
}


add-new{
    display: grid;
    grid-template-columns: 1fr;
    padding: 15px;
    border-radius: 20px;
    margin-top:15px;
    margin-bottom: 5px;
    grid-gap:10px;
    background: rgba(127,127,255,0.15);
}
add-new > *{
    display: flex;
    justify-content: center;
}
#group-link{
    text-align:center;
    font-size: 15px;
    outline: none;
    background: rgba(0,0,0,0.5);
    color: white;
    border-radius: 10px;
    border: none;
    padding:10px;
}
cen{
    font-size:22px;
    font-weight: bold;
}
cen-s{
    /* height: 16px; */
    font-size: 14px;
    transition: 0.5s all;
    margin-inline: 10px;
}
#add-complete{
    font-weight: bold;
    padding: 10px;
    text-transform: uppercase;
    font-size: 14px;
    background: rgba(255,255,255,0.2);
    border-radius: 10px;
    transition: 0.2s all;
    cursor: pointer;
}
add-new > a{
	text-decoration: none;
}
#add-complete.valid{
    background: #00b50c;
}
im-co{
    padding-bottom: 5px;
}
rate-info.bounce{
    transform: scale(1.1);
}
onl cd{
    height: calc(var(--store-font-size) + 3px);
    display: flex;
    align-items: center;
    margin-right: 2px;
}

#add-complete.wiggle{
    animation: nooope 0.5s forwards;
    animation-timing-function: ease-out;
    -webkit-animation: nooope 0.5s forwards;
    -webkit-animation-timing-function: ease-out;
}
#add-complete.bounce{
    transform: scale(0.9);
}
store-list.loading store, featured.loading tile{
    animation: blink 1.0s forwards;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
    -webkit-animation: blink 1.0s forwards;
    -webkit-animation-timing-function: ease-in-out;
    -webkit-animation-iteration-count: infinite;
}
store-list store *, featured tile *{
    transition: 0.3s;
}
store-list.loading store *, featured.loading tile *{
    opacity: 0;
}
@keyframes blink{
    0% {
        background: rgba(255,255,255,0.08);
    }
    50% {
        background: rgba(255,255,255,0.15);
    }
    100% {
        background: rgba(255,255,255,0.08);
    }
}

@keyframes nooope {
    0% {
        transform: scaleX(1.0);
    }
    15% {
        transform: scaleX(0.95) translateX(-10px);
    }
    30%{
        transform: scaleX(0.92) translateX(20px);
    }
    40%{
        transform: scaleX(0.90) translateX(-20px);
    }
    50%{
        transform: scaleX(0.90) translateX(20px);
    }
    60%{
        transform: scaleX(0.90) translateX(-20px);
    }
    70%{
        transform: scaleX(0.92) translateX(20px);
    }
    85%{
        transform: scaleX(0.95) translateX(-10px);
    }
    100%{
        transform: scaleX(1.0);
    }
}
im-co img, add-new cen{
    transition: all 0.2s ease-in-out;
}
im-co img.compress{
    transform: scaleX(0) scaleY(0.95);
}
add-new cen{
    height: 25px;
}
add-new cen.compress{
    transform: scaleY(0);
}
.request-sent cen-s{
    height: 0px;
    margin-block: -10px;
    opacity: 0;
}
post-info{
    display:none;
    background: rgba(255,255,255,0.05);
    border-radius: 10px;
    height: 69px;
    padding: 10px;
    grid-template-rows: 1fr 1fr;
    justify-content: center;
    align-items: left;
    font-size: 14px;
}
post-info div{
    display: flex;
    align-items: center;
}
a{
    color: white;
}
.request-sent post-info{
    display: grid;
    transition: 0.2s all;
}
.request-sent #group-link, .request-sent #add-complete{
    display: none;
}
store-pan{
    display: block;
    padding-block:15px;
}
.noselect {
    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
    -khtml-user-select: none; /* Konqueror HTML */
    -moz-user-select: none; /* Old versions of Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
    user-select: none; /* Non-prefixed version, currently
						  supported by Chrome, Edge, Opera and Firefox */
}
add-new input, add-new #add-complete{
	
}

featured{
	display: grid;
	margin-top: 15px;
	grid-gap: 10px;
	grid-template-columns: 1fr 1fr;
}
tile{
	display: grid;
	background: rgba(255,255,255,0.1);
	border-radius: 20px;
	min-height: 121px;
	padding: 12px;
	grid-gap: 7px;
	grid-template-rows: repeat(2, max-content);
}
tile-card{
	display: grid;
	grid-template-columns: max-content 1fr;
	grid-gap: 7px;
	align-items: center;
}
tile-header{
	opacity: 0.7;
	text-transform: uppercase;
	font-size: 13px;
}
tile-photo{
	display: block;
	overflow: hidden;
	border-radius: 50%;
}
tile-photo img{
	width: 40px;
}
tile-ts{
	display: grid;
	overflow-x: hidden;
	
	--grd_2: linear-gradient(90deg, rgba(0, 0, 0, 1) 85%, rgba(0, 0, 0, 0) 99%);
	grid-gap: 2px;
	-webkit-mask-image: var(--grd_2);
	mask-image: var(--grd_2);

}
tile-ts name{
	white-space: pre;
	font-weight: bold;
	font-size: 14px;
}
tile-ts online{
	opacity: 0.8;
	font-size: 12px;
	white-space: pre;
}
offer{
	display: grid;
	grid-template-columns: 1fr 1fr;
	grid-gap: 5px;
}
offer > *{
	display: grid;
	grid-template-columns: max-content 1fr;
	padding: 7px;
	align-items: center;
	background: rgba(255,255,255,0.1);
	border-radius: 10px;
	font-size: 13px;
	
}
offer rate-tile{
	background: #e01a00
}
offer.buy rate-tile{
	background: #00b50c;
}
offer res-tile{
 	background: #1385EF;
}

offer img{
	margin-right: 5px;
}
t-res, t-rate{
	text-align: center;
	white-space: pre;
	overflow: hidden;
	font-size: 12px;
	--grd_2: linear-gradient(90deg, rgba(0, 0, 0, 1) 85%, rgba(0, 0, 0, 0) 99%);
	-webkit-mask-image: var(--grd_2);
	mask-image: var(--grd_2);
}
tile pay-pack{
	font-size: 11px;
	text-transform: uppercase;
	align-items: center;
	justify-content: center;
	margin-top: 2px;
}
pay-pack span{
	opacity: 0.8;
}
pay-pack img{
	height: 18px;
}
tile pay-pack img{
	height: 14px;
}
online.g{
	color: #16fa53;
}
featured a, store-list a{
	text-decoration:none;
	color:white;
}
store, tile, page-info, add-new{
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
	
	background: rgba(0,0,0,0.1);
	border: 1px solid rgba(255,255,255,0.3);
	box-shadow: 0px 0px 10px rgba(0,0,0,0.5);
}
.yellow{
    border: 1px solid rgb(255, 221, 0);
}

body.white{
	background: white;
	color: black;
}
body.white * {
	color: black;
}
body.white underlay{
	opacity: 0;
}
.inactive{
	filter: grayscale(1);
	opacity: 0.7;
}
b{
    color: white;
}