










body.home-mode { overflow: auto !important; background: var(--dc-white); }
body.home-mode > :not(#home):not(script):not(#notice) { display: none !important; }

body.home-mode > .dc-explica-scrim:not(#home):not(#notice) { display: grid !important; }   

#home {
  --hm-side: 252px;
  position: relative; min-height: 100vh; display: grid; grid-template-columns: var(--hm-side) minmax(0, 1fr);
  background: var(--dc-white); color: var(--dc-ink); font-family: 'Poppins', system-ui, sans-serif; font-size: var(--dc-fs-body);
  line-height: 1.55; -webkit-font-smoothing: antialiased;
}
#home *, #home *::before, #home *::after { box-sizing: border-box; }
#home :focus-visible { outline: 2px solid var(--dc-focus); outline-offset: 2px; border-radius: var(--dc-r-sm); }
#home button { font-family: inherit; }
#home .dc-field:focus-visible { outline: none; }   
#home h1, #home h2, #home h3, #home p { margin: 0; }


#home .hm-side { position: sticky; top: 0; height: 100vh; min-width: 0; display: flex; flex-direction: column; gap: var(--dc-s-1); padding: var(--dc-s-5) var(--dc-s-4);
                 background: var(--dc-graphite); color: var(--dc-on-dark); }
#home .hm-brand { display: flex; align-items: center; gap: var(--dc-s-3); padding: var(--dc-s-1) var(--dc-s-3) var(--dc-s-4); color: var(--dc-on-dark); text-decoration: none; }
#home .hm-brand svg { height: 46px; width: auto; overflow: visible; margin: -8px -10px -7px -12px; align-self: flex-start; }   
#home .hm-brand svg .a { fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2.435px; }   
#home .hm-brand span { font-size: var(--dc-fs-title); font-weight: 500; letter-spacing: -0.01em; }
#home .hm-new { display: none; }   
#home .hm-nav { display: grid; gap: 2px; min-width: 0; }
#home .hm-nav a { position: relative; display: flex; align-items: center; gap: var(--dc-s-3); min-height: var(--dc-h); padding: 0 var(--dc-s-3); border-radius: var(--dc-r-ctl);
                  color: var(--dc-on-dark-2); text-decoration: none; font-weight: 500; font-size: var(--dc-fs-ui);
                  transition: background-color var(--dc-t-fast), color var(--dc-t-fast); }
#home .hm-nav a .icon-mask { width: 24px; height: 24px; flex-shrink: 0; }   
#home .hm-new[hidden] { display: none; }
#home .dc-btn[hidden] { display: none; }   
#home .hm-nav a:hover { background: var(--dc-graphite-2); color: var(--dc-on-dark); }
#home .hm-nav a[aria-current="page"] { background: var(--dc-petroleum); color: var(--dc-on-dark); }
#home .hm-nav a[aria-current="page"]::before { content: ''; position: absolute; left: 0; top: 10px; bottom: 10px; width: 3px; border-radius: var(--dc-r-pill); background: var(--dc-teal-on-dark); }
#home .hm-nav a[aria-current="page"] .icon-mask { color: var(--dc-teal-on-dark); }
#home .hm-nav .hm-count { margin-left: auto; font-size: var(--dc-fs-meta); color: var(--dc-on-dark-3); font-variant-numeric: tabular-nums; }
#home .hm-nav .hm-dot { margin-left: auto; width: 8px; height: 8px; border-radius: 50%; background: var(--dc-cobalt-on-dark); }
#home .hm-nav-sep { height: 1px; background: var(--dc-line-dark); margin: var(--dc-s-3) var(--dc-s-3); }
#home .hm-side-foot { margin-top: auto; display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--dc-s-3); }   

#home .hm-beta { display: flex; align-items: center; gap: var(--dc-s-2); width: 100%; min-height: var(--dc-h-sm); padding: var(--dc-s-1) var(--dc-s-3) var(--dc-s-1) var(--dc-s-2); border: 0; border-radius: var(--dc-r-ctl);
                 background: var(--dc-cobalt); color: var(--dc-on-dark); font: inherit; font-size: var(--dc-fs-meta); font-weight: 500; text-align: left; cursor: pointer; transition: background var(--dc-t-fast); }
