:root {
    --meat-cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'%3E%3Cpath d='M20.6 4.9c-2.8.1-5.2 1.2-7.5 3.4-1.4 1.4-2.3 2.9-2.8 4.5-.7.2-1.5.7-2.1 1.3-1.6 1.6-1.6 4.2 0 5.7.6.6 1.4 1 2.2 1.2.6 1.5 1.6 2.9 3 4.1 2.7 2.3 5.7 3.2 9 2.6 4-.7 7.2-4.2 7.7-8.2.6-4.8-1.8-9.5-6.1-12-1-.6-2.3-1-3.4-1-.1-.6-.6-1.2-1.1-1.6-.8-.5-1.9-.5-2.7 0-.6.4-1 .9-1.1 1.6.4-.1.8-.1 1.2-.1 1.4 0 2.7.2 3.7.5z' fill='%23c24b4c'/%3E%3Cpath d='M23.3 8.3c-2.1-1.2-4.8-1.7-7.2-1.2-2.4.5-4.7 1.9-6.1 4-1.3 1.9-1.7 4.4-1 6.6.7 2.2 2.4 4.3 4.8 5.7 2.3 1.3 5.2 1.9 7.8 1.3 3.2-.8 5.7-3.8 6.1-7.1.5-3.8-1.4-7.5-4.4-9.3z' fill='%23e26d63'/%3E%3Cellipse cx='17.5' cy='15.6' rx='6.1' ry='4.8' fill='%23f3aa91'/%3E%3Cpath d='M6.3 14.8c-.7 0-1.4.3-1.8.8-1 1-1 2.6 0 3.6.5.5 1.1.8 1.8.8h2.2v-5.2H6.3z' fill='%23f2eee7'/%3E%3Ccircle cx='4.7' cy='16.6' r='1.8' fill='%23fffaf3'/%3E%3C/svg%3E") 4 4;
    --meat-cursor-pointer: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'%3E%3Cpath d='M20.6 4.9c-2.8.1-5.2 1.2-7.5 3.4-1.4 1.4-2.3 2.9-2.8 4.5-.7.2-1.5.7-2.1 1.3-1.6 1.6-1.6 4.2 0 5.7.6.6 1.4 1 2.2 1.2.6 1.5 1.6 2.9 3 4.1 2.7 2.3 5.7 3.2 9 2.6 4-.7 7.2-4.2 7.7-8.2.6-4.8-1.8-9.5-6.1-12-1-.6-2.3-1-3.4-1-.1-.6-.6-1.2-1.1-1.6-.8-.5-1.9-.5-2.7 0-.6.4-1 .9-1.1 1.6.4-.1.8-.1 1.2-.1 1.4 0 2.7.2 3.7.5z' fill='%23c24b4c'/%3E%3Cpath d='M23.3 8.3c-2.1-1.2-4.8-1.7-7.2-1.2-2.4.5-4.7 1.9-6.1 4-1.3 1.9-1.7 4.4-1 6.6.7 2.2 2.4 4.3 4.8 5.7 2.3 1.3 5.2 1.9 7.8 1.3 3.2-.8 5.7-3.8 6.1-7.1.5-3.8-1.4-7.5-4.4-9.3z' fill='%23e26d63'/%3E%3Cellipse cx='17.5' cy='15.6' rx='6.1' ry='4.8' fill='%23f3aa91'/%3E%3Cpath d='M6.3 14.8c-.7 0-1.4.3-1.8.8-1 1-1 2.6 0 3.6.5.5 1.1.8 1.8.8h2.2v-5.2H6.3z' fill='%23f2eee7'/%3E%3Ccircle cx='4.7' cy='16.6' r='1.8' fill='%23fffaf3'/%3E%3C/svg%3E") 4 4;
}

body {
    margin: 0;
    padding: 32px;
    font-family: "Hannari", serif;
    background:
    radial-gradient(circle at top left, #f8d9a0 0%, transparent 28%),
    linear-gradient(135deg, #f4efe6 0%, #dfe8df 100%);
    color: #243028;
    min-height: 100vh;
    cursor: var(--meat-cursor), auto;
}

a,
button,
summary,
select,
label {
    cursor: var(--meat-cursor-pointer), pointer;
}

.page-shell {
    max-width: 1040px;
    margin: 0 auto;
}

.desktop-only {
    display: block;
}

.mobile-only {
    display: none;
}

.hero {
    margin-bottom: 28px;
    padding: 36px;
    border-radius: 24px;
    background: #1f3d30;
    color: #f7f4ee;
    box-shadow: 0 22px 45px rgba(31, 61, 48, 0.18);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(17, 29, 24, 0.82), rgba(33, 62, 50, 0.58));
    transform: scale(1.03);
    z-index: 0;
}

.hero::after {
    content: "";
    position: absolute;
    inset: auto -40px -70px auto;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: rgba(248, 217, 160, 0.18);
    z-index: 1;
}

.hero > * {
    position: relative;
    z-index: 2;
}

.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.03);
    z-index: 0;
}

.hero-kicker {
    display: inline-block;
    margin-bottom: 14px;
    padding: 6px 12px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 999px;
    font-size: 13px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: rgba(255, 255, 255, 0.08);
}

.hero-title-row {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}
.github-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.08);
    color: inherit;
    font-size: 14px;
    font-family: inherit;
    text-decoration: none;
    transition: background 0.18s, border-color 0.18s;
    white-space: nowrap;
}
.github-btn:hover {
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.4);
}
.github-btn svg {
    flex-shrink: 0;
}

.hero h1 {
    margin: 0;
    font-size: clamp(41px, 6vw, 65px);
    line-height: 1.08;
    letter-spacing: 0.03em;
}

