/*! normalize.css v3.0.3 | MIT License | github.com/necolas/normalize.css */
html {
  font-family: sans-serif;
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%
}

body {
  color: #222831;
  font-size: calc(110% + 0.1vw);
  line-height: 1.6;
  background-color: #fff;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell,
    "Helvetica Neue", sans-serif;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
menu,
nav,
section,
summary {
  display: block
}

audio,
canvas,
progress,
video {
  display: inline-block;
  vertical-align: baseline
}

audio:not([controls]) {
  display: none;
  height: 0
}

[hidden],
template {
  display: none
}

a {
  background-color: transparent
}

a:active,
a:hover {
  outline: 0
}

abbr[title] {
  border-bottom: 1px dotted
}

b,
strong {
  font-weight: bold
}

dfn {
  font-style: italic
}

h1 {
  font-size: 2em;
  margin: 0.67em 0
}

mark {
  background: #ff0;
  color: #000
}

small {
  font-size: 80%
}

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline
}

sup {
  top: -0.5em
}

sub {
  bottom: -0.25em
}

img {
  border: 0
}

svg:not(:root) {
  overflow: hidden
}

figure {
  margin: 1em 40px
}

hr {
  box-sizing: content-box;
  height: 0
}

pre {
  overflow: auto
}

code,
kbd,
pre,
samp {
  font-family: monospace, monospace;
  font-size: 1em
}

button,
input,
optgroup,
select,
textarea {
  color: inherit;
  font: inherit;
  margin: 0
}

button {
  overflow: visible
}

button,
select {
  text-transform: none
}

button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
  -webkit-appearance: button;
  cursor: pointer
}

button[disabled],
html input[disabled] {
  cursor: default
}

button::-moz-focus-inner,
input::-moz-focus-inner {
  border: 0;
  padding: 0
}

input {
  line-height: normal
}

input[type="checkbox"],
input[type="radio"] {
  box-sizing: border-box;
  padding: 0
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  height: auto
}

input[type="search"] {
  -webkit-appearance: textfield;
  box-sizing: content-box
}

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none
}

fieldset {
  border: 1px solid #c0c0c0;
  margin: 0 2px;
  padding: 0.35em 0.625em 0.75em
}

legend {
  border: 0;
  padding: 0
}

textarea {
  overflow: auto
}

optgroup {
  font-weight: bold
}

table {
  border-collapse: collapse;
  border-spacing: 0
}

td,
th {
  padding: 0
}

::selection {
  color: #FFFFFF;
  background-color: #1296db
}

html,
body {
  width: 100%;
  height: 100%
}

body {
  margin: 0;
  color: #34495e;
  font-size: 15px;
  line-height: 1.6;
  background-color: #fff;
  font-family: 'sourcesanspro', 'Helvetica Neue', Arial, sans-serif
}

ul.nav,
ul.post-list {
  margin: 0;
  padding: 0;
  list-style-type: none
}

ul {
  margin: 1rem 0
}

a,
a:active {
  color: #2c3e50;
  text-decoration: none
}

a.nav-list-link.active,
a.nav-list-link:hover,
a.post-title-link:hover {
  border-bottom: 2px solid #1296db
}

hr {
  border: 0
}

code {
  padding: 0.2em 0.4em;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.125)
}

iframe,
video {
  max-width: 100%;
  margin: 1rem auto;
  display: block
}

table {
  padding: 0
}

table th {
  font-weight: bold;
  border: 1px solid #c6cbd1;
  text-align: left;
  margin: 0;
  padding: 6px 13px
}

table thead {
  background-color: #fff
}

table tbody tr {
  border-top: 1px solid #c6cbd1;
  background-color: white
}

table tbody tr:nth-child(2n) {
  background-color: #f6f8fa
}

table tbody td {
  border: 1px solid #dfe2e5;
  text-align: left;
  margin: 0;
  padding: 6px 13px
}

table tbody th :first-child,
table tbody td :first-child {
  margin-top: 0
}

table tbody th :last-child,
table tbody td :last-child {
  margin-bottom: 0
}

header {
  min-height: 60px
}

header .logo-link {
  float: left
}

header .branding {
  display: inline-block;
  margin: 10px 0 0 0;
  position: relative
}

