.life-game-section { padding-top: 70px; padding-bottom: 78px; }
#life-game-mount { --tg-ink: #243758; --tg-blue: #2447f0; --tg-muted: #596884; --tg-line: #b9c7e1; --tg-lime: #edf38a; --tg-paper: #fffdf5; color: var(--tg-ink); }
.tg-heading { position: relative; padding: 0 220px 29px 0; }
.tg-kicker { margin: 0 0 12px; color: #526489; font: .75rem/1.6 var(--mono); letter-spacing: .9px; }
.tg-heading h2 { margin: 0; max-width: 890px; font: clamp(3.1rem, 5.5vw, 5.1rem)/1.04 var(--serif); letter-spacing: -1.1px; }
.tg-heading h2 span { color: var(--tg-blue); }
.tg-intro { margin: 16px 0 0; color: var(--tg-muted); font-size: .95rem; line-height: 1.7; max-width: 620px; }
.tg-work-link { position: absolute; right: 0; bottom: 34px; display: inline-flex; align-items: center; gap: 17px; min-height: 44px; color: var(--tg-ink); text-decoration: none; font-size: .82rem; border-bottom: 1px solid #95a9d2; }
.tg-work-link:hover { color: var(--tg-blue); border-color: var(--tg-blue); }
.tg-shell { display: grid; grid-template-columns: minmax(0, 1.03fr) minmax(0, 1fr); background: var(--tg-paper); border: 1px solid var(--tg-line); border-radius: 20px; overflow: clip; box-shadow: 0 5px 0 #cbd7ee, 0 18px 42px #293f6c0b; isolation: isolate; }
.tg-map { position: relative; min-width: 0; padding: 25px 24px 18px; background-color: #eaf0fa; background-image: radial-gradient(#afbddb4d .7px, transparent .7px); background-size: 9px 9px; border-right: 1px solid var(--tg-line); }
.tg-passport-head { display: flex; align-items: baseline; justify-content: space-between; gap: 15px; margin-bottom: 12px; }
.tg-passport-head h3, .tg-passport-head strong { margin: 0; font: 400 1.8rem/1.15 var(--serif); letter-spacing: -.3px; }
.tg-passport-head p, .tg-passport-head span { margin: 0; color: #526486; font: .75rem/1.5 var(--mono); }
.tg-progress { display: flex; align-items: center; gap: 13px; margin: 0 0 16px; color: #4c628a; font: .75rem/1.5 var(--mono); }
.tg-progress-track { display: block; height: 6px; border-radius: 20px; overflow: hidden; background: #d6dff0; flex: 1; }
.tg-progress-track > span { display: block; height: 100%; border-radius: inherit; background: var(--tg-blue); }
.tg-route-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.tg-route-card { position: relative; display: flex; flex-direction: column; min-width: 0; padding: 6px 6px 11px; background: #fffef8; border: 1px solid #bcc9e0; border-radius: 8px; text-align: left; color: var(--tg-ink); font: inherit; box-shadow: 2px 3px 0 #cbd5e7; touch-action: manipulation; }
.tg-route-card:hover { border-color: #6e86be; box-shadow: 3px 5px 0 #b7c8e8; }
.tg-route-card[aria-current="true"], .tg-route-card.is-selected { background: #fffdf1; border: 2px solid var(--tg-blue); padding: 5px 5px 10px; box-shadow: 3px 4px 0 #a8bbed; }
.tg-route-photo { display: block; width: 100%; height: auto; aspect-ratio: 2.6 / 1; object-fit: cover; object-position: center 42%; background: #d6deed; border-radius: 3px; margin-bottom: 9px; }
.tg-route-icon { display: grid; place-items: center; width: 31px; height: 31px; margin: 0 0 8px 7px; color: var(--tg-blue); }
.tg-route-card .tg-route-icon { position: absolute; top: 12px; left: 11px; width: 29px; height: 29px; margin: 0; border-radius: 50%; border: 1px solid #2b405c30; background: #fffdf2; box-shadow: 1px 2px 0 #243b602b; }
.tg-card-number { position: absolute; top: 16px; left: 47px; padding: 1px 4px; border-radius: 2px; background: #263958a6; color: white; font: .75rem/1.3 var(--mono); }
.tg-card-body { display: block; width: 100%; }
.tg-route-icon svg { display: block; width: 22px; height: 22px; }
.tg-route-card[data-tg-route="douyin"] .tg-route-photo { object-position: center 22%; }
.tg-route-card[data-tg-route="linkedin"] .tg-route-photo { object-position: center 20%; }
.tg-route-name { display: block; margin: 0 7px; font-size: .84rem; font-weight: 600; line-height: 1.35; overflow-wrap: anywhere; }
.tg-route-note { display: block; margin: 4px 7px 0; color: #5a6983; font-size: .75rem; line-height: 1.45; overflow-wrap: anywhere; }
.tg-stamp { position: absolute; right: 11px; top: 12px; display: grid; place-items: center; width: 31px; height: 31px; padding: 0; border: 1px dashed #66799a; border-radius: 50%; color: #586c8a; background: #fffef5ed; font: .75rem/1 var(--mono); }
.tg-stamp.is-earned { color: #273d19; background: var(--tg-lime); border: 1px solid #899a56; box-shadow: 0 0 0 3px #f5f7c080; }
.tg-map-note { margin: 15px 0 4px; color: #52637f; font-size: .75rem; line-height: 1.6; }
.tg-reset { border: 0; border-bottom: 1px solid #a8b8d6; min-height: 44px; padding: 7px 0; background: transparent; color: #526b98; font-size: .75rem; text-align: left; }
.tg-reset:hover { color: var(--tg-blue); border-color: var(--tg-blue); }
.tg-stage { --tg-accent: #2447f0; --tg-accent-soft: #eef1ff; position: relative; min-width: 0; display: flex; flex-direction: column; padding: 27px 28px 24px; background: var(--tg-paper); }
.tg-shell[data-route="douyin"] .tg-stage { --tg-accent: #ac3649; --tg-accent-soft: #fff0ef; }
.tg-shell[data-route="instagram"] .tg-stage { --tg-accent: #a25526; --tg-accent-soft: #fff0dc; }
.tg-shell[data-route="linkedin"] .tg-stage { --tg-accent: #1e5d85; --tg-accent-soft: #eaf6fc; }
.tg-shell[data-route="math"] .tg-stage { --tg-accent: #3e5b32; --tg-accent-soft: #f1f5df; }
.tg-shell[data-route="dazi"] .tg-stage { --tg-accent: #ad4f26; --tg-accent-soft: #fff1e8; }
.tg-shell[data-route="novel"] .tg-stage { --tg-accent: #2f6688; --tg-accent-soft: #e9f8fc; }
.tg-stage::before { content: ''; display: block; position: absolute; left: 28px; right: 28px; top: 0; height: 3px; background: var(--tg-accent); opacity: .75; }
.tg-stage-head { display: flex; align-items: center; justify-content: space-between; gap: 13px; padding: 0 0 18px; color: #566585; font: .75rem/1.6 var(--mono); letter-spacing: .3px; }
.tg-stage-number { color: var(--tg-accent); }
.tg-stage-domain { font-size: .75rem; padding: 4px 8px; border: 1px solid #b9c5d8; border-radius: 3px; background: #fff; overflow-wrap: anywhere; }
.tg-task-title { margin: 0 0 13px; font: 400 clamp(2.15rem, 3.3vw, 3.25rem)/1.08 var(--serif); letter-spacing: -.5px; }
.tg-task-copy { margin: 0 0 21px; font-size: .84rem; color: #5a6680; line-height: 1.8; }
.tg-task { min-width: 0; width: 100%; }
.tg-feedback { min-height: 44px; margin: 16px 0 11px; font-size: .78rem; color: var(--tg-accent); line-height: 1.65; }
.tg-feedback.is-error, .tg-feedback.is-retry { color: #a22f3b; }
.tg-feedback.is-success { color: #3d653a; }
.tg-task-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-top: auto; padding-top: 8px; }
.tg-button, .tg-link { display: inline-flex; align-items: center; justify-content: center; gap: 15px; min-height: 46px; padding: 11px 17px; border: 1px solid #9cacc9; border-radius: 5px; background: #fff; color: var(--tg-ink); font: .8rem/1.45 var(--sans); text-decoration: none; text-align: center; touch-action: manipulation; overflow-wrap: anywhere; }
.tg-button:hover { background: #edf2ff; border-color: #6985b9; }
.tg-button.tg-start, .tg-task-actions > .tg-button:first-child { color: white; border-color: var(--tg-blue); background: var(--tg-blue); box-shadow: 2px 3px 0 #bac8ed; }
.tg-button.tg-start:hover, .tg-task-actions > .tg-button:first-child:hover { background: #1836c5; }
.tg-link { color: white; background: var(--tg-blue); border-color: var(--tg-blue); box-shadow: 2px 3px 0 #bac8ed; justify-content: space-between; }
.tg-link:hover { background: #1836c5; border-color: #1836c5; }
.tg-link.tg-skip { padding: 9px 0; background: transparent; box-shadow: none; color: #526486; border: 0; text-decoration: underline; text-underline-offset: 5px; font-size: .75rem; justify-content: flex-start; }
.tg-link.tg-skip:hover { color: var(--tg-blue); }
.tg-welcome { display: flex; flex-direction: column; height: 100%; }
.tg-welcome-art { position: relative; min-height: 225px; height: 245px; margin: 2px 0 22px; }
.tg-welcome-art::before { content: '✳'; position: absolute; right: 4%; top: 7%; color: var(--tg-blue); font: 4.1rem/1 var(--serif); }
.tg-welcome-photo { position: absolute; margin: 0; width: 52%; max-width: 220px; top: 0; left: 4%; padding: 7px 7px 24px; background: white; border: 1px solid #aabbd7; box-shadow: 4px 6px 0 #d2def2; transform: rotate(-7deg); }
.tg-welcome-photo img { display: block; width: 100%; aspect-ratio: 4 / 4.5; object-fit: cover; object-position: center 40%; }
.tg-welcome-photo figcaption { position: absolute; left: 8px; bottom: 4px; color: #586a85; font: .75rem/1.4 var(--mono); }
.tg-welcome-photo:nth-child(2) { left: 42%; top: 28px; transform: rotate(8deg); }
.tg-welcome-photo:nth-child(2) img { object-position: center 42%; }
.tg-welcome-doodle { position: absolute; right: 2%; bottom: 0; color: #7a95c3; font: 3.5rem/1 var(--serif); transform: rotate(-12deg); }
.tg-welcome-copy { padding-top: 7px; }
.tg-welcome-copy h3 { font: 400 clamp(2.1rem, 3.2vw, 3rem)/1.1 var(--serif); margin: 0 0 14px; }
.tg-welcome-copy p { color: #586780; font-size: .85rem; line-height: 1.8; margin: 0 0 20px; }
.tg-welcome .tg-start { align-self: flex-start; margin-top: auto; }
.tg-beat-pattern { display: flex; align-items: center; justify-content: center; gap: 9px; padding: 14px 12px; margin-bottom: 17px; background: #f0f2f8; border: 1px solid #d2daea; border-radius: 7px; }
.tg-beat-note { display: grid; place-items: center; flex: 1; width: 36px; max-width: 54px; min-height: 45px; border-radius: 5px; background: white; border: 1px solid #c1cee3; color: #526488; font: 1.4rem/1 var(--serif); }
.tg-beat-note.is-next { border: 2px solid var(--tg-accent); color: var(--tg-accent); box-shadow: 0 2px 0 var(--tg-accent-soft); }
.tg-beat-note.is-hit { background: var(--tg-lime); color: #314129; border-color: #8d9d56; }
.tg-beat-note { gap: 4px; padding: 9px 3px; }
.tg-beat-note small { font: .75rem/1.4 var(--sans); }
.tg-beat-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; }
.tg-beat-pad { display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; gap: 19px; min-height: 109px; padding: 15px; border: 1px solid #b9c7df; border-radius: 9px; background: #eaf0fd; color: #2c446e; text-align: left; box-shadow: 0 4px 0 #c5d2e8; font-size: .82rem; touch-action: manipulation; }
.tg-beat-pad:nth-child(2) { background: #f9e8ed; border-color: #dcb9c5; box-shadow: 0 4px 0 #e3c1cb; color: #8a354b; }
.tg-beat-pad:nth-child(3) { background: #f1f6c7; border-color: #bac689; box-shadow: 0 4px 0 #d4dfaa; color: #53612c; }
.tg-beat-pad:nth-child(4) { background: #fff0da; border-color: #dcc296; box-shadow: 0 4px 0 #e8d3b2; color: #835c2b; }
.tg-beat-pad > span:first-child { display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid currentColor; border-radius: 50%; font: 1.25rem/1 var(--serif); }
.tg-beat-pad:hover { border-color: currentColor; }
.tg-beat-pad:active { box-shadow: 0 1px 0 #bac8dd; }
.tg-beat-count { margin: 16px 0 0; color: #586983; text-align: center; font: .75rem/1.6 var(--mono); }
.tg-photo-puzzle { display: flex; align-items: flex-start; gap: 15px; }
.tg-photo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; width: 100%; max-width: 300px; aspect-ratio: 1; padding: 5px; background: #fff; border: 1px solid #adbedb; border-radius: 5px; box-shadow: 3px 4px 0 #d0daf0; }
.tg-photo-tile { position: relative; display: block; width: 100%; height: 100%; min-width: 44px; min-height: 44px; overflow: hidden; padding: 0; border: 2px solid transparent; background: #e6edf5; border-radius: 1px; aspect-ratio: 1; touch-action: manipulation; }
.tg-photo-fragment { display: block; position: absolute; inset: 0; background-repeat: no-repeat; }
.tg-photo-fragment img { position: absolute; display: block; width: 200%; height: 200%; max-width: none; object-fit: cover; }
.tg-photo-tile:hover { border-color: var(--tg-blue); }
.tg-photo-tile.is-upright { border-color: #b5cb72; }
.tg-photo-position { position: absolute; bottom: 5px; left: 5px; display: grid; place-items: center; width: 24px; height: 24px; color: #26364c; background: #fffef4e6; font: .75rem/1 var(--mono); border-radius: 50%; }
.tg-photo-reference { flex: 0 0 29%; max-width: 112px; margin: 8px 0 0; padding: 5px 5px 8px; border: 1px solid #c4c7d4; background: white; box-shadow: 2px 3px 0 #dbe0ec; }
.tg-photo-reference img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; }
.tg-photo-reference figcaption { font-size: .75rem; color: #53617b; line-height: 1.5; margin: 6px 0 0; }
.tg-choice-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.tg-choice-card { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; min-width: 0; min-height: 143px; padding: 15px 13px; border: 1px solid #c2ccdd; border-radius: 8px; background: #fff; color: #2d3c56; text-align: left; box-shadow: 0 3px 0 #e2e5ed; touch-action: manipulation; }
.tg-card-icon { display: grid; place-items: center; width: 33px; height: 33px; border-radius: 50%; background: var(--tg-accent-soft); color: var(--tg-accent); font: 1.2rem/1 var(--serif); }
.tg-card-icon svg { width: 20px; height: 20px; }
.tg-choice-card strong { font-size: .84rem; line-height: 1.45; font-weight: 500; }
.tg-choice-card small { font-size: .75rem; color: #5c6a81; line-height: 1.55; }
.tg-choice-card:hover { border-color: var(--tg-accent); }
.tg-choice-card.is-selected, .tg-choice-card[aria-pressed="true"] { border: 2px solid var(--tg-accent); padding: 14px 12px; background: var(--tg-accent-soft); box-shadow: 0 3px 0 #d7deec; }
.tg-dazi-table { position: relative; display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 90px; padding: 15px 20px; margin-bottom: 17px; border: 1px solid #ddbd9d; border-radius: 50px; background: #fcdfbb; box-shadow: 0 5px 0 #e4cbae; }
.tg-dazi-table::before { content: '☕'; display: grid; place-items: center; flex: 0 0 32px; font-size: 1.65rem; }
.tg-seat { display: grid; place-items: center; min-width: 0; flex: 1; min-height: 47px; padding: 7px 9px; border: 1px dashed #b2784a; border-radius: 5px; background: #fffbf1; color: #75492e; text-align: center; font-size: .75rem; line-height: 1.5; }
.tg-seat.is-filled { border-style: solid; background: #fffdf4; }
.tg-table-camera { display: grid; place-items: center; flex: 0 0 26px; width: 26px; height: 26px; color: #8d552f; }
.tg-table-camera svg { display: block; width: 26px; height: 26px; }
.tg-card-invitation { font-size: .75rem; color: #875332; line-height: 1.5; }
.tg-shell[data-route="dazi"] .tg-choice-card { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 7px; min-height: 118px; padding: 12px; }
.tg-shell[data-route="dazi"] .tg-choice-card.is-selected { padding: 11px; }
.tg-shell[data-route="dazi"] .tg-card-icon { width: 28px; height: 28px; }
.tg-shell[data-route="dazi"] .tg-choice-card strong { align-self: center; }
.tg-shell[data-route="dazi"] .tg-choice-card :is(small, .tg-card-invitation) { grid-column: 1 / -1; }
.tg-scales { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 15px; margin: 10px 0 24px; padding: 22px 11px 17px; border-bottom: 5px solid #7f956b; }
.tg-scales::before { content: ''; position: absolute; left: calc(50% - 2px); top: 0; bottom: -7px; width: 4px; background: #839b70; }
.tg-scales::after { content: ''; position: absolute; left: calc(50% - 14px); top: -9px; width: 28px; height: 28px; border: 4px solid #82986e; border-radius: 50%; background: var(--tg-paper); }
.tg-balance-mark { position: absolute; left: calc(50% - 14px); top: 65px; display: grid; place-items: center; width: 28px; height: 32px; background: var(--tg-paper); color: #60774d; font: 1.7rem/1 var(--serif); }
.tg-scales.is-balanced .tg-balance-mark { background: #e4ec92; border-radius: 4px; }
.tg-scale-side { display: flex; flex-direction: column; min-width: 0; align-items: center; justify-content: space-between; gap: 13px; padding: 18px 8px 0; color: #4c623e; text-align: center; }
.tg-scale-side > span:first-child, .tg-scale-side > small { font: .75rem/1.5 var(--mono); }
.tg-scale-number { font: 3.4rem/1 var(--serif); }
.tg-scale-tray { width: 100%; min-height: 53px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px; padding: 8px 4px; border: 1px solid #a5b395; border-bottom: 4px solid #829b71; border-radius: 5px 5px 22px 22px; background: #eef3dc; font-size: .75rem; }
.tg-scale-tray span { padding: 3px 6px; border: 1px solid #b3bc94; border-radius: 3px; background: #f9fbe9; }
.tg-weight-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.tg-weight { position: relative; display: flex; flex-direction: column; align-items: center; gap: 5px; min-height: 72px; min-width: 0; padding: 13px 5px 10px; color: #4d6240; border: 1px solid #a4b290; border-radius: 6px; background: #f3f5e5; box-shadow: 0 3px 0 #d5dfc2; font: 2.1rem/1.1 var(--serif); touch-action: manipulation; }
.tg-weight strong { font-weight: 400; }
.tg-weight small { font: .75rem/1.4 var(--sans); }
.tg-weight.is-selected, .tg-weight[aria-pressed="true"] { background: #e4ec92; border: 2px solid #6b814e; box-shadow: 0 3px 0 #b5c875; }
.tg-weight:hover { border-color: #607a43; }
.tg-book-shelf { display: flex; align-items: flex-start; gap: 20px; padding: 17px 0 22px; border-bottom: 5px solid #bed9e6; margin-bottom: 20px; }
.tg-book-thumb { display: block; width: 29%; max-width: 135px; height: auto; aspect-ratio: 3 / 4; object-fit: cover; border: 1px solid #9ab4c3; box-shadow: 4px 5px 0 #d8e6ec; }
.tg-book-shelf > div { flex: 1; min-width: 0; }
.tg-title-caption { margin: 0 0 11px; color: #5a7183; font: .75rem/1.5 var(--mono); }
.tg-title-slots { flex: 1; min-width: 0; display: flex; flex-wrap: wrap; align-content: flex-start; align-items: flex-start; gap: 7px; }
.tg-word-slot { display: inline-flex; align-items: center; justify-content: center; min-width: 47px; min-height: 44px; padding: 8px 11px; background: #edf7fc; border: 1px dashed #93b8cc; border-radius: 4px; color: #356681; font-size: .82rem; line-height: 1.5; }
button.tg-word-slot { border-style: solid; background: white; }
.tg-word-bank { display: flex; flex-wrap: wrap; gap: 10px; }
.tg-word { flex: 1 0 auto; min-height: 47px; padding: 10px 13px; border: 1px solid #a1bbc9; border-radius: 5px; background: #f5fcff; color: #2f5a72; box-shadow: 0 3px 0 #d1e3ec; font-size: .87rem; touch-action: manipulation; }
.tg-word:hover { border-color: #51809a; }
.tg-word:disabled { color: #687d87; background: #e7eef2; border-color: #c2d0d8; box-shadow: none; cursor: default; }
.tg-word > span, .tg-word-slot > span { margin-left: 7px; color: #648498; }
.tg-new-tab-note, .tg-puzzle-note { margin: 12px 0 0; color: #596882; font-size: .75rem; line-height: 1.6; }
.tg-reward { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.tg-reward-image { position: relative; margin: 1px 0 20px; padding: 7px 7px 20px; width: 100%; background: white; border: 1px solid #aabbd2; box-shadow: 4px 5px 0 #d4dfef; }
.tg-reward-image img { display: block; width: 100%; height: auto; aspect-ratio: 1.95 / 1; object-fit: cover; object-position: center 42%; border-radius: 2px; }
.tg-shell[data-route="douyin"] .tg-reward-image img { object-position: center 22%; }
.tg-shell[data-route="linkedin"] .tg-reward-image img { object-position: center 20%; }
.tg-reward-image figcaption { position: absolute; bottom: 3px; left: 8px; color: #536783; font: .75rem/1.4 var(--mono); }
.tg-reward-stamp { position: absolute; top: 15px; right: 15px; display: grid; place-items: center; width: 37px; height: 37px; border: 2px solid #718748; border-radius: 50%; background: #f1f5b4; color: #436335; font: 1.25rem/1 var(--serif); box-shadow: 0 0 0 3px #fffdf599; transform: rotate(-9deg); }
.tg-shell[data-route="dazi"] .tg-reward-image img, .tg-shell[data-route="novel"] .tg-reward-image img { object-fit: contain; background: var(--tg-accent-soft); }
.tg-reward-copy { min-width: 0; }
.tg-eyebrow { color: var(--tg-accent); margin: 0 0 9px; font: .75rem/1.6 var(--mono); letter-spacing: .6px; }
.tg-reward-copy h3 { margin: 0 0 12px; font: 400 clamp(2.15rem, 3.4vw, 3.25rem)/1.07 var(--serif); letter-spacing: -.5px; }
.tg-reward-copy p { margin: 0 0 15px; color: #58677f; font-size: .83rem; line-height: 1.8; }
.tg-destination { display: flex; align-items: center; gap: 8px; padding: 9px 0 13px; margin-bottom: 4px; color: var(--tg-accent); font: .75rem/1.6 var(--mono); overflow-wrap: anywhere; }
.tg-reward-links { display: flex; flex-wrap: wrap; align-items: center; gap: 11px 15px; padding-bottom: 19px; }
.tg-reward-links .tg-link { width: 100%; }
.tg-reward-links .tg-button { font-size: .75rem; background: transparent; border: 0; padding: 8px 0; text-decoration: underline; text-underline-offset: 5px; }
.tg-project-link { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 0; color: #526486; border: 0; background: transparent; font: .75rem/1.5 var(--sans); text-decoration: underline; text-underline-offset: 5px; }
.tg-project-link:hover { color: var(--tg-blue); }
.tg-related { padding-top: 15px; margin-top: auto; border-top: 1px solid #d6deea; }
.tg-related > p { margin: 0 0 7px; color: #596984; font: .75rem/1.6 var(--mono); }
.tg-related ul { padding: 0; margin: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 9px 17px; }
.tg-related a { display: inline-flex; align-items: center; min-height: 44px; color: #415d92; font-size: .75rem; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.tg-related a:hover { color: var(--tg-blue); }
.tg-related > a { margin-right: 15px; }
#life-game-mount [hidden] { display: none !important; }
#life-game-mount :is(a, button):focus-visible { outline: 3px solid var(--tg-blue); outline-offset: 4px; }
#life-game-mount :is(button, a)[aria-disabled="true"] { cursor: default; }
.tg-game-status, .lg-game-status { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; padding: 0; margin: -1px; }
html[lang="zh-CN"] .tg-heading h2 { font-size: clamp(2.5rem, 4.25vw, 4.15rem); line-height: 1.25; letter-spacing: -1.2px; }
html[lang="zh-CN"] :is(.tg-task-title, .tg-reward-copy h3, .tg-welcome-copy h3) { font-size: clamp(1.8rem, 2.8vw, 2.65rem); line-height: 1.35; letter-spacing: -.6px; }
html[lang="zh-CN"] :is(.tg-task-copy, .tg-reward-copy p, .tg-welcome-copy p) { line-height: 1.9; }
@media (prefers-reduced-motion: no-preference) {
  html.motion-enabled .tg-progress-track > span { transition: width .35s ease; }
  html.motion-enabled :is(.tg-route-card, .tg-button, .tg-link, .tg-beat-pad, .tg-choice-card, .tg-weight, .tg-word) { transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, border-color .18s ease; }
  html.motion-enabled .tg-route-card:hover { transform: translateY(-3px) rotate(-.5deg); }
  html.motion-enabled .tg-route-card:nth-child(even):hover { transform: translateY(-3px) rotate(.5deg); }
  html.motion-enabled .tg-route-card[aria-current="true"] { transform: translateY(-2px); }
  html.motion-enabled .tg-beat-pad:active { transform: translateY(3px); }
  html.motion-enabled :is(.tg-choice-card, .tg-weight, .tg-word):active { transform: translateY(2px); }
  html.motion-enabled .tg-reward.is-fresh { animation: tg-reward-in .3s ease-out both; }
  html.motion-enabled .tg-stamp.is-fresh { animation: tg-stamp-in .28s ease-out both; }
  html.motion-enabled .tg-photo-fragment { transition: transform .22s ease; }
  html.motion-enabled .tg-welcome-art::before { animation: tg-spark-turn 10s linear infinite; }
  @keyframes tg-reward-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
  @keyframes tg-stamp-in { from { opacity: 0; scale: 1.5; } to { opacity: 1; scale: 1; } }
  @keyframes tg-spark-turn { to { rotate: 360deg; } }
}
@media (max-width: 1100px) {
  .tg-heading { padding-right: 180px; }
  .tg-shell { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); }
  .tg-map { padding: 23px 18px 17px; }
  .tg-stage { padding: 25px 23px 23px; }
  .tg-route-list { gap: 10px; }
  .tg-route-name { font-size: .8rem; }
  .tg-photo-puzzle { gap: 10px; }
  .tg-photo-reference { flex-basis: 26%; }
  .tg-choice-card { padding: 13px 11px; min-height: 139px; }
  .tg-choice-card.is-selected, .tg-choice-card[aria-pressed="true"] { padding: 12px 10px; }
  .tg-welcome-art { height: 225px; min-height: 215px; }
  .tg-welcome-photo { width: 55%; }
  .tg-welcome-photo:nth-child(2) { left: 40%; }
}
@media (min-width: 801px) {
  .tg-reward-image img { height: 160px; aspect-ratio: auto; }
  .tg-reward-image { margin-bottom: 16px; padding-bottom: 13px; }
  .tg-reward-copy h3 { font-size: clamp(2rem, 3vw, 2.7rem); }
  .tg-related { padding-top: 9px; }
}
@media (max-width: 800px) {
  .life-game-section { padding-top: 54px; padding-bottom: 63px; }
  .tg-heading { padding: 0 0 25px; }
  .tg-heading h2 { font-size: clamp(2.9rem, 7vw, 4rem); }
  .tg-work-link { position: static; margin-top: 14px; font-size: .78rem; }
  .tg-kicker { letter-spacing: .65px; }
  .tg-intro { max-width: 580px; font-size: .87rem; margin-top: 13px; }
  .tg-shell { grid-template-columns: 1fr; border-radius: 15px; }
  .tg-map { border-right: 0; border-bottom: 1px solid var(--tg-line); padding: 22px 21px 16px; }
  .tg-passport-head { margin-bottom: 11px; }
  .tg-passport-head h3, .tg-passport-head strong { font-size: 1.7rem; }
  .tg-route-list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 11px; }
  .tg-route-photo { aspect-ratio: 2 / 1; }
  .tg-route-name { font-size: .79rem; margin: 0 4px; }
  .tg-route-note { margin: 4px 4px 0; }
  .tg-map-note { margin-top: 13px; }
  .tg-stage { padding: 26px 25px; min-height: 520px; }
  .tg-stage::before { left: 25px; right: 25px; }
  .tg-task-title { font-size: 2.8rem; }
  .tg-task-copy { max-width: 520px; }
  .tg-task { max-width: 560px; }
  .tg-task-actions { margin-top: 5px; }
  .tg-photo-grid { max-width: 340px; }
  .tg-photo-reference { flex-basis: 26%; max-width: 145px; }
  .tg-choice-card { min-height: 145px; }
  .tg-welcome { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-content: center; column-gap: 26px; }
  .tg-welcome-art { height: 245px; min-height: 235px; margin-bottom: 15px; }
  .tg-welcome-copy { align-self: center; }
  .tg-welcome .tg-start { grid-column: 2; align-self: start; justify-self: start; }
  .tg-reward { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1fr); gap: 24px; align-content: start; }
  .tg-reward-image { align-self: start; margin-top: 4px; }
  .tg-reward-image img { aspect-ratio: 4 / 5; }
  .tg-related { grid-column: 1 / -1; }
  html[lang="zh-CN"] .tg-heading h2 { font-size: clamp(2.45rem, 6vw, 3.3rem); }
  html[lang="zh-CN"] :is(.tg-task-title, .tg-reward-copy h3, .tg-welcome-copy h3) { font-size: 2.2rem; }
}
@media (max-width: 540px) {
  .tg-heading h2 { font-size: 3rem; }
  .tg-map { padding: 19px 15px 14px; }
  .tg-route-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .tg-route-photo { aspect-ratio: 2.5 / 1; margin-bottom: 8px; }
  .tg-route-name { font-size: .8rem; }
  .tg-stamp { top: 10px; right: 9px; width: 27px; height: 27px; }
  .tg-route-card .tg-route-icon { top: 10px; left: 9px; width: 26px; height: 26px; }
  .tg-card-number { top: 13px; left: 39px; }
  .tg-route-icon svg { width: 19px; height: 19px; }
  .tg-stage { padding: 25px 21px 24px; min-height: 500px; }
  .tg-stage::before { left: 21px; right: 21px; }
  .tg-stage-head { gap: 9px; padding-bottom: 17px; }
  .tg-stage-domain { padding: 4px 6px; }
  .tg-task-title { font-size: 2.55rem; }
  .tg-task-copy { font-size: .82rem; margin-bottom: 19px; }
  .tg-welcome { display: flex; }
  .tg-welcome-art { height: 245px; min-height: 230px; max-width: 350px; width: 100%; margin-bottom: 23px; }
  .tg-welcome-photo { width: 53%; left: 4%; }
  .tg-welcome-photo:nth-child(2) { left: 41%; top: 25px; }
  .tg-welcome .tg-start { align-self: flex-start; margin-top: 5px; }
  .tg-beat-pattern { gap: 6px; padding: 12px 9px; }
  .tg-beat-note { min-height: 40px; font-size: 1.25rem; }
  .tg-beat-pad { min-height: 105px; padding: 14px; font-size: .8rem; }
  .tg-photo-puzzle { gap: 11px; }
  .tg-photo-grid { max-width: none; flex: 1; }
  .tg-photo-reference { flex-basis: 26%; padding: 4px; }
  .tg-photo-position { bottom: 3px; left: 3px; }
  .tg-choice-card { min-height: 134px; gap: 8px; }
  .tg-choice-card strong { font-size: .8rem; }
  .tg-dazi-table { padding: 13px 14px; gap: 7px; min-height: 86px; }
  .tg-dazi-table::before { flex-basis: 24px; font-size: 1.35rem; }
  .tg-seat { padding: 6px 7px; }
  .tg-scales { gap: 12px; padding: 19px 4px 15px; }
  .tg-scale-number { font-size: 3rem; }
  .tg-weight { min-height: 66px; font-size: 1.9rem; }
  .tg-book-shelf { gap: 15px; }
  .tg-book-thumb { width: 30%; }
  .tg-word-slot { padding: 7px 8px; min-width: 40px; font-size: .8rem; }
  .tg-word { font-size: .82rem; padding: 10px 11px; }
  .tg-feedback { font-size: .76rem; }
  .tg-task-actions { gap: 10px 13px; }
  .tg-button, .tg-link { font-size: .8rem; padding: 11px 14px; }
  .tg-reward { display: flex; gap: 0; }
  .tg-reward-image { margin-bottom: 21px; }
  .tg-reward-image img { aspect-ratio: 1.5 / 1; }
  .tg-reward-copy h3 { font-size: 2.55rem; }
  .tg-reward-copy p { font-size: .82rem; }
  .tg-related { margin-top: 0; }
  html[lang="zh-CN"] .tg-heading h2 { font-size: 2.5rem; letter-spacing: -1px; }
  html[lang="zh-CN"] :is(.tg-task-title, .tg-reward-copy h3, .tg-welcome-copy h3) { font-size: 1.95rem; }
}
@media (max-width: 360px) {
  .tg-map { padding-left: 11px; padding-right: 11px; }
  .tg-route-list { gap: 8px; }
  .tg-route-name { font-size: .77rem; }
  .tg-stage { padding-left: 16px; padding-right: 16px; }
  .tg-stage-head { flex-wrap: wrap; gap: 6px; }
  .tg-stage-domain { max-width: 100%; }
  .tg-choice-grid { gap: 8px; }
  .tg-choice-card { padding: 12px 9px; }
  .tg-choice-card.is-selected, .tg-choice-card[aria-pressed="true"] { padding: 11px 8px; }
  .tg-photo-puzzle { flex-direction: column; }
  .tg-photo-reference { display: flex; align-items: center; gap: 7px; max-width: none; width: 100%; margin-top: 0; }
  .tg-photo-reference img { width: 48px; }
  .tg-photo-reference figcaption { margin: 0; }
  .tg-weight-row { gap: 5px; }
  .tg-weight { font-size: 1.65rem; }
  .tg-book-shelf { gap: 11px; }
  .tg-word-bank { gap: 8px; }
  .tg-welcome-art { height: 220px; min-height: 220px; }
  .tg-welcome-photo { padding: 6px 6px 19px; }
  html[lang="zh-CN"] .tg-heading h2 { font-size: 2.2rem; }
}
@media (prefers-reduced-motion: reduce) {
  #life-game-mount *, #life-game-mount *::before, #life-game-mount *::after { animation: none !important; transition: none !important; }
}
@media print { .life-game-section { display: none; } }
