打开/关闭菜单
打开/关闭外观设置菜单
打开/关闭个人菜单
未登录
未登录用户的IP地址会在进行任意编辑后公开展示。

目前wiki关闭了自行注册账号的功能,如需注册账号,请查阅Help:注册账号

模板:Fstpagetest styles:修订间差异

来自RIA | Wiki
ChenM0M留言 | 贡献
无编辑摘要
ChenM0M留言 | 贡献
无编辑摘要
第1行: 第1行:
/* FST 门户页面样式 — v3.3
/* TemplateStyles for fstpagetest.wiki
* 极简现代风格 (Refined):去伪存真,无嵌套,重排版
  Keep selectors scoped under .fst-page.
* 视觉优化:移除多余装饰,使用留白和微阴影,字体颜色更深沉 */
*/


/* ========== 全局容器 ========== */
.fst-page {
.fst-portal {
  margin: 0 auto;
    max-width: 100%;
  max-width: 1120px;
    color: #2c3e50;
}
    /* 深蓝灰,比纯黑更现代 */
 
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
.fst-page .fst-muted {
    line-height: 1.6;
  color: #5b626a;
  font-size: 0.95em;
}
 
.fst-page .fst-kicker {
  color: #3b4046;
  font-size: 0.95em;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
 
.fst-page .fst-mt6 {
  margin-top: 6px;
}
 
.fst-page .fst-mt8 {
  margin-top: 8px;
}
 
.fst-page .fst-mt10 {
  margin-top: 10px;
}
 
.fst-page .fst-mt12 {
  margin-top: 12px;
}
 
.fst-page .fst-section {
  margin: 18px 0;
}
 
.fst-page .fst-section-h {
  font-size: 1.22em;
  font-weight: 700;
  margin: 0 0 10px 0;
}
 
.fst-page .fst-surface {
  border: 1px solid #d8dde3;
  border-radius: 14px;
  background: #ffffff;
  padding: 14px;
}
 
/* Hero */
 
.fst-page .fst-hero {
  border: 1px solid #d8dde3;
  border-radius: 18px;
  overflow: hidden;
  position: relative;
  background: linear-gradient(135deg, #fff6e8 0%, #f8fbff 48%, #ffffff 100%);
}
 
.fst-page .fst-hero-media {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  overflow: hidden;
  opacity: 0.22;
}
 
.fst-page .fst-hero-media p {
  margin: 0;
}
 
.fst-page .fst-hero-media a {
  display: block;
}
 
.fst-page .fst-hero-media img {
  width: 100%;
  height: auto;
}
 
.fst-page .fst-hero-inner {
  padding: 18px 18px 14px 18px;
  position: relative;
}
}


/* 链接颜色优化 */
.fst-page .fst-hero-title {
.fst-portal a {
  font-size: 2.1em;
    color: #388e3c;
  font-weight: 800;
    /*以此为基准绿*/
  line-height: 1.1;
    text-decoration: none;
  margin: 0;
    transition: color 0.2s;
}
}


.fst-portal a:hover {
.fst-page .fst-hero-sub {
    text-decoration: none;
  margin-top: 6px;
    color: #1b5e20;
  color: #4a515a;
  font-size: 1.05em;
  line-height: 1.35;
}
}


/* 移除所有盒子样式的默认边框 */
.fst-page .fst-hero-row {
.fst-box {
  margin-top: 12px;
    border: none;
  display: flex;
    background: transparent;
  flex-wrap: wrap;
    margin-bottom: 2.5rem;
  align-items: center;
    padding: 0;
}
}


/* 标题样式:极简,无背景条 */
.fst-page .fst-pill {
.fst-box-header {
  display: inline-block;
    margin-bottom: 1.2rem;
  border: 1px solid #cfd6de;
    border-bottom: 1px solid #eee;
  background: #ffffff;
    padding-bottom: 0.5rem;
  border-radius: 999px;
  padding: 4px 10px;
  margin: 0 8px 8px 0;
  font-size: 0.92em;
  color: #2f353b;
}
}


.fst-box-header h2 {
.fst-page .fst-hero-jumps {
    font-size: 1.5rem;
  margin-top: 10px;
    font-weight: 600;
  color: #3f4650;
    color: #2c3e50;
  font-size: 0.98em;
    margin: 0;
    padding: 0;
    border: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
}


/* 移除之前所有的装饰性伪元素,保持纯净 */
/* Buttons (span wrapper + <a>) */
 
.fst-page .fst-btn {
  display: inline-block;
  margin-right: 8px;
  margin-top: 6px;
}


.fst-box-content {
.fst-page .fst-btn a {
    padding: 0;
  display: inline-block;
    background: transparent;
  text-decoration: none;
  border: 1px solid #cfd6de;
  border-radius: 999px;
  padding: 6px 12px;
  background: #ffffff;
  color: #2c333a;
  transition: background 120ms ease, border-color 120ms ease;
}
}


/* ========== 1. Welcome / Hero 区域 ========== */
.fst-page .fst-btn a:hover {
.fst-welcome {
  background: #f5f9ff;
    margin-bottom: 3rem;
  border-color: #c2ccd7;
    text-align: left;
    padding: 1rem 0;
    border-bottom: 1px solid #f0f0f0;
    /* 仅底部分割线 */
}
}


.fst-welcome-head h2 {
/* Banner */
    font-size: 2.2rem;
 
    font-weight: 700;
.fst-page .fst-banner {
    color: #1a1a1a;
  margin-top: 12px;
    letter-spacing: -0.03em;
  border: 1px solid #d8dde3;
    line-height: 1.2;
  border-radius: 14px;
    margin: 0 0 0.5rem 0;
  background: linear-gradient(90deg, #fff 0%, #f5fbff 55%, #fff 100%);
    border: none;
  padding: 10px 12px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}
}


.fst-welcome-body {
.fst-page .fst-banner-tag {
    font-size: 1.1rem;
  display: inline-block;
    color: #666;
  border: 1px solid #d5b88a;
    max-width: 800px;
  background: #fff3df;
  border-radius: 999px;
  padding: 4px 10px;
  margin: 0 10px 6px 0;
  font-weight: 700;
  font-size: 0.92em;
  color: #6a4a1f;
}
}


.fst-welcome-meta {
.fst-page .fst-banner-text {
    margin-top: 0.8rem;
  margin: 0 10px 6px 0;
    font-size: 0.85rem;
  color: #3c444e;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 500;
}
}


/* ========== 2. 公告薄条 (Modern Alert) ========== */
/* Top navigation block */
.fst-announce {
 
    background: #f1f8e9;
.fst-page .fst-topnav {
    /* 极浅绿 */
  display: flex;
    color: #33691e;
  flex-wrap: wrap;
    padding: 0.8rem 1.2rem;
  align-items: flex-start;
    margin-bottom: 2.5rem;
    font-size: 0.95rem;
    border-radius: 8px;
    /* 轻微圆角 */
    display: flex;
    align-items: center;
    gap: 0.8rem;
}
}


.fst-announce::before {
.fst-page .fst-topnav-left {
    content: '📢';
  flex: 1 1 300px;
    /* 保持 emoji 或者用 SVG */
  min-width: 260px;
    font-size: 1.2em;
  padding-right: 12px;
}
}


/* ========== 3. 核心布局区 ========== */
.fst-page .fst-topnav-right {
.fst-row-top {
  flex: 1 1 480px;
    display: flex;
  min-width: 320px;
    flex-wrap: wrap;
    gap: 2.5rem;
    margin-bottom: 3rem;
    align-items: stretch;
}
}


/* 功能入口:网格卡片 */
.fst-page .fst-icon-grid {
.fst-quicknav {
  display: flex;
    flex: 1 1 500px;
  flex-wrap: wrap;
    /* 增加在大屏幕的权重 */
  margin: -6px;
}
}


.fst-quicknav-grid {
.fst-page .fst-icon {
    display: grid;
  margin: 6px;
    grid-template-columns: repeat(3, 1fr);
  flex: 0 0 calc(33.333% - 12px);
    gap: 1.2rem;
}
}


.fst-quicknav-item {
.fst-page .fst-icon-box {
    display: flex;
  border: 1px solid #d8dde3;
    flex-direction: column;
  border-radius: 12px;
    align-items: center;
  background: #ffffff;
    justify-content: center;
  overflow: hidden;
    text-align: center;
}
    padding: 1.8rem 1rem;


    background: #fff;
.fst-page .fst-icon-box a {
    border: 1px solid #e0e0e0;
  display: block;
    border-radius: 12px;
  text-decoration: none;
  text-align: center;
  padding: 14px 10px;
  font-weight: 800;
  color: #2c333a;
  transition: background 120ms ease;
}


    transition: all 0.25s cubic-bezier(0.25, 0.8, 0.25, 1);
.fst-page .fst-icon-box a:hover {
    cursor: pointer;
  background: #f5f9ff;
    position: relative;
    text-decoration: none !important;
}
}


/* Hover 效果:轻微上浮 + 柔和阴影 */
.fst-page .fst-icon-label {
.fst-quicknav-item:hover {
  margin-top: 6px;
    border-color: #a5d6a7;
  text-align: center;
    transform: translateY(-4px);
  color: #4b535d;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.06);
  font-size: 0.9em;
    z-index: 2;
}
}


/* 点击/Active 效果 */
/* Layout helpers */
.fst-quicknav-item:active {
 
    transform: translateY(-1px);
.fst-page .fst-split {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-wrap: wrap;
  margin: -10px;
}
}


.fst-quicknav-icon {
.fst-page .fst-col {
    font-size: 2.2rem;
  margin: 10px;
    margin-bottom: 0.8rem;
  flex: 1 1 360px;
    filter: grayscale(100%);
  min-width: 320px;
    /* 默认黑白,更显高级 */
    opacity: 0.8;
    transition: all 0.25s;
}
}


.fst-quicknav-item:hover .fst-quicknav-icon {
/* Tiles grid */
    filter: grayscale(0%);
 
    opacity: 1;
.fst-page .fst-grid {
    transform: scale(1.1);
  display: flex;
  flex-wrap: wrap;
  margin: -8px;
}
}


.fst-quicknav-label {
.fst-page .fst-grid > .fst-tile {
    font-size: 0.95rem;
  margin: 8px;
    font-weight: 500;
  padding: 12px;
    color: #555;
  border: 1px solid #d8dde3;
    transition: color 0.25s;
  border-radius: 14px;
  background: #ffffff;
  flex: 1 1 210px;
  min-width: 210px;
  transition: background 120ms ease, box-shadow 120ms ease, border-color 120ms ease;
}
}


.fst-quicknav-item:hover .fst-quicknav-label {
.fst-page .fst-grid > .fst-tile:hover {
    color: #2e7d46;
  background: #fbfdff;
  border-color: #cbd3dc;
  box-shadow: 0 1px 12px rgba(20, 30, 40, 0.06);
}
}


/* 世界图标区 */
.fst-page .fst-tile-title {
.fst-worlds {
  font-size: 1.05em;
    flex: 0 1 320px;
  font-weight: 800;
    /* 固定合适宽度,避免过宽 */
  margin: 0 0 6px 0;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}
}


.fst-worlds-row {
.fst-page .fst-tile-desc {
    display: flex;
  color: #4b535d;
    gap: 1.2rem;
  font-size: 0.95em;
    width: 100%;
  line-height: 1.45;
}
}


.fst-world-item {
.fst-page .fst-tile-cta {
    flex: 1;
  margin-top: 10px;
    display: flex;
  font-size: 0.95em;
    flex-direction: column;
}
    align-items: center;
    justify-content: center;
    padding: 1.5rem;


    background: #fff;
/* Worlds tiles */
    border: 1px solid #e0e0e0;
    border-radius: 12px;


    text-decoration: none;
.fst-page .fst-world-tiles {
    color: #333;
  display: flex;
    min-height: 8rem;
  flex-wrap: wrap;
    /* 保证高度,显眼 */
  margin: -8px;
    transition: all 0.25s;
}
}


.fst-world-item:hover {
.fst-page .fst-world-tiles .fst-world {
    border-color: #4caf50;
  margin: 8px;
    transform: translateY(-4px);
  padding: 12px;
    box-shadow: 0 12px 24px rgba(76, 175, 80, 0.1);
  border: 1px solid #d8dde3;
  border-radius: 14px;
  background: #ffffff;
  flex: 1 1 220px;
  min-width: 220px;
}
}


.fst-world-symbol {
.fst-page .fst-world-tiles .fst-world-wide {
    font-size: 3rem;
  flex-basis: 100%;
    margin-bottom: 0.5rem;
    filter: grayscale(100%) brightness(1.2);
    /* 默认淡一点 */
    transition: all 0.25s;
}
}


.fst-world-item:hover .fst-world-symbol {
.fst-page .fst-world-title {
    filter: grayscale(0%);
  font-size: 1.1em;
    transform: scale(1.1);
  font-weight: 800;
  margin: 0 0 6px 0;
}
}


.fst-world-name {
.fst-page .fst-world-icon {
    font-weight: 600;
  display: inline-block;
    font-size: 1rem;
  width: 34px;
    color: #444;
  height: 34px;
  line-height: 34px;
  text-align: center;
  border-radius: 10px;
  border: 1px solid #d8dde3;
  background: #ffffff;
  margin-right: 10px;
  font-weight: 800;
  font-size: 0.92em;
  color: #2c333a;
}
}


/* --- 分隔线 --- */
.fst-page .fst-world-icon-laputa {
.fst-divider {
  background: #fff3df;
    border: 0;
  border-color: #e7cfa4;
    border-top: 1px solid #f0f0f0;
  color: #6a4a1f;
    margin: 2rem 0;
}
}


/* --- Tab 栏 --- */
.fst-page .fst-world-icon-eden {
.fst-tabbar {
  background: #e8f4ff;
    display: flex;
  border-color: #bcd6ee;
    gap: 2.5rem;
  color: #214a6b;
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 2rem;
}
}


.fst-tabbar a {
.fst-page .fst-world-icon-sat {
    padding-bottom: 0.8rem;
  background: #f3f7f2;
    color: #888;
  border-color: #d6e0d3;
    font-weight: 500;
  color: #35543e;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    font-size: 1.05rem;
}
}


.fst-tabbar a:hover {
.fst-page .fst-world-badge {
    color: #333;
  display: inline-block;
  margin-left: 8px;
  border: 1px solid #d8dde3;
  border-radius: 999px;
  padding: 3px 8px;
  background: #f7fafc;
  color: #3b4450;
  font-size: 0.88em;
}
}


/* 激活状态 */
.fst-page .fst-world-desc {
.fst-tabbar a.active,
  color: #4b535d;
.fst-tabbar a:target {
  font-size: 0.95em;
    color: #2e7d46;
  line-height: 1.45;
    border-bottom-color: #2e7d46;
}
}


/* --- 下方两列布局 --- */
.fst-page .fst-minirow {
.fst-row-bottom {
  margin-top: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 4rem;
    /* 增加间距 */
    align-items: flex-start;
}
}


.fst-main-left {
.fst-page .fst-minirow .fst-btn a {
    flex: 1 1 600px;
  padding: 5px 10px;
  font-size: 0.93em;
}
}


.fst-main-right {
/* Tabs (:target) */
    flex: 0 0 280px;
 
    /* 右侧栏稍微独立 */
.fst-page .fst-tabs {
  border: 1px solid #d8dde3;
  border-radius: 14px;
  background: #ffffff;
  padding: 12px;
}
}


/* 主要内容文字优化 */
.fst-page .fst-tabtarget {
.fst-panel-content {
  display: none;
    font-size: 1rem;
    color: #444;
}
}


.fst-mod-tag {
.fst-page .fst-tabbar {
    display: inline-flex;
  margin-bottom: 12px;
    align-items: center;
    padding: 0.4em 0.8em;
    margin: 0.2em;
    background: #f5f5f5;
    color: #555;
    border-radius: 6px;
    font-size: 0.9rem;
    transition: all 0.2s;
}
}


.fst-mod-tag:hover {
.fst-page .fst-tabbar a {
    background: #e8f5e9;
  display: inline-block;
    color: #2e7d46;
  text-decoration: none;
    transform: translateY(-1px);
  border: 1px solid #d8dde3;
  border-radius: 999px;
  padding: 6px 12px;
  margin: 0 8px 8px 0;
  background: #ffffff;
  color: #2c333a;
  font-weight: 700;
}
}


/* 时间线:更细致 */
.fst-page .fst-tabbar a:hover {
.fst-timeline-title {
  background: #f5f9ff;
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px dashed #e0e0e0;
}
}


.fst-timeline {
.fst-page .fst-panels .fst-panel {
    display: flex;
  display: none;
    flex-direction: column;
  border: 1px solid #d8dde3;
    gap: 0;
  border-radius: 12px;
  background: #fbfdff;
  padding: 12px;
}
}


.fst-timeline-item {
.fst-page .fst-panels .fst-panel-beginner {
    display: flex;
  display: block;
    gap: 1.5rem;
    padding-bottom: 1.5rem;
    position: relative;
}
}


.fst-timeline-item::before {
.fst-page #tab-intermediate:target ~ .fst-panels .fst-panel-beginner,
    content: '';
.fst-page #tab-advanced:target ~ .fst-panels .fst-panel-beginner {
    position: absolute;
  display: none;
    left: 5px;
    top: 6px;
    bottom: 0;
    width: 1px;
    background: #e0e0e0;
}
}


.fst-timeline-item:last-child::before {
.fst-page #tab-intermediate:target ~ .fst-panels .fst-panel-intermediate {
    display: none;
  display: block;
}
}


.fst-timeline-dot {
.fst-page #tab-advanced:target ~ .fst-panels .fst-panel-advanced {
    width: 11px;
  display: block;
    height: 11px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid #ccc;
    flex-shrink: 0;
    z-index: 1;
    margin-top: 4px;
    transition: border-color 0.2s;
}
}


.fst-timeline-item:hover .fst-timeline-dot {
.fst-page .fst-tabbar a[href="#tab-beginner"] {
    border-color: #4caf50;
  background: #e8f4ff;
    background: #e8f5e9;
  border-color: #bcd6ee;
}
}


.fst-timeline-date {
.fst-page #tab-intermediate:target ~ .fst-tabbar a[href="#tab-beginner"],
    font-family: monospace;
.fst-page #tab-advanced:target ~ .fst-tabbar a[href="#tab-beginner"] {
    color: #999;
  background: #ffffff;
    font-size: 0.9rem;
  border-color: #d8dde3;
    padding-top: 1px;
    min-width: 4.5em;
}
}