header .nav {
  float: right;
  left: 80px
}

header .logo-image {
  width: 60px
}

header .logo-image:hover {
  animation: sway 1.4s ease-in-out both;
}

@keyframes sway {
  10%,
  90% {
    transform: rotate(-15deg);
  }

  20%,
  80% {
    transform: rotate(15deg);
  }

  30%,
  50%,
  70% {
    transform: rotate(-10deg);
  }

  40%,
  60% {
    transform: rotate(10deg);
  }
}


header .nav-list-item {
  display: inline-block;
  padding: 19px 10px
}

header .nav-list-item a {
  font-size: 16px;
  line-height: 1.4
}

.home.post-list {
  margin: 2em 0
}

.home.post-list .post-list-item {
  padding: 1em 0 2em;
  border-bottom: 1px solid #ddd
}

.home.post-list .post-list-item:last-child {
  border-bottom: 0px
}

.home.post-list .post-content h2:before,
.home.post-list .post-content h3:before,
.home.post-list .post-content h4:before,
.home.post-list .post-content h5:before,
.home.post-list .post-content h6:before {
  content: ''
}

.home.post-list .post-content>ul {
  list-style: initial
}

.home.post-list .read-more {
  color: #1296db
}

.archive {
  max-width: 500px;
  margin: 5em 0
}

.archive .post-item {
  padding: 2px 0 0 50px;
  overflow: hidden
}

.archive .post-time,
.archive .post-title-link {
  font-size: 1rem
}

.archive .post-title-link {
  display: block;
  margin-left: 125px;
  color: #1296db;
  word-wrap: break-word
}

.archive .post-title-link:hover {
  border-bottom: 0;
  color: #267B54
}

.archive .post-info {
  float: left;
  width: 125px;
  color: #7f8c8d
}

.post {
  padding-top: 1em
}

.post-block .post-title {
  margin: 0.65em 0;
  color: #2c3e50;
  font-size: 1.5em
}

.post-block .post-info {
  color: #7f8c8d;
  margin: 1.2em 0
}

.post-block .post-info span {
  margin-left: 0.5rem
}

.post-block .post-info a.post-from {
  margin-left: 0.5rem;
  padding: 3px 6px;
  border-radius: 5px;
  font-size: 12px;
  color: white;
  background-color: #E36B6B
}

.post-content h2,
.post-content h3,
.post-content h4,
.post-content h5,
.post-content h6 {
  position: relative;
  margin: 1em 0
}

.post-content h2 a:before,
.post-content h3 a:before,
.post-content h4 a:before,
.post-content h5 a:before,
.post-content h6 a:before {
  content: "#";
  color: #1296db;
  position: absolute;
  left: -0.7em;
  top: -4px;
  font-size: 1.2em;
  font-weight: bold
}

.post-content h4 a:before,
.post-content h5 a:before,
.post-content h6 a:before {
  content: ""
}

.post-content h2,
.post-content h3 {
  font-size: 1.4em
}

.post-content h4,
.post-content h5,
.post-content h6 {
  font-size: 1.3em
}

.post-content a {
  color: #1296db;
  word-break: break-all
}

.post-content blockquote {
  margin: 2em 0;
  padding: 0.5em 1.3em;
  border: 1px solid #eee;
  border-radius: 3px;
  border-left-color: #1296db;
  border-left-width: 4px
}

.post-content blockquote.warning {
  border-left-color: #f0ad4e;
  border-left-width: 4px
}

.post-content img {
  display: block;
  max-width: 100%;
  margin: 1em auto
}

.post-content>figure.highlight {
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.125)
}

.post-content .tip {
  position: relative;
  margin: 2em 0;
  padding: 12px 24px 12px 30px;
  border-left: 4px solid #f66;
  border-top-right-radius: 2px;
  border-bottom-right-radius: 2px;
  background-color: #f8f8f8
}

.post-content .tip br {
  display: none
}

.post-content .tip:before {
  position: absolute;
  top: 14px;
  left: -12px;
  content: "!";
  width: 20px;
  height: 20px;
  border-radius: 100%;
  color: #fff;
  font-size: 14px;
  line-height: 20px;
  font-weight: bold;
  text-align: center;
  background-color: #f66;
  font-family: 'Dosis', 'Source Sans Pro', 'Helvetica Neue', Arial, sans-serif
}