.language-link {
    display: inline-flex;
    align-items: center;
    margin-top: 18px;
    padding: 10px 14px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 999px;
    color: #f7f4ee;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.08);
    transition: background-color 0.2s ease;
}

.language-link:hover {
    background: rgba(255, 255, 255, 0.16);
}

.hero-link-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 18px;
}

.hero-link-row .language-link {
    margin-top: 0;
}

.hero p {
    margin: 14px 0 0;
    max-width: 700px;
    font-size: 18px;
    line-height: 1.7;
    color: rgba(247, 244, 238, 0.88);
}

.hero-device-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.hero-device-chip {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.08);
    color: #f7f4ee;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.quick-nav {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 28px;
}

.quick-nav a {
    display: block;
    padding: 16px 18px;
    border-radius: 18px;
    border: 1px solid rgba(36, 48, 40, 0.08);
    background: rgba(249, 249, 246, 0.82);
    color: #243028;
    text-decoration: none;
    font-weight: 700;
    box-shadow: 0 14px 28px rgba(36, 48, 40, 0.08);
}

.quick-nav a span {
    display: block;
    margin-top: 6px;
    font-size: 13px;
    font-weight: 500;
    color: #5a665d;
}

.hero-typing-overlay {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background:
    radial-gradient(circle at center, rgba(15, 27, 62, 0.42) 0%, rgba(4, 8, 22, 0.78) 42%, rgba(4, 8, 22, 0.96) 100%);
    backdrop-filter: blur(8px);
    z-index: 20;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.hero-typing-overlay.is-hidden {
    opacity: 0;
    visibility: hidden;
}

.hero-typing {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 96px;
    max-width: min(92vw, 980px);
    padding: 26px 34px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(6, 10, 26, 0.52);
    color: #dff4ff;
    font-size: clamp(28px, 5vw, 72px);
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    box-shadow:
    inset 0 0 18px rgba(126, 216, 255, 0.08),
    0 0 48px rgba(126, 216, 255, 0.14);
    text-shadow: 0 0 20px rgba(126, 216, 255, 0.24);
}

.hero-typing-text {
    white-space: nowrap;
}

.hero-typing-cursor {
    display: inline-block;
    width: 0.7ch;
    margin-left: 6px;
    color: #7ed8ff;
    animation: heroCursorBlink 0.9s steps(1) infinite;
}

@keyframes heroCursorBlink {
    0%,
    45% {
    opacity: 1;
    }
    46%,
    100% {
    opacity: 0;
    }
}

#materials {
    margin: 0;
    padding: 28px;
    background: rgba(249, 249, 246, 0.86);
    border: 1px solid rgba(36, 48, 40, 0.08);
    border-radius: 24px;
    box-shadow: 0 18px 40px rgba(36, 48, 40, 0.1);
    backdrop-filter: blur(10px);
}

.content-card {
    margin-top: 28px;
    padding: 28px;
    background: rgba(249, 249, 246, 0.86);
    border: 1px solid rgba(36, 48, 40, 0.08);
    border-radius: 24px;
    box-shadow: 0 18px 40px rgba(36, 48, 40, 0.1);
    backdrop-filter: blur(10px);
}

.overview-toggle {
    margin-top: 28px;
    padding: 0;
    overflow: hidden;
}

.overview-toggle summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 24px 28px;
    cursor: var(--meat-cursor-pointer), pointer;
    list-style: none;
    font-size: 22px;
    font-weight: 700;
    color: #1f3d30;
}

.overview-toggle summary::-webkit-details-marker {
    display: none;
}

.overview-toggle summary::after {
    content: "+";
    flex-shrink: 0;
    font-size: 28px;
    line-height: 1;
    color: #1c6a52;
}

.overview-toggle[open] summary::after {
    content: "-";
}

.overview-body {
    padding: 0 28px 28px;
}

.overview-body p {
    margin: 0 0 16px;
    line-height: 1.7;
}

.overview-video {
    width: 100%;
    border-radius: 18px;
    border: 1px solid #d7ddd7;
    background: #111;
    box-shadow: 0 14px 28px rgba(36, 48, 40, 0.12);
}

#materials h2 {
    margin: 0 0 10px;
    font-size: 28px;
}

.content-card h2 {
    margin: 0 0 10px;
    font-size: 28px;
}

.section-heading {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 10px;
}

.section-heading h2 {
    margin: 0;
}

.section-link {
    display: inline-flex;
    align-items: center;
    padding: 12px 18px;
    border: 1px solid rgba(28, 106, 82, 0.2);
    border-radius: 999px;
    color: #1c6a52;
    text-decoration: none;
    font-size: 16px;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.8);
    transition: background-color 0.2s ease;
}

.section-link:hover {
    background: #edf3ee;
}

.schedule-intro {
    margin: 0 0 24px;
    line-height: 1.7;
}

.schedule-layout {
    display: grid;
    gap: 24px;
    grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.9fr);
    align-items: start;
}

.calendar-stack {
    display: grid;
    gap: 20px;
}

.calendar-panel {
    padding: 22px;
    border: 1px solid #d7ddd7;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.86);
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 16px;
}

.calendar-header h3,
.schedule-list h3 {
    margin: 0;
    font-size: 22px;
    color: #1f3d30;
}

.calendar-caption {
    margin: 0;
    font-size: 14px;
    color: #5a665d;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 10px;
}

.calendar-weekday,
.calendar-day {
    border-radius: 16px;
}

.calendar-weekday {
    padding: 10px 6px;
    text-align: center;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #5a665d;
    background: #edf3ee;
}

.calendar-day {
    min-height: 94px;
    padding: 12px;
    border: 1px solid #d7ddd7;
    background: #f9fbf8;
    box-sizing: border-box;
}

