:root{--lp-blue:#1558d6;--lp-blue-dark:#0d3d9d;--lp-bg:#f3f6fb;--lp-card:#fff;--lp-text:#152238;--lp-muted:#60708b;--lp-line:#dfe6f0;--lp-danger:#b42318;--lp-success:#087a55;--lp-nav:72px;color-scheme:light}
*{box-sizing:border-box}
html{background:var(--lp-bg);scroll-behavior:smooth}
body{margin:0;background:var(--lp-bg);color:var(--lp-text);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Noto Sans JP","Noto Sans Devanagari","Microsoft YaHei",sans-serif;font-size:15px;line-height:1.5;overflow-x:hidden}
button,input,select{font:inherit}
button,a{-webkit-tap-highlight-color:transparent}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid rgba(21,88,214,.28);outline-offset:2px}
.lp-app{width:100%;max-width:720px;min-height:100vh;margin:0 auto;background:var(--lp-bg);padding-bottom:calc(var(--lp-nav) + env(safe-area-inset-bottom) + 20px)}
.lp-topbar{position:sticky;top:0;z-index:30;display:flex;align-items:center;gap:10px;height:64px;padding:8px 14px;background:rgba(255,255,255,.96);border-bottom:1px solid var(--lp-line);backdrop-filter:blur(14px)}
.lp-brand{display:flex;align-items:center;gap:9px;min-width:0;flex:1;border:0;background:transparent;padding:0;color:var(--lp-text);text-decoration:none;text-align:left;font:inherit;cursor:pointer}
.lp-brand__logo{display:grid;place-items:center;flex:0 0 38px;width:38px;height:38px;border-radius:12px;background:linear-gradient(145deg,#246bdf,#103b93);box-shadow:0 6px 16px rgba(21,88,214,.22)}
.lp-brand__logo svg{width:23px;height:23px;fill:#fff}
.lp-brand__title{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:17px;font-weight:800}
.lp-topbar__actions{display:flex;align-items:center;gap:6px;flex:0 0 auto}
.lp-icon-button,.lp-login-button,.lp-avatar{min-width:44px;height:44px;border:1px solid var(--lp-line);border-radius:12px;background:#fff;color:var(--lp-text);display:inline-flex;align-items:center;justify-content:center;gap:5px;padding:0 10px;text-decoration:none;font-weight:700;cursor:pointer}
.lp-icon-button svg{width:20px;height:20px}
.lp-login-button{color:var(--lp-blue);border-color:#b9cef3}
.lp-avatar{width:44px;padding:0;border-radius:50%;overflow:hidden}
.lp-avatar img{width:100%;height:100%;object-fit:cover}
.lp-main{padding:16px 14px 28px}
.lp-hero{position:relative;overflow:hidden;padding:22px;border-radius:20px;background:linear-gradient(135deg,#246bdf 0%,#1558d6 48%,#0c3b96 100%);color:#fff;box-shadow:0 12px 28px rgba(21,88,214,.23)}
.lp-hero:after{content:"";position:absolute;width:180px;height:180px;border-radius:50%;right:-64px;top:-80px;background:rgba(255,255,255,.1)}
.lp-hero__eyebrow{position:relative;z-index:1;margin:0 0 6px;font-size:13px;font-weight:700;opacity:.86}
.lp-hero h1{position:relative;z-index:1;margin:0;font-size:25px;line-height:1.25;letter-spacing:-.02em}
.lp-hero p{position:relative;z-index:1;margin:10px 0 18px;max-width:520px;color:rgba(255,255,255,.9)}
.lp-hero__actions{position:relative;z-index:1;display:flex;flex-wrap:wrap;gap:9px}
.lp-button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:9px 16px;border:0;border-radius:11px;background:var(--lp-blue);color:#fff;text-decoration:none;font-weight:800;cursor:pointer}
.lp-button--white{background:#fff;color:var(--lp-blue-dark)}
.lp-button--ghost{border:1px solid rgba(255,255,255,.65);background:transparent;color:#fff}
.lp-button--secondary{border:1px solid #bad0f3;background:#eef4ff;color:var(--lp-blue-dark)}
.lp-button--danger{background:#b42318}
.lp-button:disabled{cursor:not-allowed;opacity:.55}
.lp-resume{margin-top:14px;padding:16px;border:1px solid #cedcf2;border-radius:16px;background:#fff}
.lp-resume__top{display:flex;justify-content:space-between;gap:10px;align-items:flex-start}
.lp-resume h2{margin:0;font-size:18px}
.lp-resume p{margin:3px 0;color:var(--lp-muted)}
.lp-progress{display:grid;grid-template-columns:1fr auto;align-items:center;gap:8px;margin-top:12px}
.lp-progress__track{height:8px;border-radius:999px;background:#e6ebf3;overflow:hidden}
.lp-progress__bar{height:100%;border-radius:inherit;background:linear-gradient(90deg,#246bdf,#15a182)}
.lp-progress__value{font-size:13px;font-weight:800;color:var(--lp-muted)}
.lp-resume .lp-button{width:100%;margin-top:13px}
.lp-section{margin-top:24px}
.lp-section__header{display:flex;align-items:end;justify-content:space-between;gap:12px;margin-bottom:12px}
.lp-section h2{margin:0;font-size:21px;line-height:1.25}
.lp-section__count{color:var(--lp-muted);font-size:13px}
.lp-course-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.lp-course-card{display:flex;min-width:0;flex-direction:column;overflow:hidden;border:1px solid var(--lp-line);border-radius:16px;background:var(--lp-card);box-shadow:0 5px 18px rgba(33,53,85,.06)}
.lp-course-card__cover{position:relative;display:grid;place-items:center;aspect-ratio:16/9;min-height:106px;overflow:hidden;background:linear-gradient(140deg,#eff5ff,#ccdcfa);text-decoration:none}
.lp-course-card--orange .lp-course-card__cover{background:linear-gradient(140deg,#fff4e4,#ffd49b)}
.lp-course-card--green .lp-course-card__cover{background:linear-gradient(140deg,#e8faef,#bfe9ce)}
.lp-course-card--blue .lp-course-card__cover{background:linear-gradient(140deg,#eaf8ff,#b9e4f7)}
.lp-course-card--indigo .lp-course-card__cover{background:linear-gradient(140deg,#eeefff,#c9ccfa)}
.lp-course-card--sakura .lp-course-card__cover{background:linear-gradient(140deg,#fff0f6,#ffd0e1)}
.lp-course-card__cover img{width:100%;height:100%;object-fit:cover}
.lp-course-card__icon{font-size:48px;filter:drop-shadow(0 5px 8px rgba(0,0,0,.12))}
.lp-course-card__status{position:absolute;top:8px;right:8px;padding:4px 8px;border-radius:999px;background:rgba(255,255,255,.92);color:#31415c;font-size:11px;font-weight:800;box-shadow:0 2px 8px rgba(0,0,0,.1)}
.lp-course-card__body{display:flex;flex:1;min-width:0;flex-direction:column;padding:12px}
.lp-course-card__title{display:-webkit-box;min-height:2.7em;margin:0;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2;font-size:16px;line-height:1.35;overflow-wrap:anywhere}
.lp-course-card__description{display:-webkit-box;min-height:3em;margin:6px 0 10px;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2;color:var(--lp-muted);font-size:13px}
.lp-course-card__progress{margin-top:auto}
.lp-course-card__action{width:100%;margin-top:11px}
.lp-alert{margin:16px 14px;padding:14px 42px 14px 14px;border:1px solid #f0c8c5;border-radius:12px;background:#fff3f2;color:var(--lp-danger);position:relative}
.lp-alert button{position:absolute;right:5px;top:5px;width:36px;height:36px;border:0;background:transparent;color:inherit;font-size:22px;cursor:pointer}
.lp-empty{padding:28px 18px;border:1px dashed #bdc9da;border-radius:16px;background:#fff;text-align:center;color:var(--lp-muted)}
.lp-page-title h1{margin:2px 0 16px;font-size:25px}.lp-summary-list{display:grid;gap:12px}.lp-summary-card,.lp-profile-card{padding:17px;border:1px solid var(--lp-line);border-radius:16px;background:#fff;box-shadow:0 5px 18px rgba(33,53,85,.06)}.lp-summary-card h2{margin:0;font-size:18px}.lp-summary-card p{margin:5px 0;color:var(--lp-muted)}.lp-summary-card>.lp-button{width:100%;margin-top:14px}.lp-profile-head{display:flex;align-items:center;gap:13px}.lp-profile-head img{width:58px;height:58px;border-radius:50%;object-fit:cover}.lp-profile-head h2{margin:0}.lp-profile-head p{margin:3px 0;color:var(--lp-muted)}.lp-profile-list{margin:18px 0}.lp-profile-list>div{display:grid;grid-template-columns:110px minmax(0,1fr);gap:12px;padding:11px 0;border-bottom:1px solid var(--lp-line)}.lp-profile-list dt{color:var(--lp-muted);font-size:13px}.lp-profile-list dd{margin:0;font-weight:700;overflow-wrap:anywhere}.lp-profile-card>.lp-button{width:100%;margin-top:10px}
.lp-retry{margin-top:10px}
.lp-bottom-nav{position:fixed;z-index:35;left:50%;bottom:0;display:grid;grid-template-columns:repeat(4,1fr);width:min(720px,100%);height:calc(var(--lp-nav) + env(safe-area-inset-bottom));transform:translateX(-50%);padding:4px 6px env(safe-area-inset-bottom);border-top:1px solid var(--lp-line);background:rgba(255,255,255,.97);box-shadow:0 -8px 24px rgba(28,43,69,.08);backdrop-filter:blur(14px)}
.lp-nav-item{display:flex;min-width:0;min-height:56px;flex-direction:column;align-items:center;justify-content:center;gap:3px;border:0;border-radius:11px;background:transparent;color:#6d7890;text-decoration:none;font-size:11px;font-weight:700;cursor:pointer}
.lp-nav-item svg{width:22px;height:22px;fill:currentColor}
.lp-nav-item.is-active{color:var(--lp-blue);background:#edf3ff}
.lp-sheet-backdrop,.lp-modal-backdrop{position:fixed;z-index:80;inset:0;background:rgba(11,19,34,.55);opacity:0;transition:opacity .18s ease}
.lp-sheet-backdrop.is-open,.lp-modal-backdrop.is-open{opacity:1}
.lp-sheet{position:absolute;left:50%;bottom:0;width:min(720px,100%);transform:translate(-50%,100%);border-radius:20px 20px 0 0;background:#fff;padding:10px 16px calc(18px + env(safe-area-inset-bottom));transition:transform .2s ease}
.lp-sheet-backdrop.is-open .lp-sheet{transform:translate(-50%,0)}
.lp-sheet__handle{width:42px;height:4px;margin:0 auto 13px;border-radius:999px;background:#cad2df}
.lp-sheet__header{display:flex;align-items:center;justify-content:space-between;gap:10px}
.lp-sheet h2{margin:0;font-size:20px}
.lp-close{width:44px;height:44px;border:0;border-radius:12px;background:#eef1f5;color:#3d4b63;font-size:25px;cursor:pointer}
.lp-language-list{display:grid;gap:8px;margin-top:14px}
.lp-language-option{display:flex;align-items:center;justify-content:space-between;min-height:52px;padding:10px 14px;border:1px solid var(--lp-line);border-radius:12px;background:#fff;color:var(--lp-text);text-align:left;font-weight:800;cursor:pointer}
.lp-language-option.is-current{border-color:var(--lp-blue);background:#edf3ff;color:var(--lp-blue)}
.lp-modal{position:absolute;left:50%;top:50%;width:min(520px,calc(100% - 24px));max-height:calc(100dvh - 24px);transform:translate(-50%,-47%);overflow:auto;border-radius:20px;background:#fff;padding:18px;opacity:0;transition:opacity .18s ease,transform .18s ease}
.lp-modal-backdrop.is-open .lp-modal{opacity:1;transform:translate(-50%,-50%)}
.lp-modal__header{display:flex;align-items:center;justify-content:space-between;gap:12px}
.lp-modal h2{margin:0;font-size:22px}
.lp-tabs{display:grid;grid-template-columns:1fr 1fr;gap:4px;margin:14px 0;padding:4px;border-radius:12px;background:#edf1f7}
.lp-tab{min-height:44px;border:0;border-radius:9px;background:transparent;color:var(--lp-muted);font-weight:800;cursor:pointer}
.lp-tab.is-active{background:#fff;color:var(--lp-blue);box-shadow:0 2px 8px rgba(32,48,77,.1)}
.lp-form{display:grid;gap:12px}
.lp-form[hidden]{display:none}
.lp-field label{display:block;margin-bottom:5px;font-size:13px;font-weight:800}
.lp-field input,.lp-field select{width:100%;min-height:46px;border:1px solid #c9d3e2;border-radius:10px;background:#fff;padding:9px 11px;color:var(--lp-text)}
.lp-field input[readonly]{background:#f0f3f7;color:#546178}
.lp-field__hint{margin:4px 0 0;color:var(--lp-muted);font-size:12px}
.lp-field__error{margin:4px 0 0;color:var(--lp-danger);font-size:12px;font-weight:700}
.lp-check{display:flex;align-items:flex-start;gap:9px;font-size:13px}
.lp-check input{flex:0 0 20px;width:20px;height:20px;margin-top:1px}
.lp-form .lp-button{width:100%}
.lp-form-message{min-height:20px;color:var(--lp-danger);font-size:13px;font-weight:700}
.lp-turnstile{min-height:66px}
.lp-auth-unavailable{padding:12px;border-radius:10px;background:#fff1d6;color:#7a4c00;font-size:13px}
.lp-skeleton{padding:14px;animation:lp-pulse 1.35s ease-in-out infinite}
.lp-skeleton__top,.lp-skeleton__hero,.lp-skeleton__line,.lp-skeleton__grid div{border-radius:14px;background:#dfe6f0}
.lp-skeleton__top{height:52px}.lp-skeleton__hero{height:190px;margin-top:16px}.lp-skeleton__line{width:45%;height:28px;margin:25px 0 12px}.lp-skeleton__grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.lp-skeleton__grid div{height:260px}
@keyframes lp-pulse{50%{opacity:.55}}
body.lp-lock-scroll{overflow:hidden}
@media(max-width:374px){.lp-course-grid{grid-template-columns:1fr}.lp-course-card{display:grid;grid-template-columns:128px minmax(0,1fr)}.lp-course-card__cover{height:100%;min-height:210px;aspect-ratio:auto}.lp-course-card__title,.lp-course-card__description{min-height:0}.lp-hero{padding:19px}.lp-hero h1{font-size:23px}.lp-login-button{width:44px;font-size:0;padding:0}.lp-login-button:before{content:"↪";font-size:20px}}
@media(min-width:720px){.lp-app{box-shadow:0 0 42px rgba(20,35,60,.1)}.lp-main{padding-left:22px;padding-right:22px}.lp-topbar{padding-left:22px;padding-right:22px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
