.wrap { display: flex; align-items: center; justify-content: stretch; position: relative; width: 100%; flex-direction: row; align-items: center; justify-content: center; box-sizing: border-box; &:global(.stack) { padding: 0 $gap; bottom: 0; position: fixed; @include tablet { padding: 0; } } } .content { flex: 0 1 $content_width; display: flex; align-items: center; justify-content: stretch; border-radius: $radius $radius 0 0; box-sizing: border-box; padding: $gap $gap; background: $node_bg; @include outer_shadow(); @include tablet { border-radius: 0; flex-direction: column; align-items: flex-start; } @include can_backdrop { backdrop-filter: blur(15px); background: transparentize($node_bg, 0.2); } } .title { text-transform: uppercase; font: $font_24_semibold; // height: 24px; // padding-bottom: 6px; @include tablet { // font-size: 16px; word-break: break-word; padding-bottom: 0; padding-top: 10px; } } .name { font: $font_14_regular; color: transparentize(white, 0.5); } .btn { flex: 1; height: 100%; display: flex; align-items: center; justify-content: center; fill: transparentize(white, 0.5); } .panel { flex: 1; } .buttons { flex: 0; padding-right: $gap; fill: transparentize(white, 0.7); display: flex; flex-direction: row; align-items: center; justify-content: center; & > * { margin: 0 $gap; cursor: pointer; display: flex; align-items: center; justify-content: center; svg { fill: darken(white, 50%); transition: fill 0.25s; } &:hover { svg { fill: $red; } } &::after { content: ' '; flex: 0 0 6px; height: $gap; width: 6px; border-radius: 4px; background: transparentize(black, 0.7); margin-left: $gap * 2; } &:first-child { margin-left: 0; } &:last-child { margin-right: 0; &::after { display: none; } } } @include tablet { margin-top: $gap * 2; align-self: center; } } .mark { flex: 0 0 32px; position: relative; &::after { content: ' '; position: absolute; top: -38px; right: 4px; width: 24px; height: 52px; background: $main_gradient; box-shadow: transparentize(black, 0.8) 4px 2px; border-radius: 2px; } } .sep { } @keyframes pulse { 0% { transform: scale(1); } 45% { transform: scale(1); } 60% { transform: scale(1.4); } 75% { transform: scale(1); } 90% { transform: scale(1.4); } 100% { transform: scale(1); } } .like { transition: fill, stroke 0.25s; will-change: transform; &:global(.is_liked) { svg { fill: $red; } } &:hover { fill: $red; animation: pulse 0.75s infinite; } } .star { transition: fill, stroke 0.25s; will-change: transform; &:global(.is_heroic) { svg { fill: $orange; } } &:hover { fill: $orange; } }