/* Game Idea Analyzer (/idea): only what the shared classes (card, field, form-grid, tbl, kpis, bar, steps, badge) do not cover. */
.idea { display: flex; flex-direction: column; gap: var(--gap, 20px); }
.idea > .title-row { margin-bottom: 0; }
.idea .card { margin: 0; }

/* the pitch form */
.idea-form { display: flex; flex-direction: column; gap: 18px; }
.idea-form textarea { width: 100%; min-height: 128px; margin: 0; padding: 12px 14px; font: 15px/1.55 inherit; font-family: inherit; color: var(--text); background: var(--frame); border: 1px solid var(--control); border-radius: 10px; resize: vertical; }
.idea-form textarea:focus, .idea-form select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.idea-form select { height: 40px; border: 1px solid var(--control); border-radius: 10px; padding: 0 10px; background: var(--frame); color: var(--text); font: inherit; }
.idea-ex { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.idea-ex .muted { margin-right: 4px; }
.idea-ex .chipadd { border-radius: 999px; transition: background-color .15s ease, transform .12s ease; }
.idea-ex .chipadd:hover { background: var(--active); }
.idea-ex .chipadd:active { transform: translateY(1px); }
.idea-opt .field label .muted { font-weight: 400; font-size: 12px; }
.idea-plat { border: 0; margin: 0; padding: 0; min-width: 0; grid-column: 1 / -1; }
.idea-plat legend { font-size: 14px; font-weight: 500; padding: 0; margin-bottom: 8px; }
.idea-plat > div { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 13px; }
.idea-plat label { display: inline-flex; align-items: center; gap: 6px; height: auto; min-height: 0; line-height: 1.4; cursor: pointer; font-weight: 400; }
.idea-go { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.idea-pitch-sum { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.idea-pitch-sum p { margin: 6px 0 0; max-width: 76ch; line-height: 1.55; }
.idea-prog { padding: 4px 2px; }

/* results */
.idea-res { display: flex; flex-direction: column; gap: var(--gap, 20px); scroll-margin-top: 80px; }
.idea-res > .kpis, .idea-res > .grid { margin: 0; }
.idea-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.idea-head h2 { margin: 0 0 4px; font: 600 22px/1.2 var(--display); }
.idea-head p { margin: 0 0 10px; max-width: 76ch; }
.idea-tags { gap: 6px; }

.idea-pot-head { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 22px; align-items: center; }
.idea-score { display: flex; align-items: baseline; gap: 4px; padding: 14px 18px; border-radius: 12px; background: var(--raised); }
.idea-score b { font: 700 52px/1 var(--display); letter-spacing: -.02em; }
.idea-score span { color: var(--muted); font-size: 15px; }
.idea-verdict { margin: 8px 0 6px; font-size: 17px; line-height: 1.45; max-width: 70ch; }
.idea-factors { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 28px; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--rule); }
.idea-f-top { display: flex; align-items: baseline; gap: 10px; margin-bottom: 6px; }
.idea-f-top b { font-weight: 500; flex: 1; }
.idea-f-top .num { font-weight: 600; }
.idea-f p { margin: 6px 0 0; line-height: 1.5; }

.idea-tbl td { vertical-align: middle; }
.idea-tbl tr.idea-more { display: none; }
.idea-game { color: inherit; text-decoration: none; display: block; border-radius: 8px; transition: background-color .15s ease; }
.idea-game:hover { text-decoration: none; background: var(--raised); }
.idea-sim { display: inline-flex; align-items: center; justify-content: center; min-width: 34px; height: 22px; padding: 0 6px; margin-right: 4px; border-radius: 6px; background: var(--active); font-weight: 600; font-size: 13px; }
.idea-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 12px; }

.idea-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.idea-list li { display: flex; flex-direction: column; gap: 3px; padding: 10px 0; border-top: 1px solid var(--border); line-height: 1.5; }
.idea-list li:first-child { border-top: 0; padding-top: 2px; }
.idea-list b { font-weight: 500; }
.idea-list span { color: var(--muted); font-size: 14px; }
.idea-list .badge { margin-left: 6px; vertical-align: 1px; }
.idea-list .idea-pitchline { color: var(--text); font-size: 13px; }
.idea-mk .h3 { margin: 18px 0 8px; }
.idea-mk .h3:first-child { margin-top: 0; }
.idea-mk p { margin: 0; line-height: 1.55; }
.idea-hook { margin: 0; padding: 10px 14px; border-left: 3px solid var(--accent); background: var(--raised); border-radius: 0 8px 8px 0; font-size: 16px; line-height: 1.5; }
.idea-sizes { margin-top: 12px; }
.idea-links { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; margin-top: 14px; }
.idea-links .btn { white-space: normal; text-align: left; height: auto; min-height: 32px; padding-top: 6px; padding-bottom: 6px; }
.idea-steps { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 8px; }
.idea-method summary { cursor: pointer; list-style: none; }
.idea-method summary::-webkit-details-marker { display: none; }
.idea-method summary::after { content: '+'; float: right; color: var(--muted); }
.idea-method[open] summary::after { content: '–'; }
.idea-method ul { margin: 12px 0 0; padding-left: 18px; color: var(--muted); font-size: 14px; line-height: 1.6; }
.idea-method li { margin-bottom: 6px; }

/* the small entry point under the home search */
.idea-entry { display: inline-block; margin-top: 12px; font-size: 14px; color: var(--muted); text-decoration: none; border-bottom: 1px solid var(--control); padding-bottom: 1px; transition: color .15s ease, border-color .15s ease; }
.idea-entry span { color: var(--text); font-weight: 500; }
.home2 .h2-copy > .idea-entry { order: 5 !important; align-self: flex-start; margin-top: -2px; } /* simple.css orders the hero column with a long :not() chain; sit under the search chips */
.idea-entry:hover { color: var(--text); border-color: var(--accent); text-decoration: none; }

@media (max-width: 760px) {
  .idea-pot-head { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .idea-score { justify-self: start; }
  .idea-factors { grid-template-columns: minmax(0, 1fr); }
  .idea-pitch-sum { flex-direction: column; }
}
