@import url('https://fonts.googleapis.com/css2?family=Gowun+Dodum&family=Noto+Sans+KR:wght@400;500;600;700;800;900&display=swap');
:root{--ink:#263d32;--muted:#778578;--green:#46654b;--lime:#d9e6be;--cream:#fcfaf3;--line:#e2e6d9;--orange:#e39a59;--shadow:0 12px 35px #32413208}*{box-sizing:border-box}body{margin:0;background:#f3f4ed;color:var(--ink);font-family:'Noto Sans KR',sans-serif;font-size:14px}button,input,select{font:inherit}button,a,input{ -webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:default;opacity:.48}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #dba060;outline-offset:3px}button{border:0}h1,h2,h3,p{margin:0}h1{font-size:44px;line-height:1.35;font-weight:800;letter-spacing:-2px}h2{font-size:22px;letter-spacing:-.7px}h3{font-size:16px}small{font-size:12px}.topbar{height:88px;max-width:1440px;margin:auto;display:flex;align-items:center;justify-content:space-between;padding:0 48px;border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;gap:10px;font-size:23px;font-weight:900;letter-spacing:-1px}.brand-icon{display:grid;place-items:center;background:var(--green);color:#f5edd4;border-radius:13px;width:35px;height:35px;font-size:23px}.brand small{font-size:11px;font-weight:400;margin-left:15px;letter-spacing:0;color:var(--muted)}#account{display:flex;align-items:center;gap:15px;font-size:12px}.avatar{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:#dde5ce;color:#4c6447}.link{padding:7px 0;background:transparent;color:var(--muted);font-size:12px}main{max-width:1344px;margin:34px auto 50px;padding:0 28px;min-height:75vh}footer{border-top:1px solid var(--line);max-width:1288px;margin:auto;padding:24px 0 35px;display:flex;justify-content:space-between;color:#8b9688;font-size:11px}.eyebrow{font-size:11px;text-transform:uppercase;letter-spacing:2.2px;font-weight:700;color:#728568;display:flex;gap:9px;align-items:center}.eyebrow:before{content:'';width:7px;height:7px;background:#92ae78;border-radius:50%}.muted{color:var(--muted);line-height:1.8}.pill{display:inline-flex;align-items:center;gap:5px;padding:5px 10px;border-radius:30px;font-size:10px;font-weight:700;background:#eaf0dd;color:#587047}.primary{background:var(--green);color:white;border-radius:13px;padding:14px 22px;font-weight:600;display:inline-flex;justify-content:center;align-items:center;gap:12px}.secondary{background:#e9eddc;border-radius:12px;padding:13px 18px;color:var(--green);font-weight:600}.welcome{display:grid;grid-template-columns:1fr 380px;gap:50px;align-items:center;padding:36px 25px 10px}.intro h1{margin:20px 0 18px}.intro h1 em{font-style:normal;color:#78916b}.intro>p{max-width:470px;font-size:15px;line-height:1.9;color:var(--muted)}.intro-tags{display:flex;gap:8px;margin-top:25px}.welcome-art{position:relative;display:flex;justify-content:center;gap:0;height:205px;margin-top:23px;border-radius:50%;background:radial-gradient(ellipse,#e2eacd,transparent 70%)}.welcome-art .sprite{width:195px;height:195px;z-index:1}.welcome-art .sprite:nth-child(2){margin-top:-22px}.auth{background:var(--cream);padding:32px;border-radius:24px;box-shadow:var(--shadow);border:1px solid #fff}.auth h2{margin-bottom:7px}.auth-tabs{display:flex;padding:4px;background:#edf0e6;border-radius:12px;margin:25px 0 22px}.auth-tabs button{flex:1;padding:10px;background:transparent;border-radius:9px;color:var(--muted);font-size:12px}.auth-tabs button.active{background:white;color:var(--ink);box-shadow:0 2px 6px #00000008;font-weight:600}label.field{display:flex;flex-direction:column;gap:8px;margin-bottom:15px;font-size:11px;font-weight:600}input,select{padding:12px 13px;border:1px solid #dfe3d7;border-radius:10px;background:white;color:var(--ink);width:100%;font-size:13px}.auth .primary{width:100%;margin-top:8px}.form-note{font-size:10px;line-height:1.9;text-align:center;color:var(--muted);margin-top:18px}.form-error{color:#b45942;font-size:12px;line-height:1.7;margin:10px 0}.section-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px}.section-heading p{font-size:11px;color:var(--muted)}.family-preview{padding:40px 25px 0}.family-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.family-card{border:1px solid var(--line);border-radius:20px;background:#fafbf6;padding:22px;display:flex;align-items:center;gap:15px}.family-card .sprite{width:120px;height:120px;flex-shrink:0}.family-card h3{margin:9px 0 7px}.family-card p{font-size:11px;line-height:1.8;color:var(--muted)}.sprite{background-size:400% 300%;background-repeat:no-repeat;background-position-x:0%;background-position-y:var(--row,0%);animation:idle 1.65s infinite;filter:drop-shadow(0 9px 6px #263d3210);flex-shrink:0}@keyframes idle{0%,24.99%{background-position-x:0%}25%,49.99%{background-position-x:33.333333%}50%,74.99%{background-position-x:66.666667%}75%,100%{background-position-x:100%}}.dashboard-header{display:flex;justify-content:space-between;align-items:end;margin-bottom:25px}.dashboard-header h1{font-size:30px;margin-top:9px;letter-spacing:-1px}.dashboard-header p{font-size:12px;color:var(--muted);margin-top:9px}.currency{display:flex;gap:14px;align-items:center;font-size:12px}.coin{background:#eee8cc;padding:8px 13px;border-radius:25px;color:#8a7541}.shell{display:grid;grid-template-columns:200px minmax(0,1fr) 275px;gap:22px}.sidebar{display:flex;flex-direction:column;gap:7px}.nav-btn{padding:14px 16px;text-align:left;display:flex;gap:12px;align-items:center;background:transparent;border-radius:12px;color:#7b8775;font-size:13px}.nav-btn span{font-size:17px;width:22px;text-align:center}.nav-btn.active{background:#e1e8d4;color:#39523a;font-weight:700}.nav-btn .nav-small{margin-left:auto;font-size:10px;padding:2px 5px;border-radius:4px;background:#f9faf5;min-width:20px}.side-note{margin-top:35px;padding:18px;border:1px solid #dfe5d2;border-radius:16px;background:#edf1e5}.side-note .tiny-egg{width:36px;height:43px;margin-bottom:13px}.side-note p{font-size:11px;line-height:1.9;color:var(--muted);margin-top:7px}.panel{background:#fcfcf7;border:1px solid #e5e8da;border-radius:20px;padding:22px;box-shadow:var(--shadow)}.center-column>.panel+.panel,.right-column>.panel+.panel{margin-top:18px}.panel-title{display:flex;justify-content:space-between;align-items:center;gap:12px}.panel-title h2{font-size:16px}.habitat{padding:0;overflow:hidden}.habitat-top{padding:22px 24px 0;display:flex;justify-content:space-between;align-items:center}.habitat-top .eyebrow{font-size:9px}.habitat-stage{height:320px;position:relative;display:flex;justify-content:center;align-items:center;background:radial-gradient(ellipse at 50% 64%,#e4ebcd,transparent 53%);overflow:hidden}.habitat-stage:before{content:'';position:absolute;bottom:38px;width:76%;height:62px;background:#dce4c7;border-radius:50%;box-shadow:0 14px 0 #e7ecd9}.habitat-stage:after{content:'✦';position:absolute;top:70px;right:24%;font-size:25px;color:#c7d2af;animation:spark 4s infinite}.habitat-stage .sprite{width:315px;height:315px;z-index:1}.cloud{position:absolute;color:#c6d3b3;font-size:10px;letter-spacing:15px;top:56px;left:21%}.grass{position:absolute;bottom:45px;width:5px;height:20px;background:#b6c792;border-radius:100%;transform:rotate(-22deg)}.grass.g1{left:18%}.grass.g2{right:19%;height:27px;transform:rotate(20deg)}@keyframes spark{50%{opacity:.25;transform:translateY(-8px)}}.egg{position:relative;width:116px;height:149px;background:radial-gradient(circle at 32% 25%,#fffdf7 0,#f1e7cc 63%,#ded2b2 100%);border-radius:49% 49% 47% 47% / 64% 64% 38% 38%;box-shadow:inset -7px -10px 15px #d2c2a234,0 12px 18px #87986828;z-index:2;animation:egg-rock 4s ease-in-out infinite}.egg:before,.egg:after{content:'';position:absolute;border-radius:45%;background:#c8d8af;transform:rotate(-20deg)}.egg:before{width:28px;height:22px;top:36px;left:25px;box-shadow:36px 36px 0 -3px #dbba99,-5px 58px 0 -2px #c8d8af}.egg:after{width:13px;height:17px;top:58px;right:17px;background:#d9c7a8}.tiny-egg{width:35px;height:44px;animation:none}.tiny-egg:before{width:9px;height:7px;top:12px;left:8px;box-shadow:11px 11px 0 -1px #dbba99}.tiny-egg:after{display:none}@keyframes egg-rock{0%,70%,100%{transform:rotate(0)}76%{transform:rotate(-4deg)}82%{transform:rotate(4deg)}88%{transform:rotate(-2deg)}}.bubble{position:absolute;top:47px;left:50%;transform:translateX(-50%);padding:10px 17px;border:1px solid #e5e9db;border-radius:25px;background:#fffff9;font-family:'Gowun Dodum',sans-serif;font-size:13px;white-space:nowrap;z-index:3}.bubble:after{content:'';position:absolute;bottom:-5px;left:48%;width:8px;height:8px;background:#fffff9;border-bottom:1px solid #e5e9db;border-right:1px solid #e5e9db;transform:rotate(45deg)}.habitat-name{text-align:center;margin-top:-10px;position:relative}.habitat-name h2{font-size:21px}.habitat-name p{font-size:11px;color:var(--muted);margin-top:6px}.incubation{margin:23px 24px;padding:17px 18px;background:#f0f3e6;border-radius:14px}.incubation>div{display:flex;justify-content:space-between;font-size:11px;gap:10px;align-items:center}.progress{height:7px;border-radius:7px;background:#dfe5d1;overflow:hidden;margin-top:12px}.progress>i{display:block;height:100%;background:#91ac72;border-radius:7px;transition:width .4s}.stages{display:flex;justify-content:space-between;color:#8b9680;font-size:9px;margin-top:8px}.care-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:9px;margin-top:16px}.care-button{background:#f0f3e7;border:1px solid #e7ebdc;border-radius:13px;min-height:88px;padding:10px 4px;color:#4e6146;display:flex;flex-direction:column;gap:7px;align-items:center;justify-content:center;font-size:11px}.care-button:hover{background:#e6eddb}.care-button b{font-size:21px;font-weight:400}.care-button small{font-size:9px;color:#8c997f}.care-button.on{border-color:#b7c99f;background:#e6eedb}.care-copy{font-size:10px;color:var(--muted);margin-top:12px;line-height:1.8}.stats{margin-top:20px;display:flex;flex-direction:column;gap:16px}.stat-top{display:flex;justify-content:space-between;align-items:center;font-size:11px}.stat-top span:first-child{display:flex;align-items:center;gap:7px}.stat-top small{font-size:9px;color:var(--muted)}.stat .progress{height:5px;margin-top:7px;background:#e9edde}.stat.low .progress>i{background:#d99e79}.temperature{padding:12px;background:#f0f3e8;border-radius:11px;margin-top:19px;font-size:10px;color:#6d7f61;line-height:1.8}.care-log{margin-top:18px}.care-log li{list-style:none;display:flex;gap:10px;font-size:10px;line-height:1.9;padding:7px 0;border-bottom:1px solid #e9edde;color:#738269}.care-log li:before{content:'·';color:#94ad72}.care-log time{margin-left:auto;color:#a0aa95;font-size:9px;white-space:nowrap}.empty{color:#8a9780;font-size:11px;line-height:1.9;text-align:center;padding:20px 8px}.right-column .eyebrow{letter-spacing:1.5px;font-size:9px}.care-insight{background:#eaf0df;padding:18px;border-radius:17px;margin-top:17px;font-size:11px;line-height:1.9;color:#708363}.care-insight b{display:block;color:#4c6648;font-size:12px;margin-bottom:7px}.content-wide{grid-column:2 / 4;min-width:0}.collection{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.catalog-card{padding:20px;position:relative;overflow:hidden}.catalog-card .sprite{width:100%;aspect-ratio:1}.catalog-card h3{font-size:17px;margin:10px 0 6px}.catalog-card p{font-size:11px;line-height:1.8;color:var(--muted)}.catalog-number{position:absolute;top:20px;right:20px;color:#afb9a2;font-size:10px;font-family:monospace}.catalog-card .stages-controls{display:flex;gap:5px;margin:17px 0}.stages-controls button{flex:1;border:1px solid #e0e6d6;border-radius:8px;padding:7px 0;background:#f5f7ef;font-size:10px;color:#7a8c6a}.stages-controls button.active{background:#e0e9d3;color:#45643e;border-color:#afc197}.catalog-card .pill{margin-top:10px}.element-fire{background:#f8e4d5;color:#ad7142}.element-water{background:#dfedf4;color:#4c8194}.element-grass{background:#e5edd6;color:#6b8743}.element-earth{background:#ede4da;color:#8f7552}.element-ice{background:#e2f1fc;color:#35769f}.element-electric{background:#f5edca;color:#a18b34}.catalog-top{margin-bottom:22px;padding:22px;display:flex;justify-content:space-between;gap:20px;align-items:center}.catalog-top h2{margin:9px 0}.catalog-top p{font-size:12px;color:var(--muted)}.filters{display:flex;flex-wrap:wrap;gap:7px;margin-bottom:18px}.filters button{padding:8px 14px;border-radius:30px;background:#e8eddf;color:#7d8e6d;font-size:11px}.filters button.active{background:var(--green);color:white}.battle-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.battle-heading p{font-size:12px;color:var(--muted);margin-top:8px}.arena-pet{display:flex;gap:20px;align-items:center;margin-bottom:22px;padding:15px 25px}.arena-pet .sprite{width:130px;height:130px}.arena-pet h3{font-size:20px;margin-bottom:8px}.arena-pet p{font-size:11px;color:var(--muted);line-height:1.8}.arena-pet .primary{margin-left:auto}.foe-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:17px}.foe-card{text-align:center}.foe-card .sprite{width:100%;aspect-ratio:1;margin-top:8px}.foe-card h3{margin:10px 0 8px}.foe-card .primary{width:100%;margin-top:16px}.foe-card .zone{font-size:11px;color:var(--muted)}.matchup{font-size:11px;margin-top:12px;color:#81966d}.matchup.good{color:#5c8b49}.matchup.bad{color:#be8b65}.strategy{display:flex;align-items:center;gap:15px;max-width:400px;margin:20px 0;font-size:12px}.type-table{width:100%;border-collapse:collapse;font-size:11px;min-width:360px;margin-top:16px}.type-table th,.type-table td{padding:13px 8px;text-align:center;border-bottom:1px solid #e3e8d7}.type-table th{font-weight:600;color:#6c805d}.type-table td.strong{color:#6f974f;background:#edf3e3}.type-table td.weak{color:#b18464;background:#f6f0e6}.table-wrap{overflow:auto}.guide-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:18px}.guide-grid article p{font-size:12px;line-height:1.9;margin-top:13px;color:var(--muted)}.step-icon{font-size:26px;margin-bottom:15px}.admin-stats{display:flex;gap:15px;margin-bottom:22px}.admin-stat{flex:1;padding:20px}.admin-stat strong{display:block;font-size:27px;margin-top:9px}.users{width:100%;font-size:12px;border-collapse:collapse}.users th,.users td{text-align:left;border-bottom:1px solid #e4e8db;padding:12px}.modal{position:fixed;inset:0;background:#25352555;backdrop-filter:blur(6px);z-index:50;overflow:auto;padding:35px 20px;display:flex;align-items:center;justify-content:center}.modal[hidden]{display:none}.dialog{position:relative;width:min(640px,100%);border-radius:25px;background:var(--cream);padding:30px;box-shadow:0 20px 60px #25352533}.dialog-close{position:absolute;top:16px;right:19px;background:#e9eddd;color:#68805c;border-radius:50%;height:30px;width:30px;font-size:17px}.dialog h2{text-align:center}.dialog>p{text-align:center;font-size:12px;color:var(--muted);margin-top:12px;line-height:1.8}.dialog>.sprite{width:250px;height:250px;margin:auto}.dialog form{margin-top:20px}.dialog .primary{width:100%;margin-top:15px}.combat-scene{display:grid;grid-template-columns:1fr 40px 1fr;align-items:center;gap:8px;margin-top:22px}.combat-scene .fighter{text-align:center}.combat-scene .sprite{width:100%;aspect-ratio:1}.combat-scene .vs{text-align:center;font-size:16px;color:#acb39c}.combat-scene .progress{background:#e1e7d4}.combat-scene .progress i{background:#8fa974}.combat-scene h3{font-size:13px}.combat-log{height:130px;overflow:auto;border-radius:12px;padding:12px 17px;background:#eff2e5;font-size:11px;line-height:2;color:#7d8a70;margin:22px 0 10px}.combat-result{padding:15px;text-align:center;background:#e5edda;border-radius:12px;margin-top:12px}.combat-result strong{font-size:17px}.combat-result p{font-size:11px;color:#708360;margin-top:7px}.loading{display:grid;place-items:center;min-height:50vh;color:var(--muted)}#toast{position:fixed;bottom:30px;left:50%;transform:translate(-50%,15px);padding:13px 23px;border-radius:15px;background:#354e39;color:#fff;z-index:100;font-size:12px;opacity:0;pointer-events:none;transition:.2s;max-width:90vw;text-align:center}#toast.show{opacity:1;transform:translate(-50%,0)}.shelf-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.pet-card{text-align:center}.pet-card .sprite{width:100%;aspect-ratio:1}.pet-card h3{margin:12px 0 5px}.pet-card .secondary{width:100%;margin-top:15px}.pet-card.active{border-color:#a8bc90}.catalog-empty{grid-column:1/-1}.dots{color:#9eb587;letter-spacing:3px}.admin-toggle{margin-top:12px;color:#647d55;font-size:12px}.rename{font-size:10px;color:#8d9d7e;cursor:pointer;background:transparent;margin-left:6px}.breathe{animation:idle 1.65s infinite,pet-breathe 3s ease-in-out infinite}@keyframes pet-breathe{50%{transform:translateY(-4px)}}.damage{animation:hit .3s}@keyframes hit{50%{transform:translateX(7px);filter:brightness(1.5)}}
@media(max-width:1150px){.shell{grid-template-columns:150px minmax(0,1fr) 245px;gap:16px}.care-grid{grid-template-columns:repeat(3,1fr)}.welcome{gap:30px}.brand small{display:none}.family-card{flex-direction:column;text-align:center}.collection{grid-template-columns:repeat(2,1fr)}}@media(max-width:900px){.shell{grid-template-columns:150px minmax(0,1fr)}.right-column{grid-column:2;display:grid;grid-template-columns:repeat(2,1fr);gap:15px}.right-column .panel+.panel{margin-top:0}.content-wide{grid-column:2}.foe-grid{grid-template-columns:1fr}.foe-card{display:grid;grid-template-columns:100px 1fr;align-items:center;column-gap:15px}.foe-card .sprite{grid-row:1/6}.foe-card .primary{margin-top:10px}.welcome{grid-template-columns:1fr 330px;gap:20px;padding:25px 0}h1{font-size:36px}.welcome-art .sprite{width:135px;height:135px}.welcome-art{height:150px}.topbar{padding:0 28px}.family-preview{padding:30px 0}}@media(max-width:680px){.topbar{height:70px;padding:0 20px}.brand{font-size:20px}#account{gap:8px;font-size:10px}main{margin:23px auto 35px;padding:0 16px}.welcome{grid-template-columns:1fr;gap:20px;padding:6px 0}.intro h1{font-size:37px}.intro>p{font-size:13px}.welcome-art{height:174px;margin-top:20px}.welcome-art .sprite{width:160px;height:160px;margin-left:-20px;margin-right:-20px}.auth{padding:24px}.family-grid{grid-template-columns:1fr}.family-card{flex-direction:row;text-align:left}.family-card .sprite{width:100px;height:100px}.dashboard-header{align-items:start;gap:10px}.dashboard-header h1{font-size:24px}.dashboard-header .currency .pill{display:none}.currency{font-size:10px}.shell{display:flex;flex-direction:column;gap:18px}.sidebar{display:flex;flex-direction:row;gap:4px;overflow-x:auto;padding-bottom:3px}.nav-btn{white-space:nowrap;padding:10px;font-size:11px;gap:5px}.nav-btn span{font-size:14px;width:17px}.nav-btn .nav-small{display:none}.side-note{display:none}.right-column{display:grid;grid-template-columns:1fr;gap:16px}.habitat-stage{height:290px}.habitat-stage .sprite{width:290px;height:290px}.care-grid{grid-template-columns:repeat(4,1fr)}.collection,.shelf-grid{grid-template-columns:repeat(2,1fr);gap:12px}.catalog-card{padding:16px}.catalog-card h3{font-size:15px}.catalog-card p{font-size:10px}.catalog-top{padding:18px;align-items:start}.catalog-top h2{font-size:20px}.catalog-top .pill{white-space:nowrap}.guide-grid{grid-template-columns:1fr}.arena-pet{padding:13px;gap:10px}.arena-pet .sprite{width:100px;height:100px}.arena-pet h3{font-size:16px}.arena-pet .primary{padding:10px;font-size:11px}.dialog{padding:24px 18px}.modal{padding:15px;align-items:flex-start}.combat-scene{grid-template-columns:1fr 24px 1fr;gap:3px}.admin-stats{gap:8px}.admin-stat{padding:12px}.admin-stat strong{font-size:23px}footer{padding:20px 16px;gap:15px;font-size:9px}.intro-tags .pill{font-size:9px}.catalog-number{top:16px;right:16px}}
@media(prefers-reduced-motion:reduce){.sprite,.breathe,.egg,.habitat-stage:after{animation:none}*{scroll-behavior:auto!important}}
.animation-bar{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:10px 0 20px;font-size:11px;color:#718963}.animation-bar .secondary{font-size:11px;padding:10px 14px;white-space:nowrap}.admin-family{margin-bottom:20px}.evolution-gallery{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:20px}.evolution-art{background:#f1f4e8;border-radius:17px;text-align:center;padding:12px 12px 19px}.evolution-art .sprite{width:100%;aspect-ratio:1}.evolution-art h3{font-size:13px;margin-top:10px}.paused .sprite{animation-play-state:paused}@media(max-width:680px){.evolution-gallery{gap:6px}.evolution-art{padding:4px 3px 13px;border-radius:12px}.evolution-art .pill{font-size:7px;padding:4px}.evolution-art h3{font-size:10px}.animation-bar{font-size:9px;align-items:flex-start;line-height:1.8}.animation-bar .secondary{font-size:9px;padding:9px 10px}}
.motion-controls{display:flex;gap:8px;align-items:center;margin:0 0 20px;font-size:11px;color:#7c8e6c}.motion-controls button{padding:10px 18px;background:#e6ecda;color:#6f875a;border-radius:10px}.motion-controls button.active{background:#46654b;color:white}.egg{width:150px;height:150px;background:transparent url("assets/egg-natural.png") center/contain no-repeat;border-radius:0;box-shadow:none;animation:egg-gentle 7.6s cubic-bezier(.45,0,.55,1) infinite!important;transform-origin:50% 90%;will-change:transform;backface-visibility:hidden}.egg:before,.egg:after{display:none}.habitat-stage .egg{margin-top:30px}.egg.tiny-egg{width:45px;height:45px;animation:none!important}.admin-egg-preview{display:flex;align-items:center;gap:30px;padding:13px 25px;margin-bottom:20px;background:radial-gradient(ellipse at 17% 60%,#e8edda,transparent 35%),#fcfcf7}.admin-egg-preview h3{font-size:18px;margin:12px 0 10px}.admin-egg-preview p{font-size:11px;line-height:1.9;color:#7c8b71;margin-bottom:12px}@keyframes egg-gentle{0%,12%,48%,66%,100%{transform:rotate(0deg)}22%{transform:rotate(calc(var(--egg-sway,1.6deg)*-1))}32%{transform:rotate(calc(var(--egg-sway,1.6deg)*.8))}40%{transform:rotate(calc(var(--egg-sway,1.6deg)*-.35))}76%{transform:rotate(calc(var(--egg-sway,1.6deg)*.55))}85%{transform:rotate(calc(var(--egg-sway,1.6deg)*-.4))}93%{transform:rotate(0deg)}}@media(max-width:680px){.egg{width:144px;height:144px}.admin-egg-preview{gap:15px;padding:10px 15px}.admin-egg-preview h3{font-size:15px}.admin-egg-preview .eyebrow{font-size:8px}.admin-egg-preview p{font-size:10px}}

.sprite,.breathe,.admin-gallery .sprite,.admin-gallery.motion-walk .sprite,.admin-gallery.motion-attack .sprite{position:relative;background-image:none!important;animation:none!important;transform:none!important;will-change:auto}.sprite:after{display:none!important}.pet-canvas{display:block;width:100%;height:100%}.evolution-art{overflow:visible;min-width:0}.technique-count{font-size:10px;color:#788869;margin:12px 0 6px}.technique-buttons{display:flex;flex-direction:column;gap:5px}.technique-buttons button{display:flex;align-items:center;justify-content:space-between;text-align:left;padding:8px 9px;border:1px solid #dce5cf;border-radius:9px;background:#f9fbf3;color:#526d47;font-size:10px;min-height:31px}.technique-buttons button:hover,.technique-buttons button.selected{background:#e0eacb;border-color:#a9bd90}.technique-buttons span{font-size:8px;color:#99ad86}.technique-scene{height:280px;margin:12px -10px 8px;background:radial-gradient(ellipse,#e7eddb,transparent 72%);display:flex;justify-content:center}.technique-pet{width:280px;height:280px}.preview-skills{display:flex;flex-direction:row;flex-wrap:wrap;justify-content:center;margin-top:22px}.preview-skills button{font-size:11px;padding:10px 12px}.battle-skills{margin:18px 0 22px}.battle-skills p{font-size:11px;color:var(--muted);margin:10px 0 16px;line-height:1.8}.skill-loadout{display:flex;gap:8px;flex-wrap:wrap}.skill-loadout button{display:flex;flex-direction:column;gap:7px;padding:13px 15px;border:1px solid #dfe6d2;border-radius:12px;background:#f5f7ee;color:#5a7050;text-align:left}.skill-loadout button.selected{background:#e0eace;border-color:#9bb77f;box-shadow:inset 0 0 0 1px #9bb77f}.skill-loadout b{font-size:11px}.skill-loadout small{font-size:9px;color:#81956f}.combat-technique{text-align:center;padding:10px;background:#e8eeda;border-radius:10px;color:#5d794e;font-size:12px;margin-top:17px}.combat-log{margin-top:12px}.animation-bar{line-height:1.8}
@media(max-width:680px){.technique-buttons button{font-size:8px;padding:7px 5px}.technique-count{font-size:8px}.technique-buttons button span{display:none}.evolution-art{padding-bottom:8px}.technique-scene{height:260px}.technique-pet{width:260px;height:260px}.preview-skills button{font-size:10px;padding:9px}.battle-skills h3{font-size:14px}.motion-controls button{padding:9px 13px}}

.dialog:has(.technique-scene){width:min(780px,100%)}.technique-scene.fx-scene{position:relative;display:grid;grid-template-columns:1fr 1fr;align-items:end;height:340px;margin:20px -10px 22px;isolation:isolate;overflow:hidden;border-radius:18px;background:radial-gradient(ellipse at 50% 25%,#52775b55,transparent 65%),linear-gradient(#172f2e,#29413b 70%,#324d36);border:1px solid #77876b55;box-shadow:inset 0 0 55px #071a2366}.arena-horizon{position:absolute;inset:0;z-index:-1;background:radial-gradient(ellipse at 18% 12%,#d3e9b326 0,transparent 35%),repeating-linear-gradient(85deg,transparent 0 100px,#122c2744 110px 130px,transparent 140px 180px)}.arena-horizon:after{content:'';position:absolute;bottom:22px;left:-10%;width:120%;height:70px;transform:perspective(160px) rotateX(35deg);background:radial-gradient(ellipse,#92aa6040,transparent 64%);border-radius:50%}.preview-fighter{position:relative;text-align:center;align-self:end;padding-bottom:35px;min-width:0;z-index:1}.preview-fighter:before{content:'';position:absolute;bottom:53px;left:20%;width:60%;height:18px;border-radius:50%;background:#07191366;filter:blur(7px)}.preview-fighter .sprite{width:100%;height:auto;aspect-ratio:1;filter:drop-shadow(0 8px 10px #020d0b60)}.preview-fighter>span{position:relative;font-size:10px;color:#d7e5cc;z-index:6}.arena-fx{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;z-index:4}.arena-caption{position:absolute;top:14px;left:17px;color:#eef4d8;font-size:11px;letter-spacing:.5px;background:#122c2b88;padding:7px 11px;border:1px solid #78916955;border-radius:8px;z-index:5}.technique-scene:after{content:'';position:absolute;inset:0;background:#f2ffcf;opacity:0;pointer-events:none;z-index:5}.technique-scene.impact-flash:after{animation:spell-impact .45s ease-out}.combat-scene.fx-scene{position:relative}.combat-scene.fx-scene .arena-fx{border-radius:12px}.preview-skills button{min-width:85px;justify-content:center}.element-scene-fire{--spell-glow:#eac879}.element-scene-water{--spell-glow:#9ee6f6}@keyframes spell-impact{0%{opacity:.11}100%{opacity:0}}@media(max-width:680px){.technique-scene.fx-scene{height:290px;margin:18px -4px}.preview-fighter{padding-bottom:38px}.preview-fighter>span{font-size:9px}.arena-caption{font-size:9px;padding:6px 8px;top:11px;left:12px}.dialog:has(.technique-scene){padding:22px 16px}.preview-skills button{min-width:74px}}

.skill-test-controls{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:4px 0 16px;text-align:left}.skill-test-controls label{min-width:0;font-size:12px;font-weight:700;color:#526d47;display:grid;gap:6px}.skill-test-controls select{width:100%;min-width:0;max-width:100%;font:inherit;font-weight:400;padding:9px 6px;border:1px solid #becbb2;border-radius:9px;background:#fff;color:#263c28}