#home .hm-beta:hover { background: var(--dc-cobalt-hover); }
#home .hm-beta:focus-visible { outline: none; box-shadow: var(--dc-ring); }
#home .hm-beta-tag { padding: var(--dc-s-1) var(--dc-s-2); border-radius: var(--dc-r-sm); background: var(--dc-surface); color: var(--dc-cobalt-ink); font-size: var(--dc-fs-fine); font-weight: 600; letter-spacing: 0.08em; line-height: 1.2; }
#home .hm-plan { padding: var(--dc-s-3) var(--dc-s-4); border-radius: var(--dc-r-card); background: var(--dc-petroleum); font-size: var(--dc-fs-meta); color: var(--dc-on-dark-2); }
#home .hm-plan b { color: var(--dc-on-dark); font-weight: 500; }
#home .hm-plan .hm-bar { height: 5px; border-radius: var(--dc-r-pill); background: var(--dc-line-dark); margin-top: var(--dc-s-2); overflow: hidden; }
#home .hm-plan .hm-bar i { display: block; height: 100%; border-radius: var(--dc-r-pill); background: var(--dc-teal-on-dark); }
#home .hm-plan[data-lleno="1"] .hm-bar i { background: var(--dc-cobalt-on-dark); }
#home .hm-plan .dc-btn { margin-top: var(--dc-s-3); width: 100%; white-space: normal; padding-block: var(--dc-s-2); text-align: center; }   
#home .hm-me { display: flex; align-items: center; gap: var(--dc-s-3); padding: var(--dc-s-2) var(--dc-s-2); }
#home .hm-avatar { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0;
                   font-size: var(--dc-fs-ui); font-weight: 500; color: var(--dc-on-accent); background: var(--dc-teal); box-shadow: 0 0 0 2px var(--dc-graphite), 0 0 0 3px var(--dc-line-dark); }
#home .hm-me-txt { min-width: 0; flex: 1; line-height: 1.3; }
#home .hm-me-txt b { display: block; font-size: var(--dc-fs-small); font-weight: 500; color: var(--dc-on-dark); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#home .hm-me-txt small { display: block; font-size: var(--dc-fs-fine); color: var(--dc-on-dark-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#home .hm-side-row { display: flex; align-items: center; justify-content: space-between; gap: var(--dc-s-2); padding: 0 var(--dc-s-2); }
#home .hm-lang { display: flex; gap: 2px; font-size: var(--dc-fs-meta); font-weight: 500; }
#home .hm-lang button { border: 0; background: none; padding: var(--dc-s-2) var(--dc-s-1); color: var(--dc-on-dark-3); cursor: pointer; letter-spacing: 0.04em; }
#home .hm-lang button[aria-pressed="true"] { color: var(--dc-on-dark); }
#home .hm-out { border: 0; background: none; color: var(--dc-on-dark-3); font-size: var(--dc-fs-meta); cursor: pointer; padding: var(--dc-s-2) 0; }
#home .hm-out:hover { color: var(--dc-on-dark); }

#home .hm-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--dc-s-3) var(--dc-s-5); margin-top: var(--dc-s-4); }   


#home .dc-btn .hm-plus { font-size: var(--dc-fs-h3); line-height: 1; font-weight: 400; }
#home .hm-link { border: 0; background: none; padding: 0; color: var(--dc-ink); font-size: var(--dc-fs-ui); font-weight: 500; cursor: pointer;
                 text-decoration: none; border-bottom: 1px solid var(--dc-ice-3); transition: border-color var(--dc-t-fast), color var(--dc-t-fast); }
#home .hm-link:hover { border-bottom-color: var(--dc-teal); color: var(--dc-teal-ink); }