#mask {
  position: fixed;
  overflow: scroll;
  width: 100%;
  height: 100%;
  padding: 1em 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 10
}

#mask #mask-image {
  max-width: 95%
}

code,
pre {
  font-size: .8em;
  background-color: #f8f8f8;
  font-family: "SF Mono", "Monaco", "Inconsolata", "Fira Mono", "Droid Sans Mono", "Source Code Pro",
    monospace;
}

.highlight {
  position: relative;
  margin: 1em 0;
  border-radius: 2px;
  line-height: 1.1em;
  background-color: #f8f8f8;
  overflow-x: auto
}

.highlight table,
.highlight tr,
.highlight td {
  width: 100%;
  border-collapse: collapse;
  padding: 0;
  margin: 0
}

.highlight .gutter {
  display: none
}

.highlight .code pre {
  padding: 1.2em 1.4em;
  line-height: 1.5em;
  margin: 0
}

.highlight .code pre .line {
  width: auto;
  height: 18px
}

.highlight.sql .code:after,
.highlight.ini .code:after,
.highlight.conf .code:after,
.highlight.html .code:after,
.highlight.javascript .code:after,
.highlight.js .code:after,
.highlight.bash .code:after,
.highlight.css .code:after,
.highlight.scss .code:after,
.highlight.diff .code:after,
.highlight.java .code:after,
.highlight.xml .code:after,
.highlight.python .code:after,
.highlight.json .code:after,
.highlight.swift .code:after,
.highlight.ruby .code:after,
.highlight.perl .code:after,
.highlight.php .code:after,
.highlight.c .code:after,
.highlight.cpp .code:after,
.highlight.ts .code:after {
  position: absolute;
  top: 0;
  right: 0;
  color: #ccc;
  text-align: right;
  font-size: 0.75em;
  padding: 5px 10px 0;
  line-height: 15px;
  height: 15px;
  font-weight: 600
}

.highlight.sql .code:after {
  content: "SQL"
}

.highlight.ini .code:after {
  content: "INI"
}

.highlight.conf .code:after {
  content: "CONF"
}

.highlight.html .code:after {
  content: "HTML"
}

.highlight.javascript .code:after {
  content: "JAVASCRIPT"
}

.highlight.js .code:after {
  content: "JS"
}

.highlight.bash .code:after {
  content: "BASH"
}

.highlight.css .code:after {
  content: "CSS"
}

.highlight.scss .code:after {
  content: "SCSS"
}

.highlight.diff .code:after {
  content: "DIFF"
}

.highlight.java .code:after {
  content: "JAVA"
}

.highlight.xml .code:after {
  content: "XML"
}

.highlight.python .code:after {
  content: "PYTHON"
}

.highlight.json .code:after {
  content: "JSON"
}

.highlight.swift .code:after {
  content: "SWIFT"
}

.highlight.ruby .code:after {
  content: "RUBY"
}

.highlight.perl .code:after {
  content: "PERL"
}

.highlight.php .code:after {
  content: "PHP"
}

.highlight.c .code:after {
  content: "C"
}

.highlight.java .code:after {
  content: "JAVA"
}

.highlight.cpp .code:after {
  content: "CPP"
}

.highlight.ts .code:after {
  content: "TS"
}

.highlight.cpp .code:after {
  content: 'C++'
}

pre {
  color: #525252
}

pre .comment,
pre .quote {
  color: #998;
  font-style: italic
}

pre .keyword,
pre .selector-tag,
pre .subst {
  color: #333;
  font-weight: bold
}

pre .number,
pre .literal,
pre .variable,
pre .template-variable,
pre .tag .attr {
  color: teal
}

pre .string,
pre .doctag {
  color: #d14
}

pre .title,
pre .section,
pre .selector-id {
  color: #900;
  font-weight: bold
}

pre .subst {
  font-weight: normal
}

pre .type,
pre .class .title {
  color: #458;
  font-weight: bold
}

pre .tag,
pre .name,
pre .attribute {
  color: #000080;
  font-weight: normal
}