.calendar-day.muted {
    background: rgba(239, 242, 239, 0.72);
    color: #8a968e;
}

.calendar-day.event-day {
    border-color: #7ca38f;
    background: linear-gradient(180deg, #eef7f1 0%, #dcecdf 100%);
    box-shadow: inset 0 0 0 1px rgba(28, 106, 82, 0.08);
}

.calendar-date {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-weight: 700;
    color: #1f3d30;
    background: rgba(255, 255, 255, 0.84);
}

.event-day .calendar-date {
    background: #1c6a52;
    color: #f6f7f3;
}

.calendar-event {
    margin: 10px 0 0;
    font-size: 13px;
    line-height: 1.45;
    color: #294237;
}

.schedule-list {
    display: grid;
    gap: 14px;
}

.schedule-card {
    padding: 18px;
    border: 1px solid #d7ddd7;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.86);
}

.schedule-date {
    display: inline-block;
    margin-bottom: 8px;
    padding: 4px 10px;
    border-radius: 999px;
    background: #edf3ee;
    color: #1c6a52;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.schedule-card h4 {
    margin: 0 0 8px;
    font-size: 18px;
    color: #1f3d30;
}

.schedule-card p {
    margin: 0;
    line-height: 1.7;
}

.schedule-agenda {
    margin: 0;
    padding-left: 22px;
}

.schedule-agenda li {
    margin-bottom: 10px;
    line-height: 1.7;
}

.schedule-agenda li:last-child {
    margin-bottom: 0;
}

.schedule-time {
    margin-top: 10px;
    color: #1c6a52;
    font-weight: 700;
}

.schedule-note {
    margin: 4px 0 0;
    font-size: 13px;
    line-height: 1.6;
    color: #5a665d;
}

.schedule-subnote {
    margin: 4px 0 0;
    font-size: 13px;
    line-height: 1.6;
    color: #5a665d;
}

.mentor-grid {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.mentor-card {
    padding: 20px;
    border: 1px solid #d7ddd7;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.86);
}

.mentor-card h3 {
    margin: 0 0 8px;
    font-size: 22px;
    color: #1f3d30;
}

.mentor-role {
    margin: 0 0 10px;
    font-size: 14px;
    font-weight: 700;
    color: #1c6a52;
}

.mentor-affiliation {
    margin: 0 0 10px;
    font-size: 14px;
    font-weight: 700;
    color: #5a665d;
}

.mentor-origin {
    margin: 0 0 10px;
    font-size: 14px;
    font-weight: 700;
    color: #5a665d;
}

.mentor-card p {
    margin: 0;
    line-height: 1.7;
}

.schedule-location {
    margin-top: 10px;
    color: #b42318;
    font-size: 19px;
    font-weight: 700;
    text-decoration: underline;
}

.design-selector {
    margin-top: 22px;
    display: grid;
    gap: 16px;
}

.design-selector label {
    font-weight: 700;
    color: #1f3d30;
}

.design-selector select {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #bcc8bf;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.92);
    font-size: 15px;
    box-sizing: border-box;
}

.design-preview {
    display: grid;
    gap: 12px;
    padding: 18px;
    border: 1px solid #d7ddd7;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.82);
}

.design-preview h3 {
    margin: 0;
    font-size: 22px;
    color: #1f3d30;
}

.design-preview p {
    margin: 0;
    line-height: 1.7;
}

.design-meta {
    display: grid;
    gap: 8px;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.design-meta-item {
    padding: 12px 14px;
    border-radius: 14px;
    background: #edf3ee;
}

.design-meta-label {
    display: block;
    margin-bottom: 4px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #5a665d;
}

.steps-list {
    margin: 22px 0 0;
    padding-left: 24px;
}

.steps-list li {
    margin-bottom: 18px;
    line-height: 1.7;
}

.step-title {
    display: block;
    margin-bottom: 4px;
    font-weight: 700;
    color: #1f3d30;
}

.coding-block {
    margin-top: 22px;
    padding: 18px;
    border: 1px solid #d7ddd7;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.78);
}

.coding-block h3 {
    margin: 0 0 8px;
    font-size: 20px;
    color: #1f3d30;
}

.coding-block p {
    margin: 0 0 12px;
    line-height: 1.7;
}

.coding-block pre {
    margin: 0;
    padding: 16px;
    overflow-x: auto;
    border-radius: 14px;
    background: #1f2421;
    color: #f4f6f2;
    font-size: 14px;
    line-height: 1.6;
}

.coding-block code {
    font-family: Consolas, "Courier New", monospace;
}

.motor-control-block {
    display: grid;
    gap: 18px;
}

.motor-intro {
    display: grid;
    gap: 16px;
    grid-template-columns: minmax(0, 1.45fr) minmax(240px, 0.95fr);
    align-items: start;
}

.motor-intro-copy p:last-child,
.motor-flow p:last-child,
.motor-points li:last-child {
    margin-bottom: 0;
}

.motor-summary-card,
.motor-formula-card,
.motor-flow {
    padding: 18px;
    border: 1px solid #d7ddd7;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.72);
}

.motor-summary-card h4,
.motor-formula-card h4,
.motor-flow h4 {
    margin: 0 0 10px;
    font-size: 16px;
    color: #1f3d30;
}

.motor-summary-card p,
.motor-formula-card p,
.motor-flow p {
    margin: 0 0 10px;
    line-height: 1.7;
}

.motor-points {
    margin: 0;
    padding-left: 20px;
}

.motor-points li {
    margin-bottom: 10px;
    line-height: 1.7;
}

.motor-formula {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 14px 16px;
    box-sizing: border-box;
    border-radius: 14px;
    background: #edf3ee;
    color: #1c6a52;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 0.03em;
}

.motor-formula-note {
    font-size: 14px;
    color: #5a665d;
}

.motor-callout {
    display: inline-flex;
    align-items: center;
    margin-bottom: 12px;
    padding: 5px 10px;
    border-radius: 999px;
    background: #edf3ee;
    color: #1c6a52;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.coding-column {
    margin-top: 18px;
    border: 1px solid #d7ddd7;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.82);
    overflow: hidden;
}

.coding-column summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 18px 20px;
    cursor: var(--meat-cursor-pointer), pointer;
    list-style: none;
    font-size: 18px;
    font-weight: 700;
    color: #1f3d30;
}

.coding-column summary::-webkit-details-marker {
    display: none;
}

.coding-column summary::after {
    content: "+";
    flex-shrink: 0;
    font-size: 24px;
    line-height: 1;
    color: #1c6a52;
}

.coding-column[open] summary::after {
    content: "-";
}

.coding-column-body {
    padding: 0 20px 20px;
}

.coding-column-body p {
    margin: 0 0 12px;
    line-height: 1.7;
}

.coding-column-body p:last-child {
    margin-bottom: 0;
}

.setup-panel {
    padding: 18px;
    border: 1px solid #d7ddd7;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.82);
}

.setup-panel h3 {
    margin: 0 0 8px;
    font-size: 20px;
    color: #1f3d30;
}

.setup-panel p {
    margin: 0;
    line-height: 1.7;
}

.document-frame {
    margin-top: 20px;
    border: 1px solid #d7ddd7;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.86);
    overflow: hidden;
}

.document-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin-top: 18px;
}

.document-card h3 {
    margin: 0 0 12px;
    font-size: 22px;
    color: #1f3d30;
}

.document-frame embed {
    display: block;
    width: 100%;
    height: 720px;
    border: none;
    background: #f4f6f2;
}

.document-link {
    display: inline-flex;
    align-items: center;
    margin-top: 16px;
    padding: 12px 18px;
    border: 1px solid rgba(28, 106, 82, 0.2);
    border-radius: 999px;
    color: #1c6a52;
    text-decoration: none;
    font-size: 15px;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.82);
}

