#yuka-hprint-fab{
  position: fixed;
  z-index: 99999;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin: 0;
  border: 0;
  background: transparent;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

#yuka-hprint-fab .yuka-hprint-ico,
.yuka-hprint-head .yuka-hprint-ico{
  --the-icon-svg: url("data:image/svg+xml;base64,PHN2ZyBoZWlnaHQ9IjFlbSIgd2lkdGg9IjFlbSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiBhcmlhLWhpZGRlbj0idHJ1ZSIgdmlld0JveD0iMCAwIDI1NiAyNTYiPjxyZWN0IHdpZHRoPSIyNTYiIGhlaWdodD0iMjU2IiBmaWxsPSJub25lIj48L3JlY3Q+PHBvbHlsaW5lIHBvaW50cz0iNjQgODAgNjQgNDAgMTkyIDQwIDE5MiA4MCIgZmlsbD0ibm9uZSIgc3Ryb2tlPSJjdXJyZW50Q29sb3IiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIgc3Ryb2tlLXdpZHRoPSIxNiI+PC9wb2x5bGluZT48cmVjdCB4PSI2NCIgeT0iMTUyIiB3aWR0aD0iMTI4IiBoZWlnaHQ9IjY4IiBmaWxsPSJub25lIiBzdHJva2U9ImN1cnJlbnRDb2xvciIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIiBzdHJva2Utd2lkdGg9IjE2Ij48L3JlY3Q+PHBhdGggZD0iTTY0LDE3NkgyOFY5NmMwLTguOCw3LjgtMTYsMTcuMy0xNkgyMTAuN2M5LjUsMCwxNy4zLDcuMiwxNy4zLDE2djgwSDE5MiIgZmlsbD0ibm9uZSIgc3Ryb2tlPSJjdXJyZW50Q29sb3IiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIgc3Ryb2tlLXdpZHRoPSIxNiI+PC9wYXRoPjxjaXJjbGUgY3g9IjE4OCIgY3k9IjExNiIgcj0iMTIiPjwvY2lyY2xlPjwvc3ZnPg==");
  color: #C1A589;
  display: inline-block;
  line-height: 1;
}

#yuka-hprint-fab .yuka-hprint-ico{
  font-size: 28px;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, .18));
  opacity: .92;
}

#yuka-hprint-fab:focus{
  outline: none;
}

#yuka-hprint-fab:focus-visible{
  outline: 2px solid rgba(193, 165, 137, .9);
  outline-offset: 4px;
  border-radius: 10px;
}

.yuka-hprint-head .yuka-hprint-ico{
  font-size: 22px;
  opacity: .95;
}

.yuka-hprint-ico::before{
  content: "";
  display: inline-block;
  width: 1em;
  height: 1em;
  background-color: currentColor;
  -webkit-mask-image: var(--the-icon-svg);
  mask-image: var(--the-icon-svg);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-position: center;
  mask-position: center;
}

#yuka-hprint-panel{
  position: fixed;
  left: 50%;
  top: 52%;
  transform: translate(-50%, -50%);
  z-index: 99999;
  width: min(420px, calc(100vw - 28px));
  max-height: min(70vh, 560px);
  background: rgba(25, 25, 25, .92);
  color: rgba(255, 255, 255, .92);
  border-radius: 16px;
  box-shadow: 0 18px 60px rgba(0, 0, 0, .35);
  display: none;
  overflow: hidden;
}

body.yuka-hprint-open #yuka-hprint-panel{
  display: block;
}

.yuka-hprint-head{
  padding: 14px 14px 10px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.yuka-hprint-headtxt{
  flex: 1 1 auto;
}

.yuka-hprint-title{
  margin: 0;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .02em;
  color: rgba(255, 255, 255, .94);
}

.yuka-hprint-sub{
  margin-top: 6px;
  font-size: 12px;
  color: rgba(255, 255, 255, .70);
  line-height: 1.45;
}

.yuka-hprint-body{
  padding: 10px 12px 12px;
  overflow: auto;
  max-height: calc(70vh - 120px);
}

.yuka-hprint-item{
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 12px;
  margin: 0 0 10px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, .14);
  background: rgba(255, 255, 255, .06);
  cursor: pointer;
  text-align: left;
}

.yuka-hprint-bullet{
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .65);
  flex: 0 0 auto;
}

.yuka-hprint-text{
  font-size: 14px;
  color: rgba(255, 255, 255, .92);
  line-height: 1.35;
  word-break: break-word;
}

.yuka-hprint-level{
  margin-left: auto;
  font-size: 11px;
  color: rgba(255, 255, 255, .55);
  flex: 0 0 auto;
}