pre .regexp,
pre .link {
  color: #009926
}

pre .symbol,
pre .bullet {
  color: #990073
}

pre .built_in,
pre .builtin-name {
  color: #0086b3
}

pre .meta {
  color: #999;
  font-weight: bold
}

pre .deletion {
  background: #fdd
}

pre .addition {
  background: #dfd
}

pre .emphasis {
  font-style: italic
}

pre .strong {
  font-weight: bold
}

.paginator {
  margin: 4em 0;
  text-align: center
}

.paginator .prev,
.paginator .next {
  display: inline-block;
  margin: 0 4px;
  padding: 4px 12px;
  border-radius: 4px;
  border-bottom: 4px solid #1296db;
  font-size: 14px;
  color: #fff;
  background-color: #1296db
}

.paginator .prev:hover,
.paginator .next:hover {
  background-color: #0ca9fd
}

.ds-thread,
#disqus_thread {
  margin-bottom: 2em
}

main.container {
  margin: 2em 10px
}

@media screen and (min-width: 700px) {
  .wrap {
    width: 700px;
    margin: 0 auto
  }

  header {
    padding: 20px 0
  }
}

@media screen and (max-width: 700px) {
  .wrap {
    width: 100%
  }

  header {
    padding: 20px 0
  }

  header a.logo-link,
  header ul.nav.nav-list {
    float: none;
    display: block;
    text-align: center
  }

  header li.nav-list-item {
    padding: 10px 10px
  }

  main.container,
  .home.post-list,
  .archive {
    margin-top: 0
  }

  .archive .post-item {
    padding-left: 20px
  }

  .post-content h2,
  .post-content h3,
  .post-content h4,
  .post-content h5,
  .post-content h6 {
    max-width: 300px;
    left: 15px
  }

  .ds-thread,
  #disqus_thread {
    margin: 2em 10px
  }
}

footer {
  padding-bottom: 1px
}

footer .copyright {
  margin: 4em 0;
  border-top: 1px solid #ddd;
  text-align: center
}

footer .copyright p,
footer .copyright a {
  color: #aaa;
  font-size: 14px;
  font-weight: 100
}

footer .copyright a:hover {
  color: #888
}

code,
pre {
  font-size: 0.8em;
  background-color: #f8f8f8;
  font-family: 'Roboto Mono', Monaco, courier, monospace
}

.highlight {
  position: relative;
  margin: 1em 0;
  border-radius: 2px;
  line-height: 1.1em;
  background-color: #f8f8f8;
  overflow-x: auto
}

.highlight table,
.highlight tr,
.highlight td {
  width: 100%;
  border-collapse: collapse;
  padding: 0;
  margin: 0
}

.highlight .gutter {
  display: none
}

.highlight .code pre {
  padding: 1.2em 1.4em;
  line-height: 1.5em;
  margin: 0
}

.highlight .code pre .line {
  width: auto;
  height: 18px
}

.highlight.sql .code:after,
.highlight.ini .code:after,
.highlight.conf .code:after,
.highlight.html .code:after,
.highlight.javascript .code:after,
.highlight.js .code:after,
.highlight.bash .code:after,
.highlight.css .code:after,
.highlight.scss .code:after,
.highlight.diff .code:after,
.highlight.java .code:after,
.highlight.xml .code:after,
.highlight.python .code:after,
.highlight.json .code:after,
.highlight.swift .code:after,
.highlight.ruby .code:after,
.highlight.perl .code:after,
.highlight.php .code:after,
.highlight.c .code:after,
.highlight.cpp .code:after,
.highlight.ts .code:after {
  position: absolute;
  top: 0;
  right: 0;
  color: #ccc;
  text-align: right;
  font-size: 0.75em;
  padding: 5px 10px 0;
  line-height: 15px;
  height: 15px;
  font-weight: 600
}

.highlight.sql .code:after {
  content: "SQL"
}

.highlight.ini .code:after {
  content: "INI"
}

.highlight.conf .code:after {
  content: "CONF"
}

.highlight.html .code:after {
  content: "HTML"
}

.highlight.javascript .code:after {
  content: "JAVASCRIPT"
}