.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    padding: 12px 22px;
    border: 1px solid rgba(28, 106, 82, 0.3);
    border-radius: 999px;
    color: #fff;
    text-decoration: none;
    font-size: 15px;
    font-weight: 700;
    background: linear-gradient(135deg, #1f7a58, #2ea87a);
    box-shadow: 0 4px 14px rgba(31, 122, 88, 0.28);
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.download-btn::before {
    content: "↓";
    font-size: 17px;
}

.download-btn:hover {
    background: linear-gradient(135deg, #176649, #25966c);
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(31, 122, 88, 0.38);
}

.mobile-dock {
    position: fixed;
    left: 14px;
    right: 14px;
    bottom: 14px;
    display: none;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    padding: 10px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(7, 14, 32, 0.9);
    backdrop-filter: blur(12px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.34);
    z-index: 15;
}

.mobile-dock a {
    display: grid;
    place-items: center;
    min-height: 48px;
    padding: 8px 6px;
    border-radius: 14px;
    text-align: center;
    color: #dff4ff;
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.25;
    background: rgba(255, 255, 255, 0.05);
}

.teams-image-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: 16px;
}

.teams-image-card {
    margin: 0;
    padding: 12px;
    border: 1px solid #d7ddd7;
    border-radius: 16px;
    background: rgba(248, 250, 248, 0.92);
}

.teams-image-card img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 12px;
    border: 1px solid #d7ddd7;
    background: #fff;
}

.teams-image-card figcaption {
    margin-top: 10px;
    font-size: 14px;
    line-height: 1.6;
    color: #516056;
}

.form-row {
    display: grid;
    gap: 8px;
}

.form-row label {
    font-weight: 700;
    color: #1f3d30;
}

#materials table {
    width: 100%;
    margin-top: 22px;
    border-collapse: collapse;
    background: rgba(255, 255, 255, 0.9);
    overflow: hidden;
    border-radius: 16px;
}

#materials th,
#materials td {
    border: 1px solid #d7ddd7;
    padding: 14px;
    text-align: left;
    vertical-align: top;
}

#materials th {
    background-color: #e8eee7;
}

#materials a {
    color: #1c6a52;
    text-decoration: none;
    font-weight: 600;
}

#materials a:hover {
    text-decoration: underline;
}

#materials select {
    width: 100%;
    padding: 10px 12px;
    font-size: 15px;
    border: 1px solid #bbb;
    border-radius: 8px;
    background-color: #fff;
}

#assembly{
    & dl{
        display:grid;
        grid-template-columns: 3fr 5fr;
        & dt{
            padding:16px;
            & img{
            max-width:100%;
            }
        }
        & dd{
            margin:0;
            padding:8px;
            border-left:1px solid white;
            margin-bottom:8px;
        }
    }
}

.microcontroller-note {
    margin: 8px 0 0;
    font-size: 14px;
    line-height: 1.5;
    color: #555;
}

.part-role {
    margin: 6px 0 0;
    font-size: 13px;
    line-height: 1.5;
    color: #5a665d;
}

.optional-badge {
    display: inline-block;
    margin-left: 8px;
    padding: 2px 8px;
    border-radius: 999px;
    background: #e6f1eb;
    color: #1c6a52;
    font-size: 12px;
    font-weight: 700;
    vertical-align: middle;
}

.tire-preview-wrap {
    display: grid;
    gap: 10px;
}

