/* Match the owner's 1222×696 reference; widths are bounded on larger notebooks. */
body.hatchling-v2.collections-active {
  background:linear-gradient(180deg,#fff0 20%,#fff8ec66 49%,#fff6ebaa 74%,#fff6ebcc),url("assets/landing-v16/background.webp") center top/cover fixed;
  color:#092c43;
}
body.hatchling-v2 #collections {
  display:flex;flex-direction:column;align-items:center;
  width:min(1056px,calc(100% - 40px));min-height:100svh;
  margin:0 auto;padding:0 0 14px;font-family:HatchlingUI,system-ui,sans-serif;
}
body.hatchling-v2 #collections[hidden] { display:none; }
body.hatchling-v2 #collections::before { display:none; }
body.hatchling-v2 #collections .collection-header {
  flex:none;display:flex;align-items:center;justify-content:space-between;
  width:100%;height:80px;position:relative;gap:12px;margin:0;
}
body.hatchling-v2 #collections .collection-header>img,
body.hatchling-v2 #collections .hub-brand { display:none; }
.landing-brand {
  display:flex;align-items:center;justify-content:center;gap:16px;
  position:absolute;top:4px;left:50%;transform:translateX(-50%);
  width:300px;height:74px;pointer-events:none;margin-left:8px;
}
.landing-brand img { object-fit:contain;filter:none; }
.landing-brand img:first-child { width:108px;height:74px; }
.landing-brand img:last-child { width:160px;height:36px; }
.landing-brand>span { width:1px;height:28px;flex:none;background:#c5a75f; }
.landing-icon { width:20px;height:20px;flex:none;vertical-align:middle; }
body.hatchling-v2 #collections :is(.hub-home,.collection-parent) {
  display:flex;align-items:center;gap:8px;position:static;
  margin:0;min-height:32px;height:32px;padding:5px 14px;
  border:1px solid #f4d795;border-radius:22px;
  background:linear-gradient(#fffdf9,#fcf3df);color:#102c43;
  box-shadow:0 3px 7px #80653526,inset 0 1px #fff;
  font:800 12px/1 HatchlingUI,system-ui,sans-serif;letter-spacing:0;
}
body.hatchling-v2 #collections .hub-home {
  background:linear-gradient(#ffffffed,#dbedffeb);border-color:#fff9;
}
body.hatchling-v2 #collections .hub-home .landing-icon { width:14px;height:14px; }
body.hatchling-v2 #collections .collection-parent .landing-icon { color:#826020;width:17px;height:17px; }
body.hatchling-v2 #collections .collection-heading {
  display:block;width:100%;flex:none;margin:0;padding:10px 0 0;text-align:center;
  color:#082c43;text-shadow:none;
}
body.hatchling-v2 #collections .collection-heading h1 {
  display:inline-block;position:relative;
  font:900 54px/1.12 HatchlingUI,system-ui,sans-serif;
  letter-spacing:-1.5px;color:#082c43;margin:0 0 3px;
  text-shadow:0 2px 2px #fff9;
}
body.hatchling-v2 #collections .collection-heading h1::after {
  content:"";position:absolute;width:36%;height:6px;right:2px;bottom:-4px;
  border-top:4px solid #f3b731;border-radius:50%;transform:rotate(2deg);
}
body.hatchling-v2 #collections .collection-heading p {
  color:#17344b;font:550 20px/28px HatchlingUI,system-ui,sans-serif;
  letter-spacing:.4px;margin:0 auto;
}
body.hatchling-v2 #collections .landing-divider {
  display:flex;align-items:center;justify-content:center;gap:6px;
  width:230px;height:16px;margin:0 auto;
  color:#c79937;font:16px/1 HatchlingUI,system-ui,sans-serif;letter-spacing:0;text-shadow:none;
}
.landing-divider i { height:1px;width:104px;background:linear-gradient(90deg,transparent,#c9ad71); }
.landing-divider i:last-child { transform:rotate(180deg); }
body.hatchling-v2 #collections #resume-drawing {
  display:flex;align-items:center;justify-content:center;gap:12px;flex:none;
  width:min(400px,100%);min-height:52px;margin:15px auto 0;padding:8px 24px;
  border:1px solid #dfa82d;border-radius:28px;
  background:linear-gradient(#fffefa,#fff7e7);box-shadow:0 3px 6px #8d67232b,inset 0 1px #fff;
  color:#0c2d45;font:850 20px/1.2 HatchlingUI,system-ui,sans-serif;text-shadow:none;
}
body.hatchling-v2 #collections #resume-drawing[hidden] { display:none; }
body.hatchling-v2 #collections #resume-drawing::before {
  content:"";flex:none;width:26px;height:26px;
  background:#80560d;mask:url("assets/polish-v15/tool-brush.svg") center/contain no-repeat;
}
body.hatchling-v2 #collections #resume-drawing::after { content:"›";font-size:30px;line-height:1;color:#825c18;margin-left:auto; }
body.hatchling-v2 #collections > .profile-switch {
  display:flex;align-items:center;justify-content:center;gap:11px;flex:none;
  min-height:36px;height:36px;margin:12px auto 14px;padding:5px 17px;
  top:auto;right:auto;max-width:100%;border:1px solid #e3d2ab;border-radius:24px;
  background:linear-gradient(#fffdf8,#fcf2dd);box-shadow:0 3px 7px #65533120;
  color:#102d43;font:850 13px/1.2 HatchlingUI,system-ui,sans-serif;
}
body.hatchling-v2 #collections > .profile-switch .portrait-medallion { display:none; }
body.hatchling-v2 #collections > .profile-switch::before {
  content:"+";display:grid;place-items:center;flex:none;width:18px;height:18px;
  background:#ffd058;border:1px solid #ecb52c;border-radius:50%;color:#25414b;font-size:18px;line-height:1;
}
body.hatchling-v2 #collections > .profile-switch small {
  border-left:1px solid #d7c8a9;padding-left:12px;color:#263b47;
  font:650 12px/1 HatchlingUI,system-ui,sans-serif;
}
body.hatchling-v2 #collections > .profile-switch small::before { content:"✎";font-size:17px;color:#835c21;margin-right:7px; }
body.hatchling-v2 #collections #recovery-note {
  display:flex;align-items:center;justify-content:center;gap:12px;flex:none;
  width:min(660px,100%);max-width:100%!important;min-height:35px;
  margin:0 auto 12px!important;padding:7px 20px!important;border:1px solid #bcae94!important;
  border-radius:22px!important;background:linear-gradient(#fffefa,#f7ecd7)!important;
  color:#17344a!important;font:500 11px/1.4 HatchlingUI,system-ui,sans-serif!important;
  box-shadow:0 2px 4px #5c53491c;
}
body.hatchling-v2 #collections #recovery-note::before {
  content:"";width:20px;height:18px;flex:none;
  background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='2' y='3' width='20' height='18' rx='1' fill='none' stroke='%23825e22' stroke-width='1.7'/%3E%3Cpath d='m3 19 6-6 4 4 4-6 5 7' fill='none' stroke='%23825e22' stroke-width='1.7'/%3E%3Ccircle cx='8' cy='8' r='2' fill='%23825e22'/%3E%3C/svg%3E") center/contain no-repeat;
}
body.hatchling-v2 #collections .collection-books {
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch;
  width:calc(100% - 46px);gap:12px;margin:0 auto;flex:none;
}
body.hatchling-v2 #collections .hub-card {
  display:flex;flex-direction:column;gap:0;width:100%;min-height:0;margin:0;padding:8px;
  border:1px solid #eee4d3;border-radius:19px;background:#fffbf2;
  box-shadow:0 7px 14px #6a4b2430;overflow:hidden;text-align:left;
}
body.hatchling-v2 #collections .hub-card:hover { transform:translateY(-3px);box-shadow:0 10px 18px #6a4b2438; }
body.hatchling-v2 #collections .hub-card-image {
  display:block;flex:none;width:100%;height:auto;min-height:0;max-height:none;
  aspect-ratio:314/173;margin:0;border:0;border-radius:13px;overflow:hidden;background:#edc79d!important;
}
body.hatchling-v2 #collections .hub-card-image img {
  display:block;width:100%;height:100%;max-height:none;object-fit:cover!important;
}
body.hatchling-v2 #collections .hub-card-copy {
  display:flex;position:relative;flex-direction:column;justify-content:center;flex:1;
  gap:2px;min-height:54px;width:100%;padding:9px 30px 4px 50px;
  border:0;background:none;font:inherit;
}
body.hatchling-v2 #collections .hub-card .hub-card-copy strong {
  display:block;color:#0a2c44;padding:0;min-height:0;
  font:850 19px/1.2 HatchlingUI,system-ui,sans-serif;letter-spacing:-.4px;
}
body.hatchling-v2 #collections .hub-card .hub-card-copy small {
  display:block;color:#173a53;font:500 11.5px/1.35 HatchlingUI,system-ui,sans-serif;
}
.landing-activity-icon { position:absolute;left:9px;top:12px;width:26px;height:26px;color:#a7751b; }
body.hatchling-v2 #collections .hub-play {
  position:absolute;display:grid;place-items:center;right:8px;top:15px;bottom:auto;
  width:26px;height:26px;margin:0;border:1px solid #e6ba61;border-radius:50%;
  background:linear-gradient(#fffdf4,#fff0c9);color:#16394c;
  font:750 26px/1 HatchlingUI,system-ui,sans-serif;
}
body.hatchling-v2 #collections .hub-footer {
  display:flex;align-items:center;justify-content:center;flex:none;flex-wrap:nowrap;gap:0;
  width:max-content;max-width:100%;min-height:42px;margin:20px auto 0;padding:0;
  border-radius:25px;background:#fffdf5d9;box-shadow:0 4px 9px #68543822;
}
body.hatchling-v2 #collections #hub-creations {
  display:flex;align-items:center;justify-content:center;gap:12px;
  min-height:42px;height:42px;padding:7px 22px;border:1px solid #e9b244;border-radius:25px;
  background:linear-gradient(#fff7df,#fffbef);color:#12364e;
  font:900 13px/1.1 HatchlingUI,system-ui,sans-serif;box-shadow:inset 0 1px #fff;white-space:nowrap;flex-shrink:0;
}
body.hatchling-v2 #collections #hub-creations>span { margin:0;color:#95661b; }
body.hatchling-v2 #collections .hub-device-note {
  display:flex;align-items:center;justify-content:center;gap:10px;
  color:#25465b;padding:0 18px;font:500 12px/1.3 HatchlingUI,system-ui,sans-serif;
}
body.hatchling-v2 #collections .hub-device-note::before { content:"";height:20px;width:1px;background:#b5b8ad;margin-right:6px; }
body.hatchling-v2 #hub-library>.collection-replay { margin:18px auto 0;display:block; }
body.hatchling-v2 #collections > :not(.collection-header) { position:relative;left:8px; }
body.hatchling-v2.collections-active { background-color:#fff7ed; }
body.hatchling-v2.collections-active .music-floating { display:none; }
body.hatchling-v2 #hub-library>.hatchling-music { display:block;margin:14px auto 0; }
@media(min-width:1600px) {
  body.hatchling-v2 #collections { padding-top:18px; }
}
@media(max-width:900px) and (min-width:651px) {
  body.hatchling-v2 #collections { width:calc(100% - 32px); }
  body.hatchling-v2 #collections .collection-books { width:100%; }
  body.hatchling-v2 #collections .hub-card .hub-card-copy strong { font-size:16px; }
  body.hatchling-v2 #collections .hub-card-copy { padding-left:36px; }
  .landing-activity-icon { left:1px;width:23px; }
}
@media(max-width:650px) {
  body.hatchling-v2.collections-active { background-position:center top;background-size:auto 100svh; }
  body.hatchling-v2 #collections { width:calc(100% - 24px);padding-bottom:20px; }
  body.hatchling-v2 #collections > :not(.collection-header) { left:0; }
  body.hatchling-v2 #collections .collection-header { height:124px;align-items:flex-start;padding-top:11px; }
  .landing-brand { top:54px;width:280px;height:65px;gap:12px;margin-left:0; }
  .landing-brand img:first-child { width:95px;height:65px; }
  .landing-brand img:last-child { width:150px;height:32px; }
  body.hatchling-v2 #collections :is(.hub-home,.collection-parent) { min-height:44px;height:44px;font-size:11px;padding:6px 12px; }
  body.hatchling-v2 #collections .collection-heading { padding-top:4px; }
  body.hatchling-v2 #collections .collection-heading h1 { font-size:clamp(29px,8.5vw,42px);letter-spacing:-1px;line-height:1.15;margin-bottom:7px; }
  body.hatchling-v2 #collections .collection-heading p { font-size:16px;line-height:24px;letter-spacing:0; }
  body.hatchling-v2 #collections #resume-drawing { font-size:16px;min-height:48px;margin-top:10px;padding:8px 18px;gap:9px; }
  body.hatchling-v2 #collections #resume-drawing::before { width:21px;height:21px; }
  body.hatchling-v2 #collections>.profile-switch { min-height:40px;height:40px;margin:10px auto 12px; }
  body.hatchling-v2 #collections #recovery-note { padding:8px 12px!important;font-size:11px!important;text-align:left; }
  body.hatchling-v2 #collections .collection-books { width:100%;grid-template-columns:1fr;gap:12px; }
  body.hatchling-v2 #collections .hub-card { display:grid;grid-template-columns:40% minmax(0,1fr);gap:6px;padding:7px;border-radius:16px; }
  body.hatchling-v2 #collections .hub-card-image { width:100%;height:100%;aspect-ratio:1.55;min-height:92px;border-radius:10px; }
  body.hatchling-v2 #collections .hub-card-copy { min-height:92px;padding:30px 20px 5px 6px; }
  body.hatchling-v2 #collections .hub-card .hub-card-copy strong { font-size:17px;letter-spacing:-.3px;line-height:1.15; }
  body.hatchling-v2 #collections .hub-card .hub-card-copy small { font-size:11px;line-height:1.3; }
  .landing-activity-icon { left:7px;top:2px;width:23px;height:23px; }
  body.hatchling-v2 #collections .hub-play { right:0;top:9px;width:24px;height:24px; }
  body.hatchling-v2 #collections .hub-footer { flex-wrap:wrap;background:none;box-shadow:none;gap:12px;width:100%;margin-top:18px; }
  body.hatchling-v2 #collections #hub-creations { min-height:44px;height:44px; }
  body.hatchling-v2 #collections .hub-device-note { width:100%;font-size:11px;padding:0; }
  body.hatchling-v2 #collections .hub-device-note::before { display:none; }
}
