/* ========================================
   Particlex Theme - Main Stylesheet
   ======================================== */

/* ---------- Archives ---------- */
#archives {
  margin: auto;
  margin-top: 100px;
  padding: 20px;
}

#archives .categories-tags {
  margin: auto;
  margin-bottom: 50px;
  max-width: 900px;
  text-align: center;
  width: 100%;
}

#archives .categories-tags span {
  display: inline-block;
  margin: 10px;
}

#archives .categories-tags span .icon {
  color: #fff;
  margin-left: 0;
  margin-right: 10px;
}

#archives .categories-tags span a {
  border: #ffffff80 1px solid;
  border-radius: 10px;
  color: #fff;
  padding: 10px 15px;
  transition: background .25s, border .25s, color .25s;
}

#archives .categories-tags span a:hover {
  background: #fff !important;
  border: #a5c2f5 1px solid;
  color: #5c6b72;
}

#archives .categories-tags span a:hover .icon {
  color: #5c6b72;
}

#archives .category,
#archives .tags .tag,
.article .info .category,
.article .info .tags,
.article .info .tags .tag {
  display: inline-block;
  margin-right: 10px;
}

#archives h3 {
  margin: 10px 0;
}

#archives .item-time,
#archives .tag-icon,
#archives a {
  color: #5c6b72;
}

#archives .tags {
  display: inline-block;
}

#archives .info {
  line-height: 1.7;
}

/* ---------- Crypto ---------- */
#crypto {
  margin: 50px 0;
}

#crypto.failure {
  border-color: #ea4a5a;
  color: #ea4a5a;
}

#crypto.failure:focus {
  box-shadow: 0 0 0 3px #ea4a5a4d;
}

#crypto.success {
  border-color: #34d058;
  color: #34d058;
}

/* ---------- Footer ---------- */
#footer {
  font-size: 14px;
  margin-top: 150px;
  padding-bottom: 20px;
  text-align: center;
  width: 100%;
}

#footer #footer-icon {
  color: #66afef;
  display: inline-block;
  font-size: 18px;
  margin: 0 10px;
}

#footer #footer-wrap {
  border-top: 1px solid #aaa;
  color: #5c6b72;
  margin: auto;
  width: 900px;
}

#footer #footer-wrap div {
  margin: 5px 15px;
}

/* ---------- Home Card (Sidebar) ---------- */
#home-card {
  width: 300px;
}

#home-card #card-style {
  --rx: 0deg;
  --ry: 0deg;
  --light-x: 50%;
  --light-y: 50%;
  background: rgba(255, 255, 255, .06);
  backdrop-filter: blur(14px) saturate(180%) brightness(1.06);
  -webkit-backdrop-filter: blur(14px) saturate(180%) brightness(1.06);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 20px;
  box-shadow:
    0 8px 32px rgba(0, 0, 0, .06),
    inset 0 1px 1px rgba(255, 255, 255, .28),
    inset 0 -1px 1px rgba(255, 255, 255, .04);
  display: flex;
  flex-direction: column;
  max-height: 80vh;
  justify-content: center;
  overflow: hidden;
  position: sticky;
  text-align: center;
  top: 10vh;
  width: 300px;
  transform: rotateX(var(--rx)) rotateY(var(--ry));
  transform-style: preserve-3d;
  will-change: transform;
  transition: transform 0.5s ease;
}

/* ========== 液态玻璃卡片层 ========== */
.glass-card-inner {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: inherit;
  pointer-events: none;
}
.glass-card-canvas {
  position: absolute;
  left: -20px;
  top: -20px;
  width: calc(100% + 40px);
  height: calc(100% + 40px);
  opacity: .62;
  mix-blend-mode: screen;
}
.glass-card-surface {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(140px circle at var(--light-x) var(--light-y), rgba(255,255,255,.14), rgba(255,255,255,.025) 30%, transparent 65%), linear-gradient(135deg, rgba(255,255,255,.09), transparent 28%, transparent 72%, rgba(255,255,255,.025));
  mix-blend-mode: screen;
}
.glass-card-border {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 20;
  pointer-events: none;
  overflow: hidden;
}
.glass-card-border-base {
  fill: none;
  stroke: rgba(255,255,255,.17);
  stroke-width: 1.25;
}
.glass-card-border-highlight {
  fill: none;
  stroke: rgba(255,255,255,.28);
  stroke-width: 1;
  opacity: .65;
}
.glass-card-border-glow {
  fill: none;
  stroke: rgba(255,255,255,.065);
  stroke-width: 5;
  filter: blur(3px);
  opacity: .45;
}
.glass-content {
  position: relative;
  z-index: 30;
}