.tire-note {
    margin: 8px 0 0;
    font-size: 14px;
    line-height: 1.5;
    color: #555;
}

.tire-preview {
    width: 100%;
    max-width: 220px;
    border: 1px solid #d7ddd7;
    border-radius: 14px;
    background: linear-gradient(180deg, #f8faf8 0%, #edf2ed 100%);
    padding: 8px;
    box-sizing: border-box;
}

.tire-caption {
    margin: 0;
    font-size: 13px;
    color: #516056;
}

@media (max-width: 720px) {
    body {
    padding: 16px 16px 92px;
    }

    .desktop-only {
    display: none;
    }

    .mobile-only {
    display: block;
    }

    .hero,
    #materials,
    .content-card {
    padding: 20px;
    border-radius: 20px;
    }

    .hero p {
    font-size: 16px;
    }

    .hero-link-row,
    .hero-device-row {
    gap: 10px;
    }

    .hero-link-row .language-link,
    .section-link,
    .document-link {
    width: 100%;
    justify-content: center;
    box-sizing: border-box;
    }

    .section-heading {
    align-items: stretch;
    }

    .section-heading h2 {
    width: 100%;
    }

    .schedule-layout {
    grid-template-columns: 1fr;
    }

    .calendar-grid {
    gap: 8px;
    }

    .motor-intro {
    grid-template-columns: 1fr;
    }

    .teams-image-grid {
    grid-template-columns: 1fr;
    }

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

    .document-frame embed {
    height: 420px;
    }

    .calendar-day {
    min-height: 78px;
    padding: 10px;
    }

    .calendar-event {
    font-size: 12px;
    }

    #materials table,
    #materials thead,
    #materials tbody,
    #materials tr,
    #materials th,
    #materials td {
    display: block;
    }

    #materials thead {
    display: none;
    }

    #materials tr {
    margin-bottom: 14px;
    border: 1px solid #d7ddd7;
    border-radius: 14px;
    overflow: hidden;
    }

    #materials td {
    border: none;
    border-bottom: 1px solid #d7ddd7;
    }

    #materials td:last-child {
    border-bottom: none;
    }

    .mobile-dock {
    display: grid;
    }
}

:root {
    --space-bg-1: #040816;
    --space-bg-2: #0a1330;
    --space-bg-3: #12204b;
    --space-panel: rgba(10, 18, 44, 0.84);
    --space-panel-strong: rgba(15, 27, 62, 0.94);
    --space-line: rgba(126, 216, 255, 0.2);
    --space-line-strong: rgba(145, 196, 255, 0.42);
    --space-text: #edf4ff;
    --space-soft: #aebce0;
    --space-accent: #7ed8ff;
    --space-accent-2: #8d7cff;
    --space-accent-3: #5effd5;
    --space-warn: #ffbc7a;
}

body {
    font-family: "Hannari", serif;
    background:
    radial-gradient(circle at 18% 14%, rgba(126, 216, 255, 0.18) 0%, transparent 18%),
    radial-gradient(circle at 82% 20%, rgba(141, 124, 255, 0.16) 0%, transparent 22%),
    radial-gradient(circle at 70% 76%, rgba(94, 255, 213, 0.1) 0%, transparent 20%),
    linear-gradient(160deg, var(--space-bg-1) 0%, var(--space-bg-2) 52%, var(--space-bg-3) 100%);
    color: var(--space-text);
    position: relative;
    overflow-x: hidden;
}

body::before,
body::after {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -1;
}

body::before {
    background-image:
    radial-gradient(circle at 10% 18%, rgba(255, 255, 255, 0.9) 0 1px, transparent 1.5px),
    radial-gradient(circle at 24% 64%, rgba(126, 216, 255, 0.95) 0 1px, transparent 1.6px),
    radial-gradient(circle at 42% 30%, rgba(255, 255, 255, 0.75) 0 1px, transparent 1.5px),
    radial-gradient(circle at 63% 52%, rgba(94, 255, 213, 0.7) 0 1px, transparent 1.6px),
    radial-gradient(circle at 80% 24%, rgba(141, 124, 255, 0.92) 0 1px, transparent 1.7px),
    radial-gradient(circle at 90% 74%, rgba(255, 255, 255, 0.72) 0 1px, transparent 1.6px);
    opacity: 0.8;
}

body::after {
    background:
    linear-gradient(rgba(126, 216, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(126, 216, 255, 0.05) 1px, transparent 1px);
    background-size: 32px 32px;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.4), transparent 88%);
    opacity: 0.28;
}

.hero,
.content-card,
#materials,
.calendar-panel,
.schedule-card,
.mentor-card,
.design-preview,
.motor-summary-card,
.motor-formula-card,
.motor-flow,
.coding-block,
.coding-column,
.setup-panel,
.document-frame,
.teams-image-card {
    background: linear-gradient(180deg, rgba(10, 18, 44, 0.9), rgba(8, 14, 34, 0.84));
    border-color: var(--space-line);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.38);
    color: var(--space-text);
}

.content-card,
#materials {
    position: relative;
}