.highlight.js .code:after {
  content: "JS"
}

.highlight.bash .code:after {
  content: "BASH"
}

.highlight.css .code:after {
  content: "CSS"
}

.highlight.scss .code:after {
  content: "SCSS"
}

.highlight.diff .code:after {
  content: "DIFF"
}

.highlight.java .code:after {
  content: "JAVA"
}

.highlight.xml .code:after {
  content: "XML"
}

.highlight.python .code:after {
  content: "PYTHON"
}

.highlight.json .code:after {
  content: "JSON"
}

.highlight.swift .code:after {
  content: "SWIFT"
}

.highlight.ruby .code:after {
  content: "RUBY"
}

.highlight.perl .code:after {
  content: "PERL"
}

.highlight.php .code:after {
  content: "PHP"
}

.highlight.c .code:after {
  content: "C"
}

.highlight.java .code:after {
  content: "JAVA"
}

.highlight.cpp .code:after {
  content: "CPP"
}

.highlight.ts .code:after {
  content: "TS"
}

.highlight.cpp .code:after {
  content: 'C++'
}

pre {
  color: #525252
}

pre .comment,
pre .quote {
  color: #998;
  font-style: italic
}

pre .keyword,
pre .selector-tag,
pre .subst {
  color: #333;
  font-weight: bold
}

pre .number,
pre .literal,
pre .variable,
pre .template-variable,
pre .tag .attr {
  color: teal
}

pre .string,
pre .doctag {
  color: #d14
}

pre .title,
pre .section,
pre .selector-id {
  color: #900;
  font-weight: bold
}

pre .subst {
  font-weight: normal
}

pre .type,
pre .class .title {
  color: #458;
  font-weight: bold
}

pre .tag,
pre .name,
pre .attribute {
  color: #000080;
  font-weight: normal
}

pre .regexp,
pre .link {
  color: #009926
}

pre .symbol,
pre .bullet {
  color: #990073
}

pre .built_in,
pre .builtin-name {
  color: #0086b3
}

pre .meta {
  color: #999;
  font-weight: bold
}

pre .deletion {
  background: #fdd
}

pre .addition {
  background: #dfd
}

pre .emphasis {
  font-style: italic
}

pre .strong {
  font-weight: bold
}

/* fonts unified to Inter + Noto Sans SC via Google Fonts */
.
.cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:16px}
.card{width:100%;margin:0}
@media screen and (max-width:360px){.cards{grid-template-columns:1fr}.card{width:100%}}
.card{border:1px solid #e6e6e6;border-radius:10px;box-shadow:0 6px 16px rgba(0,0,0,.06);background:#fff;overflow:hidden}
.card-cover{width:100%;height:120px;object-fit:cover;display:block}
.card-header{display:flex;justify-content:space-between;align-items:center;padding:14px 16px;border-bottom:1px solid #f0f0f0;background:#fcfcfc}
.card-title{font-size:18px;font-weight:600;color:#2c3e50;letter-spacing:.2px}
.card-subtitle{font-size:13px;color:#7f8c8d;margin-top:4px}
.card-actions{display:flex;gap:10px}
.btn{padding:8px 12px;border:none;border-radius:6px;background:#1296db;color:#fff;font-size:14px}
.btn.secondary{background:#34495e}
.btn:hover{filter:brightness(1.05)}
.card-desc{margin:8px 16px 0;color:#34495e;font-size:13px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.card-body{position:relative;background:#f8f9fb}
.card-iframe{width:100%;height:300px;border:0;background:#fafafa;border-bottom-left-radius:10px;border-bottom-right-radius:10px}
@media screen and (min-width:700px){.card-iframe{height:300px}}

.cards-title{margin:0 0 12px 2px;font-size:20px;font-weight:600;color:#2c3e50}

@font-face {
  font-family: 'sourcesanspro';
  src: url("../font/sourcesanspro.woff2") format("woff2"), url("../font/sourcesanspro.woff") format("woff");
  font-weight: normal;
  font-style: normal
}

.post-block .post-title{font-size:1.9em;font-weight:600;color:#2c3e50;letter-spacing:.2px}
.post-content p{font-size:1.02em;color:#34495e}
.post-content img{border-radius:6px}
