@import url('https://fonts.googleapis.com/css2?family=Noto+Color+Emoji&display=swap');
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;600;700&family=Noto+Sans+KR:wght@400;500;600;700;800&display=swap');
:root{font-family:'DM Sans','Noto Sans KR',sans-serif;color:#253b32;background:#f7f7ef;font-synthesis:none;scroll-behavior:smooth}*{box-sizing:border-box}body{margin:0}button,input,textarea{font:inherit}button{cursor:pointer}a{color:inherit;text-decoration:none}.topbar{height:78px;display:flex;align-items:center;justify-content:space-between;gap:24px;padding:0 max(5vw,24px);background:#f7f7ef;position:sticky;top:0;z-index:5;border-bottom:1px solid #e4e8dd}.brand{display:flex;align-items:center;gap:12px;font-weight:800;font-size:19px;white-space:nowrap}.brand small{display:block;font-size:10px;letter-spacing:.08em;font-weight:500;color:#7c8e7c}.brand-mark{display:grid;place-items:center;width:37px;height:37px;border-radius:11px;background:#315f46;color:#fff;font-size:22px}.topbar nav{display:flex;gap:30px;font-size:13px;font-weight:700;color:#5b6d60}.topbar nav a:hover{color:#2b7950}.hero{min-height:590px;display:grid;grid-template-columns:minmax(420px,1fr) minmax(420px,1.13fr);align-items:stretch;background:#eaf0db}.hero-copy{padding:90px 5vw 70px max(6vw,32px);align-self:center}.eyebrow{font-size:11px;font-weight:800;letter-spacing:.18em;color:#7b955e;margin:0 0 15px}.hero h1{font-size:clamp(38px,4.2vw,64px);line-height:1.28;letter-spacing:-.055em;margin:0 0 26px}.hero h1 em{font-style:normal;color:#4c8054}.hero-copy>p:not(.eyebrow):not(.pilot-note){font-size:16px;line-height:1.95;max-width:560px;color:#617467}.hero-actions{display:flex;gap:12px;margin-top:34px}.button{display:inline-flex;align-items:center;justify-content:center;gap:16px;padding:15px 23px;border-radius:12px;font-size:14px;font-weight:800;border:1px solid transparent;transition:transform .18s,background .18s}.button:hover{transform:translateY(-2px)}.button.primary{background:#2f6345;color:white}.button.primary:hover{background:#224e35}.button.secondary{background:#fff9;border-color:#b9cbb5;color:#385d45}.button:disabled{opacity:.55;cursor:not-allowed;transform:none}.button.full{width:100%}.pilot-note{color:#618369;font-size:13px;margin-top:24px}.hero-art{position:relative;background:#86b175 url('/t-village.png') center center/cover no-repeat;min-height:530px}.hero-art:after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#eaf0db 0%,transparent 20%)}.art-label{position:absolute;bottom:25px;right:26px;z-index:1;background:#fffde9e8;border-radius:30px;padding:9px 16px;color:#406046;font-size:12px;font-weight:800}.steps{max-width:1190px;margin:-29px auto 0;position:relative;z-index:1;display:flex;align-items:center;justify-content:space-between;gap:12px;background:#fff;border:1px solid #e6e8dc;border-radius:20px;padding:26px 34px;box-shadow:0 14px 35px #3a583312}.steps div{display:flex;align-items:center;gap:12px;font-size:13px;font-weight:700}.steps b{color:#528363;font-size:12px}.steps i{font-style:normal;color:#a1b7a3}.section{max-width:1190px;margin:0 auto;padding:98px 24px 32px;scroll-margin-top:70px}.section-heading{display:flex;justify-content:space-between;align-items:center;gap:25px;margin-bottom:34px}.section-heading h2{font-size:clamp(27px,3vw,39px);letter-spacing:-.045em;margin:0 0 10px}.section-heading p:not(.eyebrow){color:#758578;margin:0;line-height:1.7}.chip{border-radius:30px;background:#e5f0d8;color:#4a754f;padding:11px 17px;font-size:12px;font-weight:800;white-space:nowrap}.house-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:15px}.house{background:#fff;border:1px solid #e1e6d9;border-radius:18px;padding:20px 17px 18px;min-height:235px;display:flex;flex-direction:column;justify-content:space-between;box-shadow:0 5px 20px #2b4b3010}.house .roof{width:100%;height:94px;display:grid;place-items:center;border-radius:13px;background:#e3efe3;font-size:59px}.house:nth-child(2) .roof{background:#f6ead5}.house:nth-child(3) .roof{background:#e4eaf5}.house:nth-child(4) .roof{background:#f4e7e3}.house:nth-child(5) .roof{background:#ece8f5}.house h3{font-size:16px;margin:15px 0 4px}.house small{font-size:11px;color:#7f8e83}.house button{margin-top:14px;width:100%;border:1px solid #b8cdbd;background:#f6faf5;color:#346346;padding:10px;border-radius:9px;font-size:12px;font-weight:800}.house.occupied button{background:#f3f3ef;border-color:#e4e7de;color:#818a80}.notice{margin:19px 0 0;font-size:12px;color:#778679;line-height:1.7}.plaza-section{padding-top:110px}.place-icon{font-size:47px;color:#82a972}.problem-list{display:grid;gap:18px}.problem{background:#fff;border:1px solid #e1e7da;border-radius:21px;padding:28px 32px;display:flex;justify-content:space-between;gap:25px;align-items:center}.problem .tag{display:inline-flex;background:#f3edcf;color:#857341;border-radius:20px;padding:7px 12px;font-size:11px;font-weight:800}.problem h3{font-size:23px;letter-spacing:-.03em;margin:13px 0 8px}.problem p{margin:0;color:#66776a;line-height:1.75}.problem .button{white-space:nowrap}.home-section{padding-bottom:115px}.home-empty{background:#eef2e7;border:1px dashed #b7ccb2;border-radius:20px;padding:40px;text-align:center;color:#566b59}.home-empty strong{display:block;font-size:18px;margin:5px 0 9px}.home-summary{background:#eaf1df;padding:26px;border-radius:20px;display:flex;align-items:center;gap:20px}.home-summary .avatar{font-size:49px;width:75px;height:75px;display:grid;place-items:center;background:white;border-radius:18px}.home-summary h3{margin:0 0 7px;font-size:23px}.home-summary p{margin:0;color:#637864}.tree-count{margin-left:auto;background:#fff;border-radius:13px;padding:13px 19px;font-weight:800;color:#326748;white-space:nowrap}.solution-list{margin-top:20px;display:grid;gap:15px}.solution{background:white;border-radius:16px;border:1px solid #e2e7db;padding:22px}.solution h4{font-size:17px;margin:0 0 10px}.solution p{white-space:pre-wrap;line-height:1.75;color:#526456}.feedback{background:#f4f4e4;border-left:3px solid #90a766;padding:13px 16px;margin-top:16px;border-radius:3px 10px 10px 3px}.feedback b{display:block;color:#42654c;font-size:13px}footer{border-top:1px solid #e5eadd;padding:35px max(6vw,24px);display:flex;justify-content:space-between;color:#788778;font-size:12px}footer strong{color:#44604a}dialog{width:min(520px,calc(100vw - 30px));border:0;padding:0;border-radius:22px;box-shadow:0 30px 90px #122f2c45;color:#263d31}dialog::backdrop{background:#15291f9c}.dialog-body{padding:34px;position:relative}.dialog-body h2{font-size:27px;margin:0 0 12px}.dialog-body p{color:#647467;line-height:1.65;font-size:13px}.dialog-body label:not(.check),legend{display:block;font-weight:800;font-size:13px;margin:24px 0 9px}.dialog-body input:not([type=hidden]):not([type=checkbox]),textarea{width:100%;border:1px solid #cbd8c7;background:#fbfdf9;border-radius:10px;padding:13px;outline:none}.dialog-body input:focus,textarea:focus{border-color:#418361;box-shadow:0 0 0 3px #a9d3ac66}.dialog-body fieldset{border:0;margin:0;padding:0}.avatar-choices{display:flex;gap:7px}.avatar-choices label{margin:0!important;cursor:pointer}.avatar-choices input{position:absolute;opacity:0;width:1px}.avatar-choices span{display:grid;place-items:center;background:#f4f7ef;border:2px solid transparent;border-radius:13px;width:58px;height:58px;font-size:32px}.avatar-choices input:checked+span{border-color:#3d8056;background:#e4f4e6}.avatar-choices input:focus-visible+span{outline:3px solid #88b58f}.check{display:flex;gap:10px;align-items:start;margin:25px 0}.check input{margin-top:4px;accent-color:#3d8056}.check span{font-size:12px;color:#586d5e;line-height:1.65}.required{color:#b45f47;font-size:11px}.close{position:absolute;right:22px;top:19px;border:0;background:transparent;font-size:27px;color:#6b786c}.form-error{color:#ad453b!important;font-weight:700;min-height:18px}.hint{font-size:11px!important}@media(max-width:900px){.hero{grid-template-columns:1fr}.hero-copy{padding:70px 30px}.hero-art{min-height:340px}.hero-art:after{display:none}.steps{margin:0 20px;flex-wrap:wrap}.house-grid{grid-template-columns:repeat(3,1fr)}}@media(max-width:600px){.topbar{height:67px;padding:0 15px}.topbar nav{gap:11px;font-size:11px}.topbar nav a:first-child{display:none}.brand{font-size:14px}.brand-mark{width:30px;height:30px;font-size:18px}.brand small{font-size:8px}.hero-copy{padding:57px 23px}.hero h1{font-size:37px}.hero-art{min-height:270px}.steps{display:grid;grid-template-columns:1fr 1fr;padding:18px;margin:0 13px}.steps i{display:none}.steps div{font-size:11px;gap:6px}.section{padding:76px 17px 25px}.section-heading{align-items:start}.section-heading h2{font-size:28px}.chip{font-size:10px;padding:8px}.house-grid{grid-template-columns:repeat(2,1fr);gap:10px}.house{min-height:215px;padding:12px}.house .roof{height:78px;font-size:48px}.house h3{font-size:14px}.problem{display:block;padding:22px}.problem .button{margin-top:20px}.home-summary{flex-wrap:wrap}.tree-count{margin-left:0}footer{display:block}.avatar-choices span{width:44px;height:49px;font-size:25px}.dialog-body{padding:25px}}
.enter-form{margin-top:22px;background:#fff;border:1px solid #e1e7da;border-radius:16px;padding:20px}.enter-form[hidden]{display:none}.enter-form label{display:block;font-size:13px;font-weight:800;margin-bottom:10px}.enter-form>div{display:flex;gap:10px}.enter-form input{flex:1;min-width:0;border:1px solid #cbd8c7;border-radius:10px;padding:12px}.credential-code{display:block;word-break:break-all;background:#f0f4ea;border-radius:9px;padding:13px;margin:20px 0;font-size:12px}.credential-code+.button{margin-bottom:10px}
.house .roof img{width:95px;height:88px;object-fit:contain}.hero h1{font-size:clamp(35px,3.55vw,54px)}@media(max-width:600px){.hero h1{font-size:36px}.house .roof img{width:75px;height:73px}.enter-form>div{display:block}.enter-form .button{margin-top:10px;width:100%}}
.keep-word{white-space:nowrap}
#ask-button{margin-top:20px}#ask-button[hidden]{display:none}
/* TOC월드 · code-first village workspace */
[hidden]{display:none!important}button:focus-visible,a:focus-visible{outline:3px solid #cd8a3c;outline-offset:4px}h1{letter-spacing:-.055em;line-height:1.3}.gate{min-height:100dvh;display:grid;grid-template-columns:minmax(340px,.8fr) 1.2fr;background:#f7f6ef}.gate-card{padding:70px clamp(28px,5vw,90px);align-self:center}.gate-icon{font-size:45px}.gate h1{font-size:clamp(32px,3vw,49px);margin:24px 0}.gate-card>p{line-height:1.9;color:#69766a;font-size:14px}.gate-card small{font-size:11px;color:#76806e;line-height:1.8}.gate form{margin:32px 0 10px}.gate label{display:block;font-size:13px;font-weight:700;margin-bottom:12px}.gate input{width:100%;border:1px solid #bbc7ad;border-radius:12px;background:white;padding:17px;font-size:15px;margin-bottom:12px}.gate-landscape{background:#86b175;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:32px;gap:16px}.gate-world-img{width:100%;height:auto;border-radius:16px;box-shadow:0 10px 30px #1a3a2740;display:block}.gate-landscape span{color:white;background:#254431b8;padding:12px 20px;border-radius:30px;font-size:13px}.world-shell{min-height:100dvh;display:grid;grid-template-columns:228px minmax(0,1fr)}.sidebar{position:sticky;top:0;height:100dvh;border-right:1px solid #dce3d4;background:#f0f2e8;display:flex;flex-direction:column;padding:32px 20px}.sidebar .brand{font-size:21px;gap:9px}.sidebar-note{display:grid;gap:8px;padding:25px 13px;margin:26px 0;background:#e4e9d8;border-radius:15px}.sidebar-note>span{font-size:27px}.sidebar-note b{font-size:13px;overflow-wrap:anywhere}.sidebar-note small{font-size:10px;color:#6c7a61}.sidebar nav{display:grid;gap:7px}.sidebar nav button{display:flex;align-items:center;gap:13px;text-align:left;border:0;background:transparent;border-radius:10px;padding:15px 12px;color:#66755c;font-size:14px}.sidebar nav button[aria-current]{background:#315d43;color:#fff;box-shadow:0 5px 14px #315d4320;font-weight:700}.sidebar nav button:hover{box-shadow:inset 0 0 0 1px #9eaf91}.sidebar-bottom{margin-top:auto;padding:28px 12px 0}.sidebar-bottom p{font-size:12px;line-height:1.8;color:#819079}.sidebar-bottom button{border:0;background:none;color:#69795f;padding:10px 0}.workspace{min-width:0;background:#faf9f3}.workspace-top{height:77px;border-bottom:1px solid #e4e7db;display:flex;align-items:center;justify-content:space-between;padding:0 34px;font-size:13px;color:#718165}.workspace-top .chip{font-size:11px;background:#eef0e4}.page.section{max-width:1500px;padding:36px 34px 60px;margin:0 auto}.section-heading{margin-bottom:26px;align-items:center}.section-heading h1,.page>h1{font-size:32px;margin:0 0 10px}.section-heading p:not(.eyebrow){font-size:13px}.section-heading .eyebrow{font-size:10px;margin-bottom:10px}.map-wrap{position:relative;overflow:hidden;border-radius:20px;border:1px solid #d1dbc1;box-shadow:0 12px 35px #3e582018}.world-map{display:block;width:100%;height:auto;transition:transform .3s cubic-bezier(.34,1.56,.64,1)}.map-wrap:has(.village-zone:hover) .world-map{transform:scale(1.03) translateY(-5px)}.map-house{position:absolute;transform:translate(-50%,-50%);background:#fff8e9;border:2px solid #fff;border-radius:20px;padding:7px 11px;color:#315938;font-size:12px;font-weight:800;box-shadow:0 3px 10px #14351b66;min-height:34px;white-space:nowrap}.map-house:hover,.map-house:focus-visible{background:#315d43;color:#fff;z-index:2}.map-house.settled{background:#e4f1d4}.map-label{position:absolute;bottom:13px;background:#244d38e6;color:#fff;border:1px solid #ffffff77;border-radius:30px;padding:8px 13px;font-size:11px}.map-label.t{left:7%}.map-label.o{left:44%;background:#50594dde}.map-label.c{left:78%;background:#50594dde}.house-grid{margin-top:24px;gap:10px}.house{padding:15px;min-height:165px;border-radius:13px;box-shadow:none}.house .roof{height:55px;font-size:32px}.house .roof img{height:52px;width:60px}.house h3{font-size:12px;margin-top:12px}.house small{font-size:10px}.house button{font-size:11px}.mini-room{height:290px;position:relative;overflow:hidden;background:linear-gradient(0deg,#cfb28d 0 30%,#f1e6cc 30% 100%);border:10px solid #fff;border-radius:24px;box-shadow:0 3px 25px #5b674014;margin-bottom:24px}.mini-room:before{content:'';position:absolute;left:18%;right:18%;height:65px;bottom:9px;border-radius:50%;background:#859e77aa;transform:rotate(-5deg)}.room-window{position:absolute;left:14%;top:12%;background:linear-gradient(#bde2e1,#f8e8b0);border:9px solid #fff9e8;width:95px;height:100px;border-radius:45px 45px 0 0;text-align:center;padding:19px;font-size:29px;box-shadow:0 4px 0 #b8a780}.room-avatar{position:absolute;left:48%;bottom:32px;font-size:85px;filter:drop-shadow(0 9px 4px #664b3833)}.room-plant{position:absolute;right:14%;bottom:38px;font-size:62px}.room-books{position:absolute;left:24%;bottom:41px;font-size:50px}.guide-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-top:30px}.guide-grid article{background:#fff;border:1px solid #e1e7da;border-radius:18px;padding:28px;line-height:1.9}.guide-grid b{color:#38624b}.guide-grid p{font-size:14px;color:#6b7865}#neighbor-content>.button{margin:20px 0}#neighbor-content h1{font-size:30px}.home-summary{border:1px solid #dce5cf}.page .button{padding:12px 18px}.notice{font-size:12px}.gate .form-error{margin:12px 0;min-height:20px}
@media(min-width:1600px){.world-shell{grid-template-columns:250px 1fr}.page.section{padding-top:50px}}
@media(max-width:1000px){.world-shell{grid-template-columns:190px 1fr}.sidebar{padding:24px 13px}.sidebar .brand{font-size:18px}.page.section{padding:28px 20px}.workspace-top{padding:0 20px}.section-heading h1{font-size:27px}.house-grid{grid-template-columns:repeat(3,1fr)}.map-house{font-size:10px;padding:5px 7px}.map-label{font-size:9px;padding:6px 8px}.section-heading{flex-wrap:wrap}}
@media(max-width:640px){.gate{display:flex;flex-direction:column-reverse}.gate-landscape{min-height:190px;padding:18px}.gate-landscape span{font-size:10px}.gate-card{padding:32px 25px}.gate h1{font-size:34px;margin:15px 0}.gate-icon{display:none}.world-shell{grid-template-columns:76px minmax(0,1fr)}.sidebar{padding:18px 6px}.sidebar .brand{justify-content:center}.sidebar .brand>span:last-child,.sidebar-note,.sidebar-bottom p{display:none}.sidebar nav{margin-top:28px;gap:9px}.sidebar nav button{flex-direction:column;gap:5px;font-size:22px;padding:10px 2px}.sidebar nav button span{font-size:9px;letter-spacing:-.06em}.sidebar-bottom{padding:0;margin-top:auto}.sidebar-bottom button{font-size:10px;width:100%}.workspace-top{height:60px;padding:0 12px;font-size:11px}.workspace-top .chip{font-size:8px;padding:6px}.page.section{padding:25px 12px}.section-heading h1,.page>h1{font-size:23px}.section-heading p:not(.eyebrow){font-size:11px}.section-heading{gap:12px}.section-heading .chip{font-size:10px;padding:6px 10px}.map-wrap{border-radius:12px}.map-house{font-size:8px;min-height:25px;padding:2px 4px;border-width:1px}.map-label{font-size:7px;padding:3px;bottom:4px}.map-label.t{left:3%}.map-label.o{left:40%}.map-label.c{left:74%}.house-grid{grid-template-columns:1fr 1fr;gap:8px}.house{padding:10px;min-height:160px}.house h3{font-size:11px}.house button{font-size:10px;padding:8px 3px}.notice{font-size:10px}.mini-room{height:220px;border-width:6px}.room-window{left:8%;width:64px;height:72px;border-width:6px;padding:10px;font-size:23px}.room-avatar{left:40%;font-size:62px}.room-plant{right:5%;font-size:45px}.room-books{left:13%;font-size:33px}.guide-grid{grid-template-columns:1fr}.guide-grid article{padding:19px}.home-summary{padding:18px;gap:12px}.home-summary h3{font-size:18px}.home-summary p{font-size:11px}.tree-count{font-size:12px}.problem h3{font-size:20px}.problem{padding:19px}.problem p{font-size:12px}.solution{padding:15px}.solution h4{font-size:14px}.solution p{font-size:12px}#neighbor-content h1{font-size:22px}}

:root{font-family:'DM Sans','Noto Sans KR','Noto Color Emoji',sans-serif}

/* Sunny studio: live profile and records surrounding the approved room artwork. */
.sidebar{background:#687c5d;color:#fffbea;border:0;border-radius:0 24px 24px 0}.sidebar .brand-mark{background:transparent;color:#ffedbc;font-size:30px}.sidebar .brand small,.sidebar-bottom p,.sidebar-bottom button{color:#e3e7d7}.sidebar-note{background:#ffffff10}.sidebar-note small{color:#e3e7d7}.sidebar nav button{color:#f8f7e9}.sidebar nav button[aria-current]{background:#ffffff29;box-shadow:none}.workspace{background:#faf7f1}.workspace-top{border-color:#e9e3d7}.home-section .section-heading h1{color:#303f32;font-size:clamp(23px,2.7vw,36px)}.studio-summary{display:flex;align-items:center;gap:20px;border:1px solid #eae3d5;background:#fcfaf5;border-radius:22px;padding:22px;margin-bottom:12px}.studio-summary .avatar{display:grid;place-items:center;width:90px;height:90px;flex-shrink:0;background:#e2e5d4;border:4px solid #fff;border-radius:50%;font-size:48px}.studio-title{min-width:0}.studio-title h3{font-size:21px;margin:0 0 9px;overflow-wrap:anywhere}.studio-title p{margin:0;color:#85877b;font-size:14px}.studio-title small{display:block;color:#85877b;margin-top:6px;font-size:10px}.studio-stats{margin-left:auto;display:grid;grid-template-columns:repeat(4,minmax(96px,1fr));gap:10px}.studio-stat{background:#eceee2;border-radius:16px;padding:18px 14px;display:flex;align-items:center;justify-content:center;gap:12px;color:#48573f}.studio-stat span:not(.stat-icon){font-size:12px;white-space:nowrap}.studio-stat strong{display:block;font-size:27px;margin-top:3px;font-weight:600}.stat-icon{font-size:27px;color:#7c8d6e}.studio-stat.has-answers{background:#ffead5;color:#d96c23}.studio-stat.has-answers .stat-icon{color:#e57b30}.studio-room{width:100%;aspect-ratio:1266/536;border-radius:20px;background-image:url('/sunny-studio-design.png');background-size:121.327% 191.045%;background-position:91.852% 49.59%;background-repeat:no-repeat;margin-bottom:12px}.studio-notebook{background:#fcfaf5;border:1px solid #eae3d5;border-radius:20px;padding:18px 22px;margin-bottom:18px}.studio-tabs{display:flex;gap:22px;border-bottom:1px solid #eae3d5;margin-bottom:16px}.studio-tabs button{border:0;border-bottom:4px solid transparent;background:none;padding:12px 14px;color:#84877c;font-weight:700;font-size:15px}.studio-tabs button[aria-selected=true]{color:#42583d;border-bottom-color:#687c5d}.studio-notebook .solution{background:#fff;border-color:#eee8de;border-radius:16px}.studio-notebook .solution p{white-space:pre-wrap;overflow-wrap:anywhere}.answered-question h4{color:#b65f27}.studio-notebook .home-empty{padding:28px 12px;font-size:14px}.studio-notebook .feedback{background:#f4f5ed}
@media(max-width:1200px){.studio-summary{flex-wrap:wrap}.studio-stats{width:100%;margin-left:0}.studio-title{flex:1}.studio-stat{padding:12px}.studio-room{min-height:0}}
@media(max-width:640px){.sidebar{border-radius:0 16px 16px 0}.studio-summary{padding:14px;gap:12px;border-radius:16px}.studio-summary .avatar{width:55px;height:55px;font-size:30px}.studio-title h3{font-size:16px}.studio-title p{font-size:11px}.studio-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.studio-stat{padding:10px;gap:8px;border-radius:12px}.studio-stat strong{font-size:22px}.studio-stat span:not(.stat-icon){font-size:10px}.stat-icon{font-size:21px}.studio-room{border-radius:12px}.studio-notebook{padding:10px;border-radius:14px}.studio-tabs{gap:4px}.studio-tabs button{padding:10px 5px;font-size:11px}.home-section .section-heading{flex-wrap:wrap}.home-section .section-heading>button{font-size:11px}.studio-notebook .home-empty{font-size:12px}}
.village-section{margin-top:28px}.village-heading{font-size:15px;font-weight:800;color:#3a6048;margin:0 0 12px;letter-spacing:-.02em;padding:8px 0 8px 4px;border-bottom:2px solid #dce8d2}.village-section .house-grid{margin-top:0}@media(max-width:640px){.village-heading{font-size:13px;margin-bottom:8px}.village-section{margin-top:20px}}
.village-zone{position:absolute;background:transparent;border:0;cursor:pointer;z-index:3;border-radius:0;transition:background .2s}.village-zone:hover{background:radial-gradient(circle at 50% 28%,rgba(255,255,255,.3) 0%,transparent 52%)}.map-label{transition:transform .2s ease}.map-wrap:has(.zone-t:hover) .map-label.t,.map-wrap:has(.zone-o:hover) .map-label.o,.map-wrap:has(.zone-c:hover) .map-label.c{transform:translateY(-6px)}
.map-house{display:none}
.village-detail-header{display:flex;align-items:center;gap:16px;margin-bottom:20px;flex-wrap:wrap}.village-detail-header h2{font-size:28px;margin:0}.village-detail-header .eyebrow{margin:0 0 4px}
.village-scene{position:relative;width:100%;aspect-ratio:4/3;border-radius:22px;overflow:hidden;border:none;box-shadow:0 0 0 8px #fff,0 12px 32px #3e582018;background:no-repeat top center/cover;margin:0 auto 28px;filter:saturate(0.72) brightness(1.04)}.village-scene[data-village="t"]{background-image:url('/t-village-scene.png')}.village-scene[data-village="o"]{background-image:url('/o-village-scene.png')}.village-scene[data-village="c"]{background-image:url('/c-village-scene.png')}
/* 지도 위 공동체 공간 클릭 영역 */
.map-spot{position:absolute;background:rgba(255,255,255,.85);border:2px solid #fff;border-radius:16px;padding:6px 12px;cursor:pointer;z-index:5;transition:transform .2s,box-shadow .2s,background .2s;box-shadow:0 3px 12px rgba(0,0,0,.2)}
.map-spot:hover{transform:scale(1.08);box-shadow:0 6px 20px rgba(0,0,0,.25);background:#fff}
.spot-label{font-size:12px;font-weight:800;color:#315938;white-space:nowrap}
.spot-plaza{left:22%;bottom:32%}
.spot-cafe{left:48%;bottom:28%}
.spot-library{right:18%;bottom:30%}
@media(max-width:640px){.map-spot{padding:4px 8px;border-radius:12px}.spot-label{font-size:10px}.spot-plaza{left:15%;bottom:28%}.spot-cafe{left:42%;bottom:24%}.spot-library{right:12%;bottom:26%}}
.scene-house{position:absolute;transform:translate(-50%,-100%);background:rgba(255,255,255,.92);border:2px solid #fff;border-radius:20px;padding:4px 10px 4px 7px;font-size:11px;font-weight:700;color:#315938;cursor:pointer;display:flex;align-items:center;gap:4px;box-shadow:0 2px 8px rgba(0,0,0,.2);transition:transform .15s,box-shadow .15s;white-space:nowrap;z-index:4;line-height:1.3}
.scene-house:hover{transform:translate(-50%,-110%);box-shadow:0 4px 16px rgba(0,0,0,.25)}
.scene-house::after{content:'';position:absolute;bottom:-7px;left:50%;transform:translateX(-50%);border:4px solid transparent;border-top-color:rgba(255,255,255,.92)}
.scene-house.vacant{background:rgba(255,255,255,.78);border:2px dashed #b8cdb4;color:#8a9e87}
.chat-mode-row{display:flex;gap:8px;margin-bottom:20px;flex-wrap:wrap}
.chat-mode{padding:7px 16px;border:1.5px solid #d8e6d0;border-radius:20px;background:#fff;font-size:13px;font-weight:700;color:#8a9e87;cursor:pointer;transition:background .15s,color .15s,border-color .15s}
.chat-mode.active{background:#e8f3e4;color:#315938;border-color:#7ea87a}
.chat-messages{min-height:160px;max-height:420px;overflow-y:auto;display:flex;flex-direction:column;gap:12px;padding:16px;background:#f7f9f5;border-radius:16px;margin-bottom:14px}
.chat-bubble{display:flex;align-items:flex-start;gap:10px;max-width:88%}
.chat-bubble.user{flex-direction:row-reverse;align-self:flex-end}
.chat-text{background:#fff;border-radius:16px;padding:10px 14px;font-size:14px;line-height:1.6;white-space:pre-wrap;word-break:break-word}
.chat-bubble.user .chat-text{background:#e8f3e4;color:#315938}
.chat-avatar{font-size:22px;flex-shrink:0;margin-top:2px}
.chat-input-row{display:flex;gap:8px;align-items:flex-end}
.chat-input-row textarea{flex:1;resize:vertical;min-height:48px;border:1.5px solid #d8e6d0;border-radius:12px;padding:10px 14px;font-size:14px;font-family:inherit;line-height:1.5}
.chat-input-row textarea:focus{outline:none;border-color:#7ea87a;box-shadow:0 0 0 3px #7ea87a22}
.chat-upload{display:flex;align-items:center;justify-content:center;font-size:20px;cursor:pointer;padding:8px;flex-shrink:0;opacity:.6;transition:opacity .15s}
.chat-upload:hover{opacity:1}
.library-tools{display:flex;flex-direction:column;gap:16px;margin-top:8px}
.library-tool{background:#fff;border:1px solid #e1e6d9;border-radius:18px;padding:22px 26px}
.library-tool-head{display:flex;align-items:flex-start;gap:12px;margin-bottom:10px}
.library-tool-icon{font-size:1.7rem;line-height:1;margin-top:2px;flex-shrink:0}
.library-tool-name{font-size:1rem;font-weight:800;color:#253b32;margin-bottom:4px}
.library-tool-name small{font-size:.72rem;font-weight:500;color:#778679;margin-left:6px}
.library-tool-tag{display:inline-block;background:#e5f0d8;color:#4a754f;border-radius:20px;padding:3px 9px;font-size:.7rem;font-weight:800}
.library-tool-desc{color:#617467;font-size:.9rem;line-height:1.65;margin:0 0 12px}
.library-steps-title{font-size:.75rem;font-weight:800;letter-spacing:.06em;color:#7b955e;margin:0 0 7px}
.library-steps{margin:0;padding-left:1.5em;display:flex;flex-direction:column;gap:5px;font-size:.87rem;color:#526456;line-height:1.5}
.library-ask-banner{margin-top:24px;background:#eaf1df;border-radius:16px;padding:22px 26px;display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap}
.library-ask-banner strong{display:block;font-weight:800;font-size:1rem;color:#253b32;margin-bottom:4px}
.library-ask-banner p{margin:0;font-size:.88rem;color:#617467}
@media(max-width:640px){.library-tool{padding:16px 18px}.library-ask-banner{padding:16px 18px}.library-ask-banner .button{width:100%;justify-content:center}}
.onboarding-title{font-size:12px;font-weight:700;color:#6a7e67;margin:20px 0 12px;letter-spacing:.04em}.book-shelf{display:flex;gap:20px;flex-wrap:wrap;padding:8px 0 32px}.book-card{display:flex;flex-direction:column;align-items:center;gap:8px;width:140px;min-height:200px;background:linear-gradient(160deg,#4a7c59,#2e5437);border-radius:4px 14px 14px 4px;border-left:6px solid #1e3d28;padding:24px 16px;cursor:pointer;box-shadow:4px 5px 18px #2b4b3033;transition:transform .2s,box-shadow .2s;color:#fff;border-top:none;border-right:none;border-bottom:none}.book-card:hover{transform:translateY(-6px) rotate(-1deg);box-shadow:6px 10px 24px #1e3d2855}.book-icon{font-size:36px;margin-bottom:4px}.book-title{font-size:13px;font-weight:800;line-height:1.4;text-align:center}.book-tag{font-size:10px;color:#a8cfb0;margin-top:auto;letter-spacing:.06em}.book-dialog-body{max-height:75dvh;overflow-y:auto}.book-content{margin-top:18px;line-height:1.85;color:#506655;font-size:14px}.book-content p{margin:4px 0}.book-content br{display:block;margin:8px 0;content:''}.book-content ol{padding-left:22px;margin:12px 0}.book-content li{margin:7px 0}.book-content strong{color:#315938}
.image-upload-section{margin:16px 0}.image-upload-label{display:inline-flex;align-items:center;gap:8px;padding:12px 18px;border:2px dashed #b8cdb4;border-radius:12px;cursor:pointer;font-size:13px;font-weight:700;color:#48634d;background:#f8fbf6;transition:border-color .2s,background .2s}.image-upload-label:hover{border-color:#7ea87a;background:#eef6eb}.upload-icon{font-size:18px}.image-input{display:none}.image-preview{position:relative;margin-top:12px;display:inline-block}.image-preview img{max-width:100%;max-height:200px;border-radius:12px;border:1px solid #d8e6d0}.remove-image{position:absolute;top:-8px;right:-8px;width:24px;height:24px;border-radius:50%;border:0;background:#d45454;color:#fff;font-size:16px;cursor:pointer;display:flex;align-items:center;justify-content:center;box-shadow:0 2px 6px rgba(0,0,0,.2)}.remove-image:hover{background:#bf3b3b}

/* Badge & Tree Stage */
.avatar-wrap{position:relative;display:inline-flex;flex-direction:column;align-items:center;gap:4px}
.tree-stage{font-size:22px;filter:drop-shadow(0 1px 2px rgba(0,0,0,.15))}
.name-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.badge{display:inline-flex;align-items:center;gap:4px;background:#fff3d4;color:#8b6914;border-radius:20px;padding:4px 12px;font-size:12px;font-weight:700;white-space:nowrap}
@media(max-width:640px){.badge{font-size:10px;padding:3px 8px}.tree-stage{font-size:18px}}

/* Guestbook */
.guestbook-section{background:#fcfaf5;border:1px solid #eae3d5;border-radius:20px;padding:22px;margin-top:18px}
.guestbook-section h4{font-size:16px;margin:0 0 16px;color:#42583d}
.guestbook-form{display:flex;gap:10px;margin-bottom:18px}
.guestbook-form input{flex:1;border:1px solid #d8e6d0;border-radius:10px;padding:12px;font-size:14px}
.guestbook-form input:focus{outline:none;border-color:#7ea87a;box-shadow:0 0 0 3px #7ea87a22}
.guestbook-form .button{white-space:nowrap;padding:10px 18px}
.guestbook-list{display:flex;flex-direction:column;gap:12px}
.guestbook-entry{background:#fff;border:1px solid #eee8de;border-radius:14px;padding:14px 16px}
.guestbook-header{display:flex;align-items:center;gap:8px;margin-bottom:8px}
.guestbook-avatar{font-size:20px}
.guestbook-visitor{font-weight:700;color:#42583d;font-size:14px}
.guestbook-date{color:#a0a899;font-size:11px;margin-left:auto}
.guestbook-message{margin:0;color:#526456;font-size:14px;line-height:1.6}
.guestbook-panel .guestbook-entry{border-color:#eae3d5}
.neighbor-summary{margin-bottom:18px}
@media(max-width:640px){.guestbook-section{padding:14px;border-radius:14px}.guestbook-section h4{font-size:14px}.guestbook-form{flex-direction:column}.guestbook-form .button{width:100%}.guestbook-entry{padding:10px 12px}.guestbook-avatar{font-size:16px}.guestbook-visitor{font-size:12px}.guestbook-message{font-size:12px}}

/* 마을 카페 */
.cafe-categories{display:flex;gap:8px;margin-bottom:20px;flex-wrap:wrap}
.cafe-cat{padding:8px 16px;border:1.5px solid #d8e6d0;border-radius:20px;background:#fff;font-size:13px;font-weight:700;color:#8a9e87;cursor:pointer;transition:background .15s,color .15s,border-color .15s}
.cafe-cat.active{background:#e8f3e4;color:#315938;border-color:#7ea87a}
.cafe-cat:hover:not(.active){border-color:#a0c798}
.cafe-posts{display:flex;flex-direction:column;gap:14px}
.cafe-post{background:#fff;border:1px solid #e1e6d9;border-radius:18px;padding:20px 24px}
.cafe-post-header{display:flex;align-items:center;gap:10px;margin-bottom:12px;flex-wrap:wrap}
.cafe-avatar{font-size:24px}
.cafe-author{font-weight:700;color:#42583d;font-size:14px}
.cafe-category-tag{display:inline-flex;background:#f3edcf;color:#857341;border-radius:20px;padding:4px 10px;font-size:11px;font-weight:700;margin-left:auto}
.cafe-date{color:#a0a899;font-size:11px}
.cafe-post-title{margin:0 0 8px;font-size:17px;color:#315938}
.cafe-post-content{margin:0;color:#526456;font-size:14px;line-height:1.7;white-space:pre-wrap}
#cafe-dialog select{width:100%;border:1px solid #cbd8c7;border-radius:10px;padding:13px;background:#fbfdf9;font-size:14px;margin-bottom:8px}
#cafe-dialog select:focus{border-color:#418361;box-shadow:0 0 0 3px #a9d3ac66;outline:none}
@media(max-width:640px){.cafe-categories{gap:6px}.cafe-cat{padding:6px 12px;font-size:11px}.cafe-post{padding:14px 16px;border-radius:14px}.cafe-avatar{font-size:20px}.cafe-author{font-size:12px}.cafe-category-tag{font-size:10px;padding:3px 8px}.cafe-post-title{font-size:14px}.cafe-post-content{font-size:12px}}

/* 프로필 이미지 */
.avatar-wrap{position:relative}
.avatar-img{width:90px;height:90px;border-radius:50%;object-fit:cover;background:#e2e5d4;border:4px solid #fff}
.edit-profile-btn{position:absolute;bottom:-4px;right:-4px;width:28px;height:28px;border-radius:50%;border:2px solid #fff;background:#687c5d;color:#fff;font-size:12px;cursor:pointer;display:flex;align-items:center;justify-content:center;box-shadow:0 2px 6px rgba(0,0,0,.2);transition:background .15s}
.edit-profile-btn:hover{background:#4a6047}
@media(max-width:640px){.avatar-img{width:55px;height:55px}.edit-profile-btn{width:22px;height:22px;font-size:10px}}

/* 헤딩 버튼 그룹 */
.heading-buttons{display:flex;gap:10px;flex-wrap:wrap}
@media(max-width:640px){.heading-buttons{flex-direction:column;gap:8px}.heading-buttons .button{font-size:11px;padding:10px 14px}}

/* 풀이 상세보기 */
.solution.clickable{cursor:pointer;transition:transform .15s,box-shadow .15s}
.solution.clickable:hover{transform:translateY(-2px);box-shadow:0 4px 14px rgba(0,0,0,.08)}
.solution-preview{overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;color:#6b7865}
.click-hint{display:block;margin-top:10px;color:#a0a899;font-size:11px}
.solution-dialog-body{max-height:80dvh;overflow-y:auto}
.solution-detail-content h4{font-size:14px;font-weight:700;color:#42583d;margin:20px 0 8px}
.solution-detail-content h4:first-child{margin-top:0}
.solution-detail-content p{margin:0;color:#526456;font-size:14px;line-height:1.75;white-space:pre-wrap}
.solution-answer{background:#f4f7ef;border-radius:12px;padding:16px;margin-bottom:8px}
.solution-meta{color:#a0a899;display:block;margin-bottom:16px}

/* 프로필 업로드 섹션 */
.profile-upload-section{margin-bottom:16px}
.profile-upload-section .image-preview{margin-top:10px}
.profile-upload-section .image-preview img{max-width:120px;max-height:120px;border-radius:50%}

/* 생각도구 갤러리 */
.gallery-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:18px}
.gallery-card{background:#fff;border:1px solid #e1e6d9;border-radius:18px;overflow:hidden;cursor:pointer;transition:transform .15s,box-shadow .15s}
.gallery-card:hover{transform:translateY(-4px);box-shadow:0 8px 24px rgba(0,0,0,.1)}
.gallery-thumbnail{width:100%;aspect-ratio:4/3;background:#f4f7ef;display:flex;align-items:center;justify-content:center;font-size:48px;overflow:hidden}
.gallery-thumbnail img{width:100%;height:100%;object-fit:cover}
.gallery-tool-tag{display:inline-block;background:#e5f0d8;color:#4a754f;border-radius:20px;padding:4px 10px;font-size:11px;font-weight:700;margin:12px 14px 8px}
.gallery-title{font-size:15px;margin:0 14px 8px;color:#315938;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.gallery-card-footer{display:flex;align-items:center;justify-content:space-between;padding:0 14px 14px;font-size:12px;color:#85877b}
.gallery-author{font-weight:600}
.gallery-date{color:#a0a899}
.gallery-detail-body{max-height:85dvh;overflow-y:auto}
.gallery-detail-img{width:100%;max-height:400px;object-fit:contain;background:#f4f7ef;border-radius:12px;margin-bottom:16px}
.gallery-detail-meta{display:flex;align-items:center;gap:12px;color:#85877b;font-size:13px;margin-bottom:12px}
.gallery-desc{color:#526456;line-height:1.7;margin:12px 0 0}
.gallery-comments-section{margin-top:24px;padding-top:20px;border-top:1px solid #eae3d5}
.gallery-comments-section h4{font-size:15px;margin:0 0 16px;color:#42583d}
.gallery-comments{display:flex;flex-direction:column;gap:12px;margin-bottom:16px}
.gallery-comment{background:#f8fbf6;border-radius:12px;padding:12px 14px}
.comment-header{display:flex;align-items:center;gap:8px;margin-bottom:6px;font-size:13px;font-weight:600;color:#42583d}
.comment-header small{font-weight:400;color:#a0a899}
.gallery-comment p{margin:0;font-size:14px;color:#526456;line-height:1.6}
.gallery-comment-form{display:flex;gap:10px}
.gallery-comment-form textarea{flex:1;border:1px solid #d8e6d0;border-radius:10px;padding:10px 14px;font-size:14px;resize:none}
.gallery-comment-form textarea:focus{outline:none;border-color:#7ea87a;box-shadow:0 0 0 3px #7ea87a22}
.gallery-comment-form .button{white-space:nowrap}
.gallery-feedback{background:linear-gradient(135deg,#fef8e8 0%,#fff5e6 100%);border-radius:14px;padding:14px 16px;margin:16px 0;border:1px solid #f0e4c8}
.feedback-label{display:block;font-size:13px;font-weight:600;color:#d4a44a;margin-bottom:8px}
.gallery-feedback p{margin:0;font-size:14px;color:#6b5a3e;line-height:1.7}
@media(max-width:640px){.gallery-grid{grid-template-columns:1fr 1fr;gap:10px}.gallery-thumbnail{aspect-ratio:1}.gallery-tool-tag{margin:8px 10px 6px;font-size:10px}.gallery-title{font-size:13px;margin:0 10px 6px}.gallery-card-footer{padding:0 10px 10px;font-size:10px}.gallery-comment-form{flex-direction:column}.gallery-comment-form .button{width:100%}}