.content-card::before,
#materials::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, rgba(126, 216, 255, 0.22), transparent 42%, rgba(141, 124, 255, 0.18));
    mask:
        linear-gradient(#000 0 0) content-box,
        linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.hero {
    background: linear-gradient(145deg, rgba(6, 14, 38, 0.96), rgba(18, 34, 82, 0.88));
    border-color: rgba(126, 216, 255, 0.2);
}

.hero::before {
    background: linear-gradient(135deg, rgba(3, 8, 22, 0.92), rgba(17, 34, 86, 0.52));
}

.hero::after {
    inset: auto -70px -70px auto;
    width: 260px;
    height: 260px;
    background: radial-gradient(circle, rgba(126, 216, 255, 0.28) 0%, rgba(126, 216, 255, 0.06) 48%, transparent 72%);
    filter: blur(4px);
}

/* セクションごとの色変化 */
#schedule.content-card {
    background: linear-gradient(160deg, rgba(2, 14, 58, 0.96), rgba(6, 24, 52, 0.90));
    border-color: transparent;
    box-shadow: 0 0 0 1.5px rgba(126, 216, 255, 0.6), 0 0 32px rgba(126, 216, 255, 0.18), 0 24px 60px rgba(0,0,0,0.4);
}
#schedule.content-card::before {
    background: linear-gradient(135deg, rgba(126, 216, 255, 0.55), transparent 50%, rgba(126, 216, 255, 0.25));
}
#preface.content-card {
    background: linear-gradient(160deg, rgba(22, 6, 54, 0.96), rgba(16, 8, 44, 0.90));
    border-color: transparent;
    box-shadow: 0 0 0 1.5px rgba(196, 184, 255, 0.6), 0 0 32px rgba(196, 184, 255, 0.18), 0 24px 60px rgba(0,0,0,0.4);
}
#preface.content-card::before {
    background: linear-gradient(135deg, rgba(196, 184, 255, 0.55), transparent 50%, rgba(141, 124, 255, 0.25));
}
#teams-guide.content-card {
    background: linear-gradient(160deg, rgba(18, 4, 58, 0.96), rgba(14, 6, 48, 0.90));
    border-color: transparent;
    box-shadow: 0 0 0 1.5px rgba(141, 124, 255, 0.65), 0 0 32px rgba(141, 124, 255, 0.2), 0 24px 60px rgba(0,0,0,0.4);
}
#teams-guide.content-card::before {
    background: linear-gradient(135deg, rgba(141, 124, 255, 0.55), transparent 50%, rgba(196, 184, 255, 0.25));
}
#mentors.content-card {
    background: linear-gradient(160deg, rgba(2, 30, 42, 0.96), rgba(4, 22, 36, 0.90));
    border-color: transparent;
    box-shadow: 0 0 0 1.5px rgba(94, 255, 213, 0.55), 0 0 32px rgba(94, 255, 213, 0.18), 0 24px 60px rgba(0,0,0,0.4);
}
#mentors.content-card::before {
    background: linear-gradient(135deg, rgba(94, 255, 213, 0.5), transparent 50%, rgba(94, 255, 213, 0.2));
}
#overview {
    background: linear-gradient(160deg, rgba(36, 16, 6, 0.96), rgba(28, 12, 4, 0.90));
    border-color: transparent;
    box-shadow: 0 0 0 1.5px rgba(255, 188, 122, 0.6), 0 0 32px rgba(255, 188, 122, 0.18), 0 24px 60px rgba(0,0,0,0.4);
}
#overview::before {
    background: linear-gradient(135deg, rgba(255, 188, 122, 0.5), transparent 50%, rgba(255, 160, 80, 0.22));
}
#materials {
    background: linear-gradient(160deg, rgba(2, 28, 50, 0.96), rgba(4, 20, 40, 0.90));
    border-color: transparent;
    box-shadow: 0 0 0 1.5px rgba(94, 255, 213, 0.5), 0 0 32px rgba(94, 255, 213, 0.15), 0 24px 60px rgba(0,0,0,0.4);
}
#materials::before {
    background: linear-gradient(135deg, rgba(94, 255, 213, 0.45), transparent 50%, rgba(126, 216, 255, 0.2));
}
#design.content-card {
    background: linear-gradient(160deg, rgba(26, 4, 54, 0.96), rgba(20, 4, 44, 0.90));
    border-color: transparent;
    box-shadow: 0 0 0 1.5px rgba(184, 124, 255, 0.65), 0 0 32px rgba(184, 124, 255, 0.2), 0 24px 60px rgba(0,0,0,0.4);
}
#design.content-card::before {
    background: linear-gradient(135deg, rgba(184, 124, 255, 0.55), transparent 50%, rgba(141, 124, 255, 0.25));
}
#assembly.content-card {
    background: linear-gradient(160deg, rgba(2, 34, 36, 0.96), rgba(2, 26, 28, 0.90));
    border-color: transparent;
    box-shadow: 0 0 0 1.5px rgba(94, 255, 213, 0.6), 0 0 32px rgba(94, 255, 213, 0.2), 0 24px 60px rgba(0,0,0,0.4);
}
#assembly.content-card::before {
    background: linear-gradient(135deg, rgba(94, 255, 213, 0.55), transparent 50%, rgba(94, 255, 213, 0.2));
}
#setup.content-card {
    background: linear-gradient(160deg, rgba(2, 36, 28, 0.96), rgba(2, 28, 20, 0.90));
    border-color: transparent;
    box-shadow: 0 0 0 1.5px rgba(80, 255, 160, 0.6), 0 0 32px rgba(80, 255, 160, 0.18), 0 24px 60px rgba(0,0,0,0.4);
}
#setup.content-card::before {
    background: linear-gradient(135deg, rgba(80, 255, 160, 0.5), transparent 50%, rgba(94, 255, 213, 0.2));
}
#coding.content-card {
    background: linear-gradient(160deg, rgba(2, 8, 32, 0.98), rgba(4, 12, 28, 0.94));
    border-color: transparent;
    box-shadow: 0 0 0 1.5px rgba(126, 216, 255, 0.5), 0 0 32px rgba(126, 216, 255, 0.14), 0 24px 60px rgba(0,0,0,0.5);
}
#coding.content-card::before {
    background: linear-gradient(135deg, rgba(126, 216, 255, 0.45), transparent 50%, rgba(94, 200, 255, 0.2));
}
#documents.content-card {
    background: linear-gradient(160deg, rgba(20, 6, 50, 0.96), rgba(16, 4, 40, 0.90));
    border-color: transparent;
    box-shadow: 0 0 0 1.5px rgba(141, 124, 255, 0.6), 0 0 32px rgba(141, 124, 255, 0.18), 0 24px 60px rgba(0,0,0,0.4);
}
#documents.content-card::before {
    background: linear-gradient(135deg, rgba(141, 124, 255, 0.5), transparent 50%, rgba(184, 124, 255, 0.22));
}

