
.home2-page {
  background:
    radial-gradient(circle at top left, rgba(51, 153, 251, 0.12), transparent 36%),
    linear-gradient(180deg, #f5f9ff 0%, #f8fbff 18%, #ffffff 42%);
}

.home2-shell {
  width: 1200px;
  margin: 0 auto;
  padding: 26px 0 56px;
}

.home2-section,
.home2-split {
  margin-top: 28px;
}

.home2-hero {
  display: grid;
  grid-template-columns: 1.18fr 1.02fr 0.7fr;
  gap: 22px;
  align-items: stretch;
}

.home2-hero--intro {
  grid-template-columns: 1.3fr 0.7fr;
}

.home2-hero--flow {
  display: block;
}

.home2-hero__intro,
.home2-generator,
.home2-hero__rail,
.home2-generator-section,
.home2-section,
.home2-section--topic,
.home2-section--column {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(206, 223, 245, 0.96);
  border-radius: 26px;
  box-shadow: 0 24px 60px rgba(36, 78, 146, 0.08);
}

.home2-hero__intro {
  padding: 24px 26px 22px;
  position: relative;
  overflow: hidden;
}

.home2-hero__intro::after {
  content: "";
  position: absolute;
  inset: auto -60px -120px auto;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(51, 153, 251, 0.16), rgba(51, 153, 251, 0));
}

.home2-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  background: #edf5ff;
  color: #3388e6;
  font-size: 13px;
  font-weight: 600;
}

.home2-hero__intro p {
  margin: 0;
  font-size: 15px;
  line-height: 1.9;
  color: #5f6d84;
}

.home2-hero--flow .home2-hero__intro {
  min-height: 0;
}

.home2-section__head--flow {
  margin-bottom: 16px;
}

.home2-hero--flow .home2-section__title img {
  width: 24px;
  height: 24px;
}

.home2-hero--flow .home2-section__title h2 {
  font-size: 21px;
  line-height: 1.25;
}

.home2-pills,
.home2-hero__links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.home2-pills {
  margin-top: 20px;
}

.home2-pills span {
  padding: 7px 14px;
  border-radius: 999px;
  background: #f5f9ff;
  color: #4c6180;
  font-size: 13px;
}

.home2-flow {
  display: grid;
  grid-template-columns: 1fr 28px 1fr 28px 1fr 28px 1fr;
  gap: 0;
  margin-top: 0;
  align-items: center;
}

.home2-flow__item {
  position: relative;
  min-height: 126px;
  padding: 16px 16px 14px;
  border: 1px solid #d9e6f6;
  border-radius: 20px;
  background:
    linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  box-shadow: 0 14px 28px rgba(56, 93, 150, 0.06);
}

.home2-flow__label {
  display: flex;
  align-items: center;
  gap: 10px;
}

.home2-flow__label span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: linear-gradient(135deg, #edf5ff, #f6faff);
  color: #2e84e8;
  font-size: 12px;
  font-weight: 700;
  box-shadow: inset 0 0 0 1px rgba(203, 224, 247, 0.9);
}

.home2-flow__label strong {
  color: #1a2940;
  font-size: 17px;
  line-height: 1.4;
}

.home2-flow__item p {
  margin: 10px 0 0;
  color: #6a809c;
  font-size: 12px;
  line-height: 1.8;
}

.home2-flow__arrow {
  position: relative;
  height: 2px;
  margin: 0 6px;
  background: linear-gradient(90deg, rgba(149, 196, 250, 0.95), rgba(90, 167, 255, 0.95));
}

.home2-flow__arrow::after {
  content: "";
  position: absolute;
  right: -1px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-top: 2px solid #73b6ff;
  border-right: 2px solid #73b6ff;
  transform: translateY(-50%) rotate(45deg);
}

.home2-hero__links {
  margin-top: 16px;
}

.home2-hero__links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 124px;
  padding: 11px 16px;
  border-radius: 14px;
  border: 1px solid #dbe7f6;
  background: #fff;
  color: #20324c;
  font-size: 13px;
  font-weight: 600;
  transition: all 0.2s ease;
}

.home2-hero__links a:first-child {
  background: linear-gradient(135deg, #3399fb, #5fb3ff);
  border-color: transparent;
  color: #fff;
}

.home2-hero__links a:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 28px rgba(51, 153, 251, 0.14);
}

.home2-generator {
  padding: 28px 28px 24px;
}

.home2-generator-section {
  margin-top: 22px;
  padding: 26px 28px 28px;
}