#home .hm-main { min-width: 0; padding: var(--dc-s-6) clamp(var(--dc-s-5), 3.4vw, var(--dc-s-7)) var(--dc-s-8); }
#home .hm-view { animation: hm-in 0.35s var(--dc-ease); }
@keyframes hm-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
#home .hm-sec { margin-top: var(--dc-s-7); }
#home .hm-sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: var(--dc-s-4); margin-bottom: var(--dc-s-4); }
#home .hm-sec-head h2 { font-size: var(--dc-fs-h3); font-weight: 500; letter-spacing: -0.01em; }
#home .hm-page-title { font-size: clamp(24px, 2.4vw, 30px); font-weight: 500; letter-spacing: -0.02em; }
#home .hm-page-sub { color: var(--dc-ink-2); margin-top: var(--dc-s-1); }


#home .hm-hero { position: relative; overflow: hidden; isolation: isolate; border-radius: var(--dc-r-xl); padding: clamp(var(--dc-s-6), 4vw, var(--dc-s-7));
                 background: radial-gradient(120% 140% at 100% 0%, var(--dc-petroleum) 0%, var(--dc-graphite) 62%); color: var(--dc-on-dark); }
#home .hm-hero h1 { font-size: clamp(28px, 3.4vw, 44px); font-weight: 500; letter-spacing: -0.025em; line-height: 1.1; max-width: 16ch; }
#home .hm-hero p { color: var(--dc-on-dark-2); font-size: var(--dc-fs-body); margin-top: var(--dc-s-3); max-width: 44ch; }
#home .hm-hero .hm-actions { margin-top: var(--dc-s-5); }
#home .hm-hero .dc-btn--ghost { background: transparent; color: var(--dc-on-dark); border-color: var(--dc-line-dark); }   
#home .hm-hero .dc-btn--ghost:hover { background: transparent; color: var(--dc-teal-on-dark); border-color: var(--dc-teal-on-dark); }
#home .hm-hero .hm-link { color: var(--dc-on-dark); border-bottom-color: var(--dc-line-dark); }
#home .hm-hero .hm-link:hover { color: var(--dc-teal-on-dark); border-bottom-color: var(--dc-teal-on-dark); }

#home .hm-idea { position: absolute; z-index: -1; right: clamp(16px, 3vw, 48px); top: 50%; transform: translateY(-50%); width: min(540px, 52%); margin: 0; pointer-events: none; }
#home .hm-idea svg { display: block; width: 100%; height: auto; overflow: visible; }
#home .hm-empty-ilu line { stroke: color-mix(in srgb, var(--dc-graphite) 20%, transparent); stroke-width: 1.4; }


#home .hm-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: var(--dc-s-5); }
#home .hm-card { position: relative; display: flex; flex-direction: column; border-radius: var(--dc-r-card); background: var(--dc-surface);
                 border: 1px solid var(--dc-ice); transition: transform var(--dc-t) var(--dc-ease), box-shadow var(--dc-t), border-color var(--dc-t); }
#home .hm-card:hover, #home .hm-card:focus-within { transform: translateY(-3px); box-shadow: var(--dc-shadow-2); border-color: var(--dc-ice-3); }
#home .hm-card-open { display: block; padding: 0; border: 0; background: none; cursor: pointer; text-align: left; color: inherit; border-radius: var(--dc-r-card) var(--dc-r-card) 0 0; }

#home .hm-thumb { position: relative; aspect-ratio: 16 / 10; overflow: hidden; border-radius: calc(var(--dc-r-card) - 1px) calc(var(--dc-r-card) - 1px) 0 0;
                  background: var(--dc-ice-2); border-bottom: 1px solid var(--dc-ice); }
#home .hm-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s var(--dc-ease); }
#home .hm-thumb svg { width: 100%; height: 100%; display: block; transition: transform 0.4s var(--dc-ease); }
#home .hm-card:hover .hm-thumb img, #home .hm-card:hover .hm-thumb svg { transform: scale(1.03); }
#home .hm-badge { position: absolute; left: 10px; top: 10px; padding: var(--dc-s-1) var(--dc-s-2); border-radius: var(--dc-r-sm); font-size: var(--dc-fs-fine); font-weight: 500;
                  background: var(--dc-cobalt); color: var(--dc-on-accent); box-shadow: 0 2px 6px color-mix(in srgb, var(--dc-graphite) 20%, transparent); }