#home-card #card-div {
  will-change: transform;
}

#home-card #card-div .avatar {
  border: #f1f1f1 solid 3px;
  border-radius: 50%;
  height: 140px;
  margin: auto;
  text-align: center;
  width: 140px;
}

#home-card #card-div .avatar img {
  border-radius: 50%;
  height: 100%;
  width: 100%;
}

#home-card #card-div .avatar:hover img {
  transform: rotate(360deg);
}

#home-card #card-div .description {
  margin: 20px auto;
  width: 85%;
}

#home-card #card-div .friend-links .friend-link {
  margin-bottom: 5px;
}

#home-card #card-div .friend-links a {
  border-radius: 5px;
  color: #5c6b72;
  display: block;
  padding: 8px 0;
}

#home-card #card-div .icon-links .icon-link {
  margin: 5px;
}

#home-card #card-div .icon-links a {
  border-radius: 5px;
  color: #5c6b72;
  font-size: 18px;
  padding: 5px;
}

#home-card #card-div .friend-links a:hover,
#home-card #card-div .icon-links a:hover,
#home-posts .page-current .page-num:hover {
  background: #66afef;
  color: #fff;
}

#home-card #card-div .friend-links,
#home-card #card-div .icon-links {
  border-top: #cdcdcd solid 1px;
  margin: 10px auto;
  padding-top: 10px;
  width: 85%;
}

#home-card #card-div .name {
  font-size: 16px;
  font-weight: 700;
  margin: 20px auto;
}

/* ---------- Home Head (Hero) ---------- */
#home-head {
  display: flex;
  height: 100vh;
  width: 100vw;
}

#home-head #home-background {
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  height: 100vh;
  left: 0;
  position: absolute;
  top: 0;
  width: 100vw;
  z-index: -1;
}

#home-head #home-info .info {
  align-items: center;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  text-align: center;
}

#home-head #home-info .loop:first-child {
  animation: loop1 10s linear infinite;
  background: rgba(255, 255, 255, .7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 38% 62% 63% 37% / 41% 44% 56% 59%;
  opacity: .3;
  transform: rotate(30deg);
}

#home-head #home-info .loop:nth-child(2) {
  animation: loop2 15s linear infinite;
  background: rgba(255, 255, 255, .7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 38% 62% 63% 37% / 41% 44% 56% 59%;
  opacity: .45;
  transform: rotate(60deg);
}

#home-head #home-info .loop:nth-child(3) {
  animation: loop3 10s linear infinite;
  background: rgba(255, 255, 255, .7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 38% 62% 63% 37% / 41% 44% 56% 59%;
  opacity: .3;
  transform: rotate(90deg);
}

#home-head #home-info .loop:nth-child(4) {
  animation: loop4 15s linear infinite;
  background: rgba(255, 255, 255, .7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 38% 62% 63% 37% / 41% 44% 56% 59%;
  opacity: .45;
  transform: rotate(120deg);
}

#home-head #home-info,
#home-posts {
  margin: auto;
}

/* ---------- Pagination ---------- */
#home-posts .page-current {
  align-items: center;
  display: flex;
  font-weight: 700;
  justify-content: center;
  margin-top: 50px;
  text-align: center;
  width: 100%;
}

#home-posts .page-current .current {
  border-radius: 5px;
  color: #da0a51;
  display: inline-block;
  height: 35px;
  line-height: 35px;
  margin: 0 7px;
  padding: 5px;
  width: 35px;
}

#home-posts .page-current .page-num,
#home-posts .page-current .page-omit {
  border-radius: 5px;
  display: inline-block;
  height: 35px;
  line-height: 35px;
  margin: 0 7px;
  padding: 5px;
  width: 35px;
}

#home-posts .page-current a {
  color: #999;
}

/* ========================================
   ★ 液态玻璃卡片效果 ★
   ======================================== */
