/* Native MyGuide publishing and reading UI. Mobile-first. */
.shop2-root,.shop2-product-more{box-sizing:border-box;max-width:100%;min-width:0}
.shop2-root,.shop2-product-more{--s2-ink:#1e293b;--s2-border:#dce3ea;--s2-soft:#f3f6fa;color:var(--s2-ink)}
.shop2-root *,.shop2-product-more *{box-sizing:border-box;min-width:0;overflow-wrap:anywhere}
.shop2-root h1,.shop2-root h2,.shop2-root h3,.shop2-product-more h2{line-height:1.25;letter-spacing:-.02em}
.shop2-tabs{display:flex;gap:.45rem;flex-wrap:wrap;margin:1rem 0 1.5rem;padding-bottom:.5rem;border-bottom:1px solid var(--s2-border)}
.shop2-tabs a{font-size:.88rem;text-decoration:none;color:inherit;border:1px solid var(--s2-border);background:#fff;padding:.65rem .9rem;border-radius:999px}
.shop2-tabs a:hover,.shop2-tabs a:focus-visible{background:var(--s2-soft);outline-offset:3px}
.shop2-root .shop-form label{display:flex;flex-direction:column;gap:.4rem;min-width:0;font-weight:600;font-size:.9rem}
.shop2-root .shop-form input:not([type=checkbox]),.shop2-root .shop-form select,.shop2-root .shop-form textarea{border:1px solid #aab5c3;border-radius:10px;background:#fff;color:#15253b;padding:.75rem;width:100%;min-width:0;max-width:100%}
.shop2-root .shop-form input:focus-visible,.shop2-root .shop-form textarea:focus-visible,.shop2-root .shop-form select:focus-visible{outline:2px solid #087d91;outline-offset:2px}
.shop2-notice{padding:1rem;border-radius:12px;background:#e8f4f7;color:#164651;border:1px solid #a9d3dd;margin:.9rem 0}
.shop2-error{color:#8e2525;background:#fff0f0;border-color:#e6a4a4}.shop2-success{color:#135f34;background:#eef9f2;border-color:#b2d9c0}
.shop2-two-col{display:grid;grid-template-columns:minmax(0,1fr);gap:1rem;margin:1rem 0}
.shop2-reader{--reader-scale:1;display:flex;flex-direction:column;border:1px solid var(--s2-border);background:#fff;border-radius:18px;overflow:hidden;box-shadow:0 12px 34px rgba(15,38,56,.06)}
.shop2-reader-head{padding:1rem;display:flex;align-items:center;gap:1rem;justify-content:space-between;flex-wrap:wrap;background:#102c43;color:#fff}
.shop2-reader-head h2{font-size:1.3rem;margin:0 0 .35rem;color:#fff}.shop2-reader-head p{margin:0;color:#dbe9f1}
.shop2-reader-controls{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,170px),1fr));gap:.7rem;padding:1rem;background:#e9f0f5}
.shop2-reader-controls label{display:flex;flex-direction:column;gap:.25rem;font-weight:600;font-size:.85rem}
.shop2-reader-controls input,.shop2-reader-controls select{width:100%;max-width:100%;padding:.6rem;border:1px solid #a4b6c8;border-radius:9px;color:#16283d;background:#fff}
.shop2-reading-body{font-size:calc(1.05rem * var(--reader-scale));line-height:1.82;font-family:Georgia,'Times New Roman',serif;max-height:70vh;min-height:350px;overflow-y:auto;padding:clamp(1rem,4vw,3rem);background:#fff;color:#142333;white-space:normal;scroll-behavior:smooth;overscroll-behavior:contain}
.shop2-reading-body p,.shop2-reading-body li{margin:0 0 1.25em;max-width:75ch}.shop2-reading-body h1,.shop2-reading-body h2,.shop2-reading-body h3{font:700 1.25em/1.4 Georgia,serif;max-width:70ch}
.shop2-reader[data-theme=sepia] .shop2-reading-body{background:#fbf0d6;color:#49392c}
.shop2-reader[data-theme=night] .shop2-reading-body{background:#14232d;color:#f0f1f1}
.shop2-reader mark{background:#ffe98c;color:#111827;padding:0 .1rem}
.shop2-pdf{width:100%;display:block;min-height:70vh;border:0;background:#edf2f7}
.shop2-reader-buttons,.shop2-reader-actions{display:flex;gap:.65rem;flex-wrap:wrap;padding:.8rem 1rem;border-top:1px solid var(--s2-border);align-items:center}
.shop2-reader-actions output{font-size:.85rem;color:#256477}
.shop2-list-item{display:flex;flex-wrap:wrap;gap:.65rem;justify-content:space-between;align-items:center;border-bottom:1px solid var(--s2-border);padding:.8rem 0}
.shop2-inline-action{background:transparent;border:0;color:#075f83;text-decoration:underline;padding:.2rem;cursor:pointer;font-size:.86rem}
.shop2-inline-action:hover,.shop2-inline-action:focus-visible{text-decoration:none;outline-offset:3px}
.shop2-note,.shop2-review{padding:1rem 0;border-bottom:1px solid var(--s2-border);overflow-wrap:anywhere}.shop2-note blockquote{padding:.7rem;border-inline-start:3px solid #d4a64b;background:#faf6e9;margin:.5rem 0}
.shop2-launch{display:grid;grid-template-columns:minmax(0,1fr);gap:1.5rem;align-items:start;max-width:1150px;margin:auto}
.shop2-launch img,.shop2-launch .shop-cover-placeholder{display:block;width:100%;max-width:340px;max-height:480px;object-fit:contain;border-radius:15px}
.shop2-countdown{font-weight:700;font-size:1.1rem;color:#116d7d}
.shop2-product-more{padding:2rem 0}.shop2-product-actions{display:flex;flex-wrap:wrap;gap:.7rem;margin-bottom:1.25rem}
.shop2-product-more .shop2-two-col{margin:1.5rem 0}
.shop2-check{flex-direction:row!important;align-items:flex-start!important;gap:.6rem;cursor:pointer;font-weight:500!important}
.shop2-check input{margin:.25rem 0 0;flex:none}
.shop2-checkgrid{display:grid;grid-template-columns:minmax(0,1fr);gap:.75rem;margin:1rem 0;max-height:450px;overflow-y:auto;padding:.5rem}
.shop2-moderation,.shop2-file-version{padding:1rem 0;border-bottom:1px solid var(--s2-border);display:flex;flex-direction:column;gap:.5rem}
.shop2-access-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:.8rem}
.shop2-license-card{display:flex;flex-direction:column;gap:.6rem;padding:1rem;border:1px solid var(--s2-border);border-radius:12px;background:#fbfdff}
.shop2-license-card label{display:flex;flex-direction:column;gap:.35rem;font-size:.86rem;font-weight:600}
.shop2-license-card input,.shop2-license-card select{width:100%;padding:.65rem;border:1px solid #a4b4c4;border-radius:8px}
.shop2-stat-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}
.shop2-stat-grid .shop-panel{display:flex;flex-direction:column;gap:.5rem}.shop2-stat-grid strong{font-size:1.8rem}
.shop2-small{font-size:.84rem;color:#5b6472}
.shop2-root .shop-button{max-width:100%;white-space:normal;text-align:center}
@media(min-width:760px){.shop2-two-col{grid-template-columns:repeat(2,minmax(0,1fr))}.shop2-launch{grid-template-columns:minmax(0,320px) minmax(0,1fr)}.shop2-access-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.shop2-checkgrid{grid-template-columns:repeat(2,minmax(0,1fr))}.shop2-stat-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:480px){.shop2-root{width:100%;max-width:100%}.shop2-root .shop-panel{padding:1rem}.shop2-root h1{font-size:1.55rem}.shop2-reader-head{align-items:stretch}.shop2-reader-head button{width:100%}.shop2-reading-body{min-height:300px;max-height:65vh}.shop2-tabs{overflow-x:auto;flex-wrap:nowrap;padding-bottom:.85rem}.shop2-tabs a{flex:none;white-space:nowrap}.shop2-reader-buttons .shop-button{flex:1;min-width:0}.shop2-stat-grid{grid-template-columns:minmax(0,1fr)}.shop2-launch img{margin:0 auto}.shop2-license-card{padding:.85rem}}
@media(prefers-reduced-motion:reduce){.shop2-reading-body{scroll-behavior:auto}}

.shop2-wishlist-entry{min-width:0}.shop2-wishlist-remove{margin:.55rem 0}.shop2-wishlist-remove button{width:100%}