#home .hm-card-body { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px var(--dc-s-2); align-items: start; padding: var(--dc-s-3) var(--dc-s-3) var(--dc-s-4) var(--dc-s-4); }
#home .hm-card-name { font-size: var(--dc-fs-ui); font-weight: 500; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
#home .hm-card-meta { grid-column: 1; display: flex; flex-wrap: wrap; align-items: center; gap: var(--dc-s-1) var(--dc-s-2); font-size: var(--dc-fs-meta); color: var(--dc-ink-3); }
#home .hm-role { display: inline-flex; align-items: center; gap: var(--dc-s-1); font-weight: 500; color: var(--dc-ink-2); }
#home .hm-role::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--dc-ice-3); }
#home .hm-role[data-role="owner"]::before { background: var(--dc-cobalt); }
#home .hm-role[data-role="writer"]::before { background: var(--dc-teal); }
#home .hm-role[data-role="commenter"]::before, #home .hm-role[data-role="reader"]::before { background: var(--dc-petroleum); opacity: 0.45; }
#home .hm-card-more { grid-column: 2; grid-row: 1 / span 2; width: 34px; height: 34px; border-radius: 50%; border: 0; background: transparent;
                      color: var(--dc-ink-2); cursor: pointer; font-size: var(--dc-fs-h3); line-height: 1; display: grid; place-items: center;
                      transition: background-color var(--dc-t-fast); }
#home .hm-card-more:hover, #home .hm-card-more[aria-expanded="true"] { background: var(--dc-ice-2); color: var(--dc-ink); }

#home .hm-card-ejemplo { cursor: pointer; }   
#home .hm-card-new { border-style: dashed; border-color: var(--dc-ice-3); }
#home .hm-card-new .hm-thumb { display: grid; place-items: center; background: var(--dc-cobalt-soft); border-bottom-style: dashed; }
#home .hm-card-new .hm-thumb span { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: var(--dc-cobalt);
                                    font-size: 28px; color: var(--dc-on-accent); box-shadow: 0 10px 24px -12px color-mix(in srgb, var(--dc-cobalt) 80%, transparent); transition: transform var(--dc-t) var(--dc-ease); }
#home .hm-card-new:hover .hm-thumb span { transform: scale(1.08) rotate(90deg); }


#home .hm-captura { position: fixed; top: 0; left: -12000px; width: 1000px; height: 640px; border: 0; opacity: 0; pointer-events: none; }


#home .hm-skel { border-radius: var(--dc-r-card); background: var(--dc-surface); border: 1px solid var(--dc-ice); overflow: hidden; }
#home .hm-skel i { display: block; background: linear-gradient(90deg, var(--dc-ice-2) 0%, var(--dc-white) 50%, var(--dc-ice-2) 100%); background-size: 200% 100%; animation: hm-shine 1.4s linear infinite; }
#home .hm-skel i:first-child { aspect-ratio: 16 / 10; }
#home .hm-skel i + i { height: 12px; margin: var(--dc-s-4); border-radius: var(--dc-r-sm); width: 60%; }
@keyframes hm-shine { to { background-position: -200% 0; } }


#home .hm-tools { display: flex; flex-wrap: wrap; align-items: center; gap: var(--dc-s-3); margin: var(--dc-s-5) 0 var(--dc-s-4); }
#home .hm-search { position: relative; flex: 1 1 260px; max-width: 420px; }
#home .hm-search .dc-field { padding-left: 40px; font-size: var(--dc-fs-ui); }   
#home .hm-search .icon-mask { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); width: 22px; height: 22px; color: var(--dc-ink-3); }
#home .hm-chips { display: flex; gap: var(--dc-s-2); flex-wrap: wrap; }
#home .hm-chip { min-height: var(--dc-h-sm); padding: 0 var(--dc-s-4); border-radius: var(--dc-r-ctl); border: 1px solid var(--dc-ice-3); background: var(--dc-surface);
                 color: var(--dc-ink-2); font-size: var(--dc-fs-small); font-weight: 500; cursor: pointer; transition: background-color var(--dc-t-fast), color var(--dc-t-fast), border-color var(--dc-t-fast); }