#home-posts .post {
  --rx: 0deg;
  --ry: 0deg;
  --light-x: 50%;
  --light-y: 50%;
  position: relative;
  overflow: hidden;
  transform: rotateX(var(--rx)) rotateY(var(--ry));
  transform-style: preserve-3d;
  will-change: transform;
  /* ↓ 改：对齐 #card-style */
  background: rgba(255, 255, 255, .06);
  backdrop-filter: blur(14px) saturate(180%) brightness(1.06);
  -webkit-backdrop-filter: blur(14px) saturate(180%) brightness(1.06);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 20px;
  /* ↓ 改：对齐 #card-style 的阴影 */
  box-shadow:
    0 8px 32px rgba(0, 0, 0, .06),
    inset 0 1px 1px rgba(255, 255, 255, .28),
    inset 0 -1px 1px rgba(255, 255, 255, .04);
  transition: box-shadow .3s;
}

#home-posts .post:hover {
  box-shadow:
    0 8px 36px rgba(0, 0, 0, .06),
    inset 0 1px 0 rgba(255, 255, 255, .3);
}

/* 卡片内部元素 */
#home-posts .post .category-and-date {
  color: #5c6b72;
  margin-top: 15px;
  text-align: center;
  width: 100%;
}

#home-posts .post .category-and-date .category {
  display: inline-block;
  margin-right: 25px;
}

#home-posts .post .category-and-date .category a {
  color: #5c6b72;
}

#home-posts .post .category-and-date .date {
  display: inline-block;
}

#home-posts .post .category-and-date .special {
  display: inline-block;
  margin-left: 25px;
}

#home-posts .post .go-post {
  background: linear-gradient(120deg, #9abbf7 0, #ffbbf4 100%);
  border: 0;
  border-radius: 20px 0;
  bottom: -5px;
  box-shadow: 2px 2px 10px 0 #ffbbf47a;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  padding: 10px 24px;
  position: absolute;
  right: -5px;
  transition: box-shadow .25s ease-out, right .25s ease-out;
}

#home-posts .post .go-post:hover {
  box-shadow: -2px -2px 10px 0 #9abbf77a;
  right: -7px;
}

#home-posts .post .post-tags .tag {
  display: inline-block;
  font-weight: 700;
  margin-right: 10px;
}

#home-posts .post .post-tags a {
  font-size: 14px;
}

#home-posts .post .post-tags {
  line-height: 1.7;
}

#home-posts .post-title {
  color: #66afef;
  text-align: center;
}

#home-posts-wrap {
  background: 0 0;
  border-radius: 10px;
  display: flex;
  margin: auto;
  padding: 20px;
}

#home-posts-wrap,
#archives,
#footer #footer-wrap,
.article {
  box-sizing: border-box;
}

/* ---------- Loading ---------- */
#loading {
  align-items: center;
  background: #fff;
  display: flex;
  flex-direction: column;
  height: 100vh;
  justify-content: center;
  left: 0;
  position: fixed;
  top: 0;
  width: 100vw;
  word-break: keep-all;
  z-index: 2147483647;
}

#loading h2,
#loading img,
#loading p {
  margin: 10px;
}

#loading img {
  border-radius: 0;
  height: 50px;
}

#loading-circle {
  align-items: center;
  border: 10px solid #a3ddfb;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  height: 50vmin;
  justify-content: center;
  padding: 50px;
  text-align: center;
  width: 50vmin;
}

#main {
  margin-right: calc(100% - 100vw);
}

/* ---------- Menu ---------- */
#menu {
  background: #92cafa;
  box-shadow: 0 -1px 10px 0 #9e9e9e4d;
  font-weight: 700;
  line-height: 50px;
  position: fixed;
  top: 0;
  transition: background .25s ease-out, top .25s ease-out;
  width: 100vw;
  z-index: 1004;
}

#menu #desktop-menu {
  height: 50px;
}

#menu #desktop-menu .title {
  color: #555;
  display: inline-block;
  margin-left: 60px;
  margin-right: 5px;
}

#menu #desktop-menu a {
  color: #555;
  display: inline-block;
  margin-left: 30px;
}

#menu #desktop-menu a span {
  display: inline-block;
}

#menu #mobile-menu {
  min-height: 50px;
  text-align: center;
}

#menu #mobile-menu .items {
  padding: 10px 0 20px;
  z-index: 1002;
}