.quick-nav a,
.mobile-dock a {
    border-color: rgba(126, 216, 255, 0.18);
    background: linear-gradient(180deg, rgba(12, 24, 58, 0.88), rgba(9, 18, 44, 0.92));
    color: var(--space-text);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.24);
}

/* ナビボタンをセクション色に合わせる */
.quick-nav a[href="#schedule"],
.mobile-dock a[href="#schedule"] {
    background: linear-gradient(160deg, rgba(2, 14, 58, 0.96), rgba(6, 24, 52, 0.90));
    border-color: transparent;
    box-shadow: 0 0 0 1.5px rgba(126, 216, 255, 0.6), 0 0 18px rgba(126, 216, 255, 0.2), 0 16px 32px rgba(0,0,0,0.3);
}
.quick-nav a[href="#materials"],
.mobile-dock a[href="#materials"] {
    background: linear-gradient(160deg, rgba(2, 28, 50, 0.96), rgba(4, 20, 40, 0.90));
    border-color: transparent;
    box-shadow: 0 0 0 1.5px rgba(94, 255, 213, 0.55), 0 0 18px rgba(94, 255, 213, 0.18), 0 16px 32px rgba(0,0,0,0.3);
}
.quick-nav a[href="#coding"],
.mobile-dock a[href="#coding"] {
    background: linear-gradient(160deg, rgba(2, 8, 32, 0.98), rgba(4, 12, 28, 0.94));
    border-color: transparent;
    box-shadow: 0 0 0 1.5px rgba(126, 216, 255, 0.5), 0 0 18px rgba(126, 216, 255, 0.14), 0 16px 32px rgba(0,0,0,0.3);
}
.quick-nav a[href="#documents"],
.mobile-dock a[href="#documents"] {
    background: linear-gradient(160deg, rgba(20, 6, 50, 0.96), rgba(16, 4, 40, 0.90));
    border-color: transparent;
    box-shadow: 0 0 0 1.5px rgba(141, 124, 255, 0.6), 0 0 18px rgba(141, 124, 255, 0.2), 0 16px 32px rgba(0,0,0,0.3);
}

.quick-nav a span {
    color: var(--space-soft);
}

.hero-device-chip {
    border-color: rgba(126, 216, 255, 0.34);
    background: rgba(13, 26, 68, 0.52);
    color: var(--space-accent);
}

.hero-kicker {
    border-color: rgba(126, 216, 255, 0.34);
    background: rgba(13, 26, 68, 0.52);
    color: var(--space-accent);
    letter-spacing: 0.14em;
}

.hero h1 {
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #000;
    font-weight: 900;
    -webkit-text-stroke: 1px #fff;
    text-shadow: none;
}

.hero p,
.overview-body p,
.coding-block p,
.coding-column-body p,
.setup-panel p,
.schedule-card p,
.design-preview p,
.mentor-card p,
.schedule-note,
.schedule-subnote,
.calendar-caption,
.microcontroller-note,
.part-role,
.tire-note,
.tire-caption,
p,
li {
    color: var(--space-soft);
}

.language-link,
.section-link,
.document-link {
    color: var(--space-text);
    background: linear-gradient(135deg, rgba(17, 36, 91, 0.82), rgba(33, 70, 146, 0.42));
    border-color: rgba(126, 216, 255, 0.25);
    box-shadow: none;
    transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.language-link:hover,
.section-link:hover,
.document-link:hover {
    background: linear-gradient(135deg, rgba(27, 55, 132, 0.92), rgba(66, 118, 255, 0.48));
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(5, 15, 50, 0.32);
}

#materials h2,
.content-card h2,
.section-heading h2,
.calendar-header h3,
.schedule-list h3,
.schedule-card h4,
.mentor-card h3,
.design-preview h3,
.coding-block h3,
.motor-summary-card h4,
.motor-formula-card h4,
.motor-flow h4,
.setup-panel h3,
.design-selector label,
.form-row label,
.step-title,
.overview-toggle summary,
.coding-column summary {
    color: var(--space-text);
}

.overview-toggle summary::after,
.coding-column summary::after,
.schedule-time,
.mentor-role,
.schedule-date,
#materials a,
a {
    color: var(--space-accent);
}

.schedule-date,
.design-meta-item,
.calendar-weekday,
.motor-formula,
.motor-callout,
#materials th {
    background: rgba(255, 255, 255, 0.06);
}

.calendar-panel,
.schedule-card,
.mentor-card,
.design-preview,
.motor-summary-card,
.motor-formula-card,
.motor-flow,
.coding-block,
.coding-column,
.setup-panel,
.document-frame,
.teams-image-card {
    background: rgba(14, 24, 58, 0.82);
}

.calendar-day {
    border-color: rgba(126, 216, 255, 0.14);
    background: rgba(255, 255, 255, 0.03);
}

.calendar-day.muted {
    background: rgba(255, 255, 255, 0.02);
    color: #7080ad;
}