#home .hm-chip:hover { border-color: var(--dc-teal); color: var(--dc-teal-ink); }
#home .hm-chip[aria-pressed="true"] { background: var(--dc-petroleum); border-color: var(--dc-petroleum); color: var(--dc-on-accent); }
#home .hm-import { display: none; min-height: var(--dc-h-sm); padding: 0 var(--dc-s-4); font-size: var(--dc-fs-small); }
#home .hm-sort { min-height: var(--dc-h-sm); padding: 0 40px 0 var(--dc-s-4); border-radius: var(--dc-r-ctl); border: 1px solid var(--dc-ice-3); -webkit-appearance: none; appearance: none;
                 background: var(--dc-surface) url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%2712%27 height=%278%27 viewBox=%270 0 12 8%27%3E%3Cpath d=%27M1 1.5l5 5 5-5%27 fill=%27none%27 stroke=%27%235c6f79%27 stroke-width=%271.6%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27/%3E%3C/svg%3E") no-repeat right 14px center;
                 font: inherit; font-size: var(--dc-fs-small); color: var(--dc-ink); cursor: pointer; margin-left: auto; }


#home .hm-empty { display: grid; grid-template-columns: auto 1fr; gap: var(--dc-s-5); align-items: center; padding: var(--dc-s-6); border-radius: var(--dc-r-xl);
                  background: var(--dc-surface); border: 1px dashed var(--dc-ice-3); }
#home .hm-empty svg { width: 140px; height: auto; }
#home .hm-empty h3 { font-size: var(--dc-fs-h3); font-weight: 500; }
#home .hm-empty p { color: var(--dc-ink-2); margin-top: var(--dc-s-2); max-width: 46ch; }
#home .hm-error { padding: var(--dc-s-4) var(--dc-s-4); border-radius: var(--dc-r-card); background: var(--dc-danger-soft); color: var(--dc-danger); }


#home .hm-learn { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: var(--dc-s-5); }
#home .hm-tile { position: relative; display: flex; flex-direction: column; gap: var(--dc-s-2); padding: var(--dc-s-5); border-radius: var(--dc-r-card); border: 1px solid var(--dc-ice);
                 text-align: left; cursor: pointer; text-decoration: none; color: var(--dc-ink); font: inherit;
                 background: var(--dc-surface); transition: transform var(--dc-t) var(--dc-ease), box-shadow var(--dc-t), border-color var(--dc-t); }
#home .hm-tile::before { content: ''; width: 36px; height: 4px; border-radius: var(--dc-r-pill); background: var(--dc-teal); margin-bottom: var(--dc-s-2); }
#home .hm-tile[data-tono="cobalt"]::before { background: var(--dc-cobalt); }
#home .hm-tile[data-tono="petroleum"]::before { background: var(--dc-petroleum); }
#home .hm-tile:hover { transform: translateY(-3px); box-shadow: var(--dc-shadow-2); border-color: var(--dc-ice-3); }
#home .hm-tile small { font-size: var(--dc-fs-fine); font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--dc-teal-ink); }
#home .hm-tile[data-tono="cobalt"] small { color: var(--dc-cobalt-ink); }
#home .hm-tile[data-tono="petroleum"] small { color: var(--dc-petroleum); }
#home .hm-tile b { font-size: var(--dc-fs-h3); font-weight: 500; line-height: 1.3; }
#home .hm-tile span { color: var(--dc-ink-2); font-size: var(--dc-fs-ui); }
#home .hm-tile .hm-go { margin-top: var(--dc-s-3); font-weight: 500; color: var(--dc-ink); font-size: var(--dc-fs-ui); }
#home .hm-tile:hover .hm-go { color: var(--dc-teal-ink); }


#home .hm-menu { position: fixed; z-index: var(--dc-z-pop); min-width: 210px; padding: var(--dc-s-2); border-radius: var(--dc-r-ctl); background: var(--dc-surface);
                 box-shadow: var(--dc-shadow-pop); animation: hm-menu 0.16s var(--dc-ease); }