.home2-generator-section .home2-generator {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  padding: 0;
}

.home2-generator__layout {
  display: grid;
  grid-template-columns: 1fr 0.94fr;
  gap: 18px;
  align-items: stretch;
}

.home2-generator__form,
.home2-generator__preview {
  border: 1px solid #dce7f5;
  border-radius: 24px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  padding: 20px;
}

.home2-generator__form {
  display: flex;
  flex-direction: column;
}

.home2-generator__preview {
  display: flex;
  flex-direction: column;
}

.home2-generator__head,
.home2-generator__actions,
.home2-generator__preview-head,
.home2-generator__preset-head,
.home2-section__head,
.home2-tutorial-board__head,
.home2-news-block__head,
.home2-app-hot__head,
.home2-latest-col__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.home2-generator__headline h3 {
  margin: 0;
  font-size: 24px;
  line-height: 1.3;
  color: #18253a;
}

.home2-generator__headline p {
  margin: 8px 0 0;
  color: #7a8ea8;
  font-size: 13px;
  line-height: 1.7;
}

.home2-generator__preset-head {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px dashed #dce7f5;
}

.home2-generator__preset-head strong {
  color: #20314b;
  font-size: 14px;
}

.home2-generator__preset-head span {
  color: #8396af;
  font-size: 12px;
}

.home2-generator__quota {
  flex-shrink: 0;
  padding: 7px 12px;
  border-radius: 999px;
  background: #edf5ff;
  color: #3388e6;
  font-size: 12px;
  font-weight: 600;
}

