:root {
  --bg: #e7f5fb;
  --paper: #ffffff;
  --ink: #0b3a4a;
  --muted: #5b7d8a;
  --line: #c5e0eb;
  --ice: #0891b2;
  --frost: #67e8f9;
  --deep: #155e75;
  --header-h: 4.3rem;
  --max: 1160px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  min-height: 100dvh;
  font-family: "Source Han Sans SC", "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(103, 232, 249, 0.35), transparent 28%),
    repeating-linear-gradient(
      180deg,
      transparent 0 36px,
      rgba(8, 145, 178, 0.04) 36px 37px
    ),
    radial-gradient(720px 300px at 100% 0%, rgba(8, 145, 178, 0.18), transparent 55%),
    linear-gradient(180deg, #f2fbfe, var(--bg));
  line-height: 1.7;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--ice); }
button { font: inherit; }

.ic-skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ice);
  color: #fff;
  padding: 0.6rem 1rem;
  z-index: 1000;
}
.ic-skip:focus { left: 0.75rem; top: 0.75rem; }

.ic-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.ic-header-inner {
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.ic-brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  flex-shrink: 0;
  color: var(--deep) !important;
}
.ic-brand-mark {
  width: 1.65rem;
  height: 1.65rem;
  border-radius: 0.55rem 0.55rem 1.1rem 1.1rem;
  background:
    linear-gradient(180deg, var(--frost), var(--ice));
  box-shadow: 0 6px 14px rgba(8, 145, 178, 0.28);
  position: relative;
}
.ic-brand-mark::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 28%;
  width: 0.35rem;
  height: 0.55rem;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.75);
  border-radius: 40%;
}
.ic-brand span:last-child {
  font-weight: 800;
  letter-spacing: 0.08em;
  font-size: clamp(0.95rem, 2vw, 1.16rem);
  white-space: nowrap;
}

.ic-nav-toggle {
  margin-left: auto;
  height: 2.45rem;
  padding: 0 0.95rem 0 0.75rem;
  border: 0;
  background: linear-gradient(135deg, var(--ice), var(--deep));
  color: #fff;
  display: none;
  align-items: center;
  gap: 7px;
  cursor: pointer;
  z-index: 60;
  border-radius: 999px;
  box-shadow: 0 8px 18px rgba(8, 145, 178, 0.28);
}
.ic-nav-toggle b {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}
.ic-nav-toggle i {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
}
.ic-nav-toggle i span {
  width: 14px;
  height: 2px;
  background: #fff;
  border-radius: 1px;
}

.ic-nav {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(var(--max), calc(100% - 2rem));
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  z-index: 51;
  pointer-events: none;
}
.ic-nav > ul {
  pointer-events: auto;
  display: flex;
  gap: 0.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.ic-nav-item { position: relative; }
.ic-nav-parent {
  display: inline-flex;
  align-items: center;
  padding: 0.48rem 1rem;
  font-weight: 750;
  letter-spacing: 0.1em;
  cursor: default;
  color: var(--deep);
  border-radius: 999px;
  background: transparent;
}
.ic-nav-item:hover .ic-nav-parent,
.ic-nav-item:focus-within .ic-nav-parent {
  color: #fff;
  background: linear-gradient(135deg, var(--ice), var(--deep));
}
.ic-sub {
  display: none;
  position: absolute;
  top: calc(100% + 0.4rem);
  right: 0;
  min-width: 10.2rem;
  margin: 0;
  padding: 0.45rem;
  list-style: none;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 1rem;
  box-shadow: 0 18px 40px rgba(11, 58, 74, 0.12);
}
.ic-nav-item:hover .ic-sub,
.ic-nav-item:focus-within .ic-sub { display: block; }
.ic-sub a {
  display: block;
  padding: 0.52rem 0.75rem;
  color: var(--ink);
  border-radius: 0.65rem;
  font-size: 0.92rem;
}
.ic-sub a:hover {
  background: rgba(8, 145, 178, 0.1);
  color: var(--ice);
}

.ic-wrap {
  width: min(var(--max), calc(100% - 2rem));
  margin: 1.35rem auto 3rem;
}
.ic-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 17.2rem;
  gap: 1.5rem;
  align-items: start;
}

