*{box-sizing:border-box}
body{margin:0;background:#f8f3e8;color:#302b25;font-family:Georgia,'Noto Serif Malayalam',serif;line-height:1.65}
header,main{max-width:760px;margin:auto;padding:20px}
header{border-bottom:1px solid #d8cdb9}
h1{line-height:1.1;margin:8px 0}
small,aside{color:#79592f}
select,input,button{font:inherit;padding:9px;border:1px solid #c9bda8;border-radius:8px;background:#fffdf7;color:inherit;margin:4px 0}
select,input{width:100%}
button{cursor:pointer}
article{padding:20px 0;border-bottom:1px solid #d8cdb9}
article h2{color:#ad541f;text-align:center;margin:0 0 10px}
article p{white-space:pre-wrap;margin:10px 0}
footer{position:sticky;bottom:0;background:#f8f3e8;display:flex;align-items:center;justify-content:space-between;padding:10px;gap:8px;border-top:1px solid #d8cdb9}
main{min-height:50vh}
button:disabled{opacity:.4}
aside{font-size:.85rem}
.hack-card{display:grid;grid-template-columns:72px 1fr;gap:14px;align-items:start}
.doodle-wrap{display:flex;justify-content:center;align-items:flex-start;padding-top:8px}
.doodle-badge{width:56px;height:56px;border:2px solid #d4b89b;border-radius:16px;background:#fffaf1;display:flex;align-items:center;justify-content:center;box-shadow:0 2px 0 rgba(121,89,47,.08);transform:rotate(-2deg)}
.doodle-badge svg{width:42px;height:42px;stroke:#8f5b32;fill:none;stroke-width:2.1;stroke-linecap:round;stroke-linejoin:round}
.hack-meta{font-size:.84rem;color:#79592f;margin-top:-4px;margin-bottom:6px}
.hack-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
.hack-actions button{margin:0}
.ml-text{font-family:'Noto Serif Malayalam',Georgia,serif}
@media (max-width:560px){
  header,main{padding:16px}
  .hack-card{grid-template-columns:52px 1fr;gap:12px}
  .doodle-badge{width:42px;height:42px;border-radius:12px}
  .doodle-badge svg{width:30px;height:30px}
  footer{padding:8px}
}