.fst-timeline-text {
.fst-page #tab-intermediate:target ~ .fst-tabbar a[href="#tab-intermediate"],
    color: #333;
.fst-page #tab-advanced:target ~ .fst-tabbar a[href="#tab-advanced"] {
    font-weight: 500;
  background: #e8f4ff;
  border-color: #bcd6ee;
}
}


/* 公告列表:纯净列表 */
/* Lists inside panels */
.fst-news-title {
 
    font-size: 1.1rem;
.fst-page .fst-list {
    font-weight: 600;
  margin: 8px 0 0 0;
    border-bottom: 2px solid #a5d6a7;
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
    display: inline-block;
}
}


.fst-news-list {
.fst-page .fst-list ul {
    list-style: none;
  margin: 6px 0 0 18px;
    padding: 0;
}
}


.fst-news-list li {
.fst-page .fst-list li {
    padding: 0.6rem 0;
  margin: 4px 0;
    border-bottom: 1px solid #f5f5f5;
    color: #666;
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
}
}


.fst-news-list li::before {
/* News */
    content: '•';
 
    color: #a5d6a7;
.fst-page .fst-news {
    font-size: 1.2em;
  border: 1px solid #d8dde3;
  border-radius: 14px;
  background: #ffffff;
  padding: 12px;
}
}


