:root { color-scheme: light dark; --bg: #ffffff; --bg-start: #ffffff; --bg-end: #d0e9fd; --text: #1d1d1f; --muted: #6e6e73; --link: #0066cc; --card-bg: #ffffff; --card-border: #e5e5ea; --card-hover-bg: #f5f5f7; --card-hover-border: #d2d2d7; }
@media (prefers-color-scheme: dark) { :root { --bg: #1c1c1e; --bg-start: #1c1c1e; --bg-end: #0e2440; --text: #f5f5f7; --muted: #aeaeb2; --link: #0a84ff; --card-bg: #2c2c2e; --card-border: #3a3a3c; --card-hover-bg: #38383a; --card-hover-border: #48484a; } }
html, body { margin: 0; }
body { font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", sans-serif; -webkit-font-smoothing: antialiased; font-size: 17px; line-height: 1.5; font-weight: 400; padding: 24px; min-height: 100vh; color: var(--text); background-image: linear-gradient(var(--bg-start), var(--bg-end)); background-repeat: no-repeat; background-size: cover; }
h1 { font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", sans-serif; font-size: 28pt; font-weight: 480; letter-spacing: -0.02em; line-height: 1.15; margin: 8px 0 8px; color: var(--text); text-align: center; }
p { font-weight: 400; text-align: center;}
.tutorial { position: relative; display: block; width: 100%; max-width: 1440px; margin: 0 auto; }
.tutorial img { display: block; width: 100%; height: 100%; }
@keyframes hotspot-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(52,199,89,0.7); } 50% { box-shadow: 0 0 0 8px rgba(52,199,89,0); } }
.hotspot { position: absolute; border: 3px solid transparent; border-radius: 6px; box-sizing: border-box; cursor: pointer; transition: background-color 0.15s, border-color 0.15s; }
.hotspot:hover { border-color: #34c759; background-color: rgba(52,199,89,0.18); animation: hotspot-pulse 1.2s ease-out infinite; }
.hotspot.topmost:hover, .hotspot.topmost.active { background-color: transparent; }
.hotspot.active { background-color: rgba(52,199,89,0.18); }
.hotspot.nofill:hover, .hotspot.nofill.active { background-color: transparent; }
@media (prefers-reduced-motion: reduce) { .hotspot:hover { animation: none; } }
.caption { margin: 14px auto; height: 4.5em; font-size: 13pt; font-weight: 400; line-height: 1.5; color: var(--text); text-align: center; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; }
.caption .title { font-weight: 500; }
a.home { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 14px; text-decoration: none; color: var(--link); font-size: 15pt; font-weight: 500; }
a.home img { width: 48px; height: 48px; flex-shrink: 0; }
a.home:hover img { opacity: 0.8; }
a.home:hover { text-decoration: underline; }
a.up { display: inline-block; margin-bottom: 8px; text-decoration: none; color: var(--link); font-size: 13pt; font-weight: 500; }
a.up:hover { text-decoration: underline; }
.top-link-row { max-width: 1280px; margin: 0 auto; }
.top-link-row.narrow { max-width: 960px; }
.main-subtitle { margin: 0 auto 20px; font-size: 17pt; font-weight: 400; line-height: 1.35; color: var(--muted); letter-spacing: -0.01em; max-width: 760px; text-align: center; }
.split { display: flex; gap: 28px; align-items: flex-start; max-width: 1280px; margin: 20px auto 0; }
.split .split-cards { flex: 1 1 0; min-width: 0; }
.split .split-text { flex: 1 1 0; min-width: 0; }
.split .split-cards .tutorials-list { margin: 0; max-width: none; }
.split .split-text p { text-align: left; max-width: none; margin: 0 0 14px; }
@media (max-width: 899px) { .split { flex-direction: column; gap: 20px; } }
.main-paragraphs { max-width: 960px; margin: 0 auto 20px; }
.main-paragraphs p { text-align: left; max-width: none; margin: 0 0 14px; }
.tutorials-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; max-width: 1280px; margin: 20px auto 0; }
@media (max-width: 899px) { .tutorials-list { grid-template-columns: minmax(0, 1fr); } }
a.tutorial-card { display: flex; align-items: center; gap: 20px; padding: 12px 16px; background: var(--card-bg); border: 1px solid var(--card-border); border-radius: 10px; text-decoration: none; color: inherit; transition: background-color 0.15s, border-color 0.15s; }
a.tutorial-card:hover { background-color: var(--card-hover-bg); border-color: var(--card-hover-border); }
.tutorial-card .thumb { width: 240px; height: 150px; object-fit: cover; border-radius: 6px; box-shadow: 0 1px 3px rgba(0,0,0,0.08); flex-shrink: 0; background: var(--card-bg); }
.tutorial-card .card-title { font-size: 15pt; font-weight: 500; letter-spacing: -0.01em; color: var(--link); min-width: 0; }
a.items-index-link { display: block; width: fit-content; margin: 0 auto 18px; padding: 8px 14px; border: 1px solid var(--card-border); border-radius: 8px; text-decoration: none; color: var(--link); font-size: 14pt; font-weight: 500; background: var(--card-bg); transition: background-color 0.15s, border-color 0.15s; }
a.items-index-link:hover { background-color: var(--card-hover-bg); border-color: var(--card-hover-border); }
.letters { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 auto 18px; max-width: 960px; justify-content: center; }
.letters a { display: inline-block; min-width: 28px; padding: 4px 8px; text-align: center; border: 1px solid var(--card-border); border-radius: 6px; text-decoration: none; color: var(--text); font-size: 13pt; font-weight: 500; background: var(--card-bg); transition: background-color 0.15s, border-color 0.15s; }
.letters a:hover { background-color: var(--card-hover-bg); border-color: var(--card-hover-border); }
.items-index { display: flex; flex-direction: column; gap: 28px; max-width: 960px; margin: 8px auto 0; }
.page-section { scroll-margin-top: 12px; }
.page-section h2 { font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", sans-serif; font-size: 20pt; font-weight: 600; letter-spacing: -0.015em; line-height: 1.2; margin: 0 0 10px; color: var(--link); }
.page-section h2 a { color: inherit; text-decoration: none; }
.page-section h2 a:hover { text-decoration: underline; }
.entries { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 2px; }
.entry { scroll-margin-top: 12px; }
a.entry-link { display: block; padding: 8px 12px; border-radius: 8px; text-decoration: none; color: inherit; transition: background-color 0.15s; }
a.entry-link:hover { background-color: var(--card-hover-bg); }
.entry-title { font-size: 14pt; font-weight: 500; color: var(--link); }
.entry-explanation { font-size: 13pt; font-weight: 400; color: var(--muted); margin-left: 8px; }