.ic-banner {
  margin: 0 0 1.05rem;
  overflow: hidden;
  background: #d4eef7;
  border: 1px solid var(--line);
  border-radius: 1.4rem;
  position: relative;
}
.ic-banner::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 8px;
  background: linear-gradient(180deg, var(--frost), var(--ice), var(--deep));
  z-index: 1;
}
.ic-banner::after {
  content: "冰蓝瀑布";
  position: absolute;
  right: 0.9rem;
  top: 0.9rem;
  z-index: 1;
  padding: 0.28rem 0.75rem;
  background: rgba(255, 255, 255, 0.9);
  color: var(--ice);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  border-radius: 999px;
  border: 1px solid var(--line);
}
.ic-banner img {
  width: 100%;
  max-height: 185px;
  object-fit: cover;
}

.ic-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.9rem;
}

.ic-card {
  display: grid;
  grid-template-columns: 5.4rem minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
  padding: 1rem 1.1rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  box-shadow: 0 12px 30px rgba(8, 145, 178, 0.06);
  position: relative;
  overflow: hidden;
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease);
}
.ic-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--frost), var(--ice));
}
.ic-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(8, 145, 178, 0.14);
}
.ic-card-cover {
  overflow: hidden;
  background: #d4eef7;
  min-height: 5.4rem;
  height: 5.4rem;
  border-radius: 0.9rem;
  border: 1px solid var(--line);
}
.ic-card-cover img {
  width: 100%;
  height: 5.4rem;
  object-fit: cover;
  min-height: 5.4rem;
}
.ic-card h2 {
  margin: 0 0 0.3rem;
  font-size: clamp(1rem, 1.55vw, 1.14rem);
  line-height: 1.4;
  font-weight: 750;
}
.ic-card h2 a { color: var(--ink); }
.ic-card h2 a:hover { color: var(--ice); }
.ic-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.ic-meta {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 0.55rem;
  color: var(--ice);
  font-size: 0.74rem;
  font-variant-numeric: tabular-nums;
}
.ic-meta-l {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.ic-avatar {
  width: 1.1rem;
  height: 1.1rem;
  object-fit: cover;
  border-radius: 50%;
}

.ic-crumb {
  margin: 0 0 0.95rem;
  color: var(--muted);
  font-size: 0.86rem;
}
.ic-crumb a { color: var(--ice); }

.ic-pager {
  display: flex;
  justify-content: flex-start;
  gap: 0.55rem;
  margin: 1.2rem 0 0.2rem;
}
.ic-pager a {
  min-width: 6.6rem;
  text-align: center;
  padding: 0.68rem 1.15rem;
  background: linear-gradient(135deg, var(--ice), var(--deep));
  color: #fff !important;
  font-weight: 800;
  border-radius: 999px;
  letter-spacing: 0.08em;
  box-shadow: 0 10px 22px rgba(8, 145, 178, 0.28);
}
.ic-pager a:hover { filter: brightness(1.08); }

.ic-aside {
  position: sticky;
  top: calc(var(--header-h) + 0.85rem);
  display: grid;
  gap: 0.9rem;
}
.ic-side {
  background: var(--paper);
  padding: 1rem 0.95rem 0.65rem;
  border: 1px solid var(--line);
  border-radius: 1.2rem;
  box-shadow: 0 10px 24px rgba(8, 145, 178, 0.05);
}
.ic-side h3 {
  margin: 0 0 0.75rem;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  color: var(--deep);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.ic-side h3::before {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: linear-gradient(180deg, var(--frost), var(--ice));
}
.ic-side ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.ic-side li { border-top: 1px dashed var(--line); }
.ic-side li a {
  display: flex;
  gap: 0.5rem;
  padding: 0.58rem 0;
  color: var(--ink);
  font-size: 0.88rem;
}
.ic-side .ic-widlist a:hover { color: var(--ice); }
.ic-topthub a {
  flex-direction: column;
  gap: 0.45rem;
  padding-top: 0;
}
.ic-topthub img {
  width: 100%;
  height: 7.2rem;
  object-fit: cover;
  border-radius: 0.85rem;
}
.ic-topthub span { font-weight: 650; }

.ic-article-card {
  background: var(--paper);
  padding: clamp(1.2rem, 3.2vw, 2.3rem);
  border: 1px solid var(--line);
  border-radius: 1.35rem;
  box-shadow: 0 16px 42px rgba(8, 145, 178, 0.08);
}
.ic-article-card h1 {
  margin: 0 0 0.75rem;
  text-align: left;
  font-size: clamp(1.35rem, 3vw, 1.95rem);
  line-height: 1.35;
  color: var(--deep);
}
.ic-bloginfo {
  display: flex;
  justify-content: flex-start;
  color: var(--ice);
  font-size: 0.82rem;
  margin-bottom: 1.3rem;
}
.ic-bloginfo ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.ic-prose {
  font-size: clamp(1rem, 1.15vw, 1.08rem);
  line-height: 1.95;
  color: #164e63;
  max-width: 44rem;
}
.ic-prose img,
.ic-prose video,
.ic-prose iframe,
.ic-prose table { max-width: 100%; }
.ic-prose table { display: block; overflow-x: auto; }
.ic-copyright {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px dashed var(--line);
  color: var(--muted);
  font-size: 0.8rem;
}
.ic-pagerow {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-top: 1.2rem;
}
.ic-pagerow a {
  display: block;
  padding: 0.85rem 0.95rem;
  background: rgba(8, 145, 178, 0.06);
  border: 1px solid var(--line);
  border-radius: 0.9rem;
  font-size: 0.86rem;
  line-height: 1.45;
}
.ic-pagerow .next { text-align: right; }

.ic-footer {
  background: linear-gradient(180deg, #0e4a5c, #083344);
  padding: 1.55rem 1rem 2.4rem;
  text-align: center;
  color: #a5d8e6;
  font-size: 0.86rem;
}
.ic-footer p { margin: 0 0 0.7rem; }
.ic-footer a { color: var(--frost); margin: 0 0.35rem; }

#go-to-top {
  position: fixed;
  right: 1rem;
  bottom: 1.2rem;
  width: 2.6rem;
  height: 2.6rem;
  background: linear-gradient(135deg, var(--ice), var(--deep));
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
  border-radius: 50%;
  box-shadow: 0 10px 22px rgba(8, 145, 178, 0.35);
}
#go-to-top::after { content: "↑"; font-size: 1.05rem; font-weight: 800; }

.ic-mask { display: none; }

@media (max-width: 980px) {
  .ic-layout { grid-template-columns: 1fr; }
  .ic-aside { position: static; }
}

@media (max-width: 768px) {
  .ic-nav-toggle { display: inline-flex; }
  .ic-nav {
    left: auto;
    right: 0;
    top: 0;
    width: min(84vw, 20rem);
    height: 100dvh;
    margin: 0;
    display: block;
    background: #fff;
    box-shadow: -10px 0 32px rgba(11, 58, 74, 0.16);
    padding: 5rem 1.15rem 1.5rem;
    transform: translateX(110%);
    transition: transform 0.35s var(--ease), visibility 0.35s;
    overflow-y: auto;
    visibility: hidden;
    z-index: 55;
    pointer-events: auto;
    border-left: 4px solid var(--ice);
  }
  body.nav-open .ic-nav {
    transform: translateX(0);
    visibility: visible;
  }
  .ic-nav > ul {
    flex-direction: column;
    gap: 0.15rem;
  }
  .ic-sub {
    display: block;
    position: static;
    box-shadow: none;
    border: 0;
    padding: 0 0 0.4rem 0.85rem;
    background: transparent;
  }
  .ic-nav-parent { width: 100%; }
  .ic-nav-item:hover .ic-nav-parent {
    background: rgba(8, 145, 178, 0.1);
    color: var(--ice);
  }
  .ic-mask {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(8, 51, 68, 0.42);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s var(--ease);
    z-index: 40;
  }
  body.nav-open .ic-mask {
    opacity: 1;
    pointer-events: auto;
  }
  body.nav-open { overflow: hidden; }
  .ic-card {
    grid-template-columns: 4.4rem minmax(0, 1fr);
    gap: 0.7rem;
    padding: 0.85rem;
  }
  .ic-card-cover,
  .ic-card-cover img {
    min-height: 4.4rem;
    height: 4.4rem;
  }
  .ic-pagerow { grid-template-columns: 1fr; }
  .ic-pagerow .next { text-align: left; }
}

@media (max-width: 420px) {
  .ic-card {
    grid-template-columns: 1fr;
  }
  .ic-card-cover,
  .ic-card-cover img {
    width: 100%;
    height: 8.6rem;
    min-height: 8.6rem;
  }
}

@media (min-width: 1440px) {
  :root { --max: 1240px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}
