/* Restored layout foundation from the original homepage */
:root {
        --paper: #f4f0e6;
        --paper-deep: #e6decf;
        --ink: #171717;
        --muted: #625f58;
        --line: #24211c;
        --blue: #1f5eff;
        --green: #28765a;
        --red: #b7352d;
        --yellow: #f0c64b;
        --white: #fffaf0;
      }

      * {
        box-sizing: border-box;
      }

      body {
        margin: 0;
        min-height: 100vh;
        color: var(--ink);
        background:
          linear-gradient(90deg, rgba(23, 23, 23, 0.045) 1px, transparent 1px),
          linear-gradient(rgba(23, 23, 23, 0.045) 1px, transparent 1px),
          var(--paper);
        background-size: 28px 28px;
        font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans SC", Arial, sans-serif;
        letter-spacing: 0;
      }

      a {
        color: inherit;
        text-decoration: none;
      }

      .page {
        width: min(1180px, calc(100% - 32px));
        margin: 0 auto;
        padding: 24px 0 40px;
      }

      .topbar {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
        border: 2px solid var(--line);
        background: var(--white);
        padding: 13px 16px;
        box-shadow: 5px 5px 0 var(--line);
      }

      .brand {
        display: flex;
        align-items: center;
        gap: 12px;
        min-width: 0;
      }

      .brand-mark {
        display: grid;
        place-items: center;
        width: 38px;
        height: 38px;
        border: 2px solid var(--line);
        background: var(--yellow);
        font-size: 14px;
        font-weight: 900;
      }

      .brand-name {
        margin: 0;
        font-size: 18px;
        line-height: 1.1;
        font-weight: 900;
      }

      .brand-note {
        margin: 4px 0 0;
        color: var(--muted);
        font-size: 12px;
      }

      .nav {
        display: flex;
        align-items: center;
        gap: 8px;
        flex-wrap: wrap;
        justify-content: flex-end;
      }

      .nav a {
        border: 1px solid var(--line);
        background: #fff;
        padding: 7px 10px;
        font-size: 13px;
        font-weight: 700;
      }

      .home-language-toggle {
        display: inline-flex;
        align-items: center;
        border: 1px solid var(--line);
        background: #fff;
      }

      .home-language-toggle button {
        min-width: 42px;
        min-height: 31px;
        border: 0;
        padding: 0 10px;
        color: var(--muted);
        background: transparent;
        font-size: 12px;
        font-weight: 900;
        cursor: pointer;
      }

      .home-language-toggle button.is-active {
        color: var(--white);
        background: var(--ink);
      }

      .home-language-toggle button:focus-visible {
        outline: 2px solid var(--blue);
        outline-offset: 2px;
      }

      .hero {
        display: grid;
        grid-template-columns: 1.05fr 0.95fr;
        gap: 18px;
        margin-top: 22px;
        align-items: stretch;
      }

      .hero-copy,
      .hero-board,
      .section,
      .project-card,
      .rule-card {
        border: 2px solid var(--line);
        background: var(--white);
        box-shadow: 5px 5px 0 var(--line);
      }

      .hero-copy {
        min-height: 480px;
        padding: clamp(24px, 5vw, 58px);
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        position: relative;
        overflow: hidden;
      }

      .case-label {
        width: fit-content;
        border: 2px solid var(--line);
        background: var(--ink);
        color: var(--white);
        padding: 7px 10px;
        font-size: 13px;
        font-weight: 900;
      }

      .hero h1 {
        margin: 28px 0 0;
        max-width: 720px;
        font-size: clamp(42px, 6vw, 64px);
        line-height: 0.98;
        font-weight: 950;
      }

      .hero h1 span {
        display: block;
      }

      .hero-subtitle {
        max-width: 620px;
        margin: 22px 0 0;
        font-size: clamp(17px, 2vw, 22px);
        line-height: 1.7;
        color: #2d2b26;
        font-weight: 700;
      }

      .hero-actions {
        display: flex;
        align-items: center;
        gap: 12px;
        flex-wrap: wrap;
        margin-top: 32px;
      }

      .primary-button,
      .secondary-button {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 46px;
        border: 2px solid var(--line);
        padding: 0 18px;
        font-size: 15px;
        font-weight: 900;
        box-shadow: 3px 3px 0 var(--line);
      }

      .primary-button {
        background: var(--blue);
        color: #fff;
      }

      .secondary-button {
        background: #fff;
      }

      .lab-stats {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
        margin-top: 34px;
      }

      .stat {
        border-top: 2px solid var(--line);
        padding-top: 12px;
      }

      .stat strong {
        display: block;
        font-size: 28px;
        line-height: 1;
      }

      .stat span {
        display: block;
        margin-top: 6px;
        color: var(--muted);
        font-size: 12px;
        font-weight: 700;
      }

      .hero-board {
        min-height: 480px;
        padding: 18px;
        display: flex;
        flex-direction: column;
        gap: 14px;
        background: #efe7d8;
      }

      .board-head {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        gap: 12px;
        border-bottom: 2px solid var(--line);
        padding-bottom: 13px;
      }

      .board-head strong {
        display: block;
        font-size: 16px;
      }

      .board-head span {
        display: block;
        margin-top: 4px;
        color: var(--muted);
        font-size: 12px;
      }

      .stamp {
        transform: rotate(7deg);
        border: 2px solid var(--red);
        color: var(--red);
        padding: 6px 9px;
        font-size: 12px;
        font-weight: 950;
      }

      .featured-card {
        border: 2px solid var(--line);
        background: #fff;
        padding: 18px;
        display: grid;
        gap: 16px;
        flex: 1;
      }

      .file-row {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 14px;
      }

      .file-id {
        font-family: "Consolas", "Courier New", monospace;
        font-size: 13px;
        font-weight: 900;
      }

      .status {
        border: 1px solid var(--line);
        background: #daf4df;
        padding: 5px 8px;
        font-size: 12px;
        font-weight: 900;
      }

      .featured-card h2 {
        margin: 0;
        font-size: clamp(24px, 4vw, 40px);
        line-height: 1.08;
      }

      .featured-card p {
        margin: 0;
        color: #38342d;
        font-size: 16px;
        line-height: 1.65;
        font-weight: 700;
      }

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

      .module {
        border: 1px solid var(--line);
        background: #f8f5ee;
        padding: 10px;
        min-height: 70px;
      }

      .module strong {
        display: block;
        font-size: 14px;
      }

      .module span {
        display: block;
        margin-top: 5px;
        color: var(--muted);
        font-size: 12px;
        line-height: 1.4;
      }

      .tags {
        display: flex;
        gap: 8px;
        flex-wrap: wrap;
      }

      .tag {
        border: 1px solid var(--line);
        background: var(--paper);
        padding: 5px 8px;
        font-size: 12px;
        font-weight: 800;
      }

      .section {
        margin-top: 22px;
        padding: 20px;
      }

      .section-title {
        display: flex;
        align-items: end;
        justify-content: space-between;
        gap: 18px;
        border-bottom: 2px solid var(--line);
        padding-bottom: 14px;
      }

      .section-title h2 {
        margin: 0;
        font-size: clamp(23px, 4vw, 38px);
      }

      .section-title p {
        max-width: 420px;
        margin: 0;
        color: var(--muted);
        font-size: 14px;
        line-height: 1.6;
        font-weight: 700;
        text-align: right;
      }

      .project-grid {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 12px;
        margin-top: 16px;
      }

      .project-card {
        box-shadow: 3px 3px 0 var(--line);
        padding: 14px;
        min-height: 190px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
      }

      .project-card h3 {
        margin: 12px 0 0;
        font-size: 18px;
        line-height: 1.2;
      }

      .project-card p {
        margin: 10px 0 0;
        color: #3b3831;
        font-size: 13px;
        line-height: 1.55;
      }

      .project-code {
        font-family: "Consolas", "Courier New", monospace;
        font-size: 12px;
        color: var(--muted);
        font-weight: 800;
      }

      .project-state {
        width: fit-content;
        border: 1px solid var(--line);
        background: #fff;
        padding: 4px 7px;
        font-size: 12px;
        font-weight: 900;
      }

      .rules {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        gap: 12px;
        margin-top: 16px;
      }

      .rule-card {
        box-shadow: 3px 3px 0 var(--line);
        padding: 16px;
        min-height: 130px;
      }

      .rule-card b {
        display: block;
        font-size: 13px;
        color: var(--red);
        font-family: "Consolas", "Courier New", monospace;
      }

      .rule-card strong {
        display: block;
        margin-top: 10px;
        font-size: 18px;
      }

      .rule-card span {
        display: block;
        margin-top: 10px;
        color: var(--muted);
        font-size: 13px;
        line-height: 1.55;
        font-weight: 700;
      }

      .footer {
        display: flex;
        justify-content: space-between;
        gap: 14px;
        flex-wrap: wrap;
        margin-top: 18px;
        color: var(--muted);
        font-size: 12px;
        font-weight: 800;
      }

      @media (max-width: 900px) {
        .hero {
          grid-template-columns: 1fr;
        }

        .hero-copy,
        .hero-board {
          min-height: auto;
        }

        .project-grid {
          grid-template-columns: repeat(2, minmax(0, 1fr));
        }

        .rules {
          grid-template-columns: 1fr;
        }

        .section-title {
          align-items: flex-start;
          flex-direction: column;
        }

        .section-title p {
          text-align: left;
        }
      }

      @media (max-width: 560px) {
        .page {
          width: min(100% - 20px, 1180px);
          padding-top: 10px;
        }

        .topbar {
          align-items: flex-start;
          flex-direction: column;
          box-shadow: 3px 3px 0 var(--line);
        }

        .nav {
          justify-content: flex-start;
        }

        .hero h1 {
          font-size: 42px;
        }

        .hero-copy {
          padding: 22px;
          box-shadow: 3px 3px 0 var(--line);
        }

        .hero-board,
        .section {
          box-shadow: 3px 3px 0 var(--line);
        }

        .lab-stats {
          grid-template-columns: 1fr;
        }

        .module-grid,
        .project-grid {
          grid-template-columns: 1fr;
        }

        .primary-button,
        .secondary-button {
          width: 100%;
        }
      }

