/* Yodobashi Special Download Page — full stylesheet */
.ytdl-page {
  --navy: #061633;
  --blue: #1679ff;
  --cyan: #51e7ff;
  --ink: #f6fbff;
  position: relative;
  isolation: isolate;
  display: block;
  width: 100%;
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  padding: 10px 16px 18px;
  overflow-x: hidden;
  overflow-y: auto;
  background: radial-gradient(ellipse at 50% 24%, #124a91 0, #081d43 42%, #030b1d 100%);
  color: var(--ink);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  box-sizing: border-box;
}
.ytdl-page *, .ytdl-page *::before, .ytdl-page *::after { box-sizing: border-box; }
.ytdl-page button, .ytdl-page input { font: inherit; }
.ytdl-orb { position: absolute; z-index: -1; border-radius: 50%; filter: blur(1px); pointer-events: none; }
.ytdl-orb-one { width: 380px; height: 380px; left: -180px; top: 380px; background: radial-gradient(circle, rgba(0,174,255,.2), transparent 68%); }
.ytdl-orb-two { width: 430px; height: 430px; right: -220px; top: 100px; background: radial-gradient(circle, rgba(18,103,255,.25), transparent 68%); }
.ytdl-shell { width: min(100%, 1100px); max-width: 1100px; margin: 0 auto; }
.ytdl-topline { display: flex; align-items: center; gap: 12px; margin: 0 auto 7px; color: #fff; font-size: 15px; font-weight: 900; letter-spacing: .12em; }
.ytdl-topline small { display: block; margin-top: 3px; color: #95cfff; font-size: 9px; letter-spacing: .2em; }
.ytdl-brand-mark, .ytdl-intro-symbol { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid rgba(255,255,255,.5); border-radius: 12px; background: linear-gradient(145deg,#ff3434,#bd090d); box-shadow: 0 0 24px rgba(255,34,52,.35); font-size: 27px; font-weight: 950; font-style: italic; }
.ytdl-live { margin-left: auto; padding: 8px 11px; border: 1px solid rgba(111,204,255,.28); border-radius: 999px; background: rgba(6,31,71,.52); color: #a7ddff; font-size: 9px; letter-spacing: .16em; white-space: nowrap; }
.ytdl-live i, .ytdl-pulse { display: inline-block; width: 7px; height: 7px; margin-right: 6px; border-radius: 50%; background: #48f4b5; box-shadow: 0 0 10px #48f4b5; }
.ytdl-art { display: flex; justify-content: center; align-items: center; max-width: 100%; margin: 0 auto; overflow: hidden; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.ytdl-art img { display: block; width: auto; height: clamp(145px, 34svh, 345px); max-width: 100%; max-height: none; object-fit: contain; }
.ytdl-content { max-width: 800px; margin: 0 auto; padding: 9px 10px 0; text-align: center; }
.ytdl-eyebrow { margin: 0 0 7px; color: #7ce9ff; font-size: 9px; font-weight: 800; letter-spacing: .28em; }
.ytdl-content h1 { margin: 0; color: #fff; font-size: clamp(26px, 4vw, 43px); font-weight: 950; line-height: .99; letter-spacing: -.055em; text-shadow: 0 4px 28px rgba(26,161,255,.25); }
.ytdl-content h1 span { color: #5be8ff; }
.ytdl-subtitle { margin: 8px 0 12px; color: #c1d9f7; font-size: 13px; }
.ytdl-countdown { max-width: 570px; margin: 0 auto 12px; padding: 11px 15px 10px; border: 1px solid rgba(79,196,255,.48); border-radius: 15px; background: linear-gradient(130deg,rgba(7,28,71,.95),rgba(3,15,45,.9)); box-shadow: inset 0 0 35px rgba(0,117,255,.16), 0 0 30px rgba(0,147,255,.14); }
.ytdl-count-title { margin-bottom: 8px; color: #b8d7ff; font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.ytdl-clock { display: flex; justify-content: center; align-items: flex-start; gap: clamp(7px, 2vw, 18px); }
.ytdl-clock div { min-width: 50px; }
.ytdl-clock b { display: block; color: #fff; font-size: clamp(27px, 4.5vw, 39px); font-variant-numeric: tabular-nums; line-height: 1; text-shadow: 0 0 20px rgba(68,197,255,.5); }
.ytdl-clock small { display: block; margin-top: 4px; color: #a6c6ec; font-size: 8px; font-weight: 800; letter-spacing: .16em; }
.ytdl-clock em { padding-top: 2px; color: #44caff; font-size: 23px; font-style: normal; }
.ytdl-download { position: relative; display: flex; align-items: center; justify-content: center; gap: 15px; width: min(100%, 390px); min-height: 57px; margin: 0 auto; padding: 10px 20px; border: 1px solid #ffb4b4; border-radius: 15px; background: linear-gradient(180deg,#ff5755 0%,#ec151f 60%,#c90016 100%); color: #fff; font-size: 21px; font-weight: 950; letter-spacing: .05em; box-shadow: 0 6px 0 #890516, 0 0 28px rgba(255,36,49,.48), inset 0 2px 0 rgba(255,255,255,.35); cursor: pointer; transition: transform .18s ease, filter .18s ease, box-shadow .18s ease; animation: ytdl-breathe 2.5s ease-in-out infinite; }
.ytdl-download:hover { filter: brightness(1.12); transform: translateY(-2px); box-shadow: 0 8px 0 #890516, 0 0 39px rgba(255,36,49,.65), inset 0 2px 0 rgba(255,255,255,.35); }
.ytdl-download:active { transform: translateY(3px); box-shadow: 0 3px 0 #890516, 0 0 18px rgba(255,36,49,.5); }
.ytdl-download:disabled { opacity: .58; cursor: not-allowed; animation: none; }
.ytdl-download-icon { display: grid; place-items: center; width: 31px; height: 31px; border: 2px solid currentColor; border-radius: 9px; font-size: 29px; line-height: 25px; }
.ytdl-arrow { position: absolute; right: 19px; font-size: 17px; opacity: .8; }
.ytdl-note { min-height: 14px; margin: 9px 0 14px; color: #b8d0ef; font-size: 10px; }
.ytdl-features { display: grid; grid-template-columns: repeat(3, 1fr); max-width: 700px; gap: 5px; margin: 0 auto; padding: 9px 7px; border-top: 1px solid rgba(111,189,255,.2); border-bottom: 1px solid rgba(111,189,255,.2); }
.ytdl-features div { display: grid; justify-items: center; gap: 3px; padding: 4px; }
.ytdl-features span { display: grid; place-items: center; width: 29px; height: 29px; border: 1px solid #51cfff; border-radius: 50%; color: #88eaff; font-size: 15px; box-shadow: 0 0 18px rgba(35,179,255,.19); }
.ytdl-features b { font-size: 10px; }
.ytdl-features small { color: #a8c4e7; font-size: 9px; }
.ytdl-contact { max-width: 620px; margin: 13px auto 0; }
.ytdl-contact > .ytdl-eyebrow { margin-bottom: 7px; }
.ytdl-contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ytdl-contact-card { display: flex; align-items: center; gap: 10px; min-width: 0; padding: 8px 10px; border: 1px solid rgba(107,197,255,.3); border-radius: 11px; background: linear-gradient(120deg,rgba(10,42,86,.9),rgba(6,23,54,.9)); color: #f3fbff; text-align: left; text-decoration: none; transition: transform .2s ease,border-color .2s ease,box-shadow .2s ease; }
.ytdl-contact-card:hover { transform: translateY(-2px); border-color: rgba(89,220,255,.75); box-shadow: 0 8px 24px rgba(0,110,220,.2); color: #fff; }
.ytdl-contact-icon { display: grid; flex: 0 0 30px; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: #087df1; color: #fff; font-size: 17px; font-weight: 900; }
.ytdl-contact-zalo .ytdl-contact-icon { background: #087df1; }
.ytdl-contact-facebook .ytdl-contact-icon { background: #1877f2; font-family: Arial,sans-serif; font-size: 23px; }
.ytdl-contact-text { display: block; min-width: 0; }
.ytdl-contact-text small { display: block; margin-bottom: 3px; color: #82dcff; font-size: 8px; font-weight: 800; letter-spacing: .18em; }
.ytdl-contact-text b { display: block; overflow-wrap: anywhere; color: #f6fbff; font-size: 11px; }
.ytdl-contact-arrow { margin-left: auto; color: #77dfff; font-size: 17px; }
.ytdl-disclaimer { max-width: 680px; margin: 9px auto 0; color: #829bbd; font-size: 9px; line-height: 1.6; }
.ytdl-intro, .ytdl-modal { position: fixed; z-index: 999999; inset: 0; display: none; align-items: center; justify-content: center; padding: 20px; background: rgba(1,7,22,.86); backdrop-filter: blur(14px); }
.ytdl-intro.is-visible, .ytdl-modal.is-visible { display: flex; animation: ytdl-fade .45s ease both; }
.ytdl-intro-card, .ytdl-modal-card { position: relative; width: min(100%, 490px); padding: 35px 28px; border: 1px solid rgba(99,212,255,.45); border-radius: 24px; background: radial-gradient(ellipse at 50% 0%,#123c76,#071733 72%); text-align: center; box-shadow: 0 25px 90px rgba(0,0,0,.56),0 0 55px rgba(0,137,255,.22); animation: ytdl-rise .65s cubic-bezier(.2,.8,.2,1) both; }
.ytdl-intro-symbol { width: 55px; height: 55px; margin: 0 auto 19px; font-size: 36px; }
.ytdl-intro-card h2 { margin: 0; color: #fff; font-size: clamp(29px,7vw,42px); line-height: 1.1; letter-spacing: -.04em; }
.ytdl-intro-card h2 span { color: #5be8ff; }
.ytdl-intro-card > p:not(.ytdl-eyebrow) { margin: 10px 0 22px; color: #bdd9f8; font-size: 16px; }
.ytdl-intro-enter, .ytdl-password-form button { width: 100%; padding: 14px; border: 0; border-radius: 12px; background: linear-gradient(100deg,#1b8bff,#04c6e5); color: #04172f; font-size: 13px; font-weight: 950; letter-spacing: .1em; cursor: pointer; box-shadow: 0 8px 25px rgba(0,157,255,.25); transition: filter .18s,transform .18s; }
.ytdl-intro-enter:hover, .ytdl-password-form button:hover { filter: brightness(1.12); transform: translateY(-1px); }
.ytdl-intro-enter span { margin-left: 9px; font-size: 18px; }
.ytdl-intro-card > small { display: block; margin-top: 15px; color: #89a9d1; font-size: 11px; }
.ytdl-modal-card { width: min(100%, 420px); padding: 34px 26px; }
.ytdl-modal-close { position: absolute; top: 10px; right: 13px; border: 0; background: none; color: #aec7e9; font-size: 28px; cursor: pointer; }
.ytdl-lock { display: grid; place-items: center; width: 46px; height: 46px; margin: 0 auto 16px; border: 1px solid rgba(84,207,255,.6); border-radius: 14px; color: #67dcff; font-size: 25px; }
.ytdl-modal-card h2 { margin: 0; color: #fff; font-size: 25px; }
.ytdl-modal-copy { margin: 9px 0 18px; color: #a9c1df; font-size: 13px; line-height: 1.5; }
.ytdl-password-form input { width: 100%; margin: 0 0 12px; padding: 13px 14px; border: 1px solid rgba(126,190,255,.3); border-radius: 10px; outline: none; background: rgba(2,13,34,.75); color: #fff; }
.ytdl-password-form input:focus { border-color: #45cfff; box-shadow: 0 0 0 3px rgba(43,184,255,.14); }
.ytdl-password-form input::placeholder { color: #7893b6; }
.ytdl-password-form button { color: #06162d; }
.ytdl-error { min-height: 18px; margin: 10px 0 0; color: #ff8d91; font-size: 12px; }
.ytdl-toast { position: fixed; z-index: 1000000; left: 50%; bottom: 25px; display: none; transform: translateX(-50%); padding: 12px 18px; border: 1px solid rgba(255,255,255,.2); border-radius: 10px; background: #101d37; color: #fff; font-size: 13px; box-shadow: 0 10px 30px #0008; }
.ytdl-toast.is-visible { display: block; }
.ytdl-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.ytdl-fullscreen-wrapper { width: 100%!important; max-width: none!important; min-height: 0!important; margin: 0!important; padding: 0!important; border: 0!important; border-radius: 0!important; box-shadow: none!important; background: transparent!important; }
.ytdl-fullscreen-html, .ytdl-fullscreen-body { width: 100%!important; min-height: 100%!important; margin: 0!important; padding: 0!important; overflow-x: hidden!important; }
body.ytdl-fullscreen-body { background: #030b1d!important; }
@keyframes ytdl-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes ytdl-rise { from { opacity: 0; transform: translateY(18px) scale(.97); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes ytdl-breathe { 0%,100% { filter: drop-shadow(0 0 0 rgba(255,54,66,0)); } 50% { filter: drop-shadow(0 0 11px rgba(255,65,80,.35)); } }
/* Standalone WordPress template: never show theme chrome or admin bar. */
html.ytdl-fullscreen-html, body.ytdl-standalone-document { width: 100%; min-height: 100%; margin: 0!important; padding: 0!important; overflow-x: hidden!important; background: #030b1d!important; }
body.ytdl-standalone-document > :not(#ytdl-standalone-main) { display: none!important; }
body.ytdl-standalone-document #wpadminbar { display: none!important; }
#ytdl-standalone-main { display: block!important; width: 100%!important; max-width: none!important; margin: 0!important; padding: 0!important; background: transparent!important; }
.ytdl-page { overflow-x: hidden!important; overflow-y: auto!important; }
@media (max-width: 600px) {
  .ytdl-page { padding: 8px 11px 14px; }
  .ytdl-topline { gap: 8px; font-size: 11px; }
  .ytdl-brand-mark { width: 32px; height: 32px; font-size: 21px; }
  .ytdl-topline small { font-size: 8px; }
  .ytdl-live { padding: 6px 8px; font-size: 7px; }
  .ytdl-art img { height: clamp(125px,27svh,220px); }
  .ytdl-content { padding: 7px 2px 0; }
  .ytdl-content h1 { font-size: clamp(25px,7vw,35px); }
  .ytdl-subtitle { margin: 6px 0 9px; font-size: 12px; }
  .ytdl-countdown { padding: 9px 8px 8px; }
  .ytdl-clock { gap: 5px; }
  .ytdl-clock div { min-width: 0; flex: 1; }
  .ytdl-clock b { font-size: clamp(26px,7vw,34px); }
  .ytdl-clock em { font-size: 19px; }
  .ytdl-clock small { font-size: 7px; letter-spacing: .08em; }
  .ytdl-download { min-height: 53px; font-size: 19px; }
  .ytdl-features { padding: 7px 0; }
  .ytdl-features b { font-size: 9px; }
  .ytdl-features small { font-size: 8px; }
  .ytdl-contact-grid { grid-template-columns: 1fr 1fr; gap: 6px; }
  .ytdl-contact-card { gap: 7px; padding: 7px 8px; }
  .ytdl-contact-icon { flex-basis: 27px; width: 27px; height: 27px; }
  .ytdl-contact-text b { font-size: 9px; }
  .ytdl-contact-arrow { font-size: 13px; }
  .ytdl-disclaimer { font-size: 8px; }
}
@media (max-height: 700px) {
  .ytdl-page { padding-top: 6px; padding-bottom: 8px; }
  .ytdl-art img { height: clamp(105px,23svh,190px); }
  .ytdl-content { padding-top: 5px; }
  .ytdl-subtitle { margin: 4px 0 7px; }
  .ytdl-countdown { padding: 7px 10px; margin-bottom: 8px; }
  .ytdl-note { margin: 6px 0 8px; }
  .ytdl-contact { margin-top: 8px; }
  .ytdl-disclaimer { margin-top: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  .ytdl-page *, .ytdl-page *::before, .ytdl-page *::after { scroll-behavior: auto!important; animation-duration: .01ms!important; animation-iteration-count: 1!important; transition-duration: .01ms!important; }
}
