/* ph.php — static CSS (no Tailwind CDN) */
*,:after,:before{box-sizing:border-box;border:0 solid #e5e7eb}
html{line-height:1.5;-webkit-text-size-adjust:100%}
body{margin:0;font-family:system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;background:#E8E8E8;color:#1f2937}
img{max-width:100%;height:auto;display:block}
a{color:inherit;text-decoration:inherit}
ul{margin:0;padding:0;list-style:none}
h2,h3,p{margin:0}

:root{
  --aviation-blue:#1E5A8C;
  --aviation-light:#A7C7E7;
  --aviation-accent:#FF9500;
  --aviation-runway:#E8E8E8;
  --aviation-dark:#122E4B;
}

@keyframes planeFly{
  0%{transform:translateX(-100%) translateY(0)}
  100%{transform:translateX(100vw) translateY(-20%)}
}
@keyframes pulseSoft{
  0%,100%{opacity:1}
  50%{opacity:.7}
}

body{
  min-height:100vh;
  background-color:var(--aviation-runway);
  background-image:url('data:image/svg+xml,%3Csvg width="84" height="48" viewBox="0 0 84 48" xmlns="http://www.w3.org/2000/svg"%3E%3Cpath d="M0 0h12v6H0V0zm28 8h12v6H28V8zm14-8h12v6H42V0zm14 0h12v6H56V0zm0 8h12v6H56V8zM42 8h12v6H42V8zm0 16h12v6H42v-6zm14-8h12v6H56v-6zm14 0h12v6H70v-6zm0 16h12v6H70v-6zM28 32h12v6H28v-6zM14 16h12v6H14v-6zM0 24h12v6H0v-6zm0 8h12v6H0v-6zm14 0h12v6H14v-6zm14 8h12v6H28v-6zm-14 0h12v6H14v-6zm28 0h12v6H42v-6zm14-8h12v6H56v-6zm0-8h12v6H56v-6zm14 8h12v6H70v-6zm0 8h12v6H70v-6zM14 24h12v6H14v-6zm14-8h12v6H28v-6zM14 8h12v6H14V8zM0 8h12v6H0V8z" fill="%23A7C7E7" fill-opacity="0.1" fill-rule="evenodd"/%3E%3C/svg%3E');
}

.animate-plane-fly{animation:planeFly 20s linear infinite}
.animate-pulse-soft{animation:pulseSoft 4s cubic-bezier(.4,0,.6,1) infinite}

.aviation-card{
  position:relative;
  background:#fff;border-radius:.75rem;
  box-shadow:0 4px 6px -1px rgba(0,0,0,.1),0 2px 4px -2px rgba(0,0,0,.1);
  overflow:visible;transition:all .3s;
  border:1px solid rgba(167,199,231,.3)
}
.aviation-card:hover{
  box-shadow:0 20px 25px -5px rgba(0,0,0,.1),0 8px 10px -6px rgba(0,0,0,.1);
  border-color:rgba(167,199,231,.5)
}
.stat-card{
  position:relative;overflow:hidden;
  background:#fff;border-radius:.75rem;padding:1.5rem;
  box-shadow:0 4px 6px -1px rgba(0,0,0,.1),0 2px 4px -2px rgba(0,0,0,.1);
  border:1px solid rgba(167,199,231,.3);transition:transform .3s,box-shadow .3s
}
.stat-card:hover{
  transform:translateY(-5px);
  box-shadow:0 20px 25px -5px rgba(0,0,0,.1),0 8px 10px -6px rgba(0,0,0,.1)
}
.stat-card::before{
  content:'';position:absolute;top:0;right:0;
  width:6rem;height:6rem;margin-right:-1.5rem;margin-top:-1.5rem;
  background:rgba(30,90,140,.05);border-bottom-left-radius:9999px
}
.rank-badge{
  display:flex;align-items:center;justify-content:center;
  font-weight:700;color:#fff;border-radius:9999px;
  box-shadow:0 10px 15px -3px rgba(0,0,0,.1),0 4px 6px -4px rgba(0,0,0,.1)
}
.photo-preview{
  border-radius:.5rem;overflow:hidden;
  box-shadow:0 1px 2px 0 rgba(0,0,0,.05);transition:box-shadow .3s
}
.photo-preview:hover{box-shadow:0 4px 6px -1px rgba(0,0,0,.1),0 2px 4px -2px rgba(0,0,0,.1)}
.photo-preview img{transition:transform .5s}
.photo-preview:hover img{transform:scale(1.05)}

.user-avatar,.user-avatar-placeholder{
  width:4rem;height:4rem;border-radius:9999px;
  border:3px solid #fff;
  box-shadow:0 10px 15px -3px rgba(0,0,0,.1),0 4px 6px -4px rgba(0,0,0,.1)
}
.user-avatar{object-fit:cover;display:block}
.user-avatar-placeholder{
  display:flex;align-items:center;justify-content:center;
  background:var(--aviation-light);color:var(--aviation-blue);font-size:1.75rem
}

.bg-hero-gradient{
  background-image:linear-gradient(to right,var(--aviation-blue),var(--aviation-dark))
}
.bg-cloud-pattern{
  background-color:var(--aviation-runway);
  background-image:url('data:image/svg+xml,%3Csvg width="84" height="48" viewBox="0 0 84 48" xmlns="http://www.w3.org/2000/svg"%3E%3Cpath d="M0 0h12v6H0V0zm28 8h12v6H28V8zm14-8h12v6H42V0zm14 0h12v6H56V0zm0 8h12v6H56V8zM42 8h12v6H42V8zm0 16h12v6H42v-6zm14-8h12v6H56v-6zm14 0h12v6H70v-6zm0 16h12v6H70v-6zM28 32h12v6H28v-6zM14 16h12v6H14v-6zM0 24h12v6H0v-6zm0 8h12v6H0v-6zm14 0h12v6H14v-6zm14 8h12v6H28v-6zm-14 0h12v6H14v-6zm28 0h12v6H42v-6zm14-8h12v6H56v-6zm0-8h12v6H56v-6zm14 8h12v6H70v-6zm0 8h12v6H70v-6zM14 24h12v6H14v-6zm14-8h12v6H28v-6zM14 8h12v6H14V8zM0 8h12v6H0V8z" fill="%23A7C7E7" fill-opacity="0.1" fill-rule="evenodd"/%3E%3C/svg%3E');
}

.container{width:100%;margin-left:auto;margin-right:auto}
@media(min-width:640px){.container{max-width:640px}}
@media(min-width:768px){.container{max-width:768px}}
@media(min-width:1024px){.container{max-width:1024px}}
@media(min-width:1280px){.container{max-width:1280px}}

.fixed{position:fixed}
.absolute{position:absolute}
.relative{position:relative}
.top-20{top:5rem}
.top-4{top:1rem}
.right-4{right:1rem}
.-top-4{top:-1rem}
.-left-4{left:-1rem}
.left-0{left:0}
.z-0{z-index:0}
.z-10{z-index:10}
.pointer-events-none{pointer-events:none}
.opacity-10{opacity:.1}
.block{display:block}
.flex{display:flex}
.inline-flex{display:inline-flex}
.grid{display:grid}
.flex-col{flex-direction:column}
.flex-grow{flex-grow:1}
.items-start{align-items:flex-start}
.items-center{align-items:center}
.justify-center{justify-content:center}
.space-x-4>:not([hidden])~:not([hidden]){margin-left:1rem}
.space-y-3>:not([hidden])~:not([hidden]){margin-top:.75rem}
.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}
.gap-6{gap:1.5rem}
.gap-8{gap:2rem}
.h-full{height:100%}
.h-20{height:5rem}
.h-24{height:6rem}
.h-40{height:10rem}
.w-full{width:100%}
.w-12{width:3rem}
.h-12{height:3rem}
.w-20{width:5rem}
.w-24{width:6rem}
.max-w-2xl{max-width:42rem}
.max-w-3xl{max-width:48rem}
.max-w-4xl{max-width:56rem}
.mx-auto{margin-left:auto;margin-right:auto}
.mt-auto{margin-top:auto}
.mt-1{margin-top:.25rem}
.mt-1\.5{margin-top:.375rem}
.mt-2{margin-top:.5rem}
.mr-1{margin-right:.25rem}
.mr-2{margin-right:.5rem}
.mr-3{margin-right:.75rem}
.ml-1{margin-left:.25rem}
.mb-2{margin-bottom:.5rem}
.mb-3{margin-bottom:.75rem}
.mb-4{margin-bottom:1rem}
.mb-5{margin-bottom:1.25rem}
.mb-6{margin-bottom:1.5rem}
.mb-8{margin-bottom:2rem}
.mb-10{margin-bottom:2.5rem}
.p-4{padding:1rem}
.p-6{padding:1.5rem}
.p-8{padding:2rem}
.p-12{padding:3rem}
.px-4{padding-left:1rem;padding-right:1rem}
.px-6{padding-left:1.5rem;padding-right:1.5rem}
.py-2\.5{padding-top:.625rem;padding-bottom:.625rem}
.py-3{padding-top:.75rem;padding-bottom:.75rem}
.py-4{padding-top:1rem;padding-bottom:1rem}
.py-10{padding-top:2.5rem;padding-bottom:2.5rem}
.py-12{padding-top:3rem;padding-bottom:3rem}
.pt-10{padding-top:2.5rem}
.text-center{text-align:center}
.text-xs{font-size:.75rem;line-height:1rem}
.text-sm{font-size:.875rem;line-height:1.25rem}
.text-lg{font-size:1.125rem;line-height:1.75rem}
.text-xl{font-size:1.25rem;line-height:1.75rem}
.text-2xl{font-size:1.5rem;line-height:2rem}
.text-3xl{font-size:1.875rem;line-height:2.25rem}
.text-4xl{font-size:2.25rem;line-height:2.5rem}
.font-medium{font-weight:500}
.font-semibold{font-weight:600}
.font-bold{font-weight:700}
.font-roboto-condensed{font-family:system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;letter-spacing:.01em}
.drop-shadow-md{filter:drop-shadow(0 4px 3px rgba(0,0,0,.07)) drop-shadow(0 2px 2px rgba(0,0,0,.06))}
.shadow-sm{box-shadow:0 1px 2px 0 rgba(0,0,0,.05)}
.shadow-md{box-shadow:0 4px 6px -1px rgba(0,0,0,.1),0 2px 4px -2px rgba(0,0,0,.1)}
.shadow-lg{box-shadow:0 10px 15px -3px rgba(0,0,0,.1),0 4px 6px -4px rgba(0,0,0,.1)}
.rounded-lg{border-radius:.5rem}
.rounded-xl{border-radius:.75rem}
.rounded-full{border-radius:9999px}
.border{border-width:1px}
.border-t{border-top-width:1px}
.border-red-200{border-color:#fecaca}
.border-gray-100{border-color:#f3f4f6}
.object-cover{object-fit:cover}
.overflow-hidden{overflow:hidden}
.transition-colors{transition:color .15s,background-color .15s,border-color .15s}
.transition-shadow{transition:box-shadow .15s}
.transition-transform{transition:transform .15s}

.text-white{color:#fff}
.text-white\/90{color:rgba(255,255,255,.9)}
.text-gray-500{color:#6b7280}
.text-gray-600{color:#4b5563}
.text-gray-800{color:#1f2937}
.text-red-700{color:#b91c1c}
.text-aviation-blue{color:var(--aviation-blue)}
.text-aviation-light{color:var(--aviation-light)}
.text-aviation-accent{color:var(--aviation-accent)}
.text-aviation-dark{color:var(--aviation-dark)}
.text-aviation-blue\/10{color:rgba(30,90,140,.1)}

.bg-white{background-color:#fff}
.bg-white\/20{background-color:rgba(255,255,255,.2)}
.bg-gray-50{background-color:#f9fafb}
.bg-red-50{background-color:#fef2f2}
.bg-aviation-blue{background-color:var(--aviation-blue)}
.bg-aviation-light{background-color:var(--aviation-light)}
.bg-aviation-accent{background-color:var(--aviation-accent)}
.bg-aviation-dark{background-color:var(--aviation-dark)}
.bg-aviation-runway{background-color:var(--aviation-runway)}
.bg-aviation-light\/20{background-color:rgba(167,199,231,.2)}

.ring-2{box-shadow:0 0 0 2px #fff,0 0 0 4px currentColor}
.ring-aviation-accent\/30{box-shadow:0 0 0 2px #fff,0 0 0 4px rgba(255,149,0,.3)}
.ring-aviation-light\/30{box-shadow:0 0 0 2px #fff,0 0 0 4px rgba(167,199,231,.3)}
.ring-aviation-dark\/30{box-shadow:0 0 0 2px #fff,0 0 0 4px rgba(18,46,75,.3)}
.ring-aviation-blue\/30{box-shadow:0 0 0 2px #fff,0 0 0 4px rgba(30,90,140,.3)}

.hover\:text-aviation-blue:hover{color:var(--aviation-blue)}
.hover\:text-white:hover{color:#fff}
.hover\:bg-aviation-blue:hover{background-color:var(--aviation-blue)}
.hover\:bg-aviation-dark:hover{background-color:var(--aviation-dark)}
.hover\:shadow-lg:hover{box-shadow:0 10px 15px -3px rgba(0,0,0,.1),0 4px 6px -4px rgba(0,0,0,.1)}
.hover\:shadow-xl:hover{box-shadow:0 20px 25px -5px rgba(0,0,0,.1),0 8px 10px -6px rgba(0,0,0,.1)}

@media(min-width:640px){
  .sm\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(min-width:768px){
  .md\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}
  .md\:text-4xl{font-size:2.25rem;line-height:2.5rem}
}
@media(min-width:1024px){
  .lg\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}
  .lg\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}
}
@media(min-width:1280px){
  .xl\:grid-cols-5{grid-template-columns:repeat(5,minmax(0,1fr))}
}