@keyframes hm-menu { from { opacity: 0; transform: translateY(-4px) scale(0.98); } to { opacity: 1; transform: none; } }
#home .hm-menu button { display: flex; width: 100%; align-items: center; gap: var(--dc-s-3); min-height: var(--dc-h-sm); padding: 0 var(--dc-s-3); border: 0; border-radius: var(--dc-r-sm);
                        background: none; text-align: left; font-size: var(--dc-fs-ui); color: var(--dc-ink); cursor: pointer; }
#home .hm-menu button:hover, #home .hm-menu button:focus-visible { background: var(--dc-ice-2); outline: none; }
#home .hm-menu button[data-peligro="1"] { color: var(--dc-danger); }
#home .hm-menu hr { border: 0; height: 1px; background: var(--dc-ice); margin: var(--dc-s-1) var(--dc-s-2); }


#home .hm-scrim { position: fixed; inset: 0; z-index: var(--dc-z-modal); display: grid; place-items: center; padding: var(--dc-s-5); background: color-mix(in srgb, var(--dc-graphite) 55%, transparent);
                  animation: hm-fade 0.2s ease; }
@keyframes hm-fade { from { opacity: 0; } }
#home .hm-dialog { width: min(460px, 100%); max-height: calc(100vh - 40px); max-height: calc(100dvh - 40px); overflow: auto; padding: var(--dc-s-6); border-radius: var(--dc-r-xl);
                   background: var(--dc-surface); box-shadow: var(--dc-shadow-modal); animation: hm-pop-in 0.28s var(--dc-ease); }
@keyframes hm-pop-in { from { opacity: 0; transform: translateY(10px) scale(0.98); } }
#home .hm-dialog h2 { font-size: var(--dc-fs-title); font-weight: 500; letter-spacing: -0.01em; }
#home .hm-dialog p { color: var(--dc-ink-2); margin-top: var(--dc-s-2); }
#home .hm-dialog label { display: block; margin-top: var(--dc-s-4); font-size: var(--dc-fs-small); font-weight: 500; color: var(--dc-ink-2); }
#home .hm-dialog .dc-field { margin-top: var(--dc-s-2); }
#home .hm-dialog .hm-note { margin-top: var(--dc-s-3); font-size: var(--dc-fs-small); padding: var(--dc-s-3) var(--dc-s-3); border-radius: var(--dc-r-ctl); background: var(--dc-ice-2); color: var(--dc-petroleum); }
#home .hm-dialog .hm-zona { margin-top: var(--dc-s-5); padding-top: var(--dc-s-4); border-top: 1px solid var(--dc-line); }
#home .hm-dialog .hm-zona b { font-weight: 500; }
#home .hm-cuenta a { color: var(--dc-petroleum); text-decoration: underline; }
#home .hm-cuenta .hm-up { margin-top: var(--dc-s-4); }
#home .hm-dialog .hm-row { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: var(--dc-s-3); margin-top: var(--dc-s-5); }


.dc-explica .hm-escena { position: absolute; inset: 0; overflow: hidden; }

.dc-explica--alto .hm-escena { inset: auto var(--dc-s-5); top: 50%; transform: translateY(-50%); aspect-ratio: 16 / 10; border-radius: var(--dc-r-ctl); box-shadow: var(--dc-shadow-2); }
.dc-explica .hm-escena iframe { position: absolute; left: 0; top: 0; border: 0; transform-origin: 0 0; width: var(--vw, 864px); height: var(--vh, 560px);
                                opacity: 0; transition: opacity 0.4s, transform 0.7s cubic-bezier(0.65, 0, 0.35, 1); }