/* Dream notebook theme */
:root{--paper:#171225;--paper-deep:#2a203e;--ink:#f7efd9;--muted:#c7bda9;--line:rgba(248,237,210,.18);--blue:#e7c86d;--green:#90eadc;--red:#e99ab6;--yellow:#e7c86d;--white:rgba(22,17,34,.72)}
html{scroll-behavior:smooth}
*{box-sizing:border-box}
body{color:var(--ink);background:#120e1f;overflow-x:hidden}
body:before{content:"";position:fixed;inset:0;z-index:-3;background:linear-gradient(90deg,rgba(12,8,22,.76),rgba(12,8,22,.22) 48%,rgba(12,8,22,.72)),radial-gradient(circle at 18% 16%,rgba(144,234,220,.18),transparent 28%),radial-gradient(circle at 82% 10%,rgba(231,200,109,.14),transparent 26%),url("assets/dream-manual-bg.png") center/cover no-repeat}
body:after{content:"";position:fixed;inset:0;z-index:-2;pointer-events:none;background:linear-gradient(rgba(255,255,255,.026) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.02) 1px,transparent 1px),radial-gradient(circle at 50% 48%,transparent 0 42%,rgba(0,0,0,.58) 100%);background-size:52px 52px,52px 52px,auto}
.page{max-width:1220px;margin:0 auto;padding-top:22px;padding-left:12px;padding-right:12px;display:flex;flex-direction:column;gap:20px}
.topbar,.hero-copy,.hero-board,.section,.project-card,.rule-card{border:1px solid var(--line)!important;background:linear-gradient(145deg,rgba(24,18,38,.82),rgba(28,22,44,.54))!important;box-shadow:0 24px 90px rgba(0,0,0,.38)!important;backdrop-filter:blur(18px)}
.topbar{border-radius:26px;padding:14px 16px;display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.nav{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.nav a{padding:8px 14px}
.brand-mark{position:relative;border:1px solid rgba(231,200,109,.72)!important;border-radius:50%;background:radial-gradient(circle,rgba(231,200,109,.28),rgba(144,234,220,.08))!important;color:#f6df89;box-shadow:0 0 26px rgba(231,200,109,.22)}
.brand-mark:before,.brand-mark:after{content:"";position:absolute;border:1px solid rgba(231,200,109,.35);border-radius:50%}
.brand-mark:before{inset:6px}.brand-mark:after{inset:13px}
.brand-name,.hero h1,.featured-card h2,.section-title h2,.project-card h3,.rule-card strong{color:#fff8e7;text-shadow:0 0 30px rgba(231,200,109,.08)}
.brand-note,.board-head span,.featured-card p,.module span,.section-title p,.project-card p,.rule-card span,.footer,.stat span{color:rgba(247,239,217,.66)!important}
.nav a{border:1px solid rgba(247,239,217,.15)!important;border-radius:999px;background:rgba(255,255,255,.045)!important;color:rgba(247,239,217,.82)}
.nav a:hover,.nav a:focus-visible{border-color:rgba(231,200,109,.74)!important;outline:none}
.hero{display:grid;grid-template-columns:minmax(0,1.02fr) minmax(330px,.98fr);gap:24px;align-items:stretch}
.hero-copy,.hero-board,.section{border-radius:34px}
.hero-copy{min-height:500px;position:relative;padding:34px}
.hero-copy:before{content:"";position:absolute;inset:24px;border:1px solid rgba(231,200,109,.16);border-radius:26px;pointer-events:none}
.hero-copy:after{content:"✦";position:absolute;right:46px;top:34px;color:rgba(231,200,109,.58);font-size:42px}
.case-label{border:0!important;background:transparent!important;color:#e7c86d!important;padding:0!important;font-family:"Consolas","Courier New",monospace;font-size:13px;letter-spacing:.08em}
.case-label:before{content:"";display:inline-block;width:46px;height:1px;margin-right:10px;vertical-align:middle;background:#e7c86d;box-shadow:0 0 18px rgba(231,200,109,.5)}
.hero h1{font-size:clamp(44px,6.2vw,82px)!important;line-height:1.04;max-width:780px}
.hero h1 span:nth-child(2){color:transparent;background:linear-gradient(90deg,#fff5d5,#e7c86d 48%,#90eadc);-webkit-background-clip:text;background-clip:text}
.hero-subtitle{max-width:660px;color:rgba(247,239,217,.82)!important;font-size:clamp(16px,2vw,20px);line-height:1.85;font-weight:600}
.primary-button,.secondary-button{min-height:48px;border-radius:999px;border:1px solid rgba(247,239,217,.18)!important;box-shadow:none!important;transition:transform .16s ease,border-color .16s ease}
.primary-button{color:#160f25!important;background:linear-gradient(135deg,#f6dd88,#94eee2)!important;box-shadow:0 12px 30px rgba(144,234,220,.14)!important}
.secondary-button{color:rgba(247,239,217,.84)!important;background:rgba(255,255,255,.055)!important}
.primary-button:hover,.secondary-button:hover,.primary-button:focus-visible,.secondary-button:focus-visible{transform:translateY(-2px);border-color:rgba(231,200,109,.72)!important;outline:none}
.lab-stats{display:flex;flex-wrap:wrap;gap:12px}.stat{border:1px solid rgba(247,239,217,.12)!important;border-radius:22px;padding:16px;background:rgba(255,255,255,.045);min-width:122px;flex:1;text-align:center}.stat strong{color:#fff8e7}
.hero-board{min-height:500px;position:relative;overflow:hidden;background:linear-gradient(145deg,rgba(18,14,30,.86),rgba(31,23,48,.6))!important;padding:24px}
.hero-board:before{content:"";display:block;height:285px;margin-bottom:14px;border:1px solid rgba(231,200,109,.22);border-radius:28px;background:linear-gradient(180deg,transparent,rgba(16,12,28,.52)),url("assets/alchemy-objects.png") center/cover no-repeat;box-shadow:inset 0 -60px 80px rgba(16,12,28,.42)}
.board-head,.featured-card{position:relative;z-index:1}.board-head{border-bottom-color:rgba(247,239,217,.12)!important}
.stamp,.status{border:1px solid rgba(144,234,220,.5)!important;color:#11302c!important;background:#94eee2!important;border-radius:999px;transform:none}
.featured-card,.module,.project-card,.rule-card{border-radius:24px;background:rgba(255,255,255,.05)!important;border-color:rgba(247,239,217,.12)!important}
.file-id,.project-code,.rule-card b{color:#e7c86d!important}
.tag{border-color:rgba(231,200,109,.22)!important;border-radius:999px;background:rgba(231,200,109,.08)!important;color:rgba(247,239,217,.82)!important}
.section-title{border-bottom-color:rgba(247,239,217,.12)!important}.project-card,.rule-card{box-shadow:0 18px 46px rgba(0,0,0,.18)!important}
.project-state{border:0!important;border-radius:999px;background:rgba(255,255,255,.075)!important;color:rgba(247,239,217,.78)}
@media(max-width:980px){.hero{grid-template-columns:1fr}.hero-copy,.hero-board{min-height:auto}.project-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.rules{grid-template-columns:1fr}}
@media(max-width:560px){.page{width:min(100% - 22px,1180px);padding-top:12px}.topbar{align-items:flex-start;flex-direction:column;border-radius:22px}.nav{justify-content:flex-start}.hero{gap:16px;margin-top:16px}.hero-copy,.hero-board,.section{border-radius:26px}.hero-copy{padding:26px 20px}.hero-copy:before{inset:14px;border-radius:20px}.hero-copy:after{right:24px;top:22px;font-size:28px}.hero h1{font-size:42px!important}.hero-subtitle{font-size:15px;line-height:1.75}.primary-button,.secondary-button{width:100%}.lab-stats{grid-template-columns:1fr}.hero-board:before{height:210px}.module-grid,.project-grid{grid-template-columns:1fr}.section{padding:20px}}


/* Config-driven product directory */
.featured-card--loading{min-height:360px;display:flex;flex-direction:column;justify-content:center}.module-list{display:flex;flex-wrap:wrap;gap:10px;margin:22px 0 18px}.module{border:1px solid rgba(247,239,217,.14);border-radius:999px;background:rgba(255,255,255,.045);padding:8px 11px;color:rgba(247,239,217,.78);font-size:13px;font-weight:700}.tag-row{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}.tag{border:1px solid rgba(144,234,220,.24);border-radius:999px;padding:6px 9px;color:#90eadc;background:rgba(144,234,220,.08);font-size:12px;font-weight:800}.project-card{display:flex;flex-direction:column;justify-content:space-between;gap:24px;min-height:270px}.project-card h3{margin-bottom:12px}.project-card p{min-height:54px}.card-foot{display:flex;align-items:center;justify-content:space-between;gap:12px;border-top:1px solid rgba(247,239,217,.12);padding-top:16px}.card-link{display:inline-flex;align-items:center;justify-content:center;min-width:74px;min-height:36px;border:1px solid rgba(247,239,217,.18);border-radius:999px;background:rgba(255,255,255,.055);color:#fff8e7;font-size:13px;font-weight:900}.card-link:hover,.card-link:focus-visible{border-color:rgba(231,200,109,.72);outline:none}.card-link.is-disabled{opacity:.48}.project-card.is-live .project-state{border-color:rgba(144,234,220,.4);color:#90eadc}.project-card.is-practical .project-state{border-color:rgba(231,200,109,.38);color:#f6dd88}.project-card.is-research .project-state{border-color:rgba(233,154,182,.38);color:#e99ab6}.deploy-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.deploy-grid div{border:1px solid rgba(247,239,217,.13);border-radius:22px;padding:18px;background:rgba(255,255,255,.045)}.deploy-grid b{display:block;color:#fff8e7;margin-bottom:8px}.deploy-grid span{display:block;color:rgba(247,239,217,.66);line-height:1.7;font-size:14px}@media (max-width:760px){.deploy-grid{grid-template-columns:1fr}.project-card{min-height:auto}.project-card p{min-height:0}}
/* Public homepage polish */
body{font-family:"Microsoft YaHei","PingFang SC","Noto Sans SC",Arial,sans-serif;letter-spacing:0}
.page{width:min(1180px,calc(100% - 32px));max-width:none;padding:22px 0 40px;gap:20px}
.topbar{min-height:68px}
.brand{display:flex;align-items:center;gap:12px;min-width:0}
.brand-mark{display:grid;place-items:center;width:40px;height:40px;flex:0 0 40px;font-size:13px;font-weight:900}
.brand-note{display:block;margin-top:4px}
.nav{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap}
.nav a{padding:8px 14px}
.home-language-toggle{display:inline-flex;align-items:center;overflow:hidden;border:1px solid rgba(247,239,217,.18);border-radius:999px;background:rgba(255,255,255,.05)}
.home-language-toggle button{min-width:42px;min-height:34px;border:0;padding:0 10px;color:rgba(247,239,217,.68);background:transparent;font-size:12px;font-weight:900;cursor:pointer}
.home-language-toggle button.is-active{color:#160f25;background:#f6dd88}
.home-language-toggle button:focus-visible{outline:2px solid #90eadc;outline-offset:-3px}
.hero{margin-top:0}
.hero h1{font-size:72px!important;letter-spacing:0}
.hero h1 span{display:block}
.hero-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:30px}
.primary-button,.secondary-button{display:inline-flex;align-items:center;justify-content:center;padding:0 18px;text-decoration:none}
.board-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-bottom:13px}
.board-head b{color:#f6df89;font-size:13px}
.featured-card{display:flex;flex-direction:column;gap:16px;padding:18px}
.featured-card h2{font-size:36px!important;letter-spacing:0}
.section{margin-top:0;padding:22px 0;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;backdrop-filter:none}
.section-title h2{font-size:36px;letter-spacing:0}
.project-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:18px}
.project-card{padding:18px}
.project-card h3{font-size:20px;letter-spacing:0}
.footer{align-items:center;padding:2px 4px 0;border-top:1px solid rgba(247,239,217,.14);padding-top:18px}
#footerNote{color:rgba(247,239,217,.82)!important}
@media(max-width:980px){
  .hero h1{font-size:56px!important}
  .project-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:560px){
  .page{width:min(100% - 22px,1180px);padding:12px 0 28px}
  .topbar{align-items:flex-start;flex-direction:column}
  .nav{width:100%;justify-content:space-between}
  .hero h1{font-size:42px!important}
  .hero-copy{padding:26px 20px}
  .hero-board{padding:16px}
  .hero-board:before{height:210px}
  .project-grid{grid-template-columns:1fr}
  .section-title h2{font-size:30px}
  .featured-card h2{font-size:30px!important}
  .footer{flex-direction:column;align-items:flex-start}
}
/* Featured product alchemy seals */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.module-list {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  width: min(100%, 436px);
  margin: 24px auto 20px;
  padding: 0;
  list-style: none;
}

.module-seal {
  position: relative;
  display: grid;
  grid-template-rows: 52px auto;
  place-content: center;
  justify-items: center;
  width: 136px;
  flex: 0 0 136px;
  aspect-ratio: 1;
  overflow: hidden;
  border: 1px solid rgba(246, 221, 136, 0.34);
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 42%, rgba(144, 234, 220, 0.07), transparent 45%),
    rgba(255, 255, 255, 0.035);
  box-shadow:
    inset 0 0 0 5px rgba(255, 255, 255, 0.018),
    inset 0 0 28px rgba(246, 221, 136, 0.035);
  color: #fff8e7;
  transition: border-color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.module-seal::before,
.module-seal::after {
  content: "";
  position: absolute;
  pointer-events: none;
  border-radius: 50%;
}

.module-seal::before {
  inset: 7px;
  border: 1px dashed rgba(246, 221, 136, 0.14);
}

.module-seal::after {
  width: 4px;
  height: 4px;
  top: 8px;
  left: 50%;
  margin-left: -2px;
  background: #90eadc;
  box-shadow: 0 112px 0 rgba(246, 221, 136, 0.55);
}

.module-seal:hover {
  transform: translateY(-2px);
  border-color: rgba(246, 221, 136, 0.58);
  background-color: rgba(246, 221, 136, 0.035);
}

.module-seal__icon {
  display: block;
  width: 46px;
  height: 46px;
  object-fit: contain;
}

.module-seal__label {
  display: grid;
  gap: 1px;
  width: 108px;
  max-height: 38px;
  overflow: hidden;
  color: rgba(255, 248, 231, 0.9);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.32;
  text-align: center;
}

.module-seal__line {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

html[lang="en-US"] .module-seal__label {
  width: 112px;
  font-size: 12px;
  line-height: 1.35;
}

@media (max-width: 560px) {
  .module-list {
    gap: 12px;
    width: min(100%, 244px);
    margin-top: 20px;
  }

  .module-seal {
    grid-template-rows: 48px auto;
    width: 116px;
    flex-basis: 116px;
  }

  .module-seal::after {
    box-shadow: 0 92px 0 rgba(246, 221, 136, 0.55);
  }

  .module-seal__icon {
    width: 42px;
    height: 42px;
  }

  .module-seal__label {
    width: 94px;
    font-size: 13px;
  }

  html[lang="en-US"] .module-seal__label {
    width: 98px;
    font-size: 11px;
  }
}

@media (max-width: 340px) {
  .hero-board {
    padding: 10px;
  }

  .featured-card {
    padding: 12px;
  }

  .module-list {
    gap: 8px;
    width: min(100%, 232px);
  }

  .module-seal {
    width: 112px;
    flex-basis: 112px;
  }

  .module-seal::after {
    box-shadow: 0 88px 0 rgba(246, 221, 136, 0.55);
  }
}

@media (prefers-reduced-motion: reduce) {
  .module-seal {
    transition: none;
  }

  .module-seal:hover {
    transform: none;
  }
}