#menu #mobile-menu .items .item {
  display: flex;
  justify-content: center;
  margin: auto;
  min-width: 200px;
  width: 80%;
}

#menu #mobile-menu .items a {
  color: #555;
}

#menu #mobile-menu .title {
  color: #555;
  cursor: pointer;
  z-index: 1003;
}

#menu-curtain {
  background: #0003;
  height: 100%;
  left: 0;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1001;
}

#menu.hidden {
  top: -50px;
}

#menu.menu-color {
  background: #0003;
}

#menu.menu-color #desktop-menu a,
#menu.menu-color #mobile-menu .title,
#menu.menu-color #mobile-menu a {
  color: #fff;
}

/* ---------- Preview ---------- */
#preview {
  align-items: center;
  background-color: #fffc;
  display: flex;
  height: 100vh;
  justify-content: center;
  left: 0;
  position: fixed;
  top: 0;
  width: 100vw;
  z-index: 1005;
}

#preview-content {
  box-shadow: 0 0 50px 10px #d9d9d980;
  margin: auto;
  max-height: 95%;
  max-width: 95%;
}

/* ---------- Search ---------- */
#search-bar {
  margin-bottom: 50px;
  z-index: 1000;
}

/* ---------- Timeline ---------- */
#timeline-wrap {
  display: flex;
  flex-direction: column-reverse;
}

/* ---------- Global Reset ---------- */
* {
  margin: 0;
  padding: 0;
  position: relative;
  scrollbar-color: #8ab5ff #e6efff;
  scrollbar-width: thin;
  word-wrap: break-word;
}