.yuka-hprint-foot{
  padding: 12px 12px 14px;
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  border-top: 1px solid rgba(255, 255, 255, .12);
  background: rgba(255, 255, 255, .04);
}

.yuka-hprint-btn{
  border: 0;
  border-radius: 12px;
  padding: 10px 12px;
  cursor: pointer;
  font-size: 13px;
}

.yuka-hprint-close{
  background: rgba(255, 255, 255, .10);
  color: rgba(255, 255, 255, .86);
}

.yuka-hprint-help{
  background: rgba(255, 255, 255, .18);
  color: rgba(255, 255, 255, .92);
  font-weight: 800;
}

#yuka-hprint-print-root{
  display: none;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Hiragino Sans", "Noto Sans JP", sans-serif;
  color: #111;
}

#yuka-hprint-print-root .yuka-print-meta{
  margin: 0 0 14px;
  padding: 0 0 10px;
  border-bottom: 1px solid #ddd;
}

#yuka-hprint-print-root .yuka-print-site{
  font-size: 12px;
  color: #555;
}

#yuka-hprint-print-root .yuka-print-title{
  font-size: 18px;
  font-weight: 700;
  margin-top: 4px;
}

#yuka-hprint-print-root .yuka-print-sub{
  font-size: 11px;
  color: #777;
  margin-top: 6px;
  word-break: break-all;
}

#yuka-hprint-print-root .yuka-print-meta-grid{
  display: flex;
  gap: 14px;
  align-items: flex-start;
  justify-content: space-between;
}

#yuka-hprint-print-root .yuka-print-meta-main{
  flex: 1 1 auto;
  min-width: 0;
}

#yuka-hprint-print-root .yuka-print-meta-qr{
  display: flex;
  gap: 10px;
  flex: 0 0 auto;
  align-items: flex-start;
}

#yuka-hprint-print-root .yuka-print-qr-box{
  width: 96px;
  text-align: center;
}

#yuka-hprint-print-root .yuka-print-qr-box img{
  display: block;
  width: 96px;
  height: 96px;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 4px;
  background: #fff;
  box-sizing: border-box;
}

#yuka-hprint-print-root .yuka-print-qr-cap{
  margin-top: 4px;
  font-size: 10px;
  line-height: 1.35;
  color: #666;
  word-break: break-word;
}

#yuka-hprint-print-root .yuka-print-content{
  font-size: 13px;
  line-height: 1.7;
}

#yuka-hprint-print-root .yuka-print-content table{
  width: 100%;
  border-collapse: collapse;
}

#yuka-hprint-print-root .yuka-print-content th,
#yuka-hprint-print-root .yuka-print-content td{
  border: 1px solid #ddd;
  padding: 6px 8px;
  vertical-align: top;
}

#yuka-hprint-print-root .yuka-print-content img{
  max-width: 100%;
  height: auto;
}

#yuka-hprint-print-root a{
  color: #111;
  text-decoration: underline;
  word-break: break-all;
}

#yuka-hprint-print-root .yuka-print-iframe-meta{
  margin: 4px 0 10px;
  padding: 8px 10px;
  border: 1px solid #ddd;
  border-radius: 10px;
  background: #fafafa;
  break-inside: avoid;
  page-break-inside: avoid;
}

#yuka-hprint-print-root .yuka-print-iframe-meta-inner{
  display: flex;
  gap: 12px;
  align-items: flex-start;
  justify-content: space-between;
}

#yuka-hprint-print-root .yuka-print-iframe-text{
  flex: 1 1 auto;
  min-width: 0;
}

#yuka-hprint-print-root .yuka-print-iframe-note{
  margin: 0 0 6px;
  font-size: 11px;
  color: #666;
}

#yuka-hprint-print-root .yuka-print-iframe-url{
  margin: 0;
  font-size: 12px;
  color: #333;
}

#yuka-hprint-print-root .yuka-print-iframe-qr{
  flex: 0 0 auto;
}

@media print{
  body.yuka-hprint-printing > *{
    display: none !important;
  }

  body.yuka-hprint-printing #yuka-hprint-print-root{
    display: block !important;
  }

  body.yuka-hprint-printing #yuka-hprint-print-root a{
    word-break: break-all;
  }

  body.yuka-hprint-printing #yuka-hprint-print-root .yuka-print-iframe-url{
    margin: 0;
    font-size: 12px;
    color: #333;
  }

  #yuka-hprint-print-root .yuka-print-qr-box{
    width: 88px;
  }

  #yuka-hprint-print-root .yuka-print-qr-box img{
    width: 88px;
    height: 88px;
  }

  @page{
    margin: 12mm;
  }
}
