
.hcm-shell{width:min(1120px,calc(100% - 32px));margin:36px auto 72px;font-family:inherit;color:#071629}
.hcm-submit-shell{margin-top:42px}
.hcm-page-head{margin:0 0 26px}
.hcm-page-head-centered{max-width:1120px;margin-inline:auto}
.hcm-page-head span{display:block;color:var(--hcm-accent);font-weight:900;text-transform:uppercase;letter-spacing:.16em;font-size:12px;margin-bottom:8px}
.hcm-page-head h1{font-size:clamp(30px,4vw,44px);line-height:1.05;margin:0 0 12px;color:#071629;font-weight:800}
.hcm-page-head p{max-width:900px;margin:0;color:#64748b;font-size:14px;font-weight:700;text-transform:uppercase;letter-spacing:.08em}

.hcm-form{background:#fff;border:1px solid #dbe5f4;border-radius:var(--hcm-card-radius);box-shadow:0 24px 70px rgba(15,23,42,.08);padding:34px}
.hcm-form-section{margin:0 0 30px}
.hcm-form-section:last-of-type{margin-bottom:0}
.hcm-form-section h3{font-size:18px;margin:0 0 16px;color:#071629;font-weight:900}
.hcm-section-note{margin:-8px 0 18px;color:#64748b;font-size:14px;line-height:1.5}
.hcm-form-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.hcm-textarea-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.hcm-field{display:flex;flex-direction:column;gap:7px;margin:0}
.hcm-field span,.hcm-upload span{font-size:14px;font-weight:900;color:#071629}
.hcm-field input,.hcm-field select,.hcm-field textarea{width:100%;box-sizing:border-box;border:1px solid #cbd8ea;border-radius:12px;background:#fff;color:#071629;font-size:15px;min-height:46px;padding:12px 14px;outline:none;transition:.18s ease}
.hcm-field input:focus,.hcm-field select:focus,.hcm-field textarea:focus{border-color:var(--hcm-accent);box-shadow:0 0 0 4px rgba(37,99,235,.12)}
.hcm-field small{color:#718096;font-size:12px;line-height:1.35}
.hcm-textarea textarea{min-height:124px;resize:vertical}

.hcm-upload-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.hcm-upload{position:relative;border:1px dashed #b9c9df;border-radius:18px;background:#f8fbff;padding:22px;min-height:165px;display:flex;flex-direction:column;gap:10px;cursor:pointer;box-sizing:border-box;transition:.18s ease;overflow:hidden}
.hcm-upload:hover{border-color:var(--hcm-accent);box-shadow:0 10px 28px rgba(15,23,42,.06)}
.hcm-upload p{margin:0;color:#475569;font-size:14px;line-height:1.45}
.hcm-upload input{position:absolute;inset:0;opacity:0;cursor:pointer;z-index:2}
.hcm-upload strong{display:inline-flex;align-items:center;justify-content:center;background:#071629;color:white;border-radius:10px;padding:10px 14px;font-size:13px;font-weight:900;width:max-content;position:relative;z-index:1;margin-top:auto}
.hcm-upload em{font-style:normal;color:#64748b;font-size:12px;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;position:relative;z-index:1}

.hcm-form-actions{display:flex;align-items:center;gap:18px;margin-top:30px;padding-top:24px;border-top:1px solid #edf2f7}
.hcm-form-actions button,.hcm-btn{border:0;border-radius:12px;background:var(--hcm-accent);color:#fff;font-weight:900;padding:14px 22px;box-shadow:0 12px 24px rgba(37,99,235,.22);text-decoration:none;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;line-height:1.1}
.hcm-btn-secondary{background:#eef4ff;color:#0f2e67;box-shadow:none}
.hcm-btn-primary:hover,.hcm-form-actions button:hover{filter:brightness(.96)}
.hcm-form-message{font-weight:800;color:#0f172a}

.hcm-competition-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px;align-items:start}
.hcm-comp-card{background:#fff;border:1px solid #dbe5f4;border-radius:22px;overflow:hidden;box-shadow:0 22px 70px rgba(15,23,42,.08)}
.hcm-comp-card-pro{max-width:100%}
.hcm-comp-image{display:block;height:var(--hcm-banner-height);background:#edf2f7;overflow:hidden}
.hcm-comp-image img{width:100%;height:100%;object-fit:cover;display:block}
.hcm-comp-body{padding:26px}
.hcm-comp-body h2{margin:8px 0 12px;font-size:28px;line-height:1.15;color:#071629}
.hcm-comp-status-row,.hcm-comp-meta,.hcm-single-meta{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:14px}
.hcm-pill,.hcm-comp-meta span{background:#eef4ff;color:#0f2e67;border-radius:99px;padding:8px 13px;font-weight:900;font-size:12px;text-transform:capitalize}
.hcm-pill-status{background:#e9f8ef;color:#117a36}
.hcm-comp-details{display:flex;gap:10px;flex-wrap:wrap;color:#64748b;font-size:13px;margin:0 0 22px}
.hcm-comp-actions{display:flex;gap:12px;flex-wrap:wrap}

.hcm-single-actions{width:min(1120px,calc(100% - 32px));margin:22px auto 12px}
.hcm-back-link{display:inline-flex;text-decoration:none;font-weight:900;color:var(--hcm-accent);background:#eef4ff;border-radius:999px;padding:10px 14px}
.hcm-single-panel{width:min(1120px,calc(100% - 32px));margin:0 auto 32px;background:#fff;border:1px solid #dbe5f4;border-radius:20px;padding:24px;box-shadow:0 18px 50px rgba(15,23,42,.06)}
.hcm-single-content{color:#071629;font-size:16px;line-height:1.65}
.hcm-single-cta{display:flex;gap:12px;flex-wrap:wrap;margin-top:22px;padding-top:20px;border-top:1px solid #edf2f7}

.hcm-leaderboard{background:#fff;border:1px solid #dbe5f4;border-radius:18px;padding:24px;box-shadow:0 14px 40px rgba(15,23,42,.06)}
.hcm-leaderboard table{width:100%;border-collapse:collapse}.hcm-leaderboard th,.hcm-leaderboard td{padding:14px;border-bottom:1px solid #eef2f7;text-align:left}
.hcm-alert,.hcm-empty-state{background:#fff5f5;border:1px solid #fecaca;color:#991b1b;border-radius:14px;padding:18px;margin:24px auto;max-width:900px}

@media(max-width:1000px){.hcm-form-grid,.hcm-textarea-grid,.hcm-upload-grid{grid-template-columns:1fr 1fr}.hcm-form{padding:24px}}
@media(max-width:760px){.hcm-competition-grid{grid-template-columns:1fr}}
@media(max-width:640px){.hcm-form-grid,.hcm-textarea-grid,.hcm-upload-grid{grid-template-columns:1fr}.hcm-shell{width:calc(100% - 22px)}.hcm-form-actions{flex-direction:column;align-items:stretch}.hcm-form-actions button,.hcm-btn{width:100%}.hcm-comp-image{height:260px}.hcm-page-head h1{font-size:32px}}
