:root{--p:#4b24d8;--ink:#17182d;--muted:#77788a;--line:#e7e5f1}
.lp-welcome{display:flex;justify-content:space-between;align-items:center;gap:8px;min-width:0;max-width:100%}
.lp-welcome h1{font-size:28px;letter-spacing:-1px;margin:4px 0}
.lp-tag{font-size:14px;color:var(--muted)}
.lp-logo{text-align:center}
.lp-logo .mark{font-size:22px;letter-spacing:2px;color:var(--p)}
.lp-logo strong{display:block;font-size:24px;letter-spacing:-2px;line-height:1}
.lp-logo small{font-size:8px;color:var(--p);font-weight:800;letter-spacing:1px}
.lp-who{margin:10px 0 0;display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.lp-who button{border:1px solid #ddd8f3;background:#f8f5ff;border-radius:16px;padding:8px 12px;font:inherit;font-weight:700;font-size:13px;color:var(--p);cursor:pointer}
.lp-lang{display:inline-flex;border:1px solid #ddd8f3;border-radius:16px;overflow:hidden;background:#fff}
.lp-lang-btn{border:0;background:transparent;padding:8px 12px;font:inherit;font-weight:800;font-size:12px;letter-spacing:.4px;color:#6b6288;cursor:pointer}
.lp-lang-btn.is-on{background:#4b24d8;color:#fff}
.lp-banner{margin:18px 0;border:1px solid #ddd8f3;border-radius:20px;background:#f8f5ff;padding:14px;display:flex;align-items:center;gap:13px;text-decoration:none;color:inherit;min-width:0;max-width:100%}
.lp-banner>div:nth-child(2){min-width:0;flex:1}
.lp-cup{width:52px;height:52px;border-radius:50%;background:#eee8ff;display:grid;place-items:center;font-size:25px;color:var(--p);flex:none}
.lp-banner b{font-size:18px;color:#3e25ae;display:block}
.lp-banner p{margin:3px 0 0;color:var(--muted);font-size:13px}
.lp-arrow{margin-left:auto;font-size:27px;color:#777}
.lp-head{display:flex;justify-content:space-between;align-items:center;margin:18px 0 10px}
.lp-head h2{font-size:20px;margin:0}
.lp-cats-block{margin:0;min-width:0;max-width:100%}
.lp-cats-block.is-guest{border:2px solid #2f6bff;border-radius:22px;padding:6px 10px 14px;background:#f3f8ff;outline:4px solid #2f6bff22;outline-offset:0}
.lp-cats-block.is-guest .lp-head h2{color:#1d4ed8}
.lp-open{display:inline-flex;width:15px;height:15px;margin-right:6px;vertical-align:-2px;color:#2f6bff;flex:none}
.lp-open svg{width:15px;height:15px;stroke:currentColor;fill:none;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.lp-cat-copy b,.lp-catrow b{display:flex;align-items:flex-start;gap:0;min-width:0;width:100%}
.lp-cat-name{flex:1;min-width:0;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;white-space:normal;word-break:break-word}
.lp-choice.is-pick{border-color:#2f6bff;background:#eef4ff;box-shadow:0 0 0 2px #2f6bff33}
.lp-already{background:#eef4ff;border:1px solid #93c5fd;border-radius:14px;padding:12px;color:#1e3a8a;font-weight:750;font-size:14px;line-height:1.4;margin:0 0 12px}
.lp-gate{border:2px solid #2f6bff;border-radius:20px;padding:22px 18px;background:#f3f8ff;text-align:center;margin:0 0 16px}
.lp-gate b{display:block;font-size:20px;color:#1d4ed8;margin-bottom:8px}
.lp-gate p{color:var(--muted);line-height:1.45;margin:0 0 14px}
.lp-wait{margin:10px 0 0;font-weight:800;color:#1d4ed8}
#lpCheckBtn{margin-top:12px;width:100%}
.lp-review{margin:14px 0 0;text-align:left}
.lp-review h3{font-size:16px;margin:0 0 10px;color:#1e3a8a}
.lp-rev{border:1px solid #c7d7fe;border-radius:16px;padding:12px 14px;background:#f8fbff;margin:0 0 10px}
.lp-rev b{display:block;font-size:14px;line-height:1.35;margin:0 0 6px}
.lp-rev p{margin:0 0 6px;font-size:13px;line-height:1.4;color:#3b3d52}
.lp-rev .lp-rev-why{background:#fff8ee;border-radius:12px;padding:10px;color:#5c3d10}
.lp-rev a{color:#2f6bff;font-weight:800;font-size:13px;text-decoration:none}
.lp-view{color:var(--p);font-weight:700;font-size:14px;text-decoration:none;background:none;border:0;font:inherit;cursor:pointer}
.lp-agepill{background:#f0edff;padding:7px 12px;border-radius:16px;color:var(--p);font-weight:700;font-size:13px}
.lp-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;width:100%;min-width:0}
.lp-cat{height:188px;border:1px solid var(--line);border-radius:18px;padding:0;overflow:hidden;box-shadow:0 4px 13px #30208008;background:#fff;text-decoration:none;color:inherit;display:flex;flex-direction:column;align-items:stretch;width:100%;min-width:0;max-width:100%}
.lp-cat .lp-cico{flex:1 1 auto;width:100%;min-height:0;height:118px;max-height:118px;margin:0;border-radius:0;display:grid;place-items:center;font-size:28px;overflow:hidden}
.lp-cat .lp-cico-img{padding:0;width:100%;height:118px;max-height:118px;background:#e8e6ef!important}
.lp-cat .lp-cico-img img,.lp-cico-img img{width:100%;height:100%;max-width:100%;object-fit:cover;display:block}
.lp-cat-copy{flex:none;min-height:58px;padding:8px 10px 10px;display:flex;flex-direction:column;justify-content:center;gap:2px;width:100%;box-sizing:border-box}
.lp-catrow .lp-cico{width:46px;height:46px;border-radius:14px;display:grid;place-items:center;font-size:22px;background:#f0edff;flex:none;overflow:hidden;margin:0}
.lp-catrow .lp-cico-img{padding:0;background:#e8e6ef!important}
.lp-cat:nth-child(1) .lp-cico{background:#fff0d5}
.lp-cat:nth-child(2) .lp-cico{background:#d9f5df}
.lp-cat:nth-child(3) .lp-cico{background:#dff1ff}
.lp-cat:nth-child(4) .lp-cico{background:#e9e1ff}
.lp-cat:nth-child(5) .lp-cico{background:#fff0cf}
.lp-cat:nth-child(6) .lp-cico{background:#ffe0ea}
.lp-cat:nth-child(7) .lp-cico{background:#efe8ff}
.lp-cat-copy b{font-size:13px;line-height:1.25;margin:0;color:var(--ink);white-space:normal;overflow:visible;text-overflow:unset;font-weight:800}
.lp-cat-copy > span{font-size:10px;color:var(--muted);display:block;margin:0}
.lp-feature{border:1px solid var(--line);border-radius:20px;padding:14px;box-shadow:0 4px 14px #30208008;background:#fff;min-width:0;max-width:100%}
.lp-featurein{display:flex;gap:12px;min-width:0}
.lp-info{min-width:0;flex:1}
.lp-pic{width:132px;height:128px;border-radius:15px;overflow:hidden;flex:none;background:#9fcaf0;max-width:100%}
.lp-pic img{width:100%;height:100%;object-fit:cover}
.lp-info h3{font-size:17px;margin:2px 0 4px}
.lp-info p{font-size:12px;line-height:1.35;color:var(--muted);margin:0 0 8px}
.lp-pills{display:flex;gap:5px;margin-bottom:8px;flex-wrap:wrap}
.lp-pill{background:#f0eff6;padding:6px 8px;border-radius:12px;font-size:10px}
.lp-easy{background:#e1f5e5;color:#298c4b;font-weight:700}
.lp-start{border:0;border-radius:22px;background:linear-gradient(90deg,#4b24d8,#6938ed);color:#fff;padding:10px 17px;font-weight:700;font:inherit;cursor:pointer;text-decoration:none;display:inline-block}
.lp-progress{border:1px solid var(--line);border-radius:20px;padding:15px;background:#fff;min-width:0;max-width:100%}
.lp-prow{display:flex;gap:15px;align-items:center;min-width:0}
.lp-ring{width:82px;height:82px;border-radius:50%;display:grid;place-items:center;position:relative;flex:none}
.lp-ring:after{content:"";width:62px;height:62px;background:#fff;border-radius:50%;position:absolute}
.lp-ring b{z-index:1;font-size:16px}
.lp-stats{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px;flex:1;min-width:0}
.lp-stat{border-right:1px solid #eee;padding-right:8px}
.lp-stat:last-child{border:0}
.lp-stat small{display:block;color:var(--muted);font-size:11px}
.lp-stat b{font-size:18px}
.lp-msg{margin-top:12px;background:#f6f3ff;border-radius:13px;padding:9px;color:#40368a;font-size:11px}
.lp-msg b{display:block;font-size:13px}
.lp-home-split{display:grid;gap:16px;min-width:0;max-width:100%}
.lp-board{border:1px solid var(--line);border-radius:20px;padding:8px 10px 10px;background:#fff}
.lp-board-empty{padding:18px 12px;color:var(--muted);font-size:13px;line-height:1.45}
.lp-brow{display:flex;align-items:center;gap:10px;padding:10px 8px;border-bottom:1px solid #f0eef6}
.lp-brow:last-child{border:0}
.lp-brank{width:28px;height:28px;border-radius:50%;display:grid;place-items:center;font-size:12px;font-weight:800;background:#f0edff;color:var(--p);flex:none}
.lp-brow:nth-child(1) .lp-brank{background:#ffe9a8;color:#7a5200}
.lp-brow:nth-child(2) .lp-brank{background:#e8eef5;color:#445}
.lp-brow:nth-child(3) .lp-brank{background:#f3d9c4;color:#7a3e18}
.lp-bmeta{flex:1;min-width:0}
.lp-bmeta b{display:block;font-size:14px}
.lp-bmeta span{display:block;font-size:11px;color:var(--muted)}
.lp-bpts{font-weight:800;color:var(--p);font-size:14px;flex:none}
.lp-board-join{margin-top:12px;border:1px dashed #ddd8f3;border-radius:18px;padding:14px;background:#fbfaff}
.lp-board-join p{margin:0 0 10px;font-size:13px;color:var(--muted);line-height:1.4}
.lp-board-join label{display:block;font-size:12px;font-weight:700;margin:8px 0 6px}
.lp-board-join input[type=text],.lp-board-join input:not([type=checkbox]){width:100%;border:1px solid #ddd9ea;border-radius:12px;padding:11px;font:inherit;background:#fff;box-sizing:border-box}
.lp-board-join .lp-check{display:flex;gap:8px;align-items:center;font-weight:650;font-size:13px}
.lp-board-join .lp-check input{width:auto}
.lp-board-join .lp-start{margin-top:10px}
.lp-streak{margin-top:8px;font-size:12px;font-weight:700;color:var(--p)}
.lp-continue{background:#fff8ee;border-color:#f0e0c8}
.lp-word{margin:18px 0 0;border:1px solid var(--line);border-radius:20px;padding:16px;background:#fff}
.lp-word h3{margin:8px 0 6px;font-size:22px;letter-spacing:-.4px}
.lp-word p{margin:0;color:var(--ink);line-height:1.45;font-size:14px}
.lp-word small{display:block;margin-top:10px;color:var(--muted);font-size:12px}
.lp-grid .lp-board-empty,.lp-catlist .lp-board-empty{grid-column:1/-1}
.lp-family{border:1px solid var(--line);border-radius:20px;padding:8px 10px;background:#fff}
.lp-frow{display:flex;align-items:center;gap:10px;padding:10px 8px;border-bottom:1px solid #f0eef6;width:100%;margin:0;border-radius:0;background:transparent;box-shadow:none}
.lp-frow:last-child{border:0}
.lp-frow.is-on{background:#f6f3ff;border-radius:12px;border-bottom-color:transparent}
.lp-frow b{display:block;font-size:14px}
.lp-frow span{display:block;font-size:11px;color:var(--muted)}
.lp-fpts{margin-left:auto;font-weight:800;color:var(--p);font-size:13px;flex:none}
.lp-sheet-bg{display:none;position:fixed;inset:0;background:#111a;z-index:220;align-items:flex-end;justify-content:center}
.lp-sheet-bg.show{display:flex}
.lp-sheet{width:min(430px,100%);background:#fff;border-radius:25px 25px 0 0;padding:23px calc(23px + env(safe-area-inset-bottom,0px)) calc(28px + env(safe-area-inset-bottom,12px));max-height:85vh;overflow:auto}
.lp-sheet .close{float:right;border:0;border-radius:50%;width:34px;height:34px;font-size:20px;background:#f3f2f7;cursor:pointer;position:relative;z-index:2}
.lp-sheet h2{margin:0 0 8px}
.lp-sheet p{color:var(--muted);line-height:1.45}
.lp-choice,.lp-player{display:block;width:100%;padding:14px;margin:9px 0;border:1px solid #ddd9ea;background:#faf9ff;border-radius:14px;text-align:left;font-weight:650;font:inherit;cursor:pointer}
.lp-choice.is-on,.lp-player.is-on{border-color:var(--p);background:#f3eeff}
.lp-sheet label{display:block;font-size:13px;font-weight:700;margin:10px 0 6px}
.lp-sheet input,.lp-sheet select,.lp-sheet textarea{width:100%;border:1px solid #ddd9ea;border-radius:12px;padding:12px;font:inherit;background:#fff}
.lp-qtop{display:flex;justify-content:space-between;align-items:center;gap:8px;margin:0 0 10px;flex-wrap:wrap}
.lp-qtop a,.lp-back{color:var(--p);font-weight:800;text-decoration:none;font-size:14px}
.lp-qcount{font-size:12px;font-weight:900;letter-spacing:.04em;color:var(--muted)}
.lp-bar{height:8px;border-radius:99px;background:#e8e6ef;overflow:hidden;margin:0 0 16px}
.lp-bar i{display:block;height:100%;width:0;background:var(--p);border-radius:99px}
.lp-qcard{background:#fff;border:1px solid var(--line);border-radius:20px;padding:16px}
.lp-qcard h2{font-size:20px;line-height:1.35;margin:8px 0 14px}
.lp-teach{margin-top:12px;padding:14px;border-radius:16px;background:#f6f3ff}
.lp-teach.is-yes{background:#e1f5e5}
.lp-teach.is-no{background:#fff4e5}
.lp-catlist{display:grid;gap:10px}
.lp-catrow{display:flex;gap:12px;align-items:center;border:1px solid var(--line);border-radius:18px;padding:12px;text-decoration:none;color:inherit;background:#fff}
.lp-result{text-align:center;padding:12px 0 24px}
.lp-result .lp-score{font-size:48px;font-weight:900;margin:8px 0}
.lp-by{display:flex;justify-content:space-between;padding:10px 12px;border-radius:12px;background:#f6f3ff;margin:8px 0;text-align:left}
@media(max-width:900px){
  body[data-lp-page]{overflow-x:hidden}
  body[data-lp-page] .app,
  body[data-lp-page] .main,
  body[data-lp-page] .page.lp-main{
    min-width:0;
    max-width:100%;
    width:100%;
  }
  .page.lp-main{padding:16px 15px 88px;overflow-x:hidden;box-sizing:border-box}
  .lp-welcome{align-items:flex-start;flex-wrap:wrap}
  .lp-welcome>div{min-width:0;flex:1 1 0}
  .lp-welcome h1{font-size:26px;overflow-wrap:anywhere}
  .lp-logo{flex:none}
  .lp-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
  .lp-featurein{flex-wrap:wrap}
  .lp-pic{max-width:100%}
  .lp-prow{flex-wrap:wrap}
}
@media(min-width:901px){
  .lp-logo{display:none}
  .lp-welcome{align-items:flex-end;margin-bottom:8px}
  .lp-welcome h1{font-size:32px}
  .lp-grid{gap:16px}
  .lp-cat{height:248px;padding:0;min-height:0}
  .lp-cat .lp-cico,.lp-cat .lp-cico-img{height:170px;max-height:170px}
  .lp-cat-copy{min-height:64px}
  .lp-pic{width:220px;height:180px}
  .lp-feature{padding:20px}
  .lp-info h3{font-size:22px}
  .lp-info p{font-size:14px}
  .lp-qcard,.lp-progress,.lp-feature,.lp-board,.lp-word,.lp-family{box-shadow:0 8px 24px #3020800c}
  .lp-home-split{grid-template-columns:1fr 1fr;align-items:start}
  .lp-sheet-bg{align-items:center}
  .lp-sheet{width:min(480px,92%);border-radius:20px;padding:24px;max-height:80vh}
  .lp-catlist{grid-template-columns:1fr 1fr}
}
@media(max-width:520px){
  .lp-featurein{flex-direction:column}
  .lp-pic{width:100%;height:168px}
  .lp-welcome h1{font-size:24px}
}
@media(max-width:360px){
  .lp-grid{gap:7px}
  .lp-pic{width:100%;height:140px}
  .lp-welcome h1{font-size:22px}
}