body {
  background:
  radial-gradient(ellipse at 20% 50%, #e8ecf2 0%, transparent 60%),
  radial-gradient(ellipse at 80% 20%, #f0f3f8 0%, transparent 50%),
  #f6f8fa;
  background-attachment: fixed;
  color: #1e3e3f;
  font: 500 14px Lexend, "Noto Sans SC", sans-serif;
  overflow-x: hidden;
  width: 100%;
}

a {
  color: #66afef;
  text-decoration: none;
}

a:hover {
  opacity: .8;
}

b,
strong {
  font-weight: 700;
  line-height: 2.5;
}

h1, h2, h3, h4, h5, h6 {
  color: #1e3e3f;
  font-weight: 700;
  margin: 15px 0;
  word-break: keep-all;
}

h1 { font-size: 30px; }
h2 { font-size: 27px; }
h3 { font-size: 24px; }
h4 { font-size: 21px; }
h5 { font-size: 18px; }
h6 { font-size: 15px; }

hr {
  border-style: dashed none none;
  border-width: 1.5px;
}

ol, p, ul {
  line-height: 1.7;
  margin: 15px 0;
}

ol li, ul li {
  margin: 8px 0;
}

blockquote {
  background: #d9e8ff6b;
  border-left: 3px solid #1e3e3f;
  border-radius: 3px;
  margin: 15px 0;
  overflow: auto;
  padding: 0 15px;
}

code {
  background: #bddcf76b;
  border-radius: 4px;
  line-height: 2.5;
  padding: 4px 8px;
}

pre {
  border: 1px solid #ebeef5;
  border-radius: 15px;
  box-shadow: 0 2px 12px 0 #0000001a;
  margin: 25px 0;
  overflow: hidden;
  white-space: normal;
}

mark {
  background: #fff13360;
  border-radius: 4px;
  color: unset;
  line-height: 2.5;
  padding: 4px 8px;
}

audio, iframe, img, video {
  border-radius: 10px;
}

.hljs, .input, .language, code, pre {
  font-family: "Fira Code", "Noto Sans SC", monospace;
}

table:not(.hljs-ln) {
  margin: 15px 0;
}

table:not(.hljs-ln) td:nth-child(2n) {
  background: #c7e0fb4d;
}

table:not(.hljs-ln) td:nth-child(odd) {
  background: #d9e8ff4d;
}

table:not(.hljs-ln) th {
  background: #a3ddfb;
}

table:not(.hljs-ln) tr td,
table:not(.hljs-ln) tr th {
  border-radius: 3px;
  padding: 10px 20px;
}

/* ---------- Article ---------- */
.article {
  font-size: 15px;
  margin: auto;
  margin-top: 100px;
  padding: 20px;
}

.article .content {
  margin: 50px 0;
}

.article .info .date {
  color: #5c6b72;
  display: inline-block;
  margin-right: 10px;
}

.article .info a {
  color: #5c6b72;
}

.article .info {
  line-height: 1.7;
}

/* ---------- Code & Content ---------- */
.code-content {
  font-size: 13px;
  line-height: 2;
  overflow: auto;
  padding: 50px 30px 20px;
  white-space: pre;
}

.comment iframe,
body::-webkit-scrollbar-track {
  border-radius: 0;
}

.content {
  transition: opacity .25s;
}

.content .copycode:hover {
  opacity: .8;
}

.content audio,
.content iframe,
.content img,
.content video {
  display: block;
  margin: 15px auto;
  max-width: 75%;
}

.copycode {
  color: #5c6b72;
  position: absolute;
  right: 0;
  top: 0;
}

.copycode i {
  padding: 15px;
  position: absolute;
  right: 0;
  top: 0;
  transition: transform .25s;
}

.copycode.copied i {
  transform: scale(1.25);
}

.copycode.copied i:first-child,
.copycode:not(.copied) i:last-child {
  opacity: 0;
}

/* ---------- Transitions ---------- */
.fade-enter-active,
.fade-leave-active {
  transition: opacity .3s;
}

.fade-enter-from,
.fade-leave-to {
  opacity: 0;
}

.into-enter-active {
  transition: opacity .5s, transform .5s;
}

.into-enter-from {
  opacity: 0;
  transform: scale(1.1);
}

.slide-enter-active,
.slide-leave-active {
  transition: margin-top .3s, opacity .3s;
}

.slide-enter-from,
.slide-leave-to {
  margin-top: -300px;
  opacity: 0;
}

/* ---------- Highlight.js ---------- */
.hljs-ln-code {
  padding-left: 20px !important;
}

.hljs-ln-numbers {
  border-right: 1px solid #ccc;
  color: #ccc;
  padding-right: 10px !important;
  text-align: right;
  vertical-align: top;
}

/* ---------- Icon ---------- */
.icon {
  color: #5c6b72;
  margin-right: 5px;
}

/* ---------- Input ---------- */
.input {
  background: #f6f8fa;
  border: 1px solid #d0d7de;
  border-radius: 50px;
  box-sizing: border-box;
  color: #000;
  display: block;
  font-size: 15px;
  height: 50px;
  text-indent: 20px;
  transition: background .25s, border .25s, box-shadow .25s;
  width: 100%;
}

.input:focus {
  background: #fff;
  border-color: #0969da;
  box-shadow: 0 0 0 3px #0969da4d;
  outline: 0;
}

.input:hover {
  background: #fff;
}

/* ---------- KaTeX ---------- */
.katex {
  white-space: normal !important;
}

/* ---------- Language Tag ---------- */
.language {
  background: linear-gradient(to right, #ed6ea0 0, #ec8c69 100%);
  border-radius: 0 0 10px 10px;
  box-shadow: 1px 1px .75rem #ed6ea14d;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  left: 30px;
  padding: 10px 15px;
  position: absolute;
  top: 0;
}

/* ---------- Links & Page ---------- */
.friend-link a,
.icon-link a,
.page-num {
  transition: background .25s, color .25s;
}

.categories-tags a:hover,
.friend-link a:hover,
.go-post:hover,
.icon-link a:hover,
.page-num:hover {
  opacity: 1;
}

/* ---------- Timeline ---------- */
.timeline {
  margin-bottom: 30px;
  transition: margin-top .5s, opacity .3s, visibility .3s;
}

.timeline-content {
  background: #fff;
  border: 1px solid #0002;
  border-radius: 3px;
  margin-left: 17.5px;
  padding: 24px;
  transition: box-shadow .5s;
}

.timeline-content:hover {
  box-shadow: 0 2px 8px #00000017;
}

.timeline-tail {
  background: #fff;
  border: 2px solid #a5c2f5;
  border-radius: 50%;
  height: 7px;
  position: absolute;
  width: 7px;
}

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar {
  height: 12px;
  width: 12px;
}

::-webkit-scrollbar-thumb {
  background: #8ab5ff
    linear-gradient(
      45deg,
      #fff6 25%,
      transparent 25%,
      transparent 50%,
      #fff6 50%,
      #fff6 75%,
      transparent 75%,
      transparent
    );
  border: 3px solid #e6efff;
  border-radius: 100px;
}

::-webkit-scrollbar-track {
  background: #e6efff;
  border-radius: 100px;
}

/* ---------- Selection ---------- */
::-moz-selection {
  background-color: #3392ff2a;
  color: unset;
}

::selection {
  background-color: #3392ff2a;
  color: unset;
}

/* ---------- User Select ---------- */
#home-head,
#menu,
.categories-tags a,
.copycode,
.friend-link a,
.go-post,
.hljs-ln-numbers,
.icon-link a,
.katex,
.language,
.page-current,
audio,
button,
iframe,
img,
video {
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}

/* ---------- Keyframes ---------- */
@keyframes loop1 {
  from { transform: rotate(30deg); }
  to   { transform: rotate(390deg); }
}

@keyframes loop2 {
  from { transform: rotate(60deg); }
  to   { transform: rotate(420deg); }
}

@keyframes loop3 {
  from { transform: rotate(90deg); }
  to   { transform: rotate(450deg); }
}

@keyframes loop4 {
  from { transform: rotate(120deg); }
  to   { transform: rotate(480deg); }
}

/* ========================================
   Media Queries
   ======================================== */

/* Desktop (≥900px) */
@media (min-width: 900px) {
  #home-head #home-info .info .wrap {
    padding: 25px;
  }

  #home-head #home-info .info .wrap h1 {
    font-size: 52px;
    font-weight: 700;
    margin-bottom: 10px;
  }

  #home-head #home-info .info .wrap h3 {
    font-size: 24px;
    margin: 10px 0;
  }

  #home-head #home-info .info .wrap h5 {
    font-size: 16px;
    margin: 20px 0;
  }

  #home-head #home-info .loop {
    display: inline-block;
    height: 500px;
    position: absolute;
    width: 500px;
  }

  #home-head #home-info,
  #home-head #home-info .info {
    height: 500px;
    width: 500px;
  }

  #home-posts {
    margin-right: 50px;
    width: 850px;
  }

  #home-posts .post {
    margin-bottom: 25px;
    padding: 50px;
  }

  #home-posts .post .description {
    padding: 20px 0;
  }

  #home-posts-wrap {
    max-width: 1200px;
  }

  #menu #desktop-menu { display: block; }
  #menu #mobile-menu  { display: none; }

  #archives,
  #footer #footer-wrap,
  .article {
    width: 900px;
  }

  .home-posts-wrap-no-card #home-posts {
    margin: auto;
  }

  ol, ul {
    padding-left: 40px;
  }
}

