:root {
--box-border: var(--gray-monochrome);
--box-shadow: var(--swatch-tertiary-color);
--box-color-0: 27, 122, 44;
--box-color-1: 88, 248, 70;
--box-color-2: 211, 186, 0;
--box-color-3: 239, 149, 0;
--box-color-4: 254, 110, 24;
--box-color-5: 253, 69, 69;
}
.extrabox {
float: right;
position: relative;
}
.box {
position: relative;
width: max-content;
min-width: 11rem;
display: flex;
flex-direction: column;
height: 2.25rem;
box-sizing: border-box;
padding: 0 0.5rem;
background: rgb(var(--pale-gray-monochrome));
border-left: 0.5rem solid rgba(var(--box-border), 0.5);
box-shadow:
inset 0 0 0 0.0625rem rgba(var(--box-shadow), 0.5),
inset 0.0625rem 0 0 0 rgba(var(--box-shadow), 0.5),
inset 0 -0.0625rem 0 0 rgba(var(--box-shadow), 0.75);
transition: height 0.25s cubic-bezier(0.4, 0, 0.2, 1);
font-family: Inter, "Noto Serif SC", sans-serif;
cursor: default;
overflow: hidden;
}
.box br {
display: none;
}
.box .iets-before {
position: relative;
font-size: 1.5rem;
display: flex;
opacity: 1;
right: 0;
top: 0;
transition: opacity 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.box .iets-after {
position: relative;
right: 999rem;
top: 0;
opacity: 0;
transition:
opacity 0.25s cubic-bezier(0.4, 0, 0.2, 1),
top 0s 0.25s,
right 0s 0.25s;
}
.box .iets-before .iets-link {
opacity: 1;
}
.box:hover {
height: 5.063rem;
}
.box:hover .iets-before {
top: -2.25rem;
right: 999rem;
opacity: 0;
transition:
opacity 0.25s cubic-bezier(0.4, 0, 0.2, 1),
top 0s 0.25s,
right 0s 0.25s;
}
.box:hover .iets-after {
display: flex;
flex-direction: column;
top: -2.25rem;
right: 0;
opacity: 1;
transition: opacity 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.box .iets-after .iets-link {
font-size: 1.5rem;
}
.extrabox[class*="{"] .lang-tr,
.extrabox[class*="cn/tr"] .lang-tr,
.lang-cn .lang-tr,
.lang-tr .lang-cn {
display: none;
}
.box.class-0 {
--box-border: var(--box-color-0);
--box-shadow: var(--box-color-0);
}
.box.class-1 {
--box-border: var(--box-color-1);
--box-shadow: var(--box-color-1);
}
.box.class-2 {
--box-border: var(--box-color-2);
--box-shadow: var(--box-color-2);
}
.box.class-3 {
--box-border: var(--box-color-3);
--box-shadow: var(--box-color-3);
}
.box.class-4 {
--box-border: var(--box-color-4);
--box-shadow: var(--box-color-4);
}
.box.class-5 {
--box-border: var(--box-color-5);
--box-shadow: var(--box-color-5);
}