:root {
  --icon-size: 60px;
}


.view {
    padding: 0 20px;
}


#main {
  margin: 0 auto;
  max-width: 600px;
  width: 100%;
}


.list-header-txt-h {
  font-size: 23px;
  margin-bottom: 28px;
}


[class^="module"] {
  width: 100%;
  padding-top: 56px;
  padding-bottom: 56px;
}
[class^="module"]:last-child {
  border-bottom: none;
}
.profile-link li {
  text-align: center;
  
  margin: 14px auto;

  font-size: 16px;
}
.profile-link li:last-child {
  margin: 0;
}
.profile-link li a {
  display: block;
  
  line-height: 1.6;
  word-break: break-all;
}


.module-profile {
  max-width: 712px;
  width: 100%;
  padding-top: 28px;
  padding-bottom: 0;

  display: flex;

  flex-direction: column;
}


.profile-figure {
  width: 120px !important;
  height: 120px;
  border-radius: 100%;
  flex-shrink: 0;
  background-position: 50% 50%;
  background-size: cover
}
.profile-txt {
  margin-top: 20px;

  padding-right: 28px;
  padding-left: 28px;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center
}
.profile-txt h3 {
text-align: center;
margin-bottom: 8px;
}

.profile-blog-title {
  font-size: 23px;
  font-weight: 700;

  overflow: hidden;
  text-overflow: ellipsis;

  max-height: 2.8em;
  line-height: 1.4;

  word-break: break-all;
  white-space: normal;

  display: -webkit-box;

  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;

  margin-top: calc((23px*1.4 - 23px)/-2);
  margin-bottom: calc((23px*1.4 - 23px)/-2)
}




  .profile-home-link-wrap {
    flex-direction: column
  }

  .profile-figure {
    align-self: center
  }

  .profile-txt {
    padding-right: 0;
    padding-left: 0;
    text-align: center
  }

  .profile-subscribe-button {
    position: static;
    margin-top: 16px
  }




.module-button-header {
  display: flex;

padding-bottom: 28px;
margin: 0 auto 28px;

  border-bottom: 1px solid #ddd;
}
.button-header-h {
  font-size: 36px;
}


article {
  margin: 0 auto;
}


#list-wrap {
  display: flex;
  flex-wrap: wrap;

  width: 100%;
}
.list-item {
  margin-bottom: 16px;

  position: relative;

  display: flex;
  flex-direction: column;

  margin-right: calc((100% - (var(--icon-size) * 4))/3); //calc(23.59%); //calc((712px - (52 * 4px))/3);
}
.list-item:nth-child(4n+4) {
    margin-right: 0;
}
.list-item:nth-last-child(-n+4) {
  margin-bottom: 0;
}
.event-icon {
  border-radius: 12px;

  width: var(--icon-size);
  height: var(--icon-size);

  background-color: #ddd;

  margin-bottom: 8px;

  box-shadow: 0 3px 6px rgba(30, 30, 30, .25);
}
.list-item.selected .event-icon {
  opacity: .5;
}
.event-icon::before {
  content: '?';
  font-size: 48px;
  text-align: center;
  line-height: 56px;

  color: var(--b-color);

  display: block;
}
#clipboard .event-icon {
  background-image: url(../icon/touch-icon.png);
  background-position: 50% 50%;
  background-size: cover;

  opacity: 1;

  display: block;
}
#clipboard .event-icon::before {
  display: none;
}
#game .event-icon {
  background-image: url(../icon/icon_game.png);
  background-position: 50% 50%;
  background-size: cover;

  opacity: 1;

  display: block;
}
#game .event-icon::before {
  display: none;
}
#youtube .event-icon {
  background-image: url(../icon/icon_youtube.png);
  background-position: 50% 50%;
  background-size: cover;

  opacity: 1;

  display: block;
}
#youtube .event-icon::before {
  display: none;
}
#doa .event-icon {
  background-image: url(../icon/icon_doa.png);
  background-position: 50% 50%;
  background-size: cover;

  opacity: 1;

  display: block;
}
#doa .event-icon::before {
  display: none;
}
#css .event-icon {
  background-image: url(../icon/icon_css.png);
  background-position: 50% 50%;
  background-size: cover;

  opacity: 1;

  display: block;
}
#css .event-icon::before {
  display: none;
}
#screenscale .event-icon {
  background-image: url(../icon/icon_screenscale.png);
  background-position: 50% 50%;
  background-size: cover;

  opacity: 1;

  display: block;
}
#screenscale .event-icon::before {
  display: none;
}
#search .event-icon {
  background-image: url(../icon/icon_search.png);
  background-position: 50% 50%;
  background-size: cover;

  opacity: 1;

  display: block;
}
#search .event-icon::before {
  display: none;
}
#marry .event-icon {
  background-image: url(../icon/icon_marry.png);
  background-position: 50% 50%;
  background-size: cover;

  opacity: 1;

  display: block;
}
#marry .event-icon::before {
  display: none;
}
#bezelkit .event-icon {
  background-image: url(../icon/icon_bezelkit.png);
  background-position: 50% 50%;
  background-size: cover;

  opacity: 1;

  display: block;
}
#bezelkit .event-icon::before {
  display: none;
}
#snack .event-icon {
  background-image: url(../icon/icon_snack.png);
  background-position: 50% 50%;
  background-size: cover;

  opacity: 1;

  display: block;
}
#snack .event-icon::before {
  display: none;
}
#memo .event-icon {
  background-image: url(../icon/icon_memo.png);
  background-position: 50% 50%;
  background-size: cover;

  opacity: 1;

  display: block;
}
#memo .event-icon::before {
  display: none;
}
#tistoryblank .event-icon {
  background-image: url(../icon/icon_tistoryblank.png);
  background-position: 50% 50%;
  background-size: cover;

  opacity: 1;

  display: block;
}
#tistoryblank .event-icon::before {
  display: none;
}
.event-name {
  text-align: center;
  line-height: 1.2;

    overflow: hidden;
text-overflow: ellipsis;
white-space: normal;
display: -webkit-box;
-webkit-box-orient: vertical;

font-size: 12px;
width: var(--icon-size);

-webkit-line-clamp: 2;
max-height: 2.4em;

word-break: keep-all

}
.list-item.selected .event-name {
  color: #fff;
  background-color: #3391ff;
}
#list-wrap > div > a {
  width: 100%;
  height: 100%;

  padding: 0;

  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;

  background-color: transparent;
}




