/* Reference-true illustrated mind maps.
   Desktop follows the 1055 x 1491 source sheet; small screens reflow sections. */
.rm-page-head{align-items:flex-start;gap:18px}
.rm-page-head h2{margin:4px 0 5px}
.rm-page-head p{max-width:760px;margin:0;color:#747169}
.rm-mode{display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end}
.rm-mode button{min-height:36px;padding:7px 12px;border:1px solid #d7d4ca;border-radius:9px;background:#fff;color:#5d5a54;font-weight:700;cursor:pointer}
.rm-mode button.active{border-color:#2f718d;background:#edf7fa;color:#155b79;box-shadow:0 0 0 2px rgba(37,112,142,.08)}
.rm-mode button:disabled{cursor:not-allowed;opacity:.48}
.rm-chapters{display:flex;gap:7px;overflow-x:auto;margin:0 0 13px;padding:3px 1px 8px;scrollbar-width:thin}
.rm-chapters button{appearance:none;min-width:150px;display:flex;gap:9px;align-items:center;border:1px solid #dedbd2;border-radius:10px;background:#fffdfa;padding:9px 11px;text-align:left;color:#77736b}
.rm-chapters button b{font-family:Georgia,serif;color:#8b887f;font-size:11px}
.rm-chapters button span{font-size:12px;font-weight:700;white-space:nowrap}
.rm-chapters button.active{border-color:#6fa7bb;background:#f1fafc;color:#155b79;box-shadow:0 3px 12px rgba(40,92,111,.08)}
.rm-chapters button.active b{color:#13739b}
.rm-stage{margin:0 -4px;padding:20px 8px 36px;overflow:auto;border:1px solid #ded9ce;border-radius:15px;background:linear-gradient(135deg,#ddd6ca,#cbc2b5);box-shadow:inset 0 2px 11px rgba(68,57,42,.12)}

.rm-sheet.mindmap--illustrated{
  --mindmap-font-display:"Noto Serif TC","Source Han Serif TC","Songti TC","PMingLiU",serif;
  --mindmap-font-body:"LXGW WenKai TC","Klee One","BiauKai","DFKai-SB",cursive;
  --mindmap-font-weight-title:800;
  --mindmap-font-weight-label:600;
  --mindmap-font-weight-body:500;
  --mindmap-line-height:1.48;
  --mindmap-letter-spacing:.018em;
  --paper:#fffdf5;
  --ink:#342e28;
  position:relative;
  isolation:isolate;
  box-sizing:border-box;
  width:1055px;
  min-height:1570px;
  margin:0 auto;
  padding:28px 28px 64px;
  overflow:hidden;
  border:1px solid #cbbfae;
  border-radius:3px;
  background:
    radial-gradient(circle at 18% 8%,rgba(187,157,101,.06),transparent 27%),
    radial-gradient(circle at 87% 72%,rgba(133,93,53,.035),transparent 30%),
    linear-gradient(180deg,rgba(255,255,255,.58),rgba(249,244,229,.28)),
    var(--paper);
  box-shadow:0 11px 35px rgba(57,46,31,.2);
  color:var(--ink);
  font-family:var(--mindmap-font-body);
  font-size:14.5px;
  font-weight:var(--mindmap-font-weight-body);
  line-height:var(--mindmap-line-height);
  letter-spacing:var(--mindmap-letter-spacing);
}
.rm-sheet *{box-sizing:border-box}
.rm-sheet:after{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;opacity:.16;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='90' height='90' viewBox='0 0 90 90'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.78' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.11'/%3E%3C/svg%3E")}
.rm-sheet h1,.rm-sheet h2,.rm-sheet h3,.rm-sheet p,.rm-sheet figure{margin:0}
.rm-sheet button,.rm-sheet input{font:inherit}
.rm-sheet-header{height:143px;position:relative;padding-top:2px}
.rm-ribbon{position:relative;width:490px;height:48px;margin:0 auto;display:grid;place-items:center;border-radius:0 0 26px 26px;background:linear-gradient(180deg,#1a82b5,#00689e 62%,#005984);color:#fff;box-shadow:inset 0 -2px rgba(0,0,0,.12),0 2px 5px rgba(0,88,129,.18);font-family:var(--mindmap-font-body);font-size:21px;font-weight:600;letter-spacing:.28em;text-indent:.28em}
.rm-ribbon:before,.rm-ribbon:after{content:"";position:absolute;top:2px;width:54px;height:43px;background:radial-gradient(ellipse at 50% 50%,#0873a4 0 14%,transparent 15%) 0 0/27px 20px;transform:rotate(18deg)}
.rm-ribbon:before{right:100%;margin-right:7px}
.rm-ribbon:after{left:100%;margin-left:7px;transform:scaleX(-1) rotate(18deg)}
.rm-ribbon i{display:none}
.rm-title-row{height:88px;display:grid;grid-template-columns:285px 1fr auto 1fr 30px;align-items:center;column-gap:13px}
.rm-title-row h1{font-family:var(--mindmap-font-display);font-size:59px;line-height:1;font-weight:900;letter-spacing:.12em;color:#3a2518;text-shadow:0 1px #fff;white-space:nowrap}
.rm-title-row em{height:2px;background:#1b75a0;position:relative}
.rm-title-row em:after{content:"";position:absolute;right:-8px;top:-5px;width:11px;height:11px;border-radius:50%;background:#1774a0}
.rm-title-row em:nth-of-type(2):after{right:auto;left:-8px}
.rm-start{justify-self:start;min-width:280px;display:flex;align-items:center;gap:9px;padding:8px 18px 10px 9px;border:2px solid #bca17c;border-radius:26px 26px 26px 10px;background:#fffdf4;color:#322b25;box-shadow:0 2px 0 rgba(121,91,50,.08);font-size:20px;font-weight:600;white-space:nowrap}
.rm-start i{width:34px;height:42px;display:block;position:relative;border-radius:50% 50% 50% 0;background:#e13d27;transform:rotate(-45deg);box-shadow:0 1px 0 #8e281f}
.rm-start i:after{content:"";position:absolute;width:12px;height:12px;left:11px;top:10px;border-radius:50%;background:#fff;box-shadow:inset 0 0 0 2px #f2c0b8}

.rm-top-grid{display:grid;grid-template-columns:1fr 1.04fr;gap:12px;align-items:stretch}
.rm-section{position:relative;border:2px solid var(--section);border-radius:17px;background:color-mix(in srgb,var(--section-soft) 72%,#fffdf6);box-shadow:inset 0 0 0 1px rgba(255,255,255,.72);padding:57px 14px 14px}
.rm-section-head{position:absolute;left:-2px;right:10px;top:-2px;height:48px;display:flex;align-items:center;gap:12px;color:var(--section)}
.rm-section-head:after{content:"";height:2px;flex:1;background:linear-gradient(90deg,var(--section),transparent 88%);opacity:.38}
.rm-section-head b{width:53px;height:53px;margin-top:-2px;display:grid;place-items:center;border-radius:50%;background:var(--section);color:#fff;font-family:Georgia,"Times New Roman",serif;font-size:34px;font-weight:700;box-shadow:0 2px 0 rgba(0,0,0,.1)}
.rm-section-head h2{font-family:var(--mindmap-font-body);font-size:28px;font-weight:600;letter-spacing:.055em;white-space:nowrap}
.rm-s1,.rm-s2{height:500px}
.rm-question{display:grid;grid-template-columns:24px minmax(0,1fr);align-items:start;gap:2px;margin:0 0 7px;color:#332f2b}
.rm-question>b{font-family:Georgia,"Times New Roman",serif;font-size:15px;line-height:1.52}
.rm-question p{min-width:0}
.rm-questions{min-width:0}
.rm-blank{display:inline-flex;align-items:flex-end;vertical-align:baseline;min-width:calc(var(--chars,7) * .86em + 18px);height:1.42em;margin:0 2px;border-bottom:1.6px solid #514b45;color:#9d2f27;white-space:nowrap}
.rm-blank input{width:calc(var(--chars,7) * .86em + 15px);height:1.35em;padding:0 2px;border:0;border-radius:0;outline:0;background:transparent;color:#713e31;font-weight:600;text-align:center;line-height:1}
.rm-blank input:focus{background:#fff4c9;box-shadow:0 2px #c78825}
.rm-blank i{width:13px;font-family:system-ui,sans-serif;font-size:10px;font-style:normal;line-height:1.2;text-align:center}
.rm-blank.is-correct{border-color:#27834c;background:#edf8eb;color:#237844}
.rm-blank.is-wrong{border-color:#c34337;background:#fff0ec;color:#b63830}
.rm-answer{display:inline-block;min-width:4.6em;margin:0 2px;padding:0 4px;border-bottom:1.6px solid #514b45;background:linear-gradient(transparent 68%,#ffe6a8 68%);color:#87341f;font-weight:600;text-align:center}
.rm-split{display:grid;grid-template-columns:minmax(0,1.45fr) 205px;gap:9px;height:100%}
.rm-scale-ladder{position:relative;height:385px;border-radius:12px;background:rgba(255,255,255,.54)}
.rm-scale-ladder figcaption{position:absolute;right:4px;top:-42px;padding:6px 15px;border-radius:5px;background:#075b89;color:#fff;font-size:15px;font-weight:600;letter-spacing:.07em}
.rm-scale-ladder>svg{position:absolute;inset:0;width:100%;height:100%}
.rm-scale-ladder>svg path{fill:none;stroke:#15749f;stroke-width:2.5}
.rm-scale-ladder>svg circle{fill:#1679a5}
.rm-scale-node{position:absolute;left:72px;right:3px;display:grid;grid-template-columns:72px 1fr;gap:6px;align-items:center;font-size:12px;line-height:1.3}
.rm-scale-node.n1{top:7px}.rm-scale-node.n2{top:91px}.rm-scale-node.n3{top:183px}.rm-scale-node.n4{top:276px}
.rm-scale-node .rm-art{width:70px;height:65px;object-fit:contain}
.rm-observable{width:68px;height:68px;border-radius:50%;background:radial-gradient(circle at 34% 29%,#577b9a 0 1.5px,transparent 2px) 0 0/13px 13px,radial-gradient(circle at 70% 65%,#8cb0c9 0 1px,transparent 1.8px) 2px 3px/17px 16px,#173f5e;box-shadow:inset -7px -8px 15px rgba(0,0,0,.25)}

.rm-s2{padding-left:17px;padding-right:17px}
.rm-s2>.rm-questions{height:245px}
.rm-galaxy-board{height:175px;display:grid;grid-template-columns:minmax(0,1.7fr) minmax(150px,.8fr);gap:9px}
.rm-galaxy-face,.rm-galaxy-side{position:relative;overflow:hidden;border:1.5px solid #477b93;border-radius:13px;background:#eef4f3}
.rm-galaxy-face>strong,.rm-galaxy-side>strong{position:absolute;left:12px;top:-1px;z-index:4;padding:4px 10px;border-radius:0 0 7px 7px;background:#0d5b85;color:#fff;font-size:13px;font-weight:600}
.rm-galaxy-face>.rm-art{position:absolute;left:50%;top:28px;width:254px;height:138px;object-fit:cover;border-radius:16px;filter:saturate(.92);transform:translateX(-50%)}
.rm-galaxy-face .label{position:absolute;z-index:3;padding:2px 5px;border-radius:5px;background:rgba(255,254,244,.92);font-size:10px;font-weight:600;line-height:1.2;box-shadow:0 0 0 1px rgba(57,97,116,.18)}
.rm-galaxy-face .label small{font-size:8px}.rm-galaxy-face .core{left:5px;top:74px}.rm-galaxy-face .sun{left:7px;bottom:8px}.rm-galaxy-face .arm{right:5px;bottom:9px}
.rm-galaxy-face svg{position:absolute;inset:0;z-index:2;width:100%;height:100%}.rm-galaxy-face svg path{fill:none;stroke:#fff7c7;stroke-width:1.7;stroke-dasharray:3 2}
.rm-side-art{position:absolute;left:10px;right:10px;top:45px;height:88px;overflow:hidden;transform:scaleY(.28)}
.rm-side-art .rm-art{width:100%;height:100%;object-fit:cover}
.rm-galaxy-side .thickness,.rm-galaxy-side .diameter{position:absolute;font-size:10px;line-height:1.2;text-align:center}.rm-galaxy-side .thickness{right:4px;top:50px}.rm-galaxy-side .diameter{left:22px;right:22px;bottom:10px}
.rm-galaxy-side svg{position:absolute;inset:0;width:100%;height:100%}.rm-galaxy-side svg path{fill:none;stroke:#597586;stroke-width:1.3}

.rm-page-connectors{position:absolute;inset:0;z-index:-.5;width:100%;height:100%;pointer-events:none}.rm-page-connectors path{fill:none;stroke:#67828d;stroke-width:2;stroke-dasharray:4 4}
.rm-s3{height:325px;margin-top:12px;padding-left:18px;padding-right:18px}
.rm-star-layout{display:grid;grid-template-columns:310px minmax(0,1fr);gap:14px;height:100%}
.rm-subribbon{display:inline-block;margin:-1px 0 7px;padding:5px 13px;border-radius:9px;background:var(--section);color:#fff;font-family:var(--mindmap-font-body);font-size:13px;font-weight:600;letter-spacing:.06em}
.rm-stellar{display:grid;grid-template-columns:minmax(0,1fr) 230px;gap:8px;height:210px}
.rm-stellar-main{display:flex;align-items:center;justify-content:space-between;gap:2px}
.rm-stellar-main>b{color:#e06727;font-size:27px;font-family:Georgia,serif;font-weight:400}
.rm-star-step{width:90px;display:flex;flex-direction:column;align-items:center;text-align:center;font-size:11px;line-height:1.15}
.rm-star-step .rm-art{width:96px;height:92px;object-fit:contain}.rm-star-step strong{font-size:12px}.rm-star-step small{font-size:9px;color:#766d64}.rm-star-step .rm-blank{margin-top:3px}
.rm-remnants{position:relative;display:grid;grid-template-rows:repeat(3,1fr);gap:4px;padding-left:39px}
.rm-remnants>svg{position:absolute;left:0;top:0;width:43px;height:100%}.rm-remnants>svg path{fill:none;stroke:#67566b;stroke-width:2}
.rm-remnants>div{display:grid;grid-template-columns:58px 1fr;gap:5px;align-items:center;border:1px solid rgba(100,75,92,.26);border-radius:11px;background:rgba(255,255,255,.65);padding:3px 5px}
.rm-remnants .rm-art{width:58px;height:58px;object-fit:contain}.rm-remnants p{display:flex;flex-direction:column;align-items:flex-start;font-size:9px;line-height:1.1}.rm-remnants p strong{font-size:11px}.rm-remnants p small{color:#756c65}

.rm-s4{height:470px;margin-top:12px;padding:54px 16px 13px}
.rm-universe-intro{display:grid;grid-template-columns:280px minmax(0,1fr);gap:12px}
.rm-universe-intro>.rm-questions{padding-right:5px}
.rm-timeline{position:relative;display:grid;grid-template-columns:repeat(11,auto);align-items:start;gap:2px;padding:4px 2px 8px}
.rm-timeline:after{content:"";position:absolute;left:24px;right:24px;top:68px;height:2px;background:#74549c;z-index:0;opacity:.5}
.rm-timeline article{position:relative;z-index:1;width:91px;text-align:center;display:flex;flex-direction:column;align-items:center;font-size:10px;line-height:1.25}
.rm-timeline article .rm-art{width:80px;height:70px;object-fit:contain;border-radius:12px}
.rm-timeline article strong{font-size:11px;margin-top:3px;color:#513979}.rm-timeline article small{font-size:9px;color:#7d687e}.rm-timeline article p{margin-top:2px;color:#615960}
.rm-time-arrow{align-self:start;margin-top:53px;color:#74549c;font-size:18px;font-family:Georgia,serif;font-weight:400;z-index:2}
.rm-universe-bottom{display:grid;grid-template-columns:360px minmax(0,1fr);gap:12px;margin-top:9px}
.rm-hubble{height:170px;display:grid;grid-template-columns:195px minmax(130px,1fr);align-items:center;border:1.4px solid #7653a1;border-radius:11px;background:#fffdfa;padding:6px 8px;position:relative}
.rm-hubble figcaption{position:absolute;left:8px;top:6px;font-size:10px;font-weight:600;color:#503a72}.rm-hubble svg{width:205px;height:124px}.rm-hubble .axis{fill:none;stroke:#524b56;stroke-width:1.4}.rm-hubble .trend{fill:none;stroke:#e18b37;stroke-width:2}.rm-hubble .dots{fill:#6a4f91}.rm-hubble text{font:8px var(--mindmap-font-body);fill:#504955}.rm-hubble>div{font-size:12px;line-height:1.4}.rm-hubble>div small{display:block;font-size:10px;color:#776e7e}
.rm-cmb-note{height:170px;display:grid;grid-template-columns:minmax(0,1fr) 160px;gap:8px;align-items:center;border:1.4px solid #7653a1;border-radius:11px;background:#fffdfa;padding:10px 11px}.rm-cmb-note h3{font-family:var(--mindmap-font-body);font-size:14px;color:#5f3e8f;margin-bottom:4px}.rm-cmb-note p{font-size:12px;line-height:1.4}.rm-cmb-note .rm-art{width:155px;height:105px;object-fit:contain;border-radius:48%}
.rm-sheet>footer{position:absolute;left:28px;right:28px;bottom:15px;height:36px;display:flex;align-items:center;justify-content:center;border-top:1px dashed #aa9d86;color:#7a6a52;font-size:12px;letter-spacing:.2em}
.rm-art{display:block;max-width:100%;user-select:none;-webkit-user-drag:none}
.rm-sheet.mindmap--illustrated small{font-size:10px}
.rm-sheet.mindmap--illustrated .rm-blank input{font-size:10px}
.rm-sheet.mindmap--illustrated .rm-remnants p{font-size:10px}
.rm-sheet.mindmap--illustrated .rm-hubble text{font-size:10px}

@media(max-width:1180px){
  .rm-stage{padding-left:12px;padding-right:12px}
}
@media(max-width:900px){
  .rm-page-head{display:block}.rm-mode{justify-content:flex-start;margin-top:12px}
  .rm-chapters button{min-width:138px}.rm-stage{margin:0 -12px;padding:12px 9px 26px;border-left:0;border-right:0;border-radius:0;background:#ddd6ca}
  .rm-sheet.mindmap--illustrated{width:100%;min-height:0;padding:17px 12px 55px;font-size:14px;line-height:1.55;border-radius:2px;overflow:visible}
  .rm-sheet-header{height:auto;padding-bottom:13px}.rm-ribbon{width:min(82%,410px);height:39px;font-size:15px;letter-spacing:.18em}.rm-title-row{height:auto;grid-template-columns:1fr auto 1fr;grid-template-areas:"start start start" "line1 title line2";gap:9px;margin-top:9px}.rm-start{grid-area:start;justify-self:start;min-width:0;padding:5px 12px 6px 7px;font-size:14px}.rm-start i{width:24px;height:29px}.rm-start i:after{width:8px;height:8px;left:8px;top:7px}.rm-title-row h1{grid-area:title;font-size:38px}.rm-title-row em:first-of-type{grid-area:line1}.rm-title-row em:last-of-type{grid-area:line2}
  .rm-top-grid,.rm-star-layout,.rm-universe-intro,.rm-universe-bottom{display:block}.rm-section,.rm-s1,.rm-s2,.rm-s3,.rm-s4{height:auto;min-height:0;margin-top:10px;padding:51px 12px 14px}.rm-top-grid>.rm-section:first-child{margin-top:0}.rm-section-head{height:44px}.rm-section-head b{width:46px;height:46px;font-size:28px}.rm-section-head h2{font-size:22px;white-space:normal}
  .rm-question{grid-template-columns:22px minmax(0,1fr);margin-bottom:10px}.rm-split{display:block}.rm-scale-ladder{height:385px;margin-top:13px}.rm-scale-ladder figcaption{top:5px;right:8px}.rm-scale-node{font-size:12px}.rm-s2>.rm-questions{height:auto}.rm-galaxy-board{height:auto;display:block}.rm-galaxy-face{height:250px;margin-top:12px}.rm-galaxy-side{height:180px;margin-top:9px}.rm-side-art{height:100px}.rm-galaxy-face .label{font-size:11px}.rm-galaxy-face .label small{font-size:11px}
  .rm-star-layout>.rm-questions{margin-bottom:8px}.rm-stellar{height:auto;display:block}.rm-stellar-main{display:grid;grid-template-columns:1fr 20px 1fr;justify-items:center;row-gap:8px}.rm-stellar-main>b:nth-of-type(3){display:none}.rm-star-step{width:115px;font-size:12px}.rm-star-step .rm-art{width:96px;height:82px}.rm-star-step small{font-size:11px}.rm-remnants{min-height:238px;margin-top:10px;padding-left:42px}.rm-remnants>div{grid-template-columns:74px 1fr}.rm-remnants .rm-art{width:70px;height:65px}.rm-remnants p{font-size:11px}.rm-remnants p strong{font-size:13px}.rm-remnants p small{font-size:11px}
  .rm-universe-intro>.rm-questions{margin-bottom:8px}.rm-timeline{grid-template-columns:1fr 28px 1fr;row-gap:10px}.rm-timeline:after{display:none}.rm-timeline article{width:auto;font-size:12px}.rm-timeline article .rm-art{width:94px;height:78px}.rm-timeline article strong{font-size:13px}.rm-timeline article small{font-size:11px}.rm-time-arrow{align-self:center;margin:30px 0 0}.rm-time-arrow:nth-of-type(2),.rm-time-arrow:nth-of-type(5){transform:rotate(90deg)}.rm-hubble,.rm-cmb-note{height:auto;min-height:155px;margin-top:10px}.rm-hubble{grid-template-columns:minmax(180px,1fr) minmax(110px,.65fr)}.rm-hubble text{font-size:11px}.rm-cmb-note{grid-template-columns:minmax(0,1fr) 128px}.rm-cmb-note .rm-art{width:125px}
  .rm-page-connectors{display:none}.rm-sheet>footer{left:12px;right:12px;font-size:10px;letter-spacing:.1em}
  .rm-sheet.mindmap--illustrated small,.rm-sheet.mindmap--illustrated .rm-blank input,.rm-sheet.mindmap--illustrated .rm-remnants p,.rm-sheet.mindmap--illustrated .rm-hubble text,.rm-sheet.mindmap--illustrated .rm-timeline article,.rm-sheet.mindmap--illustrated .rm-galaxy-side .thickness,.rm-sheet.mindmap--illustrated .rm-galaxy-side .diameter{font-size:11px}.rm-sheet>footer{font-size:11px}
}
@media(max-width:430px){
  .rm-title-row h1{font-size:32px;letter-spacing:.08em}.rm-ribbon{font-size:13px}.rm-mode button{font-size:11px;padding:6px 9px}.rm-sheet.mindmap--illustrated{font-size:14px}.rm-split{display:block}.rm-scale-node{left:58px;grid-template-columns:66px 1fr}.rm-hubble{display:block}.rm-hubble svg{width:100%;height:130px}.rm-hubble>div{text-align:center}.rm-cmb-note{display:block}.rm-cmb-note .rm-art{margin:8px auto 0}.rm-stellar-main{grid-template-columns:1fr 18px 1fr}.rm-star-step{width:98px}
}
@media(min-width:601px) and (max-width:900px){
  .rm-galaxy-board{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(190px,.75fr);gap:10px;height:250px}.rm-galaxy-face,.rm-galaxy-side{height:230px;margin-top:12px}
}
