:root {
  color-scheme: light;
  --ink: #16253b;
  --muted: #50627c;
  --line: #dbe5f1;
  --blue: #204dc9;
  --wash: #edf3ff;
  font-family: "Inter", "Malgun Gothic", "Apple SD Gothic Neo", sans-serif;
  color: var(--ink);
  background: #f8fafc;
  line-height: 1.65;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body, h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3, p { word-break: keep-all; overflow-wrap: anywhere; }
a { color: var(--blue); }
a:hover { text-decoration: underline; }
:focus-visible { outline: 3px solid #255de1; outline-offset: 4px; }
.wrap { width: min(1200px, calc(100% - 40px)); margin-inline: auto; }
.site-header { background: #fff; border-bottom: 1px solid var(--line); }
.header-inner, .site-footer .wrap { min-height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { font-weight: 850; font-size: 22px; color: #168bbd; text-decoration: none; letter-spacing: -.05em; white-space: nowrap; }
.brand span { font-size: 13px; margin-left: 6px; color: var(--muted); font-weight: 650; }
nav { display: flex; flex-wrap: wrap; gap: 12px 20px; }
nav a { color: var(--ink); font-size: 14px; font-weight: 700; text-decoration: none; }
.intro { padding: 50px 0 32px; }
.eyebrow { color: var(--blue); font-weight: 750; margin-bottom: 8px; }
h1 { font-size: clamp(37px, 6vw, 67px); line-height: 1.12; letter-spacing: -.065em; }
.lead { max-width: 650px; font-size: 17px; color: var(--muted); margin-top: 18px; }
.guide-actions { display: flex; flex-wrap: wrap; gap: 9px; }
.intro .guide-actions { margin-top: 20px; }
.guide-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 13px;
  min-height: 42px;
  border: 1px solid #bacbe1;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  text-decoration: none;
  font: inherit;
  font-size: 14px;
  font-weight: 750;
  cursor: pointer;
}
.guide-button:hover:not(:disabled) { border-color: var(--blue); text-decoration: none; }
.guide-button.primary { color: #fff; background: var(--blue); border-color: var(--blue); }
.guide-button.primary:hover:not(:disabled) { background: #1740ad; }
.guide-button:disabled { cursor: default; opacity: .5; }
.section { padding: 30px 0 38px; border-top: 1px solid var(--line); }
.section h2 { font-size: clamp(24px, 3.5vw, 33px); line-height: 1.3; letter-spacing: -.045em; }
.section-note { color: var(--muted); margin: 8px 0 18px; }
.screen-figure, .panel-figure { background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.overview { display: block; width: 100%; height: auto; }
figcaption { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 15px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
figcaption a { font-weight: 750; flex-shrink: 0; }
.panel-section { display: grid; grid-template-columns: 1.1fr 1fr; gap: 28px; align-items: center; margin-top: 24px; }
.panel-focus { position: relative; overflow: hidden; aspect-ratio: 572 / 340; background: var(--wash); }
.panel-focus img { display: block; position: absolute; width: 347.2%; max-width: none; left: -246.85%; top: -124.72%; }
.pin { position: absolute; display: grid; place-items: center; width: clamp(19px, 4vw, 28px); aspect-ratio: 1; color: #fff; background: var(--blue); border: 2px solid white; border-radius: 50%; box-shadow: 0 1px 5px #14264f50; font-size: clamp(11px, 2.5vw, 14px); font-weight: 800; }
.pin-login { top: 54%; left: 5%; }
.pin-option { top: 80%; left: 65%; }
.pin-cart { top: 8%; left: 65%; }
.screen-key h3 { font-size: 21px; margin-bottom: 10px; letter-spacing: -.03em; }
.screen-key ol, .steps { list-style: none; padding: 0; margin: 0; counter-reset: guide-step; }
.screen-key li, .steps li { counter-increment: guide-step; display: grid; grid-template-columns: auto 1fr; gap: 10px; }
.screen-key li::before, .steps li::before { content: counter(guide-step); display: grid; place-items: center; width: 27px; height: 27px; background: var(--wash); color: var(--blue); border-radius: 50%; font-weight: 800; }
.screen-key li + li { margin-top: 12px; }
.screen-key p, .steps p, .help details p { color: var(--muted); font-size: 14px; }
.steps { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; margin-top: 18px; }
.steps li { background: white; padding: 14px; border: 1px solid var(--line); border-radius: 10px; }
.steps li::before { grid-row: span 2; }
.steps h3 { font-size: 17px; line-height: 1.5; }
.practice-player { border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: #fff; }
.practice-toolbar, .practice-instruction, .practice-controls { display: flex; align-items: center; gap: 12px; padding: 12px 16px; }
.practice-toolbar { justify-content: space-between; border-bottom: 1px solid var(--line); }
.practice-instruction { background: #fff5ef; border-bottom: 1px solid #ffdaca; }
.practice-instruction span { color: #a73218; background: #ffe6d9; font-weight: 800; border-radius: 20px; padding: 3px 10px; white-space: nowrap; }
.practice-instruction h3 { font-size: 17px; }
.practice-instruction p { color: var(--muted); font-size: 13px; }
.practice-window { position: relative; isolation: isolate; height: clamp(475px, 51vw, 660px); overflow: hidden; background: #f4f4f4; }
.practice-background { position: absolute; width: 100%; height: 100%; inset: 0; object-fit: fill; clip-path: polygon(0 0, 100% 0, 100% 41.5%, 71.25% 41.5%, 71.25% 100%, 0 100%); }
.practice-dock { position: absolute; bottom: 12px; right: 12px; display: flex; gap: 5px; padding: 5px; border: 1px solid var(--line); border-radius: 12px; background: white; box-shadow: 0 6px 18px #18274a26; }
#practice-badge { border-radius: 16px; padding: 0 6px; background: var(--wash); color: var(--blue); }
.practice-panel { position: absolute; bottom: 12px; right: 12px; width: min(460px, calc(100% - 24px)); height: min(450px, calc(100% - 24px)); display: flex; flex-direction: column; background: #f3f6fd; border: 1px solid #d0dbef; border-radius: 15px; box-shadow: 0 12px 36px #233f7626; overflow: hidden; }
.practice-panel-header { background: #fff; border-bottom: 1px solid var(--line); padding: 12px 15px; }
.practice-brand, .cart-site-header { display: flex; align-items: center; gap: 8px; }
.practice-brand img, .cart-site-header img { display: block; width: 113px; height: auto; margin-right: auto; }
.practice-brand span { color: var(--blue); font-size: 13px; font-weight: 750; }
.practice-panel h3 { font-size: 21px; margin-top: 8px; }
.icon-button { border: 0; background: transparent; font: inherit; font-size: 20px; cursor: pointer; padding: 0 5px; }
.practice-panel-body { padding: 12px 15px; min-height: 0; overflow: auto; }
.practice-panel-body p, .practice-panel-footer p { color: var(--muted); font-size: 14px; }
.practice-login, .practice-done, .practice-saved { padding: 10px 12px; display: grid; gap: 8px; border-radius: 9px; }
.practice-login { background: #e6edff; margin-bottom: 10px; }
.practice-done, .practice-saved { background: #fff; border: 1px solid var(--line); }
.practice-product-row { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 8px; }
.practice-thumb { display: inline-block; width: 37px; height: 37px; flex-shrink: 0; border-radius: 5px; background: url('./1688-saved-panel.png') 14.7% 25% / 414% auto; }
.practice-demo-fields { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 5px 9px; font-size: 13px; }
.practice-demo-fields span:nth-child(even) { padding: 6px 9px; border: 1px solid var(--line); border-radius: 5px; color: var(--muted); }
#practice-options fieldset { background: #fff; border: 1px solid var(--line); border-radius: 9px; margin: 0 0 9px; padding: 10px 12px; }
.practice-option, .practice-option label { display: flex; align-items: center; gap: 8px; }
.practice-option { margin: 6px 0; justify-content: space-between; }
.practice-option input[type=number] { width: 66px; padding: 6px; border: 1px solid var(--line); border-radius: 6px; font: inherit; }
.practice-panel-footer { margin-top: auto; background: #fff; border-top: 1px solid var(--line); padding: 10px 15px; display: grid; gap: 6px; }
.practice-controls progress { flex: 1; width: 0; height: 10px; accent-color: var(--blue); }
.practice-highlight { outline: 2px solid #f36443; outline-offset: 3px; box-shadow: 0 0 0 5px #ff805233; border-radius: 6px; }
.practice-highlight:focus-visible { outline-color: #f36443; }
.practice-cart { background: #fff; min-height: 400px; }
.cart-site-header { border-bottom: 1px solid #ddd; padding: 20px 24px; font-size: 14px; }
.cart-site-header img { width: 148px; }
.cart-site-header strong { font-weight: 500; }
.cart-content { padding: 22px 28px 28px; color: #17202c; }
.cart-content h3 { background: #f4f4f4; text-align: left; font-size: 24px; margin: 0 0 28px; padding: 16px 18px; border-radius: 8px; }
.cart-group { border: 1px solid #dedede; border-radius: 8px; overflow: hidden; }
.cart-seller { padding: 14px 18px; border-bottom: 1px solid #e7e7e7; font-size: 14px; }
.cart-seller label, .cart-product-heading { display: flex; gap: 12px; align-items: center; }
.cart-content input[type=checkbox] { width: 17px; height: 17px; accent-color: #3d7ef4; flex-shrink: 0; }
.cart-product { background: #fafafa; padding: 16px 18px 20px; }
.cart-product-heading { margin: -16px -18px 0; padding: 16px 18px 26px; background: white; }
.cart-product-heading strong { flex: 1; font-weight: 500; font-size: 14px; padding: 13px; border: 1px solid #ddd; border-radius: 7px; background: #f0f4ff; }
.cart-1688 { color: white; background: #f80000; padding: 1px 4px; border-radius: 2px; font-size: 12px; font-weight: 800; margin-right: 5px; }
#practice-cart-items { list-style: none; margin: 10px 0 16px; padding: 0; }
#practice-cart-items li { display: grid; grid-template-columns: minmax(200px,1fr) 112px 70px 90px 30px; gap: 12px; align-items: center; border: 1px solid #e4e4e4; border-radius: 4px; padding: 13px 12px; background: white; font-size: 14px; }
#practice-cart-items li + li { margin-top: 10px; }
#practice-cart-items label { display: flex; align-items: center; gap: 12px; color: #666; }
.cart-option-photo { width: 60px; height: 60px; display: inline-block; flex-shrink: 0; border-radius: 3px; background: url('./jungdari-cart.png') -103px -314px / 994px auto; }
.cart-row-quantity, .cart-row-amount { text-align: center; }
.cart-row-quantity > span, .cart-row-amount > span { display: block; color: #7d8592; font-size: 14px; }
.cart-row-amount strong { display: block; }
.cart-quantity-controls { display: flex; justify-content: center; }
.cart-quantity-controls button, .cart-quantity-controls input { height: 30px; border: 1px solid #d8d8d8; background: #fff; font: inherit; color: #465466; text-align: center; }
.cart-quantity-controls button { width: 28px; cursor: pointer; }
.cart-quantity-controls input { width: 46px; border-inline: 0; appearance: textfield; -moz-appearance: textfield; }
.cart-quantity-controls input::-webkit-inner-spin-button { appearance: none; }
.cart-remove { border: 1px solid #ddd; background: white; color: #777; width: 28px; height: 28px; border-radius: 3px; cursor: pointer; font-size: 22px; }
.cart-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0; }
.cart-content .guide-button { border-color: #ddd; color: #17202c; border-radius: 4px; font-size: 14px; font-weight: 500; }
.cart-totals { background: #fafafa; border: 1px solid #ddd; border-radius: 7px; margin: 0; padding: 22px 28px; font-size: 14px; }
.cart-totals div { display: flex; justify-content: space-between; gap: 16px; padding: 4px 0; }
.cart-totals dd { margin: 0; }
.cart-grand-total { border-top: 2px solid #444; margin-top: 10px; padding-top: 16px !important; align-items: center; }
.cart-grand-total dt { font-size: 18px; font-weight: 700; color: #666; }
.cart-grand-total dd { color: #ff6800; font-size: 25px; }
.cart-content #cart-apply { display: flex; width: min(400px,100%); min-height: 54px; margin: 20px auto 0; background: #4082f4; color: white; border: 0; border-radius: 7px; font-size: 16px; font-weight: 700; }
.cart-result { text-align: center; color: var(--muted); margin-top: 14px; font-size: 14px; }
@media (max-width: 650px) {
  .practice-background { object-fit: cover; object-position: left top; }
  .practice-toolbar, .practice-instruction, .practice-controls { padding-inline: 10px; }
  .practice-toolbar strong { font-size: 13px; }
  .practice-panel { right: 8px; width: calc(100% - 16px); }
  .practice-product-row { grid-template-columns: auto 1fr; }
  .practice-product-row button { grid-column: 2; justify-self: start; }
  .cart-content { padding: 16px 12px; }
  .cart-site-header { padding: 16px 12px; }
  .cart-site-header span { display: none; }
  .cart-product { padding-inline: 10px; }
  .cart-product-heading { margin-inline: -10px; padding-inline: 10px; }
  #practice-cart-items li { grid-template-columns: minmax(104px,1fr) 1fr 1fr 28px; gap: 12px 8px; }
  #practice-cart-items label { grid-column: 1 / -1; }
  .cart-totals { padding: 18px; }
}

.help details { margin-top: 10px; padding: 11px 15px; border: 1px solid var(--line); border-radius: 9px; background: #fff; }
.help details:first-of-type { margin-top: 16px; }
.help summary { cursor: pointer; font-weight: 700; }
.help details p { margin-top: 6px; }
.site-footer { background: #eef4fa; color: var(--muted); font-size: 13px; }
@media (max-width: 720px) {
  .wrap { width: calc(100% - 28px); }
  .intro { padding-top: 35px; }
  .panel-section, .steps { grid-template-columns: minmax(0, 1fr); }
  .panel-section { gap: 15px; margin-top: 16px; }
  .steps { gap: 8px; }
}
@media (max-width: 430px) {
  .brand span { display: none; }
  nav { gap: 10px; }
  nav a { font-size: 12px; }
  figcaption { padding-inline: 10px; font-size: 12px; }
}
