.planet-library-entry{border:1px solid #a0dbd145;border-radius:12px;background:#193043;color:#a8e8d5;min-height:42px;padding:8px 15px;font-family:inherit;font-size:12px;font-weight:800;white-space:nowrap;cursor:pointer}
#planet-library{padding:0;max-width:1040px;width:calc(100% - 48px);max-height:calc(100dvh - 48px);background:#101a30;color:#e7eff9;border:1px solid #7291a955;border-radius:22px;overflow:auto;scrollbar-width:thin}
#planet-library::backdrop{background:#030719d9;backdrop-filter:blur(10px)}
.pl-header{display:flex;justify-content:space-between;gap:24px;padding:28px 30px 18px;border-bottom:1px solid #809bb72b}
.pl-header small{font-size:10px;letter-spacing:2px;color:#9ad7cc}.pl-header h2{font-size:32px;margin:8px 0 10px;letter-spacing:-.6px}.pl-header p{font-size:13px;line-height:1.6;margin:0;color:#b6c7dc}
.pl-header>button{align-self:flex-start;flex:none;width:42px;height:42px;font-size:25px;padding:0;border:1px solid #7b9db04d;background:#1b3048;border-radius:50%;color:#dce9f8;cursor:pointer}
.pl-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;padding:24px 30px}
.pl-planet{display:flex;flex-direction:column;align-items:center;gap:6px;border:1px solid #708aa13d;border-radius:17px;padding:10px 12px 16px;background:linear-gradient(160deg,#1a2a43,#101b30);color:#e6edf9;cursor:pointer;text-align:center;min-width:0;transition:background .15s,border-color .15s}
.pl-planet:hover{background:#203d50;border-color:#b2e2cb9c}.pl-thumbnail{display:grid;place-items:center;width:100%;height:134px}.pl-thumbnail img{width:150px;height:150px;max-width:100%;object-fit:contain}.pl-planet small{font-size:8px;color:#9fb8cf;letter-spacing:1px}.pl-planet strong{font-size:21px}.pl-planet>span:not(.pl-thumbnail){font-size:10px;line-height:1.5;color:#adc4d9;min-height:30px}.pl-planet b{font-size:10px;color:#a9e0cb;margin-top:6px}
.pl-footer{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:0 30px 24px;color:#9db4cb;font-size:11px;line-height:1.6}.pl-footer button{background:#b5e2cf;color:#122e36;border:0;border-radius:10px;min-height:42px;padding:10px 20px;font-weight:700;cursor:pointer}
#planet-library button:focus-visible,.planet-library-entry:focus-visible{outline:3px solid #f0d67e;outline-offset:3px}
#planet-moon-section{margin:24px 0;padding:22px;border:1px solid #88b5bc4d;background:#132b3b;border-radius:17px}
#planet-moon-section h3{font-size:21px;margin:0 0 10px;color:#d7f0ea}#planet-moon-section>p{font-size:12px;line-height:1.65;color:#b6cfda;margin:0 0 14px}
.planet-moon-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(175px,1fr));gap:10px}
.planet-moon-card{display:flex;flex-direction:column;align-items:flex-start;text-align:left;gap:8px;background:#19384a;border:1px solid #87a6b44d;border-radius:12px;padding:15px;color:#e2eff8;cursor:pointer;font-family:inherit}
.planet-moon-card strong{font-size:16px;color:#c3e9dd}.planet-moon-card span{font-size:11px;line-height:1.6;color:#bcd2de}.planet-moon-card small{font-size:11px;color:#e3cd7c;margin-top:auto;padding-top:4px}.planet-moon-card:hover{border-color:#b6e1cd;background:#204254}
#planet-moon-section>.secondary-button{margin:16px 0 0}#planet-moon-section button:focus-visible{outline:3px solid #eed780;outline-offset:2px}
.planet-reading-links{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 20px;padding-bottom:16px;border-bottom:1px solid #7e9cb438}.planet-reading-links button{padding:11px 16px;border:1px solid #89b6b655;background:#193b49;border-radius:10px;color:#c2e8db;font-family:inherit;font-size:12px;font-weight:600;cursor:pointer}.planet-reading-links button:focus-visible{outline:3px solid #eed780;outline-offset:2px}
.moon-context{align-items:center;font-size:12px;color:#b7d0dd}.moon-head>div{min-width:0}.moon-head small{white-space:nowrap}.moon-head>button{flex:none;max-width:125px}
@media(max-width:700px){.moon-context{top:112px}.moon-context>span{display:none}.moon-card{bottom:calc(var(--moon-tools-height,180px) + 22px)}.moon-head h2{max-width:none}.moon-head>button{max-width:112px}.moon-head small{font-size:8px}}
body[data-planet-learning=reader] #resume-flight{background:#b2dfcb;color:#17313a}
@media(max-width:1000px){.topbar{gap:10px;padding-left:22px;padding-right:22px}.topbar .journey{display:none}.toolbar{gap:7px}.planet-library-entry{padding:8px 12px}}
@media(max-width:700px){#planet-library{width:calc(100% - 20px);max-height:calc(100dvh - 20px);border-radius:17px}.pl-header{padding:20px 16px 16px;gap:12px}.pl-header h2{font-size:26px}.pl-header p{font-size:12px}.pl-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:16px}.pl-planet{padding:7px 7px 13px}.pl-thumbnail{height:111px}.pl-thumbnail img{width:125px;height:125px}.pl-planet strong{font-size:18px}.pl-planet b{font-size:9px}.pl-footer{padding:0 16px 20px;gap:12px;align-items:flex-end}.pl-footer span{font-size:10px}.pl-footer button{padding:10px 15px}#planet-moon-section{padding:16px;margin:18px 0}.planet-moon-cards{grid-template-columns:1fr}.planet-library-entry{font-size:11px;min-height:36px;padding:7px 10px}}
@media(max-width:560px){.topbar{height:auto;min-height:96px;flex-wrap:wrap;justify-content:space-between;padding:10px 14px;gap:8px}.topbar .brand{flex:0 0 auto}.topbar .toolbar{flex:1 0 100%;width:100%;justify-content:flex-end;gap:6px;flex-wrap:nowrap}.toolbar>.icon-button{width:30px;min-width:30px;height:32px;min-height:32px}.toolbar #pm-home-button{min-height:36px;min-width:36px;padding:7px}.toolbar #pm-home-button .pm-home-label{display:none}.toolbar .planet-library-entry{margin-right:auto}.topbar .journey{display:none}}