.home2-generator__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.home2-generator__chip {
  height: 34px;
  padding: 0 14px;
  border: 1px solid #dbe7f7;
  border-radius: 999px;
  background: #fff;
  color: #5a6b82;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.home2-generator__chip.active,
.home2-generator__chip:hover {
  border-color: #3399fb;
  background: #eef6ff;
  color: #2685df;
}

.home2-generator__field {
  display: block;
  margin-top: 18px;
  font-size: 13px;
  font-weight: 600;
  color: #495a74;
}

.home2-generator textarea {
  width: 100%;
  margin-top: 10px;
  padding: 16px 16px 14px;
  border: 1px solid #dce8f7;
  border-radius: 18px;
  background: #f9fcff;
  color: #1d2b41;
  font-size: 14px;
  line-height: 1.8;
  resize: none;
  outline: none;
}

.home2-generator textarea:focus {
  border-color: #69b5ff;
  box-shadow: 0 0 0 4px rgba(51, 153, 251, 0.1);
}

.home2-generator__controls {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.home2-generator__select {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.home2-generator__select span {
  color: #6f829d;
  font-size: 12px;
  font-weight: 600;
}

.home2-generator__select select {
  width: 100%;
  height: 42px;
  padding: 0 14px;
  border: 1px solid #dce8f7;
  border-radius: 14px;
  background: #fff;
  color: #243853;
  font-size: 13px;
  outline: none;
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, #7a91b0 50%),
    linear-gradient(135deg, #7a91b0 50%, transparent 50%);
  background-position:
    calc(100% - 18px) calc(50% - 2px),
    calc(100% - 12px) calc(50% - 2px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

.home2-generator__select select:focus {
  border-color: #69b5ff;
  box-shadow: 0 0 0 4px rgba(51, 153, 251, 0.1);
}

.home2-generator__ghost,
.home2-generator__primary {
  height: 44px;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.home2-generator__ghost {
  width: 110px;
  border: 1px solid #dbe6f4;
  background: #fff;
  color: #506277;
}

.home2-generator__primary {
  flex: 1;
  border: none;
  background: linear-gradient(135deg, #3399fb, #4fa8ff);
  color: #fff;
  box-shadow: 0 16px 28px rgba(51, 153, 251, 0.2);
}

.home2-generator__actions {
  margin-top: 16px;
}

.home2-generator__toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 14px;
  padding: 10px 12px;
  border-radius: 16px;
  background: #f5f9ff;
  border: 1px solid #dce7f5;
}

.home2-generator__toolbar > span {
  color: #51667f;
  font-size: 13px;
  font-weight: 600;
}

.home2-generator__toolbar-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.home2-generator__count {
  color: #7c90aa;
  font-size: 12px;
}

.home2-generator__copy {
  height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid #d8e5f5;
  background: #fff;
  color: #4e6481;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

.home2-generator__copy {
  border-color: #3399fb;
  color: #2b8be6;
}

.home2-generator__copy:disabled {
  border-color: #d8e5f5;
  color: #9aacbf;
  cursor: not-allowed;
  opacity: 0.65;
}

.home2-generator__result {
  margin-top: 14px;
  padding: 20px 20px 18px;
  border-radius: 22px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  border: 1px solid #cfe1f7;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 18px 36px rgba(57, 101, 168, 0.10);
  color: #4e6480;
  height: 286px;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

.home2-generator__result--empty {
  background: linear-gradient(180deg, #fbfdff 0%, #f6faff 100%);
  box-shadow: none;
}

.home2-generator__result::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, #3399fb 0%, #77beff 100%);
}

.home2-generator__result strong {
  display: block;
  margin-bottom: 10px;
  color: #1d2c44;
  font-size: 14px;
  padding-left: 14px;
}

.home2-generator__preview-text {
  padding-left: 14px;
  padding-right: 10px;
  height: 210px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #c5d9f2 transparent;
}

.home2-generator__preview-text p {
  margin: 0;
  font-size: 14px;
  line-height: 1.95;
  color: #4e6480;
}

.home2-generator__preview-text p + p {
  margin-top: 12px;
}

.home2-generator__preview-text::-webkit-scrollbar {
  width: 8px;
}

.home2-generator__preview-text::-webkit-scrollbar-track {
  background: transparent;
}

.home2-generator__preview-text::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: #c5d9f2;
  border: 2px solid transparent;
  background-clip: padding-box;
}

.home2-generator__empty {
  display: flex;
  min-height: 190px;
  height: 100%;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  text-align: center;
}

.home2-generator__empty span {
  color: #243853;
  font-size: 16px;
  font-weight: 700;
}

.home2-generator__empty p {
  margin: 10px 0 0;
  color: #7890aa;
  font-size: 13px;
  line-height: 1.8;
}

.home2-generator__copy-status {
  opacity: 0;
  transform: translateY(-4px);
  margin-top: 10px;
  color: #2b8be6;
  font-size: 12px;
  font-weight: 600;
  transition: all 0.2s ease;
}

.home2-generator__copy-status.visible {
  opacity: 1;
  transform: translateY(0);
}

.home2-generator__preview-head strong {
  color: #1c2a40;
  font-size: 18px;
}

.home2-generator__preview-head a {
  color: #3399fb;
  font-size: 13px;
  font-weight: 600;
}

.home2-generator__preview-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.home2-generator__preview-meta span {
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 11px;
  border-radius: 999px;
  background: #f2f7ff;
  color: #4e6483;
  font-size: 12px;
}

.home2-generator__preview-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 14px;
}

.home2-generator__preview-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 14px;
  border-radius: 16px;
  background: #f5f9ff;
  color: #31445f;
  font-size: 13px;
  transition: all 0.2s ease;
}

.home2-generator__preview-links a::after {
  content: "查看";
  color: #3399fb;
  font-size: 12px;
  font-weight: 600;
}

.home2-generator__preview-links a:hover {
  background: #eef6ff;
}

.home2-hero__rail {
  display: grid;
  gap: 14px;
  padding: 16px;
}

.home2-rail-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
  min-height: 116px;
  padding: 18px;
  border-radius: 18px;
  background:
    linear-gradient(160deg, rgba(238, 245, 255, 0.8), rgba(255, 255, 255, 0.98)),
    #fff;
  border: 1px solid rgba(220, 232, 248, 0.94);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.home2-rail-card span {
  font-size: 12px;
  color: #7990b0;
}

.home2-rail-card strong {
  font-size: 18px;
  line-height: 1.5;
  color: #1a2940;
}

.home2-rail-card--blue {
  background: linear-gradient(135deg, #edf6ff, #f7fbff 55%, #ffffff);
}

.home2-rail-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 32px rgba(60, 92, 154, 0.12);
}

.home2-section {
  padding: 24px 28px 28px;
}

.home2-section--topics .hometopic_grid {
  margin-top: 20px;
}

.home2-section--topics .hometopic_grid a {
  border-radius: 16px;
  border-color: #dfeaf6;
}

.home2-section--topics .hometopic_grid strong {
  font-size: 15px;
  line-height: 1.45;
}

.home2-section--topics .hometopic_grid em {
  width: 96px;
  height: 32px;
  font-size: 11px;
  line-height: 32px;
}

.home2-section__head--tabs {
  align-items: center;
}

.home2-section__head-side {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  flex: 1;
  min-width: 0;
}

.home2-section__title {
  display: flex;
  align-items: center;
  gap: 10px;
}

.home2-section__title img {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
}

.home2-section__title h2 {
  margin: 0;
  font-size: 22px;
  line-height: 1.2;
  color: #18253b;
}

.home2-section__title p {
  margin: 8px 0 0;
  color: #69809d;
  font-size: 14px;
  line-height: 1.8;
}

.home2-section__more {
  flex-shrink: 0;
  color: #3399fb;
  font-size: 13px;
  font-weight: 600;
}

.home2-tabs {
  margin-top: 20px;
}

.home2-tabs__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.home2-tabs__nav--inline {
  flex-wrap: nowrap;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 2px;
  scrollbar-width: none;
}

.home2-tabs__nav--inline::-webkit-scrollbar {
  display: none;
}

.home2-tabs__nav button {
  height: 32px;
  padding: 0 14px;
  border: 1px solid #d9e5f4;
  border-radius: 999px;
  background: #fff;
  color: #51627a;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.home2-tabs__nav button.active,
.home2-tabs__nav button:hover {
  border-color: #3399fb;
  background: #eef6ff;
  color: #2a8be8;
}

.home2-tabs__panels {
  margin-top: 18px;
}

.home2-tabs__panel {
  display: none;
}

.home2-tabs__panel.active {
  display: block;
}

.home2-prompt-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.home2-prompt-card {
  position: relative;
  padding: 18px 18px 20px;
  border: 1px solid #dce7f5;
  border-radius: 20px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.home2-prompt-card:hover,
.home2-app-card:hover,
.home2-news-feature:hover,
.home2-topic-card:hover,
.home2-column-list a:hover,
.home2-latest-col a:hover {
  transform: translateY(-3px);
  border-color: #bcd9fb;
  box-shadow: 0 18px 30px rgba(63, 97, 160, 0.12);
}

.home2-prompt-card__tag {
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: #eef6ff;
  color: #3388e6;
  font-size: 12px;
  font-weight: 600;
}

.home2-prompt-card__hot {
  position: absolute;
  right: 16px;
  top: 16px;
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: #fff4ec;
  color: #f08b37;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  box-shadow: inset 0 0 0 1px rgba(245, 183, 125, 0.42);
}

.home2-prompt-card strong,
.home2-topic-card strong {
  display: block;
  margin-top: 14px;
  color: #1c2a42;
  font-size: 16px;
  line-height: 1.5;
}

.home2-prompt-card p,
.home2-topic-card p {
  margin: 10px 0 0;
  color: #667b97;
  font-size: 13px;
  line-height: 1.75;
}

.home2-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 12px;
}

.home2-card-meta--prompt {
  margin-top: 14px;
  gap: 16px;
  justify-content: space-between;
  align-items: center;
}

.home2-card-meta__item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #7b8ea7;
  font-size: 12px;
  line-height: 1;
  white-space: nowrap;
}

.home2-card-meta__item::before {
  color: #3399fb;
  font-size: 12px;
  line-height: 1;
}

.home2-card-meta__item--copy::before {
  content: "⎘";
}

.home2-card-meta__item--like::before {
  content: "♡";
}

.home2-card-meta__item--hot::before {
  content: "✦";
}

.home2-card-meta__item--view::before {
  content: "◉";
}

.home2-news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 22px;
  align-items: stretch;
}

.home2-news-block {
  padding: 18px 18px 16px;
  border: 1px solid #dfe9f6;
  border-radius: 24px;
  background: linear-gradient(180deg, #ffffff 0%, #fafdff 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
  display: flex;
  flex-direction: column;
  min-height: 100%;
  position: relative;
}

.home2-news-block::before {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  top: 0;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, #3399fb, #8fc8ff);
}

.home2-news-block__head strong,
.home2-tutorial-board__head strong,
.home2-latest-col__head strong {
  color: #1a2940;
  font-size: 16px;
}

.home2-news-block__head span,
.home2-tutorial-board__head span,
.home2-app-hot__head span,
.home2-latest-col__head span {
  color: #5f7ea2;
  font-size: 12px;
  padding: 0 10px;
  height: 24px;
  border-radius: 999px;
  background: #eef6ff;
  display: inline-flex;
  align-items: center;
}

.home2-news-feature {
  display: flex;
  flex-direction: column;
  margin-top: 14px;
  overflow: hidden;
  border-radius: 20px;
  background: #fff;
  border: 1px solid #e4edf8;
  min-height: 332px;
}

.home2-news-feature img,
.home2-tutorials__feature img,
.home2-topic-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
}

.home2-news-feature > div {
  padding: 15px 15px 16px;
  display: flex;
  flex: 1;
  flex-direction: column;
}

.home2-news-feature .home2-card-meta,
.home2-tutorials__feature .home2-card-meta,
.home2-topic-card .home2-card-meta {
  margin-top: 12px;
}

.home2-news-feature .home2-card-meta {
  margin-top: auto;
}

.home2-news-feature strong,
.home2-tutorials__feature strong,
.home2-column-list strong {
  display: block;
  color: #18263c;
  font-size: 17px;
  line-height: 1.5;
}

.home2-news-feature p,
.home2-tutorials__feature p,
.home2-column-list span {
  margin: 8px 0 0;
  color: #687f9c;
  font-size: 13px;
  line-height: 1.75;
}

.home2-news-feature strong,
.home2-news-feature p {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.home2-news-feature strong {
  -webkit-line-clamp: 1;
}

.home2-news-feature p {
  -webkit-line-clamp: 2;
}

.home2-title-flow {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 16px;
  padding-top: 6px;
}

.home2-title-flow a {
  position: relative;
  display: block;
  box-sizing: border-box;
  max-width: 100%;
  padding: 12px 0 12px 16px;
  color: #203049;
  font-size: 15px;
  line-height: 1.65;
  border-top: 1px dashed #e7eef7;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.home2-title-flow a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 19px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #76b7ff;
}

.home2-title-flow a:hover {
  color: #2d82e7;
}

.home2-tutorial-layout {
  display: block;
  margin-top: 22px;
}

.home2-tutorial-links a:hover {
  color: #2d82e7;
}

.home2-tutorial-card__tag {
  display: inline-flex;
  align-items: center;
  height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 12px;
  background: #eef6ff;
  color: #3388e6;
  font-weight: 600;
}

.home2-tutorial-mosaic {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.home2-tutorial-card {
  border: 1px solid #dce7f7;
  background: #0f1726;
  display: block;
  border-radius: 20px;
  padding: 0;
  overflow: hidden;
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.home2-tutorial-card--hero {
  grid-column: span 1;
}

.home2-tutorial-card img {
  width: 100%;
  height: 148px;
  border-radius: 0;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.home2-tutorial-card--hero img {
  height: 164px;
}

.home2-tutorial-card::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 72%;
  background: linear-gradient(180deg, rgba(9, 14, 24, 0) 0%, rgba(9, 14, 24, 0.86) 72%, rgba(9, 14, 24, 0.98) 100%);
  pointer-events: none;
}

.home2-tutorial-card:hover {
  transform: translateY(-3px);
  border-color: #bcd9fb;
  box-shadow: 0 18px 30px rgba(63, 97, 160, 0.12);
}

.home2-tutorial-card:hover img {
  transform: scale(1.04);
}

.home2-tutorial-card__overlay {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 2;
}

.home2-tutorial-card strong {
  display: block;
  margin-top: 10px;
  color: #ffffff;
  font-size: 16px;
  line-height: 1.52;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.home2-tutorial-card--hero strong {
  font-size: 17px;
  line-height: 1.45;
}

.home2-tutorial-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 18px;
  margin-top: 14px;
  padding-top: 6px;
}

.home2-tutorial-links a {
  position: relative;
  display: block;
  box-sizing: border-box;
  max-width: 100%;
  min-width: 0;
  padding: 14px 0 14px 16px;
  border-top: 1px dashed #e6edf7;
  color: #203049;
  font-size: 15px;
  line-height: 1.65;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.home2-tutorial-links a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 21px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #76b7ff;
}

.home2-app-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.home2-app-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border: 1px solid #dce7f6;
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  transition: all 0.2s ease;
}

.home2-app-card img {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  object-fit: cover;
  flex-shrink: 0;
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(219, 231, 245, 0.9);
}

.home2-app-card strong {
  display: block;
  color: #17253a;
  font-size: 15px;
}

.home2-app-card p {
  margin: 6px 0 0;
  color: #6d829d;
  font-size: 12px;
  line-height: 1.65;
}

.home2-lobster-feature,
.home2-topic-card,
.home2-column-list a,
.home2-latest-col a {
  border: 1px solid #dce6f4;
  border-radius: 22px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
}

.home2-lobster-tile {
  display: grid;
  grid-template-columns: 88px 1fr;
  align-items: center;
  gap: 14px;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid #dce6f4;
  background: linear-gradient(180deg, #ffffff 0%, #fcfdff 100%);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  padding: 10px 12px 10px 10px;
}

.home2-lobster-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.home2-lobster-tile__media {
  aspect-ratio: 16 / 10.6;
  overflow: hidden;
  border-radius: 13px;
  box-shadow: inset 0 0 0 1px rgba(228, 236, 247, 0.9);
  background:
    linear-gradient(135deg, rgba(228, 238, 249, 0.82), rgba(245, 249, 255, 0.96)),
    radial-gradient(circle at top right, rgba(90, 149, 255, 0.22), transparent 46%);
}

.home2-lobster-tile__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.home2-lobster-tile__body {
  min-width: 0;
  padding: 0 2px 0 0;
}

.home2-lobster-tile__body span {
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  background: #edf5ff;
  color: #3388e6;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.home2-lobster-tile__body strong {
  display: block;
  margin-top: 8px;
  color: #18253b;
  font-size: 15px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.home2-lobster-tile:hover {
  transform: translateY(-3px);
  border-color: #bfd7f7;
  box-shadow: 0 14px 24px rgba(68, 99, 156, 0.1);
}

.home2-featurewall {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 20px;
}

.home2-featurewall-card {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  min-height: 124px;
  background: #dfe8f5;
}

.home2-featurewall-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.home2-featurewall-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 20, 35, 0.06) 0%, rgba(10, 20, 35, 0.2) 36%, rgba(9, 16, 30, 0.76) 100%);
}

.home2-featurewall-card__overlay {
  position: absolute;
  left: 14px;
  right: 92px;
  bottom: 14px;
  z-index: 2;
}

.home2-featurewall-card__tag {
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  color: #3488e5;
  font-size: 10px;
  font-weight: 700;
}

.home2-featurewall-card__overlay strong {
  display: block;
  margin-top: 8px;
  color: #fff;
  font-size: 14px;
  line-height: 1.45;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.24);
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.home2-featurewall-card__enter {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 74px;
  height: 32px;
  border-radius: 999px;
  background: rgba(57, 142, 244, 0.92);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  box-shadow: 0 10px 22px rgba(52, 136, 229, 0.24);
}

.home2-featurewall-card:hover img {
  transform: scale(1.05);
}

.home2-tabs__nav--minimal {
  gap: 8px;
  padding: 4px;
  border-radius: 999px;
  background: #f5f9fd;
  border: 1px solid #e4edf7;
}

.home2-tabs__nav--minimal button {
  height: 32px;
  padding: 0 14px;
  border: none;
  background: transparent;
  border-radius: 999px;
  color: #7f91a8;
  font-size: 13px;
  line-height: 32px;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.home2-tabs__nav--minimal button.active,
.home2-tabs__nav--minimal button:hover {
  color: #22344d;
  background: #ffffff;
  font-family: "msyhbd";
  box-shadow: 0 8px 18px rgba(33, 66, 119, 0.08);
}

.home2-tabs--latest {
  margin-top: 4px;
  border-top: 1px solid #dfe8f3;
  padding-top: 6px;
}

.home2-latest-stream {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.home2-latest-stream__col {
  display: grid;
}

.home2-latest-stream__col a {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 52px;
  gap: 14px;
  align-items: center;
  padding: 14px 0 14px 16px;
  border-bottom: 1px dashed #e2ebf7;
  transition: color 0.2s ease;
}

.home2-latest-stream__col a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 23px;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #6da9f5;
}

.home2-latest-stream__col strong {
  color: #1f314b;
  font-size: 15px;
  line-height: 1.7;
  font-family: "msyh";
  font-weight: 400;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.home2-latest-stream__col em {
  text-align: right;
  color: #95a5b8;
  font-size: 12px;
  font-style: normal;
  line-height: 1.4;
}

.home2-latest-stream__col a:hover strong {
  color: #2d82e7;
}

@media (max-width: 1260px) {
  .home2-shell {
    width: calc(100% - 32px);
  }
}


.home2-prompt-card:hover strong,
.home2-news-card:hover strong,
.home2-news-feature:hover strong,
.home2-tutorial-card:hover strong,
.home2-app-card:hover strong,
.home2-lobster-tile:hover strong,
.home2-featurewall-card:hover strong,
.home2-latest-stream__col a:hover strong,
.home2-column-list a:hover strong,
.home2-topic-card:hover strong {
  color: #2d82e7;
}