/* ========== 4. 地标 (简约图片卡片) ========== */
.fst-page .fst-newsitem {
.fst-landmarks-grid {
  border: 1px solid #d8dde3;
    display: grid;
  border-radius: 12px;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  background: #ffffff;
    gap: 1.5rem;
  padding: 10px 12px;
  margin-top: 10px;
}
}


.fst-landmark-item {
.fst-page .fst-newsitem:first-child {
    background: #fff;
  margin-top: 0;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.25s;
}
}


.fst-landmark-item:hover {
.fst-page .fst-newsitem-title {
    transform: translateY(-4px);
  font-weight: 800;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.06);
  margin: 0 0 6px 0;
    border-color: #b9f6ca;
}
}


.fst-landmark-name {
.fst-page .fst-newsitem-desc {
    font-weight: 600;
  color: #4b535d;
    font-size: 1.1rem;
  font-size: 0.95em;
    margin-bottom: 0.2rem;
  line-height: 1.45;
    color: #2e7d46;
}
}


.fst-landmark-desc {
/* Footer */
    font-size: 0.9rem;
 
    color: #999;
.fst-page .fst-footer {
  border-top: 1px solid #e3e7ec;
  margin-top: 22px;
  padding-top: 12px;
  color: #4b535d;
}
}


/* ========== 5. Footer (极简) ========== */
.fst-page .fst-footer .fst-btn a {
.fst-footer {
  background: #ffffff;
    margin-top: 4rem;
    padding: 2rem 0;
    text-align: center;
    color: #bbb;
    border-top: 1px solid #f5f5f5;
    font-size: 0.9rem;
}
}