.dc-explica .hm-escena iframe.hm-on { opacity: 1; }
.dc-explica .hm-tour-list { list-style: none; margin: var(--dc-s-4) 0 0; padding: 0; display: grid; gap: var(--dc-s-1); font-size: var(--dc-fs-ui); }
.dc-explica .hm-tour-list li { position: relative; padding: var(--dc-s-2) var(--dc-s-3) var(--dc-s-2) 34px; border-radius: var(--dc-r-ctl); color: var(--dc-ink-2); transition: background-color 0.3s, color 0.3s; }
.dc-explica .hm-tour-list li::before { content: '+'; position: absolute; left: 13px; top: 8px; color: var(--dc-ink-3); font-weight: 500; }
.dc-explica .hm-tour-list[data-siguiendo="1"] li { color: var(--dc-ink-3); }
.dc-explica .hm-tour-list[data-siguiendo="1"] li:not([data-now="1"]) { display: none; }   
.dc-explica .hm-tour-list li[data-now="1"] { color: var(--dc-ink); }
.dc-explica .hm-tour-list li[data-now="1"]::before { color: var(--dc-teal-ink); }
.dc-explica .vt-placa p { color: var(--dc-on-dark-2); }   



#home .hm-me-btn { display: none; }



@media (max-width: 860px) {


  #home { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr; align-content: start; }
  #home .hm-side { position: sticky; top: 0; z-index: var(--dc-z-bar); height: auto; flex-direction: row; align-items: center; gap: var(--dc-s-3);
                   padding: var(--dc-s-3) var(--dc-s-4); padding-top: calc(var(--dc-s-3) + env(safe-area-inset-top, 0px)); }
  #home .hm-brand { padding: 0; margin-right: auto; }
  #home .hm-brand svg { height: 34px; }
  #home .hm-brand span { display: inline; font-size: var(--dc-fs-h3); }
  #home .hm-new { display: inline-flex; margin: 0; min-height: var(--dc-h); width: var(--dc-h); padding: 0; justify-content: center; border-radius: 50%; }
  #home .hm-new .hm-new-txt { display: none; }
  #home .hm-me-btn { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 2px solid var(--dc-line-dark);
                     background: var(--dc-petroleum); color: var(--dc-on-accent); font-size: var(--dc-fs-ui); font-weight: 500; cursor: pointer; flex-shrink: 0; }
  #home .hm-me-btn[aria-expanded="true"] { border-color: var(--dc-teal-on-dark); }


  #home .hm-nav { position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--dc-z-bar); display: grid; grid-template-columns: repeat(6, minmax(min-content, 1fr)); gap: 0;   
                  padding: var(--dc-s-2) var(--dc-s-2) calc(var(--dc-s-2) + env(safe-area-inset-bottom, 0px)); background: var(--dc-graphite);
                  border-top: 1px solid var(--dc-line-dark); box-shadow: 0 -8px 24px color-mix(in srgb, var(--dc-graphite) 18%, transparent); }
  #home .hm-nav a { flex-direction: column; justify-content: flex-start; gap: 3px; min-height: 52px; padding: var(--dc-s-1) 2px; border-radius: var(--dc-r-ctl);
                    font-size: var(--dc-fs-fine); line-height: 1.15; text-align: center; }
  #home .hm-nav a span { max-width: 100%; }   
  #home .hm-nav a .icon-mask { width: 26px; height: 26px; }
  #home .hm-nav a[aria-current="page"] { background: none; color: var(--dc-on-accent); }
  #home .hm-nav a[aria-current="page"]::before { left: 30%; right: 30%; top: 0; bottom: auto; width: auto; height: 3px; border-radius: 0 0 3px 3px; }
  #home .hm-nav .hm-count, #home .hm-nav-sep, #home .hm-nav a.hm-nav-import { display: none; }
  #home .hm-import { display: inline-flex; }   
  #home .hm-nav .hm-dot { position: absolute; top: 8px; left: calc(50% + 8px); margin: 0; }


  #home .hm-side-foot { display: none; position: absolute; top: calc(100% + 6px); right: 12px; width: min(300px, calc(100vw - 24px)); margin: 0;
                        padding: var(--dc-s-4); border-radius: var(--dc-r-card); background: var(--dc-graphite); border: 1px solid var(--dc-line-dark);
                        box-shadow: 0 18px 40px color-mix(in srgb, var(--dc-graphite) 35%, transparent); }
  #home .hm-side[data-cuenta="1"] .hm-side-foot { display: grid; animation: hm-cae 0.18s ease-out; }
  @keyframes hm-cae { from { opacity: 0; transform: translateY(-6px); } }

  #home .hm-main { padding: var(--dc-s-5) var(--dc-s-4) calc(96px + env(safe-area-inset-bottom, 0px)); }
  #home .hm-hero { padding: 26px var(--dc-s-5); }
  #home .hm-hero h1 { font-size: var(--dc-fs-head-l); }
  #home .hm-hero p { font-size: var(--dc-fs-body); }

  #home .hm-idea { width: 62%; top: 14px; right: 0; transform: none; opacity: 0.4; }
  #home .hm-sort { margin-left: 0; }
  #home .hm-empty { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {


  #home .hm-grid { grid-template-columns: minmax(0, 1fr); gap: var(--dc-s-3); }
  #home .hm-card { display: grid; grid-template-columns: 104px minmax(0, 1fr); align-items: center; }
  #home .hm-card:hover, #home .hm-card:focus-within { transform: none; }
  #home .hm-card-open { height: 100%; border-radius: var(--dc-r-card) 0 0 var(--dc-r-card); }
  #home .hm-thumb { aspect-ratio: auto; height: 100%; min-height: 78px; border-radius: calc(var(--dc-r-card) - 1px) 0 0 calc(var(--dc-r-card) - 1px);
                    border-bottom: 0; border-right: 1px solid var(--dc-ice); }
  #home .hm-thumb img { object-fit: contain; }   
  #home .hm-card-ejemplo .hm-thumb img { object-fit: cover; }   
  #home .hm-card-new .hm-thumb { border-right-style: dashed; }
  #home .hm-card-new .hm-thumb span { width: 40px; height: 40px; font-size: 22px; }
  #home .hm-card-body { padding: var(--dc-s-3) var(--dc-s-2) var(--dc-s-3) var(--dc-s-4); align-self: center; }
  #home .hm-card-name { font-size: var(--dc-fs-body); -webkit-line-clamp: 2; }
  #home .hm-badge { top: 6px; left: 6px; font-size: var(--dc-fs-fine); padding: 2px 7px; }


  #home .hm-hero { padding: var(--dc-s-5) var(--dc-s-4) var(--dc-s-4); border-radius: var(--dc-r-card); }
  #home .hm-hero h1 { font-size: var(--dc-fs-head-m); margin-top: 2px; }
  #home .hm-hero > p:not(:first-of-type) { display: none; }
  #home .hm-hero .hm-actions { margin-top: var(--dc-s-4); gap: var(--dc-s-3) var(--dc-s-4); }
  #home .hm-idea { display: none; }
  #home .hm-dialog { padding: var(--dc-s-5); }
}
@media (prefers-reduced-motion: reduce) {
  #home *, #home *::before, #home *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}











#home .hm-scrim:has(.hm-explora) { background: color-mix(in srgb, var(--dc-graphite) 28%, transparent); backdrop-filter: blur(1.5px); }
#home .hm-explora { width: min(1040px, 100%); height: min(720px, calc(100dvh - 48px)); padding: 0; display: flex; flex-direction: column; overflow: hidden; }
#home .hm-explora-head { display: flex; align-items: center; justify-content: space-between; gap: var(--dc-s-3); padding: 10px 10px 10px 18px; border-bottom: 1px solid var(--dc-ice); }
#home .hm-explora-head b { font-size: var(--dc-fs-ui); font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#home .hm-x { flex-shrink: 0; width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--dc-ice-2); color: var(--dc-ink); font-size: 22px; line-height: 1; cursor: pointer; }
#home .hm-x:hover { background: var(--dc-ice); }
#home .hm-explora-frame { flex: 1 1 auto; width: 100%; border: 0; background: var(--dc-ice-2); }
@media (max-width: 560px) {
  #home .hm-scrim:has(.hm-explora) {
    padding: calc(var(--dc-s-4) + env(safe-area-inset-top, 0px)) var(--dc-s-3) calc(var(--dc-s-4) + env(safe-area-inset-bottom, 0px)); }

  #home .hm-explora { height: min(620px, 80dvh); border-radius: var(--dc-r-xl); }
}