/* Tablet (900px ~ 1200px) */
@media (min-width: 900px) and (max-width: 1200px) {
  #home-card {
    display: none;
  }

  #home-posts {
    width: 100%;
  }

  #archives,
  #home-posts-wrap {
    width: 800px;
  }
}

/* Mobile (≤900px) */
@media (max-width: 900px) {
  #home-head #home-info {
    height: 350px;
    width: 350px;
  }

  #home-head #home-info .info {
    align-items: center;
    background: #ffffffa6;
    display: flex;
    height: 350px;
    justify-content: center;
    margin: auto;
    width: 350px;
  }

  #home-head #home-info .info .wrap {
    padding: 50px;
  }

  #home-head #home-info .info .wrap h1 {
    font-size: 46px;
    margin-bottom: 10px;
  }

  #home-head #home-info .info .wrap h3 {
    font-size: 20px;
    margin: 10px 0;
  }

  #home-head #home-info .info .wrap h5 {
    font-size: 14px;
    margin: 20px 0;
  }

  #home-head #home-info .loop {
    display: none;
    height: 350px;
    position: absolute;
    width: 350px;
  }

  #home-posts {
    margin: auto;
    width: 100%;
  }

  #home-posts .post {
    margin-bottom: 30px;
    padding: 20px 30px;
  }

  #home-posts .post .description {
    padding: 20px 0;
  }

  #home-posts .post .post-tags {
    padding-right: 69px;
  }

  #archives,
  #footer #footer-wrap,
  #home-posts-wrap,
  .article {
    width: 100%;
  }

  #home-card,
  #menu #desktop-menu {
    display: none;
  }

  #menu #mobile-menu {
    display: block;
  }

  ol, ul {
    padding-left: 20px;
  }
}