/* ========== 响应式细节 ========== */
@media (max-width: 720px) {
@media (max-width: 768px) {
  .fst-page {
     .fst-row-bottom {
    max-width: 100%;
        flex-direction: column;
  }
        gap: 2rem;
 
     }
  .fst-page .fst-col {
     min-width: 0;
  }
 
  .fst-page .fst-grid > .fst-tile {
    min-width: 0;
    flex-basis: 100%;
  }
 
  .fst-page .fst-world-tiles .fst-world {
    min-width: 0;
     flex-basis: 100%;
  }


    .fst-timeline-item {
  .fst-page .fst-topnav-left {
        gap: 1rem;
    padding-right: 0;
    }
  }


    .fst-main-right {
  .fst-page .fst-icon {
        flex: auto;
    flex-basis: calc(50% - 12px);
        width: 100%;
  }
        border-top: 1px solid #f0f0f0;
        padding-top: 2rem;
    }
}
}

2026年2月14日 (六) 01:57的版本

/* TemplateStyles for fstpagetest.wiki
   Keep selectors scoped under .fst-page.
*/

.fst-page {
  margin: 0 auto;
  max-width: 1120px;
}

.fst-page .fst-muted {
  color: #5b626a;
  font-size: 0.95em;
}

.fst-page .fst-kicker {
  color: #3b4046;
  font-size: 0.95em;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.fst-page .fst-mt6 {
  margin-top: 6px;
}

.fst-page .fst-mt8 {
  margin-top: 8px;
}

.fst-page .fst-mt10 {
  margin-top: 10px;
}

.fst-page .fst-mt12 {
  margin-top: 12px;
}

.fst-page .fst-section {
  margin: 18px 0;
}

.fst-page .fst-section-h {
  font-size: 1.22em;
  font-weight: 700;
  margin: 0 0 10px 0;
}

.fst-page .fst-surface {
  border: 1px solid #d8dde3;
  border-radius: 14px;
  background: #ffffff;
  padding: 14px;
}

/* Hero */

.fst-page .fst-hero {
  border: 1px solid #d8dde3;
  border-radius: 18px;
  overflow: hidden;
  position: relative;
  background: linear-gradient(135deg, #fff6e8 0%, #f8fbff 48%, #ffffff 100%);
}

.fst-page .fst-hero-media {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  overflow: hidden;
  opacity: 0.22;
}

.fst-page .fst-hero-media p {
  margin: 0;
}

.fst-page .fst-hero-media a {
  display: block;
}

.fst-page .fst-hero-media img {
  width: 100%;
  height: auto;
}

.fst-page .fst-hero-inner {
  padding: 18px 18px 14px 18px;
  position: relative;
}

.fst-page .fst-hero-title {
  font-size: 2.1em;
  font-weight: 800;
  line-height: 1.1;
  margin: 0;
}

.fst-page .fst-hero-sub {
  margin-top: 6px;
  color: #4a515a;
  font-size: 1.05em;
  line-height: 1.35;
}

.fst-page .fst-hero-row {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.fst-page .fst-pill {
  display: inline-block;
  border: 1px solid #cfd6de;
  background: #ffffff;
  border-radius: 999px;
  padding: 4px 10px;
  margin: 0 8px 8px 0;
  font-size: 0.92em;
  color: #2f353b;
}

.fst-page .fst-hero-jumps {
  margin-top: 10px;
  color: #3f4650;
  font-size: 0.98em;
}

/* Buttons (span wrapper + <a>) */

.fst-page .fst-btn {
  display: inline-block;
  margin-right: 8px;
  margin-top: 6px;
}

.fst-page .fst-btn a {
  display: inline-block;
  text-decoration: none;
  border: 1px solid #cfd6de;
  border-radius: 999px;
  padding: 6px 12px;
  background: #ffffff;
  color: #2c333a;
  transition: background 120ms ease, border-color 120ms ease;
}

.fst-page .fst-btn a:hover {
  background: #f5f9ff;
  border-color: #c2ccd7;
}

/* Banner */

.fst-page .fst-banner {
  margin-top: 12px;
  border: 1px solid #d8dde3;
  border-radius: 14px;
  background: linear-gradient(90deg, #fff 0%, #f5fbff 55%, #fff 100%);
  padding: 10px 12px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.fst-page .fst-banner-tag {
  display: inline-block;
  border: 1px solid #d5b88a;
  background: #fff3df;
  border-radius: 999px;
  padding: 4px 10px;
  margin: 0 10px 6px 0;
  font-weight: 700;
  font-size: 0.92em;
  color: #6a4a1f;
}

.fst-page .fst-banner-text {
  margin: 0 10px 6px 0;
  color: #3c444e;
}

/* Top navigation block */

.fst-page .fst-topnav {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
}

.fst-page .fst-topnav-left {
  flex: 1 1 300px;
  min-width: 260px;
  padding-right: 12px;
}

.fst-page .fst-topnav-right {
  flex: 1 1 480px;
  min-width: 320px;
}

.fst-page .fst-icon-grid {
  display: flex;
  flex-wrap: wrap;
  margin: -6px;
}

.fst-page .fst-icon {
  margin: 6px;
  flex: 0 0 calc(33.333% - 12px);
}

.fst-page .fst-icon-box {
  border: 1px solid #d8dde3;
  border-radius: 12px;
  background: #ffffff;
  overflow: hidden;
}

.fst-page .fst-icon-box a {
  display: block;
  text-decoration: none;
  text-align: center;
  padding: 14px 10px;
  font-weight: 800;
  color: #2c333a;
  transition: background 120ms ease;
}

.fst-page .fst-icon-box a:hover {
  background: #f5f9ff;
}

.fst-page .fst-icon-label {
  margin-top: 6px;
  text-align: center;
  color: #4b535d;
  font-size: 0.9em;
}

/* Layout helpers */

.fst-page .fst-split {
  display: flex;
  flex-wrap: wrap;
  margin: -10px;
}

.fst-page .fst-col {
  margin: 10px;
  flex: 1 1 360px;
  min-width: 320px;
}

/* Tiles grid */

.fst-page .fst-grid {
  display: flex;
  flex-wrap: wrap;
  margin: -8px;
}

.fst-page .fst-grid > .fst-tile {
  margin: 8px;
  padding: 12px;
  border: 1px solid #d8dde3;
  border-radius: 14px;
  background: #ffffff;
  flex: 1 1 210px;
  min-width: 210px;
  transition: background 120ms ease, box-shadow 120ms ease, border-color 120ms ease;
}

.fst-page .fst-grid > .fst-tile:hover {
  background: #fbfdff;
  border-color: #cbd3dc;
  box-shadow: 0 1px 12px rgba(20, 30, 40, 0.06);
}

.fst-page .fst-tile-title {
  font-size: 1.05em;
  font-weight: 800;
  margin: 0 0 6px 0;
}

.fst-page .fst-tile-desc {
  color: #4b535d;
  font-size: 0.95em;
  line-height: 1.45;
}

.fst-page .fst-tile-cta {
  margin-top: 10px;
  font-size: 0.95em;
}

/* Worlds tiles */

.fst-page .fst-world-tiles {
  display: flex;
  flex-wrap: wrap;
  margin: -8px;
}

.fst-page .fst-world-tiles .fst-world {
  margin: 8px;
  padding: 12px;
  border: 1px solid #d8dde3;
  border-radius: 14px;
  background: #ffffff;
  flex: 1 1 220px;
  min-width: 220px;
}

.fst-page .fst-world-tiles .fst-world-wide {
  flex-basis: 100%;
}

.fst-page .fst-world-title {
  font-size: 1.1em;
  font-weight: 800;
  margin: 0 0 6px 0;
}

.fst-page .fst-world-icon {
  display: inline-block;
  width: 34px;
  height: 34px;
  line-height: 34px;
  text-align: center;
  border-radius: 10px;
  border: 1px solid #d8dde3;
  background: #ffffff;
  margin-right: 10px;
  font-weight: 800;
  font-size: 0.92em;
  color: #2c333a;
}

.fst-page .fst-world-icon-laputa {
  background: #fff3df;
  border-color: #e7cfa4;
  color: #6a4a1f;
}

.fst-page .fst-world-icon-eden {
  background: #e8f4ff;
  border-color: #bcd6ee;
  color: #214a6b;
}

.fst-page .fst-world-icon-sat {
  background: #f3f7f2;
  border-color: #d6e0d3;
  color: #35543e;
}

.fst-page .fst-world-badge {
  display: inline-block;
  margin-left: 8px;
  border: 1px solid #d8dde3;
  border-radius: 999px;
  padding: 3px 8px;
  background: #f7fafc;
  color: #3b4450;
  font-size: 0.88em;
}

.fst-page .fst-world-desc {
  color: #4b535d;
  font-size: 0.95em;
  line-height: 1.45;
}

.fst-page .fst-minirow {
  margin-top: 10px;
}

.fst-page .fst-minirow .fst-btn a {
  padding: 5px 10px;
  font-size: 0.93em;
}

/* Tabs (:target) */

.fst-page .fst-tabs {
  border: 1px solid #d8dde3;
  border-radius: 14px;
  background: #ffffff;
  padding: 12px;
}

.fst-page .fst-tabtarget {
  display: none;
}

.fst-page .fst-tabbar {
  margin-bottom: 12px;
}

.fst-page .fst-tabbar a {
  display: inline-block;
  text-decoration: none;
  border: 1px solid #d8dde3;
  border-radius: 999px;
  padding: 6px 12px;
  margin: 0 8px 8px 0;
  background: #ffffff;
  color: #2c333a;
  font-weight: 700;
}

.fst-page .fst-tabbar a:hover {
  background: #f5f9ff;
}

.fst-page .fst-panels .fst-panel {
  display: none;
  border: 1px solid #d8dde3;
  border-radius: 12px;
  background: #fbfdff;
  padding: 12px;
}

.fst-page .fst-panels .fst-panel-beginner {
  display: block;
}

.fst-page #tab-intermediate:target ~ .fst-panels .fst-panel-beginner,
.fst-page #tab-advanced:target ~ .fst-panels .fst-panel-beginner {
  display: none;
}

.fst-page #tab-intermediate:target ~ .fst-panels .fst-panel-intermediate {
  display: block;
}

.fst-page #tab-advanced:target ~ .fst-panels .fst-panel-advanced {
  display: block;
}

.fst-page .fst-tabbar a[href="#tab-beginner"] {
  background: #e8f4ff;
  border-color: #bcd6ee;
}

.fst-page #tab-intermediate:target ~ .fst-tabbar a[href="#tab-beginner"],
.fst-page #tab-advanced:target ~ .fst-tabbar a[href="#tab-beginner"] {
  background: #ffffff;
  border-color: #d8dde3;
}

.fst-page #tab-intermediate:target ~ .fst-tabbar a[href="#tab-intermediate"],
.fst-page #tab-advanced:target ~ .fst-tabbar a[href="#tab-advanced"] {
  background: #e8f4ff;
  border-color: #bcd6ee;
}

