:root{--bg:#f7f7fc;--paper:#fff;--ink:#23233f;--muted:#767994;--stroke:#e8e8f2;--purple:#6953e9;--dark:#4d3ac4;--lav:#eeebff;--mint:#daf7e9;--green:#198264;--coral:#ff987d;--yellow:#fff3cf;--shadow:0 14px 50px rgba(40,39,107,.06)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--ink);font-family:'Noto Sans KR',system-ui,sans-serif;font-size:14px;line-height:1.65}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{opacity:.42;cursor:not-allowed}a{color:inherit;text-decoration:none}h1,h2,h3,p{margin:0}h1,h2,h3{letter-spacing:-.06em;line-height:1.4}h1{font-size:clamp(28px,3vw,43px)}h2{font-size:24px}h3{font-size:17px}input,textarea,select{color:var(--ink)}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #a8a2ff;outline-offset:2px}.boot{display:grid;place-content:center;min-height:100vh;gap:20px;color:var(--muted);text-align:center}.boot-mark{font-size:80px;color:var(--purple);font-weight:900;letter-spacing:-.1em}.boot-mark span{font-size:22px;vertical-align:top;color:var(--coral)}
.auth-bg{min-height:100vh;display:grid;grid-template-columns:minmax(340px,1fr) minmax(460px,1fr);padding:30px;gap:26px;max-width:1380px;margin:auto}.auth-art{border-radius:36px;background:linear-gradient(145deg,#5c4ed9,#877bee);min-height:720px;position:relative;overflow:hidden;padding:60px;color:white}.auth-art:before{content:'';position:absolute;width:490px;height:490px;border-radius:50%;border:95px solid #ffffff16;right:-220px;bottom:-195px}.auth-art:after{content:'✳';position:absolute;right:45px;top:20px;color:#ffffff2b;font-size:270px;transform:rotate(20deg)}.auth-tag{font-size:11px;letter-spacing:.15em;color:#e3dcff;font-weight:900}.auth-art h1{margin:45px 0 20px;font-size:clamp(34px,4vw,55px);position:relative;z-index:1;letter-spacing:-.08em}.auth-art p{color:#f4f0ff;font-size:15px;line-height:2.1;max-width:370px}.auth-illustration{background:#ffffff24;border:1px solid #ffffff4b;padding:25px;border-radius:26px;position:absolute;bottom:65px;left:60px;right:60px;display:grid;grid-template-columns:auto 1fr;align-items:center;gap:20px;transform:rotate(-3deg);box-shadow:0 25px 40px #3424a52e}.auth-illustration .bookicon{font-size:75px;line-height:1}.auth-illustration strong{font-size:17px}.auth-illustration small{font-size:12px;display:block;margin-top:5px;color:#f3eeff}.auth-right{display:flex;justify-content:center;align-items:center;padding:30px}.auth-card{width:min(100%,480px)}.brand{display:flex;gap:12px;align-items:center}.brand-mark{height:47px;width:47px;border-radius:16px;display:grid;place-items:center;background:#6953e9;color:white;font-size:25px;font-weight:900;box-shadow:0 8px 23px #6953e934;transform:rotate(-7deg)}.brand strong{font-size:18px;letter-spacing:-.055em;display:block;line-height:1.35}.brand small{font-size:10px;color:#8588a2;font-weight:800;letter-spacing:.045em}.auth-heading{font-size:30px;margin:40px 0 12px}.auth-sub{color:var(--muted);font-size:13px;margin-bottom:28px}.mode-buttons{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin-bottom:23px;background:#eeedf8;padding:5px;border-radius:15px}.mode-buttons button{border:0;background:none;border-radius:11px;padding:11px 6px;color:#8584a0;font-weight:800;font-size:12px}.mode-buttons button.active{color:var(--dark);background:white;box-shadow:0 4px 10px #55538815}.field{margin-bottom:15px}.field label{display:block;font-size:12px;font-weight:800;color:#626680;margin:0 0 7px}.field input,.field select,.field textarea{display:block;width:100%;border:1px solid #dfe1ef;background:#fff;border-radius:12px;padding:12px 14px;min-height:47px;outline:none}.field input:focus,.field select:focus,.field textarea:focus{border-color:#9589f4;box-shadow:0 0 0 3px #efedff}.field textarea{min-height:110px;resize:vertical}.field-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.btn{border:1px solid var(--purple);background:var(--purple);color:white;border-radius:13px;padding:12px 18px;min-height:45px;font-weight:800;font-size:13px;display:inline-flex;align-items:center;justify-content:center;gap:9px;text-align:center;transition:transform .15s,background .15s}.btn:hover:not(:disabled){background:var(--dark);transform:translateY(-1px)}.btn.secondary{background:#eeecff;color:#5444cc;border-color:#e3ddff}.btn.secondary:hover:not(:disabled){background:#dfdaff}.btn.ghost{background:white;border-color:#ddd9f4;color:#5848c4}.btn.soft{background:#f2f3f9;border-color:#f2f3f9;color:#5f6385}.btn.mint{background:#cef4e5;border-color:#b9ead8;color:#176c56}.btn.danger{background:#fff1f2;border-color:#ffdcdf;color:#b84361}.btn.small{padding:8px 12px;min-height:34px;font-size:11px;border-radius:10px}.btn.wide{width:100%}.btn.large{min-height:54px;font-size:15px;border-radius:16px}.hint{color:var(--muted);font-size:11px}.demo-box{border:1px dashed #cfc9f7;background:#f5f2ff;padding:17px 19px;border-radius:15px;margin-top:22px}.demo-box strong{font-size:12px;color:#5a49c4}.demo-box .demo-buttons{display:flex;gap:7px;flex-wrap:wrap;margin-top:12px}.demo-box button{background:white;color:#6655c3;border:1px solid #dad5f6;border-radius:10px;padding:8px 10px;font-size:11px;font-weight:800}
.app-frame{max-width:1440px;margin:auto;padding:0 32px 65px}.top{height:88px;display:flex;align-items:center;justify-content:space-between;gap:15px;border-bottom:1px solid var(--stroke)}.top-right{display:flex;align-items:center;gap:8px}.mode-pill{background:#fff;border:1px solid var(--stroke);border-radius:99px;font-size:11px;font-weight:800;padding:9px 12px;color:#6c6c85}.site-layout{display:grid;grid-template-columns:238px minmax(0,1fr);gap:30px;margin-top:30px}.sidebar{min-width:0}.sidebar-box{border-radius:25px;background:white;border:1px solid var(--stroke);box-shadow:var(--shadow);padding:13px;position:sticky;top:20px}.profile-tile{background:#f2efff;border-radius:17px;padding:18px;margin-bottom:12px}.profile-icon{width:45px;height:45px;background:#fff;border-radius:16px;display:grid;place-items:center;font-size:22px;margin-bottom:13px}.profile-tile strong{display:block;line-height:1.5}.profile-tile small{font-size:11px;color:#7e79a9}.nav-section-title{padding:11px 12px 6px;font-size:10px;color:#a6a7b6;font-weight:900;letter-spacing:.1em}.navlink{width:100%;background:none;border:0;border-radius:12px;display:flex;gap:11px;text-align:left;align-items:center;padding:12px;color:#747992;font-weight:800;font-size:12px}.navlink i{font-size:18px;font-style:normal}.navlink.active{background:var(--purple);color:white;box-shadow:0 7px 20px #6953e92c}.navlink:hover:not(.active){background:#f5f4ff}.side-note{border-top:1px solid var(--stroke);margin:13px 4px 0;padding:14px 8px 5px;color:#979aaf;font-size:10px;line-height:1.9}.main{min-width:0}.hero{background:linear-gradient(118deg,#5d50df,#7970ec 60%,#a69cf4);color:white;border-radius:27px;padding:39px 42px;position:relative;overflow:hidden;min-height:245px}.hero:after{content:'';width:345px;height:345px;border-radius:50%;border:66px solid #ffffff1b;position:absolute;right:-80px;top:-170px}.hero p{font-size:12px;color:#e9e6ff}.hero h1{color:white;line-height:1.42;margin:14px 0 13px;max-width:570px}.hero .hero-note{color:#f1edff;font-size:13px;line-height:1.9;max-width:590px}.hero-float{position:absolute;right:42px;bottom:28px;background:#ffffff24;border:1px solid #ffffff60;color:white;padding:13px 18px;border-radius:18px;transform:rotate(5deg);font-size:12px;font-weight:900;z-index:1}.eyebrow{font-size:11px;font-weight:900;color:var(--purple);letter-spacing:.11em;text-transform:uppercase}.section-top{display:flex;justify-content:space-between;align-items:center;gap:16px;margin:27px 0 14px}.section-top h2{margin-bottom:4px}.section-top p{color:var(--muted);font-size:12px}.grid{display:grid;gap:14px}.cols3{grid-template-columns:repeat(3,minmax(0,1fr))}.cols2{grid-template-columns:repeat(2,minmax(0,1fr))}.panel{border:1px solid var(--stroke);border-radius:22px;background:white;padding:25px;box-shadow:var(--shadow)}.panel.mint{background:#edfaf4;border-color:#dcefe5}.panel.violet{background:#f2efff;border-color:#e6e1ff}.panel.yellow{background:#fff9e8;border-color:#fbefd0}.panel h3{margin-bottom:9px}.stat-icon{font-size:20px;height:40px;width:40px;border-radius:13px;background:#efecff;display:grid;place-items:center}.stat-num{font-size:31px;font-weight:900;letter-spacing:-.08em;line-height:1.3;margin-top:10px}.stat-label{font-size:11px;color:var(--muted);font-weight:700}.muted{color:var(--muted)}.small{font-size:12px}.tiny{font-size:11px}.badge{font-size:11px;display:inline-block;padding:5px 11px;border-radius:99px;background:#edeaff;color:#5f50cc;font-weight:800;white-space:nowrap}.badge.mint{background:#dcf7e9;color:#277f65}.badge.coral{background:#fff0e8;color:#ab6847}.badge.grey{background:#f0f2f5;color:#8790a0}.badge.red{background:#fee8e9;color:#bf4c5a}.flex{display:flex;align-items:center;gap:10px}.spread{justify-content:space-between}.wrap{flex-wrap:wrap}.vstack{display:grid;gap:14px}.mt8{margin-top:8px}.mt12{margin-top:12px}.mt16{margin-top:16px}.mt24{margin-top:24px}.border-top{border-top:1px solid var(--stroke);padding-top:16px;margin-top:16px}.alert{background:#fff7df;border:1px solid #eee0b5;color:#866b29;border-radius:15px;padding:15px 17px;font-size:12px;line-height:1.9}.alert.info{background:#f0eeff;border-color:#dfdaff;color:#6558a7}.alert.ok{background:#eaf9f2;border-color:#c9ecd9;color:#277f63}.alert.error{background:#fff0f2;border-color:#f4ced6;color:#b04457}.card-link{display:flex;align-items:center;gap:15px;border:1px solid var(--stroke);border-radius:18px;background:#fff;padding:19px;min-height:110px}.card-icon{height:56px;width:56px;flex:none;border-radius:17px;background:#efedff;display:grid;place-items:center;font-size:27px}.card-link:nth-child(3n+2) .card-icon{background:#e1f7eb}.card-link:nth-child(3n) .card-icon{background:#fff0df}.card-copy{flex:1;min-width:0}.card-copy strong{font-size:15px;display:block}.card-copy p{font-size:11px;color:var(--muted);margin-top:4px}.book-selects{display:grid;grid-template-columns:1.3fr .7fr auto;gap:12px;align-items:end}.progress{height:10px;border-radius:99px;overflow:hidden;background:#eeeefa}.progress>span{display:block;height:100%;border-radius:99px;background:linear-gradient(90deg,#7965ed,#78c1de);transition:width .25s}.typing-grid{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);gap:17px;align-items:start}.reference{background:#f7f6ff;border:1px solid #e5e0ff;border-radius:18px;padding:23px;line-height:2.12;font-size:18px;font-weight:650;word-break:keep-all;white-space:pre-wrap}.scripture-verse{color:#6c5bd2;font-size:11px;font-weight:900;margin-bottom:8px}.error-char{color:#c53047!important;background:#ffe1e4;border-bottom:2px solid #e35765;border-radius:2px}.text-input{width:100%;background:#fff;border:2px solid #e4e2f3;border-radius:17px;padding:18px;min-height:194px;font-size:16px;line-height:2;resize:vertical;outline:0}.text-input:focus{border-color:#9383ed;box-shadow:0 0 0 3px #f0edff}.verse-dots{display:flex;gap:6px;flex-wrap:wrap}.verse-dots button{width:37px;height:37px;border:1px solid #e3e3f1;border-radius:11px;background:#f7f8fb;color:#8f93a8;font-weight:900;font-size:12px}.verse-dots button.done{background:#dff8ed;border-color:#bce9d1;color:#288263}.verse-dots button.selected{border:2px solid #8272ed;color:#5647c8;background:#eeebff}.verse-dots button.pending{color:#8e8e9e}.typing-result{font-size:12px;min-height:25px;color:#8a8e9f}.typing-result.good{color:#1a8d67}.typing-result.bad{color:#c44858}.checkpoint-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.choice-card{padding:25px;border-radius:20px;border:1px solid #e0ddf6;background:#fff;display:flex;flex-direction:column;gap:10px;min-height:200px;align-items:flex-start}.choice-card .choice-icon{font-size:33px}.choice-card strong{font-size:18px}.choice-card p{font-size:12px;color:#8589a4;line-height:1.8;flex:1}.choice-card.green{background:#effaf3;border-color:#d5efdf}.grape-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:8px}.grape{height:39px;width:39px;max-width:100%;border-radius:50%;background:#f0eff9;border:2px dashed #d6d2e7;display:grid;place-items:center;color:#b5b2c5;font-weight:800;font-size:11px;margin:auto}.grape.earned{border:2px solid #7850d9;background:#9c79ec;color:white;box-shadow:inset -5px -6px 0 #7452cf22}.grape.earned:after{content:'✓';font-size:16px}.stamp-card{padding:24px;border-radius:22px;background:white;border:1px solid var(--stroke)}.stamp-top{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}.stamp-top .stamp-emoji{font-size:34px}.stamp-bar{height:9px;border-radius:99px;background:#ececf5;overflow:hidden;margin:13px 0 10px}.stamp-bar span{display:block;height:100%;background:#8a70ed}.stamp-head{display:flex;justify-content:space-between;gap:12px;align-items:center}.rank-list{display:grid;gap:10px}.rank-row{display:flex;gap:13px;align-items:center;border:1px solid var(--stroke);background:#fff;padding:14px 18px;border-radius:16px}.rank-index{width:41px;height:41px;border-radius:13px;background:#eeecfa;display:grid;place-items:center;font-weight:900;color:#7868ad}.rank-row:nth-child(1) .rank-index{background:#fff1c6;color:#9d7633}.rank-row:nth-child(2) .rank-index{background:#e8f3fb;color:#5d8ea9}.rank-row:nth-child(3) .rank-index{background:#ffeee4;color:#ae795e}.rank-text{flex:1;min-width:0}.rank-text strong{display:block;font-size:14px}.rank-text small{color:var(--muted);font-size:10px}.rank-score{font-size:20px;font-weight:900;color:#6254bb}.rank-score span{font-size:11px;font-weight:600;color:#9a9caf}.pill-tag{padding:5px 10px;font-size:11px;font-weight:800;background:#f3f1ff;color:#6b5ac1;border-radius:99px}.table-wrap{overflow:auto;border:1px solid var(--stroke);border-radius:18px}.data-table{width:100%;border-collapse:collapse;text-align:left;min-width:480px}.data-table th,.data-table td{padding:13px 15px;border-bottom:1px solid #eeeef5;font-size:12px}.data-table th{background:#f7f7fc;color:#737994;font-size:11px;white-space:nowrap}.data-table tr:last-child td{border-bottom:0}.empty{background:#fbfaff;border:1px dashed #dcd9f5;text-align:center;padding:35px 20px;border-radius:17px;color:#8e91a7;font-size:12px}.filter-row{display:flex;gap:10px;flex-wrap:wrap;align-items:end}.filter-row .field{min-width:180px;margin-bottom:0}.softline{height:1px;background:var(--stroke);border:0;margin:20px 0}.notice{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);z-index:80;background:#2f2a57;color:white;padding:13px 18px;border-radius:15px;box-shadow:0 20px 35px #28264f30;font-size:12px;max-width:min(480px,calc(100vw - 30px));text-align:center}.modal-backdrop{position:fixed;inset:0;background:#15152f7a;display:grid;place-items:center;padding:20px;z-index:50}.modal{width:min(100%,620px);max-height:min(85vh,800px);overflow:auto;border-radius:25px;background:white;padding:26px;box-shadow:0 24px 60px #11112c33}.mobile-nav{display:none}.no-margin{margin:0}.mark-required{color:#b43f54}.select-icon{font-size:24px}.multi-copy{white-space:pre-wrap;word-break:break-word}.loading-float{display:none}.loading-float.active{display:block;position:fixed;bottom:20px;right:20px;background:#edeaff;color:#5b4ac2;padding:12px 17px;border-radius:16px;font-size:11px;font-weight:800;z-index:30;box-shadow:var(--shadow)}
@media(max-width:1100px){.auth-bg{grid-template-columns:.9fr 1fr}.auth-art{padding:37px}.auth-illustration{left:35px;right:35px}.site-layout{grid-template-columns:195px minmax(0,1fr);gap:20px}.app-frame{padding:0 22px 65px}.hero{padding:31px}.hero-float{right:20px}}
@media(max-width:850px){.auth-bg{display:block;padding:0}.auth-art{display:none}.auth-right{min-height:100vh;padding:30px 24px 70px}.auth-card{max-width:500px}.app-frame{padding:0 17px 105px}.top{height:75px}.top .brand strong{font-size:15px}.brand-mark{height:39px;width:39px;font-size:21px}.top-right .mode-pill{display:none}.site-layout{display:block;margin-top:19px}.sidebar{display:none}.mobile-nav{display:flex;position:fixed;bottom:0;left:0;right:0;z-index:35;background:#fff;border-top:1px solid #ebeaf5;box-shadow:0 -6px 24px #342c5f0b;min-height:calc(65px + env(safe-area-inset-bottom));padding:5px 8px calc(5px + env(safe-area-inset-bottom));justify-content:space-around}.mobile-nav button{border:0;background:none;min-width:0;flex:1;color:#9b9bb0;display:flex;flex-direction:column;gap:2px;align-items:center;padding:7px 3px;font-size:10px;font-weight:800}.mobile-nav button i{font-style:normal;font-size:21px;line-height:1.35}.mobile-nav button.active{color:var(--purple)}.hero{padding:29px 25px;min-height:210px}.hero h1{font-size:29px}.hero-float{display:none}.typing-grid{grid-template-columns:1fr}.cols3{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:570px){body{font-size:13px}.auth-heading{font-size:27px}.auth-card{width:100%}.auth-right{padding:25px 20px 50px}.mode-buttons{gap:3px}.brand strong{font-size:16px}.top-right .btn{min-height:33px;padding:7px 10px;font-size:10px}.app-frame{padding:0 15px 99px}.site-layout{margin-top:15px}.hero{padding:27px 22px;min-height:190px;border-radius:22px}.hero h1{font-size:26px}.hero .hero-note{font-size:11px;line-height:1.85}.hero p{font-size:10px}.section-top{margin:23px 0 13px}.section-top h2{font-size:20px}.cols3{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.cols2{grid-template-columns:1fr}.panel{padding:18px;border-radius:18px}.stat-icon{height:31px;width:31px;font-size:16px}.stat-num{font-size:22px}.stat-label{font-size:10px}.book-selects{grid-template-columns:minmax(0,1fr) 112px}.book-selects .btn{grid-column:1/-1}.field-row{grid-template-columns:1fr 1fr;gap:8px}.field{margin-bottom:12px}.field label{font-size:11px}.field input,.field select,.field textarea{font-size:12px;padding:10px 11px}.checkpoint-choices{grid-template-columns:1fr}.choice-card{min-height:150px;padding:19px}.reference{font-size:16px;padding:19px;line-height:2}.text-input{min-height:160px}.grape-grid{grid-template-columns:repeat(7,1fr);gap:5px}.grape{height:31px;width:31px}.table-wrap{margin:0 -2px}.rank-row{padding:12px}.rank-score{font-size:18px}.modal{padding:20px}.auth-sub{font-size:12px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
.notice{pointer-events:none}
@media(max-width:570px){.typing-top{flex-direction:column;align-items:flex-start;gap:8px}.typing-top>div{width:100%}.top-right{gap:5px}.top-right .btn{min-width:32px}.notice{bottom:calc(80px + env(safe-area-inset-bottom))}}
/* WORDSTEP v6 refinements */
.reference,.reference *{-webkit-user-select:none!important;user-select:none!important;-webkit-user-drag:none;touch-action:pan-y}
.typed-char{color:#14855f;background:rgba(35,185,130,.10);border-radius:2px;font-weight:850;transition:color .08s}
.error-char{color:#dd253d!important;background:#ffe0e7!important;border-bottom:2px solid #f13e61;border-radius:2px;font-weight:900}
.avatar{width:48px;height:48px;object-fit:cover;border-radius:16px;display:inline-grid;place-items:center;flex-shrink:0;vertical-align:middle;background:linear-gradient(135deg,#e6dfff,#cdf4e5);color:#5842ad;font-size:19px;font-weight:900;border:2px solid #fff;box-shadow:0 3px 11px #352f7e18}
.avatar.small{width:34px;height:34px;border-radius:12px;font-size:14px}
.avatar.large{width:74px;height:74px;border-radius:22px;font-size:26px}
.profile-icon{width:53px;height:53px;background:none;display:grid;place-items:center}
.profile-icon .avatar{width:49px;height:49px;border-radius:17px}
.mode-pill .avatar{margin-right:6px}
.calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:8px}
.calendar-week{text-align:center;font-size:12px;color:#8c8aa1;padding:4px 0}
.calendar-day{min-height:73px;background:#f7f6fc;border:1px solid #eeebfa;border-radius:13px;text-align:right;padding:8px;font-size:12px;color:#797b96;position:relative}
.calendar-day.done{background:#f0e9ff;border-color:#d0bff8;color:#5740ab}
.calendar-day.today{outline:2px solid #7e67ed;outline-offset:-2px}
.calendar-day b{position:absolute;left:50%;top:55%;transform:translate(-50%,-50%);font-size:24px}
.stamp-board{min-height:175px}
.stamp-mini{display:flex;gap:9px;flex-wrap:wrap;margin-top:13px}
.stamp-earned{display:inline-flex;gap:6px;align-items:center;background:#f1ecff;border:1px solid #dcd2ff;color:#5d45a9;border-radius:100px;padding:9px 13px;font-size:12px;font-weight:850}
.award-modal{text-align:center;max-width:440px;background:linear-gradient(180deg,#faf6ff,#fff)}
.award-emoji{display:grid;place-items:center;margin:10px auto 15px;font-size:80px;width:130px;height:130px;border-radius:50%;background:#f1eaff;box-shadow:inset 0 0 0 8px #f8f4ff}
.teacher-comment{margin-top:10px;background:#f1f8ff;border:1px solid #e0effe;padding:10px 13px;border-radius:12px;font-size:12px;color:#4b6181;white-space:pre-wrap;word-break:break-word}
.temp-pass{font-size:22px;letter-spacing:.04em;text-align:center;font-weight:900;border-radius:14px;background:#f3f1ff;border:1px dashed #ad9ef2;padding:22px;word-break:break-all}
.gratitude-comment-form textarea{min-height:75px}
@media(max-width:570px){.calendar-grid{gap:4px}.calendar-week{font-size:10px}.calendar-day{min-height:54px;padding:5px;font-size:10px;border-radius:9px}.calendar-day b{font-size:17px}.profile-icon .avatar{width:44px;height:44px}.avatar.large{width:62px;height:62px}}

/* v7: role-based, multi-select scripture availability */
.book-role-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.book-role-tab{background:var(--bg);border:2px solid var(--stroke);color:var(--ink);border-radius:15px;padding:15px;text-align:left;display:flex;align-items:center;justify-content:space-between;gap:8px;font-weight:750}.book-role-tab.active{border-color:var(--purple);background:var(--lav)}.book-role-tab strong{color:var(--purple);white-space:nowrap}.book-tools{display:flex;flex-wrap:wrap;justify-content:space-between;gap:12px;align-items:center}.book-tools input{flex:1;min-width:190px;border:1px solid var(--stroke);border-radius:12px;padding:11px 14px;background:white}.book-group{margin-top:22px;padding:18px;border:1px solid var(--stroke);border-radius:18px;background:#fcfcff}.book-check-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}.book-check{display:flex;gap:7px;align-items:center;border:1px solid var(--stroke);border-radius:12px;padding:9px 10px;background:white;cursor:pointer;min-width:0;user-select:none}.book-check.active{border-color:#9f92ff;background:#f1edff}.book-check input{accent-color:var(--purple);width:16px;height:16px;flex:none}.book-check span{overflow-wrap:anywhere;font-size:13px}.book-check[hidden]{display:none!important}.book-settings-footer{border-top:1px solid var(--stroke);margin-top:20px;padding-top:18px;display:flex;flex-direction:column;gap:14px}.book-settings-footer .flex{justify-content:flex-end}@media(max-width:1020px){.book-check-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}@media(max-width:650px){.book-role-tabs{grid-template-columns:1fr}.book-check-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.book-group{padding:13px}.book-tools input{min-width:100%;max-width:100%}.book-settings-footer .flex{justify-content:stretch}.book-settings-footer .btn{flex:1}}
/* v9: last-month podium and private year-end award */
.podium-panel {background:linear-gradient(135deg,#f5f0ff 0%,#fffaf1 100%);border:1px solid #e7dcfb}
.podium-grid {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:20px}
.podium-person,.award-year-person {display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;text-align:center;background:#fff;border:1px solid #ebe7f4;border-radius:19px;padding:18px 10px;min-width:0}
.podium-person strong,.award-year-person strong{font-size:14px;overflow-wrap:anywhere}.podium-person small,.award-year-person small {font-size:11px;color:#848398}
.podium-person .avatar,.award-year-person .avatar{height:48px;width:48px}.podium-medal{font-size:29px;line-height:1.2}
.podium-person:nth-child(1){background:#fffcf0;border-color:#f1dfaa;box-shadow:0 6px 25px #e2b85e16}
.podium-person:nth-child(2){background:#f6faff;border-color:#dbe7fb}
.podium-person:nth-child(3){background:#fff9f2;border-color:#f6e5d0}
.year-award{background:linear-gradient(135deg,#f9f5ff,#fff8e9);border:1px solid #e3d8fc}
.award-year-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.award-year-person{gap:9px}.award-year-person .badge{white-space:normal}
@media(max-width:570px){.podium-grid,.award-year-grid{gap:6px}.podium-person,.award-year-person{padding:14px 5px;border-radius:13px}.podium-person .avatar,.award-year-person .avatar{width:39px;height:39px}.podium-person strong,.award-year-person strong{font-size:11px}.podium-person small,.award-year-person small{font-size:10px}.podium-medal{font-size:24px}}

/* v10: collected Bible-section stamps and editable church branding */
.group-stamp-heading{font-size:14px;font-weight:850;margin:22px 0 10px;color:var(--ink)}
.group-stamps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.group-stamp{min-width:0;display:flex;flex-direction:column;align-items:center;text-align:center;gap:6px;padding:16px 10px;border-radius:16px;border:1px solid var(--stroke);background:#f9f9fd}
.group-stamp.acquired{background:linear-gradient(140deg,#f2edff,#e9faee);border-color:#c4b3ff}
.group-stamp-symbol{font-size:27px;filter:grayscale(1);opacity:.65}
.group-stamp.acquired .group-stamp-symbol{filter:none;opacity:1}
.group-stamp strong{font-size:12px;line-height:1.5;overflow-wrap:anywhere}
.group-stamp small{color:var(--muted);font-size:11px}
.group-progress{height:6px;width:100%;background:#e9e8f4;border-radius:8px;overflow:hidden;margin-top:auto}
.group-progress>div{height:100%;background:#7967ea;border-radius:8px}
.branding-demo{margin-top:18px;border:1px dashed #bcb6db;background:#f7f5ff;border-radius:16px;padding:18px;display:flex;gap:14px;align-items:center}
.branding-demo strong,.branding-demo small,.branding-demo span{display:block}
.branding-demo strong{font-size:20px;letter-spacing:-.04em}
.branding-demo small{font-weight:750;color:#777794}
.branding-demo span{font-size:12px;color:#797795;margin-top:4px}
@media(max-width:760px){.group-stamps{grid-template-columns:repeat(2,minmax(0,1fr))}.branding-demo strong{font-size:16px}}

/* v11 — catalog is collapsible to avoid crowding the personal stamps board */
.goal-catalog summary{font-weight:800;cursor:pointer;list-style-position:inside;padding:4px 0;line-height:1.55}
.goal-section{margin:22px 0 4px}
.goal-section h3{margin-bottom:12px;display:flex;align-items:center;gap:9px}
.goal-catalog-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.goal-row{display:grid;grid-template-columns:44px minmax(0,1fr) auto;align-items:center;gap:10px;padding:12px;border-radius:14px;background:rgba(124,108,197,.065);min-width:0}
.goal-icon{font-size:23px;text-align:center}
.goal-row strong{display:block;line-height:1.4;font-size:14px}
.goal-row small{display:block;font-size:12px;color:var(--muted,#6c6d85);line-height:1.5;margin:3px 0 7px}
.goal-row .group-progress{height:6px}
.goal-count{font-size:11px;font-weight:750;white-space:nowrap;color:#6855a7}
@media(max-width:680px){.goal-catalog-grid{grid-template-columns:1fr}.goal-row{grid-template-columns:38px minmax(0,1fr) auto;padding:11px 9px}}

/* v12 — church-scoped onboarding, invitations and multi-community settings */
.join-panel{background:#f5f2ff;border:1px solid #e4defd;border-radius:17px;padding:15px;margin-bottom:18px;box-shadow:none}
.join-panel .field{margin:0}.join-panel input{flex:1 1 170px;min-width:0;border-radius:12px;border:1px solid #dcd9ee;padding:11px 13px;background:#fff}
.join-panel button{flex:0 0 auto}.join-panel .hint{margin-top:9px}
.code-tile{padding:18px;border:1px solid #ece9f8;border-radius:18px;background:#faf9ff;min-width:0}
.code-tile h3{font-size:15px}.code-tile .codeForm{display:flex;gap:7px;flex-wrap:wrap;align-items:center}
.code-tile .codeForm input{flex:1 1 160px;min-width:0;border:1px solid #ded9f1;background:white;padding:11px;border-radius:10px;font-size:12px}
.invite-qr{display:flex;flex-direction:column;align-items:center;gap:6px}
.invite-qr img{width:180px;height:180px;image-rendering:pixelated;padding:10px;background:white;border-radius:12px}
.invite-qr p{font-size:11px;color:var(--muted);text-align:center}
@media(max-width:640px){.join-panel .flex{align-items:stretch}.join-panel .flex input{width:100%;flex-basis:100%}.join-panel button{width:100%}.code-tile .codeForm input{flex-basis:100%}.code-tile .codeForm button{width:100%}}

/* WORDSTEP v13: combined challenge guide */
.goal-catalog summary{border-radius:14px;padding:10px 12px;background:linear-gradient(100deg,rgba(141,111,201,.12),rgba(77,176,145,.10));font-size:17px;transition:background .2s;}
.goal-catalog summary:hover{background:rgba(141,111,201,.17)}
.goal-catalog[open] summary{margin-bottom:12px;}
.mission-subheading{margin:16px 0 10px;font-size:13px;font-weight:800;color:var(--muted,#71738d);}
/* v14: role-specific ministry dashboard and seasonal extras */
.class-chart{display:flex;flex-direction:column;gap:20px}
.class-chart-row{display:flex;flex-direction:column;gap:9px}
.class-chart-row strong{font-size:15px}
.class-chart-row span{font-size:13px;color:#6e7191;font-weight:700}
.class-chart-track{height:13px;background:#efedfa;border-radius:99px;overflow:hidden}
.class-chart-track>div{height:100%;background:linear-gradient(90deg,#8d70d1,#50b7a2);border-radius:99px;transition:width .3s ease}
.season-feature{background:linear-gradient(110deg,#fbfaff,#f0fbf7)}
.season-feature .verse-reference{background:white;border:1px solid #e4ddf8;border-radius:16px;padding:20px;line-height:1.8;font-size:18px;user-select:none}
.season-settings-form .field-row input{width:100%}
@media(max-width:700px){.class-chart-row .flex{gap:8px}.season-feature .verse-reference{font-size:16px;padding:15px}}


/* v15 — 관리자 성경 공개 목록을 정경 분류별 접이식 카드로 구성 */
.book-testament-title{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:18px 6px 10px;margin-top:17px;border-bottom:1px solid var(--stroke);font-size:19px;font-weight:850}
.book-category{margin-top:12px;border:1px solid var(--stroke);border-radius:18px;background:#fdfdff;overflow:hidden;transition:border-color .15s}
.book-category[hidden],.book-check[hidden]{display:none!important}
.book-category-complete{border-color:#badbcc}
.book-category-summary{display:flex;align-items:center;gap:12px;cursor:pointer;list-style:none;padding:15px 17px;min-height:75px}
.book-category-summary::-webkit-details-marker{display:none}
.book-category-summary:hover{background:#f7f6ff}
.book-category-icon{display:grid;place-content:center;flex:none;background:#f1efff;border-radius:13px;width:43px;height:43px;font-size:24px}
.book-category-name{display:grid;gap:1px;flex:1;min-width:0}
.book-category-name strong{font-size:15px}
.book-category-name small{font-size:12px;color:var(--muted)}
.book-category-summary .badge{white-space:nowrap}
.book-category-chevron{font-size:22px;color:var(--muted);margin-left:3px;transform:rotate(0);transition:transform .15s}
.book-category[open] .book-category-chevron{transform:rotate(180deg)}
.book-category-content{padding:0 17px 17px;border-top:1px solid var(--stroke)}
.book-category-actions{display:flex;justify-content:space-between;align-items:center;gap:9px;flex-wrap:wrap;margin-top:12px}
.book-category-actions .btn{padding:7px 10px}
@media(max-width:650px){.book-testament-title{font-size:16px}.book-category-summary{padding:12px 11px;gap:9px;min-height:65px}.book-category-icon{width:36px;height:36px;font-size:20px}.book-category-name strong{font-size:14px}.book-category-name small{font-size:11px}.book-category-content{padding:0 11px 12px}.book-category-actions .small{font-size:11px}.book-category-actions .flex{width:100%}.book-category-actions .btn{flex:1}}

/* WORDSTEP v15.1: protect seasonal verse text as in normal typing mode */
.seasonal-protected-verse,.seasonal-protected-verse *{-webkit-user-select:none!important;user-select:none!important;-webkit-touch-callout:none!important;-webkit-user-drag:none!important}

/* WORDSTEP v16 — Lenten day-by-day plan, special calendar stamps, ministry month comparison */
.season-reading-details{border-top:1px solid var(--stroke);padding-top:14px}
.season-reading-details>summary{cursor:pointer;font-weight:850;color:#6151ae;font-size:14px;padding:12px 0;list-style:none}
.season-reading-details>summary::-webkit-details-marker{display:none}
.season-reading-list{display:grid;gap:8px;max-height:620px;overflow:auto;padding-right:4px}
.season-reading-row{display:flex;align-items:center;gap:12px;padding:12px;border-radius:14px;background:#f7f7fd;border:1px solid #eeeeF8}
.season-reading-date{display:grid;gap:5px;min-width:75px}
.season-reading-date>strong{font-size:13px}
.season-reading-info{display:grid;gap:4px;min-width:0;flex:1}
.season-reading-info strong{font-size:13px}
.season-reading-info small{font-size:11px;color:var(--muted)}
.season-reading-row .btn{white-space:nowrap;flex-shrink:0}
.calendar-stamps{display:flex;align-items:center;justify-content:center;gap:2px;flex-wrap:wrap}
.calendar-stamps b{font-size:19px}
.special-calendar-stamp{font-size:12px;font-style:normal}
.calendar-day.special-done{box-shadow:inset 0 0 0 1.5px #a18bdf;background:#f6f2ff}
.season-ministry-day{padding:16px;background:#f8f7ff;border:1px solid #eee9ff;border-radius:16px}
.season-ministry-record{background:white;border:1px solid #ebeaf3;border-radius:13px;padding:14px}
@media(max-width:720px){.season-reading-row{gap:8px;padding:10px;flex-wrap:wrap}.season-reading-info{flex-basis:45%}.season-reading-row .btn{font-size:11px}.season-reading-date{min-width:66px}.season-reading-row .badge{font-size:9px}}
