@font-face{
  font-family:system-fallback;
  src:local("PingFang SC")
}
:root{
  font-family:system-fallback,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  color:#24372e;
  background:#f5f3ee;
  font-synthesis:none
}
*{
  box-sizing:border-box
}
body{
  margin:0
}
main{
  max-width:880px;
  padding:0 28px;
  margin:auto
}
header{
  height:100px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  border-bottom:1px solid #dfdfd5
}
.brand{
  color:inherit;
  text-decoration:none;
  font-size:26px;
  font-weight:750;
  letter-spacing:-1px
}
.brand span{
  display:block;
  font-size:11px;
  letter-spacing:2px;
  font-weight:400;
  margin-top:3px;
  color:#657468
}
button,input{
  font:inherit
}
button{
  cursor:pointer;
  border:0;
  border-radius:12px;
  background:#28634c;
  color:white;
  font-weight:650;
  font-size:17px;
  min-height:54px;
  padding:12px 24px;
  transition:background .2s,transform .2s
}
button:hover:enabled{
  background:#1e503c;
  transform:translateY(-1px)
}
button:disabled{
  background:#dce3db;
  color:#738073;
  cursor:default
}
.text-button{
  background:transparent;
  color:#536759;
  font-size:14px;
  min-height:44px;
  padding:8px 12px
}
.text-button:hover:enabled{
  background:#e7e9e0
}
.heading{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:44px 0 28px
}
.eyebrow{
  font-size:12px;
  letter-spacing:2px;
  color:#6a796b;
  margin:0 0 12px
}
h1{
  font-size:clamp(25px,4vw,34px);
  font-weight:650;
  letter-spacing:-1px;
  margin:0;
  line-height:1.45
}
.connection{
  font-size:12px;
  background:#e5e7de;
  color:#6c7568;
  border-radius:30px;
  padding:9px 12px;
  white-space:nowrap
}
.connection.online{
  background:#e0eddf;
  color:#306346
}
.feed-card{
  background:#fffef9;
  border:1px solid #e5e4d9;
  border-radius:24px;
  padding:38px 24px 26px;
  text-align:center;
  box-shadow:0 12px 40px #283a2d05
}
.feed-card h2{
  margin:16px 0 8px;
  font-size:24px;
  font-weight:650
}
.muted{
  color:#6b786c;
  font-size:14px;
  line-height:1.8
}
.feed-card .muted{
  min-height:26px;
  margin:0 auto 24px;
  max-width:450px
}
#feed-button{
  width:280px;
  max-width:100%;
  height:62px
}
.caption{
  font-size:12px;
  color:#8b9184;
  line-height:1.8;
  margin:12px 0 0
}
#operation-message{
  font-size:14px;
  line-height:1.7;
  margin:14px 0 0;
  min-height:24px;
  color:#84663b
}
.bowl{
  position:relative;
  height:100px;
  width:180px;
  margin:0 auto
}
.rim{
  position:absolute;
  top:37px;
  width:180px;
  height:30px;
  border-radius:50%;
  background:#adc5ad;
  border:7px solid #dce7d5;
  z-index:2
}
.dish{
  position:absolute;
  top:50px;
  left:10px;
  width:160px;
  height:47px;
  background:#bfcfb9;
  border-radius:8px 8px 66px 66px;
  border-bottom:8px solid #9fb99c
}
.food{
  position:absolute;
  top:16px;
  left:26px;
  width:130px;
  height:46px;
  z-index:3
}
.food i{
  position:absolute;
  width:24px;
  height:18px;
  background:#c99c63;
  border:2px solid #b48750;
  border-radius:7px;
  transform:rotate(20deg)
}
.food i:nth-child(1){
  left:5px;
  top:22px
}
.food i:nth-child(2){
  left:37px;
  top:9px;
  transform:rotate(-22deg)
}
.food i:nth-child(3){
  left:68px;
  top:24px;
  transform:rotate(42deg)
}
.food i:nth-child(4){
  left:94px;
  top:14px;
  transform:rotate(-15deg)
}
.food i:nth-child(5){
  left:42px;
  top:31px
}
.feeding .bowl{
  animation:breathe 1.4s ease-in-out infinite
}
@keyframes breathe{
  50%{
    transform:translateY(-4px)
  }
}
.history{
  padding:34px 0
}
.section-heading{
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom:8px
}
.section-heading h2{
  font-size:17px;
  margin:0
}
.section-heading span{
  font-size:12px;
  color:#858e80
}
ul{
  padding:0;
  margin:0;
  list-style:none
}
li{
  display:flex;
  gap:10px;
  justify-content:space-between;
  padding:18px 0;
  border-bottom:1px solid #e0e2d6;
  font-size:14px
}
li time{
  color:#788475
}
li .result{
  font-weight:550
}
li.empty{
  color:#85917f
}
.panel{
  max-width:420px;
  margin:62px auto 80px
}
form{
  display:flex;
  flex-direction:column;
  margin-top:32px;
  gap:9px
}
label{
  font-size:14px;
  margin-top:10px
}
input{
  border:1px solid #d3d9cc;
  background:#fffef9;
  border-radius:10px;
  padding:13px 14px;
  outline:none;
  min-height:50px
}
input:focus{
  border-color:#447b5e;
  box-shadow:0 0 0 3px #447b5e15
}
form button{
  margin-top:18px
}
#login-message{
  color:#a04435;
  font-size:14px;
  min-height:24px
}
footer{
  color:#939a8c;
  font-size:12px;
  text-align:center;
  padding:22px 0 32px;
  letter-spacing:1px
}
[hidden]{
  display:none!important
}
:focus-visible{
  outline:3px solid #b99b67;
  outline-offset:4px
}
@media(max-width:520px){
  main{
    padding:0 20px
  }
  header{
    height:80px
  }
  .heading{
    align-items:flex-start;
    padding-top:30px
  }
  .heading h1{
    font-size:25px
  }
  .feed-card{
    padding-top:30px
  }
  .connection{
    font-size:11px;
    padding:7px 9px
  }
  .section-heading span{
    font-size:11px
  }
}
@media(prefers-reduced-motion:reduce){
  *{
    animation:none!important;
    transition:none!important
  }
}