/* Lists inside panels */

.fst-page .fst-list {
  margin: 8px 0 0 0;
}

.fst-page .fst-list ul {
  margin: 6px 0 0 18px;
}

.fst-page .fst-list li {
  margin: 4px 0;
}

/* News */

.fst-page .fst-news {
  border: 1px solid #d8dde3;
  border-radius: 14px;
  background: #ffffff;
  padding: 12px;
}

.fst-page .fst-newsitem {
  border: 1px solid #d8dde3;
  border-radius: 12px;
  background: #ffffff;
  padding: 10px 12px;
  margin-top: 10px;
}

.fst-page .fst-newsitem:first-child {
  margin-top: 0;
}

.fst-page .fst-newsitem-title {
  font-weight: 800;
  margin: 0 0 6px 0;
}

.fst-page .fst-newsitem-desc {
  color: #4b535d;
  font-size: 0.95em;
  line-height: 1.45;
}

/* Footer */

.fst-page .fst-footer {
  border-top: 1px solid #e3e7ec;
  margin-top: 22px;
  padding-top: 12px;
  color: #4b535d;
}

.fst-page .fst-footer .fst-btn a {
  background: #ffffff;
}

@media (max-width: 720px) {
  .fst-page {
    max-width: 100%;
  }

  .fst-page .fst-col {
    min-width: 0;
  }

  .fst-page .fst-grid > .fst-tile {
    min-width: 0;
    flex-basis: 100%;
  }

  .fst-page .fst-world-tiles .fst-world {
    min-width: 0;
    flex-basis: 100%;
  }

  .fst-page .fst-topnav-left {
    padding-right: 0;
  }

  .fst-page .fst-icon {
    flex-basis: calc(50% - 12px);
  }
}