:root {
  --font-size: 16px;
  --second-font-size: 16px;

  --font-line-height: 1.825;
  --font-weight: 500;

  --h2-font-size: 26px;
  --h3-font-size: 23px;
  --h4-font-size: 20px;

  --h3-font-line-height: 1.55;

  --font-color: #333;
  --b-color: white;

  --b-blur-color: rgba(255, 255, 255, 0.72);

  --link-tag-color: #003569;
  --button-hover-color: #f5f5f5;

  --button-point-b-color: black;
  --button-point-color: white;
  --pop-menu-border: none;

  --list-figure-b-color: #f5f5f5;
  --line-color: rgba(185, 185, 185, .5);
}

.view {
  color: var(--font-color);
  background-color: var(--b-color);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  position: relative;
  padding: 0 28px;
  overflow: hidden;
}

#main {
  margin-top: 28px;

  display: flex;
  flex-direction: column;
  align-items: center;
}

p {
  word-break: break-all;
}


.module-article {
  max-width: 712px;
  width: 100%;
  border-top: 1px solid var(--line-color);
}

.content {
    font-size: var(--font-size);
    font-weight: var(--font-weight);
    line-height: var(--font-line-height)
}

.content>*:first-child:not(p):not(ul):not(ol):not(h2):not(h3):not(h4) {
    margin-top: 0!important;
    padding-top: 0!important
}


/* 링크 a */
.content a {
  color: #0070d1;
}

.content a {
  color: var(--link-tag-color);
}

/* 호버가 가능한 기기에서만 적용되는 스타일 */
@media (any-hover: hover) {
  .content a:not([class*="btn-"]):not([data-original-url]):hover {
    text-decoration: underline;
  }
}


/* 본문 p */
.content p {
  font-size: var(--font-size);
  line-height: var(--font-line-height);
}

.content h1+p,
.content h2+p,
.content h3+p,
.content h4+p,
.content h5+p,
.content h6+p {
  margin-top: calc((var(--font-size) * var(--font-line-height) - var(--font-size)) / -2);
}

.content p+p {
  margin-top: calc((var(--font-size) * var(--font-line-height) - var(--font-size)) / 2);
}


/* 리스트 */
.content ul,
.content ol {
  margin: 0 auto 32px;
  padding-left: 10px;

	list-style: unset;
}
.content ul:last-child,
.content ol:last-child {
  margin-bottom: 8px;
  padding-bottom: 10px;

	list-style: unset;
}
.content ul {
	list-style-type: disc;
}
.content ul ul {
	list-style-type: circle;
}
.content ul ul ul {
	list-style-type: square;
}
.content ol {
	list-style-type: decimal;
}
.content h1 + ul,
.content h1 + ol,
.content h2 + ul,
.content h2 + ol,
.content h3 + ul,
.content h3 + ol,
.content h4 + ul,
.content h4 + ol,
.content h5 + ul,
.content h5 + ol,
.content h6 + ul,
.content h6 + ol {
	margin-top: calc( ( var(--font-size) * var(--font-line-height) - var(--font-size) ) / -2 );
}
.content li {
	font-size: var(--font-size);

	line-height: var(--font-line-height);
}
.content ul li,
.content ol li {
	margin: 0 0 0 17px;
}


/* 본문 h3 */
.content h3 {
  font-size: var(--h3-font-size);
  line-height: var(--h3-font-line-height);

  font-weight: 600;

  margin-bottom: 20px;
}
.content>*:first-child {
  margin-top: calc((var(--h3-font-size) * var(--h3-font-line-height) - var(--h3-font-size)) / -2) !important;
}


/* 본문 h1, h2, h4~h6 */
.content h1, 
.content h2,
.content h4,
.content h5,
.content h6 {
  font-size: var(--font-size);
  line-height: var(--font-line-height); 

  font-weight: 600;
}