
*{
box-sizing:border-box;
}

body{
margin:0;
font-family:'Roboto', Arial, Helvetica, sans-serif;
background:#efefef;
color:#222;
}

.app{
display:flex;
flex-direction:column;
gap:12px;
padding:12px;
}

.panel{
background:#f6f6f6;
border:1px solid #555;
border-radius:18px;
padding:20px;
}

.header{
text-align:center;
}

.header h1{
margin:0;
font-size:clamp(1.6rem,3vw,2.5rem);
}

.header h2{
margin-top:14px;
margin-bottom:0;
font-size:clamp(.8rem,1vw,1rem);
font-weight:normal;
color:#555;
line-height:1.6;
}

.instructions h3{
margin-top:0;
margin-bottom:12px;
}

.instructions ol{
margin:0;
padding-left:22px;
line-height:1.9;
color:#555;
}

.main-layout{
display:grid;
grid-template-columns:1fr 2fr;
gap:12px;
}

label{
display:block;
font-weight:bold;
margin-bottom:10px;
}

select{
width:100%;
padding:14px;
border:1px solid #888;
border-radius:8px;
font-size:1rem;
margin-bottom:18px;
background:white;
}

.combobox{
position:relative;
margin-bottom:14px;
}

.combobox-input{
width:100%;
padding:14px;
border:1px solid #888;
border-radius:8px;
font-size:1rem;
background:white;
}

.combobox-dropdown{
position:absolute;
left:0;
right:0;
top:calc(100% + 4px);
background:white;
border:1px solid #bbb;
border-radius:10px;
max-height:240px;
overflow-y:auto;
box-shadow:0 4px 14px rgba(0,0,0,.12);
z-index:50;
}

.combobox-option{
display:flex;
align-items:center;
gap:10px;
padding:10px 12px;
cursor:pointer;
}

.combobox-option:hover{
background:#efefef;
}

.colour-chip{
width:14px;
height:14px;
border-radius:50%;
border:1px solid rgba(0,0,0,.25);
flex-shrink:0;
}

.preview-panel{
display:flex;
flex-direction:column;
gap:16px;
}

.stop-track{
position:relative;
height:54px;
border-radius:10px;
border:1px solid #777;
background:#ececec;
}

.stop-pin{
position:absolute;
top:8px;
width:28px;
height:28px;
border-radius:50%;
border:2px solid rgba(0,0,0,.5);
transform:translateX(-50%);
cursor:grab;
}

.stop-pin::after{
content:'';
position:absolute;
left:50%;
bottom:-12px;
transform:translateX(-50%);
border-left:8px solid transparent;
border-right:8px solid transparent;
border-top:12px solid rgba(0,0,0,.55);
}

.stop-pin::before{
content:'';
position:absolute;
left:50%;
bottom:-10px;
transform:translateX(-50%);
border-left:7px solid transparent;
border-right:7px solid transparent;
border-top:10px solid currentColor;
}

.blend-preview{
width:100%;
height:min(70vh,calc(100vh - 320px));
min-height:320px;
max-height:760px;
border:1px solid #555;
border-radius:8px;
overflow:hidden;
position:relative;
background:#e8e8e8;
filter:saturate(1.15) contrast(1.05);
}

.blend-preview::after{
content:'';
position:absolute;
inset:0;
pointer-events:none;
background:
radial-gradient(circle at 25% 35%, rgba(255,255,255,.22), transparent 28%),
radial-gradient(circle at 70% 70%, rgba(255,255,255,.16), transparent 34%),
radial-gradient(circle at 50% 50%, rgba(0,0,0,.12), transparent 58%);
mix-blend-mode:soft-light;
}

.share-buttons{
display:flex;
justify-content:center;
gap:12px;
flex-wrap:wrap;
margin-bottom:18px;
}

.share-buttons a,
#bookmarkBtn{
width:52px;
height:52px;
display:flex;
align-items:center;
justify-content:center;
border-radius:12px;
border:1px solid #888;
background:white;
color:#333;
text-decoration:none;
font-size:1.4rem;
cursor:pointer;
transition:.2s ease;
padding:0;
}

.share-buttons a:hover,
#bookmarkBtn:hover{
background:#ececec;
}

.footer{
text-align:center;
line-height:1.8;
color:#666;
font-size:.9rem;
}

@media (max-width:900px){

.main-layout{
grid-template-columns:1fr;
}

.blend-preview{
height:min(52vh,calc(100vh - 420px));
min-height:260px;
max-height:520px;
}

}


.share-buttons i{
font-size:1.3rem;
line-height:1;
}

.share-buttons a,
#bookmarkBtn{
display:flex;
align-items:center;
justify-content:center;
}


.social-panel{
padding:5px 0;
}


.social-panel{
padding:5px 0 5px 0;
margin:0;
}

.share-buttons{
display:flex;
align-items:center;
justify-content:center;
flex-wrap:wrap;
gap:12px;
margin:0;
padding:0;
}

.share-text{
margin:0 12px 0 0;
font-size:.95rem;
font-weight:500;
color:#555;
line-height:1;
}


.reset-button{
width:100%;
margin-top:12px;
padding:14px;
border:none;
border-radius:10px;
background:#444;
color:white;
font-size:1rem;
font-weight:500;
cursor:pointer;
transition:.2s ease;
}

.reset-button:hover{
background:#2d2d2d;
}