.calendar-day.event-day {
    border-color: rgba(126, 216, 255, 0.46);
    background: linear-gradient(180deg, rgba(19, 41, 100, 0.9) 0%, rgba(27, 66, 121, 0.82) 100%);
    box-shadow: inset 0 0 0 1px rgba(126, 216, 255, 0.12), 0 0 20px rgba(126, 216, 255, 0.08);
}

.calendar-date {
    color: var(--space-text);
    background: rgba(255, 255, 255, 0.08);
}

.event-day .calendar-date {
    background: linear-gradient(135deg, var(--space-accent), var(--space-accent-2));
    color: #071021;
}

.calendar-event {
    color: var(--space-text);
}

.schedule-location {
    color: var(--space-warn);
}

.design-selector select,
#materials select {
    border-color: var(--space-line-strong);
    background: rgba(8, 14, 36, 0.96);
    color: var(--space-text);
}

.design-meta-label,
.mentor-affiliation,
.mentor-origin,
.motor-formula-note,
.teams-image-card figcaption {
    color: var(--space-soft);
}

.motor-formula {
    border: 1px solid rgba(126, 216, 255, 0.18);
    color: var(--space-accent);
}

.motor-callout {
    border: 1px solid rgba(126, 216, 255, 0.18);
    color: var(--space-accent);
}

.coding-block pre {
    background: linear-gradient(180deg, rgba(5, 10, 25, 0.98), rgba(10, 17, 39, 0.98));
    color: #d6e6ff;
    border: 1px solid rgba(126, 216, 255, 0.16);
    box-shadow: inset 0 0 24px rgba(126, 216, 255, 0.04);
}

.coding-block code,
code {
    color: #def1ff;
}

#materials table {
    background: rgba(13, 22, 53, 0.88);
}

#materials th,
#materials td {
    border-color: var(--space-line);
    color: var(--space-text);
}

.optional-badge {
    background: rgba(126, 216, 255, 0.14);
    color: var(--space-accent);
}

/* 見積もり計算機 */
.cost-estimator {
    margin-top: 28px;
    padding: 24px 28px;
    border-radius: 18px;
    background: linear-gradient(160deg, rgba(2, 28, 50, 0.96), rgba(4, 20, 40, 0.90));
    box-shadow: 0 0 0 1.5px rgba(94, 255, 213, 0.5), 0 0 24px rgba(94, 255, 213, 0.12), 0 16px 40px rgba(0,0,0,0.4);
}
.cost-estimator h3 {
    margin: 0 0 18px;
    font-size: 20px;
    color: var(--space-accent-3);
    letter-spacing: 0.04em;
}
.estimator-group {
    margin-bottom: 20px;
}
.estimator-group-title {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--space-soft);
    text-transform: uppercase;
    margin: 0 0 10px;
    padding-bottom: 6px;
    border-bottom: 1px solid rgba(126, 216, 255, 0.12);
}
.estimator-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 7px 0;
    border-bottom: 1px solid rgba(126, 216, 255, 0.07);
    font-size: 14px;
    color: var(--space-text);
}
.estimator-row:last-child { border-bottom: none; }
.estimator-row .est-name { flex: 1; }
.estimator-row .est-price {
    min-width: 90px;
    text-align: right;
    font-variant-numeric: tabular-nums;
    color: var(--space-accent);
}
.estimator-row .est-price.unknown {
    color: var(--space-soft);
    font-size: 12px;
}
.estimator-row input[type="checkbox"] {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    accent-color: var(--space-accent-3);
    cursor: pointer;
}
.estimator-total-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1.5px solid rgba(94, 255, 213, 0.3);
}
.estimator-total-label {
    font-size: 15px;
    color: var(--space-soft);
}
.estimator-total-value {
    font-size: 28px;
    font-weight: 700;
    color: var(--space-accent-3);
    letter-spacing: 0.02em;
}
.estimator-note {
    margin: 10px 0 0;
    font-size: 12px;
    color: var(--space-soft);
    line-height: 1.6;
}
.payment-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.payment-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 14px;
    border-radius: 10px;
    background: rgba(126, 216, 255, 0.06);
    border: 1px solid rgba(126, 216, 255, 0.12);
}
.payment-icon {
    font-size: 20px;
    flex-shrink: 0;
    line-height: 1.4;
}
.payment-name {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: var(--space-text);
}
.payment-note {
    display: block;
    font-size: 12px;
    color: var(--space-soft);
    margin-top: 2px;
}

.tire-preview,
.teams-image-card img,
.overview-video {
    border-color: var(--space-line);
    background: rgba(255, 255, 255, 0.04);
}

.tire-preview {
    background: linear-gradient(180deg, rgba(14, 24, 58, 0.95) 0%, rgba(10, 18, 44, 0.95) 100%);
}

.hero-typing-overlay {
    background:
    radial-gradient(circle at center, rgba(15, 27, 62, 0.42) 0%, rgba(4, 8, 22, 0.78) 42%, rgba(4, 8, 22, 0.96) 100%);
}

.hero-typing {
    border-color: rgba(126, 216, 255, 0.2);
    background: rgba(6, 10, 26, 0.52);
    color: #dff4ff;
    box-shadow:
    inset 0 0 18px rgba(126, 216, 255, 0.08),
    0 0 48px rgba(126, 216, 255, 0.14);
}

.hero-typing-cursor {
    color: var(--space-accent);
}

@media (max-width: 720px) {
    .hero-typing {
    min-height: 78px;
    padding: 20px 22px;
    font-size: clamp(22px, 8vw, 42px);
    letter-spacing: 0.08em;
    }

    .hero-typing-text {
    white-space: normal;
    text-align: center;
    }

    #materials tr {
    border-color: var(--space-line);
    }

    #materials td {
    border-bottom-color: var(--space-line);
    }
}