.github-book-page,.github-book-page *{box-sizing:border-box;margin:0;padding:0}.github-book-page{background:#0e1a26;justify-content:center;align-items:center;width:100%;max-width:100vw;height:100dvh;display:flex;overflow:hidden}.github-book-page .container{width:100%;min-width:0;max-width:100%;height:100%;padding:10px;padding-left:max(10px, env(safe-area-inset-left));padding-right:max(10px, env(safe-area-inset-right));padding-bottom:max(10px, env(safe-area-inset-bottom));justify-content:center;align-items:center;display:flex;overflow:hidden}.github-book-page .pokemon-logo{filter:drop-shadow(2px 2px 4px #0000004d);width:80%;max-width:300px;margin-bottom:20px}.github-book-page .page{pointer-events:none;background:linear-gradient(160deg,#faf8f5 0%,#f5f2ed 50%,#f0ebe5 100%);border-radius:5px;box-shadow:0 4px 8px #00000014,inset 0 1px #fff9}.github-book-page .page:has(.page-content.story-page){background:#eaeaea}.github-book-page .page-content{text-align:center;flex-direction:column;justify-content:center;align-items:center;width:100%;height:100%;padding:20px max(1.25rem,20px);display:flex}.github-book-page .cover{color:#fff;background:linear-gradient(135deg,#e74c3c 0%,#c0392b 100%);font-weight:700}.github-book-page .pokemon-container{flex-direction:column;align-items:center;gap:10px;width:100%;padding:0 5px;display:flex}.github-book-page .pokemon-container img{object-fit:contain;width:70%;max-height:200px;transition:transform .3s}.github-book-page .pokemon-container img:hover{transform:scale(1.05)}.github-book-page .pokemon-info{width:100%}.github-book-page .pokemon-name{color:#2c3e50;margin-bottom:5px;font-size:clamp(1rem,3vw,1.8rem);font-weight:600}.github-book-page .pokemon-number{color:#7f8c8d;margin-bottom:10px;font-size:clamp(.7rem,2vw,1rem)}.github-book-page .pokemon-type{color:#fff;border-radius:20px;margin:0 3px 5px;padding:3px 10px;font-size:clamp(.6rem,1.5vw,.9rem);font-weight:500;display:inline-block}.github-book-page .type-electric{background-color:#f1c40f}.github-book-page .type-ground{background-color:#e67e22}.github-book-page .type-poison{background-color:#9b59b6}.github-book-page .type-fire{background-color:#e74c3c}.github-book-page .type-flying{background-color:#3498db}.github-book-page .type-water{background-color:#2980b9}.github-book-page .type-dark{background-color:#34495e}.github-book-page .type-fighting{background-color:#d35400}.github-book-page .type-steel{background-color:#7f8c8d}.github-book-page .type-rock{background-color:#9a7b4f}.github-book-page .pokemon-description{color:#34495e;margin-top:8px;font-size:14px;line-height:1.4}.github-book-page .demoPage{color:#000;background:#fff}.github-book-page .story-flipbook-wrap,.github-book-page .story-flipbook-wrap *{font-family:Trimaran,system-ui,sans-serif!important}.github-book-page .story-cover{color:#fff;text-shadow:0 1px 3px #00000080;position:relative}.github-book-page .story-cover .story-title{z-index:1;text-align:center;margin:0;padding:1rem;font-size:clamp(1.2rem,4vw,1.8rem);font-weight:600;position:relative}.github-book-page .page.story-cover-page{box-shadow:none;background:0 0}.github-book-page .story-cover-page{justify-content:stretch;align-items:stretch;padding:0;display:flex}.github-book-page .story-cover-mockup{border:none;border-radius:0 8px 8px 0;width:100%;height:100%;position:relative;overflow:hidden;box-shadow:0 2px 4px #0000001a,0 8px 24px #00000026,0 20px 48px #0003,inset 0 1px #ffffff0f}.github-book-page .story-cover-mockup:before{content:"";z-index:1;filter:blur(1px);pointer-events:none;background:linear-gradient(90deg,#000000d9 0%,#000000a6 20%,#0006 50%,#0000002e 100%);border-radius:0;width:22px;position:absolute;top:0;bottom:0;left:0;box-shadow:2px 0 #00000040}.github-book-page .story-cover-mockup .story-illustration{border-radius:inherit}.github-book-page .story-cover-title-overlay{pointer-events:none;z-index:1;justify-content:center;align-items:center;height:40%;padding:.75rem 1rem;display:flex;position:absolute;top:0;left:0;right:0}.github-book-page .story-cover-title-overlay .story-cover-title-img{object-fit:contain;object-position:center;width:auto;max-width:90%;height:auto;max-height:100%}.github-book-page .story-cover-title-overlay .story-cover-title-text{color:#fff;text-shadow:0 1px 2px #000c;text-align:center;margin:0;padding:0 1rem;font-size:clamp(1rem,3vw,1.4rem);font-weight:600;line-height:1.3}.github-book-page .story-dedication-left{box-shadow:inset 0 1px #ffffff80;background:linear-gradient(160deg,#faf8f5 0%,#f5f2ed 50%,#f0ebe5 100%)!important}.github-book-page .story-dedication-blank{background:0 0;width:100%;height:100%}.github-book-page .story-dedication-page{text-align:center;background:0 0;justify-content:center;align-items:center;padding:.75rem 1.25rem;display:flex}.github-book-page .story-cover-with-title{flex-direction:column;justify-content:flex-start;align-items:center;display:flex}.github-book-page .story-cover-with-title .story-cover-title{text-align:center;color:#fff;text-shadow:0 1px 4px #0009;background:linear-gradient(#00000073 0%,#0000 70%);justify-content:center;align-items:center;width:100%;min-height:35%;margin:0;padding:1rem 1.25rem;font-size:clamp(1.1rem,3.5vw,1.6rem);font-weight:600;display:flex}.github-book-page .page.story-page-right .page-content.story-page{-webkit-overflow-scrolling:touch;min-height:0;overflow-y:auto}.github-book-page .story-illustration{background:linear-gradient(145deg,#f0f0f0 0%,#e8e8e8 100%);justify-content:center;align-items:center;width:100%;height:100%;padding:1.5rem;display:flex}.github-book-page .story-illustration-placeholder{color:#7f8c8d;text-align:center;max-width:80%;font-size:.8rem}.github-book-page .story-logo-page .story-logo-wrap{flex-direction:column;justify-content:center;align-items:center;gap:1rem;width:100%;height:100%;padding:2rem;display:flex}.github-book-page .story-logo-svg{flex-shrink:0;width:clamp(80px,35vw,140px);height:auto}.github-book-page .story-logo-img{object-fit:contain;width:auto;max-width:36%;height:auto;max-height:27%}.github-book-page .story-logo-text{color:#5c4a3a;letter-spacing:.02em;text-align:center;max-width:85%;font-size:clamp(.75rem,3vw,1rem);font-weight:600}.github-book-page .story-page{text-align:center;-webkit-overflow-scrolling:touch;background:#eaeaea;justify-content:center;align-items:center;min-height:0;padding:.75rem 1.25rem;overflow:hidden auto}.github-book-page .story-arc-label{letter-spacing:.08em;color:#7f8c8d;margin-bottom:.75rem;font-size:.7rem;font-weight:600}.github-book-page .story-arc-label-affirmation{color:#c0392b}.github-book-page .story-text{color:#2c3e50;overflow-wrap:break-word;word-wrap:break-word;word-break:break-word;width:100%;padding:2.25rem .75rem 2.75rem;font-size:14px;line-height:1.5;position:relative}.github-book-page .story-text:before{content:"";pointer-events:none;background-image:url(/book/middlepiece.svg);background-position:50%;background-repeat:no-repeat;background-size:contain;width:120px;height:24px;position:absolute;top:.25rem;left:50%;transform:translate(-50%)}.github-book-page .story-text:after{content:"";pointer-events:none;background-image:url(/book/middlepiece.svg);background-position:50%;background-repeat:no-repeat;background-size:contain;width:120px;height:24px;position:absolute;bottom:.5rem;left:50%;transform:translate(-50%)rotate(180deg)}.github-book-page .story-text p{margin-bottom:.75rem}.github-book-page .story-text p:last-child{margin-bottom:0}.github-book-page .story-affirmation{color:#2c3e50;margin:0;font-size:1rem;font-weight:600;line-height:1.5}.github-book-page .story-flipbook-wrap{perspective:1600px;flex-direction:column;align-items:center;gap:1.25rem;width:100%;min-width:0;max-width:100%;display:flex;position:relative}.github-book-page .story-flipbook-loading{flex-direction:column;justify-content:center;align-items:center;gap:1rem;width:100%;min-height:280px;display:flex}.github-book-page .story-flipbook-loading-spinner{border:3px solid #ffffff40;border-top-color:#ffffffe6;border-radius:50%;width:40px;height:40px;animation:.8s linear infinite story-flipbook-loading-spin}.github-book-page .story-flipbook-loading-text{color:#ffffffe6;margin:0;font-size:.95rem;font-weight:500}@keyframes story-flipbook-loading-spin{to{transform:rotate(360deg)}}.github-book-page .story-flipbook-3d{transform-style:flat;border-radius:0 12px 12px 0;min-width:0;max-width:100%;transition:transform .25s,box-shadow .25s;transform:none;box-shadow:0 8px 24px #0003,0 24px 48px #0000001f}.github-book-page .story-flipbook-inner.story-flipbook-cover-mask{width:var(--page-width,444px);display:block;overflow:hidden}.github-book-page .story-flipbook-inner.story-flipbook-cover-mask>div{margin-left:calc(-1 * var(--page-width,444px))}.github-book-page .story-flipbook-inner.story-flipbook-back-cover-mask{width:var(--page-width,444px);display:block;overflow:hidden}.github-book-page .story-flipbook-inner.story-flipbook-back-cover-mask>div{margin-left:0}.github-book-page .story-flipbook-3d:hover{transform:rotateY(-10deg)rotateX(3deg)scale(1.01);box-shadow:0 12px 32px #00000038,0 32px 64px #00000024}.github-book-page .story-flipbook-3d--cover:hover{transform:none}.github-book-page .story-flipbook-nav{justify-content:center;align-items:center;gap:1.5rem;display:flex}.github-book-page .story-flipbook-btn{letter-spacing:.02em;color:#fff;cursor:pointer;background:linear-gradient(135deg,#ffffff2e 0%,#ffffff14 100%);border:none;border-radius:9999px;padding:.65rem 1.35rem;font-size:.9rem;font-weight:600;transition:transform .15s,box-shadow .2s,background .2s;box-shadow:0 2px 8px #0003}.github-book-page .story-flipbook-btn:hover:not(:disabled){background:linear-gradient(135deg,#ffffff2e 0%,#ffffff14 100%);transform:none;box-shadow:0 2px 8px #0003}.github-book-page .story-flipbook-btn:active:not(:disabled){transform:none}.github-book-page .story-flipbook-btn:disabled{opacity:.35;cursor:not-allowed;transform:none}.github-book-page .story-flipbook-pagenum{color:#ffffffe6;text-align:center;min-width:4ch;font-size:.9rem;font-weight:500}@media (max-width:768px){.github-book-page .container{padding:8px;padding-left:max(8px, env(safe-area-inset-left));padding-right:max(8px, env(safe-area-inset-right));padding-bottom:max(8px, env(safe-area-inset-bottom));align-items:center;overflow:hidden}.github-book-page .story-flipbook-wrap{padding-bottom:env(safe-area-inset-bottom,0);justify-content:center;gap:.75rem;min-height:0}.github-book-page .story-flipbook-3d,.github-book-page .story-flipbook-3d:hover,.github-book-page .story-flipbook-3d--cover:hover{transform:none}.github-book-page .story-flipbook-nav{padding:.5rem 0;padding-bottom:max(.5rem, env(safe-area-inset-bottom));gap:1rem}.github-book-page .story-flipbook-btn{-webkit-tap-highlight-color:transparent;min-width:44px;min-height:44px;padding:.75rem 1.5rem;font-size:1rem}.github-book-page .story-flipbook-pagenum{font-size:.95rem}.github-book-page .story-page,.github-book-page .story-page .story-text,.github-book-page .story-text p{text-align:center}.github-book-page .story-text{max-width:100%;font-size:10px;line-height:1.45}.github-book-page .story-arc-label{font-size:.6rem}.github-book-page .story-affirmation{text-align:center;font-size:11px}.github-book-page .page-content{padding:12px max(1rem,12px)}.github-book-page .story-page{justify-content:center;padding:.5rem 1rem}.github-book-page .story-text{padding-left:.5rem;padding-right:.5rem}}@media (max-width:480px){.github-book-page .story-flipbook-3d,.github-book-page .story-flipbook-3d:hover,.github-book-page .story-flipbook-3d--cover:hover{transform:none}}
