:root{--green:#117b96;--ink:#244859;--muted:#658997;--cream:#e9f7f8;--line:#cde8ec}body{background:radial-gradient(circle at 95% 0,#a6e3e9 0,transparent 42%),linear-gradient(160deg,#f4fbfc,#e1f4f5);min-height:100vh}header{border-bottom:1px solid #c4e2e7}.brand{display:flex;align-items:center;gap:10px;color:#ffc94a;font-size:29px;letter-spacing:-1.5px;text-shadow:-1px -1px 0 #295d95,1px -1px 0 #295d95,-1px 1px 0 #295d95,2px 2px 0 #295d95}.brand>img{width:43px;height:43px}.brand b{color:#fff;margin-left:4px;font-size:33px}.brand span{margin-left:2px;color:#508392;text-shadow:none;font-size:8px;letter-spacing:2px}.hero{background:linear-gradient(115deg,#ffffffba,#d3f2f2aa);border:1px solid #fff;border-radius:24px;padding:24px 27px;position:relative}.eyebrow{color:#2f9ca9;letter-spacing:2px}.hero h1{color:#244859}.stats{border-color:#bbe2e5}.stats strong{color:#087f9b}.panel{border-color:#cce9ec;box-shadow:0 8px 25px #22809508}.primary{background:linear-gradient(105deg,#078ea9,#1cb8bb);border:2px solid #ffffffa0;box-shadow:0 4px 12px #087c9720;border-radius:30px}.primary:disabled{opacity:.5;cursor:wait}.secondary{background:#e3f4f5;border:1px solid #c8e8eb;border-radius:25px}.tag{border-radius:20px;background:#ffe9d9}.pin{border-radius:50%;width:65px;height:65px;background:#ffffffe8;border-color:#fff;box-shadow:0 0 0 3px #8ed4dc50,0 5px 12px #1b6c8d25}.pin.active{border-color:#08a8b3;background:#efffff}.pin small{background:#fff;padding:1px 4px;border-radius:8px;position:absolute;bottom:-7px;left:50%;transform:translateX(-50%);white-space:nowrap;color:#147a91}.mapnote{font-size:9px}.foodhero{background:linear-gradient(125deg,#fff4de,#ffe6d1)}nav{background:#fafffff5;border:2px solid #fff;box-shadow:0 -3px 35px #218ba722;border-radius:35px}nav button.active{background:#e1f4f5;color:#088ca4}nav button img{width:26px;height:26px;display:block;margin:auto}.profile-photo{width:100%;height:100%;object-fit:cover;border-radius:50%;display:block}.default-avatar{width:100%;height:100%;display:grid;place-items:center;background:#e3f2f6;border-radius:50%}.default-avatar img{width:65%;height:65%}.avatar{padding:0;overflow:hidden;border:2px solid #fff;box-shadow:0 0 0 2px #9dd6df;width:44px;height:44px}.face{width:100px;height:100px;margin:0 auto 18px;border-radius:50%;padding:4px;border:2px solid #97dce5;background:#fff;box-shadow:0 7px 20px #1b8eab15}.review .profile-photo,.review .default-avatar{display:inline-block;width:27px;height:27px;vertical-align:middle;margin-right:5px}.review .default-avatar img{width:22px;height:22px}.profilehero{background:linear-gradient(145deg,#fff,#d5f2f2);border:2px solid #fff;margin-bottom:20px}.formpanel{border-radius:24px}.badge{background:#fff;color:#138ba3}.dex-shell{background:linear-gradient(150deg,#c4eff0,#9edce6);padding:25px;border:2px solid #fff;border-radius:28px;box-shadow:0 12px 40px #16839c12}.dex-top{display:flex;justify-content:space-between;align-items:center}.dex-top h2{margin:6px 0 14px;color:#1389a5}.dex-total{display:inline-block;background:#078eae;color:#fff;padding:4px 24px;border-radius:30px;margin-left:20px;letter-spacing:1px}.dex-menu{width:38px;height:38px;display:grid;place-items:center;border:2px solid #fff;border-radius:50%;background:#169cb5;color:#fff;font-size:19px}.dex-options{padding:12px 0}.dex-options button{padding:9px 16px;border:1px solid #fff;border-radius:25px;background:#ffffff70;color:#328096;margin-right:7px;font-size:12px}.dex-options .active{background:#078eae;color:#fff}.dex-search{display:flex;align-items:center;gap:15px;margin:10px 0}.dex-search input{background:#f0fcfccc;border-color:#fff}.dex-search>span{font-size:11px;color:#3b899c;white-space:nowrap}.dex-progress{height:5px;background:#f1ffff88;border-radius:20px;margin:18px 0;overflow:hidden}.dex-progress span{display:block;height:100%;background:#058ca6}.dex-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px}.dex-tile{position:relative;display:flex;flex-direction:column;align-items:center;padding:12px 4px 10px;border:2px solid #ffffff60;border-radius:15px;background:#ffffff14;color:#26748a;min-width:0}.dex-tile:hover{background:#ffffff50;transform:translateY(-2px)}.dex-tile .pokemon-art{width:100%;max-width:115px;height:110px;filter:drop-shadow(0 5px 4px #195a7020)}.dex-tile.unseen .pokemon-art,.silhouette .pokemon-art{filter:brightness(0);opacity:.35}.dex-tile.caught{background:#ffffff60;border-color:#fff}.dex-number{font-size:15px;letter-spacing:1px}.dex-tile strong{font-size:11px;font-weight:500;margin:4px 0}.dex-tile small{font-size:9px;color:#5095a6}.dex-status{position:absolute;right:9px;top:6px;font-size:9px;color:#389cab}.dex-note{font-size:11px;color:#438a9c;margin:22px 0 0}.empty{background:#ffffff65}.bigmon{background:radial-gradient(circle,#d8f8f4,transparent 70%);margin:10px 0}dialog{background:linear-gradient(150deg,#fff,#def7f6);border:3px solid white}dialog::backdrop{background:#17485d90}.cards .card{border-color:#cce7ed}.switch{background:#def0f3}.switch .active{color:#0e8ba3}#toast{background:#177e97}@media(max-width:800px){header{padding:0 18px}.hero{padding:20px}.hero h1{font-size:26px}.stats{gap:26px;padding-top:15px}.dex-shell{padding:15px;border-radius:22px}.dex-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.dex-tile .pokemon-art{height:88px}.dex-total{margin-left:9px;padding:3px 15px;font-size:18px}.dex-top h2{font-size:18px}.dex-search{gap:8px}.dex-search>span{font-size:9px}nav{border-radius:27px 27px 0 0}.brand{font-size:25px}.brand b{font-size:29px}.brand>img{width:36px;height:36px}.dex-options button{font-size:11px;padding:9px 11px}.map{height:360px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
.dex-types{display:flex;flex-wrap:wrap;gap:6px}.dex-types button{border:1px solid #fff;background:#ffffff55;color:#39879a;padding:7px 10px;border-radius:20px;font-size:11px}.dex-types button.active{background:#078eae;color:#fff}.evolution-section{border-top:1px solid #cde8ec;margin:15px 0;padding-top:8px}.evolution-section h3{font-size:15px}.evolution-options{display:flex;flex-wrap:wrap;gap:8px;justify-content:center}.evolution-choice{border:1px solid #93d9e2;border-radius:14px;background:#e8faf8;padding:10px;display:flex;flex-direction:column;align-items:center;max-width:145px;color:#286c80}.evolution-choice:disabled{opacity:.5;cursor:default}.evolution-choice .pokemon-art{width:80px;height:80px}.evolution-choice small{font-size:10px;margin-top:5px}.evolution-preview{display:flex;align-items:center;justify-content:center}.evolution-preview .pokemon-art{width:110px;height:110px}#modal .secondary{margin-top:12px}#modal{max-height:88vh;overflow-y:auto}.dex-status{font-size:8px}.dex-options button{margin-bottom:6px}
#naverMapCanvas{width:100%;height:100%}.map-loading{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:30px;text-align:center;background:#effafb;color:#397a90;font-size:13px}.naver-pokemon-marker{width:64px;height:64px;border:3px solid white;border-radius:50%;background:#ffffffed;box-shadow:0 3px 15px #16485738;position:relative;display:block;padding:1px}.naver-pokemon-marker.selected{border-color:#11b2be}.naver-pokemon-marker .pokemon-art{width:54px;height:54px}.naver-pokemon-marker>span{position:absolute;bottom:-12px;left:50%;transform:translateX(-50%);border-radius:14px;background:white;white-space:nowrap;font-size:10px;padding:3px 7px;color:#28647c}.naver-map-host .mapnote{z-index:2;pointer-events:none}
nav[hidden]{display:none!important}.cloud-loading #app,.cloud-loading nav,.cloud-loading #profileButton{visibility:hidden}#cloudStatus{position:fixed;inset:0;display:grid;place-items:center;background:#e5f7f8;color:#197f99;z-index:20}.auth-panel{margin:20px auto}.auth-panel h1{font-size:25px}.auth-ball{text-align:center}.auth-panel #switchAuth{margin-top:18px;width:100%}.visitor-face{display:block;width:30px;height:30px;border:2px solid white;border-radius:50%;overflow:hidden}.profile-actions{display:flex;justify-content:center;gap:10px;margin:25px}.place-form{text-align:left}.place-form label{display:block;font-size:12px;margin:12px 0}.place-form input,.place-form select{display:block;width:100%;border:1px solid #cce8ec;border-radius:10px;padding:10px;margin-top:5px}.invite-result{font-size:20px;font-weight:800;color:#187a95;letter-spacing:2px}.maptop #addPlace{white-space:nowrap;padding:8px;font-size:10px}

[hidden]{display:none!important}

.visit-gallery{display:flex;gap:10px;overflow-x:auto;scroll-snap-type:x mandatory}.visit-gallery .photo{flex:0 0 90%;width:90%;max-height:320px;object-fit:cover;scroll-snap-align:start}.visit-gallery .photo:only-child{flex-basis:100%;width:100%}

.edit-attachment{display:flex;align-items:center;gap:10px;margin:8px 0}.edit-attachment .photo{width:96px;height:80px;object-fit:cover}
