@charset "utf-8";
/*
 *  File Name   : /hub/assets/css/common/share-menu.css
 *  Description : 공유 시트 — 커뮤니티 상세 · 타로카드 결과가 같이 씀
 */

/* share-ico */
/* share-ico */
.share-ico {flex: none; display: block; width: var(--share-ico-w, 20px); height: var(--share-ico-h, 20px);
	background: no-repeat 50% 50% / 100% 100%;}
.share-ico--link {background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg%3E%3Cpath d='M8.33 10.83C8.69 11.31 9.15 11.71 9.67 11.99C10.2 12.28 10.78 12.45 11.37 12.49C11.97 12.54 12.57 12.45 13.13 12.24C13.69 12.03 14.19 11.71 14.62 11.28L17.12 8.78C17.88 8 18.3 6.94 18.29 5.85C18.28 4.76 17.84 3.71 17.07 2.94C16.29 2.17 15.25 1.73 14.16 1.72C13.06 1.71 12.01 2.13 11.22 2.89L9.79 4.32' stroke-width='1.67' stroke-linecap='round' stroke-linejoin='round' stroke='%231B1B1B'/%3E%3Cpath d='M11.67 9.17C11.31 8.69 10.85 8.29 10.33 8.01C9.8 7.72 9.22 7.55 8.63 7.51C8.03 7.46 7.43 7.55 6.87 7.76C6.31 7.97 5.81 8.29 5.38 8.72L2.88 11.22C2.12 12 1.7 13.05 1.71 14.15C1.72 15.24 2.16 16.29 2.93 17.06C3.71 17.83 4.75 18.27 5.84 18.28C6.94 18.29 7.99 17.87 8.78 17.11L10.2 15.68' stroke-width='1.67' stroke-linecap='round' stroke-linejoin='round' stroke='%231B1B1B'/%3E%3C/g%3E%3C/svg%3E");}
.share-ico--email {background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg%3E%3Cpath d='M4.17 4.17H15.83C16.75 4.17 17.5 4.91 17.5 5.83V14.17C17.5 15.09 16.75 15.83 15.83 15.83H4.17C3.25 15.83 2.5 15.09 2.5 14.17V5.83C2.5 4.91 3.25 4.17 4.17 4.17Z' stroke-width='1.67' stroke='%231B1B1B'/%3E%3Cpath d='M2.5 5.83L10 10.83L17.5 5.83' stroke-width='1.67' stroke-linecap='round' stroke-linejoin='round' stroke='%231B1B1B'/%3E%3C/g%3E%3C/svg%3E");}
.share-ico--facebook {--share-ico-w: 16px; --share-ico-h: 16px; background-image: url(../../images/common/icon_facebook.png);}
.share-ico--x {--share-ico-w: 14px; --share-ico-h: 15px; background-image: url(../../images/common/icon_x-dark.png);}

/* share-ico--save */
.share-ico--save {background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg stroke='%231B1B1B' stroke-width='1.67' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 2.5V12.92'/%3E%3Cpath d='M6.25 9.17L10 12.92L13.75 9.17'/%3E%3Cpath d='M2.5 13.33V15.83C2.5 16.75 3.25 17.5 4.17 17.5H15.83C16.75 17.5 17.5 16.75 17.5 15.83V13.33'/%3E%3C/g%3E%3C/svg%3E");}

@media all and (min-width: 861px) {
	.share-menu {position: absolute; z-index: 30; right: -100px; top: calc(100% + 10px); width: 290px;
		padding-bottom: 12px; border-radius: 12px; background: #fff;
		box-shadow: 0 2px 6px rgba(0,0,0,.14), 0 4px 16px rgba(0,0,0,.14);
		opacity: 0; visibility: hidden; transform: translateY(-4px);
		transition: opacity 100ms var(--ease-out), transform 0s 100ms, visibility 0s 100ms;}
	.share-menu.is-open {opacity: 1; visibility: visible; transform: none;
		transition: opacity 150ms var(--ease-out), transform 150ms var(--ease-out);}
}

.share-menu__head {display: flex; align-items: center; height: 60px; padding: 6px 48px 0 20px;
	border-bottom: 1px solid #d9dbe0;}
.share-menu__title {color: #5b6069; font-weight: 500; font-size: 16px; line-height: 1.75;}
.share-menu__close {position: absolute; right: 0; top: 9px; width: 48px; height: 48px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='26' height='26' viewBox='0 0 26 26' fill='none'%3E%3Cpath d='M20.5833 6.94417L19.0558 5.41667L13 11.4725L6.94417 5.41667L5.41667 6.94417L11.4725 13L5.41667 19.0558L6.94417 20.5833L13 14.5275L19.0558 20.5833L20.5833 19.0558L14.5275 13L20.5833 6.94417Z' fill='%231B1B1B'/%3E%3C/svg%3E") no-repeat 50% 50% / 26px 26px;}

.share-menu__list {list-style: none;}
.share-menu__item {display: flex; align-items: center; gap: 12px; width: 100%; height: 48px; padding: 0 16px;
	border: 0; background: none; color: #1b1b1b; font: inherit; font-size: 16px; line-height: 1;
	text-align: left; text-decoration: none; cursor: pointer;}
.share-menu__item .share-ico--facebook {--share-ico-w: 18px; --share-ico-h: 18px;}
.share-menu__item .share-ico--x {--share-ico-w: 16px; --share-ico-h: 17px;}

/* share-menu__cancel */
.share-menu__cancel {display: none;}

/* share-menu__note */
.share-menu__note {margin-top: 4px; color: #5b6069; font-weight: 400; font-size: 14px; line-height: 1.4;}

@media (hover: hover) {
	.share-menu__item:hover {background: #ecedee;}
}

@media all and (max-width: 860px) {

	/* share-menu */
	/* share-menu */
	.share-menu {--layer-toast-z: 160;
		display: flex; flex-direction: column;
		max-height: 90vh;
		max-height: 90dvh;}
	.share-menu__head,
	.share-menu__cancel {flex: none;}
	.share-menu__list {overflow-y: auto; overscroll-behavior: contain;
		-webkit-overflow-scrolling: touch;}
	/* share-menu__head */
	.share-menu__head {display: block; height: auto; padding: 40px 16px 0; border-bottom: 0;}
	.share-menu__title {color: #1b1b1b; font-weight: 700; font-size: 16px; line-height: 1.2;}
	/* share-menu__close */
	.share-menu__close {right: 8px; top: 0;
		background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 48 48' fill='none'%3E%3Cpath d='M16 16L32 32M32 16L16 32' stroke='%231B1B1B' stroke-width='2.33' stroke-linecap='round'/%3E%3C/svg%3E"); background-size: 48px 48px;}
	.share-menu__list {margin-top: 12px;}
	.share-menu__list > li:not(:last-child) .share-menu__item {border-bottom: 1px solid #d9dbe0;}
	.share-menu__item {height: 56px; font-weight: 500;}
	.share-menu__note {margin-top: 0; font-size: 14px;}

	/* layerpopup */
	.layerpopup .share-menu {padding-top: 0; padding-left: 0; padding-right: 0;}

	/* share-menu__close */
	.share-menu__close {display: none;}
	/* share-menu__cancel */
	.share-menu__cancel {display: block; width: calc(100% - 32px); height: 44px;
		margin: 12px 16px 0; border: 0; border-radius: 6px; background: #e9ecef;
		color: #1b1b1b; font: inherit; font-weight: 500; font-size: 16px; line-height: 1;
		cursor: pointer;}

	/* share-ico */
	.share-ico {width: 44px; height: 44px; border-radius: 7px; background-size: 50% 50%;}
	/* share-ico--save */
	.share-ico--save {background-color: transparent; background-size: 100% 100%;
		background-image: url("data:image/svg+xml,%3Csvg width='132' height='132' viewBox='0 0 132 132' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect width='132' height='132' rx='22' fill='%233606A2'/%3E%3Cpath d='M66 43V75M51 62L66 77L81 62M45 89H87' stroke-width='6' stroke-linecap='round' stroke-linejoin='round' stroke='%23FAFAFA'/%3E%3C/svg%3E");}
	.share-ico--link {background-color: #3606a2;
		background-image: url("data:image/svg+xml,%3Csvg width='66' height='66' viewBox='0 0 66 66' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M27.5 35.75C28.68 37.33 30.19 38.63 31.92 39.58C33.65 40.53 35.56 41.09 37.53 41.23C39.5 41.37 41.47 41.09 43.32 40.4C45.16 39.71 46.84 38.63 48.24 37.23L56.49 28.98C58.99 26.39 60.38 22.92 60.35 19.31C60.31 15.71 58.87 12.26 56.32 9.71C53.77 7.16 50.32 5.71 46.72 5.68C43.11 5.65 39.64 7.04 37.04 9.54L32.31 14.24' stroke-width='6.85' stroke-linecap='round' stroke-linejoin='round' stroke='%23FAFAFA'/%3E%3Cpath d='M38.5 30.25C37.32 28.67 35.81 27.37 34.08 26.42C32.35 25.47 30.44 24.91 28.47 24.77C26.51 24.63 24.53 24.91 22.69 25.6C20.84 26.29 19.16 27.37 17.77 28.77L9.52 37.02C7.01 39.61 5.63 43.08 5.66 46.69C5.69 50.29 7.14 53.74 9.69 56.29C12.23 58.84 15.68 60.29 19.29 60.32C22.89 60.35 26.37 58.96 28.96 56.46L33.66 51.76' stroke-width='6.85' stroke-linecap='round' stroke-linejoin='round' stroke='%23FAFAFA'/%3E%3C/svg%3E");}
	.share-ico--email {background-color: #5b17ff; background-size: 73.9% 73.9%;
		background-image: url("data:image/svg+xml,%3Csvg width='97.54' height='97.54' viewBox='0 0 97.54 97.54' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M85.97 26.76C86.78 27.03 86.82 31.31 86.82 32.31L86.82 65.97C86.82 67.47 86.88 68.77 86.35 70.2C85.13 69.19 84.07 67.93 82.96 66.81L75.41 59.13C72.89 56.6 70.42 54.02 67.92 51.48C66.44 49.97 64.71 48.41 63.37 46.81C63.71 46.46 64.11 46.15 64.48 45.83L82.86 29.55C83.91 28.64 84.89 27.62 85.97 26.76Z' fill='%23FAFAFA'/%3E%3Cpath d='M11.72 26.76C13.31 28.08 14.83 29.51 16.36 30.89L32.28 44.98C32.97 45.59 33.69 46.17 34.34 46.81C33.02 47.94 31.86 49.29 30.65 50.53L22.29 59.13C20.16 61.18 18.14 63.35 16.06 65.44C14.66 66.85 12.63 68.61 11.54 70.2C10.55 67.78 10.82 66.47 10.82 63.88L10.82 34.83C10.82 32.21 10.45 29.17 11.72 26.76Z' fill='%23FAFAFA'/%3E%3Cpath d='M60.51 49.3C60.66 49.34 81.04 70.18 82.23 71.44C82.79 72.04 83.4 72.63 83.91 73.27C81.57 74.57 80.55 74.72 78 74.71L27.87 74.71L20.85 74.71C18.32 74.71 15.83 75.02 13.86 73.07C14.2 72.61 14.66 72.22 15.06 71.81L35.72 50.64C36.17 50.19 36.6 49.71 37.09 49.3C39.75 51.72 42.42 54.12 45.16 56.46C48.84 59.6 48.24 60.06 52.39 56.48C55.1 54.16 57.78 51.53 60.51 49.3Z' fill='%23FAFAFA'/%3E%3Cpath d='M75.94 22.1C78.65 21.89 81.76 21.97 83.91 23.74C82.11 25.17 80.43 26.76 78.7 28.28L53.96 50.25C52.23 51.81 50.53 53.28 48.83 54.88C47.53 53.79 46.33 52.58 45.07 51.46L34.64 42.12L13.86 23.74C15.45 22.07 17.54 22.1 19.66 22.1L75.94 22.1Z' fill='%23FAFAFA'/%3E%3C/svg%3E");}
	.share-ico--facebook {background-color: #0866ff; background-size: 105.6% 105.6%;}
	.share-ico--x {background-size: 100% 100%;
		background-image: url("data:image/svg+xml,%3Csvg width='132' height='132' viewBox='0 0 132 132' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 20.62C0 9.23 9.23 0 20.62 0H111.38C122.77 0 132 9.23 132 20.62V111.38C132 122.77 122.77 132 111.38 132H20.62C9.23 132 0 122.77 0 111.38V20.62Z' fill='black'/%3E%3Cpath d='M72.28 60.95L96.85 33H91.03L69.69 57.27L52.65 33H33L58.77 69.69L33 99H38.82L61.35 73.37L79.35 99H99L72.28 60.95H72.28ZM64.3 70.02L61.69 66.36L40.92 37.29H49.86L66.63 60.75L69.24 64.41L91.03 94.91H82.09L64.3 70.02V70.02Z' fill='%23FAFAFA'/%3E%3C/svg%3E");}
}
