/* Shared raised controls retain the HUB palette and existing button footprint. */
body .btn, body .site-header .header-call {
  --control-edge: #cbd0dc;
  --control-shadow: #27335420;
  box-shadow: inset 0 2px 1px #ffffffb3, inset 0 -2px 2px #18243b12, 0 4px 0 var(--control-edge), 0 8px 15px var(--control-shadow);
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
}
body .btn.primary { --control-edge: #3730a3; --control-shadow: #4f46e526; box-shadow: inset 0 2px 1px #ffffff40, inset 0 -2px 2px #20177330, 0 4px 0 var(--control-edge), 0 8px 15px var(--control-shadow); }
body .btn.dark { --control-edge: #13171f; }
@media (hover: hover) {
  body .btn:hover, body .site-header .header-call:hover { transform: translateY(-2px); box-shadow: inset 0 2px 1px #ffffff70, inset 0 -2px 2px #18243b12, 0 6px 0 var(--control-edge), 0 11px 18px var(--control-shadow); }
}
body .btn:active, body .site-header .header-call:active { transform: translateY(3px); box-shadow: inset 0 2px 3px #18243b25, 0 1px 0 var(--control-edge), 0 3px 5px var(--control-shadow); }
body .btn:focus-visible, .online-options button:focus-visible { outline: 3px solid #087f76; outline-offset: 7px; }
.online-options { background: #fff; border-block: 1px solid #e6e7eb; }
.online-options, #online-membership-title, #online-certificates { scroll-margin-top: 165px; }
.online-options h2, .online-options h3, .online-options h4, .online-options p { margin: 0; word-break: keep-all; overflow-wrap: anywhere; letter-spacing: 0; }
.online-heading h2 { font-size: 1.85rem; line-height: 1.45; }
.online-options h3 { font-size: 1.35rem; line-height: 1.5; }
.online-heading > p, .online-platform p, .online-membership header > p { margin-top: 12px; color: #62656c; font-size: .97rem; line-height: 1.8; }
.online-auth { margin-top: 30px; padding-block: 24px; border-top: 1px solid #e6e7eb; }
.online-auth > h3 { font-size: 1.1rem; }
.online-auth-image { position: relative; display: block; margin: 16px 0 0; width: min(100%, 940px); border: 1px solid #e6e7eb; border-radius: 8px; background: #fff; overflow: hidden; }
.online-auth-image img { width: 100%; height: auto; display: block; aspect-ratio: 2170 / 520; object-fit: cover; object-position: center; }
.online-auth-image > span { position: absolute; display: inline-flex; align-items: center; gap: 5px; right: 8px; bottom: 7px; padding: 5px 8px; color: #34383e; background: #ffffffed; font-size: .75rem; border: 1px solid #dfe3e8; border-radius: 4px; }
.online-auth-image .ui-icon { width: 15px; height: 15px; flex-basis: 15px; }
.online-certificates { display: flex; flex-wrap: wrap; gap: 8px 16px; list-style: none; padding: 0; margin: 16px 0 22px; color: #555b64; font-size: .85rem; }
.online-certificates li { display: inline-flex; align-items: center; gap: 6px; line-height: 1.8; }
.online-certificates .online-naver-certificate { color: #116238; font-weight: 800; }
.online-naver-certificate small { background: #126b39; color: #fff; border-radius: 4px; padding: 1px 5px; font-size: .67rem; }
.online-naver-notice { display: flex; align-items: center; gap: 18px; padding: 23px; border-left: 4px solid #169450; background: #effaf3; }
.online-naver-symbol { display: grid; place-items: center; width: 42px; height: 42px; flex: 0 0 42px; color: #fff; background: #058c44; border-radius: 8px; font-size: 1.6rem; font-weight: 900; }
.online-naver-notice > div { min-width: 0; flex: 1; }
.online-naver-notice strong { color: #155d35; font-size: 1rem; line-height: 1.7; }
.online-naver-notice p { color: #3e6150; font-size: .85rem; line-height: 1.8; margin-top: 7px; }
body .online-app-jump { color: #155d35; border-color: #b8d8c5; --control-edge: #b8d8c5; flex-shrink: 0; font-size: .85rem; }
.online-options .online-note { color: #676d76; font-size: .82rem; line-height: 1.8; margin-top: 16px; }
.online-platform { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 30px; padding: 34px 0; border-block: 1px solid #e3e5ed; }
.online-method-number { display: block; font-size: .81rem; font-weight: 800; color: #4f46e5; margin-bottom: 12px; }
.online-platform .online-note { margin-top: 7px; }
.online-platform-action { min-height: 52px; }
.online-membership { padding-top: 34px; }
.online-naver-badge { display: inline-block; padding: 5px 9px; background: #effaf3; border: 1px solid #c8e8d3; color: #126b39; border-radius: 4px; font-size: .79rem; font-weight: 750; margin-top: 12px; }
.online-owner-notice { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 24px; padding: 24px; border-left: 4px solid #4f46e5; background: #f0f2ff; color: #292458; }
.online-owner-notice > div { min-width: 0; }
.online-owner-label { color: #4338ca; font-size: .78rem; font-weight: 800; }
.online-owner-notice h4 { margin-top: 6px; font-size: 1.12rem; line-height: 1.6; }
.online-owner-notice > div > p { margin-top: 8px; color: #555670; font-size: .85rem; line-height: 1.8; }
.online-owner-notice .online-owner-value { display: grid; grid-template-columns: auto auto; align-items: baseline; gap: 4px 14px; flex-shrink: 0; margin: 0; }
.online-owner-value > span { grid-column: 1 / -1; font-size: .84rem; font-weight: 700; }
.online-owner-value > strong { color: #3730a3; font-size: 2rem; font-weight: 900; font-variant-numeric: tabular-nums; line-height: 1.4; }
.online-owner-value > b { color: #292458; font-size: 1.1rem; white-space: nowrap; }
.online-app-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 24px; }
.online-app-card { min-width: 0; border: 1px solid #dae6e5; border-radius: 8px; background: #fff; overflow: hidden; }
.online-app-banner { display: block; width: 100%; height: auto; aspect-ratio: 2; object-fit: contain; }
.online-app-body { padding: 24px 22px 28px; }
.online-network { color: #087f76; font-size: .8rem; font-weight: 800; }
.online-app-card[data-network="lg"] .online-network { color: #b71e67; }
.online-options h4 { margin-top: 6px; font-size: 1.08rem; }
.online-store-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 20px; }
body .online-store-link { min-width: 0; min-height: 76px; justify-content: space-between; padding: 12px 14px; background: #f8f9fc; color: #252b36; border-color: #d9dee7; }
.online-store-link > span { min-width: 0; display: grid; gap: 2px; }
.online-store-link small { font-size: .7rem; line-height: 1.5; font-weight: 500; }
.online-store-link strong { font-size: 1rem; line-height: 1.4; white-space: nowrap; }
.online-store-link .ui-icon { width: 17px; height: 17px; flex-basis: 17px; }
.online-app-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; padding: 28px 0 0; margin: 28px 0 0; border-top: 1px solid #e6e7eb; list-style: none; }
.online-app-steps li { display: flex; gap: 12px; min-width: 0; }
.online-app-steps li > span { color: #4f46e5; font-size: .84rem; font-weight: 800; padding-top: 2px; }
.online-app-steps strong { font-size: .92rem; line-height: 1.6; }
.online-app-steps p { color: #62656c; font-size: .82rem; line-height: 1.75; margin-top: 6px; }
.online-help { display: flex; align-items: center; justify-content: space-between; gap: 20px; border-top: 1px solid #e6e7eb; margin-top: 30px; padding-top: 26px; }
.online-help p { color: #62656c; font-size: .9rem; }
.online-help .btn { flex-shrink: 0; }
.online-image-dialog { border: 0; border-radius: 8px; padding: 20px; width: min(1100px, calc(100% - 32px)); max-height: calc(100dvh - 32px); overflow: auto; color: #252b36; }
.online-image-dialog::backdrop { background: #111827b3; }
.online-image-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.online-image-toolbar h2 { font-size: 1.1rem; }
.online-image-toolbar button { display: grid; place-items: center; width: 44px; height: 44px; flex: 0 0 44px; border: 1px solid #dce0e6; border-radius: 6px; background: #f8f9fc; color: #252b36; cursor: pointer; }
.online-image-dialog img { display: block; width: 100%; height: auto; margin-top: 12px; }
.online-image-dialog > p { margin-top: 12px; font-size: .85rem; line-height: 1.7; color: #126b39; }
@media (max-width: 900px) {
  .online-owner-notice { flex-direction: column; align-items: flex-start; gap: 16px; }
  .online-options, #online-membership-title, #online-certificates { scroll-margin-top: 24px; }
  .online-naver-notice { flex-wrap: wrap; }
  .online-naver-notice > div { flex-basis: calc(100% - 60px); }
  .online-naver-notice .btn { margin-left: 60px; }
  .online-platform { grid-template-columns: 1fr; gap: 20px; }
  .online-platform .btn { justify-self: start; }
  .online-store-links { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .online-owner-notice { padding: 20px 16px; }
  .online-owner-notice h4 { font-size: 1rem; }
  .online-heading h2 { font-size: 1.4rem; }
  .online-options h3 { font-size: 1.14rem; }
  .online-heading > p, .online-platform p, .online-membership header > p { font-size: .9rem; }
  .online-auth { margin-top: 24px; }
  .online-auth-image img { aspect-ratio: 2170 / 680; }
  .online-auth-image > span { position: static; display: flex; justify-content: flex-end; border: 0; border-top: 1px solid #edf0f3; }
  .online-certificates { gap: 7px 14px; font-size: .78rem; }
  .online-naver-notice { padding: 18px 14px; gap: 12px; }
  .online-naver-symbol { width: 32px; height: 32px; flex-basis: 32px; font-size: 1.2rem; }
  .online-naver-notice > div { flex-basis: calc(100% - 44px); }
  .online-naver-notice strong { font-size: .9rem; }
  .online-naver-notice p { font-size: .8rem; }
  .online-naver-notice .btn { margin-left: 44px; padding: 10px 14px; }
  .online-platform, .online-membership { padding-top: 28px; }
  .online-platform .btn { justify-self: stretch; font-size: .86rem; }
  .online-app-grid { grid-template-columns: 1fr; gap: 20px; }
  .online-app-body { padding: 20px 16px 25px; }
  .online-store-links { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  body .online-store-link { padding: 12px 10px; gap: 4px; }
  .online-store-link strong { font-size: .88rem; }
  .online-store-link small { font-size: .65rem; }
  .online-app-steps { grid-template-columns: 1fr; gap: 20px; }
  .online-help { flex-direction: column; align-items: stretch; gap: 16px; }
  .online-image-dialog { padding: 16px; }
}
@media (max-width: 360px) { .online-store-links { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) {
  body .btn, body .site-header .header-call { transition: none; }
  body .btn:is(:hover, :active), body .site-header .header-call:is(:hover, :active) { transform: none; }
}
