.hte-embed{
  margin:34px 0 30px;
  background:#fff;
  border:1px solid #dfe7f1;
  border-radius:16px;
  box-shadow:0 6px 18px rgba(20,33,61,.08);
  overflow:hidden;
}
.hte-head{
  display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;
  background:#14213d;color:#fff;padding:12px 16px;
}
.hte-ttl{display:flex;align-items:center;gap:9px;font-weight:700;font-size:16px;line-height:1.4}
.hte-ic{
  width:26px;height:26px;flex:none;border-radius:7px;background:#b87333;
  background-image:url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round'%3E%3Crect x='4' y='3' width='16' height='18' rx='2'/%3E%3Cpath d='M8 8h8M8 12h8M8 16h4'/%3E%3C/svg%3E");
  background-size:18px 18px;background-position:center;background-repeat:no-repeat;
}
.hte-name{color:#fff}
.hte-chip{
  font-size:11px;font-weight:700;letter-spacing:.04em;
  background:#b87333;color:#fff;border-radius:999px;padding:3px 9px;white-space:nowrap;
}
.hte-acts{display:flex;gap:8px;align-items:center}
.hte-btn{
  font-size:13px;font-weight:700;line-height:1;
  border-radius:999px;padding:9px 14px;cursor:pointer;white-space:nowrap;
  border:1px solid rgba(255,255,255,.45);background:rgba(255,255,255,.08);color:#fff;
  text-decoration:none;display:inline-block;
}
.hte-btn:hover{background:rgba(255,255,255,.2);color:#fff}
a.hte-btn,a.hte-btn:visited{color:#fff;text-decoration:none;box-shadow:none}
.hte-lead{
  padding:12px 16px;font-size:13.5px;line-height:1.8;color:#3c4655;
  background:#f6f9fd;border-bottom:1px solid #e6edf6;
}
.hte-frame{position:relative;background:#f5f3ee;height:clamp(560px,78vh,880px);height:clamp(560px,78dvh,880px)}
.hte-if{display:block;width:100%;height:100%;border:0}
.hte-close{display:none}
.hte-more{margin-left:8px;font-weight:700;color:#1E80D8;text-decoration:underline;white-space:nowrap}
.hte-note{
  margin:0;padding:11px 16px;font-size:12px;line-height:1.75;color:#6b7480;
  background:#fafbfc;border-top:1px solid #edf1f6;
}
.hte-jump{
  display:flex;align-items:center;gap:12px;flex-wrap:wrap;
  margin:24px 0;padding:14px 16px;
  background:#f2f7ff;border:1px solid #d5e4fb;border-left:6px solid #1E80D8;border-radius:12px;
}
.hte-jump-btn{
  font-size:14.5px;font-weight:700;line-height:1;cursor:pointer;
  background:#1E80D8;color:#fff;border:0;border-radius:999px;padding:12px 20px;
}
.hte-jump-btn:hover{background:#1769b4}
.hte-jump-sub{font-size:12.5px;color:#5a6675}
.hte-embed.is-full{
  position:fixed;inset:0;z-index:99999;margin:0;border:0;border-radius:0;
  display:flex;flex-direction:column;box-shadow:none;
}
.hte-embed.is-full .hte-lead,.hte-embed.is-full .hte-note{display:none}
.hte-embed.is-full .hte-frame{flex:1 1 auto;height:auto;min-height:0}
.hte-embed.is-full .hte-close{
  display:block;position:absolute;right:14px;bottom:14px;z-index:5;
  font-size:13px;font-weight:700;line-height:1;cursor:pointer;
  background:#14213d;color:#fff;border:0;border-radius:999px;padding:11px 18px;
  box-shadow:0 4px 14px rgba(0,0,0,.3);
}
body.hte-lock{overflow:hidden}
body.admin-bar .hte-embed.is-full{top:32px}
@media (max-width:782px){body.admin-bar .hte-embed.is-full{top:46px}}
@media (max-width:640px){
  .hte-embed{margin:26px 0;border-radius:12px}
  .hte-head{padding:10px 12px}
  .hte-ttl{font-size:14.5px}
  .hte-btn{padding:8px 12px;font-size:12px}
  .hte-lead{font-size:12.5px;padding:10px 12px}
  .hte-frame{height:78vh;height:78dvh;min-height:520px}
  .hte-note{padding:10px 12px}
}
